Trinity Pointard
2870642cfa
Fix mentions containing underscores
...
Fix #338
2018-12-12 10:50:55 +01:00
Trinity Pointard
fcbaf6eee3
Allow to keep query params in paginate
...
Fix #349
2018-12-12 00:52:26 +01:00
Trinity Pointard
b4e4b497ee
Works on template
...
Use uri! to generate links instead of hardcoded urls
Fix #110
Fix invalid links needing to be POST forms
Translate login message for boost and like directly from template
Put js for search in its own file
2018-12-07 12:10:03 +01:00
Trinity Pointard
5f059c3e98
Fix issues with tags and mentions
...
Fix issue where leading @ or # of a mention/hashtag get duplicated
Fix issue where normal tags were being overwritten by hashtags
2018-12-06 15:10:07 +01:00
Trinity Pointard
d6e220cc8d
Actually index post_id in tantivy
...
Otherwise you can't remove/edit a document
2018-12-04 06:43:32 +01:00
Trinity Pointard
39deede935
Verify signature date
...
Fix #286
Remove indexed from post_id search field as it was added by mistake
2018-12-04 00:08:55 +01:00
Trinity Pointard
24071a6229
Make plm search use cwd if no directory is given and update doc
2018-12-02 20:01:48 +01:00
Trinity Pointard
ed71d24fe9
Verify remote user name and media url
2018-12-02 19:09:17 +01:00
Trinity Pointard
9714bafded
Verify username for special characters on signup
2018-12-02 12:43:03 +01:00
Trinity Pointard
00a205a882
Update debian installation doc
...
fix #305
Update debian installation doc
Remove need for libpq when compiling with sqlite backend
Remove some unneaded features of multipart to speed up compilation
2018-11-21 10:09:23 +01:00
Trinity Pointard
dca91945af
Try to take advantage of travis cache and build stages
2018-11-04 20:27:27 +01:00
Trinity Pointard and Baptiste Gelez
76ca76f068
Update tags and hashtags on remote post edition
2018-10-29 20:54:27 +01:00
Trinity Pointard and Baptiste Gelez
c4fc656809
Update mentions on remote post edition
2018-10-29 20:54:27 +01:00
Trinity Pointard and Baptiste Gelez
f147885f08
Detect if tags are hashtags when receiving new posts
2018-10-29 20:54:27 +01:00
Trinity Pointard and Baptiste Gelez
9d7ae694a8
Delete notification on post deletion
2018-10-29 20:54:27 +01:00
Trinity Pointard and Baptiste Gelez
2523f3b523
Prevent duplication of mention on post update
...
and delete mentions and notifications of user no longer mentioned
2018-10-29 20:54:27 +01:00
Trinity Pointard and Baptiste Gelez
1689813df4
Deduplicate tags and mentions
...
Use set to work on tags and mentions, allowing deduplication of them,
and clearer code
May also help with distinguishing tags and hashtags latter
2018-10-29 20:54:27 +01:00
Trinity Pointard
0bb2e6293a
Send Create activity when undrafting post
...
Send a Create activity when a post get undrafted, instead of sending an
Update activity for a non federated post
Fix #221
2018-10-28 11:42:01 +01:00
Trinity Pointard
cbbd0ca920
Group post by 12 instead of 10
...
Fix #251
2018-10-28 11:26:24 +01:00
Trinity Pointard
0bb719830a
Fix incorrect media link
...
Fix #292
2018-10-27 19:21:50 +02:00
Trinity Pointard
d47aff70f7
Add new string to translate for blog deletion
2018-10-21 12:09:22 +02:00
Trinity Pointard
9a8758d7fc
Hide hashtags from tag list
2018-10-20 23:45:29 +02:00
Trinity Pointard
95ea248518
Add support for hashtag on user interface
...
Add migration to fix typo
Add support for linking hashtags with posts
Rework tag search page so it says a nicer message than page not found
when no post use that tag
Add new string to translation
2018-10-20 19:27:49 +02:00
Trinity Pointard
4fa3a0f6ee
Add support for hashtags in md parser
2018-10-20 16:38:16 +02:00
Trinity Pointard
eca458b0e5
Add support for blog deletion
...
fix #181
2018-10-20 15:03:59 +02:00
Trinity Pointard
a6e73f4667
Allow tag deletion
...
Fix #232
2018-10-20 14:05:41 +02:00
Trinity Pointard
fd92383f87
Normalize panic message and return 400 or 404 when suitable
2018-10-20 11:04:20 +02:00
Trinity Pointard
4e6f3209d5
Normalize panic message
...
Change all unwrap to expect
Normalize expect's messages
Don't panic where it could be avoided easily
2018-10-20 08:44:33 +02:00
Trinity Pointard
f9498828c4
Modify post slug only when it's still drafted
...
Fix #207
2018-10-11 14:23:23 +02:00
Trinity Pointard
ed5bafbbc4
Update webfinger and reqwest
...
Update webfinger to 0.3.1
Update reqwest to 0.9
Fix #257
2018-10-11 13:51:45 +02:00
Trinity Pointard
ba4695f490
Add support for signature verification on pseudo header
...
Add support for pseudo-header '(request-target)'
Add some logging for denied request
2018-10-10 21:10:43 +02:00
Trinity Pointard
0d6a2af851
Code style improvement
2018-10-06 10:57:37 +02:00
Trinity Pointard
3466e55548
Implement JSON-ld signature verification
...
Implement JSON-ld signature verification
Move signature verification functions to the proper file
2018-10-06 10:06:06 +02:00
Trinity Pointard
62c94ed463
Refactor and verify http signature on personnal inbox
...
Verify signature on personnal inbox
Reduce code duplication
Put Headers in plume-models
2018-10-03 20:48:25 +02:00
Trinity Pointard
0a5d435249
Verify http signatures
2018-10-03 09:31:38 +02:00
Trinity Pointard
d3ed2d8af5
Fix regression and update rocket_csrf
...
Fix account creation, introduced by fceb9ab
Update to latest rocket_csrf
2018-10-02 11:51:12 +02:00
Trinity Pointard
d610ed1641
Add verify() to the Signer trait
...
And implement it for Blog and User
2018-09-30 12:08:04 +02:00
Trinity Pointard
eafe1ed490
Add content digest to signed http headers
...
Sign the Digest HTTP header
2018-09-30 12:08:04 +02:00
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 )
2018-09-30 11:56:12 +02:00
Trinity Pointard
f0fb030c7f
Update recommended nginx config
...
Update recommended nginx config to allow iframes
close #234
2018-09-19 18:18:39 +02:00
Trinity Pointard
fab6360100
Be less restrictive on authorized html tags
...
Allow users to add ids to tags
Allow users to use iframes
2018-09-19 10:51:27 +02:00
Trinity Pointard
e9b2a20ad3
Update dependancie to rocket_csrf
...
fix #117
2018-07-20 17:24:34 +02:00
Trinity Pointard
ec4b791727
Update dependancy to rocket_csrf
...
fix #96
2018-06-30 09:38:44 +02:00
Trinity Pointard
5bbfd9d1e9
Set maximum image width to 100% of parent
...
fix #87
2018-06-25 16:03:59 +02:00
Trinity Pointard
5133410451
Properly verify password
...
fix #86
2018-06-25 15:38:39 +02:00
Trinity Pointard
3b9c53bebc
Use proper repository for rocket_csrf
2018-06-24 19:02:47 +02:00
Trinity Pointard
30e9620d0a
Add csrf protection
2018-06-24 18:58:57 +02:00
Trinity Pointard
db248701b9
Disallow blog name which yould result in empty blog name
...
fix #63
2018-06-19 22:34:59 +02:00
Trinity Pointard
97c652cefd
Remove HTML tags from preview
...
fixes #24
2018-06-18 19:28:26 +02:00
Trinity Pointard
d8f32afeb0
allow html on user.summary
2018-06-11 16:05:18 +02:00
Trinity Pointard and Your Name
7d9609671c
change post.content and comment.content's types from String to SafeString
2018-06-11 12:22:43 +02:00
Trinity Pointard and Your Name
bb1442db8a
create new type SafeString to sanitise and store unsafe html
2018-06-11 11:44:17 +02:00
Trinity Pointard and Your Name
e7cadbf764
fix double-escaping on login page and disallow html on summary
2018-06-11 11:19:44 +02:00
Trinity Pointard and Your Name
daf4de07be
rename templates from .tera to .html.tera to enable auto-escaping of html
2018-06-11 11:19:39 +02:00
Trinity Pointard
3dcd78f205
fix redirection to login in src/routes/user.rs
2018-06-07 10:39:22 +02:00
Trinity Pointard
8158f19b85
add fallback to url generating 404
2018-06-04 21:57:03 +02:00
Trinity Pointard
2fde47d909
add optional login message and callback
2018-06-04 20:21:43 +02:00
Trinity Pointard
c9b231fae1
add trailing / to followers url
...
Signed-off-by: Trinity Pointard <trinity.pointard@insa-rennes.fr >
2018-05-22 17:52:53 +02:00
Trinity Pointard
a8aeb40b95
add trailing slashes to links where they were missing
...
Signed-off-by: Trinity Pointard <trinity.pointard@insa-rennes.fr >
2018-05-22 17:35:16 +02:00