Commit Graph

19 Commits

Author SHA1 Message Date
Thomas Citharel
db6f88c0a0
Save timezone to current timezone if no timezone is set
The preferences showed the detected timezone as the selected timezone if no timezone was null. Now we force set it in that case.

Closes #815

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-20 16:52:32 +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
1fff71ee0e
Allow to remove user location setting
Closes #671

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-04-16 17:47:33 +02:00
Thomas Citharel
0a482d238e
Fix apollo cache not being properly set after picking close city
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-29 17:26:18 +02:00
Thomas Citharel
c8e39313ef
Fix location field not showing in preferences if setting not set
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-16 18:51:34 +01:00
Thomas Citharel
fba9ff4a62
Refactor user setting
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-04 15:26:30 +01:00
Thomas Citharel
dc9fe0d22b
Add an information for nearby events radius
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-04 15:26:03 +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
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
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
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
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
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
5cb3f478ae
Allow to change language
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-16 18:00:27 +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