You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,13 @@ Changes are organized by date, with the most recent changes listed first.
6
6
7
7
## 2026-04-11
8
8
9
+
### 🔧 EXTERNAL SERVICES CODE QUALITY IMPROVEMENTS
10
+
11
+
- Extracted `LEGACY_KEYFRAMES_RULE_TYPE = 7` to a named module-level constant in `external-services.js`, replacing the magic number defined inside `hasAnimationKeyframes()` to improve maintainability and make the value reusable.
12
+
- Added `millisecondsToSeconds()` helper method to `ExternalServicesManager` in `external-services.js`, replacing the inline `/ 1000` conversion in `scheduleNotificationRemoval()` to eliminate duplication and clarify intent.
13
+
14
+
## 2026-04-11
15
+
9
16
### 🔧 VHOST IMPORT BUG FIXES & IMPROVEMENTS
10
17
11
18
- Updated the single-zip database file detection in `scripts/functions/vhost/vhost-import.sh` to search for both `*.sql` and `*.sql.gz` patterns, so compressed database dumps are correctly found and imported instead of failing silently.
Copy file name to clipboardExpand all lines: config/var/www/admin/control-panel/external-services/external-services.js
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,9 @@ const CATEGORY_ORDER = [
18
18
'Security'
19
19
];
20
20
21
+
// Standard CSSOM numeric value for KEYFRAMES_RULE, used when CSSRule.KEYFRAMES_RULE is unavailable (legacy browsers).
22
+
constLEGACY_KEYFRAMES_RULE_TYPE=7;
23
+
21
24
constERROR_LOADING_EXTERNAL_SERVICES_MESSAGE="Failed to fetch external service status. Check your internet connection and refresh the page. If the problem continues, check the browser console for details or contact your administrator.";
22
25
23
26
constSETTINGS_INSTRUCTION_TEXT='Toggle services to show/hide on the dashboard. Drag service cards to reorder them, or use the keyboard: press Enter to activate reorder mode and use arrow keys to move cards. Click "Save Changes" to apply. Services are organized by category.';
@@ -1767,8 +1770,6 @@ export class ExternalServicesManager {
0 commit comments