Commit graph

127 commits

Author SHA1 Message Date
Dima Gerasimov 5ec8bcb822 configure webpack to split vendor libraries in a separate chunk
also generally makes it somewhat cleaner import-wise
2022-12-30 01:51:32 +00:00
Dima Gerasimov 91400126ae close some old todo items 2022-12-29 22:13:23 +00:00
Dima Gerasimov 11a10f1aa6 add sendResponse call to onMessage callback
this prevents phantom errors in popup logs
2022-12-29 22:13:23 +00:00
Dima Gerasimov 879540aee6 extension v0.7.1 2022-12-29 17:37:44 +00:00
Dima Gerasimov fc85a03a42 switch scripting.executeScript to promises, add types 2022-12-28 21:14:14 +00:00
Dima Gerasimov 32fb5ce108 final changes for manifest v3 -- seems that everything works now both for v2 and v3 2022-12-28 21:14:14 +00:00
Dima Gerasimov 4f0fbe9624 extension version 0.7.0 2022-12-28 19:24:13 +00:00
Dima Gerasimov 14f3addc07 ugh, somehow forgot to set open_in_tab to true before 2022-12-28 02:58:15 +00:00
Dima Gerasimov eca07d97a7 more preparation for supporting both manifest v2 and v3 2022-12-28 02:58:15 +00:00
Dima Gerasimov 16bd3441df update icon to 128x128 so webext linter stops complaining 2022-12-28 01:35:36 +00:00
Dima Gerasimov 69019b2df4 use browserlist instead of hardcoded babel presets 2022-12-28 01:35:36 +00:00
Dima Gerasimov ea8d270a9f fix alert after saving settings on firefox and chrome 2022-12-28 01:35:36 +00:00
Dima Gerasimov d5a0c35848 rewrite main capture function to use polyfill 2022-12-28 01:35:36 +00:00
Dima Gerasimov 0fb2e42fe9 use polyfill for permissions 2022-12-28 01:35:36 +00:00
Dima Gerasimov f906728bf8 user browser polyfill with Promise for options access 2022-12-28 01:35:36 +00:00
Dima Gerasimov 8dc554fd61 release extension v0.6.9 2022-12-27 14:37:21 +00:00
Dima Gerasimov a9ef5bd86a extension: fix for deprecated window unload listener, it doesn't always trigger anymore
+ some minor refactoring/renaming
2022-12-27 14:32:26 +00:00
Dima Gerasimov 709220eb10 build script: add watch mode 2022-12-27 14:32:26 +00:00
Dima Gerasimov c1acbc114b add extension ids for firefox and chrome 2022-12-24 21:20:33 +00:00
Dima Gerasimov 7dcd827704 bump extension version 2022-12-24 16:15:26 +00:00
Dima Gerasimov 11cd3b3f65 extension: some 'cosmetic' preparations for manifest v3
tested on chromium/firefox stable
2022-12-24 05:41:19 +00:00
Dima Gerasimov 5bdd5116e7 switch makeCaptureRequest to fetch api in preparation for manifest v3 2022-12-24 05:41:19 +00:00
Dima Gerasimov 20022db1f6 mac: allow using Shift-Enter to complete capture 2022-12-24 05:41:19 +00:00
Dima Gerasimov 83e7de9be9 extension: simplify webpack config a bit, remove some legacy, update dev packages 2022-12-24 05:41:19 +00:00
Dima Gerasimov ddb5fe5c31 extension: update webpack/babel/eslint/flow
mostly borrowed version from promnesia for now
2022-12-23 21:34:16 +00:00
Dima Gerasimov 4127e3de64 extension: move to a separate dir, update build scripts etc
borrowed build scritps etc from promnesia
2022-12-23 21:34:16 +00:00
Dima Gerasimov b57c787774 macos: support setup for launchd
should resolve https://github.com/karlicoss/grasp/issues/32
2022-12-21 18:48:52 +00:00
Dima Gerasimov 417a02ba6f ci: bring up to date with pymplate, setup github actions 2022-12-21 02:17:46 +00:00
Dima Gerasimov e019265aa1 org_tools: support escaping percents in templates via \%
also add a regression test

addresses
https://github.com/karlicoss/grasp/issues/35
https://github.com/karlicoss/grasp/pull/43

Thanks @Chickensoupwithrice for spotting and fix attempt
2022-12-21 02:17:46 +00:00
Dima Gerasimov 4375365415 org_tools: add a proper test comparing default template output 2022-12-21 02:17:46 +00:00
Dima Gerasimov 6ab099a330 server test: use requests instead of httpie 2022-12-21 02:17:46 +00:00
karlicoss 4bc8f01122
Merge pull request #30 from karlicoss/updates
Support for dynamic selection/comment formatting
2020-04-12 16:42:48 +01:00
Dima Gerasimov c29408ae6c Support dynamic configuration 2020-04-12 16:39:45 +01:00
Dima Gerasimov 6b6020598b add Config to allow for more flexible formatting 2020-04-12 16:10:27 +01:00
Dima Gerasimov 3327e40f09 more consisten quoting 2020-04-12 15:56:24 +01:00
Dmitrii Gerasimov af24c99157
Merge pull request #29 from karlicoss/cleanup-webpack
Cleanup webpack
2020-02-14 23:30:12 +00:00
Dima Gerasimov 8f827fadbf remove redundant dev dependencies 2020-02-14 23:17:07 +00:00
Dima Gerasimov 8a9c64a25c get rid of HtmlWebpackPlugin 2020-02-14 23:17:07 +00:00
Dima Gerasimov 08d316a1de cleanup webpack config, remove useless bits, less plugins 2020-02-14 22:37:12 +00:00
Dima Gerasimov 7b637563b5 update publishing instructions 2020-02-08 17:12:37 +00:00
Dima Gerasimov 694f577363 bump version 2020-02-08 16:30:13 +00:00
Dima Gerasimov 74a141550f remove ANY_HOST stuff 2020-02-08 16:28:37 +00:00
Dmitrii Gerasimov 70e60a8276
Update README.md 2020-02-08 16:24:14 +00:00
Dima Gerasimov f24378ebae add a prompt for manual test 2020-02-08 15:41:27 +00:00
Dima Gerasimov ff6699d585 Display permission status for the endpoint 2020-02-08 15:41:27 +00:00
Dima Gerasimov c4306ca740 show a warning when there are no permissions 2020-02-08 15:41:27 +00:00
Dima Gerasimov 3b093a68b2 Validate URL on options page 2020-02-08 15:41:27 +00:00
Dima Gerasimov 1d05a374df Ask for permissions during options saving
Seems like a more reliable way
2020-02-08 15:41:27 +00:00
Dima Gerasimov 87e9bf4127 propagate error; work around Firefox fussiness 2020-02-08 15:41:27 +00:00
Dima Gerasimov f24ca71ba4 proper implementation for requesting permissions 2020-02-08 15:41:27 +00:00