Commit graph

408 commits

Author SHA1 Message Date
bc1c8e61f6 block: not not 2022-06-18 12:48:53 +01:00
894b26c5f8 block: fetch and parse are public methods 2022-06-18 12:48:09 +01:00
360c786610 block: try to unify the mirror block modules 2022-06-18 12:36:54 +01:00
db0233691c lint: add back "useless" return to tf_prehook 2022-06-17 14:26:22 +01:00
3bb1a84480 ci: use latest pylint-flask-sqlalchemy 2022-06-17 14:12:47 +01:00
61564e8c01 lint: tidy up code some more, pylint is enforcing 2022-06-17 14:02:10 +01:00
66b3ccc0f0 alarms: target really needs to be str 2022-06-17 13:24:51 +01:00
98895e47de lint: tidy up code in cli module 2022-06-17 13:21:35 +01:00
5f7733d064 alarms: targets need to be str 2022-06-17 13:20:07 +01:00
1b8a64725f alarms: reduce state changes that trigger notifications 2022-06-17 12:57:02 +01:00
ac5a604587 lint: tidying up code in block tasks 2022-06-17 12:42:42 +01:00
a0da4d4641 brn: Introduce BRN as a class 2022-06-15 11:50:15 +01:00
8c411e39bc proxy: ensure use of only active proxies for smart proxy 2022-05-27 15:24:34 +01:00
b0fe83b984 automate: add newlines to captured exception 2022-05-27 15:23:46 +01:00
db6f4aef55 automate: add aws smart alarm import 2022-05-27 10:38:40 +01:00
0619fe743b proxy/cloudfront: add smart proxy alarms 2022-05-27 10:32:23 +01:00
1461843c00 docs: add some proxies docs 2022-05-26 15:59:12 +01:00
c916624414 smart_proxy: asset domain configuration formatting 2022-05-25 15:57:00 +01:00
d99cf88f38 smart_proxy: add asset domains concept 2022-05-25 15:32:17 +01:00
dfb4d66557 smart_proxy: more escaping in the configuration 2022-05-25 11:01:04 +01:00
7bc38d10be smart_proxy: handle links to origin domain without trailing slash 2022-05-25 10:46:48 +01:00
f828d1779b proxy/azure_cdn: needs smart zone 2022-05-25 10:36:34 +01:00
c0a0474fbf proxy/azure_cdn: the origin has the smart requirement 2022-05-25 10:23:25 +01:00
5b503da621 proxy/azure_cdn: HACK! chain the cloudfront smart proxy where needed 2022-05-25 10:07:13 +01:00
dc0bfc8cb5 block/external: backwards comparison 2022-05-25 09:20:57 +01:00
66af6e6550 proxies: add smart proxy support
still to do:

* document new configuration options
* add smart proxies to groups view
* import bandwidth and CPU alarms
2022-05-25 09:07:10 +01:00
9b90101cf4 eotk: use published module 2022-05-23 11:27:35 +01:00
e18aece9b5 list/gitlab: no parallelism to avoid conflicts with multiple files in the same repo 2022-05-23 10:59:26 +01:00
592aa16734 block/external: more sanity checks 2022-05-23 10:55:59 +01:00
f31cb768ea list: add var for picky languages that require it 2022-05-19 12:27:47 +01:00
a1d777a81c alarm/http_status: ensure alarm exists for exception handling 2022-05-19 12:26:16 +01:00
cf027b5c32 list/gitlab: update to tf provider 3.14.0
if there are multiple files in the same repository
this will cause a conflict in previous versions
2022-05-18 16:40:34 +01:00
244fcdb1c8 alarms: always have an initial unknown state 2022-05-18 15:52:46 +01:00
e2ce24bf3b alarms: refactor the alarms subsystem
also include eotk alarms now
2022-05-18 15:49:36 +01:00
a935055083 lists/git: always refresh when updating git repos
looks like errors can occur when the latest commit
isn't what is expected
2022-05-18 12:00:18 +01:00
55d133394d typo: transposed characters 2022-05-17 10:15:00 +01:00
c918138312 portal/list: record encoding on new list 2022-05-17 10:14:12 +01:00
fca84e0fa7 portal: dict_items not subscriptable 2022-05-17 10:12:45 +01:00
23a8a6b8af onions: switch bc2 over to new onion table, drop mirrors table
fixes: #4
2022-05-17 09:44:18 +01:00
fce594bbc4 lint: excuse catching broad exceptions 2022-05-17 09:03:43 +01:00
9797d8d119 lint: remove cyclic imports 2022-05-17 08:32:57 +01:00
d7dab2e234 scripts: add a quick test script 2022-05-17 08:25:49 +01:00
8f7f1e96c6 portal/list: remove unnecessary comprehensions 2022-05-17 08:25:32 +01:00
253d0627d8 ci: nose tests still need a config file 2022-05-17 08:18:41 +01:00
8c9565f284 flake: remove unused import 2022-05-17 08:13:50 +01:00
e57f406967 ci: let nose discover the tests 2022-05-17 08:13:27 +01:00
97a59bf239 ci: adds a nose test 2022-05-16 17:37:02 +01:00
7e8e9e1033 tests/lists: adds some tests for the obfuscator 2022-05-16 17:35:55 +01:00
dbb480a030 auto/lists: remove additional dot in filenames 2022-05-16 17:21:23 +01:00
4a67980664 lists: add migration for encoding 2022-05-16 17:16:13 +01:00