Commit Graph

167 Commits

Author SHA1 Message Date
TheArcaneBrony
d52d9c62fc Bunch of fixes and improvements, everything appears to work now 2022-08-09 23:28:27 +02:00
TheArcaneBrony
c70d15b564 Clean dependencies 2022-08-09 23:28:27 +02:00
TheArcaneBrony
29e88a440f Add migrations 2022-08-09 23:28:27 +02:00
TheArcaneBrony
365abc36dd Switch to migrations fully 2022-08-09 23:28:27 +02:00
TheArcaneBrony
cba3844c6f Resolve changes undone by rebasing from master 2022-08-09 23:28:27 +02:00
TheArcaneBrony
499cd2e8ff Fix ESM error caused by file-type 2022-08-09 23:28:27 +02:00
TheArcaneBrony
1a916f3a92 Do all minor updates since last commit, make another script 2022-08-09 23:28:27 +02:00
TheArcaneBrony
279ec10081 State update, havent tested 2022-08-09 23:28:27 +02:00
TheArcaneBrony
e33de09b6a update node types to v18, ditch node-fetch 2022-08-09 23:28:27 +02:00
TheArcaneBrony
4ccae56210 Update packages 2022-08-09 23:28:27 +02:00
Flam3rboy
14e0842dfb fix ts errors 2022-08-09 23:28:27 +02:00
TheArcaneBrony
e536fb2f72 replace all var with let (reduces warnings) 2022-08-09 23:28:27 +02:00
TheArcaneBrony
11dac13354 Merge pull request #818 from CE1CECL/master
Fix missing directory and modify old logos to the new ones.
2022-08-07 01:03:34 +02:00
ChrisEric1 CECL
7b87a6a25e Add erlpack dependency for bundle as well 2022-08-06 16:49:14 -04:00
TheArcaneBrony
8691dbfbae Make build script use parts, defined in utils.js 2022-08-06 15:34:05 +02:00
TheArcaneBrony
11227bb2b3 Update gitignore, push correct version of build script 2022-08-06 15:32:28 +02:00
TheArcaneBrony
fca4480c97 Add silent mode 2022-08-06 15:24:12 +02:00
TheArcaneBrony
d821536572 Add utility scripts 2022-08-06 15:08:19 +02:00
TheArcaneBrony
88916865ee Merge branch 'master' into 2fa 2022-08-06 02:33:12 +02:00
TheArcaneBrony
37a67dad3f Merge pull request #792 from fosscord/dev/local-cache
Add local disk caching for fetched assets
2022-08-06 00:34:16 +02:00
Madeline
22a47a4a85 Merge branch 'master' into 2fa 2022-08-01 20:36:02 +10:00
dependabot[bot]
5fe1f01ad9 Bump file-type from 16.5.3 to 16.5.4 in /bundle (#802)
Bumps [file-type](https://github.com/sindresorhus/file-type) from 16.5.3 to 16.5.4.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v16.5.3...v16.5.4)

---
updated-dependencies:
- dependency-name: file-type
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-23 09:47:14 +03:00
Madeline
4fa8b16b4a Add node-2fa to package.json 2022-07-20 21:17:19 +10:00
Nobody
a0914a1262 chore: fix package.json scripts
npx should be used to execute local package binaries
2022-07-19 10:20:36 +03:00
TheArcaneBrony
cf3873d62f Add local disk caching for fetched assets 2022-07-17 18:56:47 +02:00
KaKi87
860b5a82ef Use SPDX license syntax in 'package.json' files 2022-06-02 17:33:50 +02:00
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