spiral
1918c56937
feat: upgrade to .NET 6, refactor everything
2021-11-26 21:10:56 -05:00
spiral
1d5943b6e1
fix(api): properly ignore exceptions that result in 400 status code
2021-11-17 09:45:34 -05:00
spiral
bdb6b61903
fix: asp.net doesn't automatically complete the response writer
2021-11-03 23:27:44 -04:00
spiral
8e1409bd17
fix(apiv2): get rid of large asp.net bad request errors
...
should also fix it for v1 :)
2021-10-14 10:24:44 -04:00
spiral
fd49e7e4ea
refactor(apiv2): rename APIErrors to Errors, move IsUserError to helper method
2021-10-13 09:08:17 -04:00
spiral
431f7e8931
fix(apiv2): correctly parse timestamp in SwitchPatch
2021-10-13 08:59:42 -04:00
spiral
098d804344
feat(apiv2): better model validation error UX
2021-10-13 08:37:34 -04:00
spiral
5add31c77e
feat(apiv2): switch endpoints
2021-10-13 05:29:33 -04:00
spiral
eb05cbf76c
feat(apiv2): ignore exception caused by invalid user-provided JSON
...
return 400 bad request instead
2021-10-12 08:34:28 -04:00
spiral
9d47bfe0d8
feat(apiv2): basic error handling
2021-10-12 03:01:02 -04:00
spiral
57722e035b
feat(apiv2): group stubs, authentication middleware, /systems/:id endpoint
2021-10-01 21:50:01 -04:00
spiral
8a88b23021
feat(apiv2): stubs
2021-09-29 22:30:20 -04:00
spiral
ac2671452d
run dotnet format
2021-08-27 11:03:47 -04:00
Ske
f89ca4c867
Use Serilog in API
2020-08-27 23:36:02 +02:00
Ske
3617d5e894
Add API listen port configuration
2020-08-27 23:35:47 +02:00
Ske
45775f2e8e
Remove unversioned API endpoints
2020-07-28 19:59:28 +02:00
Ske
627f544ee8
Migrate API to ASP.NET Core Auth services + refactor
2020-06-16 01:15:59 +02:00
Ske
70df9cd893
Fix API project build
2020-06-13 19:21:24 +02:00
Ske
c875c8af9f
Various small fixes, setting guild config now works
2020-06-13 19:15:50 +02:00
Ske
ba441a15cc
Too many refactors in one:
...
- Allowed adding ephemeral(ish) views and functions
- Moved message_count to a concrete database field
- Moved most proxy logic to a stored procedure
- Moved database files around and refactored schema manager
2020-06-12 20:29:50 +02:00
Ske
599dfcc071
Enable XML comment support for Swashbuckle
2020-05-07 06:10:29 +02:00
Ske
5cc5a5b4a7
Add basic Swagger integration into ASP.NET
...
Only enabled in Development mode for now.
2020-05-07 05:14:31 +02:00
Ske
c4c3eaf954
Integrate ApiVersioning library for ASP.NET
2020-05-07 04:40:08 +02:00
Ske
ab8382dffe
Load proper config file for non-Docker API
2020-04-16 22:03:23 +02:00
Ske
1ea0526ef8
Migrate DI container to Autofac
2020-01-26 01:27:45 +01:00
Ske
98613c4287
Add system and member privacy support
2020-01-11 16:51:13 +01:00
Ske
0f22285824
Upgrade API serialisation code to enable potential context-based serialisation
2019-12-28 15:52:59 +01:00
Ske
9c9e48a799
Upgrade to .NET Core 3.1
2019-12-22 00:40:57 +01:00
Ske
6a73b3bdd6
Refactor data stores, merging the Store classes
2019-10-26 19:45:44 +02:00
Ske
5f79aaf960
Fix API service injection
2019-08-12 06:54:28 +02:00
Ske
7e92a58c8d
Fix API project building
2019-08-11 22:59:05 +02:00
Ske
0b4335ccaa
Add logger to API service setup
2019-07-18 17:26:06 +02:00
Bella | Nightshade
1c48cb2fc7
Send CORS allowed headers in API response ( #114 )
...
Sends Access-Control-Allow-Headers Content-Type and Authorization in the API response headers
2019-07-17 13:39:07 +02:00
Ske
a188c64a0e
Clean up unused imports
2019-07-17 13:38:23 +02:00
Ske
e0a93ba608
Enable CORS for the API
2019-07-16 14:20:25 +02:00
Ske
4450826241
Disable HTTPS redirection on API server
2019-07-15 17:58:05 +02:00
Ske
d829630a35
Fix database connection pool contention (maybe)
...
Instead of acquiring a connection per service per request, we
acquire connections more often but at a more granular level, meaning
they're also disposed of more quickly instead of staying for a long time
in case of long-running commands or leaks.
2019-07-11 21:25:23 +02:00
Ske
4874879979
Add basic API, only with system endpoints
2019-07-09 20:39:29 +02:00