24 Commits

Author SHA1 Message Date
Madeline
cc50ebf47b Fix being unable to unset nicknames
Remove unwanted guild profile handler in cdn
Fix rights check for bio/avatars of your own user
2023-02-05 12:35:27 +11:00
Madeline
cf04de4add Merge pull request from GHSA-9q7f-pv47-cxp9 2023-02-02 22:22:30 +11:00
Madeline
084dc0be08 Add ESLint (#941)
* Add eslint, switch to lint-staged for precommit

* Fix all ESLint errors

* Update GH workflow to check prettier and eslint
2023-01-20 18:10:47 +11:00
ChrisChrome
70475d8397 Fix a funny security vuln 2023-01-18 12:27:15 -07:00
Madeline
0e7f127ece Script to add license preamble to each file. Also, does that. (#935)
* Add script to automatically add license to each file

* Add license preamble to each file.

* Fix existing preamble detection breaking due to line endings. Git :(

* Prevent license from being added to code with other licenses
2023-01-18 13:05:49 +11:00
Madeline
df449169bd Prettier 2023-01-05 17:16:55 +11:00
Madeline
a1c07173bb Fix new roles having duplicate positions 2022-12-30 18:07:56 +11:00
Madeline
0aead491dc Fix the roles bug 2022-12-21 15:17:06 +11:00
Puyodead1
b84aa73852 implement guild profiles and fix user profiles 2022-12-19 20:37:59 +11:00
Madeline
d8b3e95942 Only allow specific server features to be edited 2022-12-05 20:02:34 +11:00
Madeline
fbde8f978b Fix private messages being returned when no channel_id provided in search 2022-12-05 19:29:50 +11:00
Madeline
b380cf19ba Fix bug allowing any member from kicking any member instance-wide 2022-12-05 19:16:40 +11:00
Madeline
9710d74541 Fix prune 2022-12-03 22:58:29 +11:00
Madeline
a2f5762791 Forgot some schemas + only generate schemas in util/schemas + add setup script 2022-10-24 19:46:33 +11:00
Madeline
0e315d27ab remove self_edit_guilds, was dumb 2022-10-07 20:07:35 +11:00
Madeline
f73512aa02 fix self_edit_guilds right 2022-10-07 20:02:48 +11:00
Madeline
95e7238e8f Split MANAGE_GUILDS right into MANAGE_GUILDS for instance-wide control and SELF_EDIT_GUILDS for control over guilds you own or have perms to edit 2022-09-30 13:32:48 +10:00
Madeline
089c321bf7 whoops 2022-09-28 17:11:10 +10:00
Madeline
02913b5e24 Discovery splashes + fix guild icons disappearing on settings change 2022-09-28 17:07:36 +10:00
Madeline
7818e8dd3c Missed some schemas 2022-09-28 16:39:05 +10:00
Madeline
99ee7e9400 Prettier 2022-09-26 22:41:21 +10:00
Madeline
849b257db7 Move schemas to /src/util/schemas 2022-09-26 22:08:14 +10:00
Madeline
9c688527ec Rearrange assets a bit, fix anything that uses assets folder 2022-09-26 12:57:36 +10:00
Madeline
f44f5d7ac2 Refactor to mono-repo + upgrade packages 2022-09-25 23:35:18 +10:00