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