Commit Graph

2652 Commits

Author SHA1 Message Date
eight
91d38e4f66 Don't use minified version since it is hard to debug 2019-10-09 18:59:54 +08:00
eight
86180ccfea Bump dependencies 2019-10-09 16:56:43 +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
d65b7b0700 Fix: syncTarget is undefined 2019-10-04 19:52:42 +08:00
eight
d88bd092e1 Change: show loaded and total 2019-10-04 19:46:56 +08:00
eight
1b02c5b85b Bump dependencies 2019-10-04 19:41:26 +08:00
eight
f32c68bbed Show status text only 2019-10-03 18:36:57 +08:00
eight
484c7e3e1e Add: more detail status 2019-10-03 18:16:08 +08:00
eight
a590d894a9 Add: include progress in sync status 2019-10-03 18:10:11 +08:00
eight
3196c621c5 Update dependencies 2019-10-03 18:05:02 +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
938757b782 Fix: manage complex state 2019-09-30 20:06:16 +08:00
eight
e257ff2985 Fix: return promise in prefs.set 2019-09-30 18:56:26 +08:00
eight
67cad1176c Add: update selector state 2019-09-30 18:37:10 +08:00
eight
50a734910b Add: disble selector if connected 2019-09-30 18:36:08 +08:00
eight
a051e21ce4 Change: make prefs.set return a promise 2019-09-30 18:35:35 +08:00
eight
4666fe493a Update db-to-cloud 2019-09-30 18:22:54 +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
61bdb20203 Update dependencies 2019-09-30 15:56:22 +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
eight
be39c17edd Add key 2019-09-24 18:06:58 +08:00
Rob Garrison
d8c2cd449e Meta: Update dependencies 2019-09-11 07:19:00 -05:00
Rob Garrison
03959ffcc8 1.5.6 2019-09-11 07:05:39 -05:00
Rob Garrison
277e56ea44 Fix linting issues 2019-09-11 06:56:19 -05:00
eight
f4b1ea8a90 Change: check style.sheet instead of getComputedStyle (#779) 2019-09-11 03:32:34 -04:00
Roger
da9178096b Add primary header to README and replace HTML with markdown equivalent (#765) 2019-09-09 01:00:41 -04:00
eight
450984abf3 Fix: don't assign undefined to style object (#764) 2019-09-09 00:48:44 -04:00
eight
34dfd83056 Change: a better way to defer page script injection, switch to inline script (#766)
* Revert "Revert defer page script injection (#758)"

This reverts commit 7d52326eb7.

* Add: store style count in sessionStorage

* Change: use localStorage instead of sessionStorage

* Update web-ext

* Fix: page script doesn't work in XML

* Fix: promise never returns if the script is rejected

* Change: disable page script preload

* Drop: stylusStyleCount
2019-09-09 00:45:08 -04:00
eight
a7445011a9 Enhance: faster msg.sendBg (#774) 2019-09-09 00:40:07 -04:00
Rob Garrison
0e9d5ce08c 1.5.5 2019-08-07 21:20:10 -05:00
narcolepticinsomniac
793dc20722
linter and compact layout improvements (#749)
* linter and compact layout improvements

Closes #748

While investigating the best way to fix linter scrolling, when I double-checked the compact layout, an old bug I meant to fix a long time ago was immediately apparent. Basically, the linter adds/removes errors as you type, causing the editor to bounce up and down, making it practically unusable. 

This PR fixes scrolling, and also collapses options and the linter in the compact layout, but always shows the collapsed linter so you're aware of the error count without the content jumping. It also collapses options in the non-compact layout if the viewport is too short to accommodate them, factoring in the min-height of the linter. All automatic collapsing factors in whether a linter is active so they can adjust accordingly, and disables the setting of collapsed state prefs, since we're deciding the pref anyway, and this allows for re-expanding on resize based on the previous pref.

It's quite possible I failed to account for certain scenarios, so try to break it. Also think it's problematic for the linter to not always be visible if enabled, so I hooked up a 40px fixed header on scroll with just the linter in it for the compact layout.

A few other little details are included. I removed redundant line and column numbers spelled out at the end of lint messages to prevent horizontal overflow. I noticed that the expand/collapse prefs do not toggle correctly when clicking directly on the details-marker arrow. Simplest solution was covering them with the `h2` (we may wanna hook up the manager as well). Also, unrelated, but I switched to opacity to hide resizing sectioned editors, because `visibility: hidden;` breaks editor auto-focus.

If either of you guys wanna fix any bugs, or improve any code, feel free to just commit to this PR directly.

* linter and compact layout improvements

* linter and compact layout improvements

* No usercss scroll listener and delay header check

* Some code tweaks
2019-08-04 13:09:50 -04:00
narcolepticinsomniac
7d52326eb7
Revert defer page script injection (#758)
Closes #756

I edited this a couple days ago, so let's double check the diff and make sure I didn't screw anything up.
2019-08-04 13:04:02 -04:00
narcolepticinsomniac
00c2455b07
Slightly wider menu button 2019-07-22 02:31:11 -04:00
tophf
7206f4cd9e Fix colorpicker (#745)
* process CM5.48+ new token for color functions

* restore scientific number notation support in colors

rgba(1.5E2 0 0 / .5e2%)
2019-07-14 20:16:53 -04:00
Rob Garrison
c2e83fb3c4 1.5.4 2019-07-08 07:07:31 -05:00
Rob Garrison
b7b6ed2ff5 Update vendor libraries
Codemirror & Dropbox sdk
2019-07-08 04:59:28 -05:00