cewebs-transformationengine 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 309f86496b44fe810e1a41c6d65512cb5078f0ce9c1d58b7baa97a7eb8dbe809
4
- data.tar.gz: baf29e50d88a3dc1687b3b5c0b97e5127e06b9be7148df6b57a60ced2d681c87
3
+ metadata.gz: 2109b306cc8b5a04c3111bf743cf42052f4c09cd41b9b9bba03f97c1cec69c29
4
+ data.tar.gz: b2eb1b993f2eb57d162a5b7349b45c16e339c0b2624d0f81fde9daadf4e8efec
5
5
  SHA512:
6
- metadata.gz: c1711623620189c859436796fe86b6ea1d1dd675d9b19bf4f93415bc02af5a3d10ce0e00165f0f49d6c012ab8e2e05ab3ed0fbfeac64fb906b017e176a46193a
7
- data.tar.gz: f1a6644c700baac86071a2bb717d992658fd1fff5bccd10ac6793b96f16e4351c2816b40c470686d337efe3fb7b18164babd122047a3f68e0ed539666f537b50
6
+ metadata.gz: 5354bdc5e25a8d22b790f6324067da6a351de7d08cf4aeb45ec213523a4a8085c661a6f0252fa001fab6b593af42e954b702fe2f81f5f7067ed8fd803feaa46d
7
+ data.tar.gz: a16c747b3cd24da9c0467ab82ac51123ae483f432022f58991fb56086ab2258e0dc5efca70e45cef585f33f9172eaeca1d49ac10f4d83e3986d6ed15cca939c7
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # CEWebS Transformation Engine
2
2
 
3
- Websites that consist of services: a static page that loads everything with Ajax, and the engine that asks the
3
+ Websites that are built from services (would you say agents nowadays? maybe. sad times): a static page that loads everything, and the engine that gathers content from, and coordinates the
4
4
  services. This is also the description of how all parts of CEWebS work together:
5
5
 
6
6
  | Gem | Port | What |
@@ -8,9 +8,8 @@ services. This is also the description of how all parts of CEWebS work together:
8
8
  | `cewebs-transformationengine` | 9020 | websites |
9
9
  | `cewebs-aman` | 9021 | subscribing to services, configuration of services and the engine |
10
10
  | `cewebs-rman` | 9022 | reports of services, uses the data of the AMan |
11
- | `cewebs-didaktiki` | 9023 | wiki |
11
+ | `cewebs-didaktiki` | 9023 | wiki service |
12
12
  | `cewebs-servicesbase` | | contracts (riddl) and code that is used by all services |
13
- | `redel` | | basic parser and HTML |
14
13
 
15
14
  ## Installation
16
15
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cewebs-transformationengine"
3
- s.version = "3.0.1"
3
+ s.version = "3.0.2"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "GPL-3.0-or-later"
6
6
  s.summary = "Websites that consist of CEWebS services"
data/index.html CHANGED
@@ -7,7 +7,8 @@
7
7
  // requested before engine.js is loaded, which uses the answer. Has to be before the stylesheets
8
8
  var CEWebS_page = fetch('/CEWebSEngine/' + (location.pathname.split('/').slice(1, -1).join(':') || ':') + '/page?' + new URLSearchParams({ t: new URLSearchParams(location.search).get('t') || '' }));
9
9
  </script>
10
- <link rel="shortcut icon" href="static/styles/CEWebS.ico" type="image/x-icon"/>
10
+ <link rel="icon" href="static/styles/CEWebS.svg" type="image/svg+xml"/>
11
+ <link rel="icon" href="static/styles/CEWebS.ico" type="image/x-icon" sizes="16x16 32x32 48x48"/>
11
12
  <link rel="stylesheet" href="static/styles/content.css"/>
12
13
  <link rel="stylesheet" href="static/styles/print.css" media="print"/>
13
14
  <script src="static/js/engine.js" defer></script>
@@ -32,6 +33,6 @@
32
33
  </div>
33
34
 
34
35
  <div id="footer-right"><div id="access"></div></div>
35
- <div id="footer-left">^'d by CEWebS; Backup provided by PRISM; <span id="contact"></span></div>
36
+ <div id="footer-left">^'d by <a href="https://github.com/etm/cewebs-transformationengine" target="_blank" rel="noopener">CEWebS</a>; Backup provided by <a href="https://en.wikipedia.org/wiki/PRISM" target="_blank" rel="noopener">PRISM</a>; <span id="contact"></span></div>
36
37
  </body>
37
38
  </html>
@@ -4,7 +4,7 @@
4
4
  <title2>One that reckoneth accounts all the day passeth not a single happy moment.</title2>
5
5
  <logout>logout</logout>
6
6
  <name>DC</name>
7
- <contact>&#xA9; %Y J&#xFC;rgen Mangler</contact>
7
+ <contact>&#xA9; %Y Juergen Mangler</contact>
8
8
  <info>Um diese Seite benutzen zu k&#xF6;nnen, m&#xFC;ssen Sie sich identifizieren! &amp;lt;i&amp;gt;Wichtig: Cookies m&#xFC;ssen aktiviert sein.&amp;lt;/i&amp;gt;
9
9
  &amp;lt;ul&amp;gt;
10
10
  &amp;lt;li&amp;gt;Falls Sie Ihr CEWebS-Passwort vergessen haben, lassen Sie sich bitte per eMail einen Link f&#xFC;r ein neues &amp;lt;a href='?m=EMAIL'&amp;gt;zuschicken&amp;lt;/a&amp;gt;.&amp;lt;/li&amp;gt;
@@ -75,6 +75,16 @@
75
75
  <param name="maxLength">120</param>
76
76
  </data>
77
77
  </element>
78
+ <optional>
79
+ <element name="favicon">
80
+ <cewebs:ui xml:lang="de">
81
+ <cewebs:label>Favicon (Adresse eines Bildes, z.B. static/styles/CEWebS.svg oder https://...; ohne Eintrag das CEWebS-Icon)</cewebs:label>
82
+ </cewebs:ui>
83
+ <data type="string">
84
+ <param name="maxLength">250</param>
85
+ </data>
86
+ </element>
87
+ </optional>
78
88
  <element name="info">
79
89
  <cewebs:ui xml:lang="de">
80
90
  <cewebs:label>Beschreibung des Login</cewebs:label>
@@ -6,7 +6,7 @@
6
6
  <title2>One that reckoneth accounts all the day passeth not a single happy moment.</title2>
7
7
  <logout>logout</logout>
8
8
  <name>DC</name>
9
- <contact>&#xA9; %Y J&#xFC;rgen Mangler</contact>
9
+ <contact>&#xA9; %Y Juergen Mangler</contact>
10
10
  <info>Um diese Seite benutzen zu k&#xF6;nnen, m&#xFC;ssen Sie sich identifizieren! &amp;lt;i&amp;gt;Wichtig: Cookies m&#xFC;ssen aktiviert sein.&amp;lt;/i&amp;gt;
11
11
  &amp;lt;ul&amp;gt;
12
12
  &amp;lt;li&amp;gt;Falls Sie Ihr Probleme mit dem Login haben, wenden Sie sich an Ihren LV-Leiter.&amp;lt;/li&amp;gt;
data/static/js/engine.js CHANGED
@@ -66,6 +66,12 @@ var CEWebS = (function() {
66
66
  });
67
67
  document.body.hidden = false;
68
68
  document.title = text('name');
69
+ // a favicon in the strings replaces the CEWebS icons of index.html
70
+ var favicon = text('favicon').trim();
71
+ if (favicon) {
72
+ document.querySelectorAll('link[rel="icon"]').forEach(function(l) { l.remove(); });
73
+ document.head.append(el('link', { rel: 'icon', href: favicon }));
74
+ }
69
75
  // %Y is the current year
70
76
  ['title1', 'title2', 'youarehere', 'contact'].forEach(function(n) { id(n).innerHTML = string(n).replace('%Y', new Date().getFullYear()); });
71
77
  var user = page.querySelector(':scope > user');
Binary file
@@ -0,0 +1,108 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
2
+ <rect width="32" height="32" rx="6" fill="#36444a"/>
3
+ <svg x="2" y="2" width="28" height="28" viewBox="20 28 673 673">
4
+ <g transform="translate(0.000000,704.000000) scale(0.100000,-0.100000)" fill="#f5a300">
5
+ <path d="M3495 6711 c-27 -11 -39 -28 -54 -70 -6 -19 -26 -57 -44 -85 -32 -51
6
+ -32 -51 -37 -879 -5 -829 -5 -829 -33 -853 -15 -13 -36 -24 -45 -24 -9 0 -46
7
+ -18 -82 -40 -55 -34 -73 -40 -120 -40 -47 0 -65 -6 -120 -40 -36 -22 -72 -40
8
+ -81 -40 -8 0 -37 -14 -65 -31 -73 -47 -97 -53 -132 -35 -16 8 -267 252 -557
9
+ 542 -502 500 -570 564 -605 564 -8 0 -44 18 -80 40 -63 39 -67 40 -155 40
10
+ -101 0 -133 -12 -153 -53 -15 -30 -17 -22 46 -142 11 -22 26 -55 33 -73 7 -20
11
+ 78 -100 182 -205 198 -200 207 -212 207 -287 0 -47 -6 -65 -40 -120 -34 -55
12
+ -40 -73 -40 -120 0 -47 -6 -65 -40 -120 -22 -36 -40 -72 -40 -80 0 -8 -18 -44
13
+ -40 -80 -22 -36 -40 -72 -40 -80 0 -8 -18 -44 -40 -80 -34 -55 -40 -73 -40
14
+ -120 0 -47 -6 -65 -40 -120 -22 -36 -40 -72 -40 -80 0 -8 -18 -44 -40 -80 -33
15
+ -54 -40 -74 -40 -118 0 -62 -9 -83 -59 -135 -64 -68 -59 -67 -381 -67 -322 0
16
+ -317 1 -381 -67 -50 -52 -59 -73 -59 -133 0 -69 39 -131 122 -192 2 -1 144 -4
17
+ 316 -8 314 -5 314 -5 338 -33 13 -15 24 -36 24 -45 0 -9 18 -46 40 -82 22 -36
18
+ 40 -72 40 -80 0 -8 18 -44 40 -80 34 -55 40 -73 40 -120 0 -47 6 -65 40 -120
19
+ 34 -55 40 -73 40 -120 0 -47 6 -65 40 -120 22 -36 40 -72 40 -80 0 -8 18 -44
20
+ 40 -80 33 -54 40 -74 40 -118 0 -65 7 -79 80 -162 73 -83 80 -97 80 -162 0
21
+ -70 -12 -88 -160 -237 -120 -123 -160 -172 -160 -200 0 -8 -19 -45 -41 -83
22
+ -39 -64 -41 -72 -37 -128 6 -82 26 -102 108 -108 56 -4 64 -2 128 37 38 22 75
23
+ 41 83 41 28 0 76 39 204 164 180 176 181 176 289 107 28 -17 57 -31 65 -31 9
24
+ 0 45 -18 81 -40 55 -34 73 -40 120 -40 47 0 65 -6 120 -40 36 -22 72 -40 80
25
+ -40 8 0 44 -18 80 -40 55 -34 73 -40 120 -40 47 0 65 -6 120 -40 36 -22 72
26
+ -40 80 -40 8 0 44 -18 80 -40 55 -34 73 -40 120 -40 47 0 65 -6 120 -40 36
27
+ -22 73 -40 82 -40 9 0 30 -11 45 -24 28 -24 28 -24 33 -253 5 -229 5 -229 40
28
+ -283 28 -43 36 -68 41 -124 7 -78 24 -100 85 -112 96 -18 144 17 153 112 5 56
29
+ 13 81 41 124 35 54 35 54 40 282 6 271 4 267 117 277 55 5 80 14 128 44 33 20
30
+ 67 37 75 37 8 0 44 18 80 40 36 22 72 40 80 40 8 0 44 18 80 40 55 34 73 40
31
+ 120 40 47 0 65 6 120 40 36 22 72 40 80 40 8 0 44 18 80 40 36 22 72 40 80 40
32
+ 8 0 44 18 80 40 55 34 73 40 121 40 45 0 64 6 105 31 108 69 109 69 289 -107
33
+ 128 -125 176 -164 204 -164 8 0 45 -19 83 -41 64 -39 72 -41 128 -37 82 6 102
34
+ 26 108 108 4 56 2 64 -37 128 -22 38 -41 75 -41 83 0 28 -40 77 -160 200 -148
35
+ 149 -160 167 -160 237 0 65 7 79 80 162 73 83 80 97 80 162 0 44 7 64 40 118
36
+ 22 36 40 72 40 80 0 8 18 44 40 80 34 55 40 73 40 120 0 47 6 65 40 120 34 55
37
+ 40 73 40 120 0 47 6 65 40 120 22 36 40 72 40 80 0 8 18 44 40 80 22 36 40 73
38
+ 40 82 0 9 11 30 24 45 24 28 24 28 293 33 269 5 269 5 319 37 28 18 68 39 90
39
+ 46 99 34 99 200 0 234 -22 7 -62 28 -90 46 -50 32 -50 32 -319 37 -269 5 -269
40
+ 5 -293 33 -13 15 -24 36 -24 45 0 9 -18 46 -40 82 -22 36 -40 72 -40 80 0 8
41
+ -18 44 -40 80 -34 55 -40 73 -40 120 0 47 -6 65 -40 120 -22 36 -40 72 -40 80
42
+ 0 8 -18 44 -40 80 -22 36 -40 72 -40 80 0 8 -18 44 -40 80 -34 55 -40 73 -40
43
+ 120 0 47 -6 65 -40 120 -22 36 -40 72 -40 80 0 8 -18 44 -40 80 -34 55 -40 73
44
+ -40 120 0 74 9 87 204 284 202 205 199 199 194 327 -4 135 -12 143 -147 147
45
+ -128 5 -122 8 -327 -194 -197 -195 -210 -204 -284 -204 -47 0 -65 6 -120 40
46
+ -36 22 -72 40 -80 40 -8 0 -44 18 -80 40 -55 34 -73 40 -120 40 -47 0 -65 6
47
+ -120 40 -36 22 -72 40 -80 40 -8 0 -44 18 -80 40 -55 34 -73 40 -120 40 -47 0
48
+ -65 6 -120 40 -36 22 -72 40 -80 40 -8 0 -44 18 -80 40 -54 33 -74 40 -118 40
49
+ -63 0 -94 15 -143 67 -58 61 -59 64 -59 295 0 213 0 213 -37 273 -30 48 -39
50
+ 73 -44 128 -8 90 -27 110 -106 114 -32 1 -67 -1 -78 -6z m400 -1260 c39 -15
51
+ 92 -42 119 -60 41 -25 60 -31 105 -31 48 0 66 -6 121 -40 36 -22 72 -40 80
52
+ -40 8 0 44 -18 80 -40 55 -34 73 -40 120 -40 47 0 65 -6 120 -40 36 -22 72
53
+ -40 80 -40 54 0 137 -91 125 -137 -7 -29 -363 -386 -408 -410 -34 -17 -59 -11
54
+ -131 36 -28 17 -57 31 -65 31 -9 0 -45 18 -81 40 -55 34 -73 40 -120 40 -47 0
55
+ -65 6 -120 40 -36 22 -73 40 -82 40 -9 0 -30 11 -45 24 -28 24 -28 24 -31 313
56
+ -4 377 -6 371 133 314z m-1894 -779 c41 -26 368 -363 385 -395 18 -34 12 -59
57
+ -35 -131 -25 -41 -31 -60 -31 -105 0 -48 -6 -66 -40 -121 -22 -36 -40 -72 -40
58
+ -80 0 -8 -18 -44 -40 -80 -22 -36 -40 -73 -40 -82 0 -9 -11 -30 -24 -45 -24
59
+ -28 -24 -28 -313 -31 -309 -3 -343 1 -343 40 0 32 51 153 89 212 25 41 31 60
60
+ 31 105 0 48 6 66 40 121 22 36 40 72 40 80 0 8 18 44 40 80 34 55 40 73 40
61
+ 120 0 47 6 65 40 120 22 36 40 72 40 80 0 24 49 95 79 113 33 21 50 21 82 -1z
62
+ m3199 2 c30 -18 80 -89 80 -114 0 -8 18 -44 40 -80 22 -36 40 -72 40 -80 0 -8
63
+ 18 -44 40 -80 22 -36 40 -72 40 -80 0 -8 18 -44 40 -80 34 -55 40 -73 40 -120
64
+ 0 -47 6 -65 40 -120 22 -36 40 -72 40 -80 0 -8 17 -41 37 -74 45 -73 47 -110
65
+ 9 -143 -28 -24 -28 -24 -333 -21 -305 3 -305 3 -329 31 -13 15 -24 36 -24 45
66
+ 0 9 -18 46 -40 82 -22 36 -40 72 -40 80 0 8 -18 44 -40 80 -34 55 -40 73 -40
67
+ 121 0 45 -6 64 -31 105 -71 111 -74 105 152 334 218 222 224 226 279 194z
68
+ m-1862 -310 c21 -24 22 -33 22 -189 0 -190 -6 -215 -51 -215 -27 0 -47 17
69
+ -143 116 -61 64 -115 126 -119 139 -11 31 10 76 43 91 14 7 41 19 60 28 19 9
70
+ 55 28 79 41 50 28 75 26 109 -11z m592 -10 c31 -19 63 -34 71 -34 25 0 66 -37
71
+ 73 -64 10 -39 -3 -58 -120 -180 -96 -100 -116 -116 -143 -116 -45 0 -51 25
72
+ -51 213 0 174 6 198 54 217 28 11 50 4 116 -36z m-1080 -526 c130 -124 150
73
+ -148 150 -180 0 -42 -28 -48 -215 -48 -157 0 -165 1 -191 23 -38 33 -35 71 9
74
+ 143 21 33 37 66 37 74 0 22 29 60 54 70 38 16 70 0 156 -82z m1608 56 c12 -14
75
+ 22 -33 22 -42 0 -9 17 -43 37 -76 44 -72 47 -110 9 -143 -26 -22 -34 -23 -191
76
+ -23 -190 0 -215 6 -215 51 0 27 16 47 116 143 146 140 169 149 222 90z m-2322
77
+ -717 c13 -15 24 -36 24 -45 0 -9 18 -46 40 -82 22 -36 40 -72 40 -80 0 -8 18
78
+ -44 40 -80 22 -36 40 -72 40 -80 0 -8 18 -44 40 -80 48 -78 55 -151 20 -208
79
+ -27 -44 -399 -411 -428 -423 -62 -24 -112 25 -112 110 0 48 -6 65 -40 121 -22
80
+ 36 -40 72 -40 80 0 8 -18 44 -40 80 -22 36 -40 72 -40 80 0 8 -18 44 -40 80
81
+ -34 55 -40 73 -40 120 0 47 -6 65 -40 120 -22 36 -40 72 -40 80 0 8 -16 41
82
+ -37 74 -45 73 -47 110 -9 143 28 24 28 24 333 21 305 -3 305 -3 329 -31z m838
83
+ 23 c20 -7 26 -16 26 -41 0 -27 -16 -47 -116 -143 -122 -117 -141 -130 -180
84
+ -120 -27 7 -64 48 -64 73 0 8 -16 42 -37 75 -44 72 -47 110 -9 143 26 22 34
85
+ 23 191 23 90 0 175 -4 189 -10z m1520 0 c32 -12 34 -41 6 -101 -11 -24 -20
86
+ -64 -20 -89 0 -56 -18 -91 -53 -108 -42 -21 -65 -7 -191 114 -100 96 -116 116
87
+ -116 143 0 23 6 34 23 41 30 12 319 12 351 0z m1152 -13 c38 -33 35 -71 -9
88
+ -143 -20 -33 -37 -66 -37 -74 0 -8 -18 -44 -40 -80 -34 -55 -40 -73 -40 -120
89
+ 0 -47 -6 -65 -40 -120 -22 -36 -40 -72 -40 -80 0 -8 -18 -44 -40 -80 -22 -36
90
+ -40 -72 -40 -80 0 -8 -18 -44 -40 -80 -34 -56 -40 -73 -40 -121 0 -85 -50
91
+ -134 -112 -110 -29 12 -401 379 -428 423 -35 57 -28 130 20 208 22 36 40 72
92
+ 40 80 0 8 18 44 40 80 33 54 40 74 40 118 0 63 15 94 67 143 63 60 55 58 375
93
+ 59 297 0 297 0 324 -23z m-2296 -363 c6 -15 10 -303 10 -749 0 -724 0 -724
94
+ -23 -751 -33 -38 -71 -35 -143 9 -49 31 -69 37 -114 37 -47 0 -65 6 -120 40
95
+ -36 22 -72 40 -80 40 -8 0 -44 18 -80 40 -55 34 -73 40 -120 40 -47 0 -65 6
96
+ -120 40 -36 22 -72 40 -80 40 -8 0 -44 18 -80 40 -49 30 -76 40 -107 40 -66 0
97
+ -93 14 -93 49 0 46 1065 1111 1111 1111 22 0 32 -6 39 -26z m573 -56 c98 -100
98
+ 127 -136 127 -160 0 -26 -65 -94 -103 -108 -17 -6 -51 -20 -75 -31 -101 -45
99
+ -112 -28 -112 181 0 175 6 200 51 200 25 0 45 -14 112 -82z m522 -536 c43 -26
100
+ 415 -402 426 -430 18 -46 -24 -112 -70 -112 -9 0 -45 -18 -81 -40 -55 -34 -73
101
+ -40 -120 -40 -47 0 -65 -6 -120 -40 -36 -22 -72 -40 -80 -40 -8 0 -44 -18 -80
102
+ -40 -36 -22 -72 -40 -80 -40 -8 0 -44 -18 -80 -40 -55 -34 -73 -40 -120 -40
103
+ -45 0 -65 -6 -114 -37 -73 -45 -110 -47 -143 -9 -24 28 -24 28 -21 333 3 305
104
+ 3 305 31 329 15 13 36 24 45 24 9 0 46 18 82 40 55 34 73 40 120 40 47 0 65 6
105
+ 120 40 36 22 72 40 81 40 8 0 37 14 64 31 85 54 98 57 140 31z"/>
106
+ </g>
107
+ </svg>
108
+ </svg>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cewebs-transformationengine
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -739,6 +739,7 @@ files:
739
739
  - static/styles/AdwaitaSans-Regular.ttf
740
740
  - static/styles/AdwaitaSans-Regular.ttf.License
741
741
  - static/styles/CEWebS.ico
742
+ - static/styles/CEWebS.svg
742
743
  - static/styles/content.css
743
744
  - static/styles/fullplain.css
744
745
  - static/styles/jquery-ui/custom.css