Commit graph

176 commits

Author SHA1 Message Date
Thomas Citharel ed46a0917f
Improve registration page sentences
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 12:23:17 +02:00
Thomas Citharel cbe1dd2868
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 14369e61e9
Fix test and handle errors better
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 17:03:48 +02:00
Thomas Citharel 3e4bd76f29
Fix participations list actions with another identity
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 16:24:43 +02:00
Thomas Citharel 33acbca2bc
Make sure number of available places gets updated when participation
status changes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 14:00:40 +02:00
Thomas Citharel 33e51a05ec
Handle errors better
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 13:56:24 +02:00
Thomas Citharel 57f0b5dad1
Participation fixes
Closes #208 and #210

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 10:51:22 +02:00
Thomas Citharel 2577a2a27b 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 2af2f72d2f Merge branch 'improve-image-picker' into 'master'
Improve avatar picker

See merge request framasoft/mobilizon!257
2019-10-12 19:36:34 +02:00
Thomas Citharel 5e75daa732
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 c481e818a5
Improve avatar picker
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 19:23:32 +02:00
Thomas Citharel 6862d34965
Improve username generator (handle unicode conversion properly)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 18:14:09 +02:00
Thomas Citharel b7857d93cd
Fix number of places toggle on event edit form
Closes #205

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 11:53:40 +02:00
Thomas Citharel dc4504e091
Limit minimum endsOn datetime selector to current beginsOn, set correct
date of first week and translate labels on datepicker

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 18:41:29 +02:00
Thomas Citharel 838288a384 Merge branch 'bug/properly-handle-event-status' into 'master'
Bug/properly handle event status

Closes #194

See merge request framasoft/mobilizon!248
2019-10-11 16:45:18 +02:00
Thomas Citharel f475b713a1
Hide the participation button when event is cancelled
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 16:34:08 +02:00
Thomas Citharel 534ff09674
Properly handle event status
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 16:34:03 +02:00
Thomas Citharel daec3e8433
Hide rejected participations on my event list
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 16:11:39 +02:00
Thomas Citharel 4499fb2f31
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 7452f0bd70
Fix form submission on Explore page search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 10:44:47 +02:00
Thomas Citharel b57c75743e Merge branch 'bug/fix-meta' into 'master'
Bug/fix meta

See merge request framasoft/mobilizon!244
2019-10-10 17:43:14 +02:00
Thomas Citharel 040faf4451
Fix title & meta
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 17:28:32 +02:00
Thomas Citharel d66a027abb
Remove $secondary background on h2 title, replace with underline
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 15:42:27 +02:00
Thomas Citharel 405331f7cb
Make event header picture display as background cover
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 14:50:44 +02:00
Thomas Citharel a20f2612bc Merge branch 'bug/fix-ui' into 'master'
Bug/fix ui

See merge request framasoft/mobilizon!237
2019-10-10 14:28:15 +02:00
Thomas Citharel 8d88aa1450
Improve Registration / Login UI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 14:20:09 +02:00
Thomas Citharel e56854f13b
Change external link to joinmobilizon to about page on register page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:56:54 +02:00
Thomas Citharel cab4ebf64e
Add margin above title in Explore section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:50:23 +02:00
Thomas Citharel dff27cad9d
Add margin below description instance on homepage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:39:24 +02:00
Thomas Citharel ac35e4b923
Fix preview
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 12:25:32 +02:00
Thomas Citharel eca8b9ec7c
Fix editor related issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 11:05:53 +02:00
Thomas Citharel 651d7e1e80
Fix editor buttons reloading page 😰
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 10:25:33 +02:00
Thomas Citharel 84f8e16cd0
Fix event creation/updating having a popup
Also change translation on the warning

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 19:41:17 +02:00
Thomas Citharel a205ba6ab8
Add event search field on explore page and fix featured events
Closes #195 and #196

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 18:51:55 +02:00
Thomas Citharel f4360468a6
Use local icons instead of CDN, clean unused deps & fix issue with
vue-property-decorator

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 17:54:35 +02:00
Thomas Citharel e1b3c14cbf
Prevent route changing when editing with changes
Close #197

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 17:18:27 +02:00
Thomas Citharel c565076fac
Fix participants panel icons and improve tabs
Close #198

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 17:03:35 +02:00
Thomas Citharel 68c8017141
Remove some dev
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 14:55:45 +02:00
Thomas Citharel c47546bb1a
Hide some fields and fix datetime issue
Closes #168

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 12:54:09 +02:00
Thomas Citharel ecb7d9f759
Fix transition test
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 22:27:14 +02:00
Thomas Citharel 0820866bb8
fix lint issues and errors
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 20:00:26 +02:00
Thomas Citharel 949785ed5b
Remove own current identity events from featured events
Events from other identities are still displayed

Closes #187

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 19:41:14 +02:00
Thomas Citharel f99586c897
Fix sending empty picture when updating identity without updated picture
Closes #188

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 19:34:04 +02:00
Thomas Citharel 406b76ef58
Make sure the registration email is sent with the correct locale
Closes #189

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 18:28:35 +02:00
Thomas Citharel fa781fc840
Rework homepage and add a (fancy) about section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 12:27:31 +02:00
Thomas Citharel c58c9e5f97
Automatically login after registration
Closes #186

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 15:29:24 +02:00
Thomas Citharel 77d286ebb6
Introduce Cypress
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 18:28:18 +02:00
Thomas Citharel 7244eebc31
Make sure we have email on registerAccount page
Closes #179

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 12:36:42 +02:00
Thomas Citharel 471e8ac472
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 75bd7a3d75
Fix edit event cache issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-03 16:54:56 +02:00
Thomas Citharel 8bfb9ddf1a
Hide groups and multiple fixes
Closes #169

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-03 12:32:20 +02:00
Thomas Citharel f60ab9b5b8
Fixes to navbar and edit page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-03 11:37:34 +02:00
Thomas Citharel 30d901605d
Properly handle not found event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-02 19:14:39 +02:00
Thomas Citharel 442a011490
Add draft feature
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-02 18:23:32 +02:00
Thomas Citharel 0c732ab4f7
Add a cancel button to event edit & make buttons fixed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-01 20:10:53 +02:00
Thomas Citharel 5b4f1c271a
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 757d2cabec
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 3806295e83
Implement password change in basic user settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-24 18:47:35 +02:00
Thomas Citharel 29600154c6 Merge branch 'bug/fix-event-title-length-limitation' into 'master'
Fix event title length limitation

Closes #167

See merge request framasoft/mobilizon!191
2019-09-23 12:07:25 +02:00
Thomas Citharel 130f24dc0b
Fix event title length limitation
Closes #167

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 11:51:59 +02:00
Thomas Citharel b70a204e06
Fix event deletion redirection
Closes #170

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 11:33:13 +02:00
Thomas Citharel df5c6b4008
Various fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 10:26:38 +02:00
Thomas Citharel 246555a768
Couple of fixes, and introducing Explore section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 10:40:18 +02:00
Thomas Citharel 525e379c67
Move navbar to buefy component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 10:40:18 +02:00
Thomas Citharel abf3a58657
Allow to accept / reject participants
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 10:40:12 +02:00
Thomas Citharel ffa4ec9209
Work on dashboard
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 09:42:54 +02:00
Thomas Citharel 96380f7df2
Move i18n to vue-i18n and json files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-12 12:19:02 +02:00
Thomas Citharel c3b03a2e6b
Show number of participants
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-12 12:18:57 +02:00
Thomas Citharel 6bceb5b463
Add identity pickers on event creation & join
Also it now saves current actor in localStorage and initalizes it in
Apollo Cache (just like user stuff). This allows not relying on
loggedPerson query anymore.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-11 11:03:17 +02:00
Thomas Citharel 27f2597b07
Add admin dashboard, event reporting, moderation report screens, moderation log
Close #156 and #158

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-09 20:53:16 +02:00
Thomas Citharel 164429964a Merge branch 'feature/delete-event-modal' into 'master'
Add modale when deleting an event

See merge request framasoft/mobilizon!181
2019-09-09 20:39:23 +02:00
Chocobozzz 856aa4a50c
Add modale when deleting an event 2019-09-09 20:29:09 +02:00
Chocobozzz 82df0526ec
Edit events fixes and update cache 2019-09-09 14:41:19 +02:00
Thomas Citharel bcfb142d5b
Fixes for event deletion and updates
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-05 14:55:20 +02:00
Thomas Citharel f5c3dbf128
Correctly handle event update
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-05 13:59:52 +02:00
Thomas Citharel a296dbf539
Fix typescript issues and bump deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-03 08:44:27 +02:00
Thomas Citharel cb96b807a0
Improve event creation form by introducting EventOptions
It's a subentity that holds additional metadata in a map database type

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-02 17:11:27 +02:00
Thomas Citharel f928be3200 Merge branch 'feature/edit-event' into 'master'
Prepare front to edit events

See merge request framasoft/mobilizon!174
2019-09-02 15:26:39 +02:00
Chocobozzz 2cfb777a9d
Prepare front to edit events 2019-09-02 15:16:28 +02:00
Thomas Citharel 925f7bbb02 Merge branch 'feature/group-create' into 'master'
Prepare create group

See merge request framasoft/mobilizon!173
2019-09-02 12:10:23 +02:00
Chocobozzz 18b2854d99
Prepare create group 2019-09-02 11:51:42 +02:00
Chocobozzz fd00663a1e
Better delete identity admin message 2019-08-26 15:58:28 +02:00
Thomas Citharel 0e0b68445b
Reuse existing addresses when creating an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-22 16:20:42 +02:00
Chocobozzz a353eb49a3
Fix update current client 2019-08-21 11:25:09 +02:00
Thomas Citharel f5355b1be9
Fix link to direct profile on event page when external
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:19:32 +02:00
Thomas Citharel 8f31beb0fb
Make category optionnal and hide it from the form
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:19 +02:00
Thomas Citharel c51115bdbe
Introduce relay
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:13 +02:00
Chocobozzz a007160480
Fix lint 2019-08-13 10:59:12 +02:00
Chocobozzz 6d221212ef
Remove apollo link state 2019-08-12 16:04:32 +02:00
Thomas Citharel 5fbaf42cad
Add address input and refactor federation stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-30 10:35:29 +02:00
Thomas Citharel 6d80bf43ea
Refactor adding tags to an event
Also refactor extracting tags from content, now uses Pleroma's Formatter

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-26 12:06:26 +02:00
Thomas Citharel 137aa95d48
Add link to event and group creation on dashboard
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-23 18:36:17 +02:00
Thomas Citharel 1cd511f440
Front end deps upgrades and fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-23 17:14:03 +02:00
Chocobozzz 0e485b2388
Add ability to update/create/delete identities 2019-07-08 16:32:22 +02:00
Thomas Citharel 55f854f3bc
Improved event form creation date & timepickers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-06-07 17:19:30 +02:00
Thomas Citharel 0a1f955194
Make event & create event & map async components
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-31 15:13:07 +02:00
Thomas Citharel d3176e2a8d
Add mentions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-29 16:46:23 +02:00
Thomas Citharel 07d4db5ce9
Add tiptap editor for description ❤️
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-28 18:55:02 +02:00
Thomas Citharel f90089e1bf
Refactor media upload
Use Upload Media logic from Pleroma

Backend changes for picture upload

Move AS <-> Model conversion to separate module

Front changes

Downgrade apollo-client: https://github.com/Akryum/vue-apollo/issues/577

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-24 17:29:51 +02:00
Chocobozzz 92ff05f505
Test implementation of my account page 2019-04-26 15:36:53 +02:00