1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 22:52:41 +01:00
Commit Graph

143 Commits

Author SHA1 Message Date
Nobody
469e55fffa chore: fix package.json scripts
npx should be used to execute local package binaries
2022-07-19 10:20:36 +03:00
KaKi87
5adcd70a51 Use SPDX license syntax in 'package.json' files 2022-06-02 17:33:50 +02:00
Erkin Alp Güney
f09daaa3de needs to be async 2022-04-28 21:38:39 +03:00
TheArcaneBrony
63d9baa186 Try catch cpu log 2022-04-19 01:43:46 +02:00
TheArcaneBrony
1cc159348a Use 1 thread on platform where fetching thread/core count fails 2022-04-19 00:57:58 +02:00
Madeline
54ffd87e8e Fix typo in table 'client_relase' -> 'client_release' ( and other of the same typo ) (#703)
* Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo.

* Fixed migration ( but dirty lol )
2022-03-30 17:21:40 +03:00
dependabot[bot]
0458d62344 Bump minimist from 1.2.5 to 1.2.6 in /bundle
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 14:20:32 +00:00
Madeline
4ede702657 Fixed npm run tsnode throwing error about ES modules for node-fetch. Probably was api package.json still included node-fetch 3, but bundle still had v2 2022-03-06 10:52:19 +03:00
Madeline
68f6fe58d5 Tsnode support (#580)
* ts-node support. debugging is slightly wonky as vscode will not allow breakpoints in modules that aren't bundle, yet.

* apparently ts-node compilerOptions.path wasn't needed? on windows I could've sworn it was.

* Cleaned up tsconfig.json a bit ( moved tsnode config to own file ).
Fixed breakpoints for all modules under tsnode

* Removed Microsoft Corp advert
* Remove one more Microsoft Corp. ad

Signed-off-by: Erkin Alp Güney <erkinalp9035@gmail.com>

* Added `tsnode` npm script

* Added `typescript-cached-transpile` package to help improve performance

Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
2022-03-06 09:18:35 +03:00
Xenorio
70e0bd2003 Add nan to dependencies
sqlite requires it, setup not going through without it, and manual install isn't working. does work when adding to dependencies tho.
2022-03-04 09:15:07 +03:00
dependabot[bot]
2c8bdf26e4 Bump url-parse from 1.5.7 to 1.5.10 in /bundle
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 04:55:22 +00:00
Erkin Alp Güney
d5a37aadce Merge pull request #621 from fosscord/origin/dev/erkinalp/self-bans
Allow self-banning
2022-02-25 18:13:59 +03:00
dependabot[bot]
a5af14eddb Bump url-parse from 1.5.3 to 1.5.7 in /bundle
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-19 10:56:51 +03:00
dependabot[bot]
ff30109f9b Bump vm2 from 3.9.5 to 3.9.7 in /bundle (#634)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.5 to 3.9.7.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.7)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 08:02:19 +03:00
Erkin Alp Güney
340c0d7899 Merge branch 'master' into origin/dev/erkinalp/self-bans 2022-02-04 23:43:31 +03:00
Erkin Alp Güney
7944ae3242 automated security fixes applied (#619) 2022-02-04 23:14:48 +03:00
Erkin Alp Güney
9b3942dcfd attempt to fix self-bans 2022-02-04 10:07:02 +03:00
TheArcaneBrony
db0392d688 Speed up setup by not installing optional packages (#605)
Only downside is no db engines are included by default, removing compile time for packages like sqlite3.
2022-01-24 15:25:00 +03:00
Madeline
108829140a revert dependabot PRs that update node-fetch to v3 2022-01-24 17:06:31 +11:00
dependabot[bot]
e4d8e29bb6 Bump node-fetch from 2.6.5 to 2.6.7 in /bundle
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.5 to 2.6.7.
- [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.5...v2.6.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-23 07:46:26 +03:00
Chris Chrome
aaf5df14e1 Add Role Icons (#574)
* Role Icons

Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com> 
*  Cache coherency rules

Co-authored-by: MANIKILLER <manikillrorg@gmail.com>
Co-authored-by: ImAaronFR <96433859+ImAaronFR@users.noreply.github.com>
2022-01-05 13:44:14 +03:00
Chris Chrome
78b33a8b7a Merge pull request #553 from TheArcaneBrony/master
Remove fs-extras, add Sentry support, fix compile errors, fix some typos
2021-12-26 13:38:25 -05:00
Erkin Alp Güney
6136cd85f2 Fix the casing
Co-authored-by: TheArcaneBrony<myrainbowdash949@gmail.com>
2021-12-26 20:26:15 +03:00
The Arcane Brony
07768ecb68 Add env name in sentry, set default sentry endpoint 2021-12-26 18:19:31 +01:00
The Arcane Brony
579515f67c Restore package locks 2021-12-26 16:41:22 +01:00
ImAaronFR
37c31f647d Fixed mistype
Pre-relase ----> Pre-Release
2021-12-26 18:36:46 +03:30
unknownPerson115
cf99b95c3d Updated Server.ts
Added what to do if 'SIGTERM' is sent to the server for the `/stop` API route
2021-12-25 21:04:56 +00:00
The Arcane Brony
e042db33b6 Replace nanocolors with picocolors 2021-12-25 12:09:48 +01:00
The Arcane Brony
a9a92ff2cb Add Sentry, fix compile errors 2021-12-22 18:43:39 +01:00
The Arcane Brony
a12c372f04 Improve build scripts, strip more fs-extras 2021-12-21 21:49:58 +01:00
The Arcane Brony
02235067f9 Repo cleanup, remove fs-extras 2021-12-21 11:56:33 +01:00
Thesourtimes
98860e2eae Minor API work 2021-12-05 21:53:58 +03:00
The Arcane Brony
8146eb082e Fix dependencies 2021-11-11 22:32:46 +01:00
The Arcane Brony
2941181430 Global prettierrc, format build.js 2021-11-11 22:24:44 +01:00
The Arcane Brony
d57cd783ac Add plugin & css support, add styling to differentiate from discord.com 2021-11-11 22:24:03 +01:00
Thesourtimes
4e795a1415 minor capitulation 2021-11-11 11:31:03 +03:00
Thesourtimes
c33672058d API versions 6 & 7 with minor logging additions 2021-11-10 19:44:11 +03:00
Thesourtimes
b7d2467ca2 Added phase numbers to build 2021-11-10 19:35:28 +03:00
Flam3rboy
c812026527 ⬆️ update packages 2021-10-24 12:59:25 +02:00
Flam3rboy
64df9e49a0 Merge branch 'master' of http://github.com/fosscord/fosscord-server 2021-10-24 12:44:16 +02:00
KagurazakaNyaa
1e3aba2422 Proxy support for external network access 2021-10-24 02:17:07 +08:00
Flam3rboy
7f51408e0e 🐛 delay worker thread start 2021-10-22 23:42:00 +02:00
developomp
b5c0ee7f30 prettier formatted /bundle 2021-10-20 09:11:12 +09:00
Flam3rboy
01fb2dbf4d use better-sqlite3 as default db 2021-10-18 22:55:54 +02:00
Flam3rboy
4bae3909e3 🐛 fix types + prod env 2021-10-18 21:10:03 +02:00
Flam3rboy
45efdb7ce4 vertically scale bundle 2021-10-18 17:38:31 +02:00
Flam3rboy
dc22db6902 Revert "fix: make the CDN build correctly"
This reverts commit 79aae987fd.
2021-10-18 14:38:34 +02:00
Diego Magdaleno
648c9b738c Merge branch 'docker-fix' of https://github.com/hbjydev/fosscord-server into hbjydev-docker-fix 2021-10-17 16:51:17 -05:00
Hayden Young
79aae987fd fix: make the CDN build correctly 2021-10-17 11:55:54 +00:00
Flam3rboy
4aeb7b3b4a ⬆️ update sqlite3 2021-10-17 01:39:41 +02:00