Commit Graph

328 Commits

Author SHA1 Message Date
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
tophf
bd9a91951f Add 2 global behavior toggles to the toolbar button context menu 2015-03-26 21:16:03 +03:00
Jason Barnabe
94b586a243 Merge pull request #87 from tophf/disable-all-styles-fix
Disable all styles fix
2015-03-25 09:33:42 -05:00
tophf
f90c8bc6c7 Localization: remove the unused 'styleNameLabel' 2015-03-25 07:05:36 +03:00
hideheader
f45a6506be Add 'Disable all styles' to popup 2015-03-24 20:21:19 +03:00
tophf
3dd8eb1fc6 Manager: "Apply all updates" button 2015-03-20 17:29:48 +03:00
Jason Barnabe
8811e9d441 Merge pull request #67 from hideheader/menu-item-order
[option] List actions before styles in the popup
2015-03-15 12:40:54 -05:00
hideheader
284d4b8ec8 Add editor options
(1) Add UI controls for `keyMap`, `tabSize`, `indentWithTabs`, and
`lineWrapping`; `indentUnit` tracks `tabSize`.
(2) Dispatch `change` events from `loadPrefs` to initialize CM options
from the controls' event listener.
(3) Move stock options from the `CM.fromTextArea` call into `CM.defaults`.
Add `CM.setOption` method, analogous to the instance method, which updates
`CM.defaults` and sets the option in all instances; add `CM.getOption`
which simply returns `CM.defaults[option]`.
(4) Move the new editor functions into `CM.commands` and replace the
functions with commands.
2015-03-15 12:40:38 -04:00
hideheader
222f970d23 [option] List actions before styles in the popup
Styles are listed before actions by default. Actions are listed before
styles if `popup.stylesFirst` is false. A control for the option is shown
in "Manage" if `popup.stylesFirstUI` is true.
2015-03-14 21:35:45 -04:00
hideheader
a0482d3f0b Listing filters for 'Manage'
Two independent filters. One allows only styles that are enabled, the
other allows only styles that were written locally (that is, styles
without an update URL).
2015-03-14 13:33:36 -04:00
9adefaf01e5bf6426d838cd20eae582d2b6ba647
20123760ac Edit style: use 'sublime' keymap, add custom keys
F3, Shift-F3, Ctrl-H - find/find previous/replace
Ctrl-G: go to line dialog
Alt-PgDn: next code section
Alt-PgUp: previous code section
...and many more.
2015-03-05 09:59:11 +03:00
Jason Barnabe
d54f8c655f Update zh-CN from Transifex 2015-02-08 22:05:10 -06:00
Jason Barnabe
d879b5e0c4 Add option for smart indentation in editor 2015-02-08 22:02:08 -06:00
Jason Barnabe
0756f2d2b8 Add write new style options to toolbar pop-up #14 2015-01-30 11:28:05 -06:00
Jason Barnabe
4f0ea8a171 Update locales from Crowdin 2014-10-03 15:39:17 -05:00
Jason Barnabe
28057bd67f Truncate extension description at 132 chars per new Chrome Web Store requirement 2014-02-19 20:38:09 -06:00
Jason Barnabe
ecc3bf18a9 issue #4 Add option to hide number of enabled styles in active tab from toolbar icon 2014-02-07 20:04:06 -06:00
Jason Barnabe
2064f56796 issue 102 Do something reasonable if the Stylish DB can't be read 2013-06-25 23:25:04 -05:00
Jason Barnabe
cfa80ee785 issue 87 add update confirmation text 2013-05-08 22:39:23 -05:00
Jason Barnabe
5623fef058 issue 57 Bad regexp prevents some other styles from applying 2012-11-02 22:25:04 -05:00
Jason Barnabe
1600c5235a Update translations 2012-04-21 21:12:03 -05:00
Jason Barnabe
b019038f57 initial commit 2012-04-15 20:56:12 -05:00