Commit Graph
100 Commits
Author SHA1 Message Date
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
Baptiste GelezandGitHub eb24ba1774 Merge pull request #223 from igalic/fix/safe-string
make blog/instance description a SafeString
2018-09-14 20:56:13 +01:00
Baptiste GelezandGitHub d355379e01 Merge pull request #219 from igalic/fix/env-howto
improve installation "docs"
2018-09-13 19:38:00 +01:00
Bat 5b138df8ce Remove duplicated message in gl.po 2018-09-12 17:07:41 +01:00
Bat 0200a7b223 Only send notifications for mentions if the post is not a draft 2018-09-12 17:00:00 +01:00
Bat b01212f4a6 Make it impossible to view drafts if you are not the author
Even if you got the URL
2018-09-12 16:58:38 +01:00
Bat 296aa2fbbb Merge branch 'master' of github.com:Plume-org/Plume 2018-09-12 13:41:10 +01:00
Baptiste GelezandGitHub ab640011e3 Merge pull request #215 from xmgz/master
update galician
2018-09-12 13:37:03 +01:00
Bat 8fa83dfe25 Version bump
0.1.x was the pre-alpha.

The first Alpha will be 0.2.x
2018-09-11 19:53:14 +01:00
Bat abe90706ff Avoid showing GetText metadata when trying to translate empty strings 2018-09-11 19:34:47 +01:00
Bat efb71bc40c Translate details in fields label 2018-09-11 19:33:16 +01:00
Bat d50f989977 Add forgotten message to POT
And translate it in French
2018-09-11 19:30:24 +01:00
Baptiste GelezandGitHub 13ef50bb78 Merge pull request #212 from zcdunn/add_webapp_manifest
Add webapp manifest
2018-09-10 20:44:44 +01:00
Bat 501fb39ad6 Update fr.po 2018-09-10 20:42:13 +01:00
Bat 18a892ee61 Update translations
Make sure everything is translatable
2018-09-10 20:23:35 +01:00
Bat 3314387025 Merge branch 'master' of github.com:Plume-org/Plume 2018-09-10 20:06:48 +01:00
Bat 10da8f31b6 Hide articles on public pages
Only show them in the dashboard
2018-09-10 20:06:00 +01:00
Bat 8879935925 Add the possibility to save an article as draft 2018-09-10 19:38:19 +01:00
Baptiste GelezandGitHub 64a9d8f1f3 Merge pull request #211 from bnjbvr/patch-1
Update markup and use more idiomatic English
2018-09-10 12:47:44 +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 a3b7d5557b Allow newer Tera versions
Tera 0.11.15 was released, and fixes the bug that forced us to downgrade.
2018-09-09 18:53:28 +01:00
Bat e9337259f8 Pad avatars in user list 2018-09-09 17:17:12 +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 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 GelezandGitHub 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
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 GelezandGitHub 4c23404e76 Merge pull request #206 from Kedoia/master
Fix Nginx Config
2018-09-08 09:13:41 +01: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 GelezandGitHub 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
Baptiste GelezandGitHub 74aff81e32 Merge pull request #202 from sorin-davidoi/patch-1
fix(css): Add back outline
2018-09-06 22:21:51 +01: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
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
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
Baptiste GelezandGitHub bfbd4e4646 Merge pull request #197 from Madeorsk/icons
Icons update
2018-09-04 21:25:08 +01:00
Bat 36f272b209 Merge branch 'master' of github.com:Plume-org/Plume 2018-09-04 21:15:38 +01:00
Bat babb3a81f5 Local timeline 2018-09-04 20:56:27 +01:00
Baptiste GelezandGitHub bf5a04d419 Merge pull request #196 from fediverse-pl/master
i18n: Update Polish translation
2018-09-04 18:54:06 +01:00
Bat adcfd88471 Document env vars 2018-09-04 18:51:08 +01: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 d60289aac8 Local instance ID is 1, not 0
This prevented local users from being removed before broadcasting an activity.

Fixes #113
2018-09-04 14:02:01 +01:00
Bat dbdc9f317e Show like/boost counters even when not logged in 2018-09-04 13:46:08 +01:00
Bat c0174a310c Add a forgotten " in template 2018-09-04 12:36:26 +01:00
Bat 94a386ea2c Add subtitles to articles
Fix #152
2018-09-04 12:26:13 +01:00
Bat 7653551d57 Fix some compilation errors 2018-09-04 11:45:41 +01:00
Bat e508eada26 Federate follow deletion 2018-09-04 11:39:24 +01:00
Bat dcebc4653a Make it possible to unfollow someone
I was sure it was already implemented, but it looks like it wasn't
2018-09-04 11:37:58 +01:00
Baptiste GelezandGitHub e12d3fdc2f Merge pull request #194 from EliotBerriot/docker-install
Sample compose file and Dockerfile for deployment
2018-09-04 08:45:50 +01:00
Baptiste GelezandGitHub f2bde01afc Merge pull request #195 from xmgz/master
updated gl
2018-09-04 08:43:15 +01:00
Bat 5b8db50da2 Merge branch 'master' of github.com:Plume-org/Plume 2018-09-03 22:49:04 +01:00
Bat e4810263e3 Make about page accessible even when logged out 2018-09-03 22:48:35 +01:00
Baptiste GelezandGitHub 2fde1bb13b Merge pull request #193 from maximesrd/patch-3
Update INSTALL.md
2018-09-03 22:39:30 +01:00
Bat 133356191a Fix link of the Atom feed for blogs
Fixes #192
2018-09-03 21:06:57 +01:00
Bat 32a4949f25 Update user information if needed
When a remote is displayed, if it has not been updated since at least 24 hours, newer informations are fetched.

Fixes #135
2018-09-03 19:53:20 +01:00
Bat 3373bb66cd Fake password verification when trying to login with inexistant account
Fix #170
2018-09-03 18:04:21 +01:00
Bat 78b3202a32 Reduce a little bit bcrypt cost
From 12 to 10, to make login time shorter.
2018-09-03 17:51:32 +01:00
Bat ac631627ab Make it possible to disable registrations
Fix #41
2018-09-03 17:05:45 +01:00
Baptiste GelezandGitHub 1d65582abe Merge pull request #188 from Atul9/confirm-delete
[#184] Confirm before deleting an article
2018-09-03 16:28:00 +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