1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 06:32:36 +01:00
Commit Graph

147 Commits

Author SHA1 Message Date
xnacly
2d7e6a5081 updated invite model 2021-04-08 17:54:53 +02:00
notsapinho
e8c097ef27 added toBigInt and BigInt getters to bitfields 2021-04-08 11:43:26 -03:00
xnacly
f01fe1ba3a Merge branch 'main' of https://github.com/fosscord/fosscord-server-util 2021-04-08 15:56:11 +02:00
xnacly
9e7963824a added hasThrow 2021-04-08 15:56:09 +02:00
Flam3rboy
4fc964f14e Merge branch 'main' of https://github.com/discord-open-source/discord-server-util into main 2021-04-07 20:26:21 +02:00
Flam3rboy
a6d82b466f use mongoose autopopulate 2021-04-07 20:26:19 +02:00
notsapinho
3b6038b672
Update Guild.ts 2021-04-07 14:45:54 -03:00
Flam3rboy
25d901e8e1 getPermission use cache 2021-04-07 15:54:27 +02:00
Flam3rboy
084c396e8d fix toObject type 2021-04-07 04:01:47 +02:00
Flam3rboy
f48127f8a4 🐛 fix lean not working with virtuals 2021-04-07 03:02:13 +02:00
Flam3rboy
011251868d Merge branch 'main' of https://github.com/discord-open-source/discord-server-util into main 2021-04-06 23:55:26 +02:00
Flam3rboy
e683073549 ⬆️ update mongodb 2021-04-06 23:25:11 +02:00
Flam3rboy
7d9cc0efbf 🎨 remove _id and __v from response 2021-04-06 22:06:53 +02:00
afeuerstein
49f931197c resolve deprecation warnings 2021-04-06 21:33:09 +02:00
Flam3rboy
41e7268947 🐛 fix Message Model 2021-04-06 20:24:58 +02:00
Flam3rboy
3205dc6f60 remove date_of_birth as discord only saves if someone is older than 18 years (nsfw_allowed) 2021-04-06 18:05:22 +02:00
Flam3rboy
7685e19835 🎨 Convert id bigint to string 2021-04-06 18:01:49 +02:00
Flam3rboy
79c4fd55fc 🐛 fix User Model guilds 2021-04-06 17:06:00 +02:00
Flam3rboy
6fbfcac1ba add date of birth to user 2021-04-06 04:30:24 +02:00
Flam3rboy
770b07400e revert guilds in user_data 2021-04-06 04:04:14 +02:00
Flam3rboy
e5f408be08 🐛 fix Database 2021-04-06 03:56:19 +02:00
Flam3rboy
35be87b867 save private data in user.user_data 2021-04-06 03:56:08 +02:00
Flam3rboy
75b690600d add Guild virtual fields 2021-04-06 03:55:46 +02:00
Flam3rboy
1def5ff09f 🐛 fix Ready event 2021-04-06 03:55:25 +02:00
Flam3rboy
10203787a3 🐛 fix Activity Model 2021-04-06 03:55:04 +02:00
Flam3rboy
a888147dfc export ReadyEventData 2021-04-05 22:33:01 +02:00
Flam3rboy
4d6fd4634f Event Enum 2021-04-05 22:28:51 +02:00
Flam3rboy
9d06aa09bf 🎨 Message 2021-03-27 21:51:45 +01:00
Flam3rboy
f22b6d3f0b 🎨 update Message timestamp to use Date 2021-03-27 21:25:49 +01:00
Flam3rboy
dce4027928 changed number to date type 2021-03-08 18:41:31 +01:00
Flam3rboy
514afaca69 AuditLog 2021-03-04 21:59:49 +01:00
Flam3rboy
ce01628650 AuditLog 2021-03-04 10:08:55 +01:00
Flam3rboy
18498d6515 🎨 getPermission() default opts 2021-03-04 09:28:17 +01:00
Flam3rboy
d85701a5b7 🎨 getPermission cache 2021-03-03 21:24:34 +01:00
Flam3rboy
0df97867bb 🚧 custom permissions 2021-03-03 21:16:20 +01:00
Flam3rboy
3bdbd9340e 🐛 fix populate. finally 😅 2021-02-23 21:59:22 +01:00
Flam3rboy
371a568596 [Member] fix -> make id required 2021-02-22 22:15:40 +01:00
Flam3rboy
92a6c981ce MemberModel add virtual user field 2021-02-22 21:30:38 +01:00
Flam3rboy
2f7230e5d5 Custom Permission 2021-02-22 17:34:14 +01:00
Flam3rboy
dae8843ccb Fix Member Model 2021-02-22 17:34:09 +01:00
Flam3rboy
c058020a7c 🐛 fix Permission BitField 2021-02-22 08:20:42 +01:00
Flam3rboy
0ab57bb6cd 🐛 fix ban Model Schema 2021-02-21 22:52:41 +01:00
Flam3rboy
beb269f9c2 🐛 fix Event model 2021-02-21 22:45:26 +01:00
xnacly
de5009cdad updated InviteModel 2021-02-21 19:09:37 +01:00
xnacly
5db5573296 fixed typo in Ban.ts 2021-02-21 19:09:27 +01:00
Intevel ツ
5aee359cf3 BanModel Update
I edited the ban scheme and added a new value
2021-02-21 12:24:02 +01:00
Flam3rboy
c3c6d9ac39 Ban Model 2021-02-19 15:34:32 +01:00
Flam3rboy
64ab9e049a 🙈 revert changes 2021-02-17 19:00:26 +01:00
Flam3rboy
5bfa6f4b53 UserModel remove guild bigint array -> instead use MemberModel 2021-02-17 18:35:15 +01:00
Flam3rboy
20660444fd 🐛 fix Mongodb BigInt 2021-02-16 21:40:58 +01:00
Flam3rboy
57746da872 🐛 fix database 2021-02-16 21:16:56 +01:00
Flam3rboy
7e25f67878 🐛 fix database 2021-02-16 20:59:31 +01:00
Flam3rboy
b5b6f7b559 🐛 fix Message Model 2021-02-16 20:04:38 +01:00
Flam3rboy
ce2567bbbd 🐛 fix Config 2021-02-16 14:04:40 +01:00
Flam3rboy
7dda31a10d 🐛 fix2 Message Model 2021-02-16 11:19:25 +01:00
Flam3rboy
637cfa6010 🐛 fix message model 2021-02-16 11:14:19 +01:00
Flam3rboy
637a19bd20 🐛 fix message model 2021-02-15 22:38:41 +01:00
Flam3rboy
b1439c7ac3 🐛 fix guild model 2021-02-14 21:58:37 +01:00
Flam3rboy
775296d004 🐛 fix Event type 2021-02-14 20:41:40 +01:00
Flam3rboy
2859daeba8 🐛 fix permission 2021-02-14 20:24:39 +01:00
Flam3rboy
86700f88ab 🐛 fix public member type 2021-02-14 20:16:49 +01:00
Flam3rboy
7363f243ad 🐛 fix PermissionResolvable 2021-02-14 00:45:23 +01:00
Flam3rboy
35285fa993 🐛 fix Permissions type declaration 2021-02-14 00:32:24 +01:00
Flam3rboy
8e84d39c7f getPermission util function 2021-02-14 00:30:07 +01:00
Flam3rboy
52964aed06 🎨 Channel + Member + Message + Role in separate collection 2021-02-13 23:57:02 +01:00
Flam3rboy
4125b7810d 🐛 export MongooseCache 2021-02-13 21:52:06 +01:00
Flam3rboy
54542ef34f Config init takes default opts 2021-02-13 14:18:19 +01:00
Flam3rboy
a44da1024d Config and database update 2021-02-13 14:15:59 +01:00
Flam3rboy
8595646b72 mongoose Schemas 2021-02-13 09:30:21 +01:00
Flam3rboy
f572c7142b move guild arrays into seperate collections 2021-02-12 15:13:02 +01:00
Flam3rboy
6a1d196565 🐛 fix export 2021-02-12 11:42:43 +01:00
Flam3rboy
7f24f0894b 🐛 can not override event -> update events 2021-02-12 11:27:09 +01:00
Flam3rboy
1f7ebe256e updated other models 2021-02-11 20:44:12 +01:00
Flam3rboy
b601263099 Event model 2021-02-11 20:43:51 +01:00
Flam3rboy
1767bf10d0 🐛 fix member model 2021-02-11 08:33:02 +01:00
Flam3rboy
3d54ed4762 fix models + move schemas in api and gateway 2021-02-10 20:59:58 +01:00
Flam3rboy
b2e3df59d3 export event 2021-02-10 14:16:04 +01:00
xnacly
def655c738 added missing optional types 2021-02-09 19:29:26 +01:00
xnacly
16a01111b8 added missing exports (guildschema) 2021-02-09 19:15:08 +01:00
xnacly
1857e78089 added guild schema 2021-02-09 19:06:26 +01:00
Flam3rboy
800163a913 Event Model 2021-02-08 16:29:36 +01:00
Flam3rboy
451d2c3611 ⬆️ bump lambert-db 2021-02-08 15:39:46 +01:00
Flam3rboy
1b5e487ce0 add guilds array to user model 2021-02-06 21:36:37 +01:00
Flam3rboy
71ace90f07 🐛 fix identify schema 2021-02-06 17:08:33 +01:00
Flam3rboy
84d714324a Schema interfaces 2021-02-06 15:35:02 +01:00
Flam3rboy
81b59c4012 update missing-native-js-functions version 2021-02-06 10:06:57 +01:00
Flam3rboy
6ab626fc0d convertBigIntToString 2021-02-06 09:20:07 +01:00
Flam3rboy
047066aca9 🐛 export files and classes 2021-02-05 22:05:03 +01:00
Flam3rboy
ea41892fef 🔧 build 2021-02-05 22:01:01 +01:00
Flam3rboy
9b7f4e2b66 Move Models/Schemas to server-util 2021-02-05 21:55:07 +01:00
Flam3rboy
7e3d6d1d9d 🐛 make default options optional 2021-02-05 16:20:34 +01:00
Flam3rboy
996878cbe3 🎨 rename Database -> db 2021-02-05 16:14:17 +01:00
Flam3rboy
641f817fde 🎨 export functions 2021-02-05 15:33:42 +01:00
Flam3rboy
f44d93d534 🎉 init 2021-02-05 15:19:44 +01:00
Flam3rboy
aa8710c337 Database 2021-02-05 15:19:37 +01:00
Flam3rboy
d4a89cae8a Config 2021-02-05 15:19:32 +01:00
Flam3rboy
9b3209efd5 checkToken 2021-02-05 15:19:24 +01:00