Daniel
|
e35d320498
|
Improve ready API error message
|
2024-04-23 10:49:16 +02:00 |
|
Daniel
|
b15a4aac46
|
Add ready API endpoint and temporarily "backport" to ping
|
2024-04-23 10:46:50 +02:00 |
|
Daniel
|
20a72df439
|
Improve error messages for not ready API endpoints
|
2024-04-23 10:46:09 +02:00 |
|
Daniel
|
16d99c76e5
|
Allow referrers on same origin
|
2024-04-10 13:48:01 +02:00 |
|
Patrick Pacher
|
9a29e2e4c2
|
Add blob: to CSP image-src
|
2023-12-01 11:47:44 +01:00 |
|
Daniel
|
ec1616c1f5
|
Improve api logging when handler/endpoint does not exist
|
2023-10-12 17:11:31 +02:00 |
|
Daniel
|
ef9e112d8b
|
Improve mime type support for api endpoints
|
2023-10-03 11:21:44 +02:00 |
|
Daniel
|
4451b6985c
|
Improve config import and export utils
|
2023-10-03 11:21:44 +02:00 |
|
Daniel
|
936e42b043
|
Improve go profiling APIs
|
2023-09-05 12:51:05 +02:00 |
|
Daniel
|
82ed043721
|
Add response headers to APIRequest
|
2023-09-05 12:50:42 +02:00 |
|
Daniel
|
48711570af
|
Document API endpoint metadata
|
2023-08-09 14:54:29 +02:00 |
|
Daniel
|
ee9f722a9c
|
Make linter happy
|
2023-07-20 14:48:14 +02:00 |
|
Vladimir Stoilov
|
df62abdf1b
|
Add database custom interface functions
|
2023-07-20 14:33:55 +02:00 |
|
Vladimir Stoilov
|
d6337281e3
|
Fix enable server flag
|
2023-04-12 17:17:49 +02:00 |
|
Daniel
|
ca8c784c23
|
Add switch to enable/disable API HTTP server
|
2023-04-06 14:35:45 +02:00 |
|
Vladimir Stoilov
|
fca6951ecc
|
Merge branch 'develop' into feature/improve-update-system
|
2023-03-14 12:28:23 +01:00 |
|
Vladimir Stoilov
|
c9d77682f8
|
Fix report downloads deleting pending updates
|
2023-03-10 16:42:04 +01:00 |
|
vladimir
|
5a9e76403d
|
Add android specific debug info
|
2023-01-17 13:52:52 +02:00 |
|
Daniel
|
d90d14ce02
|
Improve error handling in api and modules
|
2022-12-12 14:07:30 +01:00 |
|
Daniel
|
d21c8e6cda
|
Add module status export func and api endpoint
|
2022-11-04 16:10:57 +01:00 |
|
Daniel
|
b0e5bc90c2
|
Fix api endpoint log message
|
2022-11-04 16:10:25 +01:00 |
|
Daniel
|
412b4242c2
|
FIx linter errors
|
2022-09-29 10:55:01 +02:00 |
|
Daniel
|
52a2a1f673
|
Improve profiling API endpoint docs
|
2022-09-22 14:36:22 +02:00 |
|
Daniel
|
eda7a122db
|
Fix linter errors
|
2022-09-22 14:35:58 +02:00 |
|
Daniel
|
01c4fc75da
|
Use new microtask function in api module
|
2022-08-01 11:37:53 +02:00 |
|
Daniel
|
5bf056e584
|
Elaborate on open questions regarding CORS of browser extensions
|
2022-08-01 11:04:12 +02:00 |
|
Daniel
|
119dbaef97
|
Move security headers to the start of the router
|
2022-08-01 11:03:37 +02:00 |
|
Patrick Pacher
|
2431914756
|
Fix CORS preflight checks requiring authentication
|
2022-08-01 10:59:34 +02:00 |
|
Patrick Pacher
|
d30c4f4072
|
Automatically remove expired API keys from the setting
|
2022-07-27 15:27:42 +02:00 |
|
Patrick Pacher
|
4c6b834ae5
|
Add support for API token expiration
|
2022-07-27 14:59:52 +02:00 |
|
Daniel
|
efcea66226
|
Add better handling for panics within api endpoint handlers
|
2022-06-21 16:59:41 +02:00 |
|
Patrick Pacher
|
ba6dee246b
|
Restore http.Request body for http.HandlerFunc in api package
|
2022-05-03 16:09:40 +02:00 |
|
Daniel
|
dce16ad393
|
Add go profiling debug api endpoints
|
2022-04-13 11:18:40 +02:00 |
|
Daniel
|
deef6cdafc
|
Mark config options as sensitive
|
2022-03-19 22:00:39 +01:00 |
|
Daniel
|
6650fb3b19
|
Update linter settings and fix warnings
|
2022-02-02 14:58:27 +01:00 |
|
Daniel
|
f59ad0357a
|
Fix tests and linter warnings
|
2022-02-01 13:12:46 +01:00 |
|
Daniel
|
3a77659670
|
Use request.Host instead of the header's Host
|
2022-01-20 09:02:47 +01:00 |
|
Daniel
|
c92fcf340d
|
Add CSRF protection
|
2022-01-11 08:58:07 +01:00 |
|
Daniel
|
1695420b0e
|
Fix CORS handling
|
2021-11-28 23:48:45 +01:00 |
|
Daniel
|
08016b16cd
|
Add Read/WriteMethod field to api.Endpoint
|
2021-11-24 16:36:39 +01:00 |
|
Daniel
|
93ff8eb19a
|
Improve dev mode API security
|
2021-11-23 12:58:01 +01:00 |
|
Daniel
|
140389d142
|
Add option to supply HTTP status codes with API errors
|
2021-11-23 12:57:16 +01:00 |
|
Daniel
|
8c758e7e52
|
Improve endpoint metadata
|
2021-11-23 12:56:30 +01:00 |
|
Daniel
|
462570f0c9
|
Delete copy of dsd formats in database.record package
|
2021-11-23 12:56:13 +01:00 |
|
Daniel
|
52d83f6edd
|
Add missing newlines to api ActionFunc messages
|
2021-11-17 14:23:08 +01:00 |
|
Daniel
|
22cd112eaf
|
Fix api endpoint description
|
2021-11-09 10:11:12 +01:00 |
|
Daniel
|
f57c4a4874
|
Fix database api serialization warnings
|
2021-11-09 10:10:53 +01:00 |
|
Daniel
|
ac0a5176b3
|
Implement review suggestions
|
2021-09-27 12:50:50 +02:00 |
|
Daniel
|
442d9319e7
|
Fix typo
|
2021-09-17 22:01:06 +02:00 |
|
Patrick Pacher
|
b5e6e67e49
|
Add connect-src entry for *.safing.io
|
2021-08-24 13:12:40 +02:00 |
|