Jesse Chan
f0daebbf41
client: initial integration tests
2020-10-18 22:32:34 +08:00
Jesse Chan
ae536b4b75
dependencies: remove unused nodemon dependency
2020-10-18 06:55:28 -05:00
Jesse Chan
dbeecf8d69
client, server: remove workarounds for legacy browsers
2020-10-17 13:44:06 +08:00
Jesse Chan
cce56235b9
client: build: add progress bar of webpack build process
2020-10-17 13:44:06 +08:00
Jesse Chan
98a4a0aa04
dependencies: bump (major)
2020-10-17 13:44:06 +08:00
Jesse Chan
c0ddc55810
server: migrate setSpeedLimits and setTracker to clientGatewayService
2020-10-17 13:44:06 +08:00
Jesse Chan
3ea6a93904
server: initial tests for torrents endpoints
2020-10-17 13:44:06 +08:00
Jesse Chan
8f5fd27b88
client: SettingsModal: migrate to TypeScript
2020-10-17 13:44:06 +08:00
Jesse Chan
95cf01f598
server: migrate torrent details functions to TypeScript
2020-10-17 13:24:14 +08:00
Jesse Chan
e0e68a19df
feature: allow to create torrents via Flood
2020-10-14 11:06:52 +08:00
Jesse Chan
49bc51952b
server: auth: rate limits auth endpoints
2020-10-14 10:58:52 +08:00
Jesse Chan
bb684d0084
tests: use ts-jest for TypeScript
2020-10-14 10:58:52 +08:00
Jesse Chan
b00e278edd
server: initial tests for auth endpoints
2020-10-14 10:58:52 +08:00
Jesse Chan
cf08d68c92
auth, Users: initial preparation for multi client support
...
BREAKING CHANGE
2020-10-14 10:58:52 +08:00
Jesse Chan
6237310fcb
dependencies: bump (major)
2020-10-06 20:19:58 +08:00
Jesse Chan
1dead48e60
dependency: use Node 12 type definitions
...
This has to correspond to the minimum supported Node version
(which is Node 12 at this moment) so TypeScript can spot
errors when incompatible new features are used.
2020-10-06 19:55:25 +08:00
Jesse Chan
4bd090d0bb
d3: import its functions by module
2020-10-04 20:17:45 +08:00
Jesse Chan
37680fa7a1
dependencies: migrate from deep-equal to fast-equals
...
The object here and its values are simple. No special data
structure is expected.
Bug: #45 , Flood-UI/flood#405
2020-10-04 11:25:13 +08:00
Jesse Chan
25c68fbd70
client: migrate Torrent Details Modal to TypeScript
2020-10-01 17:34:00 +08:00
Jesse Chan
c6f8b9b76d
AddTorrentByFile: use base64 instead of Blob to transfer file
2020-09-29 22:46:16 +08:00
Jesse Chan
57001cea61
client: sortTorrents: rewrite and use fast-sort
2020-09-29 19:46:50 +08:00
Jesse Chan
afcabb905c
client: migrate most Modals to TypeScript
2020-09-29 00:29:10 +08:00
Jesse Chan
43b2d8fbbf
server: services: migrate to TypeScript
2020-09-27 22:27:14 +08:00
Jesse Chan
dcbe26b940
dependencies: "npm update" (minor)
2020-09-26 23:43:22 +08:00
Jesse Chan
6b42be395a
prettier: simply use prettier CLI
2020-09-25 00:30:15 +08:00
Jesse Chan
ae4629fd85
build: load argon2-browser and geoip-country as external modules
2020-09-21 18:53:14 +08:00
Jesse Chan
970b2dd274
Revert "single executable support"
...
* WASM module (argon2-browser) does not work properly.
Revert "README: add info about single-executable"
This reverts commit 55343a1353 .
Revert "CI: separate artifacts"
This reverts commit 28ba0efd2d .
Revert "CI: build pkg executables"
This reverts commit 482fde49b1 .
Revert "pkg: initial configuration"
This reverts commit 6849e9c55b .
2020-09-21 18:52:04 +08:00
Jesse Chan
6849e9c55b
pkg: initial configuration
2020-09-21 17:56:38 +08:00
Jesse Chan
80b8ad2cc5
server: use NCC to bundle server into a single file
...
This allows us to be dependency-free in production.
Caveats:
- NCC can't handle WASM. Thus, we have to remove WASM files inside
argon2-browser before build to force JS.
- Duplicate geoip databases inside dist/data and dist. We have to
remove dist/data after build.
2020-09-21 15:24:00 +08:00
Jesse Chan
090521cb2d
package.json: move dayjs to devDependencies
...
It is not used by server or shared parts.
2020-09-19 23:09:44 +08:00
Jesse Chan
8daf3f8f9e
server: fix up debug config and add one for VS Code
2020-09-19 22:52:06 +08:00
Jesse Chan
e489b79589
server: Users: migrate to argon2-browser
...
So we can get rid of node-gyp.
2020-09-19 22:52:06 +08:00
Jesse Chan
a5ec810521
server: models: migrate "Users" to TypeScript
...
And refine types of auth components.
2020-09-19 22:50:12 +08:00
Jesse Chan
a92375fb65
TorrentPeers: manage dynamic geoip flag loading via JS
2020-09-18 17:57:35 +08:00
Jesse Chan
4613713a5d
client: use extracted CSS for production build
2020-09-18 17:57:32 +08:00
Jesse Chan
30d2b034b3
dependency: migrate from moment to dayjs
2020-09-18 00:23:58 +08:00
Jesse Chan
aaf873d9fa
dependencies: bump (major)
2020-09-18 00:04:57 +08:00
Jesse Chan
485bb1ff34
i18n: implement dynamic language loading
2020-09-17 19:56:53 +08:00
Jesse Chan
901b5e0cc1
server: migrate app and some utils to TS
...
Also switch to TS transpile-only mode for build.
2020-09-17 19:56:05 +08:00
Jesse Chan
1f82b623eb
dependencies: move "moment" back to production dependency
...
It is in shared/. Missed this one.
2020-09-17 15:24:54 +08:00
Jesse Chan
72b21ed638
dependencies: "npm update" (minor)
2020-09-17 14:36:54 +08:00
Jesse Chan
08e09b1811
package.json: move client dependencies to devDependencies
...
Once assets are generated, no dependency is required for client.
2020-09-17 14:36:02 +08:00
Jesse Chan
568c2cb57f
config.cli: use as default by symlinking to config
2020-09-16 20:51:08 +08:00
Jesse Chan
13480c9bab
server: initial support for TypeScript
2020-09-16 20:51:08 +08:00
Jesse Chan
c78e5d88d1
client: partially migrate to TypeScript
2020-09-16 12:36:54 +08:00
Jesse Chan
24bf3ebc9f
client: convert AppWrapper and AuthStore to TypeScript
2020-09-06 22:21:27 +08:00
Jesse Chan
4b23b16a84
server: also modify torrent file on "Set Tracker"
...
Changes in v2:
- sessionPath does not belong to torrentListPropMap. Don't use it.
- Instead, request sessionPath when we want to do file ops on torrents.
2020-09-06 12:34:41 +08:00
Jesse Chan
f2757d4c4e
Revert "server: also modify torrent file on "Set Tracker""
...
This reverts commit 1a2ea34bb4 .
2020-09-06 12:32:42 +08:00
Jesse Chan
1a2ea34bb4
server: also modify torrent file on "Set Tracker"
2020-09-06 00:40:34 +08:00
Jesse Chan
388c037621
npm: prepack: don't provide secret
...
config.cli.js will generate secret.
2020-09-05 14:04:48 +08:00