Commit Graph

626 Commits

Author SHA1 Message Date
Thomas Citharel
bbc5ba323d
Add pagination to featured events
Closes #811

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 18:08:23 +02:00
Thomas Citharel
5f3d1f89df
Allow to add metadata to an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 16:16:14 +02:00
Thomas Citharel
bfc9dd7ea3
Redirect from Login page to Homepage if already logged-in
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 14:25:36 +02:00
Thomas Citharel
783486a366
Support denying registration based on email or domain
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-08 19:56:33 +02:00
Thomas Citharel
5bcf8a2305
Fix apollo cache bugs with identity creation/edition/deletion
Closes #798

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 16:10:04 +02:00
Thomas Citharel
f3a05929d9
Allow members-restricted posts to be viewable by instance moderators
But add a warning message on top of the post

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 16:10:03 +02:00
setop
7d40a75650
add loading wheel to some slow views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-04 11:23:37 +02:00
Thomas Citharel
549b82c94a
Remove unused getter
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 15:13:30 +02:00
Thomas Citharel
0110124b32
Add an await before a router push when login
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 15:01:22 +02:00
Thomas Citharel
b53d8d54ef
Fix apollo cache issue when registrering first profile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 14:58:42 +02:00
Thomas Citharel
1c9513c073
Remove unused CSS filter on homepage picture
It was ugly on Safari/Webkit

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 20:09:14 +02:00
Thomas Citharel
691f7ab141
Translate reset password error message title
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 19:37:27 +02:00
Thomas Citharel
8c480af4bd
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 18:11:22 +02:00
Thomas Citharel
41f54ef2f3
Fix empty domain tag showing up for remote event from local actor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:51 +02:00
Thomas Citharel
68d3315999
Fix event editing joinMode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:50 +02:00
Thomas Citharel
a3181fd68b
[Front-end] Allow group events to be edited by group moderators
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:19 +02:00
Thomas Citharel
961f08e27f
[Front-end] Allow remote moderators to edit group events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
Thomas Citharel
53dc3f470b
Allow post edition by remote moderator
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
Thomas Citharel
69bc6f0390
Fix FeedToken recreation
Closes #769

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 16:05:31 +02:00
Thomas Citharel
9b6aee0102 Merge branch 'fix-push-notifications-safari' into 'master'
Fix Notifications page broken page on Safari

Closes #772

See merge request framasoft/mobilizon!991
2021-07-21 10:55:45 +00:00
Thomas Citharel
02187b1158
Fix Notifications page broken page on Safari
Closes #772

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 12:11:59 +02:00
Thomas Citharel
64af148c7e
Hide drafts and visibility limited content on group public preview page
Closes #775

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 12:02:14 +02:00
Thomas Citharel
1fe5ff802d
Aria improvements on group page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 10:47:40 +02:00
Thomas Citharel
7ca7c132fb
Add back RSS/ical links on public group pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 10:45:42 +02:00
Thomas Citharel
dc0efe9bac
Fix lodash import
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-01 10:48:37 +02:00
Thomas Citharel
4c5eb58aa7
Fixed profile suspension
Closes #749

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 18:04:01 +02:00
Thomas Citharel
909a1030ef
Fix submission button for posts on mobile
Closes #747

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 17:15:13 +02:00
Thomas Citharel
02931ec0cd
Improve UI for participations when message is too long
Add a button to make the details more discoverable

Closes #452

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 16:17:29 +02:00
Thomas Citharel
47cc3173ac
Cleanup Group.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-30 15:31:17 +02:00
Thomas Citharel
081e87209b
Fix pictures without metadata information in post display
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 18:38:38 +02:00
Thomas Citharel
ea01b50b32
Don't show webpush section if navigator.serviceWorker is undefined
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-29 14:46:28 +02:00
Set Sakrecoer
05cc55ad24 🎨Correct image ratio in admin dashboard. fix #735 2021-06-28 10:23:48 +02:00
Thomas Citharel
333bdabab9
Show a different error message in Notifications if the feature is
disabled

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-28 09:38:35 +02:00
Thomas Citharel
bf44d6d2b3
Fix editing subproperties of an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-27 18:17:24 +02:00
Thomas Citharel
784c607c65
Send activity digests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-26 16:09:02 +02:00
Thomas Citharel
54c23c6673
Better error handler for push notifications subscription
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-24 11:17:30 +02:00
Thomas Citharel
762f917ff7
Homepage improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-18 20:23:44 +02:00
Thomas Citharel
b884d88ac3
Fix crash when group undefined
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 14:47:36 +02:00
Thomas Citharel
c89c6f11e8
Fix text overflow in event metadata with long organizer name
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 12:43:31 +02:00
Thomas Citharel
f8e73ca990
Various group-related improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-16 11:25:53 +02:00
Thomas Citharel
6cc233a6d3
Improve group related UI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-15 17:25:33 +02:00
Thomas Citharel
085679b207
Event little UI fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 16:14:17 +02:00
Thomas Citharel
7c37b10ceb
Fix typo leftover in participation pagination path
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 15:13:18 +02:00
Thomas Citharel
33838974c5
Improve resources display on mobile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 15:13:08 +02:00
Thomas Citharel
24b94d1860
Add pagination to resources
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-14 15:12:38 +02:00
Thomas Citharel
b2ff469ff5
Fix grey text on post page (not enough contrast)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:49:05 +02:00
Thomas Citharel
b53867181f
Various improvements to MyEvents & event cards
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:31:24 +02:00
Thomas Citharel
a7a38c7f69
Cleanup GroupEvents
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:30:28 +02:00
Thomas Citharel
7f61dd0c8e
Set groupId in query params when creating an event from group events
page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 18:29:16 +02:00
Thomas Citharel
1d75ce095a
Fix events creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:08:53 +02:00
Thomas Citharel
160e5fbdae
Fix discussions pagination
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:08:43 +02:00
Thomas Citharel
92a07c1ded
Fix some more a11y issues with grey text
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 15:05:58 +02:00
Thomas Citharel
13763ba7f9
Upgrade vue-apollo to @vue/apollo-option
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-11 14:21:27 +02:00
Thomas Citharel
8e59e2f06b
Event components enhancements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:12 +02:00
Thomas Citharel
74c127b4dc
Fix event creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:10 +02:00
Thomas Citharel
910cae8562
Hide <hr> on home if no elements above
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:10 +02:00
Thomas Citharel
1a0a31255f
Improve the calendar datetime "icon" componenent
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-10 15:18:09 +02:00
Thomas Citharel
51106841ab
Fix Vue unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 20:24:43 +02:00
Thomas Citharel
58bffc5c66
WIP notification settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:25 +02:00
Thomas Citharel
7e1409100f
Allow to leave directly from the group
- Also handle error when you are the last admin
- Also change order from the dropdown menu

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:23 +02:00
Thomas Citharel
6e59c2cb95
i18n updates
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:23 +02:00
Thomas Citharel
0942b518a1
Small js fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:23 +02:00
Thomas Citharel
6353c4f372
Fix missing metainfo on some views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:22 +02:00
Thomas Citharel
a7da5ab269
Improve JWT tokens expiration
- Reduce access tokens TTL to 15 minutes
- Set refresh tokens TTL to 60 days
- Set Guardian.DB to only track refresh tokens
- Remove refresh token when logging out

Closes #710 #705 #706

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:22 +02:00
Thomas Citharel
c9700906f5
Paginate the list of conversations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:20 +02:00
Thomas Citharel
e84492fe4c
Remove useless cloneDeep when loading event to edit
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:20 +02:00
Thomas Citharel
04f902333b
Fix event participation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:19 +02:00
Thomas Citharel
b28402f7a7
Report list fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:19 +02:00
Thomas Citharel
b5a5de5c0c
Event edit and participant fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +02:00
Thomas Citharel
e96dcc42b9
Move to Apollo v3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +02:00
Thomas Citharel
7cb40bd9e2
Notification improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +02:00
Thomas Citharel
d152803547
Import only what we need from lodash
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:15 +02:00
Thomas Citharel
938f698b7a
Add webpush front-end support
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:12 +02:00
Thomas Citharel
3ff7bc4512
WIP vue-cli 5
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:32:07 +02:00
Thomas Citharel
c1fd7d558d
Make sure query is reloded after asking to join a group
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-18 17:56:50 +02:00
Thomas Citharel
0e15abfc26
Lint files with prettier
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-18 17:17:37 +02:00
Thomas Citharel
e25f13582e
fix vue warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-03 14:56:50 +02:00
Thomas Citharel
70ca2d68a6
Improve some translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-28 16:16:46 +02:00
Thomas Citharel
1dc20889da
Fix missing deleted comment moderation logaction
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-28 11:59:15 +02:00
Thomas Citharel
495fbda330
Add pagination to moderation logs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-28 10:27:29 +02:00
Thomas Citharel
fab8ee6f05
Fix organizer metadata overflow
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-26 17:27:27 +02:00
Thomas Citharel
9a65b29640
Rename "Close events" to "Nearby events"
Closes #662

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-20 14:47:19 +02:00
Thomas Citharel
bcf52ccdf7
Expose instance feed config option in the API and show it on About page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-19 12:40:51 +02:00
Thomas Citharel
cd874e1bfc
Fix edit event warning popup size
Imcrease width to 500px and allow to wrap text correctly if even longer

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-19 12:04:52 +02:00
Thomas Citharel
fb821ac455
Update to modern slot syntax
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 18:13:17 +02:00
Thomas Citharel
1fff71ee0e
Allow to remove user location setting
Closes #671

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 17:47:33 +02:00
Thomas Citharel
77200ea587
Add unit tests on Login component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 14:57:03 +02:00
Thomas Citharel
174f52b2ab
Fix participation button position
Closes #676

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-13 16:58:59 +02:00
Thomas Citharel
e2721af456
Refactor picture-upload and take into account picture size limits
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-12 12:01:53 +02:00
Thomas Citharel
569a4b6356
Fix reloading the members list after excluding a member
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-08 09:54:23 +02:00
Thomas Citharel
356f69cef2
Fix accessing a discussion without being a member
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-08 09:54:22 +02:00
Thomas Citharel
69339700cd
Fix event creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 19:26:33 +02:00
Thomas Citharel
da1fee2cc7
Show group feeds for members as well
Closes #646

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 18:08:02 +02:00
Thomas Citharel
0a482d238e
Fix apollo cache not being properly set after picking close city
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 17:26:18 +02:00
Thomas Citharel
fcc3fe746e
Fix number of group followers per page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 17:25:52 +02:00
Thomas Citharel
7a429a6b70 Merge branch 'extra-fixes-privacy' into 'master'
Extra fixes for the privacy page

See merge request framasoft/mobilizon!875
2021-03-29 09:24:22 +00:00
Thomas Citharel
13c8080097
Allow to create an event from a group preconfigured with the organizer
Refactored the organizer-picker components a lot

Close #464

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 10:33:19 +02:00
Thomas Citharel
cde9f8873e
Expose personal tokened feeds
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-26 19:36:48 +01:00
Thomas Citharel
df012f5af7
Extra fixes for the privacy page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-26 19:27:51 +01:00
Thomas Citharel
e6189390ac
Fix creating discussion with title containing only spaces
Also sanitize first comment

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-24 15:47:03 +01:00
Thomas Citharel
7b9910f251
Resources fixes and improvements
- Fix getting page description
- Fix fetching metadata from Twitter (thx @marienfressinaud)
- Improve error handling

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-24 11:07:00 +01:00
Thomas Citharel
346d6438f8
Fix changing changing email and validating new email with bad token
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-23 16:38:37 +01:00
Thomas Citharel
faa92aebd9
Fix and improve group page edition
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-23 16:17:08 +01:00
Thomas Citharel
9f65029b4e
Fix range pluralization
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-17 12:02:12 +01:00
Thomas Citharel
fb7c7c3a0a
Fix typo in range/radius preventing close events from showing up
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-17 10:31:46 +01:00
Thomas Citharel
4ff00e92b6
Fix lasts events published order on the homepage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-16 19:08:00 +01:00
Thomas Citharel
c8e39313ef
Fix location field not showing in preferences if setting not set
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-16 18:51:34 +01:00
Thomas Citharel
f390af3e95
Fix homepage with no location setting
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-16 18:26:49 +01:00
Thomas Citharel
1f926902aa
Add comments under events to activities
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-10 17:40:55 +01:00
Thomas Citharel
d8e4d6c24f
Introduce activity filters
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-09 16:21:12 +01:00
setop
13f33b8393 make search with location bookmarkable (fix #482) using geohash
set a default radius when a location is set, so it does not trigger a worldwide search
reduce pressure on server and view with debonce
2021-03-05 16:19:42 +00:00
Thomas Citharel
03824b898c
Get membership status only for the current group
Closes #575

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-05 11:23:17 +01:00
Thomas Citharel
e125dcc76e
Add a confirmation before conversation deletion
Closes #383

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-04 17:39:50 +01:00
Thomas Citharel
8cbc1e016d
Fix admin languages selection
Closes #515

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-04 15:49:35 +01:00
Thomas Citharel
fba9ff4a62
Refactor user setting
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-04 15:26:30 +01:00
Thomas Citharel
dc9fe0d22b
Add an information for nearby events radius
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-04 15:26:03 +01:00
Thomas Citharel
191be0f8e4
Fix success message when validating group follower
Closes #612

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-02 17:34:28 +01:00
Thomas Citharel
4be8c41b80 Merge branch 'fix-timeline-fetch-policy' into 'master'
Make sure timeline is refreshed when page is accessed

See merge request framasoft/mobilizon!835
2021-03-02 10:30:48 +00:00
Thomas Citharel
511ffa55b4 Merge branch 'disable-geoloc-on-area-selection' into 'master'
Disable geolocation on prefered events area selection

See merge request framasoft/mobilizon!834
2021-03-02 09:50:21 +00:00
Thomas Citharel
9fd1822a05
Make sure timeline is refreshed when page is accessed
Change to fetchPolicy: "cache-and-network"

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-02 10:20:53 +01:00
Thomas Citharel
468c04d24a
Disable geolocation on prefered events area selection
Since we restrict to administrative areas and not full addresses

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-02 10:02:06 +01:00
Thomas Citharel
80bfd3db01
Fix terms with no settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-01 18:29:48 +01:00
Thomas Citharel
a415eeb5d8
Fixup empty timeline issue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-26 19:59:20 +01:00
Thomas Citharel
5e63e54697
Fix activity timeline being empty
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-26 19:55:29 +01:00
Thomas Citharel
78150b77e0
Improve search form display
Closes #557

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-26 16:28:53 +01:00
Thomas Citharel
3fe64a4389
Introduce the group activity section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-26 09:37:06 +01:00
Thomas Citharel
b1cc3868a6
Add user setting to provide location and show events near location on
homepage

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-12 19:10:22 +01:00
Thomas Citharel
6a063cf655
Fix accessing group event unlogged
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-05 15:18:46 +01:00
Thomas Citharel
c41b80301f
Fix redirection after deleting an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-04 17:18:42 +01:00
Thomas Citharel
3d2fafc254
Add an error component
Shows when a rendering error has been triggered, like the one in 5edc402a01

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-03 18:01:53 +01:00
Thomas Citharel
5edc402a01
Fix showing event origin when the event organizer is a group
Related to !806 and #561

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-03 09:38:27 +01:00
Thomas Citharel
166ce52a7f
Fix z-index issue with datepickers on Edit event page
Closes #558

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-25 18:06:50 +01:00
Thomas Citharel
4fbdc94e7c
Fix following groups + Add interface to manage followers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-22 11:52:52 +01:00
Thomas Citharel
e76a270e72
Feed improvements
And show public feed links on the group page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-19 15:30:02 +01:00
Thomas Citharel
9949fdab3b
Properly handle remote interactions
Previously we used instance1 event local URL but now we use the URL
property of an event (so that we don't need to follow the redirection to
the original event)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-15 16:55:58 +01:00
Thomas Citharel
4100fd8705
Fix discussion list page showing empty content when not a member
Introduce the EmptyContent component to display an empty content message

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-14 19:17:12 +01:00
Thomas Citharel
60facf4093
Fix Homepage no promoted events warning
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-14 15:06:26 +01:00
Thomas Citharel
24461be703
Fix events not showing on homepage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-12 16:31:09 +01:00
Thomas Citharel
c2987beb31
Fix group avatar upload
Close #549

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-01-11 18:02:21 +01:00
Thomas Citharel
4f7faf4f4c
Fix leftover
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-17 16:01:18 +01:00
Thomas Citharel
a646d4a40a
Fix unlisted groups being available in search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-17 15:38:03 +01:00
ty kayn
5c57f1ce3c if an event has geo coordinates, add links to routing on OSM, with correct place and zoom of 14, 3 buttons to get routig as car, bike, and by feet.
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-12-17 11:26:25 +01:00
Thomas Citharel
af98045d14
Fix post edit dropping pictures
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-16 09:53:43 +01:00
Thomas Citharel
594d5a91ec
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-14 09:23:29 +01:00
Thomas Citharel
6a52ca0d91
Produce and use webp pictures with different sizes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-11 15:27:04 +01:00
Thomas Citharel
736020392b
Use direct datetime picker from Buefy
Closes #494
Closes #459
Closes #207

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-10 12:16:35 +01:00
Leo Mouyna
5e3eb00708
fix: improve reset password form.
See issue #297
2020-12-10 09:42:27 +01:00
Thomas Citharel
5f3531cc18 Merge branch 'fix-nav-search-field' into 'master'
Fix nav search field

Closes #450

See merge request framasoft/mobilizon!753
2020-12-09 20:08:39 +01:00
Thomas Citharel
fff94580c8
Improve search view
Closes #450

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-09 19:55:46 +01:00
Thomas Citharel
8e722032fb
[GraphQL] Move events endpoint to paginated event list
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-09 19:55:44 +01:00
Thomas Citharel
71854ec7b7
Improve my events / my groups when there's no content
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-09 19:09:31 +01:00
9de04695d9
add suggest create button when there is not any one found on 'my event' page 2020-12-09 18:09:57 +01:00
Thomas Citharel
6c0ee2446a
Group enhancements
And fixes #492

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-09 10:01:37 +01:00
Thomas Citharel
96938a5511
Refactor the participation section for an event
And add a test for this new section

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-04 15:12:41 +01:00
Thomas Citharel
c94e431618
Improve "AboutInstance" page load
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-04 15:12:40 +01:00
Thomas Citharel
cb4b251c77
Simplify event list card with a dropdown, load group attribution and
show identity for participation

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 17:42:08 +01:00
Thomas Citharel
4b021f50e5
Clearer logic whether to show or not the participation button
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 12:35:05 +01:00
Thomas Citharel
a76917b8e1
Fix participation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 12:35:03 +01:00
Thomas Citharel
ac8856f08c
Show draft status on events and posts in group admin
Closes #413

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 09:55:24 +01:00
Thomas Citharel
2d541f2e32
Fix lint issues
And disable eslint when building in prod mode

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-30 12:48:21 +01:00
Thomas Citharel
da42522073
Fix eslint warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-30 12:48:21 +01:00
Thomas Citharel
c9457fe0d3
Track usage of media files and add a job to clean them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-26 17:53:33 +01:00
Thomas Citharel
2ef973000e
Show user and actors media usage in admin
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-23 17:03:27 +01:00
Thomas Citharel
605239130e
Refactor Picture upload
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-23 17:00:39 +01:00
Thomas Citharel
3eacbb2ca3
Improve GraphQL documentation and cleanup API
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-20 11:44:00 +01:00
Thomas Citharel
e6077d0dc3
Forbid creating usernames with uppercase characters
We don't actually enforce anything on the ActivityPub level, only
user-facing interfaces

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-17 19:54:40 +01:00
Thomas Citharel
5d9a36917d
Fix register sentense string
See https://framacolibri.org/t/sinscrire-sur-mobilizon-affiche-au-lieu-du-nom-de-linstance/9838

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-17 10:57:04 +01:00
Thomas Citharel
9b8b17adc8
Rename /deep/ to ::v-deep since we use dart-sass now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-16 10:04:47 +01:00
Thomas Citharel
223512f8ae
Rework onboarding
Close #435

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-13 13:42:13 +01:00
Thomas Citharel
7c11807c14
Allow to join an open group
Also:

* Refactor interacting with a remote event so that you can interact with
  a remote group as well
* Add a setting for group admins to pick between an open and invite-only
  group
* Fix new groups without posts/todos/resources/events/conversations URL
  set
* Repair local groups that haven't got their
  posts/todos/resources/events/conversations URL set
* Add a scheduled job to refresh remote groups every hour
* Add a user setting to pick when to receive notifications when there's
  new members to approve (will be used when this feature is available)
* Fix pagination for members

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-06 15:19:36 +01:00
Thomas Citharel
9540a486ec
Fix About page crashing when instance language is not supported
Use the languages defined by CLDR on server instead, and fallback to
english if not defined

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-02 12:12:55 +01:00
Thomas Citharel
ee2bb950b1
Fix notification settings not displaying as saved
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-02 10:30:28 +01:00
Thomas Citharel
cdf7533fdc
Fix login provider custom name not showing up on login page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-29 10:24:39 +01:00
Thomas Citharel
67b906cc96
Fix language change
- Load the language files correctly when language is changed
- Save user language in localstorage so that we can have it even if disconnected (but still load it from user settings eventually since
user might be on a different device)
- Load all locales from Cldr with Gettext
- Fix pt-PT -> pt-BR
- Clean some obsolete config.exs comments

Later changes will allow to set the language without an account
https://framagit.org/framasoft/mobilizon/-/issues/375

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-28 19:57:57 +01:00
Thomas Citharel
399c3ec945 Merge branch 'fix-instance-cgu-selector' into 'master'
Fix instance custom privacy policy not applying

See merge request framasoft/mobilizon!663
2020-10-27 17:58:15 +01:00
Thomas Citharel
0898d91cc3
Fix instance custom privacy policy not applying
And update links to default terms & privacy policies

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-27 17:41:28 +01:00
Thomas Citharel
5eb746ffca Merge branch 'fix-followings-pagination' into 'master'
Fix followings/followers pagination

See merge request framasoft/mobilizon!657
2020-10-27 16:38:33 +01:00
Marcin Mikolajczak
1a20a24301
Make 'Federated Group Name' explanation text clearer 2020-10-27 16:33:42 +01:00
Marcin Mikolajczak
efbe560202
Franglais to English ;) 2020-10-27 16:33:23 +01:00
Thomas Citharel
bf0ec150cd
Fix followings/followers pagination
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-27 09:13:17 +01:00
Thomas Citharel
47f14754e0
Remove about mobilizon page and add link to mobilizon.org
Remove all other refrences to mobilizon.org / test.mobilizon.org

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-26 11:38:45 +01:00
Thomas Citharel
87ee0e156c
Improve group public page display when there's no description/events/posts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-26 09:48:25 +01:00
Thomas Citharel
0be3e0c9fa
Improve avatar selection on edit identity
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-25 12:01:50 +01:00
Thomas Citharel
613ac1203b
Fix a few typescript issues in Interact.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-24 17:32:27 +02:00
Thomas Citharel
2ce5f8e66c
Improve group dashboard for members without moderator rights
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 10:48:49 +02:00
Thomas Citharel
e754e1172a
Disable updating/deleting group posts and discussions for non-moderators
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 09:37:30 +02:00
Thomas Citharel
0523388560
Improve create discussion page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-22 08:40:17 +02:00
Thomas Citharel
fa7cd7e0e3
New unlogged homepage
With fancy illustrations 

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 17:49:18 +02:00
Thomas Citharel
ae027b4e39
Fix GraphQL cache errors because of missing id on some queries
Also moves some queries to cache-and-network policy and improve
typescript a bit

Closes #387

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 12:14:53 +02:00
Thomas Citharel
a40c9fd4b5
Handle timezone not found in preferences
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-21 09:04:43 +02:00
Thomas Citharel
28887722dc
Add picture to 404 page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 13:29:27 +02:00
Thomas Citharel
fb8e94c4e3
Show languages on instance about
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 10:36:43 +02:00
Thomas Citharel
23dcb47ce5
Make sure only group moderators can update/delete events, posts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:58:17 +02:00
Thomas Citharel
4e02885692
Add title information to post list page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:44:02 +02:00
Thomas Citharel
31bc2f7c10
Fix redirection after deleting a post
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 09:44:00 +02:00
Thomas Citharel
8c9546ff2a
Improve member management
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 14:24:51 +02:00
Thomas Citharel
f6480cb37e
Improve dashboard
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 11:04:05 +02:00
Thomas Citharel
dacec2672b
Fix error message always showed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 19:10:57 +02:00
Thomas Citharel
a9c8875f49
Fix title level on homepage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 18:57:05 +02:00
Thomas Citharel
f96510a0b2
Couple of i18n and homepage fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 12:43:52 +02:00