1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-12 09:04:14 +02:00
focalboard/mac/Focalboard
Johannes Marbach b6d32da68c
[GH-314] Export native app user settings on change (#380)
* [GH-314] Export native app user settings on change

This switches from exporting the native app user settings on window close to exporting
on settings change. This way the settings export remains independent of native application
life-cycle events.

This is a stop-gap towards enabling settings export on the native Linux app. The latter
does not have an easy way to catch window close events.

Relates to: #314

* Disable no-shadow rule to prevent false-positive

* Verify allowed localStorage keys

* Fix import order/spacing

* Treat JSON parsing errors as failed import

* Read known keys from the correct type 🤦

* Extend logging with imported keys and always include _current_ user settings

* Fixing eslint

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-15 12:51:19 +02:00
..
Assets.xcassets Fix #70: Add background to Mac icon 2021-03-11 10:06:55 -08:00
Base.lproj Update to v0.8.0 2021-07-09 09:36:57 -07:00
AppDelegate.swift [GH-443] Create new window when reopening without existing windows (#451) 2021-06-04 14:07:50 -07:00
AutoSaveWindowController.swift Mac: Product name 2021-01-26 10:32:36 -08:00
Focalboard.entitlements Update Mac entitlements 2021-03-10 10:12:17 -08:00
Globals.swift Update to v0.8.0 2021-07-09 09:36:57 -07:00
Info.plist Update version to v0.9.0 2021-08-06 10:37:28 -07:00
Inherit.entitlements Mac: Product name 2021-01-26 10:32:36 -08:00
PortUtils.swift Fix #109: Use free port on Mac 2021-04-01 08:15:06 -07:00
ViewController.swift [GH-314] Export native app user settings on change (#380) 2021-08-15 12:51:19 +02:00
WhatsNewViewController.swift Mac: What's new window 2021-04-12 14:02:22 -07:00