Commit Graph

89 Commits

Author SHA1 Message Date
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 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 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 3fb0265d2d
Refresh loggeduser information before the final step of onboarding
Otherwise we endup in a loop

Closes #964

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-29 10:39:20 +01:00
Thomas Citharel 2032586352
Show the warning about casing on the login screen as well
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-16 11:44:13 +01:00
Thomas Citharel 19794bde23
Mention following groups on the registration page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-16 11:40:22 +01:00
Thomas Citharel d291a83cc9
Warn when registering with email containing uppercase characters
Closes #884 and #803

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-16 11:38:17 +01:00
Thomas Citharel d89c0fc414
Make sure some action pages don't get indexed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-03 10:14:44 +01:00
Thomas Citharel 8eddc2cf88
Fix welcome stepper after validating account
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-20 17:31:07 +02:00
Thomas Citharel eba3c70c9b
Various accessibility improvements
* Add announcement element with `aria-live`
* Add skip to main content element

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 17:37:16 +02:00
Thomas Citharel dc52cd042b
Fix a typescript issue with catch variable type
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-29 18:20:33 +02:00
Thomas Citharel 0cb43515bc
Fix language and redirection issues when connecting from 3rd-party
Closes #626

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 19:29:15 +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 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 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 51106841ab
Fix Vue unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 20:24:43 +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 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 3fe64a4389
Introduce the group activity section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-02-26 09:37:06 +01:00
Leo Mouyna 5e3eb00708
fix: improve reset password form.
See issue #297
2020-12-10 09:42:27 +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 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 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 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 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 1d82b29d61
Improve UI on home & register pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-12 08:50:51 +02:00
spf 7b6bc26212
Little typo 2020-10-01 15:58:37 +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 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 49a5725da3
Improve and activate groups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-09-29 10:25:00 +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 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 44c84ab665
Register on %instanceName%, not Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-07-31 11:08: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 0658651d7f
Login UI improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-18 16:01:14 +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 6094e90f28
Add onboarding settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-11 11:06:24 +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 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 2ed9050a90
Add anonymous and remote participations 2020-01-29 17:28:11 +01:00