Commit Graph

85 Commits

Author SHA1 Message Date
Bat a8b47de28b Explicitely escape user data in translations to avoid XSS 2018-06-26 17:58:11 +02:00
Bat a7b246b726 Change .tera to .html.tera to enable auto-escaping 2018-06-26 17:40:25 +02:00
Baptiste Gelez f58bc1d8f1
Merge pull request #84 from Madeorsk/meta-buttons
Improved Likes / Reshares section
2018-06-26 16:36:10 +02:00
Matthieu 11e66472f9 Improved Likes / Reshares section 2018-06-25 14:10:24 +02:00
Trinity Pointard 30e9620d0a Add csrf protection 2018-06-24 18:58:57 +02:00
Didier Link ae759114aa temporarly use an absolute link in users detail header template, linked with bug #65 2018-06-22 01:17:22 +02:00
Didier Link 9abb5887b1 use user.username for the edit link, not the display name 2018-06-22 00:27:18 +02:00
Didier Link feff837313 Merge branch 'master' of https://github.com/Plume-org/Plume 2018-06-22 00:00:15 +02:00
Bat 4c211b4308 Remove the routes and the template for the comment form 2018-06-21 15:00:25 +01:00
Bat 461c26f159 Move comment form to the post page 2018-06-21 14:40:00 +01:00
Bat 7ba6f77e0f Automatically insert mentions in comments
Fix some bug with mentions too

Fix #52
2018-06-21 14:05:35 +01:00
Didier Link 3089905958 correct a link template to edit user account 2018-06-21 13:33:26 +02:00
Baptiste Gelez 41792b3c19
Merge pull request #31 from Madeorsk/master
New design
2018-06-20 12:44:04 +01:00
Bat 65e819c425 Make it impossible to write in a blog where you are not author
Fix #62
2018-06-20 09:44:56 +01:00
Matthieu 3185776ff2 Removed Google Fonts & changed header
+ Added fonts for Lora and Playfair Display in the fonts directory.
* Changed header style.
* Improved responsive for main padding (20% -> 5% on small screens).
2018-06-19 14:10:28 +02:00
Matthieu 2dfe8fad22 Merge branch 'master' of https://github.com/Plume-org/Plume 2018-06-19 13:22:26 +02:00
Trinity Pointard 97c652cefd Remove HTML tags from preview
fixes #24
2018-06-18 19:28:26 +02:00
Bat 58cc35691d Add generic error catchers 2018-06-18 16:59:49 +01:00
Madeorsk faade5ff25
Merge branch 'master' into master 2018-06-17 22:22:34 +02:00
Bat ae4bcabc53 Make notifications translatable 2018-06-17 21:19:27 +01:00
Matthieu 117904b69d New design improvements
* Max-width to limit number of characters per line
* Changed background colors (page, cards, buttons)
* Reduced header size
2018-06-17 22:07:01 +02:00
Bat 7faf93f44a Fix a few issues with internationalization 2018-06-17 20:54:59 +01:00
Matthieu a9bdf4d9a9 Merge branch 'master' of https://github.com/Plume-org/Plume 2018-06-17 20:14:58 +02:00
Bat 0b9515645c De-duplicate some parts of the users templates 2018-06-17 18:48:22 +01:00
Bat aa0ce32ec1 Fix a few problemns with translations 2018-06-17 17:19:39 +01:00
Bat ab841f826d Forgot to make a string translatable on the homepage 2018-06-17 16:46:53 +01:00
Bat aaf60502ed Fix translations
Remove dulicated messages

Fix quotes in templates
2018-06-17 16:34:25 +01:00
Bat 3207aa0e22 Make the UI translatable 2018-06-17 16:26:15 +01:00
Bat 25ec318f3f Inject ngettext into Tera templates
Fix .po updating (without the -U option, the result was written to stdout, not the .po file)
2018-06-17 11:16:20 +01:00
Bat 657a0837e2 Use filters for gettext in Tera 2018-06-17 10:38:59 +01:00
Bat 1092ceba76 Fix locale switching + Make the gettext Tera function work 2018-06-16 23:49:44 +01:00
Bat a4a8446d45 Make the follow button a bit smarter 2018-06-13 19:06:14 +01:00
Bat 7b61da9c7f Add a button to follow people 2018-06-13 18:52:26 +01:00
Bat 1c287c6dfe View remote profiles locally
Add a link to the profile on the real instance
2018-06-13 18:48:37 +01:00
Bat 4185ba230e Add a link to user profile in comments
And move back {% if %} inside of {% block %}, so they get interpreted.
2018-06-12 21:14:49 +01:00
Stephen Burgess 438778db39 fix(Style): Adjust code style for consistency 2018-06-12 12:05:33 -05:00
Stephen Burgess d32c7e4b66 fix(User/Details): Display name 2018-06-12 07:45:53 -05:00
Stephen Burgess 23bb405c92 fix(User/Details): Use user variable 2018-06-12 07:42:34 -05:00
Stephen Burgess df0fcb886d feat(UI): Fallback to username where ever display name is shown 2018-06-12 07:17:02 -05:00
Matthieu a033a9d74e Merge branch 'master' of https://github.com/Plume-org/Plume 2018-06-12 13:57:30 +02:00
Stephen Burgess 4b0114917d chore(Posts): Fix typo 2018-06-11 18:31:44 -05:00
Stephen Burgess 4ae19c6fa7 feat(Posts): Show username if no display name is present 2018-06-11 18:30:31 -05:00
Trinity Pointard d8f32afeb0 allow html on user.summary 2018-06-11 16:05:18 +02:00
fdb-hiroshima 96f027e506
fix double escape 2018-06-11 12:33:32 +02:00
Trinity Pointard e7cadbf764 fix double-escaping on login page and disallow html on summary 2018-06-11 11:19:44 +02:00
Trinity Pointard daf4de07be rename templates from .tera to .html.tera to enable auto-escaping of html 2018-06-11 11:19:39 +02:00
Bat 7fd152e270 Add a button to write a new article 2018-06-10 19:16:25 +01:00
Bat edbeeef640 Add a dashboard 2018-06-10 18:55:08 +01:00
Trinity Pointard 2fde47d909 add optional login message and callback 2018-06-04 20:21:43 +02:00
Bat ef815a436b Tera already adds "…" 2018-05-24 11:43:16 +01:00