Commit Graph

117 Commits

Author SHA1 Message Date
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