Thomas Citharel
93cecbe49c
Improve build times
...
* Fix bulma/buefy being imported many (many !!!) times
* Remove javascript-time-ago because date-fns pretty much does the same
thing
* Make sure languages are loaded asynchronously
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 09:46:33 +02:00
Thomas Citharel
3f2664cf47
Improve edit page on mobile
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-13 17:03:48 +02:00
Thomas Citharel
c296381ed6
[Security] Fix events being editable by other users that organizers
...
Closes #385
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 18:12:35 +02:00
Thomas Citharel
75fc1f125a
Show a proper error message on creating/updating an event
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 16:09:45 +02:00
Thomas Citharel
e895ba32be
Prevent creating a new event when editing one
...
Close #381
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 16:16:42 +02:00
Thomas Citharel
77970b8091
Improve anonymous participation and confirmation
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 17:05:15 +02:00
Thomas Citharel
efae6c3510
Specify that only users with account can comment
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-05 16:42:31 +02:00
Thomas Citharel
75b3a52077
Make sure we don't submit the event form twice
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 18:25:57 +02:00
Thomas Citharel
331f9bc915
Fix report button showing if anonymous reporting is disabled
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 17:51:59 +02:00
Thomas Citharel
2e67c423db
Fix group event list
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 15:57:49 +02:00
Thomas Citharel
aced4d039b
Fix posts and rework graphql errors
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 15:07:15 +02:00
Thomas Citharel
92367a5f33
Allow to report a group
...
And multiple group tweaks
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-30 15:26:58 +02:00
Thomas Citharel
c8449a0693
Move contact to organized by
...
And minor things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-30 10:45:22 +02:00
Thomas Citharel
49a5725da3
Improve and activate groups
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-29 10:25:00 +02:00
Thomas Citharel
9b726fabb5
Make sure anonymous participation doesn't show up when logged-in
...
And improve a little typescript usage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-22 15:04:29 +02:00
Thomas Citharel
b0e8a32d2a
Improvements to group page
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-21 11:18:49 +02:00
Thomas Citharel
5f0497144a
Improve texts
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-31 14:25:21 +02:00
Thomas Citharel
9b0b753064
Run Prettier with updated version
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-27 15:41:48 +02:00
Thomas Citharel
1984f71cbf
Add group admin profiles
...
And other fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-27 12:12:54 +02:00
Thomas Citharel
4a87d520b6
Adapt for Buefy 0.9 <b-table> scope changes
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-18 15:50:50 +02:00
Thomas Citharel
b4f500532f
Allow to filter by begins_on and ends_on. Redirect explore to search
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-10 15:40:21 +02:00
Thomas Citharel
3807ab1b63
Allow events to be searched by location and period
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-10 15:40:18 +02:00
Thomas Citharel
9c9f1385fb
Introduce group posts
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-30 16:55:35 +02:00
Thomas Citharel
acb938da74
Fix elements overflowing on map modal
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-07 10:54:10 +02:00
Thomas Citharel
a768c4906f
Fix event report modal trigger
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-07 09:33:34 +02:00
Thomas Citharel
300fd8b729
Fix MyEvents pagination
...
And reverse order for past events so that it's coherent
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-06 17:35:03 +02:00
Thomas Citharel
c5255d9f82
Run prettier on files
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-25 12:30:29 +02:00
Thomas Citharel
4fc8816a1f
Fix redirection after event deletion
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-23 17:20:21 +02:00
Thomas Citharel
e030eab93d
Fix event stats participants / going incoherent
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-18 16:24:00 +02:00
Thomas Citharel
b61d12b5fd
Participation panel revamp and fixes
...
Apollo is a pain in the ass with pagination & filters, so this removes
the tabs system and uses a <select> to filter instead
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-18 15:52:19 +02:00
Thomas Citharel
b5f295c5d9
UI improvements
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-17 15:55:21 +02:00
Thomas Citharel
08b4fb9b08
Stop using metadata for sharing text
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-16 16:22:36 +02:00
Thomas Citharel
d020b645f6
Fix event places left indicator
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-16 11:10:06 +02:00
Thomas Citharel
ef6a1a21ac
Even more fixes
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-15 19:41:11 +02:00
Thomas Citharel
918dc6f10b
Multiples fixes
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-15 18:12:49 +02:00
Thomas Citharel
dac47d2abb
Add config option to allow anonymous reporting
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-09 14:07:49 +02:00
Thomas Citharel
7dbabcf15f
Add toggle to disable groups
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-08 16:47:57 +02:00
Thomas Citharel
c600b31c28
Add back share popup and use navigator.share when available
...
Also handle better svg resources
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-05 15:22:05 +02:00
setop
09af783ee3
add duplicate event
2020-06-04 10:08:48 +02:00
Thomas Citharel
4144e9ffd0
Introduce group basic federation, event new page and notifications
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:26 +02:00
Thomas Citharel
c732ec7f87
Add ability to add message for participation and improve participation
...
management interface
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-03-06 09:00:48 +01:00
Thomas Citharel
d5a44eee9a
UI improvements
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-18 08:49:30 +01:00
Thomas Citharel
2ed9050a90
Add anonymous and remote participations
2020-01-29 17:28:11 +01:00
Thomas Citharel
de261cf334
Add a default limit participations of 10, fix dockerfile and lint some things
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-15 22:42:38 +01:00
Leo Mouyna
d333bb08f1
fix: Front end validation on switch.
...
Add a watcher on limitedPlaces and set to default values options related to occupancy when toogle to false.
Increase min places to 1 instead of 0.
See issue: #307
2019-12-15 22:25:09 +01:00
Thomas Citharel
bf7720afc1
Merge branch '308-fix-end-datetime-before-begin-datetime' into 'master'
...
fix: end datetime can't be before begin datetime.
Closes #308
See merge request framasoft/mobilizon!343
2019-12-15 22:20:09 +01:00
Thomas Citharel
334d66bf5d
Add admin interface to manage instances subscriptions
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-15 21:56:16 +01:00
Leo Mouyna
3358da34f9
fix: end datetime can't be before begin datetime.
...
Add a min-datetime to endsOn.
Add maxDatetime and minDatetime props to or custom datetime-picker component.
Use those new props inside date-picker and time-picker components to set
a correct range of date for both endsOn and beginsOn event elements.
See issue: #308 .
2019-12-11 19:55:11 +01:00
Thomas Citharel
dc07f34d78
Introduce comments below events
...
Also add tomstones
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-28 12:33:58 +01:00
Thomas Citharel
eab36f40ec
Add share to Diaspora* button
...
Related to #227
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-19 12:04:35 +01:00
Thomas Citharel
c599a47d58
Introduce Mimirsbrunn geocoder and improve addresses & maps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-12 14:10:18 +01:00
Thomas Citharel
0e7cf89492
Remove floor
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-08 19:39:02 +01:00
Dany Marcoux
6450121167
Disable search button if search field is empty
...
Closes #269
2019-11-07 16:40:58 +01:00
Thomas Citharel
a46f4c058c
Fix add to calendar section with low screen width
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:03 +01:00
Thomas Citharel
6a807a6a13
Only show pointer cursor on export event title
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:58:24 +01:00
Thomas Citharel
0a844aa174
Open links from event URL and in event description in external window
...
And add rel='noopener noreferrer' on them
Closes #282 and #283
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:09:44 +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
599e2a39b5
Make tags clickable
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
ddd9d44da1
Merge branch 'feature/add-polyfill-for-intersection-observer' into 'master'
...
Fix build on Safari and improve js build
Closes #246
See merge request framasoft/mobilizon!283
2019-10-17 14:49:31 +02:00
Thomas Citharel
4b80b8616d
Add polyfill for IntersectionObserver
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 11:04:07 +02:00
Thomas Citharel
571f6c60bd
Fix multiline display on participants page
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 09:41:52 +02:00
Joel Takvorian
3b31acebd6
Link to participation from event page
...
When the organizer sees hiw own event, the number of attendees is now a link to the attendees page
Fixes #221
2019-10-16 13:12:58 +02:00
Thomas Citharel
5af1f4a8c2
Fix event description lists margin
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-15 11:40:25 +02:00
Thomas Citharel
f82c3b7492
Fix event URL validation and check if hostname is correct before showing
...
it
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-15 09:57:08 +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
32f6ee7019
Hide Mastodon icon since there's no way to share right now
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 14:39:31 +02:00
Thomas Citharel
e0826b4e87
Show event onlineAddress
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 14:38:21 +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
0fa9a0bcb1
Event description pic & meta and email share fixes
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 12:56:37 +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
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
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
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
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
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