Jean Lucas
e93b8f4444
Change "Welcome on" to "Welcome to" ( #501 )
...
"Welcome on [noun]" is not grammatically correct as an introduction in
English. Let's fix that.
2019-03-25 08:57:26 +01:00
Igor Galić
732f514da7
Refactor with the help of Clippy ( #462 )
...
We add clippy as our build — also rectifying the missing `plume-cli` build!
In the next step we follow clippy's advise and fix some of the "simple" mistakes in our code, such as style or map usage.
Finally, we refactor some hard bits that need extraction of new types, or refactoring of function call-types, especially those that thread thru macros, and, of course functions with ~15 parameters should probably be rethought.
2019-03-19 14:37:56 +01:00
Baptiste Gelez
fe6e69d7c4
Add a fqn field to blogs and users ( #457 )
...
Fixes #319
2019-03-06 18:28:10 +01:00
Baptiste Gelez
e28371bbe4
Add a page listing people someone follows ( #444 )
...
Nothing exceptional, the layout is the same as the followers page.
Fixes #325
2019-02-26 13:13:00 +01:00
Baptiste Gelez
7eef4643c8
Update rocket_i18n and add gettext_macros ( #431 )
...
Internationalization now uses proc-macros that generate the .pot file
automatically.
2019-02-02 15:23:50 +01:00
Marek Ľach
3128e6a3b9
Tags grammar and admin string corrections ( #397 )
2018-12-29 17:40:11 +01:00
Marek Ľach
07ecbde93c
Small changes to text strings ( #379 )
2018-12-25 15:59:54 +01:00
Baptiste Gelez
38302203f4
Count items in database as much as possible ( #344 )
...
* Count items in database as much as possible
* Fix the tests
* Remove two useless queries
* Run pragma directive before each sqlite connection
* Pragma for tests too
* Remove debug messages
2018-12-14 23:16:18 +01:00
Baptiste Gelez
b0089e59b7
Remove useless pagination routes ( #351 )
...
Rocket 0.4 let us have routes with optional query parameter
2018-12-13 22:20:19 +01:00
fdb-hiroshima
e9f2f769be
Add microformat tags ( #341 )
...
Close #229
Adding `<div>` might have broken the layout in some places. I've tried to fix it, tell me if I missed it somewhere
2018-12-08 21:52:46 +01:00
Trinity Pointard
b4e4b497ee
Works on template
...
Use uri! to generate links instead of hardcoded urls
Fix #110
Fix invalid links needing to be POST forms
Translate login message for boost and like directly from template
Put js for search in its own file
2018-12-07 12:10:03 +01:00
Baptiste Gelez
70af57c6e1
Use Ructe ( #327 )
...
All the template are now compiled at compile-time with the `ructe` crate.
I preferred to use it instead of askama because it allows more complex Rust expressions, where askama only supports a small subset of expressions and doesn't allow them everywhere (for instance, `{{ macro!() | filter }}` would result in a parsing error).
The diff is quite huge, but there is normally no changes in functionality.
Fixes #161 and unblocks #110 and #273
2018-12-06 18:54:16 +01:00
Andrew Morgan
7eebfe991b
Welcome on -> Welcome to
2018-10-18 17:52:26 +02:00
Bat
d8ca1d70b7
Fix CSRF issues
...
GET routes are not protected against CSRF. This commit changes the needed URLs to
POST and replace simple links with forms.
Thanks @fdb-hiroshima for noticing it!
2018-09-19 18:13:07 +01:00
Igor Galić
fb074e6344
render SafeString thru |safe
...
thanks again to @fdb-hiroshima for pointing me in the right direction!
2018-09-14 21:44:32 +02:00
Bat
d50f989977
Add forgotten message to POT
...
And translate it in French
2018-09-11 19:30:24 +01:00
Bat
18a892ee61
Update translations
...
Make sure everything is translatable
2018-09-10 20:23:35 +01:00
Bat
fcdd3d4c1a
Don't compress avatars
...
Fixes #210
2018-09-09 21:41:55 +01:00
Bat
e9337259f8
Pad avatars in user list
2018-09-09 17:17:12 +01:00
Bat
1f2bd105b6
Implement user ban
2018-09-09 11:25:55 +01:00
Bat
f1d5865a16
Instance (un)block endpoint
...
And hide the block button for the local instance
2018-09-08 20:07:55 +01:00
Bat
c1e0b6c306
Add admin interface to manage interface
2018-09-08 19:54:09 +01:00
Bat
b66d4f73ce
Reorganize the homepage
2018-09-05 18:03:02 +01:00
Bat
30cfd96e24
Add tabs to the different feeds
2018-09-05 16:19:57 +01:00
Bat
79348e06ff
Add a dedicated page for the federated feed
2018-09-05 15:37:49 +01:00
Bat
1496598a45
User feed
2018-09-05 15:21:50 +01:00
Bat
babb3a81f5
Local timeline
2018-09-04 20:56:27 +01:00
Bat
7734557a99
Add admin's avatar on about page
2018-09-03 15:14:39 +01:00
Bat
092ad5b795
Instance about page
...
Fixes #39
2018-09-01 17:39:40 +01:00
Bat
ed8982b7fd
Add a presentation of Plume and of the instance on the homepage
...
Fixes #132
2018-07-27 22:16:17 +02:00
Bat
0926a1d3b5
Tell that we support Markdown
...
Fixes #122
2018-07-27 20:54:34 +02:00
Bat
74ec59e77c
Add some configuration options for instance admins
2018-07-27 19:05:36 +02:00
Bat
18125ab398
Paginate the homepage
2018-07-25 15:20:09 +02:00
Bat
0e773de9ff
Remove old configuration template
2018-07-11 17:37:36 +02:00
Bat
a8b47de28b
Explicitely escape user data in translations to avoid XSS
2018-06-26 17:58:11 +02:00
Matthieu
a9bdf4d9a9
Merge branch 'master' of https://github.com/Plume-org/Plume
2018-06-17 20:14:58 +02:00
Bat
ab841f826d
Forgot to make a string translatable on the homepage
2018-06-17 16:46:53 +01:00
Bat
3207aa0e22
Make the UI translatable
2018-06-17 16:26:15 +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
Matthieu
a033a9d74e
Merge branch 'master' of https://github.com/Plume-org/Plume
2018-06-12 13:57:30 +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
Madeorsk
12d85c6ec5
New design
...
+ New design!
+ Added link for author name in comments.
+ Added author full name in comments.
* Fixed label / input relation linking.
2018-05-19 16:29:42 +02:00
Bat
1870f52332
Make the design less aggresive
...
- Softer violet
- Add borders to delimit cards
- Bolder titles
- Bigger inputs
2018-05-13 21:33:21 +01:00
Bat
91b19bccb5
Add a link to author's profile on article card
...
Use a macro to render those cards too
2018-05-13 18:19:23 +01:00
Bat
397d25e431
Display recent articles on the homepage
2018-05-12 13:56:38 +01:00
Bat
292f4d6b27
Add actual templates for everything
2018-05-09 20:09:52 +01:00
Bat
ae60d5961c
Add a base template
2018-05-09 18:53:12 +01:00
Bat
5f43f783b6
Use more env vars for config
...
It will make it easier to test federation
2018-05-02 12:53:42 +01:00
Bat
f060fa08af
Initial commit
...
With instance configuration
2018-04-22 14:35:37 +01:00