Commit Graph
100 Commits
Author SHA1 Message Date
Bat 0da5d2e927 Improve the plm instance new command
Add long arguments
Fix the help messages
Actually write to StdOut when needed
Fallback to BASE_URL first if domain is not specified
2018-10-06 12:19:48 +01:00
Bat 6723432e52 CLI tools
- New sub-crate: plume-cli
- Creates a binary called 'plm'
- Uses clap to parse CLI arguments
- Add a first command: plm instance new (to init the local instance)
2018-10-06 12:19:48 +01:00
Baptiste GelezandGitHub b464671cf0 Merge pull request #226 from igalic/feat/sqlite
Add SQLite as supported database
2018-10-06 12:15:00 +01:00
Baptiste GelezandGitHub 96a97e4949 Fix a typo in README 2018-10-02 13:20:54 +01:00
Baptiste GelezandGitHub 6738883f2b Merge pull request #250 from fdb-hiroshima/feature/underlined_links
Add link underline for main body
2018-10-01 12:42:54 +01:00
Bat 07f2c979ec Make the REST API compatible with SQlite 2018-09-30 14:21:07 +01:00
BatandIgor Galić bd80430b1b Document model macros 2018-09-30 14:13:56 +02:00
BatandIgor Galić 743620eb6a Fix the SQlite build 2018-09-30 14:13:56 +02:00
BatandIgor Galić 535c68b423 Run Travis for SQlite too 2018-09-30 14:13:55 +02:00
BatandIgor Galić 38d737ed0c Introduce features to choose between SQlite or Postgres 2018-09-30 14:13:54 +02:00
Baptiste GelezandGitHub 1e3f40833d Add a link to Loomio in the README 2018-09-29 19:25:27 +01:00
Bat 6f8630df2e Use <div> for avatars
<img> is displayed as an error without src, in Chrome

Fixes #222
2018-09-29 18:29:22 +01:00
Baptiste GelezandGitHub 05f3ecabd6 Merge pull request #248 from maximesrd/patch-4
Bad commands in the update guide
2018-09-29 17:03:33 +01:00
Baptiste GelezandGitHub 236cf14406 Merge pull request #245 from Plume-org/rest-api
Some API endpoints for articles
2018-09-29 16:33:31 +01:00
Bat 72fd9eb610 API: Filter posts in the list 2018-09-29 15:45:27 +01:00
Baptiste GelezandGitHub 975f8d0393 Merge pull request #246 from fediverse-pl/master
i18n: Update Polish translation
2018-09-27 19:25:12 +01:00
Bat f893056d6d Mount the API endpoints 2018-09-25 20:45:32 +01:00
Bat 472da486e9 Fix the canapi::Provider impl for Post 2018-09-25 20:10:18 +01:00
Baptiste GelezandGitHub ba3dd3304c Merge pull request #243 from rhonda/master
Updated German translation
2018-09-25 15:38:58 +01:00
Baptiste GelezandGitHub 9650fdbfb5 Merge pull request #242 from Atul9/fix-broken-link
#227 Fix broken link on blog page
2018-09-24 20:35:20 +01:00
Baptiste GelezandGitHub 05fb7c9b42 Merge pull request #238 from Plume-org/csrf-issues
Fix CSRF issues
2018-09-21 13:37:35 +01:00
Baptiste GelezandGitHub 7afe249a75 Merge pull request #240 from OpenAlgeria/patch-1
Update INSTALL.md
2018-09-20 19:23:49 +01: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 1500267125 Add canapi and try to use for the API 2018-09-19 15:49:34 +01:00
Baptiste GelezandGitHub 2bc6052a35 Replace plume by DATABASE_NAME in the docs
To make it clearer you can have multiple Plume instances/databases on the same server, and that this part of the URL may change too.
2018-09-18 21:40:20 +01:00
Baptiste GelezandGitHub d8bfd6d39f Create ISSUE_TEMPLATE.md 2018-09-18 15:40:17 +01:00
Baptiste GelezandGitHub 064c5961e7 Add a CoC
Finally!
2018-09-18 13:59:43 +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