Commit graph

345 commits

Author SHA1 Message Date
62d87341ad app: allow disabling metrics by environment variable 2022-11-15 14:29:50 +00:00
Owen
8a080f3eff Added flask database migration test to CI 2022-11-15 11:54:02 +00:00
7e0384d698 db: empty list if no rows for model, one commit per model 2022-11-14 16:27:28 +00:00
Owen
d28bf18ce8 Removed duplicate list of database models 2022-11-14 16:27:28 +00:00
a2b73a9286 types: truthy-functions are a thing now in mypy 2022-11-14 12:16:41 +00:00
356495beaf db: import and export with generalised json format 2022-11-13 20:09:48 +00:00
25bbdf8e2b db: truncate alembic migration history 2022-11-13 19:04:33 +00:00
7f9b3b9b64 app: check not_migrating before registering metrics 2022-11-13 19:04:00 +00:00
543e4ef3e3 block/bridge_rks: short name was too long 2022-11-13 13:24:52 +00:00
1233d8998a block/roskomsvoboda: check for blocked bridges too
fixes: #33
2022-11-13 13:23:12 +00:00
a743788dcf block/roskomsvoboda: switch to updating every 300 minutes
data is now updated every 3 hours
2022-11-13 13:21:40 +00:00
7327d6b807 block/roskomsvoboda: update to API v3 2022-11-13 13:06:25 +00:00
e1394f71d6 onion: remove onion key column, prod forms 2022-11-09 15:16:39 +00:00
890ce3077f list/http_post: typing 2022-11-09 15:15:50 +00:00
d5824aa518 onion: add keys and certs to database 2022-11-09 13:36:12 +00:00
f603cb9101 list/http_post: uses bearer authorization header 2022-11-08 14:40:44 +00:00
21f7cbddcb list/http_post: adds http post distribution lists 2022-11-08 14:31:45 +00:00
218779bd20 onion: adds brn to onion key 2022-11-08 14:23:32 +00:00
9373e107fc metrics: merge back to __init__.py to avoid context issues 2022-11-02 14:54:09 +00:00
8d7f1c832e ci/pylint: allow failure 2022-11-02 14:29:27 +00:00
1c0e921305 models/base: type hinting 2022-11-02 14:25:59 +00:00
430ef0f86a metrics: don't fail if no argument is given to command 2022-11-02 14:24:18 +00:00
f92e713e98 ci: update type packages 2022-11-02 14:22:01 +00:00
0ab9fdebc5 metrics: remove type ignores that are no longer required 2022-11-02 13:58:54 +00:00
0ff61721d9 metrics: refactor app context into base class 2022-11-02 13:46:39 +00:00
28c07b7d82 metrics: remove circular import 2022-11-02 13:24:02 +00:00
8aad3368af disable metrics collectors during nosetests 2022-11-02 13:17:20 +00:00
821d5d07db disable metrics collectors during nosetests 2022-11-02 13:10:45 +00:00
4c32445aff lint 2022-11-02 13:07:21 +00:00
2e3fe165ef list/s3: fix upload for obfuscated file formats 2022-11-02 11:41:02 +00:00
acac383c01 portal/storage: link from automation list 2022-11-01 10:20:27 +00:00
293acba317 portal/storage: expose storage information via the portal 2022-11-01 10:17:31 +00:00
1ee75fd37f update pin 2022-10-31 15:46:53 +00:00
b53d2580ee reflector: update with some introductory prose 2022-10-28 14:54:50 +01:00
8498e01a87 requirements: update with latest deps 2022-10-27 17:31:04 +01:00
a6f12006e5 reflector: add authentication description 2022-10-27 17:30:35 +01:00
cd0597a929 add initial reflector api 2022-10-27 17:24:02 +01:00
98789261bd lint 2022-10-23 12:19:23 +01:00
3f07f0e08f proxy/meta: only create proxies for providers that are enabled 2022-10-23 12:14:29 +01:00
18d6f294f4 service_vcl: force destroy to allow deleting active services 2022-10-19 11:50:07 +01:00
4d2b4e7bdd block/external: remove vantage point filtering 2022-10-15 05:50:04 +01:00
0cc6cf0eda portal/pool: allow adding and removing origin groups 2022-10-08 19:51:56 +01:00
a189e8756c lint 2022-10-08 19:26:50 +01:00
3c5abee77c metrics: do not initialise metrics when running db migrations 2022-10-08 19:20:15 +01:00
f38afa6ccd portal: rename groups to origin groups 2022-10-08 19:20:00 +01:00
9b9f11d4ca proxy/meta: fix typo 2022-10-08 18:09:38 +01:00
21fffa8a91 proxy/smart: remove geoip configuration (unused) 2022-10-08 18:08:06 +01:00
0c8ecae319 proxy/meta: run every minute 2022-10-05 16:20:10 +01:00
4081a38552 metrics: refactor into a separate module
as much as possible, given we need flask context
2022-10-05 15:57:58 +01:00
6838596e8f metrics: very basic initial metrics 2022-10-05 15:25:51 +01:00