Commit 4267d1a
committed
Phase 2 of Premium Plugins Installation
Why these changes are being introduced:
Phase 1 of the premium plugins installation is complete across
Dev1, Stage-Workloads, and Prod-Workloads (that is, the plugin folders
are installed in the container and the plugins are listed in the
Plugin Directory in the UI, but they are not activated). The plugins
have been manually activated in Stage & Prod, so any database schema
changes are complete. As part of the testing, InnoCraft support let us
know that the `CustomJsTracker` plugin (a Core plugin) must be activated
for the HeatmapSessionRecording and the UsersFlow plugins to work
correctly (because both plugins actually make changes to the matomo.js
and piwik.js files).
How this addresses that need:
* Update the Dockerfile to include the updated `matomo.js and `piwik.js`
files (that are the result of activating the plugins); these files are
written to the `/usr/src/matomo/` directory because the `entrypoint.sh`
script is what actually creates the `/var/www/html/` directory when the
container is launched
* Update the `config.ini.php` file to correctly list all the plugins
that exist in the `plugins/` directory and sort them alphabetically to
make it easier to review them in the future
* Update the `config.ini.php` file to include the `CustomJsTracker` as
an activated plugin
* Update the `config.ini.php` file to include the UsersFlow and
HeatmapSessionRecording plugins as active plugins
* Include the version of the `matomo.js` and `piwik.js` files that are
generated by the new plugins
Side effects of this change:
None.
Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/INFRA-5171 parent 545ae9e commit 4267d1a
4 files changed
+495
-55
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
| 92 | + | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
100 | 104 | | |
101 | 105 | | |
102 | | - | |
103 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
104 | 111 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 112 | + | |
111 | 113 | | |
112 | | - | |
113 | | - | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 123 | + | |
125 | 124 | | |
126 | | - | |
| 125 | + | |
127 | 126 | | |
128 | | - | |
| 127 | + | |
129 | 128 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 129 | + | |
137 | 130 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
146 | 135 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 136 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
158 | 144 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
164 | 151 | | |
165 | | - | |
166 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
167 | 170 | | |
168 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
0 commit comments