Thomas Citharel
b3b41ad777
Refactor Core things, including Ecto handling, ActivityPub & Transmogrifier modules
...
* Data doesn't need anymore to be converted to ActivityStream format to
be saved (this was taken from Pleroma and not at all a good idea here)
* Everything saved when creating an event is inserted into PostgreSQL in
a single transaction
2019-10-31 10:06:11 +01:00
Thomas Citharel
567d8ba555
Make inserting data into search table an async operation
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 16:33:56 +02:00
Thomas Citharel
c6ce7f6795
Fix unrelated warning
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
75ec6afffc
Implement search engine & service in backend
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
25e25d5537
Allow WebP and Gif pics
...
svg stays forbidden until we can be sure it's fine security-wise
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-21 13:43:06 +02:00
Thomas Citharel
74c12d6736
Add the optimize filter for uploaded pics
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-21 13:42:45 +02:00
Thomas Citharel
0f43a71eb0
Limit multipart upload to 10MB
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 14:10:39 +02:00
Thomas Citharel
60b9fa235b
Add some backend changes and validation for field length
...
Closes #225 and #226
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 11:31:11 +02:00
Thomas Citharel
5d64299e42
Upgrade vue-cli to v4, change the way server params injection is made
...
and serve es6 modules
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 14:20:22 +02:00
Thomas Citharel
9901a26eb1
Merge branch 'bug/fix-XSS-on-event-title' into 'master'
...
Make sure title is properly sanitized
Closes #247
See merge request framasoft/mobilizon!281
2019-10-16 19:17:27 +02:00
Thomas Citharel
32b04755a8
Make sure title is properly sanitized
...
Close #247
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 19:03:31 +02:00
Thomas Citharel
6bdf44f60f
Translate them and handle difference between user not found and user not
...
confirmed
Closes #212
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 17:07:49 +02:00
Damien
6c7bb75907
(Hopefully) improve grammar
...
[CI skip]
2019-10-15 21:38:49 +02:00
Thomas Citharel
71470cca9a
set default to show event time
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 20:00:58 +02:00
Thomas Citharel
0dbde97fb5
Change link for Framacolibri
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 19:33:07 +02:00
Thomas Citharel
cc1e5ba24e
Better handle datetime
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 19:29:18 +02:00
Thomas Citharel
fd3116a0a8
Properly update event ics export cache and fix export desc html
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 15:44:16 +02:00
Thomas Citharel
b28182d110
Prevent picture resend on event update, handle duplicate pictures
...
properly in backend and add a proper default picture
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 11:41:57 +02:00
Thomas Citharel
a1d2affbc0
Handle errors better
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 13:56:24 +02:00
Thomas Citharel
dcaf927b71
Participation fixes
...
Closes #208 and #210
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 10:51:22 +02:00
Thomas Citharel
f9de0f0d5d
Merge branch 'test/add-cypress-on-event-creation' into 'master'
...
Add e2e seed and test event creation
See merge request framasoft/mobilizon!254
2019-10-12 19:47:19 +02:00
Thomas Citharel
88eee78123
Add e2e seed and test event creation
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 19:34:16 +02:00
Thomas Citharel
78b9d6003c
Add custom user-agent to geospatial calls
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 11:41:18 +02:00
Thomas Citharel
5e7c646225
Properly handle event status
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 16:34:03 +02:00
Thomas Citharel
a16832a446
Fix participation section, show how many places are available
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 15:26:16 +02:00
Thomas Citharel
69ea0f9721
Expose participants number through API
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 11:54:57 +02:00
Thomas Citharel
74fe9db43e
Make sure people can't join an event with limited participants
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 11:50:06 +02:00
Thomas Citharel
896e6bf523
Add warning inside emails as well
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 10:44:53 +02:00
Thomas Citharel
ad8c681e95
Fix title & meta
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 17:28:32 +02:00
Thomas Citharel
206697891a
Merge branch 'bug/email-logo-alt' into 'master'
...
Bug/email logo alt
See merge request framasoft/mobilizon!238
2019-10-10 14:57:07 +02:00
Thomas Citharel
5aab0e474c
Replace email logo alternative text by instance name
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 14:27:06 +02:00
Thomas Citharel
29b3806471
Fix preview
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 12:25:32 +02:00
Thomas Citharel
3c07c8f7fb
Fix editor related issues
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 11:05:53 +02:00
Thomas Citharel
211290985f
Make sure featured events have currently happening events
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 16:37:39 +02:00
Thomas Citharel
2a5b9a39e5
Fix unavailable access to an event
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 21:31:47 +02:00
Thomas Citharel
f5d4816c3d
Properly handle account deleted
...
Close #191
Also fix an issue with public events not being accessible when requested
as another logged-in user.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 18:13:06 +02:00
Thomas Citharel
7f65428b38
Introduce Cypress
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 18:28:18 +02:00
Thomas Citharel
4bc8fbf714
Redirect to profile creation when user has no identities
...
Also load persons by ID instead of preferred_username
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 12:36:42 +02:00
Thomas Citharel
174a844ed5
Add draft feature
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-02 18:23:32 +02:00
Thomas Citharel
b0bba8ccb5
Save user locale and use it to translate things
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-01 13:08:09 +02:00
Thomas Citharel
f8f5d0643a
Notifications on event update
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-30 19:01:46 +02:00
Thomas Citharel
aab090f0c8
Send email notifications when a participation is approved/rejected
...
Also handles participant status :rejected instead of deleting the
participation
Closes #164
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-30 18:45:29 +02:00
Thomas Citharel
54b00ff989
Add config option to disable federation
...
Closes #148
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-27 16:18:29 +02:00
Thomas Citharel
ef044c59e4
Fix rebase issue
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-26 18:10:11 +02:00
miffigriffi
ea072ff7c7
Fix software design suggestions
2019-09-26 17:45:47 +02:00
miffigriffi
24bb7d8ca5
Fix code readability issues
2019-09-26 17:45:47 +02:00
miffigriffi
32868d2e97
Fix refactoring opportunities
2019-09-26 17:45:33 +02:00
Thomas Citharel
f0233bac60
Merge branch 'feature/participate-dropdown' into 'master'
...
Add a dropdown on participate menu, disallow listing participations
Closes #174
See merge request framasoft/mobilizon!200
2019-09-26 17:41:14 +02:00
Thomas Citharel
fd669e90fa
Add a dropdown on participate menu, disallow listing participations
...
Now requires quering the person endpoint to know if an actor
participates in an event, organizers can make authenticated requests to
event { participants { } } to see the pending / approved participants.
Also closes #174
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-26 17:00:01 +02:00
Thomas Citharel
6f6f8c2608
Remove unneeded Markdown converter (earmark)
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-26 16:49:49 +02:00