Commit Graph

159 Commits

Author SHA1 Message Date
msramalho
d2f9f91a5c relocating security file 2024-10-20 19:14:13 +01:00
msramalho
45d76e6db8 crud tests ready 2024-10-20 18:12:48 +01:00
msramalho
0486f0d9ef typo fix 2024-10-19 01:30:59 +01:00
msramalho
17950ecff7 all endpoints tested 2024-10-19 01:16:36 +01:00
msramalho
8e1152ab33 adds 403 tests 2024-10-19 00:56:47 +01:00
msramalho
145d92a1ae fixing test with new test files 2024-10-18 19:51:09 +01:00
msramalho
a41a33c4ff missing test files 2024-10-18 19:48:33 +01:00
msramalho
6b9d6e2245 new tests and abstractions 2024-10-18 19:46:56 +01:00
msramalho
56a81f6ec0 adds new tests and improvements 2024-10-18 19:16:05 +01:00
msramalho
ea8e06dfee refactoring with app_factory 2024-10-18 16:35:12 +01:00
msramalho
ca7e862855 refactor to use pydantic settings and WAL sqlite mode 2024-10-18 11:08:51 +01:00
msramalho
11a8e6f4e0 testing task endpoints 2024-10-17 19:17:20 +01:00
msramalho
aefa88d3b1 default endpoints tested 2024-10-17 19:04:36 +01:00
msramalho
879c0cb879 adding code coverage to test execution 2024-10-17 16:44:32 +01:00
msramalho
036049fdc3 setting env vars for tests 2024-10-17 16:30:50 +01:00
msramalho
a39ecc0777 adding tests for CI 2024-10-17 16:07:50 +01:00
msramalho
3ba20d2473 removes flower and updates celery>5 2024-10-17 13:13:06 +01:00
msramalho
94f7be3fd8 removing load_env 2024-10-17 13:10:19 +01:00
msramalho
f2a14abb17 adds health check and new env logic 2024-10-17 13:09:50 +01:00
msramalho
1a3273da7e first CI test 2024-10-17 11:29:20 +01:00
msramalho
3432d35af6 isolating api methods, introducing first tests 2024-10-17 11:27:35 +01:00
msramalho
e5486898ad authfixing ALLOW_ANY_EMAIL 2024-06-12 12:40:47 +01:00
msramalho
dfadf81b0b exception for group checking 2024-06-12 12:36:49 +01:00
msramalho
3e91369f65 log message 2024-06-12 12:31:10 +01:00
msramalho
aa11c3f87a allows status query with API key 2024-06-04 14:29:49 +01:00
msramalho
f0146587bf aa version bump 2024-05-15 11:06:49 +01:00
msramalho
9dc8ba4a9d version updates 2024-04-16 13:07:37 +01:00
msramalho
57cec4b11c log update 2024-03-12 13:11:18 +00:00
msramalho
f9ea4c5368 update time metrics 2024-03-12 11:28:49 +00:00
msramalho
10b0ffa6ee makefile improvment 2024-03-12 11:21:18 +00:00
msramalho
fcc2e59e89 adds new metrics 2024-03-12 11:21:12 +00:00
msramalho
4e6b9250bf updates makefile to clear docker cache and dangling images 2024-03-11 19:11:47 +00:00
msramalho
17b3a40e4c improve observability 2024-03-11 14:57:08 +00:00
msramalho
74cdc1a3e6 auto-archiver bump 2024-03-05 14:54:08 +00:00
msramalho
48109c53aa error logs updated 2024-02-29 13:30:21 +00:00
msramalho
8ecd0f10f2 security updates 2024-02-29 13:22:13 +00:00
msramalho
cabfe225fc version update 2024-02-25 15:23:18 +00:00
msramalho
f602b3d60c version bump 2024-02-23 18:09:22 +00:00
msramalho
5d5aa1d63b aa version bump 2024-02-23 14:14:14 +00:00
msramalho
0438d30a60 finally closes #36 2024-02-22 18:26:10 +00:00
msramalho
88daf7f939 new volume issue attempt 2024-02-21 19:06:25 +00:00
msramalho
b88dd36710 closes #36 by updating auto-archiver to v0.9.3 2024-02-21 17:30:47 +00:00
msramalho
a648b90406 simplifies Bearer keys to a single one 2024-02-21 13:52:35 +00:00
Kai
035cdbc064 Merge pull request #39 from bellingcat/auth
Remove basic auth and rename methods
2024-02-15 10:19:35 -10:00
Lilia Kai
61a5d9a8d7 Remove basic auth and rename methods
All our clients are now using bearer auth so we can remove basic.

Also renamed methods to be more distinct about the differences between
them. Everything goes through bearer auth but in some cases we are
authenticating a user and other times it's either a server or a
particular api key.
2024-02-14 08:29:54 -10:00
Miguel Sozinho Ramalho
af59779c52 Merge pull request #37 from bellingcat/auth
Refactor auth methods
2024-02-01 11:50:50 +00:00
Lilia Kai
e37b848ef5 Refactor auth methods
De duplicate some common codepaths. Also, for routes accepting basic
authentication, allow bearer auth as an alternative. This allows
clients to switch to bearer auth opportunistically, but we won't
have to coordinate deployments.

Basic auth should be deprecated since we don't really use a
user/password auth scheme.
2024-01-31 12:38:37 -10:00
Lilia Kai
b83e51de68 correct comment in compose file 2024-01-31 12:31:15 -10:00
Miguel Sozinho Ramalho
b83f550099 Merge pull request #35 from bellingcat/instrument
Instrument exceptions by type
2024-01-10 16:37:59 +00:00
Lilia Kai
5258da65a5 Instrument exceptions by type 2024-01-08 16:45:25 +01:00