29 Commits

Author SHA1 Message Date
Erkin Alp Güney
627e06f783 optional 2022-04-08 10:53:49 +03:00
Erkin Alp Güney
9b2976d6b1 add joined_by to allow for separate treatment of force-joiners 2022-04-08 10:53:05 +03:00
Erkin Alp Güney
99a5030530 Revert "Make member.premium_since ISO8601 timestamp" (#710)
This reverts commit f1caebe98dfcdeab3c0237f31d77c54e32a12471.
2022-04-04 18:22:37 +03:00
minhducsun2002
f1caebe98d Make member.premium_since ISO8601 timestamp 2022-03-28 17:22:41 +03:00
Xenorio
7d8b4b00ce Change premium_since to bigint 2022-03-08 22:42:40 +03:00
Madeline
4059a00044 Changing Member.premium_since back from Date to number fixes an error in the 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 )
2022-03-08 18:10:23 +03:00
Iratu
58d58928ec Fix for Premium Since to show the 'Guild Boost' and store it correctly in the database 2022-02-18 19:50:11 +03:00
Flam3rboy
68053418f3 User presence/status 2021-10-17 00:39:54 +02:00
Flam3rboy
b844b6b39c 🐛 fix prune 2021-10-15 00:35:18 +02:00
Maddy
d3853a3d7a added route /guilds/:id/prune GET count and POST prune.
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.
2021-10-13 19:19:46 +11:00
Flam3rboy
7b63016872 generalize primary column to work with mongodb object id 2021-10-04 22:43:51 +02:00
Flam3rboy
62f9b35185 🐛 fix .delete -> add onDelete: "CASCADE" 2021-09-20 20:22:56 +02:00
Flam3rboy
e9a8885282 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-04 11:26:47 +02:00
Flam3rboy
82341300fc 🐛 fix ready members payload 2021-09-04 11:25:40 +02:00
xnacly
94c96be0ee added ban check to Member.addToGuild 2021-09-03 21:31:45 +02:00
Flam3rboy
d5fcb7f971 🐛 fix #311 2021-09-03 15:27:00 +02:00
Flam3rboy
f83f4416b8 🐛 fix member has no roles in guild create 2021-09-03 13:10:24 +02:00
Flam3rboy
ea4201c6f7 🐛 fix client connection crash on guild create 2021-09-03 12:53:25 +02:00
Flam3rboy
d3179098bb fix #310 2021-09-03 05:17:49 +02:00
Flam3rboy
5dfff74881 🐛 fix#310 2021-09-03 05:03:46 +02:00
Flam3rboy
a374b0b11a 🎨 update entities 2021-09-03 03:38:19 +02:00
Flam3rboy
11af8531cc 🐛 fix entity missing an id (replace .insert with new Entity().save) 2021-09-02 21:31:44 +02:00
Flam3rboy
562a53d6bb add user_id field to Member 2021-09-02 19:50:05 +02:00
Flam3rboy
cba341a6d6 🐛 fix entity types and projection 2021-09-01 23:34:55 +02:00
Flam3rboy
3d929755fb delete _ids from entities 2021-08-31 17:54:09 +02:00
Flam3rboy
584d4a039c 🚧 typeorm 2021-08-30 12:15:06 +02:00
Flam3rboy
766dcc24aa update util 2021-08-29 00:03:58 +02:00
Flam3rboy
18deb1e4b0 use RelationId 2021-08-26 20:48:09 +02:00
Flam3rboy
1e5ed28514 typeorm entities 2021-08-24 16:34:46 +02:00