Commit Graph

2750 Commits

Author SHA1 Message Date
spiral f382d30693
Merge branch 'main' into rust-api 2023-03-18 23:20:40 -04:00
spiral 751a4f9bc9 typo 2023-03-18 23:14:16 -04:00
spiral fcc270f121 feat(api): prometheus metrics 2023-03-18 23:06:55 -04:00
spiral d120a32904 fix ratelimits 2023-03-18 20:44:50 -04:00
Ouroboros 4ca296de6c
feat(bot): 'g' shorthand for pk;m <n> group (#532) 2023-03-13 16:38:20 +00:00
repository 5a248e26a2
reduce dashboard bundle size by lazy loading highlight.js languages (#533)
* lazyload hl.js languages

* pin repository/discord-markdown
2023-03-13 17:13:09 +01:00
Ouroboros 97be223173
feat(bot): Switch subcommand aliases (#531) 2023-03-12 02:24:54 +00:00
V Morrison-Wood 199d5927f5 fix(dash): Group delete prompts 2023-03-12 01:59:41 +00:00
spiral f6a9d693cd fix(bot): ignore charset from discord cdn for export files 2023-03-11 17:45:22 -05:00
spiral f58ada7fac chore(web-proxy): update remote urls, add grafana 2023-03-09 12:06:30 -05:00
foundationkitty 0881996ca8
fix(docker-compose): add redis env var to api service (#528)
- Add RedisAddr env variable to api service to match bot service
2023-03-07 08:12:23 +13:00
spiral 1da94706cb chore(web-proxy): update server ip 2023-03-05 09:42:23 -05:00
the iris system ccb89f50e9
feat(bot): allow separate member avatars for proxied messages (#523)
This allows for using one avatar for the member card, and a different
avatar for proxied messages - so that users can set the main avatar to
a "full" version of their avatar, and the "proxy" avatar to a cropped
version.
2023-03-02 06:11:35 +13:00
Iris System 7fffb7f65a fix(web-proxy): move UA check into API block, small clean up 2023-03-01 06:11:08 +13:00
spiral 7e606ca8b2
fix(dashboard): set up replaceAll polyfill correctly 2023-02-28 15:44:07 +00:00
Jake Fulmine e0c4b23f5e feat(dashboard): add system recovery section 2023-02-28 00:12:31 +01:00
sam e9aaf7d540
feat(docs): update pkgo import url (#522) 2023-02-26 18:44:20 -05:00
spiral 4c6217c48b feat(ci): better rust CI 2023-02-26 17:13:56 -05:00
Iris System 5e60dec6ec fix(api, docs): send HTTP 400 on empty User-Agent, update docs 2023-02-27 09:56:00 +13:00
Iris System b2c61e3e8e fix(bot): correctly use thread permissions in reproxy check 2023-02-27 09:18:00 +13:00
spiral c6c5ae1496 cache rust build dependencies in dockerfile 2023-02-25 12:14:05 -05:00
Iris System 1b3fa07c67 feat(bot): update help message footer with bot icon credit 2023-02-25 08:26:08 +13:00
spiral 5440386969 feat(api): init rust rewrite 2023-02-15 19:27:36 -05:00
spiral 5da3c84bce feat(api): block empty user-agents 2023-02-15 12:58:59 -05:00
Ambre Bertucci 95389e8df8
feat(api): allow custom user-agents in cors headers (#520)
Firefox's (correct) CORS implementation considers `User-Agent` as a forbidden header and requires the server to explicitly opt into custom UAs by allowing this header in `Access-Control-Allow-Headers`.

This commit enables CSR apps to correctly communicate which tools they are part of.
2023-02-15 17:42:22 +00:00
spiral 3e76fd8d28 chore: require redis connection for bot 2023-02-12 18:00:05 -05:00
spiral 52c9ca9d0e github pls 2023-02-12 17:59:33 -05:00
spiral a39d0c8ab6
fix(api): check visibility for group members in groups endpoint 2023-02-12 04:29:11 +00:00
spiral b904be939a feat(api): log requests as json instead of plaintext 2023-02-11 11:13:46 -05:00
Iris System 51ceb36129 fix(bot): use newly-exposed message ID in Carl-bot logclean 2023-02-08 03:05:08 +13:00
spiral e6d8c44d72 fix(api): use cache for switch member lookups 2023-02-06 19:33:54 -05:00
spiral 0a58c9a9ed fix: re-enable deleting messages from db (but correctly this time) 2023-02-06 19:31:37 -05:00
Iris System 1c159c37ff fix(bot): wait for database insert before deleting original message
Closes #495

Co-authored-by: spiral <spiral@spiral.sh>
2023-02-05 01:29:41 +13:00
Iris System 3fd16182f0 fix(bot): allow end-of-line space on otherwise empty blockquote line
Fixes #507
2023-02-05 01:20:52 +13:00
IGuessItsBray 6cc479b40b fix(docs): Add CoreBot compatibility (#516) 2023-02-05 00:52:18 +13:00
rladenson 67376be123 feat(bot): change message count sorting (#514) 2023-02-05 00:52:18 +13:00
Jake Fulmine 10af7be278 fix(dashboard): sort by name alphabetically if no theres color 2023-01-21 21:07:55 +01:00
Jake Fulmine e9f563a1bc tweak(dashboard): add desc character count here too 2023-01-21 20:58:34 +01:00
Jake Fulmine 278104942b fix(dashboard): dont crash when editing member with no description 2023-01-21 20:48:12 +01:00
Jake Fulmine f22c23c5f1 feat(dashboard): sort/filter by color 2023-01-21 20:47:40 +01:00
Jake Fulmine 65dea53c64 tweak(dashboard): some padding tweaks 2023-01-21 20:16:26 +01:00
Jake Fulmine 293739a0d0 tweak(dashboard): show amount of characters of description input 2023-01-21 20:16:13 +01:00
Jake Fulmine b670354542 fix(dashboard): fix proxy tags not resetting when exiting out of modal 2023-01-21 19:58:38 +01:00
Jake Fulmine 0b20fd7730 fix(dashboard): improve slow search when sorting by a date field 2023-01-21 19:55:50 +01:00
spiral b13659817d fix(bot): try fetching messages from database before deleting 2023-01-15 17:34:40 +00:00
spiral 8432f00996 chore: remove plausible analytics entirely 2023-01-15 17:09:13 +00:00
Jake bf3168460b fix(dashboard): fix twemoji CDN 2023-01-15 09:24:40 +01:00
Jake 4d4852caf6 feat(dashboard): allow embedding as app on iOS 2023-01-15 09:19:24 +01:00
Iris System 683b616a1b fix(bot): make pk;import handle `<>` wrapped URLs 2023-01-09 04:32:41 +13:00
Iris System 10287d0146 chore: update lockfiles (since dependabot didn't) 2023-01-09 04:31:11 +13:00