Commit graph

255 commits

Author SHA1 Message Date
Bat
94a386ea2c Add subtitles to articles
Fix #152
2018-09-04 12:26:13 +01:00
Bat
133356191a Fix link of the Atom feed for blogs
Fixes #192
2018-09-03 21:06:57 +01:00
Bat
ac631627ab Make it possible to disable registrations
Fix #41
2018-09-03 17:05:45 +01:00
Atul Bhosale
0e901c7f59 Confirm before deleting an article 2018-09-03 20:38:34 +05:30
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
8ac6b8307a I18n for media pages 2018-09-03 13:28:20 +01:00
Bat
95ba99a6be Add a link to the media gallery 2018-09-03 12:24:34 +01:00
Bat
aa5fa11218 Add support for avatars, and fetch remote ones 2018-09-03 12:17:59 +01:00
Bat
a357dae45d Add Markdown code to copy/paste for medias 2018-09-03 11:16:07 +01:00
Dominik Pataky
1fc89e8aeb Merge branch 'master' of https://github.com/Plume-org/Plume into feature/reshare_to_boost 2018-09-03 10:41:37 +02:00
Bat
f44b6fffa3 Media upload 2018-09-02 21:55:42 +01:00
Bat
52860efa85 Add a link for Atom feeds 2018-09-01 21:16:38 +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
Bat
cea548b821 Add a way to delete articles
Fixes #116
2018-09-01 16:28:47 +01: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
Dominik Pataky
001eb99091 Rename 'reshare' to 'boost' in templates and PO
For now it might be enough to only reword 'reshare' to 'boost' in the
frontend. The code can continue to use 'reshare'.

Includes the most recent German translation.

Fixes #74
2018-08-19 00:52:28 +02:00
Bat
b1c1ba151d Fix #173 2018-08-18 12:55:34 +02:00
Bat
ddcb49ce28 Fix #141 2018-08-18 12:49:06 +02:00
Bat
7fc5d7b5b0 Fix #167 2018-08-18 12:37:40 +02:00
Bat
53a0ec08a2 Fix the link of the Matrix room 2018-08-18 11:23:04 +02: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
b32015fa7d Show a message telling you that there are no comments
Fix #142
2018-07-27 20:34:23 +02:00
Bat
fb2f4e9bcd Take in account instance's default license
Fix #145
2018-07-27 20:31:47 +02:00
Bat
74ec59e77c Add some configuration options for instance admins 2018-07-27 19:05:36 +02:00
Bat
b35ee44942 Add a footer
Fixes #133
2018-07-27 14:08:39 +02:00
Bat
b42030e831 Try to use only "absolute" links to avoid trailing-slash bugs 2018-07-26 19:00:23 +02:00
Bat
999e91290a Link in comments redirect to profile on the current instance
Fix #127
2018-07-26 18:37:13 +02:00
Bat
84974897ed Display FQN on user profiles
Fix #130
2018-07-26 18:36:38 +02:00
Bat
7af1faf206 Make the "Open on remote instance" button open a new tab 2018-07-26 18:27:02 +02:00
Bat
5f1de3f9ce Fix #128 2018-07-26 18:23:08 +02:00
Bat
5980c7b299 Simplify the logic to fallback to the FQN when no display name is available 2018-07-26 16:36:19 +02:00
Bat
b7aa1790e5 Merge branch 'master' of github.com:Plume-org/Plume 2018-07-26 16:14:48 +02:00
Bat
65e0d72a73 Display date for notifications 2018-07-26 16:14:01 +02:00
Bat
7a6c01fec5 Add icons to notifications
And some space between each of them

Fix #139
2018-07-26 16:09:36 +02:00
Bat
c87d490664 Refactor notifications 2018-07-26 15:46:10 +02:00
Baptiste Gelez
16fb439ce9
Merge pull request #159 from Ilphrin/master
Add a link to the blog on article cards
2018-07-25 21:40:27 +02:00
Kevin "Ilphrin" Pellet
390d694cac Fix styling and field values 2018-07-25 21:21:47 +02:00
Bat
44172b67d5 Add padding for responses in comments, to let threads appear
Fixes #144
2018-07-25 18:18:41 +02:00
Bat
4e07fdbd05 Paginate followers too 2018-07-25 15:50:29 +02:00
Bat
4b0aba62f3 Add pagination for notifications
And correctly close an <a> tag
2018-07-25 15:33:54 +02:00
Bat
18125ab398 Paginate the homepage 2018-07-25 15:20:09 +02:00
Bat
04dac6f87f Add pagination links 2018-07-25 14:29:34 +02:00
Bat
5549e4d0e5 Merge branch 'master' of github.com:Plume-org/Plume 2018-07-24 14:32:11 +02:00
Kevin "Ilphrin" Pellet
89713526e2 Add a link to the blog on article cards
Fixes #134
2018-07-22 01:42:27 +02:00
Kevin "Ilphrin" Pellet
cd24b0f057 Show the total number of article on a blog
fixes #150
2018-07-21 16:58:30 +02:00
Bat
67eb41add1 Add pagination to the blog page
No UI to control it yet
2018-07-20 18:42:35 +02:00
Bat
3764e295b8 Fix the link of the follow/unfollow button so that it is always working, even without a trailing slash 2018-07-20 17:59:16 +02:00
Bat
b0e75f4d63 Fix the behavior of the follow button
There was a bug in Tera and in the User::is_following function.

Fix #146
2018-07-20 17:51:32 +02:00
Bat
e581ef7d09 Better style for <small> tags 2018-07-19 12:00:34 +02:00
Bat
8ad0abd921 Mark optional fields as optionals
Fix #121
2018-07-19 11:32:20 +02:00
Bat
782955e2c4 Hide social button when not connected
Fixes #143
2018-07-18 23:37:05 +02:00
Bat
ce256d6e39 List authors of a blog
Update french translation accordingly

Fixes #129
2018-07-18 23:08:49 +02:00
Bat
62007d17ee Fix a visual bug when a post was reshared 2018-07-18 15:35:01 +02:00
Bat
eef9e6b7ea Better style for form errors 2018-07-18 15:34:18 +02:00
Bat
e22bd7a588 Fix some issues with new form style 2018-07-18 14:14:57 +02:00
Bat
67dd577a27 Make like and share button HTML forms
Fixes #88
2018-07-11 21:27:47 +02:00
Bat
0e773de9ff Remove old configuration template 2018-07-11 17:37:36 +02:00
Bat
06d590ff3b Make form errors i18nalizable 2018-07-07 22:57:53 +02:00
Bat
3775d3a9c9 HTML validation + Actually associate messages to errors + Fix inverted behavior on new blog and post form 2018-07-07 22:51:48 +02:00
Bat
5f3afe900f Display errors on invalid forms
It will probably need a bit of styling…
2018-07-06 19:29:36 +02:00
Bat
1a2cf3b14f What if I use the correct name for the this field?
Fix #81
2018-06-27 20:43:09 +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
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
Bat
0b098e539f Remove HTML tags from preview
Fixes #24
2018-05-24 10:55:41 +01:00
Bat
963d413847 Don't show reshares or posts on profile if there are none 2018-05-24 10:49:02 +01:00
Bat
e9cd48ecca Display reshares on profile page 2018-05-24 10:45:36 +01:00
Bat
94beaaca76 Merge branch 'master' of github.com:Plume-org/Plume 2018-05-23 18:56:16 +01:00
Trinity Pointard
c9b231fae1 add trailing / to followers url
Signed-off-by: Trinity Pointard <trinity.pointard@insa-rennes.fr>
2018-05-22 17:52:53 +02:00
Trinity Pointard
a8aeb40b95 add trailing slashes to links where they were missing
Signed-off-by: Trinity Pointard <trinity.pointard@insa-rennes.fr>
2018-05-22 17:35:16 +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
9b98a45f2e Add a button to reshare 2018-05-19 10:57:39 +01:00
Bat
14bf3f00aa Make post metadata look nicer 2018-05-19 08:53:51 +01:00
Joseph Nuthalapati
ff50143c1c
Display post author and date in the post view
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-05-19 10:16:05 +05:30
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
b91f567777 Display notifications 2018-05-13 14:35:55 +01:00
Bat
c6b2560eb0 Followers listing
And clean up models functions a bit
2018-05-13 12:53:58 +01:00
Bat
b8aade1e12 Delete likes 2018-05-12 21:56:57 +01:00
Bat
b68e481b3f Make the website more mobile-friendly 2018-05-12 18:59:38 +01:00
Bat
aefa31b84e Add a few (ugly) badges to the user page 2018-05-12 17:55:25 +01:00
Bat
ea08718c23 User profile edition 2018-05-12 16:30:14 +01:00
Bat
6de9d5b82a Articles listings on blogs and users pages 2018-05-12 14:31:09 +01:00
Bat
397d25e431 Display recent articles on the homepage 2018-05-12 13:56:38 +01:00
Bat
a74215ef07 Start an actual design 2018-05-10 21:31:52 +01:00
Bat
d3319493d9 Serve static files 2018-05-10 19:01:16 +01:00
Bat
ee7dfee3ef Add an endpoint to like posts 2018-05-10 17:38:03 +01:00
Bat
b506e93bd8 Make it possible to respond to a comment 2018-05-10 15:26:12 +01:00
Bat
56f4a598e2 Actually redirect when writing a new comment 2018-05-10 14:58:17 +01:00
Bat
a3d73cb2c4 Create and display comments 2018-05-10 10:44:57 +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
8047df6848 Display remote profiles! 2018-05-01 12:48:19 +01:00