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

98 Commits

Author SHA1 Message Date
Flam3rboy
0e3eed6a23 npm i @fosscord/server-util@1.3.40 2021-08-07 21:13:48 +02:00
Flam3rboy
c396fac204 🎨 add handleFile() 2021-08-07 19:15:48 +02:00
Flam3rboy
c24e921b28 🐛 fix gateway endpoint 2021-08-07 16:46:53 +02:00
Flam3rboy
6789ef3eea npm i @fosscord/server-util@1.3.37 2021-08-07 10:38:09 +02:00
Flam3rboy
c84b1e8763 npm i @fosscord/server-util@1.3.36 2021-08-07 10:28:24 +02:00
Paul Munteanu
56f5c7577e
[NPM] Add canvas to package.json 2021-07-28 04:56:07 +03:00
Paul Munteanu
e1b2b96821
Fix docker builds 2021-07-28 01:55:59 +03:00
Paul Munteanu
2823e3d947
Bump server-util version to 1.3.35 2021-07-28 01:51:22 +03:00
Diego Magdaleno
3fe2c8bfa8 npm i @fosscord/server-util@1.32 2021-07-21 15:54:00 -05:00
Flam3rboy
2fefd17471 fix guild create 2021-07-19 22:46:19 +02:00
Flam3rboy
11ded12204 🔊 fix log 2021-07-18 19:49:10 +02:00
Flam3rboy
ba0e2bca03 🐛 remove bin from package.json 2021-07-16 17:08:14 +02:00
Flam3rboy
e70cdfe282 🎨 clean up bundle script 2021-07-11 11:05:09 +02:00
Flam3rboy
2669b61a27 use caxa for bundling 2021-07-11 09:09:37 +02:00
Flam3rboy
c22fe86c46 bundle exectuable 2021-07-10 19:01:53 +02:00
Flam3rboy
9c6a33c9d9 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-07-10 18:05:12 +02:00
Flam3rboy
f5b301a161 findOne auto throws error if it doesn't exist' 2021-07-10 18:05:11 +02:00
Joaquim Peixoto
3ee963950d
UPDATE BCRYPT
FROM 3.0.0 to 5.0.0
https://www.npmjs.com/package/@types/bcrypt
2021-07-09 18:41:12 +01:00
Flam3rboy
52ba4982be 🚧 pkg binary bundle 2021-07-08 11:05:12 +02:00
Flam3rboy
5150f07b57 ⬆️ update server-util 2021-07-07 15:39:38 +02:00
Flam3rboy
c3c8026041 route specific rate limits 2021-07-01 21:27:46 +02:00
Flam3rboy
79e1adc5ce finished Rate Limit 2021-07-01 11:16:13 +02:00
Flam3rboy
efc522a0c6 🚧 rate limit 2021-07-01 09:33:54 +02:00
Flam3rboy
14a31ad143 🚧 rate limit 2021-06-28 18:43:50 +02:00
Flam3rboy
e542df3377 🐛 fix ip address lookup 2021-06-27 23:51:30 +02:00
Flam3rboy
3f7e8296d0 v9 2021-06-27 23:30:36 +02:00
Flam3rboy
ea676ddd03 🔒 register proxy ip check 2021-06-27 23:14:13 +02:00
Umimaso
f10df31f5c feat: add widget endpoints
Implemented the four widget related endpoints of the api. Partial user
object being returned as part of the widget.json endpoint [1] is an
intentional choice related to privacy [2].

The widget.json endpoint will require additional changes upon completion
of other work. Member details will need to return extra key/values for
connected users to voice channels. An additional avatar_url value will
hold an unique avatar url for the user + guild, fetched via a CDN
endpoint widget-avatars.

New dependencies `canvas` and `image-size`. Canvas is used to create the
widget.png endpoint image [3]. Image-size is used to set the canvas'
size to match the widget template images.

Use regex in determining if a NO_AUTHORIZATION_ROUTES is hit or not.

[1] https://discord.com/developers/docs/resources/guild#get-guild-widget
[2] https://github.com/discord/discord-api-docs/issues/1287
[3] https://discord.com/developers/docs/resources/guild#get-guild-widget-image

Closes: #9, #110
2021-06-19 14:50:11 +01:00
Flam3rboy
cbe60955b4 Guild invites 2021-06-02 19:22:22 +02:00
Flam3rboy
491565aef8 add explicit types to req and res 2021-05-31 21:03:09 +02:00
Flam3rboy
536900d255 🚧 dm channels 2021-05-31 20:32:23 +02:00
Flam3rboy
ea58f5b535 npm i @fosscord/server-util@1.3.14 2021-05-30 22:14:19 +02:00
Flam3rboy
abfe9b03cd 🐛 fix empty author 2021-05-30 22:12:46 +02:00
Flam3rboy
5aaf803837 ⬆️ npm i @fosscord/server-util@1.3.13 2021-05-30 17:06:14 +02:00
Flam3rboy
f60d929cc3 ⬆️ npm i @fosscord/server-util@1.3.12 2021-05-30 16:46:20 +02:00
Flam3rboy
e34e30dbb9 ⬆️ npm i @fosscord/server-util@1.3.11 2021-05-30 01:46:32 +02:00
Flam3rboy
d61bbe8293 message attachments 2021-05-30 01:44:09 +02:00
Flam3rboy
1383911771 automatically embed links in message 2021-05-28 22:40:34 +02:00
Flam3rboy
c2eecb9500 ⬆️ npm i @fosscord/server-util@1.3.5 2021-05-26 13:31:06 +02:00
Flam3rboy
11d65e42be npm i @fosscord/server-util@1.3.3 2021-05-25 01:11:18 +02:00
Flam3rboy
bd32d183b6 npm i @fosscord/server-util@1.3.2 2021-05-24 20:48:35 +02:00
Diego Magdaleno
28424ed950 Fix: No more type casting required, rather take the gernics 2021-05-23 13:43:38 -05:00
Diego Magdaleno
55cf3b4b02 Update: Update fosscord-server-util to latest and fix issues with NULL and undefined 2021-05-23 12:44:02 -05:00
Diego Magdaleno
ff7985ad7d Config: Final config additons, now everything should work as desired 2021-05-22 18:51:46 -05:00
Diego Magdaleno
e4a4759e97 Fix merge issues, update to reflect config changes and package.json 2021-05-22 15:55:45 -05:00
Diego Magdaleno
e3f6a29df7 Config: First rewrite of config and working implementation of getting values 2021-05-19 20:39:31 -05:00
Intevel ツ
0dca4700fb @fosscord/server-util@1.1.5 2021-05-08 16:47:54 +02:00
Intevel ツ
8918103884 fosscors-server-util@1.1.4 2021-05-08 14:57:49 +02:00
Intevel ツ
7e27fbf721 fosscord-server-util@1.1.3 2021-05-08 14:36:15 +02:00
Intevel ツ
49027abd0b serverutil version 2021-05-08 13:03:59 +02:00