12 Commits

Author SHA1 Message Date
dependabot[bot]
a285f07d4c
Bump qs and express in /web/nodejs
Bumps [qs](https://github.com/ljharb/qs) to 6.11.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `qs` from 6.7.0 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.7.0...v6.11.0)

Updates `express` from 4.17.1 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 03:01:47 +00:00
dependabot[bot]
cbc98e8410
Bump node-fetch from 2.6.1 to 3.1.1 in /web/nodejs
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 13:58:06 +00:00
dependabot[bot]
8238e0f031
Bump node-fetch from 2.6.0 to 2.6.1 in /web/nodejs
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-13 04:56:07 +00:00
9f6d59424c
webhook is now affected by security setting 2020-09-03 03:42:45 +03:00
8ee1fc3542
Update .gitignore 2020-08-26 19:21:48 +03:00
2417ab8cdc
removed useless stuff 2020-08-26 19:21:14 +03:00
52d332450b
node webpart request security fix 2020-08-26 18:53:08 +03:00
06580802e1
nodejs webpart upload 2020-08-26 18:43:01 +03:00
7e38b859f4
slight reorganization
- request.php and send.php files moved to web/php/ directory

- updated readme info
2020-08-25 06:09:35 +03:00
147a39e67a useless code removed 2020-08-25 05:48:04 +03:00
RanchTheDeer
7b6059a117
Updated request.php to fix results not retrieving
All that has changed is the line:
$result = file_get_contents_utf8("https://discordapp.com/api/channels/" . $channel . "/messages?token=" . $token);
has been changed to:
$result = file_get_contents_utf8("https://discordapp.com/api/channels/" . $channel . "/messages?token=Bot%20" . $token);
due to the fact that the Discord API now requries the word "Bot" before providing the key in requests.
2020-07-31 19:40:40 +01:00
Alex
c25c198dc4 Web part upload
There are redirection PHP scripts to redirect Garry's Mod GET and POST requests to the Discord API. CloudFlare that uses Discord do not allows GMod browser to send GET and POST requests that is the reason you must use redirection. Just upload this files to your web-server and configure api links at /lua/autorun/server/discord.lua
2019-04-12 13:38:58 +03:00