Commit Graph

104 Commits

Author SHA1 Message Date
joncrangle
6a9d010e36 Merge branch 'origin/proxy_v2' into proxy_v2/playground 2023-12-10 23:44:46 -05:00
Kevin Pham
82b5a74d8c begin migrating old v1 rulesets to v2 rulesets 2023-12-09 16:35:54 -06:00
Kevin Pham
22533dc739 improve ruleset unmarshalling behavior if there isnt a top level rule key 2023-12-09 08:37:23 -06:00
Kevin Pham
27c3892b0b add modify incoming scripts with regex modifier 2023-12-09 08:08:36 -06:00
Kevin Pham
9fa00188a6 fix date formatting in outline 2023-12-08 14:34:26 -06:00
Kevin Pham
22f0007478 improve outline UX; add print mode and reading time estimation 2023-12-08 14:06:34 -06:00
Jonathan Crangle
165ffcef89 Update title style 2023-12-08 12:29:18 -05:00
Jonathan Crangle
9533f66a13 Update title link styles 2023-12-08 12:24:36 -05:00
Jonathan Crangle
de640ce08c Update title link styles 2023-12-08 12:17:02 -05:00
Jonathan Crangle
b3d799e36d a11y improvements 2023-12-08 12:03:22 -05:00
Kevin Pham
81c99821f0 fix title on outline generatation if it contains a ; 2023-12-08 10:21:47 -06:00
ladddder
7661c66250 #65 use full URL in package line 2023-12-08 09:26:26 +01:00
Kevin Pham
c9bb0f6c25 WIP endpoint for listing available modifiers for frontend 2023-12-07 11:41:54 -06:00
Kevin Pham
df19209211 fix content-type not set regression on main proxy handler 2023-12-07 09:58:52 -06:00
Kevin Pham
1ebb486592 move ruleset and raw endpoints to /api/*, update docs, fix ruleset yaml marshal panic issue 2023-12-07 09:46:38 -06:00
Kevin Pham
8166eb31af add ruleset path support 2023-12-07 09:23:12 -06:00
Kevin Pham
4779229b32 add raw handler support 2023-12-07 08:43:05 -06:00
Kevin Pham
6a5b85f260 add subdomain url extractor; add 3p script blocker modifier 2023-12-06 14:18:40 -06:00
Kevin Pham
9d6cedb2a5 update vendor path for generate_readable_outline.go 2023-12-06 08:59:52 -06:00
Kevin Pham
f559e7f422 Merge pull request #62 from dxbednarczyk/origin/proxy_v2
Update deps and move non `*.go` files to vendor directories
2023-12-06 08:56:48 -06:00
Kevin Pham
b4dd0e5380 add localstorage clearer, sessionstorage cleaer, and cachebuster modifiers 2023-12-06 08:41:45 -06:00
Kevin Pham
6192373587 update cli flags to load ruleset 2023-12-05 21:28:53 -06:00
Damian Bednarczyk
20984438f9 move all non *.go files to vendor directory 2023-12-05 21:28:11 -06:00
Kevin Pham
0b33765b4f add support for rulesets in JSON format for frontend use 2023-12-05 21:03:27 -06:00
Kevin Pham
52d12dd1ac ruleset_v2 integration test working 2023-12-05 15:02:18 -06:00
Kevin Pham
4b04268aa7 Merge pull request #61 from everywall/proxy_v2/cleanup-main
cleanup main
2023-12-05 14:03:40 -06:00
Kevin Pham
b2f6cf9f1d finish ruleset_v2 implementation 2023-12-05 14:02:54 -06:00
Kevin Pham
9d77c63697 add ruleset_v2 loading code 2023-12-05 10:50:54 -06:00
ladddder
f437bcabf3 move auth and favicon form main to handlers, linting 2023-12-05 16:00:31 +01:00
Kevin Pham
bc715d9101 implement proper marshaller/unmarshaller for rulesets in yaml format 2023-12-05 01:51:30 -06:00
Kevin Pham
f8621e72ee implement proper ruleset json serializer 2023-12-04 22:53:38 -06:00
Kevin Pham
6157d6543f add YAML serialization for ruleset 2023-12-04 19:55:50 -06:00
Kevin Pham
c28470e619 improve codegen for JSON serialization of response/request modifiers 2023-12-04 11:10:55 -06:00
Kevin Pham
7883b32335 work on rule reqmod resmod codegen for serialization 2023-12-03 23:34:46 -06:00
Kevin Pham
6c0721dcb8 fix "modifer" -> "modifier" typo everywhere 2023-12-03 17:04:30 -06:00
Kevin Pham
c8a411267d Merge pull request #55 from dxbednarczyk/origin/proxy_v2
Add random IP generation for bots
2023-12-01 21:47:13 -06:00
Kevin Pham
dcdf75bad2 add response modifier to prevent the removal of elements by paywall script 2023-12-01 21:41:20 -06:00
Damian Bednarczyk
a1a2f261e9 update test to run on every ip in googlebot pool 2023-12-01 21:16:38 -06:00
Damian Bednarczyk
54173cf672 fix typo in main() and add random ip generation 2023-12-01 21:08:53 -06:00
Kevin Pham
59a57f2dbd tweak dynamic url rewriting logic 2023-12-01 18:45:07 -06:00
Kevin Pham
47def5c610 add patch tracker scripts response modifier 2023-12-01 16:26:59 -06:00
Kevin Pham
cdac75be06 add troubleshooting comment for CF-Connecting-IP header spoofing issue with cloudflare 2023-12-01 14:13:29 -06:00
Kevin Pham
f7ddd67b4e add patch google analytics response modifier 2023-12-01 14:12:52 -06:00
Kevin Pham
8aba4a18c2 lint 2023-12-01 13:10:37 -06:00
Damian
d7b827a154 Merge branch 'origin/proxy_v2' into origin/proxy_v2 2023-12-01 11:26:44 -06:00
Kevin Pham
140a38fd39 improve /api/content metadata and tag handling 2023-11-30 22:47:15 -06:00
joncrangle
0aa34e2cfd Update caption styling 2023-11-30 23:14:36 -05:00
joncrangle
85be697741 Apply consistent template format 2023-11-30 22:56:44 -05:00
joncrangle
8bd4ca8a57 Ladder logo link to / 2023-11-30 22:42:50 -05:00
joncrangle
0fc84cbe96 Styling updates 2023-11-30 22:29:14 -05:00