Commit 8b93e04
v3.3.0: CDN frontend delivery + avatar refresh
Add optional CDN mode that serves JS/CSS from an external CDN instead of
Moodle's filesystem, decoupling frontend updates from plugin upgrades.
- Rollup build bundles all 10 AMD modules into single sola.min.js (224KB)
- Mini AMD loader with shims for core/ajax (fetch) and core/str (pre-loaded i18n)
- Two new admin settings: CDN Base URL + CDN Asset Version (cache busting)
- GitHub Actions workflow auto-deploys to gh-pages on push
- Clearing CDN URL reverts to local AMD files (zero-risk fallback)
- CDN setting strings added to all 46 languages
- Replaced avatar SVGs 02-10 with optimized PNGs (13-22KB each)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a9daca1 commit 8b93e04
File tree
59 files changed
+2982
-5
lines changed- .github/workflows
- cdn
- shims
- classes
- lang
- am
- ar
- bg
- bm
- bn
- cs
- da
- de
- el
- en
- es
- fi
- fr
- ha
- he
- hi
- hu
- id
- ig
- it
- ja
- ko
- ms
- nb
- ne
- nl
- om
- pa
- pl
- pt_br
- ro
- ru
- sk
- so
- sv
- sw
- ta
- th
- tl
- tr
- uk
- vi
- wo
- yo
- zh_cn
- zu
- templates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
59 files changed
+2982
-5
lines changed| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments