Commit Graph

44 Commits

Author SHA1 Message Date
Bauke 089a27ab9d
Add regex redirect usage information and an example. 2022-11-02 11:30:02 +01:00
Bauke 2665ee3298
Add a regex redirect. 2022-11-02 11:10:29 +01:00
Bauke 459380cb69
Add an unsaved indicator to editors. 2022-10-27 21:33:46 +02:00
Bauke 9ee0d2db90
Explicitly parse redirects in the editor. 2022-10-27 21:30:43 +02:00
Bauke fd5cbb6a6f
Remove the nanoid dependency. 2022-10-27 21:13:26 +02:00
Bauke fe81eb53fa
Rewrite Redirect IDs to be numeric instead of UUIDs. 2022-10-27 21:13:02 +02:00
Bauke f870c0bbf6
Add the options page. 2022-10-27 15:48:34 +02:00
Bauke 16ba17eb9c
Specify which tab to update. 2022-10-26 18:00:42 +02:00
Bauke ed663484e2
Add enabled property to tests. 2022-10-26 14:55:04 +02:00
Bauke 055be574c5
Add an enabled property to redirects. 2022-10-26 14:52:15 +02:00
Bauke a93b5ed92d
Only process navigation events for HTTP. 2022-10-22 17:42:35 +02:00
Bauke 3e59d0e13b
Add safety checks for infinite loops. 2022-10-21 18:49:16 +02:00
Bauke 696dd8fde8
Add regex matcher tests. 2022-10-21 00:14:58 +02:00
Bauke f7d292932f
Add the regex matcher. 2022-10-20 22:54:02 +02:00
Bauke 93096b839a
Simplify Redirect to a basic abstract class.
Initially I was expecting the Redirect class to be more
complicated for more intricate functionality. But as
I've been adding the options UI, I think keeping it as
simple as possible will be better and easier to work with.
2022-10-20 16:22:57 +02:00
Bauke d25a844fac
Add an ID to Redirects. 2022-10-19 21:15:40 +02:00
Bauke e55c791386
Fix name. 2022-10-19 20:48:19 +02:00
Bauke 3fe297b8f1
Add tests for Redirect getters & setters. 2022-10-18 22:52:30 +02:00
Bauke 89751faad2
Update matching test for www. removal. 2022-10-18 22:24:59 +02:00
Bauke befcfdb85f
Always remove www. from hostname matching. 2022-10-18 22:23:41 +02:00
Bauke f261052331
Don't use type as a variable name as it is a TS keyword. 2022-10-18 22:21:55 +02:00
Bauke e2d233f8d6
Add abstract getter & setters for the redirect value. 2022-10-18 22:00:42 +02:00
Bauke a4b12334c5
Add tests for narrowing match & redirect types. 2022-10-18 21:54:47 +02:00
Bauke 81669cc535
Update tests & snapshots with adjusted names. 2022-10-18 21:43:50 +02:00
Bauke e260419f87
Adjust base Redirect for easier TS typing. 2022-10-18 21:43:23 +02:00
Bauke 67a2c7567f
Add tests for SimpleRedirect. 2022-10-18 19:02:02 +02:00
Bauke 1743959769
Add SimpleRedirect to parseRedirect. 2022-10-18 18:59:05 +02:00
Bauke b54d6ab0c2
Fix test typing. 2022-10-18 18:57:15 +02:00
Bauke 1c7d4ca34b
Add SimpleRedirect. 2022-10-18 18:56:46 +02:00
Bauke 263c0497f3
Add the background script. 2022-10-14 18:15:04 +02:00
Bauke 4cbe31c63a
Turn off no-await-in-loop everywhere. 2022-10-14 18:13:45 +02:00
Bauke 2ca4aeefb7
Make parseRedirect more resilient. 2022-10-13 00:30:26 +02:00
Bauke aa9a7121f8
Reduce duplication. 2022-10-13 00:23:32 +02:00
Bauke 814c718c41
Add Redirect.isMatch tests. 2022-10-13 00:21:46 +02:00
Bauke b9a56fe881
Update tests to include Matcher. 2022-10-13 00:05:10 +02:00
Bauke 5888dfdc97
Add Matcher to Redirects. 2022-10-13 00:04:51 +02:00
Bauke 8e96a55661
Add redirect base setup and tests. 2022-10-05 19:08:17 +02:00
Bauke b6fb952580
Switch CommonJS configuration to module instead. 2022-10-05 18:31:53 +02:00
Bauke ee1d72362f
Add testing config. 2022-10-05 15:07:07 +02:00
Bauke 173b1e25f5
Fix name. 2022-10-05 13:12:17 +02:00
Bauke 2c813e7f6b
Create the readme. 2022-10-05 13:11:11 +02:00
Bauke 64fed8ef87
Add logo, manifest and types files. 2022-10-05 13:10:13 +02:00
Bauke d3d65ea050
Add project files. 2022-10-05 12:25:58 +02:00
Bauke 67ac1cd3e7
Initial commit. 2022-10-03 19:10:06 +02:00