Commit Graph

64 Commits

Author SHA1 Message Date
Karol Wypchlo e2beee6fac
drop nginx blocklist proxy endpoint 2022-03-15 10:47:02 +01:00
Karol Wypchlo 8990262b73
adjust airtable script response 2022-02-14 11:34:47 +01:00
Ivaylo Novakov b39d0205df
Move the check to the start of the script. 2022-02-11 13:55:29 +01:00
Ivaylo Novakov 411996f784
If we can't detect nginx's IP and we're bound to fail the task we don't need to go on. 2022-02-11 13:47:00 +01:00
Karol Wypchlo 5cf5acb4e2
do not prune blocklist manually 2021-12-23 13:17:07 +01:00
Filip Rysavy d43a0926be
Fix Python lint issue 2021-12-13 17:51:15 +01:00
Filip Rysavy b4e2eec2fe
Block skylinks in batches 2021-12-13 17:35:00 +01:00
Filip Rysavy bf2e7cb7cf
Add Airtable skylinks whitespace trimming 2021-11-18 13:04:20 +01:00
Filip Rysavy 24e77ff575
Fix merge conflict 2021-11-10 15:13:14 +01:00
Filip Rysavy e99fdfe460
Fix missing colon 2021-11-10 15:10:28 +01:00
firyx c3d3f2b0e5
Update setup-scripts/blocklist-airtable.py
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2021-11-10 14:32:08 +01:00
Filip Rysavy efeddd6c70
Add check if Airtable vars are defined 2021-11-10 14:22:00 +01:00
Filip Rysavy 07b99b8192
Add check if Airtable vars are defined 2021-11-10 13:52:32 +01:00
Filip Rysavy d68f896988
Add check if Airtable vars are defined 2021-11-10 13:46:43 +01:00
Filip Rysavy 2e15826f58
Remove Airtable hardcoded default values 2021-11-10 11:49:16 +01:00
Filip Rysavy 838c2084a9
Add note to sync changes in blocklist scripts 2021-10-26 09:49:03 +02:00
Karol Wypchlo 9026d56777
fix health check script invalid syntax
python lint job
2021-10-06 14:21:58 +02:00
Karol Wypchło 1c8816530c
cleanup unused discord import (#1073) 2021-08-17 09:58:00 +02:00
Karol Wypchlo c08709ff45 do not try to run interactive docker function 2021-07-23 16:48:19 +02:00
Karol Wypchlo ae6043817b btach size 1k 2021-07-18 09:28:24 +02:00
Karol Wypchlo 7f448fb31f smaller batch fix 2021-07-18 09:25:23 +02:00
Karol Wypchlo ed19736e22 smaller batch 2021-07-18 09:24:45 +02:00
Karol Wypchlo 6c1b96606e one less search 2021-07-18 09:17:29 +02:00
Karol Wypchlo 7c9d1debd2 one less search 2021-07-18 09:13:30 +02:00
Karol Wypchlo 73cf5b510e improve 2021-07-18 09:10:54 +02:00
Karol Wypchlo 52e5a345cf improve 2021-07-18 09:09:55 +02:00
Karol Wypchlo 273bcbcb8f fix cache busting 2021-07-18 09:07:15 +02:00
Karol Wypchlo fdee9b46ee concatenate string 2021-07-18 08:55:29 +02:00
Karol Wypchlo 96ade5f36d airtable retries logic 2021-07-18 08:22:32 +02:00
Karol Wypchło 71f9d5280e
use webhook instead of discrod bot to send messages (#979)
* initial refactor

* do not use before define

* forgot to remove client

* test notification

* add /cc

* fix /cc

* fix /cc role

* fix /cc

* test file upload

* test file upload

* test file upload

* default to no mentions

* unformat

* replace discord with DiscordWebhook

* add readme

* don't fail on failures in message send
2021-07-16 13:12:58 +02:00
Karol Wypchlo aee6976734 xrange 2021-03-05 23:53:19 +01:00
Karol Wypchlo eda08a22bf batching 2021-03-05 23:53:12 +01:00
Karol Wypchlo 1762c7f7b7 fixed writing to file 2021-03-05 23:52:47 +01:00
Karol Wypchlo e816a33da1 blocklist from file 2021-03-05 23:52:38 +01:00
Karol Wypchlo 44b7a85285 filter empty skylinks 2021-03-03 14:07:29 +01:00
Karol Wypchlo e534aaebca fix empty Link 2021-03-02 17:33:15 +01:00
Karol Wypchlo c791f3bf08 passing '' to int() throws an error 2021-03-02 16:44:56 +01:00
Karol Wypchlo 6186d7439f filter invalid skylinks 2021-03-02 13:44:27 +01:00
Karol Wypchlo 4f055528ca filter invalid skylinks 2021-03-02 13:41:23 +01:00
Karol Wypchlo bf0d8f2145 filter invalid skylinks 2021-03-02 13:40:18 +01:00
Karol Wypchlo f306a1f408 remove leftover 2021-03-02 12:43:23 +01:00
Karol Wypchlo 7e717021f4 black 2021-03-01 23:39:28 +01:00
Karol Wypchlo 43ddd484c2 pagination 2021-03-01 23:22:53 +01:00
Karol Wypchlo e14a03c912 pagination 2021-03-01 23:15:54 +01:00
Karol Wypchlo 3b5d09ec73 pagination 2021-03-01 23:13:28 +01:00
Karol Wypchlo 002ae6c6d8 pagination 2021-03-01 23:08:38 +01:00
Karol Wypchlo 6af13b4715 typo 2021-03-01 18:50:01 +01:00
Karol Wypchlo d9ed1decf6 typo 2021-03-01 18:42:33 +01:00
Karol Wypchlo 1d9215fdd1 typo 2021-03-01 18:41:41 +01:00
Karol Wypchlo b92bfe0150 typo 2021-03-01 18:40:39 +01:00