Commit Graph

21 Commits

Author SHA1 Message Date
Bat b95e384ed7 Use the ApRequest guard for routes that need it + Fix a few issues with its impl
Also fixes some Rocket warnings!
2018-07-11 17:30:01 +02:00
Bat 68a041711c We can't mix GET and POST (in the comment form)
in_response_to was always null
2018-06-27 00:19:18 +02:00
Bat 4c211b4308 Remove the routes and the template for the comment form 2018-06-21 15:00:25 +01:00
Bat c171916d0a Merge branch 'master' into mentions 2018-06-20 22:58:55 +01:00
Didier Link ca44627a79 use html entities for single quotes in translations 2018-06-20 23:13:28 +02:00
Bat c4cc4a4e13 Notify when receiving a mention 2018-06-20 21:05:30 +01: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 2dfe8fad22 Merge branch 'master' of https://github.com/Plume-org/Plume 2018-06-19 13:22:26 +02:00
fdb-hiroshima 123bbef2ea
Correcting wrong translation 2018-06-19 09:55:52 +02:00
Bat 0dfc303c83 Fix Blog::find_by_name 2018-06-18 18:44:18 +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 aa0ce32ec1 Fix a few problemns with translations 2018-06-17 17:19:39 +01:00
Bat e8225cb0be Update french translation 2018-06-17 17:09:28 +01:00
Bat 152eafc06f Translate Rust strings 2018-06-17 17:06:47 +01:00
Bat b950d8f60b Translate to French 2018-06-17 16:45:38 +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 1092ceba76 Fix locale switching + Make the gettext Tera function work 2018-06-16 23:49:44 +01:00
Bat 978104b518 Add a build script to update/create translation files 2018-06-15 17:23:32 +01:00