Commit graph

112 commits

Author SHA1 Message Date
Johann150 77358c8f4b
13.0.0-preview6 2023-07-02 11:13:19 +02:00
Johann150 a12debb7b6
server: replace unzipper with decompress
The unzipper package did not seem to work any more and was
mangling the meta.json file in its extracted form and potentially
other files which lead to the emoji import not working properly.

Changelog: Fixed
2023-07-02 00:09:45 +02:00
Johann150 38786b6999
transform tests from ts to js
This allows to get rid of the special loader for ts files. There is
no need for the test files to be written in TypeScript, plain
JavaScript should be fine for this purpose.
2023-06-01 23:21:03 +02:00
Puniko f6ff21ee53
update mfm-js lib 2023-05-27 12:12:28 +02:00
Johann150 c81368f617
update changelog and version number 2023-05-23 21:59:14 +02:00
Johann150 ff66f48ea2
remove syslog
closes FoundKeyGang/FoundKey#19

Changelog: Removed
2023-05-19 23:15:24 +02:00
Johann150 683584fe8f
update mocha 2023-05-07 23:29:55 +02:00
Johann150 c8a07e58f8
server: update summaly
- updates got (CVE-2022-33987)
- now properly preview XHTML pages

Changelog: Security
2023-03-23 20:32:31 +01:00
Johann150 44f02fa3ec
update documents for new release 2023-02-04 22:22:00 +01:00
Johann150 1319dc93d9
server: switch websocket to ws 2023-01-11 23:57:37 +01:00
Johann150 3efa7046bd
meta: don't type check dependencies 2023-01-04 20:59:31 +01:00
Johann150 5b898c6c82
chore: update yarn files 2023-01-02 21:40:12 +01:00
Johann150 29714d1ae0
add custom eslint rule to prefer countBy over findBy 2023-01-02 20:58:33 +01:00
Norm e28a9eb8e8
use tsc --noEmit for backend and client
See https://github.com/misskey-dev/misskey/pull/9316
2022-12-13 16:02:06 -05:00
Norm e5a4c5d2d0
chore: update @typescript-eslint packages 2022-12-13 15:57:26 -05:00
Norm 6bba55c196
sw: add TypeScript type checking
This implements the upstream changes from
https://github.com/misskey-dev/misskey/pull/9314 but updated to our
version of ESLint.

Also updates TypeScript to 4.9.4 for all packages.
2022-12-13 15:42:08 -05:00
Norm b8fb7a38cc server: improve Logger typing information and docs 2022-12-08 23:18:45 -05:00
Norm 873e21f090
chore: update eslint 2022-12-07 16:27:53 -05:00
Johann150 0f3f42eb39
remove rndstr dependency
This dependency was unused in the client.

The use of it in the server can be replaced entirely by the
secureRndstr function, with some slight modifications.

That function could probably be refactored a bit more as well.
2022-12-07 18:08:09 +01:00
Andy d3f1ad9a88 chore: remove unused packages 2022-12-06 23:18:27 +01:00
Johann150 7d3d0f858c
increment versions in package.json 2022-12-02 16:59:47 +01:00
Norm 5733f127ca
backend: update re2 to 1.17.8
This should fix Node 19 compatibility.

Fixes: FoundKeyGang/FoundKey#238
2022-11-28 12:02:24 -05:00
Norm f817d45210
update eslint and typescript-eslint 2022-11-25 02:07:21 -05:00
Norm b67799ad3f
BREAKING: Remove support for Node 16.x and upgrade to TypeScript 4.9
Now that Node 18 is the new LTS version of Node, it should be safe to
support ES2022 features. The install docs have already been updated to
recommend Node 18.x in 41a710854e.

This will break support on Node 16.x and earlier.

Also update TypeScript to 4.9 which contains various typechecking
improvements: https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/

Ref: FoundKeyGang/FoundKey#238
Changelog: Changed
2022-11-25 02:07:21 -05:00
Norm 71b3b5a60c backend: implement not forwarding block activities (#212)
Fixes FoundKeyGang/FoundKey#211

Commits pulled from https://github.com/misskey-dev/misskey/pull/7799

Changelog: Added
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Co-authored-by: Johann150 <johann.galle@protonmail.com>
Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: FoundKeyGang/FoundKey#212
2022-11-17 21:24:38 +00:00
Norm 7939d130aa backend: update sharp to 0.31.2
Changelog: Fixed
Fixes: FoundKeyGang/FoundKey#226
2022-11-08 01:16:55 -05:00
Michcio fb5f498641
Upgrade bull-board to unify misaligned types in its packages 2022-10-31 10:10:27 +01:00
Norm 70eec26b74
bump versions in all package.json files 2022-10-16 11:46:12 -04:00
Norm d9a64d0a22 Revert "Use native shell commands for clean/clean-all"
This reverts commit 5fb294e7d7.

This will allow the clean/clean-all command to work on Windows once again.
2022-09-22 13:48:06 -04:00
Norm 9a34e0b2b1
build: update typescript and related packages 2022-09-08 23:00:36 -04:00
Norm 4ad53f232a
backend: move @types/pg to devDependencies 2022-09-07 14:20:22 -04:00
Norm 0e49c726ec
backend: add @types/pg for pg type definitions 2022-09-07 14:19:03 -04:00
Michcio abef030a24 build: Move resolutions sections to workspace package.json
Yarn throws a warning on every `yarn install` that the resolutions
from respective packages' manifests are ignored.
2022-09-06 23:18:15 +02:00
Norm 5939c90b84
update eslint plugins 2022-09-06 11:19:34 -04:00
Norm 5fb294e7d7
Use native shell commands for clean/clean-all 2022-09-05 04:43:40 -04:00
Norm 40683b0e10
update tsc-alias 2022-09-05 04:28:08 -04:00
Norm 892ea5e2bf
upgrade eslint and typescript-related dependencies
Changelog: Changed
2022-09-05 03:15:16 -04:00
Norm 2669fc4380
pin dependencies 2022-08-29 20:36:01 -04:00
Norm 97b9a00105
security: update dependencies
- file-type: 17.1.2 -> 18.0.0
- got: 12.1.0 -> 12.3.1
- sharp: 0.29.3 -> 0.30.7
2022-08-29 20:33:40 -04:00
Norm 41414b4576
chore: remove s-age dependency
This isn't being used anymore since
4e41fa8767.
In any case, age calculation really doesn't need to involve a 3rd party
library.

Ref: FoundKeyGang/FoundKey#90
2022-08-28 11:35:18 -04:00
Norm dd9dc497fb
fix some deps 2022-08-26 18:04:53 -04:00
Norm bc0f0bf08f
add foundkey-js to each workspace package.json 2022-08-26 16:38:41 -04:00
Norm 6bb3f39c36
migrate to Yarn 3.2.3 2022-08-26 15:24:29 -04:00
Norm 6bccbc0d6d
switch to yarn for scripts and move start to backend 2022-08-26 12:48:55 -04:00
Norm 237c29a4b8
backend: move to foundkey-js 2022-08-26 01:34:22 -04:00
Norm c1242cfde2
Fix build errors 2022-08-25 23:36:08 -04:00
Norm f30e02dc73 security: update multer to 1.4.5-lts.1
This version of multer contains a fix for
CVE-2022-24434 which affects a transitive dependency.

> This affects all versions of package dicer. A malicious attacker can
> send a modified form to server, and crash the nodejs service. An
> attacker could sent the payload again and again so that the service
> continuously crashes.

Ref: https://nvd.nist.gov/vuln/detail/CVE-2022-24434
2022-08-18 01:37:39 -04:00
Johann150 a3a3cb7258
remove --quiet flag from eslint
This flag means to hide warnings which is not generally desirable.
Even if warnings do not affect the end result of running CI it would
still be nice to be able to see the warnings when running the lints
normally or in CI.
2022-08-04 00:20:59 +02:00
Chloe Kudryavtsev 390a5efb59 update package name, packages
We are FoundKey now.
Use semver pinning for "serious" packages.
Update eslint, typescript, vite and surroundings.
Bump yarn.lock.
2022-07-18 06:41:58 -04:00
Chloe Kudryavtsev db2bf0ac16 chore(lint): fix lint commands
setups like src/**/*.{ext1,ext2}
are not guaranteed to affect top level files
such as src/a.ext1

this should also be slightly more performant
2022-07-18 06:17:51 -04:00