Commit 772c3d2
committed
Refactor ChecksumValidation as UploadInterceptor plugin
- Convert from monkey-patching to clean plugin architecture
- Break down monolithic upload handler into focused functions
- Use onUploadComplete hook instead of direct status observers
- Move ChecksumValidation.js to plugin folder structure
- Remove direct UploaderModel prototype manipulation
- Maintain all existing checksum generation and validation functionality1 parent 82ebe36 commit 772c3d2
File tree
6 files changed
+266
-278
lines changed- src/js
- core
- UploadInterceptor
- plugins/ChecksumValidation
6 files changed
+266
-278
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
95 | | - | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | | - | |
19 | | - | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments