Commit Graph

708 Commits

Author SHA1 Message Date
Thomas Citharel 0452b44f21
Make sure maximumAttendeeCapacity is a number, not a string
Closes #1194

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-21 12:07:22 +01:00
Thomas Citharel 32706150e0
Fix changing event uuid didn't change event data
Closes #1192

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-21 11:53:29 +01:00
Thomas Citharel 066e71c517
Don't load group status when unlogged
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-07 11:23:15 +01:00
Thomas Citharel 8f49c66b3f
Fix upcoming event groups on homeview
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-07 09:12:48 +01:00
Thomas Citharel b860dadbfb
Front-end fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 13:03:53 +01:00
Thomas Citharel b745f34356
Fix event map view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 18:29:59 +01:00
Thomas Citharel c1dff8caaa
Remove unused import
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 11:29:19 +01:00
Thomas Citharel 74639e7203
Fix event integrations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 11:28:56 +01:00
Thomas Citharel f3ac1f7ce1
Discussions views improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 17:38:20 +01:00
Thomas Citharel 7401fc8273
Truncate resource description preview after 350 characters
Closes #1182

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 16:54:04 +01:00
Thomas Citharel 29de9b346a
Fix moving resources
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 12:10:59 +01:00
Thomas Citharel e69e8a5044
Allow to configure editor heading levels and set level 2 as start for posts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 18:09:26 +01:00
Thomas Citharel 3ddf360e11
Add breadcrumb trail on Post view
And lint

Closes #466

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 18:02:20 +01:00
Thomas Citharel 30eb37e31b
Post view improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 17:45:58 +01:00
Thomas Citharel dcfe87116e
Allow to view more than 10 drafts events on my events view
Closes #993

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 11:38:14 +01:00
Thomas Citharel be33c3b213
Search improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-31 18:07:14 +01:00
Thomas Citharel 5d507ecf69
Event view improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-31 18:05:59 +01:00
Thomas Citharel e0127afd2b
Various front-end fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-31 14:30:41 +01:00
Thomas Citharel ecb862f634
Fix dashboard view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-31 14:30:40 +01:00
Thomas Citharel 695d773d50
Various UI fixes, add placeholder to the text editor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-31 11:43:18 +01:00
Thomas Citharel 4eb15b5ebf
Fix E2E tests for login
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-28 19:10:38 +02:00
Thomas Citharel 8452b2e096
Remove unused attribute
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-28 17:41:50 +02:00
Thomas Citharel 579bcaba06
Allow to disable non-SSO login
With a new disable_database_login parameter under :mobilizon, :instance

Closes #1154

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-28 17:41:49 +02:00
Thomas Citharel fc5b6882ae
Show registration button if registration allow list is used and improve
registration page

Closes #1102

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-28 17:41:49 +02:00
Thomas Citharel e420713a6f
Add setting to toggle light/dark mode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-28 17:41:49 +02:00
Thomas Citharel 09fce90c6a
Order categories by translated label
Closes #1082

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-28 10:39:42 +02:00
Thomas Citharel 8efb17d78e
Prevent loading group membership status before we get person information
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-28 09:58:36 +02:00
Thomas Citharel 0bc48560e8
Fix group order
Closes #1164

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-28 09:58:36 +02:00
Thomas Citharel 2454fe2aa4
Fix leaving a group
There's still an issue because the call is made twice, but at least it
works

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-26 18:45:47 +02:00
Thomas Citharel 389fa843e3
Improve reports
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-25 19:15:02 +02:00
Thomas Citharel e32611c968
Fix showing past events on group page
Closes #1172

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-25 19:04:38 +02:00
Thomas Citharel a1b439b724
Fix position of the « no events found » message
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-25 10:35:59 +02:00
Thomas Citharel 699465199e
Lint fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 19:30:34 +02:00
Thomas Citharel e4ba0f21ee
Only show one pagination bar when searching in both events & groups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-12 19:19:20 +02:00
Thomas Citharel c23c2bdba6
Lint fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-11 18:45:33 +02:00
Thomas Citharel 528744d765
Improve EventView.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-11 17:48:58 +02:00
Thomas Citharel 9fe816ebcf
Improve CategoriesView
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-11 17:48:37 +02:00
Thomas Citharel ff1fbdfdba
Handle categories page empty and fix attribution section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-11 14:59:13 +02:00
Thomas Citharel e94a537f30
Lint fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-11 14:04:03 +02:00
Thomas Citharel 475820472f
Add the banner picker on event edit page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-11 11:14:57 +02:00
Thomas Citharel 9b3674922e
UI and accessibility fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-11 10:20:41 +02:00
Thomas Citharel 620008ee0d
Fix group location edition
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-05 18:17:11 +02:00
Thomas Citharel fee4f9add8
Fix address selector
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-05 17:54:04 +02:00
Thomas Citharel 456e987af8
Performance improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-10-05 13:18:38 +02:00
Thomas Citharel 1087e19ee5
Enable E2E tests in CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-27 13:43:09 +02:00
Thomas Citharel 6f7d5f649b
Add participant info in event search results
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-26 10:29:58 +02:00
Thomas Citharel 151a7e54ae
Fix lint issues, update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-20 17:06:42 +02:00
Thomas Citharel d97927da13
Small a11y fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-01 10:42:05 +02:00
Thomas Citharel eecb04516e
Add the map in search view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-01 10:00:17 +02:00
Thomas Citharel 48935e2168
Add global search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-28 10:02:06 +02:00
Thomas Citharel 2eee09bf4b
Fix searchview
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-22 13:47:10 +02:00
Thomas Citharel ffac91a027
Remove some useless console.debug calls
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-22 13:46:42 +02:00
Thomas Citharel baac00f678
Improve search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-22 12:12:09 +02:00
Thomas Citharel 6e7359aebf
Homepage cards improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-16 13:59:37 +02:00
Thomas Citharel 754e44f0a5
Various improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-12 16:46:44 +02:00
Thomas Citharel d8cf49e315
Replace $tc( with t(
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-12 16:45:11 +02:00
Thomas Citharel e893f3f089
Use <template #slotName> form instead of v-slot
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-12 16:42:40 +02:00
Thomas Citharel 9d00aff619
Convert all jpg pictures to webp
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-12 16:40:04 +02:00
Thomas Citharel 57c3df43ff
Remove SCSS variables
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-11 19:48:29 +02:00
Thomas Citharel ee20e03cc2
Migrate to Vue 3 and Vite
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-11 16:46:31 +02:00
Thomas Citharel 8f4099ee33
Small fixes to Home.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-17 11:44:51 +02:00
Thomas Citharel ed196d9b84
Fix new eslint reported issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-06-17 10:46:55 +02:00
Lucas Cimon 18d4b73d91
Fixing #1120 - search by eventCategory 2022-05-30 12:30:38 +02:00
Thomas Citharel 63e56b5b24
Remove unused Profile.vue component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-11 12:05:01 +02:00
Thomas Citharel 888d2ef4b8
Expose correct relay address in federation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-06 17:21:11 +02:00
Thomas Citharel aff1959030
Only prevent following non-Mobilizon instances, but allow being followed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-06 16:40:32 +02:00
Thomas Citharel 6eb2b6d31a
Better display of the errors when adding an instance
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-06 14:23:16 +02:00
Thomas Citharel 26cf892758 Revert "Merge branch 'external-events' into 'main'"
This reverts merge request !1223
2022-05-04 07:02:16 +00:00
Luca Eichler 75502e2a4b
Add option to link an external registration provider for events 2022-05-03 15:33:32 +02:00
Thomas Citharel 20542d3b68
Show provider name instead of ID in auth error message
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-02 14:40:17 +02:00
Thomas Citharel c91e8f6bf3
Fix being an administrator when using 3rd-party auth provider
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-28 11:59:24 +02:00
Thomas Citharel 3ce8c142b8
Improve actor cards integration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-22 12:00:47 +02:00
Thomas Citharel e36f8f53ab
Hide address blocks when address has no real data
Closes #1085

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-21 11:54:20 +02:00
Thomas Citharel 0bc7864cb3
Hide the whole metadata block if group has no description
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-20 19:15:06 +02:00
Thomas Citharel 19052ba48b
Improve reactions when approving/rejecting an instance follow
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-20 18:30:16 +02:00
Thomas Citharel 10b92705e8
Improve instance admin view for mobile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-20 16:18:12 +02:00
Thomas Citharel 46c0693829
Allow to reject instance following
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-20 16:18:12 +02:00
Thomas Citharel c216172d44
Fix pagination of group events
Closes #1088

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-20 16:18:11 +02:00
Thomas Citharel 11bde88a02
Add pagination to the instances list
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-20 16:18:09 +02:00
Thomas Citharel eebcd48447
Improve IdentityPicker
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-20 09:03:15 +02:00
Thomas Citharel 5bbb9713d4
Various group and posts improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-20 09:03:15 +02:00
Thomas Citharel 0abb9a13e5
Various group events improvements
Adds a button to show pasts events of a group if no upcoming events are
displayed
q
Closes #690

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-06 19:56:10 +02:00
Thomas Citharel 3f538ccf95
Avoid NavigationDuplicated error after Login
Only redirect on mounted if already logged-in

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-06 14:25:38 +02:00
Thomas Citharel 8e16c64989 Merge branch 'redirect-after-login' into 'main'
Fix redirection after login

Closes #1067

See merge request framasoft/mobilizon!1201
2022-04-04 14:30:48 +00:00
Thomas Citharel 05648fc1f4
Fix redirection after login
Closes #1067

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-04 15:57:44 +02:00
Thomas Citharel 4e3eb33d01
Don't offer to confirm already confirmed user
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-04 15:42:16 +02:00
Thomas Citharel 2e1c284565 Merge branch 'fixes' into 'main'
Make sure every relation of actor is loaded when operating on it

Closes #1049, #1016 et #996

See merge request framasoft/mobilizon!1196
2022-04-01 13:42:33 +00:00
allilengyi a407a56051
Set default event visibility from group privacy setting
Closes #912
2022-04-01 14:41:29 +02:00
Thomas Citharel 7e7eed290f
Handle errors when loading group pictures
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-01 12:08:53 +02:00
Thomas Citharel c0ef41cb71
Fix accessing explore page without config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-01 10:04:22 +02:00
Thomas Citharel 4c9065ce68
Resource fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-31 11:24:22 +02:00
Thomas Citharel 368911b58e
Allow to register custom categories
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-28 20:02:43 +02:00
Thomas Citharel f5bdedf789
Introduce event categories
Closes #1056

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-28 17:42:59 +02:00
Thomas Citharel 91ed13d5c2
Fix first-day-of-week prop in event edition
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-28 13:56:37 +02:00
Thomas Citharel e528984a3a
Show error messages contextually when creating a group
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-24 16:43:36 +01:00
Thomas Citharel 45ce7d52b0
Attribute errors with field property to the correct property
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-24 16:39:44 +01:00
Thomas Citharel 35fb06c345
Pass the date to getTimezoneOffset() so that the DST is accounted for
See https://github.com/marnusw/date-fns-tz#gettimezoneoffset

Closes #1069

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-24 10:01:04 +01:00
setop ed2c5aaeca remove Text when instance is closed to registrations 2022-01-24 15:13:31 +00:00
Thomas Citharel 6e5061250c
Improve admin views (2)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-17 15:53:24 +01:00
Thomas Citharel ca6ef9b06b
Improve admin views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-17 14:49:48 +01:00