Your Name
5322f85721
feat: 實作全域檔案傳輸機制與 .tar 封裝規範
...
## 主要變更
### 新增全域檔案傳輸模組 (src/transfer/)
- constants.ts: 定義傳輸常數(10MB 門檻、5MB chunk 大小)
- types.ts: 傳輸類型定義
- uploadManager.ts: 後端上傳管理器(支援直傳與 chunk)
- downloadManager.ts: 後端下載管理器(支援直傳與 chunk)
- archiveManager.ts: 封裝管理器(僅允許 .tar)
- index.ts: 統一匯出
### 新增 API 端點
- uploadChunk.tsx: Chunk 上傳 API
- downloadChunk.tsx: Chunk 下載 API
### 前端更新
- public/script.js: 整合智慧傳輸策略(≤10MB 直傳,>10MB chunk)
- public/transfer.js: 前端傳輸管理模組
### 轉換器更新
- mineru.ts: 改用 .tar 格式(不壓縮),禁止 .tar.gz
- download.tsx: 使用統一的封裝管理器
### 測試
- tests/transfer/: 完整傳輸機制測試套件
- tests/converters/mineru.test.ts: 更新以符合 .tar 規範
### 文件
- README.md: 新增檔案傳輸機制說明
## 設計原則
- 檔案 ≤10MB:直接傳輸
- 檔案 >10MB:使用 5MB chunks 分段傳輸
- 多檔輸出:僅允許 .tar 封裝(禁止 .tar.gz/.zip)
- 引擎層不感知 chunk(僅傳輸層處理)
2026-01-21 13:58:01 +08:00
Emrik Östling
53c1a54df5
workaround for #435 ( #438 )
2025-11-14 19:28:40 +01:00
Rdeisenroth
b5c20778f9
fix: ensure data dir exists before loading db ( #433 )
...
* fix: ensure data dir exists before loading db
* Update src/db/db.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-07 09:26:19 +01:00
Emrik Östling
80b55657a4
feat: add healthcheck endpoint ( #431 )
2025-11-02 13:58:57 +01:00
Param Siddharth
4d65cc7228
feat: add button and API endpoint to delete job ( #423 )
2025-10-29 20:35:43 +01:00
C4illin
1be11708c4
chore: format all files
2025-06-03 19:19:28 +02:00
C4illin
6af1e8f326
refactor: create db types
2025-06-03 17:13:20 +02:00
C4illin
9e759a75de
refactor: split main file to pages
2025-06-03 15:04:18 +02:00
C4illin
7f86c352e3
chore: format
2025-06-02 15:50:17 +02:00
xeisenberg
29ba229bc2
feat: improve job details interaction and accessibility
...
- Enhanced job details toggle functionality by adding event listeners to job detail elements.
- Updated job detail rows to use data attributes for better accessibility and maintainability.
- Improved the rendering of file information with unique keys for each file entry.
2025-05-29 23:43:24 +02:00
xeisenberg
50725edd02
feat: enhance job details display with file information
...
- Added `files_detailed` property to the `Jobs` class to store detailed file information.
- Updated job listing to include a toggle for displaying detailed file information.
- Implemented a toggle function for showing/hiding detailed file rows in the UI.
2025-05-29 23:43:24 +02:00
C4illin
9a49dedaca
feat: show version in footer
...
Co-authored-by: thejjw <72130076+thejjw@users.noreply.github.com>
2025-05-23 23:11:54 +02:00
C4illin
b9bbf7792f
fix: register button style
2025-05-23 21:36:26 +02:00
Bennett
2d05bbf86b
fix account page title
2025-05-23 12:34:11 +02:00
Bennett
2eb9b8fe96
fix updating logic
2025-05-19 20:12:29 +02:00
Bennett
8dc60b41ff
Fixes email update validation logic
2025-05-19 18:51:32 +02:00
Bennett
b4be479d02
Update src/index.tsx
...
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-05-19 18:20:06 +02:00
Bennett
f56a93a1b2
Update src/index.tsx
...
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-05-19 18:19:55 +02:00
Bennett
ff8b9fca67
add account management page
2025-05-19 17:46:38 +02:00
C4illin
4b5c732380
fix: add timezone support
...
issue #258
2025-04-12 10:24:08 +02:00
g.petrakis
9d1c93155c
feat: add HIDE_HISTORY option to control visibility of history page
2025-04-02 15:02:56 +03:00
C4illin
d7d584e497
chore: format
2025-04-01 14:50:15 +02:00
C4illin
c2beb4a227
chore: add default full opacity
2025-03-09 21:09:53 +01:00
C4illin
f433493d57
chore: remove @elysiajs/cookie
2025-03-08 00:28:27 +01:00
Emrik Östling
c1b75a13fd
chore: sanitize filename
2025-03-04 09:23:06 +01:00
C4illin
bec58ac59f
fix: mobile view overflow
2025-02-06 19:57:07 +01:00
C4illin
480ba77ebe
chore: fix eslint config
2025-02-01 21:46:15 +01:00
C4illin
16f27c13bb
fix: don't crash if file is not found
2025-02-01 21:09:48 +01:00
C4illin
e595014fcd
refactor: update Tailwind to v4
2025-02-01 20:15:50 +01:00
Tejas Shah
538c5b60c9
fix: skip account setup when ALLOW_UNAUTHENTICATED is true
2025-01-04 17:05:03 +01:00
C4illin
7d1db72cf5
chore: fix default value for webroot
2024-11-06 14:14:11 +01:00
C4illin
36cb6cc589
feat: Allow to chose webroot
...
issue #180
2024-11-06 08:49:53 +01:00
C4illin
d2cd6706c9
chore: update @elysiajs/static
2024-10-18 19:32:42 +02:00
C4illin
e8ed10dde8
chore(deps): update @elysiajs/html to version 1.1.1
2024-10-18 18:53:45 +02:00
C4illin
78844d7bd5
fix: disable convert button when input is empty
...
issue #151
2024-10-05 01:20:23 +02:00
C4illin
5fb8c3575b
chore: add eslint-plugin-readable-tailwind
2024-10-05 01:01:00 +02:00
C4illin
ee9207a7f4
chore: fix eslint rules
2024-10-05 00:43:24 +02:00
C4illin
72636c5059
feat: add light theme, fixes #156
2024-09-30 17:14:44 +02:00
C4illin
88173891ba
fix: wrong layout on search with few options
2024-09-26 23:37:19 +02:00
C4illin
47139a550b
fix: rename css file to force update cache, fixes #141
2024-09-25 23:47:18 +02:00
C4illin
4c747e8908
chore: format and update deps
2024-09-24 23:49:14 +02:00
Aymen Djellal
c57b69991c
Fix UNAUTHENTICATED mode
...
the function used here, randmInt(Min, Max) has an issue.
When running the code, I get a 500 error, with the error being
```
| const newUserId = String(randomInt(2 ** 24, Number.MAX_SAFE_INTEGER));
^
RangeError: The "max - min" is out of range. It must be <= 281474976710655. Received 9007199237963775
code: "ERR_OUT_OF_RANGE"
at randomInt (native:1:1)
at /.../ConvertX/src/index.tsx:460:32
at /.../ConvertX/src/index.tsx:594:29
at file:///.../ConvertX/node_modules/elysia/dist/bun/index.js:76:22
```
When digging deeper in the implementation, it seems that the official node doc says :
> The range (max - min) must be less than 2**48. min and max must be safe integers.
See : https://nodejs.org/api/crypto.html#cryptorandomintmin-max-callback
Feel free to close this PR and do the fix another way (it: by using a uuid instead of randomInt, etc.)
2024-09-23 11:44:37 -04:00
C4illin
22f823c535
feat: ui remake with tailwind
2024-09-23 03:58:29 +02:00
C4illin
a17eca0a09
chore: format
2024-09-20 13:27:54 +02:00
C4illin
317c932c2a
feat: add option to customize how often files are automatically deleted
2024-09-20 13:24:18 +02:00
C4illin
5b1703db68
chore: add safe attribute to input element
2024-09-20 12:55:00 +02:00
C4illin
60ba7c93fb
fix: improve file name replacement logic
2024-09-20 12:49:19 +02:00
C4illin
bef1710e33
fix: allow non lowercase true and false values, fixes #122
2024-09-12 12:58:28 +02:00
Luis Canada
5f7234d6c1
Merge remote-tracking branch 'upstream/main' into searchable-formats
2024-08-23 14:20:16 -04:00
C4illin
bc4ad49285
fix: keep unauthenticated user logged in if allowed #114
2024-08-23 15:18:43 +02:00