1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-21 10:11:34 +02:00
Commit Graph

80 Commits

Author SHA1 Message Date
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
Flam3rboy
fb0a9df66c ⬆️ update lambert-server dependencies 2021-05-07 20:07:27 +02:00
Intevel ツ
df4d400ba6 Update package.json 2021-05-06 22:56:07 +02:00
Intevel ツ
abb1fee752 Update package.json 2021-05-05 21:28:36 +02:00
Intevel ツ
79a38a06d6 Revert "Updated fosscord-server-util"
This reverts commit 86aa67a258.
2021-05-05 21:27:30 +02:00
Intevel ツ
86aa67a258 Updated fosscord-server-util
New version of fosscord server util added
2021-05-05 21:27:14 +02:00
Intevel ツ
8ca3a050a0 Updated Fosscord Server util 2021-05-05 15:45:02 +02:00
Flam3rboy
babb5364a5 🐛 fix test client 2021-05-05 15:05:23 +02:00
Flam3rboy
0eb6c994ae 🎨 refactor to use easier permission api 2021-04-27 07:04:01 +02:00
Flam3rboy
0787a88946 ⬆️ update lambert-server 2021-04-26 21:49:52 +02:00
Flam3rboy
a328a2b01b 🐛 fix dev script 2021-04-25 23:40:32 +02:00
Flam3rboy
c2d696d66e added dev server 2021-04-25 23:35:19 +02:00
Flam3rboy
5dd97905ab 🎨 formatting files 2021-04-25 19:46:57 +02:00
Flam3rboy
d8f22c6819 🐛 add patch-package postinstall 2021-04-23 22:39:31 +02:00
Flam3rboy
c6e1511ae4 🐛 fix package 2021-04-23 22:24:52 +02:00
Flam3rboy
3e6d1103bc 🎨 clean up permission checks to use .hasThrow() 2021-04-23 00:15:38 +02:00
Flam3rboy
b40d6b825b npm i @fosscord/server-util 2021-04-22 23:37:07 +02:00
Flam3rboy
4b914bcd32 🎨 rename to -> @fosscord/server-util 2021-04-22 23:30:53 +02:00
Flam3rboy
4528a96ded prepare npm publish 2021-04-22 23:29:06 +02:00