Commit Graph

2708 Commits

Author SHA1 Message Date
spiral
b2f47f8e53 fix(api): temporarily use custom client-ip header for ratelimiting 2023-03-19 14:17:03 -04:00
spiral
a888e9693b feat(web-proxy): use DNS names for remotes 2023-03-19 14:14:05 -04:00
spiral
636535fa33 fix(api): add status, endpoint to metrics/logger 2023-03-19 12:30:31 -04:00
spiral
d7e34bb884
Merge pull request #534 from PluralKit/rust-api
rust skeleton
2023-03-19 11:26:37 -04:00
spiral
098f32026f fix(ci): typo 2023-03-19 11:20:57 -04:00
spiral
d2ef31b670 add token2 to config 2023-03-19 11:18:09 -04:00
spiral
e711e86ea3 move metrics dependency to workspace Cargo.toml 2023-03-19 10:44:37 -04:00
spiral
0cebf5e114 chore: clean up web-proxy 2023-03-18 23:21:29 -04:00
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