summary refs log tree commit diff
path: root/api/src/routes/guilds (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add semicolonLachlanCourt2022-07-041-1/+1
|
* Simplify role query as per code reviewLachlanCourt2022-07-041-2/+1
|
* Move role_id specific api routes to correct fileLachlanCourt2022-07-042-137/+53
|
* Fix compile error in get requestLachlanCourt2022-07-041-42/+4
|
* Create role subdirectory and add GET api routeLachlanCourt2022-07-042-0/+145
|
* Fix compile errors in latestMadeline2022-06-261-10/+14
|
* fix the wrong nameErkin Alp Güney2022-06-261-1/+1
|
* self-leave logicErkin Alp Güney2022-06-261-3/+19
|
* Update prune.tsErkin Alp Güney2022-04-281-2/+6
|
* remove misleading todo noteErkin Alp Güney2022-04-161-1/+0
|
* fix MANAGE_GUILDS; rename getRight to getRightsbinsky2022-04-091-2/+2
|
* rights enforcement in guild createErkin Alp Güney2022-04-081-3/+4
|
* MANAGE_GUILDSErkin Alp Güney2022-04-081-2/+10
|
* fix(api): add vanity urls creation/update (#665)Nobody2022-03-091-5/+28
| | | | | | | | | * fix(api): add vanity urls creation/update * refactor(api): multiple vanity urls Old vanty urls will not be updated, instead a new one will be created. * feat(api): add ALIASABLE_NAMES feature Reference: https://github.com/fosscord/fosscord-server/issues/407
* Merge branch 'master' into fix/ban-listNobody2022-03-081-0/+6
|\
| * fix(api): don't send @everyone in route responseNobody2022-03-081-1/+4
| | | | | | | | The response of `PATCH /guilds/{guild.id}/members/{user.id}` should not include "@everyone" role
| * fix(api): prevent @everyone role duplicationNobody2022-03-081-1/+1
| | | | | | | | If user already has @everyone role, then don't push it to the array
| * fix(api): always add @everyone in user's rolesNobody2022-03-081-0/+3
| | | | | | | | When you add or delete an user's role, you MUST always add "@everyone" role to the roles map
| * Fix bans list (#674)RealMANI2022-03-081-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix bans list - Bans list should load properly now * Updated Removed await Removed unnecessary foreach * Update ban.ts await
* | fix(api): working ban listNobody2022-03-081-8/+23
|/ | | | We should never use await inside loops
* Merge pull request #621 from fosscord/origin/dev/erkinalp/self-bansErkin Alp Güney2022-02-251-6/+61
|\ | | | | Allow self-banning
| * pretend self-bans don't exist in the views tooErkin Alp Güney2022-02-041-1/+4
| |
| * ban moderator schema actually changeErkin Alp Güney2022-02-041-2/+12
| |
| * ban moderator schema changeErkin Alp Güney2022-02-041-0/+1
| |
| * some important changesErkin Alp Güney2022-02-041-4/+4
| |
| * Try to commit this one again, this time over the webErkin Alp Güney2022-02-041-4/+8
| |
| * remove pretense of nonexistence from main view route for now to make it ↵Erkin Alp Güney2022-02-041-2/+0
| | | | | | | | compile while thinking of a fix
| * Extend the pretense of non-existence of self-bans to API view route tooErkin Alp Güney2022-02-021-0/+2
| |
| * Better protection against self-bansErkin Alp Güney2022-02-021-2/+3
| |
| * Make self-bans irreversibleErkin Alp Güney2022-02-021-1/+4
| |
| * Allow self-ban of non-ownersErkin Alp Güney2022-02-021-1/+34
| |
* | change lineFeatyre2022-01-251-1/+1
| |
* | Merge branch 'fosscord:master' into masterFeatyre2022-01-243-0/+44
|\|
| * Add dummy endpoints to prevent client loading some settings panels indefinitelyTheArcaneBrony2022-01-243-0/+44
| |
* | Partnet + Discover fix and joinFeatyre2022-01-243-5/+57
|/
* Add Role Icons (#574)Chris Chrome2022-01-051-2/+9
| | | | | | | | | * Role Icons Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com> * Cache coherency rules Co-authored-by: MANIKILLER <manikillrorg@gmail.com> Co-authored-by: ImAaronFR <96433859+ImAaronFR@users.noreply.github.com>
* Comment about the hotfixKuna2021-12-241-0/+2
|
* (Finally) make a temporary fix for IP leakThesourtimes2021-12-241-3/+13
|
* Fix typoKuna2021-12-241-1/+1
|
* Fix IP leaks from bans routeThesourtimes2021-12-241-2/+14
|
* Update index.tsSamuel2021-11-211-2/+3
|
* Minor API stuffuurgothat2021-11-171-3/+2
|
* make templates configurable + authorizationuurgothat2021-10-241-35/+13
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-serveruurgothat2021-10-241-82/+82
|\
| * prettier formatted /apidevelopomp2021-10-201-82/+82
| |
* | Format the fileuurgothat2021-10-181-19/+27
| |
* | external templates + fosscord draft and more configsuurgothat2021-10-181-2/+28
| |
* | remove unneeded importuurgothat2021-10-171-1/+0
| |
* | Add discord template supportuurgothat2021-10-171-1/+14
|/
* :sparkles: sticker eventsFlam3rboy2021-10-151-1/+27
|
* Merge branch 'master' into stickerFlam3rboy2021-10-151-0/+82
|\
| * :bug: fix pruneFlam3rboy2021-10-151-24/+32
| |
| * added route /guilds/:id/prune GET count and POST prune.Maddy2021-10-131-0/+74
| | | | | | | | | | Edited Member entity to include last_message_id to avoid searching for every members last message when pruning When a message is sent through /channels/:id/messages last_message_id of sending Member is updated.
* | :art: reformatFlam3rboy2021-10-151-4/+1
| |
* | :bug: fix message sticker sendingFlam3rboy2021-10-151-0/+10
| |
* | :sparkles: sticker uploadFlam3rboy2021-10-151-7/+42
| |
* | :sparkles: stickersFlam3rboy2021-10-141-0/+74
|/
* :bug: fix #371Flam3rboy2021-10-111-2/+2
|
* Merge branch 'master' into pr/TheArcaneBrony/434Flam3rboy2021-10-101-3/+3
|\
| * :bug: fix modify role.permissionsFlam3rboy2021-10-101-3/+3
| |
* | :bug: fix vanity urlFlam3rboy2021-10-101-10/+2
| |
* | Fix duplicate keyThe Arcane Brony2021-10-101-6/+3
|/
* :bug: fix emojis routeFlam3rboy2021-10-102-137/+121
|
* Merge branch 'master' into pr/LoboMetalurgico/424Flam3rboy2021-10-102-3/+8
|\
| * :bug: convert bigint literal to objectFlam3rboy2021-10-102-3/+8
| |
* | (api): fix some issuesLobo Metalúrgico2021-10-091-3/+2
| |
* | (api): implement post on emoji routeLobo Metalúrgico2021-10-091-4/+38
| |
* | (api): add patch to emoji routeLobo Metalúrgico2021-10-091-0/+26
| |
* | (api): fix route nameLobo Metalúrgico2021-10-081-0/+0
| |
* | (api): inital emojis route implementationLobo Metalúrgico2021-10-081-0/+78
|/
* :sparkles: added autoJoin guild to configFlam3rboy2021-10-051-70/+7
|
* :bug: fix guild create with client templateFlam3rboy2021-10-051-21/+17
|
* :bug: fix guild template createFlam3rboy2021-09-251-13/+15
|
* :sparkles: generate openapi documentationFlam3rboy2021-09-211-2/+2
|
* Merge branch 'master' into unittestsFlam3rboy2021-09-203-15/+4
|\
| * :bug: fix .delete -> add onDelete: "CASCADE"Flam3rboy2021-09-201-11/+1
| |
| * :truck: move handleFile to cdnFlam3rboy2021-09-192-5/+3
| |
| * :bug: fix guild create iconFlam3rboy2021-09-181-1/+2
| |
* | :pencil: add default route description to all routesFlam3rboy2021-09-182-2/+2
|/
* :bug: fix body parse treating null not as undefined (except for icons/avatars)Flam3rboy2021-09-173-6/+6
|
* :bug: fix vanity urlFlam3rboy2021-09-161-3/+4
|
* Revert "fix #129"Flam3rboy2021-09-161-17/+0
| | | | This reverts commit ae140801c51bec5eac98c2e19d325276d6bec890.
* Revert ":construction: webhook"Flam3rboy2021-09-161-10/+0
| | | | This reverts commit f691aa4c5aa47c8a8085c7b01912a1c403ce8732.
* :construction: webhookFlam3rboy2021-09-141-0/+10
|
* fix #129Flam3rboy2021-09-141-0/+17
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-09-142-6/+6
|\
| * Fix #356AlTech982021-09-132-6/+6
| |
* | :art: remove unused importsFlam3rboy2021-09-1311-31/+19
|/
* :bug: fix In() queryFlam3rboy2021-09-131-1/+1
|
* :sparkles: #307 doneFlam3rboy2021-09-1221-210/+251
|
* :construction: :sparkles: new body parser (bans route)Flam3rboy2021-09-121-15/+10
|
* :art: remove long relatives paths -> short module pathsFlam3rboy2021-09-1216-29/+28
|
* Added /guilds/:id/voice-states apisAlTech982021-09-042-0/+30
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-09-044-4/+5
|\
| * replace '@me' with req.user_id in guild joinxnacly2021-09-031-1/+2
| |
| * moved Constants and Errorhandler from api to utilxnacly2021-09-033-3/+3
| |
* | :bug: api member add roles -> make sure that roles existFlam3rboy2021-09-041-8/+7
| |
* | :bug: fix invitesFlam3rboy2021-09-041-2/+2
|/
* :bug: fix #311Flam3rboy2021-09-032-3/+15
|
* :bug: fix member roles + listFlam3rboy2021-09-032-10/+6
|
* :sparkles: guild position updateFlam3rboy2021-09-032-8/+37
|
* :bug: fix member + member listFlam3rboy2021-09-035-48/+47
|
* :bug: fix entity missing an id (replace .insert with new Entity().save)Flam3rboy2021-09-023-16/+19
|
* :sparkles: add user_id field to MemberFlam3rboy2021-09-025-8/+12
|
* :sparkles: use DiscordApiErrors and check limitsFlam3rboy2021-09-013-19/+32
|
* Merge branch 'typeorm' of https://github.com/fosscord/fosscord-api into typeormFlam3rboy2021-08-311-2/+7
|\
| * Implemented voice apis #127 and #78AlTech982021-08-301-2/+7
| |
* | Channel utility methods in entityFlam3rboy2021-08-311-2/+1
| |
* | fix member rolesFlam3rboy2021-08-313-4/+4
| |
* | :zap: use insert instead of saveFlam3rboy2021-08-311-22/+19
|/
* :construction: typeormFlam3rboy2021-08-303-50/+42
|
* :bug: convert bigint -> stringFlam3rboy2021-08-291-1/+1
|
* :sparkles: typeorm api rewrite doneFlam3rboy2021-08-2914-284/+178
|
* :construction: apiFlam3rboy2021-08-273-37/+42
|
* :construction: apiFlam3rboy2021-08-2416-154/+122
|
* :bug: fix vanity urlFlam3rboy2021-08-192-8/+24
|
* :bug: fix #267Flam3rboy2021-08-181-1/+1
|
* :bug: fix guild channel reorderFlam3rboy2021-08-181-15/+22
|
* :bug: fix findOneAndUpdateFlam3rboy2021-08-185-18/+12
|
* :bug: prevent @everyone role deletionFlam3rboy2021-08-151-7/+4
|
* :bug: fix guild create with channel templateFlam3rboy2021-08-141-1/+21
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-08-131-2/+2
|\
| * Fixed #257 Can't change nicknameIntevel ツ2021-08-131-2/+2
| |
* | rename @fosscord/server-util to -> @fosscord/utilFlam3rboy2021-08-1319-31/+34
|/
* :sparkles: apiFlam3rboy2021-08-1219-0/+1212