Commit Graph

218 Commits

Author SHA1 Message Date
eight
6c4f73a49a Add: login button to generate the access token interactively 2019-10-21 02:34:08 +08:00
eight
fca75ce207 Fix: don't call revoke() if token is undefined 2019-10-21 02:26:54 +08:00
eight
003fbead0c Fix: only auth user on 401 error, don't display login window without user interaction 2019-10-21 01:53:26 +08:00
eight
5a2cb918d7 Fix: don't schedule a sync on db changed if not connected 2019-10-17 01:13:24 +08:00
eight
cb8fc0e75b Fix: arguments sent to sync.put is wrong 2019-10-16 16:34:03 +08:00
eight
8fc44f76aa Fix: Google only generates one refresh token for one user by default 2019-10-12 23:37:36 +08:00
eight
acd23d7162 Add: revoke dropbox token 2019-10-12 23:19:52 +08:00
eight
0d3f0540ed Change: try to revoke the token when log out 2019-10-12 23:12:05 +08:00
eight
fb7a4a78b3 Fix: fromPref is not used 2019-10-12 21:17:48 +08:00
eight
cecadcdf3e Add: microsoft client secret 2019-10-12 19:54:39 +08:00
eight
a9a5baace9 Add: subtract expire with a latency 2019-10-12 19:51:44 +08:00
eight
49e8ef079e Change: switch microsoft to code flow 2019-10-12 18:48:46 +08:00
eight
56242313d5 Add: implement refresh token 2019-10-12 18:32:29 +08:00
eight
785dcfb619 Don't stop the sync if the first sync is not triggered by the user 2019-10-12 18:15:15 +08:00
eight
6ef85820f1 Change: only modify pref if the initialization success? 2019-10-12 18:05:46 +08:00
eight
809b6ff2fb Bump dependencies 2019-10-12 17:47:52 +08:00
eight
90f01aae5c Change: switch google to code flow 2019-10-12 17:44:08 +08:00
eight
73dc6c77a6 Fix: expire time is incorrect 2019-10-09 23:47:42 +08:00
eight
05647a3922 Fix: token is not reused 2019-10-09 16:34:59 +08:00
eight
8bc1c953e5 Add: google and onedrive 2019-10-09 16:15:42 +08:00
eight
d88bd092e1 Change: show loaded and total 2019-10-04 19:46:56 +08:00
eight
a590d894a9 Add: include progress in sync status 2019-10-03 18:10:11 +08:00
eight
274c6a75ba Add: schedule a faster sync when db changed 2019-10-02 13:39:01 +08:00
eight
0a5e51be36 Add: show current status in the UI 2019-10-01 20:45:05 +08:00
eight
93698e728b Change: manage sync status in background 2019-10-01 20:26:22 +08:00
eight
f6567eef12 Fix: handle prefs change 2019-10-01 19:39:03 +08:00
eight
646c16b7f9 Add: sync options to options page 2019-09-30 18:20:52 +08:00
eight
8f4588b247 Fix: then -> catch 2019-09-30 16:26:40 +08:00
eight
ee6d2b805d Add: handle 401 error 2019-09-30 16:20:10 +08:00
eight
1d18a06e91 Fix: handle 401 error 2019-09-30 16:03:23 +08:00
eight
f16ba4c401 Add: syncNow 2019-09-28 02:28:48 +08:00
eight
0f2de4d989 Fix: move cleanup to stop function 2019-09-28 00:44:19 +08:00
eight
58949a143d Fix: minor 2019-09-28 00:23:34 +08:00
eight
b4f0ca1549 Add: token flow 2019-09-28 00:07:58 +08:00
eight
bd6dd4b917 Change: log entire body for http error 2019-09-27 13:44:31 +08:00
eight
c2646c7c1a Add: tokenManager 2019-09-27 00:40:32 +08:00
eight
edb531026c Add: sync.js 2019-09-26 23:41:48 +08:00
eight
1fa223c46d Add: a second index uuid, push changes to sync controller 2019-09-26 21:39:45 +08:00
Rob Garrison
277e56ea44 Fix linting issues 2019-09-11 06:56:19 -05:00
eight
c61806974f Fix: db initializing error, polyfill localStorage/sessionStorage (#616)
* Fix: make sure all errors are caught when initializing

* Fix: polyfill localStorage and sessionStorage
2019-06-20 15:35:41 -04:00
narcolepticinsomniac
514fa3204f
Simplify exclusions (#724)
* Change: exclusion should match urlWithoutParams

Revert to eight04's initial two commits in #681 which make exclusion toggles domain and singular URLs only, plus reincorporate the js menu height calculation.

* Change: drop excludeStyleByUrlRedundant plus menu height

* menu item text

* Make exclusion rules work like match pattern and handle invalid URLs

* Exclude rules in tooltips

* Remove leftover code

* Cross-browser overflow consistency
2019-06-11 10:44:32 -04:00
eight
0d6c2bdb42 Fix: onAlarms is registered multiple times (#702) 2019-06-01 05:11:22 -04:00
Rob Garrison
8906cbbb1a
Prevent importing styles with no section. Fixes #687 (#697)
* Prevent importing styles with no section. Fixes #687

And prevent issues with existing styles with no section

* Revert sections checks for empty array

* Add styleJSONseemsValid function

* Clean up

* Fix eslint nags
2019-04-16 07:32:06 -05:00
Rob Garrison
744bf01147
Firefox allow CSP UserCSS install from anywhere. See #618 (#623)
* Firefox allow CSP UserCSS install from anywhere. See #618

* Fix suffix extension
2019-03-03 20:42:03 -06:00
eight
cdc7f98150 Add: user-frendly exclusions (#666)
* WIP: popup UI

* Fix: use simple menu toggle

* Add: inclusion/exclusion API

* Add: hook exclusion UI

* Fix: minor

* Fix: don't self-edit

* Icons and accessibility

* Icons and accessibility

* Fix: disable redundant exclude-by-url checkbox

* Disabled cursor and delete leftover code

* Generic menu button tooltip and tweak menu item cursors

* Generic menu button tooltip and tweak menu item cursors

* Generic menu button tooltip and tweak menu item cursors
2019-03-03 16:54:37 -06:00
eight
1ff34fc449 Fix: return true in icon API (#669) 2019-03-03 08:29:26 -06:00
Rob Garrison
0bd738b49f Set updateDate on editSave. Closes #663 2019-02-02 07:01:08 -06:00
eight
ad5c56c774 Fix: handle editDeleteText message (#635) 2019-01-02 07:46:51 -06:00
eight
f5db0a5ab0 Refactor: pull out content-scripts.js (#625) 2018-12-30 18:01:54 -06:00
eight
52b7742a45 Change: don't wait when broadcasting messages (#622) 2018-12-26 06:51:21 -06:00