Commit Graph

688 Commits

Author SHA1 Message Date
Ske
1577eb7041 Log channel ID rather than name 2019-07-18 17:29:09 +02:00
Ske
0b4335ccaa Add logger to API service setup 2019-07-18 17:26:06 +02:00
Ske
961bfe9094 Add basic logging framework 2019-07-18 17:13:42 +02:00
Ske
dfbb5cd2d6 Add fronter info to system card 2019-07-18 14:05:02 +02:00
Ske
1ad01703b0 Add system tag to embed card 2019-07-18 14:01:28 +02:00
Ske
63cdb43496 Put member name in code block in lookup error message 2019-07-18 14:00:30 +02:00
Ske
483611702e Fix error when switching with no previous switches 2019-07-18 12:09:19 +02:00
Ske
90ceec61d9 Remove IDE configs 2019-07-17 14:07:06 +02:00
Ske
ca73a215c8 Add endpoint for querying messages by ID 2019-07-17 14:05:44 +02:00
Ske
e28ed585ce Add endpoint for querying systems by Discord snowflake 2019-07-17 13:45:52 +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
f53344cd89 Fix front percent returning negative percentages and ranges 2019-07-17 13:37:43 +02:00
Ske
548fe09fd4 Fix docker-compose.yml syntax error 2019-07-16 23:47:00 +02:00
Ske
02b41413b3 Add basic InfluxDB reporter 2019-07-16 23:34:22 +02:00
Ske
2d58705e85 Add basic WIP metrics system 2019-07-16 21:59:06 +02:00
Ske
a2040f959d Disable GitLab CI for now 2019-07-16 21:19:02 +02:00
Ske
d5da3bf004 Clamp frontpercent range to actual switch range 2019-07-16 21:18:46 +02:00
Ske
003f64abbd Allow setting member avatar by mention 2019-07-16 20:17:04 +02:00
Ske
e0a93ba608 Enable CORS for the API 2019-07-16 14:20:25 +02:00
Ske
d416f39b36 Add .gitlab-ci.yml 2019-07-16 12:34:10 +02:00
Ske
29180bcd2e Fix broken member info endpoint 2019-07-16 12:14:48 +02:00
Ske
51b9afddea Properly format Sentry message breadcrumbs 2019-07-16 01:32:08 +02:00
Ske
2aae92406a Remove Sentry scope setup for now 2019-07-16 01:28:55 +02:00
Ske
f5b6ce4587 Exclude index page from nav 2019-07-16 00:57:30 +02:00
Ske
27dc88db11 Fix API documentation tables finally 2019-07-16 00:36:28 +02:00
Ske
073aff82f1 Add better website front page 2019-07-16 00:34:37 +02:00
Ske
5599f0a4a8 Add system avatar command (which I totally forgot) 2019-07-15 23:50:32 +02:00
Ske
6f082de40e Render API endpoint headers in normal font 2019-07-15 22:28:55 +02:00
Ske
8e592eea13 Attempt to fix table rendering on API docs 2019-07-15 22:26:48 +02:00
Ske
b2ec1b6079 Add docs page describing command aliases 2019-07-15 22:16:43 +02:00
Ske
2f90e7c050 Show sender account in message card 2019-07-15 22:11:08 +02:00
Ske
99919ea6ea Add member color to card 2019-07-15 22:06:08 +02:00
Ske
66690423e8 Allow calling frontpercent with arguments containing spaces
Closes #113 (for real this time).
2019-07-15 21:53:55 +02:00
Ske
b6ba24d171 Show front percent for switches with no fronter
Closes #113.
2019-07-15 21:51:41 +02:00
Ske
05f7ead62e Correctly order members in front percent embed 2019-07-15 21:41:24 +02:00
Ske
206d403526 Ignore proxying messages with no content and no attachment 2019-07-15 21:37:34 +02:00
Ske
6668cd8d2d Swallow 404 when deleting proxied message 2019-07-15 21:36:12 +02:00
Ske
d47e7e7a06 Don't process messages until we're fully connected to shard zero 2019-07-15 21:29:45 +02:00
Ske
18e4d7c9ac Add preliminary Sentry support 2019-07-15 21:02:50 +02:00
Ske
39152dbd27 Add an endpoint to view your own system 2019-07-15 20:06:28 +02:00
Ske
cc31664f8b Fix API port binding hopefully for good 2019-07-15 19:08:47 +02:00
Ske
cabbae0679 Have Kestrel listen on any IP 2019-07-15 18:09:14 +02:00
Ske
4450826241 Disable HTTPS redirection on API server 2019-07-15 17:58:05 +02:00
Ske
3a6e061e44 Avoid making an extra request to fetch message body in webhooks 2019-07-15 17:53:01 +02:00
Ske
eb749d0c37 Fix typo in command list 2019-07-15 17:37:34 +02:00
Ske
da307c2dc9 Display member count on system card 2019-07-15 17:36:10 +02:00
Ske
7475980bd3 Fix sharding issue hopefully for good 2019-07-15 17:23:27 +02:00
Ske
4198a493e4 Fix references to wrong client type 2019-07-15 17:17:57 +02:00
Ske
1f3b0c6de6 Properly initialize a sharded client 2019-07-15 17:16:14 +02:00