Bat
14969d489c
Save medias in static/media
...
Fixes #272
2018-10-12 20:32:34 +01:00
Baptiste Gelez and GitHub
f7c37ca6ca
Merge pull request #277 from oliof/patch-1
...
Add caddyserver example configuration
2018-10-12 19:57:14 +01:00
Baptiste Gelez and GitHub
8fdb55a501
Merge pull request #256 from Plume-org/verify-signature
...
Verify activity's signature
2018-10-10 21:31:11 +01:00
Baptiste Gelez
09e7226c23
Don't lowercase URL for requests signatures
2018-10-10 20:23:39 +00:00
Baptiste Gelez and GitHub
ce09ca14c4
Merge pull request #276 from midzer/patch-1
...
Update de.po
2018-10-10 17:55:44 +01:00
Bat
d77d064a85
Add links to API.md and CLI.md on the docs homepage
2018-10-09 21:39:30 +01:00
Baptiste Gelez and GitHub
3901ae835f
Merge pull request #274 from Plume-org/logo
...
New logo!
2018-10-09 20:03:29 +01:00
Bat
1b9c3f69bf
Add icons to Web Manifest
2018-10-09 19:38:01 +01:00
Bat
25f47a7951
Add a favicon
2018-10-09 19:23:36 +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
Bat
3f18cdd38b
Add .swp to .gitignore
2018-10-08 20:42:40 +01:00
Baptiste Gelez and GitHub
da7bfd50d0
Merge pull request #271 from yannicka/master
...
Update French translation
2018-10-08 20:11:35 +01:00
Bat
3b7842d040
Rocket should manage DbConn, not Option<DbConn>
...
Otherwise it fails when using DbConn as a request guard
2018-10-08 20:02:17 +01:00
Bat
4f84b2a3ed
Impl SQL traits for SafeString only for the selected backend
...
Fixes #269
2018-10-08 18:58:15 +01:00
Baptiste Gelez and GitHub
0469b8dae2
Merge pull request #266 from Plume-org/cc-by-sa
...
Change default license to CC-BY-SA
2018-10-07 21:28:43 +01:00
Baptiste Gelez and GitHub
3a13d80dc6
Merge pull request #267 from Plume-org/db-url
...
Replace DB_URL with DATABASE_URL
2018-10-07 21:28:28 +01:00
Bat
fe3df74986
Fix Docker build (forgot --features)
...
And update diesel_cli in Docker too
2018-10-07 19:12:10 +01:00
Bat
9cc795d8be
Replace DB_URL with DATABASE_URL
...
This way it is shared with diesel, which simplifies a lot the setup
Also fixes a few issues in the documentation, that are not directly related
2018-10-07 11:00:50 +01:00
Bat
915b9bb0e5
Use env!("CARGO_PKG_VERSION") instead of hardcoding version when possible
...
See https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates
2018-10-06 18:55:30 +01:00
Baptiste Gelez and GitHub
7a64005ca9
Merge pull request #265 from Plume-org/sqlite-docs
...
Update docs for SQlite
2018-10-06 18:25:23 +01:00
Bat
387efbf3e9
Change default license to CC-BY-SA
...
Fixes #258
2018-10-06 18:19:45 +01:00
Bat
f60f427358
Document --features
2018-10-06 16:39:33 +01:00
Bat
a0920eb6cf
Rephrase Mac OS dependencies installation
2018-10-06 16:35:39 +01:00
Bat
b09360b270
Docs: correct dependencies for SQlite
2018-10-06 16:34:09 +01:00
Baptiste Gelez and GitHub
046c9a011e
Merge pull request #264 from maximesrd/patch-5
...
Missing dependencies
2018-10-06 16:29:10 +01:00
Bat
f84fb47fe7
Update docs for SQlite
2018-10-06 16:06:50 +01:00
Baptiste Gelez and GitHub
00fe11fcbb
Merge pull request #261 from Plume-org/setup-tools
...
CLI tools
2018-10-06 14:28:13 +01:00
Bat
478e9dcac9
Show your own posts in your feed
...
Fixes #213
2018-10-06 13:42:57 +01:00
Baptiste Gelez and GitHub
4b8c090def
Merge pull request #249 from Plume-org/delete-posts
...
Delete posts when deleting account
2018-10-06 13:05:22 +01:00
Bat
4d382d8014
Fix compatibility with SQlite
...
Also fixes a bug in plume-models
2018-10-06 12:59:08 +01:00
Bat
d08c21d58d
Delete posts when deleting account
2018-10-06 12:37:28 +01:00
Bat
5fa7a2a742
Remove legacy setup script
2018-10-06 12:31:00 +01:00
Bat
caa4c38948
Update installation and update docs with the new plm tool
...
Also updates the Docker files
2018-10-06 12:19:48 +01:00
Bat
d0d1210e21
Document new command-line tools
2018-10-06 12:19:48 +01:00
Bat
d48a7796f1
User creation CLI tool
2018-10-06 12:19:48 +01:00
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 Gelez and GitHub
b464671cf0
Merge pull request #226 from igalic/feat/sqlite
...
Add SQLite as supported database
2018-10-06 12:15:00 +01:00
Baptiste Gelez and GitHub
96a97e4949
Fix a typo in README
2018-10-02 13:20:54 +01:00
Baptiste Gelez and GitHub
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
Bat and Igor Galić
bd80430b1b
Document model macros
2018-09-30 14:13:56 +02:00
Bat and Igor Galić
743620eb6a
Fix the SQlite build
2018-09-30 14:13:56 +02:00
Bat and Igor Galić
535c68b423
Run Travis for SQlite too
2018-09-30 14:13:55 +02:00
Bat and Igor Galić
38d737ed0c
Introduce features to choose between SQlite or Postgres
2018-09-30 14:13:54 +02:00
Baptiste Gelez and GitHub
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 Gelez and GitHub
05f3ecabd6
Merge pull request #248 from maximesrd/patch-4
...
Bad commands in the update guide
2018-09-29 17:03:33 +01:00
Baptiste Gelez and GitHub
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 Gelez and GitHub
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 Gelez and GitHub
ba3dd3304c
Merge pull request #243 from rhonda/master
...
Updated German translation
2018-09-25 15:38:58 +01:00
Baptiste Gelez and GitHub
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 Gelez and GitHub
05fb7c9b42
Merge pull request #238 from Plume-org/csrf-issues
...
Fix CSRF issues
2018-09-21 13:37:35 +01:00
Baptiste Gelez and GitHub
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 Gelez and GitHub
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 Gelez and GitHub
d8bfd6d39f
Create ISSUE_TEMPLATE.md
2018-09-18 15:40:17 +01:00
Baptiste Gelez and GitHub
064c5961e7
Add a CoC
...
Finally!
2018-09-18 13:59:43 +01:00
Baptiste Gelez and GitHub
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 Gelez and GitHub
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 Gelez and GitHub
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 Gelez and GitHub
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 Gelez and GitHub
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 Gelez and GitHub
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