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
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
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
ae4629fd85
build: load argon2-browser and geoip-country as external modules
2020-09-21 18:53:14 +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
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
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
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
a5171c7111
flood: bump version to 3.1.0
...
Signed-off-by: Jesse Chan <jc@linux.com >
2020-09-04 14:39:23 +08:00
Jesse Chan
a2063a234b
dependencies: bump (major)
...
It seems that none of the breaking changes is relevant to us.
2020-09-02 20:34:07 +08:00
Jesse Chan
82e556db43
dependencies: "npm update" (minor)
2020-09-02 20:18:20 +08:00
Jesse Chan
10b75b4f74
Filesystem: migrate from ospath.home() to os.homedir()
2020-08-26 22:09:41 +08:00
Jesse Chan
03e9ab5b45
flood: move to unscoped "flood" package
...
It is available so let's use it.
2020-08-26 13:46:00 +08:00
Jesse Chan
d720701300
flood: bump version to 3.0.0
2020-08-25 21:53:27 +08:00
Jesse Chan
c09b11e933
config.cli: add a command line config interface
2020-08-23 19:51:07 +08:00
Jesse Chan
9009beeae1
i18n: precompile strings to AST
2020-08-14 20:33:32 +08:00
Jesse Chan
6e1ea0a09d
dependencies: "npm update" (minor)
2020-08-14 17:53:35 +08:00