tophf
53aa239da3
fallback to chrome.storage when IndexedDB is dysfunctional
2017-09-03 20:06:42 +03:00
eight
acd9befc9e
Change how configure dialog works.
2017-09-01 14:53:57 +08:00
eight
dece4b57f3
Add: install styles from *.user.css file
...
Fix: handle dup name+namespace
Fix: eslint eqeqeq
Fix: trim @name's spaces
Add: check update for userstyle
Add: build CSS variable
Fix: only check dup when id is not provided
Refactor: userStyle2json -> userstyle.json
Add: style for input
Add: config dialog
Fix: preserve config during update
Fix: onchange doesn't fire on keyboard enter event
Fix: remove empty file
Add: validator. Metas must stay in the same line
Add: warn the user if installation failed
Fix: add some delay before starting installation
Add: open the editor after first installation
Fix: add openEditor to globals
Fix: i18n
Add: preprocessor. Move userstyle.build to background page.
Fix: remove unused global
Fix: preserved unknown prop in saveStyleSource() like saveStyle()
Add: edit userstyle source
Fix: load preprocessor dynamically
Fix: load content script dynamically
Fix: buildCode is async function
Fix: drop Object.entries
Fix: style.sections is undefined
Fix: don't hide the name input but disable it
Fix: query the style before installation
Revert: changes to editor, editor.html
Refactor: use term `usercss` instead of `userstyle`
Fix: don't show homepage action for usercss
Refactor: move script-loader to js/
Refactor: pull out mozParser
Fix: code style
Fix: we don't need to build meta anymore
Fix: use saveUsercss instead of saveStyle to get responsed error
Fix: last is undefined, load script error
Fix: switch to moz-format
Fix: drop injectContentScript. Move usercss check into install-user-css
Fix: response -> respond
Fix: globals -> global
Fix: queryUsercss -> filterUsercss
Fix: add processUsercss function
Fix: only open editor for usercss
Fix: remove findupUsercss fixme
Fix: globals -> global
Fix: globals -> global
Fix: global pollution
Revert: update.js
Refactor: checkStyle
Add: support usercss
Fix: no need to getURL in background page
Fix: merget semver.js into usercss.js
Fix: drop all_urls in match pattern
Fix: drop respondWithError
Move stylus -> stylus-lang
Add stylus-lang/readme
Fix: use include_globs
Fix: global pollution
2017-08-30 17:29:41 +08:00
Rob Garrison
6c3501bf9a
Use rules or config consistently
2017-08-27 17:20:48 -05:00
Rob Garrison
21e22c2b6f
Rename CSSLint ruleset to config
2017-08-27 17:20:48 -05:00
Rob Garrison
1e03910b0b
Rename & organize linter messages
2017-08-27 17:20:48 -05:00
Rob Garrison
1d1a2ce1c8
Fix linter config tooltip
2017-08-27 17:20:48 -05:00
Rob Garrison
cb177eba4b
Add linter config reset tooltip
2017-08-27 17:20:47 -05:00
Rob Garrison
ef197bcd58
Sort "cm_*" messages
2017-08-27 17:20:47 -05:00
Rob Garrison
0cd88873e1
Show alert with invalid JSON and rule names
2017-08-27 17:20:47 -05:00
Rob Garrison
320fd07789
Rename as generic reset message
2017-08-27 17:20:47 -05:00
Rob Garrison
ac1ffa98b5
Add CSSLint rule configuration
2017-08-27 17:20:46 -05:00
Rob Garrison
b1a7f8d4a2
Fix stylelint popup code & use codemirror
2017-08-27 17:20:44 -05:00
Rob Garrison
73e7a9b3f1
Add stylelint config icon tooltip
2017-08-27 17:20:43 -05:00
Rob Garrison
481036c324
Fix localization messages & add placeholders
2017-08-27 17:20:43 -05:00
Rob Garrison
06cd78b643
Add stylelint settings popup & cleanup
2017-08-27 17:20:43 -05:00
Rob Garrison
dfa71f699e
Add linter select option
2017-08-27 17:20:42 -05:00
Rob Garrison
a44b4e7822
Switch from CSSLint to stylelint
2017-08-27 17:20:42 -05:00
tophf
5620ef606e
expose openEditInWindow as an option
2017-08-27 17:17:28 +03:00
tophf
8976bd58b8
inform when dysfunctional due to FF options
2017-08-26 15:34:27 +03:00
tophf
fb7f7d5471
URL-mode in manager's search and popup's manage button
...
* in manager use search query like url:https://github.com/openstyles/stylus
* in popup shift-click or right-click on manager button opens it and applies the filter
2017-08-23 12:16:32 +03:00
tophf
64ba125601
manage: add inverted filters (disabled, external)
2017-08-22 17:24:44 +03:00
tophf
f001bca849
manage: show stats for filtered/total styles
2017-08-16 08:18:22 +03:00
Jeremy Schomery
493d9cd764
pull locales from transifex
2017-08-09 13:19:16 +04:30
tophf
acd9fc931d
Bulgarian stylusUnavailableForURLdetails as per #121
2017-07-23 21:57:19 +03:00
tophf
3b49d83616
In Chrome 61.0.3161+ NTP can't be styled anymore
2017-07-23 12:42:34 +03:00
AdmiralAnimE
96f7d06609
Bulgarian translation
2017-07-22 15:51:11 +03:00
tophf
36b6485cd0
deduplicate and placeholderize locales
2017-07-12 12:12:47 +03:00
Jeremy Schomery
50a2b5dd72
Updating locales from transifex
2017-07-12 11:46:13 +04:30
tophf
38605f3ede
fixup d2dd4ae1: strip trailing commas in "de" locale
2017-07-12 08:52:40 +03:00
tophf
d2dd4ae178
remove non-translated messages from all locales
2017-07-11 17:47:57 +03:00
tophf
91942814f0
replace " - " with ": " in updateCheckFailServerUnreachable
2017-07-11 07:44:26 +03:00
tophf
af797b894e
replace " - " with ": " in updateCheckFailBadResponseCode
2017-07-10 17:29:58 +03:00
tophf
6502cb51b3
remove "." from findStylesForSite message
2017-07-10 17:16:45 +03:00
tophf
ece3822891
option to switch toolbar icon sets
2017-07-09 12:22:44 +03:00
tophf
565f23fa6e
editor: add double-click to resize grip
2017-06-28 12:41:34 +03:00
tophf
2240a0895e
editor: autocomplete on typing
2017-06-18 17:04:14 +03:00
tophf
4559162d45
Alt-Enter in the editor to toggle&save the style
2017-06-06 10:56:49 +03:00
Jeremy Schomery
19754a5a90
updating es locale
2017-06-05 15:45:07 +04:30
tophf
1098f2666c
beautifier: reworded "Undo in all sections" label
2017-05-27 11:42:54 +03:00
tophf
ddc5cc0ccf
beautify: option for indenting conditional blocks
2017-05-27 11:42:54 +03:00
narcolepticinsomniac
70695df64e
fixup indent?
2017-05-19 04:48:43 -04:00
narcolepticinsomniac
0744c9e658
Fixup indent
2017-05-19 04:44:43 -04:00
narcolepticinsomniac
8697b3b9a6
Fixup indent (looks correct in editor not in diff)
2017-05-19 04:41:11 -04:00
narcolepticinsomniac
85fe8e876e
Remove translation for changed popup message
2017-05-19 04:32:42 -04:00
narcolepticinsomniac
3d12f3e174
Remove translation for changed popup message
2017-05-19 04:29:18 -04:00
narcolepticinsomniac
c7bc86c491
Remove translation for changed popup message
2017-05-19 04:27:48 -04:00
narcolepticinsomniac
fcfec7275f
Remove translation for changed popup message
2017-05-19 04:26:07 -04:00
narcolepticinsomniac
ef5c16829f
Popup message update for restricted access
2017-05-19 04:20:11 -04:00
narcolepticinsomniac
67b17335f9
Reword WebStore description
...
Really just wanted to switch "Restyle" with "Redesign" for continuity. Translations are probably close enough to leave as they are, unless anyone thinks otherwise.
2017-05-18 07:08:14 -04:00
Jeremy Schomery
a625323572
updating locales from transifex.com
2017-05-06 15:30:11 +04:30
tophf
ee86ef3037
optionsUI: add 'editor.contextDelete'
2017-04-29 19:56:37 +03:00
tophf
0e1124b8bb
optionsUI: make "Shortcuts" a button; unify translations
2017-04-29 19:56:37 +03:00
tophf
6d65d2a2b6
Expose iframes via HTML[stylus-iframe]
...
* convert actions to buttons
2017-04-29 03:27:47 +03:00
tophf
cff3d13d4b
optionsUI: add a post-import update hint
2017-04-28 15:28:51 +03:00
tophf
809e70a89c
manage: show update history button
2017-04-27 20:40:45 +03:00
tophf
50ec32a7b2
Rephrase the misleading "only edited styles" option
2017-04-26 14:33:31 +03:00
tophf
f08312ab00
rephrase update messages
2017-04-26 01:36:12 +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
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
a2943852a7
add a hidden "gray out" options for favicons
2017-04-18 21:49:04 +03:00
tophf
142666ac0f
optionsUI: show progress bar and # of installed updates
2017-04-18 12:46:38 +03:00
tophf
bdcac21d7e
optionsUI: group options and shorten labels
2017-04-18 12:46:37 +03:00
tophf
e6f2034e64
make import report messages localizable
2017-04-18 12:46:36 +03:00
tophf
ca911396a1
Don't use chrome://favicon
...
chrome://favicon doesn't indicate an icon is missing in any way, it simply shows a placeholder instead. It also doesn't extrapolate from sub-pages so `example.com` won't have a favicon even if `example.com/subpage` has one.
2017-04-18 12:46:36 +03:00
tophf
05c05ec6b9
manage: use chrome://favicon
2017-04-18 12:46:36 +03:00
tophf
1749057b91
Explainer for stylusUnavailableForURL message
...
We don't mention the G+ iframe on CWS stylable only when "Out of process iframes" feature is enabled which can be set manually via chrome://flags/#enable-site-per-process. It's still in development and is known to break some sites, which is why it's not enabled by default.
2017-04-18 12:46:35 +03:00
tophf
80538a17f5
Report unreachable content script in popup
...
Chrome can't executeScript on file:// URLs even though we have <all_urls> in manifest.json so on such pages we'll display a warning in the popup. This should only happen when Stylus is [re]enabled/reloaded.
2017-04-18 12:46:35 +03:00
tophf
2a7231a887
manage: update state tooltips; add filter option
...
* update state is shown in tooltips that fade out in 10 sec except for .update-problem and .can-update
* when updates are found a filtering option is revealed; when it's checked only entries with updates are shown; when all updates are installed the option automatically hides
2017-04-18 12:46:32 +03:00
tophf
e3b461a9e8
manage: add new UI option
...
* align svg icons to pixel grid
* globalize enforceInputRange() and use it in manage
* 1 installed.onclick instead of 1000+ local ones
2017-04-18 12:46:31 +03:00
tophf
efd3e9ef6c
options: use live prefs + reset button
2017-04-18 12:46:30 +03:00
tophf
f8d13d8dec
Remove code:false mode; show sloppy regexps in popup
...
* Now that our own pages retrieve the styles directly via getStylesSafe the only 0.001% of cases where code:false would be needed (the browser is starting up with some of the tabs showing our built-in pages like editor or manage) is not worth optimizing for.
* According to CSS4 @document specification the entire URL must match. Stylish-for-Chrome implemented it incorrectly since the very beginning. We detect styles that abuse the bug by finding the sections that would have been applied by Stylish but not by us as we follow the spec. Additionally we'll check for invalid regexps.
2017-04-18 12:46:28 +03:00
tophf
6be903e2ad
Add UI for 'editor.matchHighlight' option
2017-04-18 12:46:27 +03:00
tophf
c356fb9be5
Add regexp tester to the editor
2017-04-18 12:46:26 +03:00
tophf
7d9a6b5a3f
OptionsUI: add 2 global options + simplify
...
* [x] show badge with active styles count
* [x] styles on top in the popup
* Simplify since we use a persistent background page so it's always there for us
2017-04-18 12:46:25 +03:00
tophf
4dd8066ca4
OptionsUI: restructure html, make it userstylable
2017-04-18 12:46:25 +03:00
tophf
b5fa934652
confirmOK -> confirmDelete
2017-04-18 12:46:21 +03:00
tophf
5522b283ec
Help link: http://add0n.com/stylus.html
2017-04-18 12:45:24 +03:00
tophf
19f1490f0a
Add context menu 'delete' in editor for browsers without it
2017-04-18 12:43:30 +03:00
Jeremy Schomery
bc0c9cfe2a
updating "de" locale. fixes #59
2017-04-18 08:38:07 +04:30
tophf
4dd17c1caf
Use "Stylish for Forefox" in styleToMozillaFormatHelp #33
2017-03-22 02:38:22 +03:00
narcolepticinsomniac
f61e9774d6
Remove translation for changed message
2017-03-16 07:37:24 -04:00
narcolepticinsomniac
0b50d3603b
Remove translation for changed message
2017-03-16 07:35:58 -04:00
tophf
7d5b9b8a34
New backup labels by narcolepticinsomniac
2017-03-16 13:32:13 +03:00
Jeremy Schomery
7363f45864
updating zh_CN
2017-03-13 23:03:31 +03:30
Jeremy Schomery
52d3387c6a
based on https://github.com/schomery/stylish-chrome/issues/43#issuecomment-286102989
2017-03-13 17:11:01 +03:30
Jeremy Schomery
65845c6c6e
replacing window.confirm
2017-03-13 16:28:35 +03:30
Jeremy Schomery
974aaee823
popup width is now adjustable
2017-03-06 23:47:32 +03:30
Jeremy Schomery
0646f6bd65
a few changes in the popup look based on #38
2017-03-06 17:44:09 +03:30
Jeremy Schomery
1f8c46e9cf
fixes #37
2017-03-03 12:31:35 +03:30
narcolepticinsomniac
e5e8fab9b8
Add variables back
...
#37
2017-03-02 18:01:01 -05:00
narcolepticinsomniac
e122329701
Options UI discoverability and other fixes
2017-02-28 19:03:55 -05:00
narcolepticinsomniac
9a2cab60dd
Options UI discoverability and other fixes
...
#34
2017-02-28 18:57:03 -05:00
narcolepticinsomniac
f2e56aaa74
Options UI discoverability & other fixes
2017-02-24 06:06:21 -05:00
Jeremy Schomery
a49a4a9b92
updating es locale
2017-02-23 10:11:57 +03:30
narcolepticinsomniac
3b57839a9d
Fix shortcut entry
2017-02-20 17:36:08 -05:00
narcolepticinsomniac
94799162e0
Fix shortcut entry
2017-02-20 17:09:55 -05:00
Jeremy Schomery
65a3cc195b
new context menu item to open styles manager from right click context menu over the toolbar button
2017-02-20 17:25:56 +03:30
narcolepticinsomniac
cc3418e702
Clarify update text
2017-02-15 16:13:19 -05:00
Jeremy Schomery
0bd2e8ae1a
linking options page to chrome://extensions/configureCommands
2017-02-15 09:18:47 +03:30
Jeremy Schomery
e973df3266
removing comments from _locales/en/messages.json
2017-02-14 19:16:42 +03:30
Jeremy Schomery
d6ec816ea9
adding options UI ( fixes #22 , #24 )
2017-02-14 19:05:53 +03:30
narcolepticinsomniac
511b32b6e9
Update for backup and branding
2017-01-30 14:26:25 -05:00
narcolepticinsomniac
970d48b17a
Update messages.json
2017-01-19 14:56:21 -05:00
narcolepticinsomniac
4c7d4d94ce
Update messages.json
2017-01-19 14:55:26 -05:00
narcolepticinsomniac
73674f0c9f
Update messages.json
2017-01-19 14:54:43 -05:00
narcolepticinsomniac
b87eb471ee
Update messages.json
2017-01-19 14:53:55 -05:00
narcolepticinsomniac
53d62ee215
Update messages.json
2017-01-19 14:53:12 -05:00
narcolepticinsomniac
4b946095e3
Update messages.json
2017-01-19 14:52:30 -05:00
narcolepticinsomniac
ed08b63d86
Update messages.json
2017-01-19 14:51:46 -05:00
narcolepticinsomniac
8e7637ff70
Update messages.json
2017-01-19 14:50:59 -05:00
narcolepticinsomniac
06aba1f7ee
Update messages.json
2017-01-19 14:50:16 -05:00
narcolepticinsomniac
281c37ed2a
Update messages.json
2017-01-19 14:49:22 -05:00
narcolepticinsomniac
b657e5fd25
Update messages.json
2017-01-19 14:48:27 -05:00
narcolepticinsomniac
13fa606207
Update messages.json
2017-01-19 14:47:31 -05:00
narcolepticinsomniac
aa24033253
Update messages.json
2017-01-19 14:46:32 -05:00
narcolepticinsomniac
22bc71166f
Update messages.json
2017-01-19 14:45:36 -05:00
narcolepticinsomniac
5337c156ff
Update messages.json
2017-01-19 14:44:34 -05:00
narcolepticinsomniac
450ca5faa3
Update messages.json
2017-01-19 14:43:21 -05:00
narcolepticinsomniac
d460737e54
Update messages.json
2017-01-19 14:42:16 -05:00
narcolepticinsomniac
68f072dd0a
Update messages.json
2017-01-19 14:40:09 -05:00
narcolepticinsomniac
339bdcf1e9
Update messages.json
2017-01-19 14:39:18 -05:00
narcolepticinsomniac
4cf8afdac3
Update messages.json
2017-01-19 14:37:49 -05:00
narcolepticinsomniac
42f885352e
Update messages.json
...
Fixes #3
2017-01-19 14:33:45 -05:00
Jeremy Schomery
c1ab447130
Removing sending info to Google Analytics
2017-01-11 15:34:44 +03:30
Jason
e3e6aa38f3
Update locales from Transifex
2016-04-02 21:10:29 -05:00
Jason
3ba2169369
Update locales from Transifex
2016-03-23 21:43:31 -05:00
Jason
5fb21f2816
Add opt-out for analytics and make it ping once per day
2016-03-23 21:38:15 -05:00
Jason
4b92d5e709
Update locales from Transifex
2016-03-19 21:54:10 -05:00
Jason
1dd9153590
Add privacy policy link and reformat the links
2016-03-19 21:45:41 -05:00
Jason
279803d052
Update locales from Transifex
2016-03-17 22:17:47 -05:00
Jason
8606a7c39b
Update locales from Transifex
2016-03-17 21:58:33 -05:00
Jason
7ae07b063b
Replace spaces with tabs in locale files from Transifex
2015-09-18 19:56:05 -05:00
tophf
dafa47f0f3
Add placeholders to locale files
2015-09-17 12:03:00 +03:00
Jason
11646e7280
Update locales from Transifex
2015-09-14 19:25:22 -05:00
tophf
0ead2ef259
Editor: paste from Mozilla format; export in styled popup
2015-08-24 08:16:22 +03:00
tophf
20141b7bfa
Editor: add global-replace/replaceAll commands
...
* Collateral fix: correctly restore openDialog() after Esc
* refactor html templates
2015-08-03 08:12:39 +03:00
tophf
c3472207bf
Editor: add Undo button to CSS-beautifier
2015-07-04 06:39:39 +03:00
tophf
b5df8802a0
Editor: CSS-beautifier
2015-07-04 06:39:39 +03:00
tophf
1250bb970e
Editor: show a list of all CSSLint messages
2015-07-04 06:33:40 +03:00
Jason Barnabe
1b978c2189
Merge pull request #113 from tophf/keymap-filter-by-hotkey
...
Editor keymap help: press a hotkey to filter the list
2015-05-14 14:47:10 -05:00
tophf
7f5580a661
Editor: press a hotkey in keymap help table to filter it
...
Add localizable placeholders to inputboxes
2015-05-14 22:44:28 +03:00
tophf
36a70fa612
Manager: search styles filter
2015-05-14 19:57:05 +03:00
tophf
539be4ce43
Code review & cosmetics
2015-05-05 23:42:38 +03:00
tophf
bc6476bc52
Editor: option to select CodeMirror CSS theme
2015-05-05 21:14:11 +03:00
tophf
9efac32b85
Localize search prompts in editor
2015-05-01 13:33:01 +03:00
tophf
c66ae794bc
Fix installation error 'Variable $applies$ used but not defined'
2015-04-22 14:26:41 +03:00
Jason
cf85e50bd0
Update locales from Transifex
2015-04-17 09:41:33 -05:00
Jason
5fc1b5e1cd
Update locales from Transifex
2015-03-26 13:28:50 -05:00