Commit graph

642 commits

Author SHA1 Message Date
Bat
663627c375 Add a default avatar
Really ugly, but is all my skills are permitting
2018-09-09 17:02:16 +01:00
Bat
b48d1694f3 Don't call ap_url for comments, since they are based on posts URLs 2018-09-09 16:22:58 +01:00
Bat
54f6e7dfc6 Use a more classical flow for creating comments
Don't locally federate them anymore

It allows us to have them fetched later too
2018-09-09 16:08:53 +01:00
Bat
642884034d Fix build errors 2018-09-09 12:37:20 +01:00
Bat
08cb337df6 Broadcast activities to all known instances
We consider everything posted with Plume public (for the moment at least)
2018-09-09 12:19:11 +01:00
Bat
b4391b55f2 Fix panic because of invalid URL parsing when commenting 2018-09-09 11:53:22 +01:00
Bat
1f2bd105b6 Implement user ban 2018-09-09 11:25:55 +01:00
Bat
2f53cb9122 Update rocket_csrf 2018-09-09 11:06:10 +01:00
Bat
c0d0f98d1f Update rocket_csrf and enable protection again 2018-09-09 10:27:03 +01:00
Bat
995c173146 Downgrade Tera + Temporary disable CSRF protection
Bugs in these crates prevented articles from displaying correctly.
2018-09-08 23:09:59 +01:00
Bat
f66ddf6ef2 Actually implement blocks 2018-09-08 22:05:48 +01:00
Bat
0a70ff2594 Merge branch 'master' of github.com:Plume-org/Plume 2018-09-08 20:32:12 +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
Baptiste Gelez
fe7f87c47f
Merge pull request #205 from lthms/recent_rocket
Update to a more recent rocket and rust toolchain
2018-09-08 19:06:52 +01:00
Thomas Letan
0ef4717a7f deps: Update to a more recent rocket and rust toolchain
With this patch, Plume will be use a more up-to-date revision of
Rocket, that works with nightly-2018-07-17. It may have been able to
make it work with a more recent revision, but it turns out rocket has
introduced several breaking changes so I’d rather fix those.

Besides updating rocket_i18n and rocket_csrf to use the same revision
than Plume, this patch deals with the new implementation of the
Uri<'_> type. It silents a class of warnings, to deal with a change in
rustc which affects diesel. This latter change should be reverted as
soon as diesel releases a new version of its crate.
2018-09-08 15:51:55 +02: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
0f5f9101b6 Only notify for mention if it is not in a comment
To avoid two similar notifications
2018-09-08 12:53:17 +01:00
Bat
b53a078b49 Edit HTML for old articles without source 2018-09-08 12:05:22 +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
Baptiste Gelez
4c23404e76
Merge pull request #206 from Kedoia/master
Fix Nginx Config
2018-09-08 09:13:41 +01:00
Kedoia
0116b5ee7c
Merge pull request #1 from Kedoia/Kedoia-patch-1
Update INSTALL.md
2018-09-08 10:04:28 +02:00
Kedoia
e486a29d64
Update INSTALL.md
fix listen IPv4/IPv6 on Nginx config
2018-09-08 10:02:56 +02:00
Bat
008f2b1d71 Delete notifications when deleting likes/boosts/follows
Fixes #190
2018-09-07 23:29:50 +01:00
Bat
a7b34173dd Don't delete account with avatar
Fixes #200
2018-09-07 23:01:53 +01:00
Bat
47be1541a7 Fix tag and mentions federation
Vec::append is not returning a value, but modifying the Vec
2018-09-07 21:38:22 +01:00
Bat
2822f8efe9 Don't show the "Registrations closed" message if there is an error when creating a new user 2018-09-07 20:13:14 +01:00
Bat
ae8f8a1411 Merge branch 'master' of github.com:Plume-org/Plume 2018-09-07 20:05:53 +01:00
Bat
d6d48adda4 I18n update 2018-09-07 20:05:13 +01:00
Bat
3918bd4501 Edit posts 2018-09-07 18:51:53 +01:00
Baptiste Gelez
856470e145
Merge pull request #203 from sorin-davidoi/patch-1
fix(templates/macros): Invalid markup
2018-09-06 22:46:57 +01:00
Bat
413e34ac0e Federate article updating 2018-09-06 22:39:22 +01:00
Sorin Davidoi
ef48f5b4eb
fix(templates/macros): Invalid markup 2018-09-06 23:32:02 +02:00
Baptiste Gelez
74aff81e32
Merge pull request #202 from sorin-davidoi/patch-1
fix(css): Add back outline
2018-09-06 22:21:51 +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
7152d714ae Add a source property to posts
To store the Markdown
2018-09-06 20:00:55 +01:00
Bat
b99e34f624 Better style for tags 2018-09-06 13:11:48 +01:00
Bat
dd9c4a6a73 Add a page to list articles by tag 2018-09-06 13:06:04 +01:00
Bat
a54d2e9d71 Federate tags 2018-09-06 09:21:08 +01:00
Bat
5b3eca63e0 Make it possible to tag articles and display them 2018-09-05 21:18:27 +01:00
Bat
2b7a5bee93 Add a tag model 2018-09-05 19:05:53 +01:00
Bat
e16acf8436 Mobile style improvement
Stack items when possible
2018-09-05 18:35:23 +01:00
Bat
9b119691d3 Don't display empty sections on the homepage 2018-09-05 18:28: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
39342d2f72 Fix a bug in french translation
Wrong variable name
2018-09-05 17:24:05 +01:00
Bat
fe71566ddb Fix Tera macro 2018-09-05 17:03:30 +01:00
Bat
c1d8cf6943 Update notification icons to use Feather 2018-09-05 16:56:23 +01:00
Bat
e3d31d2a0f Merge branch 'master' of github.com:Plume-org/Plume 2018-09-05 16:53:50 +01:00
Bat
09bae00b9c Update POT + french translation 2018-09-05 16:50:54 +01:00