summary refs log tree commit diff
path: root/util/src/entities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Relax some of the limitsErkin Alp Güney2022-07-091-18/+17
|
* * Make max website preview download size for embeds configurableMadeline2022-07-091-0/+2
| | | | * Fix Message.update call throwing 'Cannot query across one-to-many for property attachments'
* Respect register_dateOfBirth_required = falseMadeline2022-05-301-1/+1
|
* Extended settings will not be type checkedErkin Alp Güney2022-05-151-1/+1
|
* Extended settingsErkin Alp Güney2022-05-151-0/+5
|
* Update AuditLog.tsErkin Alp Güney2022-05-151-1/+3
|
* user groupsErkin Alp Güney2022-05-151-0/+33
|
* more event typesErkin Alp Güney2022-05-101-4/+54
|
* Forum and guild directory typesErkin Alp Güney2022-04-271-0/+2
|
* Update Message.tsErkin Alp Güney2022-04-231-1/+1
|
* self commands and /me messagesErkin Alp Güney2022-04-231-1/+3
|
* text+voice code is already thereErkin Alp Güney2022-04-221-1/+0
|
* Can no longer send messages to channel types that do not support it ( ↵Madeline2022-04-231-0/+11
| | | | categories, voice etc )
* Update UserGroup.tsErkin Alp Güney2022-04-211-7/+0
|
* user groups - first stepsErkin Alp Güney2022-04-211-0/+44
|
* Update Guild.tsErkin Alp Güney2022-04-101-4/+8
|
* bug fix1itt1eB0y2022-04-091-1/+1
| | | Fix `QueryFailedError: constraint "FK_05535bc695e9f7ee104616459d3" for relation "messages" already exists`
* Resolves #715Madeline2022-04-091-1/+1
|
* Update User.tsErkin Alp Güney2022-04-091-7/+7
|
* optionalErkin Alp Güney2022-04-081-2/+2
|
* add joined_by to allow for separate treatment of force-joinersErkin Alp Güney2022-04-081-2/+11
|
* with public read receipts explicitly stored, no need to store manual flag of ↵Erkin Alp Güney2022-04-071-1/+2
| | | | the read mark
* User Notes (#707)Madeline2022-04-051-0/+4
| | | | | | | | * Notes implementation. Bug: Client does not save note locally after uploading to server. Client does save after reloading page. Is this due to the response being sent by PUT? * I don't know why the client doesn't do optimistic UI updates with this, or any updates at all without reloading the page * Added USER_NOTE_UPDATE event, thanks @TheRealGeoDash2019 !
* Revert "Make member.premium_since ISO8601 timestamp" (#710)Erkin Alp Güney2022-04-041-3/+3
| | | This reverts commit 093ae5558007031253b5dadb5a5be96dd265683d.
* Add our custom channel typesErkin Alp Güney2022-04-031-1/+5
|
* More message typesErkin Alp Güney2022-04-021-0/+7
|
* first steps for E2EE support — channel security settings eventErkin Alp Güney2022-04-021-0/+35
|
* Fix typo in table 'client_relase' -> 'client_release' ( and other of the ↵Madeline2022-03-303-8/+8
| | | | | | | same typo ) (#703) * Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo. * Fixed migration ( but dirty lol )
* Make member.premium_since ISO8601 timestampminhducsun20022022-03-281-3/+3
|
* fix the conditionalErkin Alp Güney2022-03-231-1/+1
|
* A few channels on channelsErkin Alp Güney2022-03-231-12/+19
| | | | | - Added a field for retention policies (progress towards #164) - Allowed note to self channels - Added the UNHANDLED type
* close issue #684Erkin Alp Güney2022-03-141-2/+2
|
* Change premium_since to bigintXenorio2022-03-081-2/+2
|
* Changing Member.premium_since back from Date to number fixes an error in the ↵Madeline2022-03-081-1/+1
| | | | | Discord electron client related to rendering premium status. (#669) Client throws "Invalid time value", so I'm guessing it's something to do with premium_since not being the date format they want ( allegedly ISO8601, but works with a plain number, so wtf )
* fix(util): working invisible status typeNobody2022-03-081-1/+1
|
* Revert "Type change"RealMANI2022-03-081-1/+1
| | | | This reverts commit ec8d8e43c5de13c560c1c4038a24e2726601fe47.
* Type changeRealMANI2022-03-071-1/+1
| | | | | Changed type for column "content" to "longtext" (you might want to get a back up from your database before updating)
* document which field is whichErkin Alp Güney2022-03-041-1/+4
|
* Initial work on public read receiptsErkin Alp Güney2022-03-041-0/+6
| | | Progress on #416
* changed user.premium_since to also load from the database.Iratu2022-02-181-0/+5
|
* Fix for Premium Since to show the 'Guild Boost' and store it correctly in ↵Iratu2022-02-181-2/+2
| | | | the database
* Merge pull request #608 from Featyre/masterErkin Alp Güney2022-02-165-41/+64
|\ | | | | Branding updates + Fixed Discovery and custom status + Dev portal
| * Return none for dev portal + todo for categoriesFeatyre2022-02-022-0/+4
| |
| * Fix primarycolum being assigned to nullable = trueFeatyre2022-02-021-1/+1
| |
| * make everything in categories nullableFeatyre2022-02-021-3/+3
| |
| * Merge branch 'fosscord:master' into masterFeatyre2022-02-011-2/+4
| |\
| * | A few minor changesErkin Alp Güney2022-01-271-10/+9
| | |
| * | Dev portal + categories load dbFeatyre2022-01-261-3/+3
| | |
| * | Prep for Category db workFeatyre2022-01-241-5/+1
| | |
| * | category + discovery + custom status fix, new configFeatyre2022-01-243-12/+15
| | |
| * | Merge branch 'fosscord:master' into masterFeatyre2022-01-241-332/+357
| |\ \
| * | | Partial integration of categories and discoveryFeatyre2022-01-234-22/+43
| | | |
* | | | [Fix] Column "groups" contains null-values (#622)ImAaronFR2022-02-081-1/+1
| |_|/ |/| |
* | | Merge pull request #555 from unknownPerson115/patch-1Erkin Alp Güney2022-01-241-2/+4
|\ \ \ | |_|/ |/| | Fixed potential guild message SQL constraints
| * | Fixed potential guild message SQL constraintsunknownPerson1152021-12-231-2/+4
| | | | | | | | | | | | | | | | | | i have tied member dependencies to the author id rather than the member id to avoid a dependency cycle and you can now kick/ban someone from a guild/server and the messages will remain in the guild (just like discord) as stated in issue #441 I have also tested this code seems clean so far (new pull request opened because of branch commit issues)
* | | * Replaced list of invisible characters with unicode codepointsMadeline2022-01-231-8/+10
| | | | | | | | | | | | | | | * No longer silently edit invalid channel names * No longer trim channel names in unnamed check
* | | channel.owner_id is type string not numberMadeline2022-01-231-1/+1
| | |
* | | Apply suggestions from code reviewMadeline2022-01-231-2/+4
| | | | | | | | | Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
* | | Update Channel.tsErkin Alp Güney2022-01-231-4/+7
| | |
* | | Added `ILLEGAL_CHANNEL_NAMES` and `NULL_CHANNEL_NAMES` guild feature flagsMadeline2022-01-231-332/+350
| |/ |/|
* | update defaultsErkin Alp Güney2022-01-121-7/+7
| |
* | Update Guild.tsErkin Alp Güney2022-01-121-0/+1
| |
* | Schema change for group specific emojisErkin Alp Güney2022-01-121-1/+4
| |
* | Add Role Icons (#574)Chris Chrome2022-01-052-0/+8
| | | | | | | | | | | | | | | | | | * 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>
* | Incrementing user discriminatorsDaniel Huber2022-01-042-16/+35
| | | | | | | | Closes #328
* | Organize @fosscord/api utils in directoriesThesourtimes2022-01-012-1/+1
| |
* | Add env name in sentry, set default sentry endpointThe Arcane Brony2021-12-261-2/+5
| |
* | Add Sentry, fix compile errorsThe Arcane Brony2021-12-223-3/+13
|/
* General work on APIThesourtimes2021-12-183-1/+36
|
* Improvements + dummy API configsThesourtimes2021-12-181-0/+17
|
* Make the test client togglableThesourtimes2021-12-151-0/+6
|
* Update util/src/entities/Config.tsKuna2021-11-211-0/+2
| | | Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
* Update util/src/entities/Config.tsKuna2021-11-211-0/+2
| | | Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
* Fix the minor issues on routeThesourtimes2021-11-181-0/+2
|
* Add image fielduurgothat2021-11-171-1/+3
|
* Add instance routeuurgothat2021-11-171-0/+6
|
* make templates configurable + authorizationuurgothat2021-10-241-4/+2
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-serveruurgothat2021-10-243-3/+9
|\
| * Merge pull request #490 from developomp/masterSamuel2021-10-202-2/+2
| |\ | | | | | | Prettier format and link simplification
| | * prettier formatted /utildevelopomp2021-10-202-2/+2
| | |
| * | :bug: revert file config overwriteFlam3rboy2021-10-201-1/+7
| |/
* | external templates + fosscord draft and more configsuurgothat2021-10-181-2/+10
| |
* | Add discord template supportuurgothat2021-10-171-0/+6
|/
* Merge pull request #467 from hbjydev/fix-migration-column-issueSamuel2021-10-171-1/+1
|\ | | | | Fix migration timestamp column data type issue
| * fix: make timestamp column a bigintHayden Young2021-10-151-1/+1
| |
* | :bug: default session activitesFlam3rboy2021-10-171-1/+1
| |
* | :art: reformattedFlam3rboy2021-10-171-6/+11
| |
* | :sparkles: User presence/statusFlam3rboy2021-10-172-5/+33
|/
* :sparkles: automatically run db migrationsFlam3rboy2021-10-152-0/+19
|
* Merge branch 'master' into stickerFlam3rboy2021-10-151-0/+3
|\
| * :bug: fix pruneFlam3rboy2021-10-151-3/+2
| |
| * added route /guilds/:id/prune GET count and POST prune.Maddy2021-10-131-0/+4
| | | | | | | | | | 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-152-5/+1
| |
* | :bug: fix sticker packsFlam3rboy2021-10-151-4/+4
| |
* | :bug: fix message sticker sendingFlam3rboy2021-10-151-1/+1
| |
* | :sparkles: sticker uploadFlam3rboy2021-10-151-4/+9
| |
* | :sparkles: sticker db entitiesFlam3rboy2021-10-142-1/+49
|/
* :art: gifsFlam3rboy2021-10-111-11/+10
|
* Put local types backThe Arcane Brony2021-10-108-17/+17
|
* Change enums to numbersThe Arcane Brony2021-10-108-20/+17
|
* forgot to fix primary columns on invitesThe Arcane Brony2021-10-101-4/+4
|
* Fix duplicate keyThe Arcane Brony2021-10-102-8/+3
|
* :bug: fix Emoji missing in identifyFlam3rboy2021-10-101-1/+0
|
* :art: emoji db migrationFlam3rboy2021-10-101-1/+13
|
* Merge branch 'master' into pr/LoboMetalurgico/424Flam3rboy2021-10-105-67/+8
|\
| * :see_no_evil: remove console.logFlam3rboy2021-10-101-1/+0
| |
| * :art: clean up imports + classesFlam3rboy2021-10-105-67/+9
| |
* | Merge branch 'fosscord:master' into milestoneV1/routes/implement/emojisLobo Metalúrgico2021-10-091-6/+7
|\|
| * :sparkles: added read stateFlam3rboy2021-10-091-6/+7
| |
* | Merge remote-tracking branch 'upstream/master' into ↵Lobo Metalúrgico2021-10-091-0/+2
|\| | | | | | | milestoneV1/routes/implement/emojis
| * :sparkles: added guestsRequireInvite to configFlam3rboy2021-10-091-0/+2
| |
* | (api): inital emojis route implementationLobo Metalúrgico2021-10-081-0/+2
|/
* :bug: fix user projectionFlam3rboy2021-10-052-1/+2
|
* :sparkles: added autoJoin guild to configFlam3rboy2021-10-052-1/+91
|
* :sparkles: add User.register() methodFlam3rboy2021-10-051-9/+93
|
* :sparkles: db migrate scriptFlam3rboy2021-10-041-2/+1
|
* :sparkles: generalize primary column to work with mongodb object idFlam3rboy2021-10-045-16/+14
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-serverFlam3rboy2021-10-043-5/+17
|\
| * :bug: fix message reactionsFlam3rboy2021-10-031-4/+2
| |
| * :sparkles: User instance rightsFlam3rboy2021-10-031-1/+3
| |
| * Add setting to show all guilds in discovery, fix query for guild discoveryThe Arcane Brony2021-10-011-0/+8
| |
| * :bug: fix disable registerFlam3rboy2021-10-011-1/+1
| |
| * :sparkles: new user flagsFlam3rboy2021-10-011-0/+2
| |
| * fix #406Flam3rboy2021-10-011-0/+2
| |
* | :sparkles: custom user flags offsetFlam3rboy2021-10-041-0/+2
|/
* :bug: fix channel permission overwritesFlam3rboy2021-09-261-2/+2
|
* :sparkles: key value configFlam3rboy2021-09-251-11/+18
|
* :sparkles: add option to disable all rate limitsFlam3rboy2021-09-202-3/+3
|
* Merge pull request #382 from fosscord/auto-delete-relationsFlam3rboy2021-09-2022-87/+299
|\ | | | | Auto delete relations
| * :bug: fix .delete -> add onDelete: "CASCADE"Flam3rboy2021-09-2022-86/+152
| |
| * :sparkles: finish and fix .delete() for one-to-many relationsFlam3rboy2021-09-201-8/+9
| |
| * :construction: auto delete relationsFlam3rboy2021-09-202-12/+49
| |
| * Merge branch 'master' into auto-delete-relationsFlam3rboy2021-09-193-4/+121
| |\
| * | :art: add orphanedRowAction and cascade onDelete to entitiesFlam3rboy2021-09-193-20/+116
| | |
| * | :art: remove deleteMessageAttachments and move to entityFlam3rboy2021-09-191-1/+8
| | |
* | | :sparkles: accept invite pageFlam3rboy2021-09-202-4/+16
| |/ |/|
* | Removed ChannelService, more fixesAlTech982021-09-181-8/+116
| |
* | Fix icon, owner_id change and channel deletion for group DMsAlTech982021-09-171-2/+2
| |
* | Implemented DMs and group DMsAlTech982021-09-163-8/+12
|/
* Revert ":construction: webhook"Flam3rboy2021-09-161-3/+3
| | | | This reverts commit f691aa4c5aa47c8a8085c7b01912a1c403ce8732.
* :construction: webhookFlam3rboy2021-09-141-3/+3
|
* Fix attachments not being saved to dbAlTech982021-09-131-1/+1
|
* :bug: fix In() queryFlam3rboy2021-09-131-3/+11
|
* :bug: fix relationshipFlam3rboy2021-09-131-6/+24
|
* :bug: fix dm #321Flam3rboy2021-09-131-6/+6
|
* :bug: fix channel events + message sendFlam3rboy2021-09-131-0/+1
|
* Update User.tsFlam3rboy2021-09-071-0/+5
|
* :arrow_up: update test clientFlam3rboy2021-09-042-2/+1
|
* :pencil: added comments and updated typeFlam3rboy2021-09-041-0/+1
|
* Added missing permissions and channel typesAlTech982021-09-041-0/+4
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-09-042-2/+43
|\
| * readded todosxnacly2021-09-031-0/+37
| |
| * Revert "added big todo list to Guild.ts (big chungus)"xnacly2021-09-031-37/+1
| | | | | | | | This reverts commit 4a63e1560c07c938ec74f14e5076ec4e69de7ce6.
| * added big todo list to Guild.ts (big chungus)xnacly2021-09-031-1/+37
| |
| * added ban check to `Member.addToGuild`xnacly2021-09-031-2/+6
| |
* | :bug: fix ready members payloadFlam3rboy2021-09-042-2/+9
| |
* | :bug: fix invitesFlam3rboy2021-09-041-0/+2
|/
* Merge pull request #314 from AlTech98/masterFlam3rboy2021-09-031-2/+3
|\ | | | | Fix VoiceStateUpdate
| * Temp fix for Guild.voice_states not workingAlTech982021-09-031-2/+3
| |
| * Merge remote-tracking branch 'origin/master'AlTech982021-09-031-8/+23
| |\
| * | VoiceState fix for db updateAlTech982021-09-031-1/+1
| | |
* | | :bug: fix #311Flam3rboy2021-09-033-12/+16
| |/ |/|
* | :bug: fix member has no roles in guild createFlam3rboy2021-09-031-4/+6
| |
* | :bug: fix client connection crash on guild createFlam3rboy2021-09-031-4/+17
|/
* fix #310Flam3rboy2021-09-031-5/+5
|
* :bug: fix#310Flam3rboy2021-09-031-5/+21
|
* :bug: fix message sendingFlam3rboy2021-09-031-1/+1
|
* :art: update entitiesFlam3rboy2021-09-035-28/+43
|
* fix #309Flam3rboy2021-09-031-0/+2
|
* :bug: fix entity missing an id (replace .insert with new Entity().save)Flam3rboy2021-09-022-4/+4
|
* Merge branch 'master' of https://github.com/fosscord/fosscord-apiFlam3rboy2021-09-024-1/+55
|\
| * :art: reformat filesFlam3rboy2021-09-023-23/+31
| |
| * VOICE_STATE_UPDATE implementation, fix #210AlTech982021-09-024-1/+47
| |
* | :sparkles: add user_id field to MemberFlam3rboy2021-09-021-31/+32
|/
* :bug: fix entity types and projectionFlam3rboy2021-09-015-34/+57
|
* Added property maxWebhooks to ConfigValue and defined a default value in ↵sudenoh2021-09-011-0/+2
| | | | DefaultConfigOptions.
* Merge branch 'typeorm' of https://github.com/fosscord/fosscord-api into typeormFlam3rboy2021-08-312-3/+9
|\
| * Implemented voice apis #127 and #78AlTech982021-08-302-3/+9
| |
* | :sparkles: delete _ids from entitiesFlam3rboy2021-08-3125-216/+357
|/
* :construction: typeormFlam3rboy2021-08-305-19/+20
|
* :zap: only local rate limit to prevent to much pressure on the databaseFlam3rboy2021-08-301-2/+1
|
* :bug: convert bigint -> stringFlam3rboy2021-08-291-1/+1
|
* fix utilFlam3rboy2021-08-296-28/+26
|
* :sparkles: typeorm gatewayFlam3rboy2021-08-291-0/+1
|
* :sparkles: update utilFlam3rboy2021-08-2923-6424/+488
|
* :construction: typeormFlam3rboy2021-08-276-32/+545
|
* :sparkles: use RelationIdFlam3rboy2021-08-2621-82/+444
|
* :bug: fix unit testsFlam3rboy2021-08-261-2/+4
|
* :sparkles: unit testFlam3rboy2021-08-262-7/+9
|
* :sparkles: utilFlam3rboy2021-08-241-13781/+117
|
* :sparkles: typeorm entitiesFlam3rboy2021-08-2423-0/+21011