1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 10:52:31 +01:00
Commit Graph

141 Commits

Author SHA1 Message Date
Erkin Alp Güney
e1399b2875 needs to be async 2022-04-28 21:38:39 +03:00
TheArcaneBrony
573052f0c5
Try catch cpu log 2022-04-19 01:43:46 +02:00
TheArcaneBrony
96b3929fa4
Use 1 thread on platform where fetching thread/core count fails 2022-04-19 00:57:58 +02:00
Madeline
40f08ed76c
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]
296949786d
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
4b1f30ba43 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
6bcd9e8baa
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
dc9ec4f093 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]
c974737fbc
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
77c6dd5b65
Merge pull request #621 from fosscord/origin/dev/erkinalp/self-bans
Allow self-banning
2022-02-25 18:13:59 +03:00
dependabot[bot]
b03b787e60 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]
daf08cfde1
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
9940f342f9
Merge branch 'master' into origin/dev/erkinalp/self-bans 2022-02-04 23:43:31 +03:00
Erkin Alp Güney
7ba6b298bf
automated security fixes applied (#619) 2022-02-04 23:14:48 +03:00
Erkin Alp Güney
1b0a360125 attempt to fix self-bans 2022-02-04 10:07:02 +03:00
TheArcaneBrony
82ad769dff
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
e567755ab6
revert dependabot PRs that update node-fetch to v3 2022-01-24 17:06:31 +11:00
dependabot[bot]
3d59f949bc 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
26bea41048
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
565f3b9e5f
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
2d7d69853f
Fix the casing
Co-authored-by: TheArcaneBrony<myrainbowdash949@gmail.com>
2021-12-26 20:26:15 +03:00
The Arcane Brony
4518cacde1 Add env name in sentry, set default sentry endpoint 2021-12-26 18:19:31 +01:00
The Arcane Brony
78221fbdeb Restore package locks 2021-12-26 16:41:22 +01:00
ImAaronFR
b83fd52927
Fixed mistype
Pre-relase ----> Pre-Release
2021-12-26 18:36:46 +03:30
unknownPerson115
edcac833a8
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
9909e5a174 Replace nanocolors with picocolors 2021-12-25 12:09:48 +01:00
The Arcane Brony
252051b95a Add Sentry, fix compile errors 2021-12-22 18:43:39 +01:00
The Arcane Brony
cbd337701f Improve build scripts, strip more fs-extras 2021-12-21 21:49:58 +01:00
The Arcane Brony
d0cd5b7040 Repo cleanup, remove fs-extras 2021-12-21 11:56:33 +01:00
Thesourtimes
6e48883354 Minor API work 2021-12-05 21:53:58 +03:00
The Arcane Brony
433ae0d170 Fix dependencies 2021-11-11 22:32:46 +01:00
The Arcane Brony
06456cf727 Global prettierrc, format build.js 2021-11-11 22:24:44 +01:00
The Arcane Brony
ed133380fb Add plugin & css support, add styling to differentiate from discord.com 2021-11-11 22:24:03 +01:00
Thesourtimes
5e1d4ce4d7 minor capitulation 2021-11-11 11:31:03 +03:00
Thesourtimes
ac1d7fbbaf API versions 6 & 7 with minor logging additions 2021-11-10 19:44:11 +03:00
Thesourtimes
e0e888d066 Added phase numbers to build 2021-11-10 19:35:28 +03:00
Flam3rboy
f9187a6c0f ⬆️ update packages 2021-10-24 12:59:25 +02:00
Flam3rboy
8d6898d94d Merge branch 'master' of http://github.com/fosscord/fosscord-server 2021-10-24 12:44:16 +02:00
KagurazakaNyaa
8ded9a20f9 Proxy support for external network access 2021-10-24 02:17:07 +08:00
Flam3rboy
7be11027d1 🐛 delay worker thread start 2021-10-22 23:42:00 +02:00
developomp
53949bd737 prettier formatted /bundle 2021-10-20 09:11:12 +09:00
Flam3rboy
6299d45114 use better-sqlite3 as default db 2021-10-18 22:55:54 +02:00
Flam3rboy
cea121fe3f 🐛 fix types + prod env 2021-10-18 21:10:03 +02:00
Flam3rboy
f6b00d2fcd vertically scale bundle 2021-10-18 17:38:31 +02:00
Flam3rboy
70d0d11ffd Revert "fix: make the CDN build correctly"
This reverts commit 5fea8b21d1.
2021-10-18 14:38:34 +02:00
Diego Magdaleno
413d9d5060
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
5fea8b21d1 fix: make the CDN build correctly 2021-10-17 11:55:54 +00:00
Flam3rboy
6c46a46cf0 ⬆️ update sqlite3 2021-10-17 01:39:41 +02:00
Flam3rboy
6f0cf477c5 added benchmark 2021-10-17 00:40:26 +02:00
Flam3rboy
395835a937 ⬆️ update mnjsf 2021-10-16 21:48:57 +02:00