Commit 27c7bc6
authored
feat: add file upload size limit with friendly error messages (#366)
- Add file upload size validation with user-friendly error messages
- Implement HandshakeController to communicate size limits to frontend
- Add GlobalExceptionHandler for handling file size exceeded errors
- Update FileTransferForm to show clear size limit warnings
- Add bilingual documentation for file upload configuration
- Support both English and Chinese error messages
Signed-off-by: jiangpeng <949474720@qq.com>1 parent 287dfb8 commit 27c7bc6
20 files changed
Lines changed: 762 additions & 84 deletions
File tree
- analysis/gc-log/src
- main/java/org/eclipse/jifa/gclog/parser
- test/java/org/eclipse/jifa/gclog
- frontend
- src
- components/forms
- i18n
- stores
- support
- server/src/main/java/org/eclipse/jifa/server
- controller
- domain/dto
- enums
- util
- site/docs
- guide
- zh/guide
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
| 452 | + | |
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments