Commit Graph

38 Commits

Author SHA1 Message Date
Thomas Citharel 1daa8c5f5a
Add a breadcrumbs component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-01-17 14:49:47 +01:00
Thomas Citharel 5c7067b22b
Send notification emails to followers and members when a group publishes
a new event

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 16:36:32 +01:00
Thomas Citharel 39ea05a04a
Add mixins to handle RTL languages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-04 18:38:47 +01: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 291a788438
Various accessibility improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-08 10:04:06 +02:00
Thomas Citharel d36f1d4b5e
Refactor notification view to disable push column when push is not
currently possible

Closes #821

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-07 17:46:28 +02:00
Thomas Citharel 34a6144c3a
Handle service worker registration with Firefox « forget all site data »
When the Firefox setting « Delete cookies and site data when Firefox is
closed », we can't register the service worker and then webpush
notification can't work

Closes #819

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-11 11:31:50 +02: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 dc0efe9bac
Fix lodash import
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-01 10:48:37 +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
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 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 58bffc5c66
WIP notification settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:25 +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 7cb40bd9e2
Notification improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:18 +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 0e15abfc26
Lint files with prettier
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-18 17:17:37 +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 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 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 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 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 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 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 9b0b753064
Run Prettier with updated version
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-27 15:41:48 +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 6797075461
Fix settings menu
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-25 12:30:29 +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 260b9592f5
Improve notification settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-16 16:15:38 +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 3e74f59ee8
Send Notifications when participation approval
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-08 13:59:27 +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
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