|
4e41a46006
|
🚧 Temporarily remove decompression for debugging
|
2018-07-08 19:34:34 +02:00 |
|
|
228f167711
|
🎨 Improve debug output
|
2018-07-08 19:32:04 +02:00 |
|
|
f6eb334602
|
🐛 End file read stream if EOF is reached
|
2018-07-08 19:30:27 +02:00 |
|
|
db3b303e6c
|
🗑 Remove debug output
|
2018-07-08 19:15:41 +02:00 |
|
|
82693ba3b0
|
🐎 Improve perf by not storing chunk write status
|
2018-07-08 19:11:28 +02:00 |
|
|
8b1ad6f7e2
|
🐛 Fix race condition in file download
|
2018-07-08 19:09:31 +02:00 |
|
|
662c2d5f43
|
🎨 Improve error output
|
2018-07-08 18:33:53 +02:00 |
|
|
6f6f168192
|
🚑 Fix file name
|
2018-07-08 18:12:08 +02:00 |
|
|
96ed471afe
|
✨ Use local cache instead of always downloading files
|
2018-07-08 18:10:41 +02:00 |
|
|
0b5348e819
|
🚧 Speed up development by caching downloaded files
|
2018-07-08 16:07:28 +02:00 |
|
|
50b815f9f2
|
🗑 Remove debug output
|
2018-07-06 02:57:35 +02:00 |
|
|
ddbe9f4b36
|
🎨 Improve waiting for file to be written to disk
|
2018-07-06 00:33:36 +02:00 |
|
|
253e22b9d6
|
🚧 Do not read from disk until files have been written
|
2018-07-06 00:05:19 +02:00 |
|
|
e206280de1
|
🚧 Ignore length when reading from disk
|
2018-07-06 00:02:03 +02:00 |
|
|
06809ad8ed
|
🚧 Add more debug info
|
2018-07-05 23:51:29 +02:00 |
|
|
f284119bf1
|
🚧 Add some debugging info
|
2018-07-05 23:48:25 +02:00 |
|
|
74b312953d
|
🐛 Fix reading of local file header
|
2018-07-05 23:42:42 +02:00 |
|
|
e84e5bd3d7
|
🚑 Fix local file header reading for arraybuffer-based streams
|
2018-07-05 23:02:08 +02:00 |
|
|
0c8bc4d732
|
🚑 Wait for local file header reading to be complete
|
2018-07-05 23:00:10 +02:00 |
|
|
07de050588
|
🐛 Wait with reading local file header until stream is ready
|
2018-07-05 22:58:41 +02:00 |
|
|
86ba51731c
|
🐛 Add error message to getFileFromdisks
|
2018-07-05 22:18:19 +02:00 |
|
|
099fecce98
|
🐛 Duplex ➡ PassThrough
|
2018-07-05 21:39:16 +02:00 |
|
|
1c91b51686
|
🐛 Fix getFileFromDisks returning null due to not waiting for readable event
|
2018-07-05 21:36:26 +02:00 |
|
|
89d1b9e644
|
🐛 Found error why .read() returns null; need to wait for readable event
|
2018-07-05 21:17:07 +02:00 |
|
|
6d6c673556
|
✨ Finish getFileFromDisks
|
2018-07-05 20:57:42 +02:00 |
|
|
f849744ac8
|
♻ Some refactoring to prepare for patch processing
|
2018-07-05 20:50:23 +02:00 |
|
|
60fe546d31
|
🎨 Reliable-id can be 2
|
2018-07-05 20:27:58 +02:00 |
|
|
bdcb7faabe
|
🐛 Piece length can also be 1 MiB
|
2018-07-05 18:43:53 +02:00 |
|
|
68348b3673
|
🐛 Fix end of file reached error
|
2018-07-05 18:41:24 +02:00 |
|
|
5c915776aa
|
✨ Update solidpkg to use streams instead of buffers
|
2018-07-05 18:36:37 +02:00 |
|
|
28c0fdecf4
|
🗑 Remove debugging output
|
2018-07-05 18:24:20 +02:00 |
|
|
9994dffed2
|
🐛 Fix decrypt chunk
|
2018-07-05 18:22:20 +02:00 |
|
|
602b4b12d4
|
🗑 Remove unneeded code
|
2018-07-05 17:06:02 +02:00 |
|
|
f0cba0e955
|
🐛 Remove dataview from decryptChunk
|
2018-07-05 17:03:56 +02:00 |
|
|
c620a9f55e
|
🚧 Add debugging output
|
2018-07-05 16:42:04 +02:00 |
|
|
9c7f23ada0
|
Revert "🐛 Use UTF-16LE encoding for manifest XML files"
This reverts commit 4d3666d4c7 .
|
2018-07-05 16:00:47 +02:00 |
|
|
4d3666d4c7
|
🐛 Use UTF-16LE encoding for manifest XML files
|
2018-07-05 15:54:14 +02:00 |
|
|
d03355c61a
|
👷 Fix sourcemaps to include ts code
|
2018-07-05 15:32:05 +02:00 |
|
|
7dfe0176ab
|
🐛 Do not reuse TextDecoder for multiple stream decodes
|
2018-07-05 13:24:47 +02:00 |
|
|
66d14a1d5b
|
🎨 Improve streamToString performance
|
2018-07-05 13:13:05 +02:00 |
|
|
eab9a27fa6
|
🗑 Don't set max length a 2nd time
|
2018-07-05 12:41:28 +02:00 |
|
|
7cb458dfc5
|
♻ Rewrite decrypt transform
|
2018-07-05 11:39:39 +02:00 |
|
|
8755fda1e3
|
🐛 Fix decrypt transform
|
2018-07-05 11:37:23 +02:00 |
|
|
933134eb35
|
♻ Convert decrypt stream into transform
|
2018-07-05 11:32:29 +02:00 |
|
|
9688c12797
|
🎨 Minor function signature change
|
2018-07-05 03:32:54 +02:00 |
|
|
09de4b663b
|
♻ Rewrite decryptChunk
|
2018-07-05 03:30:13 +02:00 |
|
|
1230330ce1
|
🐛 Fix compressed size (it already includes the encryption header)
|
2018-07-05 03:13:51 +02:00 |
|
|
02f4d3ecb5
|
🐛 Do not skip encryption header in decryptChunk
|
2018-07-05 03:03:26 +02:00 |
|
|
213fcf91f7
|
🐛 Fix decrypt chunk
|
2018-07-05 03:01:45 +02:00 |
|
|
dac2e9286c
|
🐛 Update decryption keys
|
2018-07-05 02:55:18 +02:00 |
|
|
3e9f4843f8
|
🐛 Fix compressed size calculation, do not change original decryption keys
|
2018-07-05 02:50:47 +02:00 |
|
|
5ca48459c1
|
🐛 Fix compressed length; it must include the encryption header
|
2018-07-05 02:45:14 +02:00 |
|
|
050f82b382
|
🐛 Do not read beyond stream in decryptor
|
2018-07-05 02:39:17 +02:00 |
|
|
26467816f0
|
🎨 Replace new Buffer() by Buffer.alloc()
|
2018-07-05 02:37:00 +02:00 |
|
|
1d1b8930cf
|
🚑 Fix chunk decryption
|
2018-07-05 02:35:37 +02:00 |
|
|
4f0adf8931
|
🚑 Fix reading of local file header
|
2018-07-05 02:33:21 +02:00 |
|
|
520f9c2e39
|
🚑 Do not decode buffers to string
|
2018-07-05 02:21:19 +02:00 |
|
|
e952f714df
|
🚑 Fix reading of local file header
|
2018-07-05 02:18:47 +02:00 |
|
|
4fb3d1322c
|
🐛 Do not read beyond arraybuffer bounds
|
2018-07-05 02:17:28 +02:00 |
|
|
397e1fd172
|
🐛 Allow for 256kb piece lengths
|
2018-07-05 02:09:26 +02:00 |
|
|
58963160c2
|
🚑 Fix utility scripts
|
2018-07-05 02:06:19 +02:00 |
|
|
d79e7d289c
|
🚀 Use streams instead of arraybuffers
|
2018-07-05 01:58:01 +02:00 |
|
|
27afb62d49
|
🚑 Fix name of import in index.ts
|
2018-07-05 00:59:42 +02:00 |
|
|
ae2ac6d278
|
🚧 Partial switch to streams, and add utility endpoints
|
2018-07-05 00:58:40 +02:00 |
|
|
e14a8db179
|
♻ Extract patch verification into separate file
|
2018-07-04 22:24:24 +02:00 |
|
|
6ac41fcc48
|
🚑 Fix download file name
|
2018-07-04 22:10:59 +02:00 |
|
|
34a4372183
|
🚑 Do not throw error if file too large in download module
|
2018-07-04 22:10:15 +02:00 |
|
|
e4d906e48c
|
🚧 Write large files to disk instead of to memory
|
2018-07-04 22:07:23 +02:00 |
|
|
94047006ec
|
🎨 Fix typos
|
2018-07-04 20:11:04 +02:00 |
|
|
14e73367c6
|
🎨 Fix typos
|
2018-07-04 20:04:16 +02:00 |
|
|
a3bff814ef
|
🗑 Remove debug message
|
2018-07-04 19:57:55 +02:00 |
|
|
c821327a6e
|
♻ Extract response handler
|
2018-07-04 19:51:20 +02:00 |
|
|
e4c2754493
|
⚠ Add error message if file too large
|
2018-07-04 19:36:25 +02:00 |
|
|
d843ce1200
|
🎨 Minor code quality improvements
|
2018-07-04 19:25:22 +02:00 |
|
|
2743ccb6e1
|
📓 Update documentation
|
2018-07-04 16:29:28 +02:00 |
|
|
e03f28f654
|
🔐 Fix release path to verify from >= 0
|
2018-07-04 15:48:34 +02:00 |
|
|
7ce5a177ec
|
♻ Move files into subdirectories
|
2018-06-24 10:10:00 +02:00 |
|
|
05d721171a
|
🎨 Improve debug output
|
2018-06-24 02:31:06 +02:00 |
|
|
6709315b68
|
🐛 Allow piece length of 512 KiB
|
2018-06-24 02:28:04 +02:00 |
|
|
42db8d36a6
|
🐛 Allow reliable-id to be 1
|
2018-06-24 02:24:13 +02:00 |
|
|
52157f544c
|
🐛 Fix length calculation during decryption
|
2018-06-24 02:15:46 +02:00 |
|
|
589f7fe786
|
🎨 Do not overwrite buffer during decryption
|
2018-06-24 02:13:10 +02:00 |
|
|
2456eae91a
|
♻ Allow 16-bit and 32-bit reads in ByteReader
|
2018-06-24 02:06:49 +02:00 |
|
|
590dc39f84
|
🎨 Add debug output to trace zlib error
|
2018-06-24 01:37:10 +02:00 |
|
|
beb2d351da
|
🎨 Minor code quality improvement in decryptFile
|
2018-06-24 00:56:14 +02:00 |
|
|
a2044887e8
|
♻ Extract updateKeys into separate file
|
2018-06-24 00:53:03 +02:00 |
|
|
145e2ca2cb
|
🚨 Allow output to console for now
|
2018-06-24 00:26:41 +02:00 |
|
|
5fd25d1095
|
💡 Add reminder to check downloaded patch files for correctness
|
2018-06-24 00:08:48 +02:00 |
|
|
57d45b942b
|
💡 Improve comments and code quality
|
2018-06-23 23:40:22 +02:00 |
|
|
b87236a435
|
🎨 Improve debug output
|
2018-06-23 23:32:17 +02:00 |
|
|
e9ba519db3
|
🎨 Improve error handling
|
2018-06-23 23:30:45 +02:00 |
|
|
16fb98e1aa
|
✔ Check for only full files in release from -1
|
2018-06-23 23:11:04 +02:00 |
|
|
8f5547222c
|
♻ Move ByteReader class into separate file
|
2018-06-23 22:51:33 +02:00 |
|
|
523f306ab3
|
🐛 Check for error after zlib uncompression
|
2018-06-23 22:48:17 +02:00 |
|
|
f40a097b81
|
🐛 Fix reading of diffSourceLength in SSN files
|
2018-06-23 22:45:35 +02:00 |
|
|
2a9d191e5b
|
🚑 Fix import statements
|
2018-06-23 22:42:33 +02:00 |
|
|
a416d86dbe
|
🐛 Fix patcher to ignore unchanged & deleted files
|
2018-06-23 22:39:34 +02:00 |
|
|
6e292106e3
|
🚑 Fix SSN file reader
|
2018-06-23 22:28:26 +02:00 |
|
|
a48956f504
|
🐛 Fix check for piece length
|
2018-06-23 22:21:12 +02:00 |
|
|
968e581d70
|
🐛 Fix check for announce URL
|
2018-06-23 22:18:26 +02:00 |
|
|
3ee23f6445
|
🚧 Add preliminary patch downloader
|
2018-06-23 22:14:55 +02:00 |
|
|
57c99b88fe
|
🎨 Improved code quality of manifest parser
|
2018-06-23 21:52:36 +02:00 |
|
|
62ed08c6c3
|
🚑 Fix crash since -1 release does not exist
|
2018-06-23 21:37:31 +02:00 |
|
|
33175d9dbe
|
🎨 Improve patchmanifest JSON format
|
2018-06-23 21:36:29 +02:00 |
|
|
82804f6657
|
✨ Parse manifest.xml into JSON
|
2018-06-23 21:33:35 +02:00 |
|
|
77e039901a
|
✨ Add patch manifest verifier
|
2018-06-23 21:20:08 +02:00 |
|
|
f01a880ae6
|
➕ Add XML parser
|
2018-06-23 20:20:03 +02:00 |
|
|
2d55189248
|
🚚 Renaming releasePaths
|
2018-06-22 18:27:20 +02:00 |
|
|
fc88c410a1
|
⚠ Add warning in code comment
|
2018-06-22 18:25:31 +02:00 |
|
|
22dfac4828
|
🔒 Verify input to releasePaths
|
2018-06-22 18:22:28 +02:00 |
|
|
053714bf10
|
🔒 Verify input to releasePaths
|
2018-06-22 18:21:27 +02:00 |
|
|
620cb8bb1d
|
✨ Add release path module
|
2018-06-22 18:16:59 +02:00 |
|
|
ee3fd0a60f
|
💡 Update comments for release path search
|
2018-06-22 17:59:22 +02:00 |
|
|
07caf282d8
|
♻ Refactor files returned by solidpkg reader^
|
2018-06-22 17:38:53 +02:00 |
|
|
06762c6107
|
✨ Verify file entries in solidpkg
|
2018-06-22 17:35:36 +02:00 |
|
|
c7bea67a1c
|
🚑 Fix bencode parser
|
2018-06-22 17:24:32 +02:00 |
|
|
3bb970b76b
|
🚑 Fix bencode parser
|
2018-06-22 17:21:14 +02:00 |
|
|
f578b194ac
|
🚧 Improve debug output
|
2018-06-22 17:19:30 +02:00 |
|
|
a578d21663
|
🎨 Improve Bencode parser
|
2018-06-22 17:17:12 +02:00 |
|
|
a221ee3a6b
|
✨ Verify solidpkg file for correctness
|
2018-06-22 17:10:38 +02:00 |
|
|
96139d2305
|
🎨 Replace increment operator
|
2018-06-22 16:42:26 +02:00 |
|
|
1653455ec0
|
🚚 Move product names into ssn
|
2018-06-22 16:21:45 +02:00 |
|
|
3f79cb438c
|
✨ Decode bencode from .solidpkg
|
2018-06-22 16:19:21 +02:00 |
|
|
62a877617b
|
♻️ Move parsing and extracting into modules
|
2018-06-22 16:14:40 +02:00 |
|
|
2dae5f6c58
|
️ Use ArrayBuffer instead of Buffer
|
2018-06-22 16:01:29 +02:00 |
|
|
46b0cbbf70
|
✨ Extract manifest.xml in installPatch
|
2018-06-22 15:56:51 +02:00 |
|
|
78ac8ae304
|
✨ Add extract file feature
|
2018-06-22 15:53:37 +02:00 |
|
|
4aeba1709a
|
💡 Code cleanup
|
2018-06-22 13:43:17 +02:00 |
|
|
1172d34a2b
|
🐛 Fix SSN file reader to allow for non-solidpkg files
|
2018-06-22 13:36:44 +02:00 |
|
|
f2d6f70790
|
🚑 Fix installPatch script
|
2018-06-22 13:35:25 +02:00 |
|
|
c83c3045bc
|
✨ Add support for patchmanifest files
|
2018-06-22 13:34:36 +02:00 |
|
|
f80e34826c
|
✨ Get decryption keys from password
|
2018-06-22 13:29:33 +02:00 |
|
|
9899514578
|
♻️ readSsnFile now reads all file entries
|
2018-06-22 13:13:09 +02:00 |
|
|
1a623aa42d
|
🚚 Merge Bencode parser
|
2018-06-22 12:49:15 +02:00 |
|
|
908c4871ed
|
♻️ Split dns resolver into two files
|
2018-06-22 12:36:10 +02:00 |
|
|
fab92b078b
|
🚚 Merge code from old patcher
|
2018-06-22 12:27:11 +02:00 |
|
|
fdf40e8d11
|
💡 Add comments
|
2018-06-22 11:42:00 +02:00 |
|
|
ca2862fb3d
|
🎨 Update solidpkg reader
|
2018-06-22 11:34:22 +02:00 |
|
|
400be4f296
|
🐛 Fix reading extra field from solidpkg
|
2018-06-21 23:08:17 +02:00 |
|
|
561b285f2f
|
🚑 Deploy missing changes
|
2018-06-21 23:06:34 +02:00 |
|
|
5b3a6c0dd7
|
🚧 Improve .solidpkg reader
|
2018-06-21 23:05:07 +02:00 |
|
|
a382fe6e0f
|
🐛 Fix solidpkg reader
|
2018-06-21 22:43:01 +02:00 |
|
|
6d38db6ea0
|
🐛 Fix solidpkg reader
|
2018-06-21 22:41:55 +02:00 |
|
|
90a090f6e3
|
🚧 Add reader for .solidpkg files
|
2018-06-21 22:39:15 +02:00 |
|
|
1a37702b24
|
♻️ Extract solidpkg from general file download
|
2018-06-21 21:52:56 +02:00 |
|
|
7a81a67132
|
♻️ Extract product name verification
|
2018-06-21 21:40:27 +02:00 |
|
|
8424ae8978
|
🎨 Improve file download and typescript annotations
|
2018-06-21 21:26:29 +02:00 |
|
|
b502075cb3
|
♻️ Moving product into function signature
|
2018-06-21 20:11:10 +02:00 |
|
|
561a40be63
|
🔥 Remove debug output from file download
|
2018-06-21 20:05:57 +02:00 |
|
|
c051139c0f
|
🔧 Fixing tsconfig
|
2018-06-21 15:50:25 +02:00 |
|