Commit Graph

314 Commits

Author SHA1 Message Date
Kevin Pham
c870cd6ba8 add list modifiers api endpoint 2023-12-07 16:17:45 -06:00
Kevin Pham
c9bb0f6c25 WIP endpoint for listing available modifiers for frontend 2023-12-07 11:41:54 -06:00
Kevin Pham
0b084f44ae cleanup handlers directory 2023-12-07 10:37:05 -06:00
Kevin Pham
3aad9cf406 improve yaml content type for display in browser; improve api ergonomics 2023-12-07 10:05:54 -06:00
Kevin Pham
4cf2f8c782 for outline path content type to always be text/html 2023-12-07 10:00:13 -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
be68ae7caa add gitignore for air 2023-12-07 09:24:08 -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
0e940ec217 fix tailwind css builder path 2023-12-06 10:26:49 -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
Damian Bednarczyk
0bfd83f64a update deps 2023-12-05 21:27:47 -06:00
Kevin Pham
5a7fe8a70a re-add googlebot ip randomization flag to fix import cycle 2023-12-05 21:09:06 -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
e6e8b0edff Merge pull request #60 from everywall/proxy_v2_improve_docker_buildjob
use make to build binaries
2023-12-05 14:04: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
f2543d261e move minified tailwind css build to handler folder 2023-12-05 16:54:41 +01:00
ladddder
eef6061d93 moved styles css from main to handlers 2023-12-05 16:39:30 +01:00
ladddder
7fd2b2b3c3 move script from main to handlers 2023-12-05 16:32:42 +01:00
ladddder
f437bcabf3 move auth and favicon form main to handlers, linting 2023-12-05 16:00:31 +01:00
Gianni Carafa
a56ec1f861 use make to build binaries 2023-12-05 15:11:13 +01:00
Kevin Pham
692b2a5d17 update makefile and air config to run codegen 2023-12-05 02:04:18 -06: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
b39955025e Merge pull request #58 from everywall/proxy_v2_docs
Add docs for submodules
2023-12-04 11:14:42 -06:00
Kevin Pham
c28470e619 improve codegen for JSON serialization of response/request modifiers 2023-12-04 11:10:55 -06:00
ladddder
8f81583fce Add git clone command and submodule update command for development setup 2023-12-04 13:40:26 +01:00
Kevin Pham
7883b32335 work on rule reqmod resmod codegen for serialization 2023-12-03 23:34:46 -06:00
Kevin Pham
a83a95c5a5 Change form type to url #57 2023-12-03 21:34:27 -06:00
Kevin Pham
547cf61a7d begin work on refactor of ruleset and functional options serializer for proxychain response/request modifiers 2023-12-03 21:32:03 -06:00
Kevin Pham
1fc47c76b6 fix air config 2023-12-03 17:06:00 -06:00
Kevin Pham
6c0721dcb8 fix "modifer" -> "modifier" typo everywhere 2023-12-03 17:04:30 -06:00
joncrangle
117ded5653 Update button styles 2023-12-03 01:26:08 -05: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
joncrangle
d9714fb449 Error container improvement 2023-12-01 20:00:36 -05: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