Commit graph

30 commits

Author SHA1 Message Date
Thomas Citharel b200b1c2b2
Add icons on event edit fields
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 13:07:50 +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 33e51a05ec
Handle errors better
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 13:56:24 +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 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 534ff09674
Properly handle event status
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 16:34:03 +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 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 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 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 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 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 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 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 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 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 abf3a58657
Allow to accept / reject participants
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 10:40:12 +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 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
Chocobozzz 82df0526ec
Edit events fixes and update cache 2019-09-09 14:41:19 +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 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
Chocobozzz 2cfb777a9d
Prepare front to edit events 2019-09-02 15:16:28 +02:00
Renamed from js/src/views/Event/Create.vue (Browse further)