Igor Galić
1f8680c4c5
add sqlite migrations
...
we move our PostgreSQL specific migrations to a subdirectory.
The SQLite migrations have been created by running `diesel` against a
copy, and then fixing what's broken.
In the end i reduced all modifications to a single create, since we
*are* starting out fresh with SQLite.
n.b.: i'm not entirely happy with the results yet, because diesel
heavily modifies our `plume-models/src/schema.rs`.
I'll keep fiddling until we have the same types between the two
databases.
6 years ago
Igor Galić
e5691f7b23
add sqlite as diesel dependency
6 years ago
Trinity Pointard
fceb9ab0cd
Update cookie management a bit
...
Update to latest rocket_csrf
Make user_id a samesite lax cookie (see https://github.com/Plume-org/Plume/issues/233#issuecomment-422660275 )
6 years ago
Baptiste Gelez
1e3f40833d
Add a link to Loomio in the README
6 years ago
Bat
6f8630df2e
Use <div> for avatars
...
<img> is displayed as an error without src, in Chrome
Fixes #222
6 years ago
Baptiste Gelez
05f3ecabd6
Merge pull request #248 from maximesrd/patch-4
...
Bad commands in the update guide
6 years ago
maximesrd
a1530791ef
Update UPDATE.md
6 years ago
Baptiste Gelez
236cf14406
Merge pull request #245 from Plume-org/rest-api
...
Some API endpoints for articles
6 years ago
Bat
72fd9eb610
API: Filter posts in the list
6 years ago
maximesrd
3b288c2dad
Update UPDATE.md
6 years ago
maximesrd
b97b0233da
Update UPDATE.md
6 years ago
maximesrd
db4c939be8
Bad commands
6 years ago
Baptiste Gelez
975f8d0393
Merge pull request #246 from fediverse-pl/master
...
i18n: Update Polish translation
6 years ago
Marcin Mikołajczak
47eeed1008
i18n: Update Polish translation
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
6 years ago
Bat
f893056d6d
Mount the API endpoints
6 years ago
Bat
472da486e9
Fix the canapi::Provider impl for Post
6 years ago
Baptiste Gelez
ba3dd3304c
Merge pull request #243 from rhonda/master
...
Updated German translation
6 years ago
Rhonda D'Vine
88d8fb95c3
Updated German translation
6 years ago
Baptiste Gelez
9650fdbfb5
Merge pull request #242 from Atul9/fix-broken-link
...
#227 Fix broken link on blog page
6 years ago
Atul Bhosale
3dce53d899
Fix broken link on blog page
6 years ago
Baptiste Gelez
05fb7c9b42
Merge pull request #238 from Plume-org/csrf-issues
...
Fix CSRF issues
6 years ago
Baptiste Gelez
7afe249a75
Merge pull request #240 from OpenAlgeria/patch-1
...
Update INSTALL.md
6 years ago
OpenAlgeria
5d21e26406
Update INSTALL.md
6 years ago
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!
6 years ago
Trinity Pointard
f0fb030c7f
Update recommended nginx config
...
Update recommended nginx config to allow iframes
close #234
6 years ago
Bat
1500267125
Add canapi and try to use for the API
6 years ago
Trinity Pointard
fab6360100
Be less restrictive on authorized html tags
...
Allow users to add ids to tags
Allow users to use iframes
6 years ago
Baptiste Gelez
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.
6 years ago
Baptiste Gelez
d8bfd6d39f
Create ISSUE_TEMPLATE.md
6 years ago
Baptiste Gelez
064c5961e7
Add a CoC
...
Finally!
6 years ago
Baptiste Gelez
eb24ba1774
Merge pull request #223 from igalic/fix/safe-string
...
make blog/instance description a SafeString
6 years ago
Igor Galić
fb074e6344
render SafeString thru |safe
...
thanks again to @fdb-hiroshima for pointing me in the right direction!
6 years ago
Igor Galić
06718a5c8a
directly use SafeString in InstanceSettingsForm
6 years ago
Igor Galić
d62c72dde0
allocate new SafeString in FromFormValue impl
...
thanks to @fdb-hiroshima for this review!
6 years ago
Igor Galić
0897088aa5
add implementation for FromFormValue for SafeString
...
thanks again to @pwoolcoc for this!
6 years ago
Igor Galić
65e213309b
do not allocate empty strings
...
follow review from @pwoolcoc, and do not use
SafeString::new(&<String>::new())
since this makes an allocation which will then just be thrown away.
Instead, we pass ""
6 years ago
Igor Galić
f5c299f23c
make blog/instance description a SafeString
...
long_description & short_description's documentation say they can be
Markdown, but they are String, not SafeString.
This led to escaped strings being printed in the editor
https://github.com/Plume-org/Plume/issues/220
6 years ago
Baptiste Gelez
d355379e01
Merge pull request #219 from igalic/fix/env-howto
...
improve installation "docs"
6 years ago
Igor Galić
e7b5d81687
gitignore docker-compose.yml
6 years ago
Igor Galić
dfc76757bb
fix comment in docker.sample.env
...
docker's sample .env file under docs/ which contains the wrong command
to generate a rocket secret_key
6 years ago
Bat
5b138df8ce
Remove duplicated message in gl.po
6 years ago
Bat
0200a7b223
Only send notifications for mentions if the post is not a draft
6 years ago
Bat
b01212f4a6
Make it impossible to view drafts if you are not the author
...
Even if you got the URL
6 years ago
Bat
296aa2fbbb
Merge branch 'master' of github.com:Plume-org/Plume
6 years ago
Baptiste Gelez
ab640011e3
Merge pull request #215 from xmgz/master
...
update galician
6 years ago
Xose M
f5633f4e7f
Merge branch 'master' into master
6 years ago
Xosé M
3d52afc804
fixed some fuzzies & new
6 years ago
Xosé M
c5d93a2951
update
6 years ago
Bat
8fa83dfe25
Version bump
...
0.1.x was the pre-alpha.
The first Alpha will be 0.2.x
6 years ago
Bat
abe90706ff
Avoid showing GetText metadata when trying to translate empty strings
6 years ago