Commit Graph

121 Commits

Author SHA1 Message Date
Thomas Citharel 9f1d8b9daf
Limit year range in the datepicker
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-05 17:22:17 +01:00
Thomas Citharel e799b8a77f Merge branch 'bug/reduce-event-date-picker-width' into 'master'
Reduced datetime picker width

See merge request framasoft/mobilizon!302
2019-11-04 17:24:49 +01:00
Thomas Citharel 04e447a083
Translate description editor placeholder
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:48:12 +01:00
Thomas Citharel b6351c4045
Reduced datetime picker width
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:37:57 +01:00
Thomas Citharel cc820d6b63
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 afa3bb1eff
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 eb7ab7229a
Limite size and number of tags in input
Closes #239

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 11:31:25 +02:00
Thomas Citharel 5ebbb57d0e
Fix participations stats on the MyEvents page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-15 10:39:26 +02:00
Thomas Citharel d93561742a
Better handle datetime
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 19:29:18 +02:00
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 3feb3183d9
Fixes for event card
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 13:03:48 +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 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 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 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 c66d098c6c
Hide identies in navbar if I have only one
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 18:19:51 +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 6bd0fc15ac
Fix logo background on click
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-11 15:26:22 +02:00
Thomas Citharel ac05baf1a8
Fix padding on organizer / city section on event card
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:48:03 +02:00
Thomas Citharel 01b2dce74d
Fix search field
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 13:29:58 +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 1f9298e577
Add indication on how to add tags
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-10 10:31:15 +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 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 9f583b5767
Rename Events to MyEvents
Close #193

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-09 17:25:09 +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 0820866bb8
fix lint issues and errors
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-08 20:00:26 +02:00
Thomas Citharel bff00dea21
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 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 a736965e91
Add basic styleguide
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-07 10:25:21 +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 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 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 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 aea052169b
Fix logout
Closes #171

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-23 11:30:23 +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 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
Chocobozzz 82df0526ec
Edit events fixes and update cache 2019-09-09 14:41:19 +02:00