Commit Graph

247 Commits

Author SHA1 Message Date
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
8dc5b8a4b0
Fix lint issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-14 10:21:04 +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
Thomas Citharel
080432dbe5 Merge branch 'trim-federation-add-instance' into 'master'
 trim new relay address string to fix copy and paste domain name spaces and tabs #537

Closes #537

See merge request framasoft/mobilizon!752
2020-12-10 09:05:08 +01:00
44d597a118 trim new relay address string to fix copy and paste domain name spaces and tabs #537 2020-12-09 15:34:49 +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
d35ccff5a1
Add tests for participation without account
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-07 15:55:49 +01:00
Thomas Citharel
4ea484ea14
Update locale files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-04 16:53:55 +01:00
Thomas Citharel
ee849e55c1
Improve participation section and test
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-04 16:44: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
b4229e2e09
Fix logo component
Directly inline the svg source

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-04 15:12:39 +01:00
Thomas Citharel
d9cc9f5842
Improve the message when loading comments below event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-04 15:07:27 +01:00
Thomas Citharel
10826650e7
Fix participation without account
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-04 09:40:57 +01:00
Thomas Citharel
d88427f816
Added new vue components tested
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-03 17:22:05 +01:00
Thomas Citharel
2f25fa0ca6
Introduce basic js unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-02 12:08:32 +01:00
Thomas Citharel
4e27d04569
Handle tags on eventlistcard properly
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 17:42:09 +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
f642113070
Show identity for each membership in MyGroups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 16:14:53 +01:00
Thomas Citharel
9683df9040
Show cancelled status on cancelled events
Closes #478

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-01 12:35:02 +01:00
Thomas Citharel
005fb90556
Allow to pick language unlogged and format fallback messages
Closes #479

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-30 18:14:50 +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
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
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
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
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
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
0b299497c5
Use footer pictures
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 13:29:27 +02:00
Thomas Citharel
d7c0cc158b
Remove undraw picture on comments and let the organiser know they are
the only profile that can comment if it's set in the event settings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-20 10:59:56 +02:00
Thomas Citharel
3d963cf3bc
Handle nothing found for reverse geocode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-15 16:48:11 +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
bb6e7070bd
Fix typo in translation string
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 09:46:34 +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
273777c5ec
Remove bulma placeholders
Close #391

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-10 17:13:59 +02:00
Thomas Citharel
dad9623482
Make sure only proper pictures are uploaded
Closes #384

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-09 19:29:12 +02:00
Thomas Citharel
ebaa9154ee
Put back removed confirmation crypto call
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-08 08:19:44 +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
8eca9d9702
Make sure only organizer actor can comment if event comments are
disabled

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-05 17:42:53 +02:00
setop
4e8d9ec1e8
restore locate me button in search form 2020-10-05 10:48:00 +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
56d33214f1
Improve Typescript support for ActorAutoComplete component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-02 10:47:12 +02:00