Commit Graph

45 Commits

Author SHA1 Message Date
dependabot[bot] 29e14a7043
Bump idna from 3.4 to 3.7 (#15)
Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.4...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-12 16:10:12 -05:00
dependabot[bot] 9c12d2f1b1
Bump black from 23.7.0 to 24.3.0 (#16)
Bumps [black](https://github.com/psf/black) from 23.7.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.7.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-12 16:10:02 -05:00
slashtechno 20a46e4e1f
Update README.md with section for contributing 2024-05-12 15:57:14 -05:00
slashtechno e719461e3c
Add FUNDING.yml 2024-05-12 15:52:35 -05:00
dependabot[bot] 235eba5355
Bump urllib3 from 2.0.4 to 2.0.6 (#13)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.4...2.0.6)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 13:05:04 -05:00
slashtechno 5fd2ce94ab
Added flag 2023-08-19 15:05:41 -04:00
slashtechno fd5f951898
Bump version from `0.1.1` to `0.1.2` 2023-08-18 21:07:55 -04:00
deepsource-autofix[bot] c8e8ab7dda remove commented out code (#7)
* refactor: remove commented out code

It is recommended to remove any commented code in your codebase.

* style: Format code with black and isort

---------

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2023-08-18 21:07:46 -04:00
slashtechno 7e98125597
Duplicate hosts are now omitted 2023-08-18 21:06:25 -04:00
slashtechno 255994447a
Added badge to README.md 2023-08-08 16:33:41 -04:00
slashtechno 2292a9328e Merge remote-tracking branch 'origin/master' 2023-08-08 16:16:42 -04:00
slashtechno a560ae0b2f
Set version to 0.1.1 2023-08-08 16:14:41 -04:00
/techno 58418689eb
Create python-publish.yml 2023-08-08 16:08:56 -04:00
/techno 50683e1543
Add basic `async` support (#6) 2023-08-08 15:50:02 -04:00
/techno c64e2e139d
Merge pull request #5 from slashtechno/deepsource-transform-885222ec
format code with black and isort
2023-08-08 10:43:47 -04:00
deepsource-autofix[bot] 7931374e4e
style: format code with black and isort
Format code with black and isort

This commit fixes the style issues introduced in ce5c516 according to the output
from Black and isort.

Details: None
2023-08-08 14:43:09 +00:00
slashtechno ce5c516de1 Added `--log-level` flag 2023-08-07 17:47:51 -04:00
slashtechno 6b8c0d3200 Uncomment installation in README.md 2023-08-07 17:47:51 -04:00
slashtechno e2ce13ebe2 Minor changes 2023-08-07 17:47:51 -04:00
/techno 61990cfa4b
Merge pull request #3 from slashtechno/deepsource-autofix-908ab65d
refactor unnecessary `else` / `elif` when `if` block has a `raise` statement
2023-08-06 19:04:03 -04:00
deepsource-autofix[bot] ed8a4755c1
refactor: refactor unnecessary `else` / `elif` when `if` block has a `raise` statement
`raise` causes control flow to be disrupted, as it will exit the block.
It is recommended to check other conditions using another `if` statement, and get rid of `else` statements as they are unnecessary.
2023-08-06 23:03:35 +00:00
/techno 36f2b87823
Merge pull request #1 from slashtechno/restructure-project
Restructure project
2023-08-06 18:38:34 -04:00
/techno 3c7f61fb37
Delete utils.py 2023-08-06 18:37:17 -04:00
slashtechno b9013e051d
Merge branch 'master' into restructure-project 2023-08-06 18:36:34 -04:00
deepsource-autofix[bot] 79ca52987b
style: Format code with black and isort 2023-08-06 22:26:16 +00:00
slashtechno 3a18a4536c
Updated `main()` for `delete.py` and `upload.py`
Also added information on whitelists to `README.md`
2023-08-06 18:25:55 -04:00
/techno 263a970edb
Merge pull request #2 from slashtechno/deepsource-transform-200a61ec
format code with black and isort
2023-08-06 17:55:45 -04:00
deepsource-autofix[bot] 7cad46cf8a
style: Format code with black and isort 2023-08-06 21:55:19 +00:00
/techno 0ec3e62c03
Updated README.md 2023-08-06 17:50:44 -04:00
/techno bc94e67635
Use regex for extracting hosts 2023-08-06 17:50:33 -04:00
deepsource-autofix[bot] 4bb9c47e6c
style: format code with black and isort
Format code with black and isort

This commit fixes the style issues introduced in cdbd7dd according to the output
from Black and isort.

Details: https://app.deepsource.com/gh/slashtechno/cloudflare-gateway-adblocking/transform/f9f81019-cc0f-4300-8f90-5884a2afa39a/
2023-08-06 18:46:14 +00:00
deepsource-io[bot] cdbd7dd369
ci: Add .deepsource.toml 2023-08-06 18:46:02 +00:00
slashtechno df2a598c9e
Remove unused imports 2023-08-01 12:20:18 -05:00
slashtechno 32f1cf588e
Allow directory to be passed as `--whitelist`
Improve error handling
2023-08-01 12:16:31 -05:00
slashtechno 3eedaf77e2
Allow `src/utils/__init__.py` to be empty 2023-08-01 11:18:24 -05:00
slashtechno b971b8b0ae
Fixed `upload` not executing properly 2023-08-01 10:58:52 -05:00
slashtechno 9b3e17997d
Fix packaging 2023-08-01 10:43:03 -05:00
slashtechno ca35c09c4d
Changed folder structure 2023-08-01 00:55:57 -05:00
slashtechno 8d2d481de1
Renamed files 2023-08-01 00:08:55 -05:00
slashtechno a6609c1972
Updated `cmd.py` to call functions 2023-08-01 00:06:22 -05:00
slashtechno f3cf25dfd7
Added `cmd.py`
Removed dependence on `utils.py` for loading API credentials
2023-07-31 22:39:12 -05:00
slashtechno a1ca75a5dc
Reinitialized project with Poetry 2023-07-31 13:07:55 -05:00
slashtechno 0ce7446c37
Added deletion of DNS Policy 2023-03-26 22:16:26 +00:00
slashtechno 2f64bbca27
Migrated `apply_whitelist()` 2023-03-20 14:42:05 -04:00
slashtechno 700d8ceafc
Basic functionality implemented 2023-03-20 14:40:08 -04:00