Commit Graph

558 Commits

Author SHA1 Message Date
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
Tykayn 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
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 92bff34df8
Fix AccountSettings for 3rd-party auth
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-13 15:05:32 +02:00
Thomas Citharel 1d82b29d61
Improve UI on home & register pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-12 08:50:51 +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 9430f1145f
Fix profiles not administrators able to edit a group
Related to #385

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 16:09:44 +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 586d8c440d
Add languages to admin settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 16:38:24 +02:00
Thomas Citharel 02eac30c9b
Expose more statistics
* differenciate local & all events/comments/groups
* add instance follows/followings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-07 10:52:29 +02:00
Thomas Citharel 375e6d2bef
[Groups] Allow to promote/demote to moderator
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-06 15:38:53 +02:00
Thomas Citharel 27a75cd0df
Improve some texts on account registration and email notification
settings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-06 15:36:19 +02:00
Thomas Citharel 641abfd696
Improve profile registration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-06 09:54:07 +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 afb7d75307
Fix invitations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-02 16:19:31 +02:00
Thomas Citharel 5c11bef368
Better handle group invitation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-02 10:46:58 +02:00
Thomas Citharel d41aa3b2fd
Disallow accessing identity page when logged in
And disallow calls to fetchPerson when not our own profile or unlogged

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-02 09:53:32 +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
spf 7b6bc26212
Little typo 2020-10-01 15:58:37 +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 a600720062
Add local groups as statistics
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-30 10:42:19 +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 4e6c37bb75
Fix some CSS issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-22 12:20:19 +02:00
Thomas Citharel 9b5894866c
Fix number of events per paginated search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-22 12:00:16 +02:00
Thomas Citharel d334f8237f
Add pagination to search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-22 11:45:54 +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 952e592e2c
Show group address in group metadata
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-02 10:57:19 +02:00
Thomas Citharel aa7d919c98
Show user connection IP and date in admin
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-31 16:57:13 +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 4782221ef4
Allow to update a member role
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-20 10:54:58 +02:00
Thomas Citharel 2ea6286d3f
Fix account suspension
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-18 17:21:58 +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 156eba0551
Improve member adding and excluding flow
Allow to exclude a member

Send emails to the member when it's excluded

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-18 14:37:31 +02:00
Thomas Citharel 55003c73ab
Improve group view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-11 14:46:58 +02:00
Thomas Citharel 727814c6a7
Add address to public group page and handle empty collections
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-11 11:45:21 +02:00
Thomas Citharel 4b6f698b77
Don't show the delete post button when creating a new post
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-11 11:44:07 +02:00
Thomas Citharel 1ed83e463b
Bring back tag search
Closes #369

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-10 18:54:25 +02:00
Thomas Citharel 3c077c59ad
Allow to search groups by location
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-10 15:40:24 +02:00
Thomas Citharel 3bae65374f
Add group search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-10 15:40:23 +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 2198b2cb87
Allow to filter search by multiple tags
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-10 15:40:19 +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 44c84ab665
Register on %instanceName%, not Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-31 11:08:03 +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 ed02ee4e49 Merge branch 'fix-search-result-on-mobile' into 'master'
Fix search results width on mobile

See merge request framasoft/mobilizon!509
2020-07-06 18:58:56 +02:00
Thomas Citharel f90aa92ebb Merge branch 'fix-my-events-pagination' into 'master'
Fix MyEvents pagination

See merge request framasoft/mobilizon!508
2020-07-06 18:46:31 +02:00
Thomas Citharel 7167d64e1c
Fix search results width on mobile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-06 18:36:51 +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 69841cbb45
Fix 3rd-party auth issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-06 17:33:40 +02:00
Thomas Citharel 9a080c1f10
Introduce support for 3rd-party auth (OAuth2 & LDAP)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-06 15:42:59 +02:00
Thomas Citharel c3f73f4f87
Rename conversation strings to discussion
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-26 12:08:07 +02:00
Thomas Citharel 39c03301c9
Allow to properly move group resources
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-26 11:48:05 +02:00
Thomas Citharel 04f037a20b
Fix event deletion from homepage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-25 14:09:01 +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 6797075461
Fix settings menu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-25 12:30:29 +02:00
Thomas Citharel 703de9c638
Improve color palette
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-24 10:05:22 +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 e856566361
Improve public comments display
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-23 17:20:09 +02:00
Thomas Citharel 4d216f2406
Add content formatting on instance long description
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-23 11:14:07 +02:00
Thomas Citharel a5ccb79a51
Fix settings menu allowing showing everything for everyone
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-23 10:35:16 +02:00
Thomas Citharel f5241954bd
Improve Terms of Service
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-23 10:35:15 +02:00
Thomas Citharel de2a4746f8
UI fixes for moderation section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-18 16:57:11 +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 0658651d7f
Login UI improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-18 16:01:14 +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 8676582080
Fixup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-17 16:45:52 +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 5cb3f478ae
Allow to change language
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-16 18:00:27 +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 260b9592f5
Improve notification settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-16 16:15:38 +02:00
Thomas Citharel ba08d2d515
Improve popovers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-16 12:03:54 +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 47297127a2
Improve comment section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-15 16:50:01 +02:00
Thomas Citharel 97197e3811
Improve registration page and add a rules option
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-15 11:01:49 +02:00
Thomas Citharel beb35a09c6
Introduce basic user and profile management
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-12 19:16:40 +02:00
Thomas Citharel da4ea84baf
Multiple fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-11 11:45:52 +02:00
Thomas Citharel 6094e90f28
Add onboarding settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-11 11:06:24 +02:00
Thomas Citharel ff5e27b0a0
Fix admin settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-09 17:41:08 +02:00
Thomas Citharel dd1a44b7f4
Improve about page
And make string translatable

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-09 15:59:13 +02:00
Thomas Citharel fcd1436caf
Make the report logs translatable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-09 14:55:48 +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 d93dd1a654
Remove oh_no.jpg 404 pic
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-08 14:38:48 +02:00
Thomas Citharel 3e74f59ee8
Send Notifications when participation approval
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-08 13:59:27 +02:00
Thomas Citharel 86e43c259e Merge branch 'move-event-updates-disabled-checkbox-to-text' into 'master'
Move event update disabled checkbox to text

See merge request framasoft/mobilizon!443
2020-06-05 16:07:32 +02:00
Thomas Citharel 0ee2fad7c7
Move event update disabled checkbox to text
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-05 15:37:45 +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 299b686612
Add a proper setting menu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-03-12 14:29:21 +01: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 9f007da286
Allow to edit account email and delete account
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-13 16:21:26 +01:00
Thomas Citharel f4496ccc6d
Fix search with URL fetching twice
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-07 17:04:03 +01:00
Thomas Citharel d0541e3741
Hide promoted events on overview only if we already have them through
participations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-07 16:13:29 +01:00
Thomas Citharel 2ed9050a90
Add anonymous and remote participations 2020-01-29 17:28:11 +01:00
Thomas Citharel ebb39aab63
Fix an issue on My Account page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 19:32:48 +01:00
Thomas Citharel 4a8fb41fd1
Show Mastodon relay subscribers as instances in admin panel
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 17:10:37 +01:00
Thomas Citharel d552fcb2d3
Add a config option to whitelist users registration
Through whole email or domain email

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 12:09:24 +01:00
Thomas Citharel 4da3fb946b
Update demo warning message
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 09:20:40 +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 60e95a6e36 Merge branch '298-fix-clear-errors-resend-password-page' into 'master'
fix: Clear errors on resend password page.

Closes #298

See merge request framasoft/mobilizon!342
2019-12-15 22:22:08 +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
Leo Mouyna b731f0e030 fix: Clear errors on resend password page.
Only add a new error if it's not in the list yet, and remove error from list when message is closed.

See issue: #298
2019-12-09 21:38:29 +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 a53100ef6e
Added a demo mode to show or hide instance warnings that data is deleted
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-21 16:07:43 +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 3cc2e125ee
Close #311 and refactor identity edition pages with a mixin
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-18 18:56:28 +01:00
Thomas Citharel f35698005a
Fix #232 and #230
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-18 18:56:28 +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 08dab070e7
Handle update identity with bad identity username
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:02 +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 f6ff3e586a
Warn on login that everything is deleted regularily
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 15:07:41 +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
Thomas Citharel de9b26df2d
Translate them and handle difference between user not found and user not
confirmed

Closes #212

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 17:07:49 +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
Damien b98a86184b (Hopefully) improve grammar
[CI skip]
2019-10-15 21:38:49 +02:00
Thomas Citharel eef8ba516d Merge branch 'bug/fix-description-even-lists-margin' into 'master'
Fix event description lists margin

See merge request framasoft/mobilizon!269
2019-10-15 17:54:46 +02:00
Thomas Citharel 3c635ce4b4
Fix Cypress tests and add a different welcome message when coming from
registration

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-15 17:33:02 +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 cad508a9bb
Make sure welcome back only shows once and improve margins
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 14:25:08 +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 ed46a0917f
Improve registration page sentences
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-14 12:23:17 +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 14369e61e9
Fix test and handle errors better
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-13 17:03:48 +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 2577a2a27b Merge branch 'test/add-cypress-on-event-creation' into 'master'
Add e2e seed and test event creation

See merge request framasoft/mobilizon!254
2019-10-12 19:47:19 +02:00
Thomas Citharel 2af2f72d2f Merge branch 'improve-image-picker' into 'master'
Improve avatar picker

See merge request framasoft/mobilizon!257
2019-10-12 19:36:34 +02:00
Thomas Citharel 5e75daa732
Add e2e seed and test event creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 19:34:16 +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 6862d34965
Improve username generator (handle unicode conversion properly)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-12 18:14:09 +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