Commit Graph

239 Commits

Author SHA1 Message Date
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
Thomas Citharel
bd581d896e
Comments improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 18:53:42 +02:00
Thomas Citharel
32ff3cb69b
Fix merge locales issue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-01 16:13:07 +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
9ceda224d3
Ask to save anonymous participation in browser after email confirmation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-30 10:39:46 +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
4ac7ed7e0e
Improve method signatures
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-22 10:37:16 +02:00