Juliusz Chroboczek
|
f3ceb05033
|
Add Accept header to 415 replies.
Also fix return code in WHIP.
|
2024-05-09 17:48:17 +02:00 |
|
Juliusz Chroboczek
|
c1915cf3fc
|
Don't include group and name in token API.
The group and name are in the path, this avoids redundancies.
|
2024-05-09 00:46:52 +02:00 |
|
Juliusz Chroboczek
|
ef6cff1d24
|
Add HTTP API for wildcard and empty users.
|
2024-05-08 14:53:45 +02:00 |
|
Juliusz Chroboczek
|
d29d14da16
|
Add low-level support for managing wildcard user.
|
2024-05-08 14:28:28 +02:00 |
|
Juliusz Chroboczek
|
46ed942300
|
Split out userHandler.
|
2024-05-03 20:36:51 +02:00 |
|
Juliusz Chroboczek
|
dc0610dc59
|
Fix 405 result in usersHandler.
|
2024-05-03 20:30:46 +02:00 |
|
Juliusz Chroboczek
|
9eb0364016
|
Allow a single wildcard user.
Rename the fallback-users entry to wildcard-user, and only
allow a single fallback user. This is missing the HTTP API.
|
2024-05-03 20:24:32 +02:00 |
|
Juliusz Chroboczek
|
f5279022ce
|
Minor refactoring in api.go.
|
2024-05-03 20:11:36 +02:00 |
|
Juliusz Chroboczek
|
a12331ee09
|
Use JSON arrays instead of plain text in API.
Suggested by Dianne Skoll.
|
2024-05-03 18:54:22 +02:00 |
|
Juliusz Chroboczek
|
aa35408dba
|
Rename /galene-api/0/ to /v0/.
|
2024-05-03 18:33:37 +02:00 |
|
Juliusz Chroboczek
|
d7a2a2e8e0
|
Check for mismatched token in API.
|
2024-05-02 18:29:03 +02:00 |
|
Juliusz Chroboczek
|
b7f9ef00b6
|
Token API.
|
2024-05-01 23:12:20 +02:00 |
|
Juliusz Chroboczek
|
fe15057252
|
Check for empty path in api.
|
2024-05-01 22:20:51 +02:00 |
|
Juliusz Chroboczek
|
3409f5a27f
|
Replace uses of os.IsExist and os.IsNotExist with errors.Is.
The former don't properly unwrap errors.
|
2024-04-14 13:34:32 +02:00 |
|
Juliusz Chroboczek
|
8fb1c1556e
|
Fix typo in usersHandler.
|
2024-04-14 01:10:02 +02:00 |
|
Juliusz Chroboczek
|
df46e6df21
|
Rename usersHandler.
|
2024-04-14 01:04:44 +02:00 |
|
Juliusz Chroboczek
|
695c379a6c
|
Distinguish empty key in password from absence of key.
|
2024-04-12 01:05:48 +02:00 |
|
Juliusz Chroboczek
|
7673a95b05
|
Implement FallbackUsers in API.
|
2024-04-11 17:53:48 +02:00 |
|
Juliusz Chroboczek
|
31a18bcf44
|
Implement keys handling in API.
|
2024-04-11 14:30:44 +02:00 |
|
Juliusz Chroboczek
|
cc38c53075
|
Implement administrative API.
|
2024-04-11 13:27:08 +02:00 |
|
Juliusz Chroboczek
|
e14eec86d3
|
Implement parseContentType.
|
2024-04-09 22:49:03 +02:00 |
|
Juliusz Chroboczek
|
b7094fc373
|
Beginnings of administrative API.
The "stats.json" file is moved under "galene-api", where the rest
of the API will live.
|
2024-04-09 22:49:03 +02:00 |
|