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
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
Focalboard.entitlements
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
PortUtils.swift
ViewController.swift [GH-314] Export native app user settings on change (#380) 2021-08-15 12:51:19 +02:00
WhatsNewViewController.swift