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
Baptiste Gelez
a64c4912cf
Add support for CW in comments ( #308 )
...
All the backend/federation code was already, I just added the UI 🤷♀️
Fixes #253
2018-11-07 15:57:31 +01:00
Baptiste Gelez
68a30cc80e
Fix spacing for the delete article button
2018-10-31 15:22:49 +01:00
Baptiste Gelez
185cb5142a
Better style for subtitles
2018-10-31 15:19:42 +01:00
Baptiste Gelez
1a49569bf2
Better style for <select>
2018-10-31 15:07:40 +01:00
Baptiste Gelez
4a2f5aeeeb
Display article covers
2018-10-31 15:07:40 +01:00
Baptiste Gelez
f6227e7a42
Nicer default avatar
2018-10-31 15:03:21 +01:00
Baptiste Gelez
2e072affb5
Fix editor auto-expansion ( #293 )
2018-10-30 18:16:24 +01:00
Bat
14969d489c
Save medias in static/media
...
Fixes #272
2018-10-12 20:32:34 +01:00
Bat
45c31b1c8a
Add the new logo the header
2018-10-09 15:37:40 +01:00
Bat
d5ba8864c3
Import @trwnh's logos
...
I would have liked to merge their commits in Plume's repository, but I have no idea how it could be done.
For reference, here is the repository they come from: https://github.com/trwnh/plumeLogos
2018-10-09 15:22:07 +01:00
Dominik Pataky
31a3e6c825
Revert icon injection
2018-09-29 21:42:51 +02:00
Dominik Pataky
83c4387e94
Add link underline for main body; add link icon
...
Links in the main body part are now underlined on mouse hover.
<a> tags in the article content are expanded by an icon from
FontAwesome.
Fixes #140
2018-09-29 21:41:02 +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
Bat
fcdd3d4c1a
Don't compress avatars
...
Fixes #210
2018-09-09 21:41:55 +01:00
Bat
de3707983a
Account deletion
...
Fixes #182
2018-09-09 20:49:24 +01:00
Bat
663627c375
Add a default avatar
...
Really ugly, but is all my skills are permitting
2018-09-09 17:02:16 +01:00
Bat
6c80002e43
Add some JavaScript to open an close the mobile menu
...
Fixes #75 but still works in Firefox mobile without JS (and it will in Chrome/Safari too
once :focus-within will be implemented there)
2018-09-08 14:05:38 +01:00
Bat
775162559e
Improve user page on small screens
...
Center avatar's alt text, since the only fix to display them on a single line would
break valid avatars
2018-09-08 09:55:59 +01:00
Sorin Davidoi
df3bf1a488
fix(css): Add back outline
...
Removing outline without adding other indicators for focused content is an accessibility violation (try using Tab to navigate on the page - you can't tell where the focus is).
http://www.outlinenone.com/
2018-09-06 23:10:01 +02:00
Bat
b99e34f624
Better style for tags
2018-09-06 13:11:48 +01:00
Bat
5b3eca63e0
Make it possible to tag articles and display them
2018-09-05 21:18:27 +01:00
Bat
e16acf8436
Mobile style improvement
...
Stack items when possible
2018-09-05 18:35:23 +01:00
Bat
13a04198f0
Improve tabs on small screens
2018-09-05 18:07:39 +01:00
Bat
b66d4f73ce
Reorganize the homepage
2018-09-05 18:03:02 +01:00
Bat
e3d31d2a0f
Merge branch 'master' of github.com:Plume-org/Plume
2018-09-05 16:53:50 +01:00
Bat
99f04893bb
Add tabs to the user profile
2018-09-05 16:41:31 +01:00
Bat
30cfd96e24
Add tabs to the different feeds
2018-09-05 16:19:57 +01:00
Madeorsk
a30b99f93e
Merge branch 'master' of https://github.com/Plume-org/Plume into icons
2018-09-04 21:55:44 +02:00
Madeorsk
4330600980
Show and animate .mobile-label on normal screens.
2018-09-04 21:17:30 +02:00
Madeorsk
a3a25eec6c
Icons update: removed FontAwesome, added Feather icons.
...
- FontAwesome icons.
+ Feather font.
+ Feather svg sprites.
+ Icons for Login / Register.
* Improved mobile menu.
2018-09-04 18:09:31 +02:00
Bat
bba9a56329
Add author biography at the bottom of the post
2018-09-04 14:55:15 +01:00
Bat
dd0663348e
Better image styling
2018-09-04 14:39:46 +01:00
Bat
3b2d69893d
Better style for code blocks
2018-09-04 14:32:20 +01:00
Bat
dbdc9f317e
Show like/boost counters even when not logged in
2018-09-04 13:46:08 +01:00
Bat
94a386ea2c
Add subtitles to articles
...
Fix #152
2018-09-04 12:26:13 +01:00
Bat
10d4599c9b
Add avatar next to comments
2018-09-03 15:18:54 +01:00
Bat
7734557a99
Add admin's avatar on about page
2018-09-03 15:14:39 +01:00
Bat
431bc41cb5
Improve user header
2018-09-03 15:03:25 +01:00
Bat
3013eec579
Redesign menu items
2018-09-03 14:59:02 +01:00
Bat
99fdb8e680
Media deletion
2018-09-02 22:10:15 +01:00
Bat
f44b6fffa3
Media upload
2018-09-02 21:55:42 +01:00
Bat
4d4a58361b
Use Standard JS for JS code
2018-09-01 21:42:53 +01:00
Baptiste Gelez
c4543312b7
Merge pull request #180 from Madeorsk/mobile-menu
...
New mobile menu
2018-09-01 18:29:35 +01:00
Madeorsk
06127a9f48
Removed JS.
2018-09-01 19:14:15 +02:00
Bat
092ad5b795
Instance about page
...
Fixes #39
2018-09-01 17:39:40 +01:00
Madeorsk
82dc9ee101
Fixed <small> tags that were showing on top of the menu.
2018-09-01 16:34:44 +02:00
Madeorsk
ccab6107fa
Merge branch 'master' of https://github.com/Plume-org/Plume into mobile-menu
2018-09-01 16:12:11 +02:00
Madeorsk
836897cdad
New mobile menu.
2018-09-01 16:11:42 +02:00
Kevin "Ilphrin" Pellet
ce289b79fa
151 - Make the editor bigger and autosize it
2018-08-30 22:47:25 +02:00