Commit 9c67bd1
Add native Download Now / Close actions to update notifications (#2973)
* Initial plan
* feat: add update notification action buttons
Agent-Logs-Url: https://github.com/WeakAuras/WeakAuras-Companion/sessions/55514c90-82ca-48b1-984a-ae85c832d219
* chore: refine notification action handling
Agent-Logs-Url: https://github.com/WeakAuras/WeakAuras-Companion/sessions/55514c90-82ca-48b1-984a-ae85c832d219
* fix: harden update download notification link
Agent-Logs-Url: https://github.com/WeakAuras/WeakAuras-Companion/sessions/55514c90-82ca-48b1-984a-ae85c832d219
* chore: simplify notification close action handling
Agent-Logs-Url: https://github.com/WeakAuras/WeakAuras-Companion/sessions/55514c90-82ca-48b1-984a-ae85c832d219
* fix: improve asset name validation and update stale comment
- Accept spaces and other valid filename chars in asset name by only
rejecting paths that contain directory separators (path traversal)
- Update tests: cover separator fallback and space-in-basename encoding
- Update stale comment in index.ts to match renamed guard/behavior
Agent-Logs-Url: https://github.com/WeakAuras/WeakAuras-Companion/sessions/2e0e1627-0981-404a-a044-4d34c238ac57
* merge: bring in origin/main changes
Agent-Logs-Url: https://github.com/WeakAuras/WeakAuras-Companion/sessions/56a7f660-c2cd-439b-9d59-7dcae702ba6b
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Stanzilla <[email protected]>1 parent 8369106 commit 9c67bd1
4 files changed
Lines changed: 876 additions & 1399 deletions
File tree
- electron/main
- src/libs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
| |||
456 | 463 | | |
457 | 464 | | |
458 | 465 | | |
459 | | - | |
460 | 466 | | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
467 | 471 | | |
468 | | - | |
469 | | - | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
470 | 482 | | |
471 | 483 | | |
472 | 484 | | |
| |||
494 | 506 | | |
495 | 507 | | |
496 | 508 | | |
497 | | - | |
498 | | - | |
499 | 509 | | |
500 | | - | |
| 510 | + | |
501 | 511 | | |
502 | 512 | | |
503 | 513 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
0 commit comments