Commit Graph

177 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Chocobozzz
2cfb777a9d
Prepare front to edit events 2019-09-02 15:16: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
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