Commit Graph

2317 Commits

Author SHA1 Message Date
tophf
5e2982c33b fixup! filters 2017-04-26 18:35:00 +03:00
tophf
1e29504b9f manage: toggle style without recreating its element 2017-04-26 17:53:38 +03:00
tophf
50ec32a7b2 Rephrase the misleading "only edited styles" option 2017-04-26 14:33:31 +03:00
tophf
af365568fb re-use normal bg in update tooltip when locally edited 2017-04-26 01:44:09 +03:00
tophf
f08312ab00 rephrase update messages 2017-04-26 01:36:12 +03:00
tophf
acc4d83b9d promisify DB access 2017-04-26 01:36:08 +03:00
tophf
02fd4f1abe Display "force-install" for locally edited styles on update
* Allow manually resetting locally edited style even if up-to-date
* "Check again, I didn't edit any styles!" button
2017-04-26 01:35:32 +03:00
tophf
6000bb33ab editor: dim Save button when not modified 2017-04-26 01:35:15 +03:00
tophf
5a9930c608 fixup 2a7231a8: remove z-index 2017-04-26 01:35:15 +03:00
tophf
7677f0dece updater: add 'ignoreDigest' to force-update on manage page
* saveStyle: retain only known properties in sections[] and normalize their order
* remove styleDigest on import
* shorten detailed status names in updater
* don't autohide update status message
2017-04-26 01:35:14 +03:00
tophf
32ae088c03 Detect and don't update locally edited styles 2017-04-26 01:34:57 +03:00
tophf
36667dece1 install.js: fix onclick after orphanCheck 2017-04-26 01:34:57 +03:00
tophf
3628564961 reset L10N cache on update 2017-04-26 01:34:57 +03:00
tophf
736302962c restore "x" in messageBox(), add namespace#tag to $element() 2017-04-26 01:34:57 +03:00
tophf
f9e90f9cd0 code cosmetics: simplify debounce() 2017-04-23 23:05:36 +03:00
tophf
fdc15d24d9 try to avoid setBadgeText errors 2017-04-23 23:05:35 +03:00
tophf
ceed8b565c a bit darker svg-icon 2017-04-23 23:05:35 +03:00
tophf
3dc934369b manage: simplify DOM (append icons only when needed) 2017-04-23 23:05:31 +03:00
tophf
e3c135e87e code cosmetics 2017-04-21 20:35:22 +03:00
tophf
135423860d setupLivePrefs() now automatically finds the elements
To make an element a live pref discoverable by setupLivePrefs() just use the corresponding pref's id as the element's HTML id attribute.
2017-04-21 19:39:34 +03:00
tophf
5eb55baa95 optionsUI+Opera: keep the status inside its block 2017-04-21 15:56:21 +03:00
tophf
09670f59dc manage: adjust .update-problem colors 2017-04-21 15:56:21 +03:00
tophf
9617d571f8 manage: reuse BG.updater 2017-04-21 15:56:21 +03:00
tophf
fc7793453c code cosmetics: simplify import::undo 2017-04-21 15:52:23 +03:00
tophf
3b433adb42 check if orphaned in docRewriteObserver 2017-04-21 15:52:23 +03:00
tophf
3713c252a8 broadcast affectsIcon's keys on startup 2017-04-21 15:52:23 +03:00
tophf
47eefd1cd2 code cosmetics: contextMenus use prefs.subscribe() 2017-04-21 15:52:23 +03:00
tophf
468a758cec code cosmetics: inverted "no????" params to straight ones 2017-04-21 15:52:23 +03:00
tophf
9e9723cfd2 code cosmetics 2017-04-21 15:52:22 +03:00
tophf
2e60af40f0 refactor bg updater; add prefs.subscribe() 2017-04-21 15:52:22 +03:00
tophf
c52b8c453f refactor background.js
* use runtime.onInstalled to open FAQ
* extract refreshAllTabs (now it may call applyOnMessage for own tab)
* extract getCodeMirrorThemes and use localStorage to cache the names
* put one-time init stuff inside blocks to help GC
2017-04-21 14:16:56 +03:00
tophf
aa5fc9f640 notify USO earlier in install.js by relaying xhr 2017-04-20 04:52:13 +03:00
tophf
98c34da9e7 simplify and speed up USO rebrand observer 2017-04-20 01:27:25 +03:00
tophf
a80c677b3e render at least 10 style entries on slower machines 2017-04-19 23:54:05 +03:00
tophf
3a8ac2d9dc inline reportError() 2017-04-19 19:22:13 +03:00
tophf
4fd1a3db62 remove fixBoolean() 2017-04-19 19:13:11 +03:00
tophf
f5da135e81 invalidateCache: minor refactor & fix deletedId case 2017-04-19 19:03:00 +03:00
tophf
fe3f5121e5 manage: shorten "Find editor styles" as "Theme" 2017-04-19 16:34:48 +03:00
tophf
6f74cb8b29 event.keyCode doesn't work in Firefox 2017-04-18 22:05:18 +03:00
tophf
a2943852a7 add a hidden "gray out" options for favicons 2017-04-18 21:49:04 +03:00
tophf
a11fca48fb dataset on SVG doesn't work in Chrome 49 2017-04-18 21:38:22 +03:00
tophf
1572a0fbfe manage: restyle "disabled" postfix to a tag 2017-04-18 18:19:02 +03:00
tophf
1018d86b53 Don't flicker #check-all-updates on page load 2017-04-18 17:14:29 +03:00
tophf
7527845f1a lighten the new icons 2017-04-18 16:18:12 +03:00
tophf
53814fc9e6 manage: homogenize icon stroke widths 2017-04-18 16:11:57 +03:00
tophf
f5586a8f0d hide UpdatesOnly filter together with ApplyAll button 2017-04-18 14:59:59 +03:00
tophf
2304a8012c fix setupLivePrefs with multiple edit pages open 2017-04-18 12:47:24 +03:00
tophf
346245a847 code cosmetics: simplify importFromString a bit 2017-04-18 12:47:23 +03:00
tophf
a2faa9398a style backup: +revokeObjectURL +MIME-type 2017-04-18 12:47:23 +03:00
tophf
1651d52776 Construct DOM via $element instead of HTML string 2017-04-18 12:47:23 +03:00