diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2022-09-03 21:43:17 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2022-09-03 21:43:17 +0200 |
commit | 892305380798ea5f838328ca0354d4caa6033750 (patch) | |
tree | aa23f3bd8563432706e2e0e9e0edf4508bd1382a /dist | |
parent | Merge pull request '1.0.17.0-beta' (#3) from dev into master (diff) | |
parent | odstranil matomo, je delal težave pri nalaganju vsebine (diff) | |
download | beziapp-892305380798ea5f838328ca0354d4caa6033750.tar beziapp-892305380798ea5f838328ca0354d4caa6033750.tar.gz beziapp-892305380798ea5f838328ca0354d4caa6033750.tar.bz2 beziapp-892305380798ea5f838328ca0354d4caa6033750.tar.lz beziapp-892305380798ea5f838328ca0354d4caa6033750.tar.xz beziapp-892305380798ea5f838328ca0354d4caa6033750.tar.zst beziapp-892305380798ea5f838328ca0354d4caa6033750.zip |
Diffstat (limited to 'dist')
-rwxr-xr-x | dist/cache_name.txt | 4 | ||||
-rwxr-xr-x | dist/js/app.js | 76 | ||||
-rwxr-xr-x | dist/js/lang/bundle.js | 4 | ||||
-rwxr-xr-x | dist/js/setup-storage.js | 4 | ||||
-rwxr-xr-x | dist/pages/about.html | 11 | ||||
-rwxr-xr-x | dist/pages/absences.html | 7 | ||||
-rwxr-xr-x | dist/pages/changelog.html | 4 | ||||
-rwxr-xr-x | dist/pages/chats.html | 7 | ||||
-rwxr-xr-x | dist/pages/grades.html | 7 | ||||
-rwxr-xr-x | dist/pages/gradings.html | 10 | ||||
-rwxr-xr-x | dist/pages/jitsi.html | 7 | ||||
-rwxr-xr-x | dist/pages/meals.html | 7 | ||||
-rwxr-xr-x | dist/pages/messaging.html | 10 | ||||
-rwxr-xr-x | dist/pages/privacypolicy.html | 4 | ||||
-rwxr-xr-x | dist/pages/settings.html | 7 | ||||
-rwxr-xr-x | dist/pages/teachers.html | 7 | ||||
-rwxr-xr-x | dist/pages/timetable.html | 7 | ||||
-rwxr-xr-x | dist/pages/tos.html | 4 | ||||
-rwxr-xr-x | dist/sw.js | 8 |
19 files changed, 57 insertions, 138 deletions
diff --git a/dist/cache_name.txt b/dist/cache_name.txt index 2cc6cc9..1cebaa7 100755 --- a/dist/cache_name.txt +++ b/dist/cache_name.txt @@ -2,5 +2,5 @@ - -///site-static-1.0.17.0-beta-93d4479||| + +///site-static-1.0.17.1-beta-abd9011|||
\ No newline at end of file diff --git a/dist/js/app.js b/dist/js/app.js index c50b72d..817147d 100755 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -2,10 +2,10 @@ - + // @begin=js@ -const app_version = "1.0.17.0-beta"; -const previous_commit = "93d44790e9175f898c2f50b5bfe8e1d3a197ee53"; +const app_version = "1.0.17.1-beta"; +const previous_commit = "abd9011fa84bdc1f6ee583e387d0ec686c3dc3ab"; const BEZIAPP_UPDATE_INTERVAL = 300; // update vsakih 300 sekund if (location.protocol !== 'https:') { @@ -133,72 +133,4 @@ document.addEventListener("DOMContentLoaded", () => { }); // @begin=js@ - -var BEZIAPP_USERNAME, BEZIAPP_PASSWORD, BEZIAPP_LOPOLIS_USERNAME, BEZIAPP_LOPOLIS_PASSWORD, BEZIAPP_LANGUAGE, BEZIAPP_THEME, BEZIAPP_ERRORREPORTING; - -let promises_to_run_app = [ - localforage.getItem("username").then((value) => { - BEZIAPP_USERNAME = value; - }), - localforage.getItem("password").then((value) => { - BEZIAPP_PASSWORD = value; - }), - localforage.getItem("lopolis_username").then((value) => { - BEZIAPP_LOPOLIS_USERNAME = value; - }), - localforage.getItem("lopolis_password").then((value) => { - BEZIAPP_LOPOLIS_PASSWORD = value; - }), - localforage.getItem("chosenLang").then((value) => { - BEZIAPP_LANGUAGE = value; - }), - localforage.getItem("theme").then((value) => { - BEZIAPP_THEME = value; - }), - localforage.getItem("errorReporting").then((value) => { - BEZIAPP_ERRORREPORTING = value; - }) -]; - -Promise.all(promises_to_run_app).then(() => { - -var _paq = window._paq = window._paq || []; - /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ - _paq.push(["setDocumentTitle", document.domain + "/" + document.title]); - _paq.push(["setDoNotTrack", true]); - - if (BEZIAPP_USERNAME == null || BEZIAPP_USERNAME == "") { - } else { - _paq.push(['setUserId', BEZIAPP_USERNAME]); - } - if (BEZIAPP_LOPOLIS_USERNAME == null || BEZIAPP_LOPOLIS_USERNAME == "") { - } else { - _paq.push(['setCustomVariable', 1, 'lopolis-username', BEZIAPP_LOPOLIS_USERNAME, 'visit']); - } - if (BEZIAPP_LANGUAGE == null || BEZIAPP_LANGUAGE == "") { - } else { - _paq.push(['setCustomVariable', 2, 'language', BEZIAPP_LANGUAGE, 'visit']); - } - if (BEZIAPP_THEME == null || BEZIAPP_THEME == "") { - } else { - _paq.push(['setCustomVariable', 3, 'theme', BEZIAPP_THEME, 'visit']); - } - if (BEZIAPP_ERRORREPORTING == null || BEZIAPP_ERRORREPORTING == "") { - } else { - _paq.push(['setCustomVariable', 4, 'errorreporting', BEZIAPP_ERRORREPORTING, 'visit']); - } - _paq.push(['enableHeartBeatTimer', 30]); - _paq.push(['setCustomVariable', 5, 'domain', window.location.host, 'visit']); - _paq.push(['trackPageView']); - _paq.push(['trackAllContentImpressions']); - _paq.push(['enableLinkTracking']); - (function() { - var u="//matomo.gimb.tk/"; - _paq.push(['setTrackerUrl', u+'matomo.php']); - _paq.push(['setSiteId', '1']); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); - })(); - -}); - +
\ No newline at end of file diff --git a/dist/js/lang/bundle.js b/dist/js/lang/bundle.js index 6b99566..5fa2e42 100755 --- a/dist/js/lang/bundle.js +++ b/dist/js/lang/bundle.js @@ -2,7 +2,7 @@ - + // @begin=js@ // there's an DoS backdoor in BežiApp because of this (-:< var chosenLang; @@ -543,4 +543,4 @@ var langstrings = { // videoconferences videoconferences: "GimB konference" } -} +}
\ No newline at end of file diff --git a/dist/js/setup-storage.js b/dist/js/setup-storage.js index 635253f..2fb4a57 100755 --- a/dist/js/setup-storage.js +++ b/dist/js/setup-storage.js @@ -2,7 +2,7 @@ - + // @begin=js@ async function setupStorage(force = false) { let logged_in; @@ -47,4 +47,4 @@ async function setupStorage(force = false) { await Promise.all(promises_update); console.log("[setupStorage] user not logged in: set up whole database"); } -} +}
\ No newline at end of file diff --git a/dist/pages/about.html b/dist/pages/about.html index d51a448..4c9046d 100755 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> @@ -68,8 +68,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <div class="container"> <div class="row"> <div class="col s12"> @@ -79,7 +78,7 @@ <!-- One day in the future we may have sw cache version covered by this as well --> <h5 class="subheader"> <x-su>version</x-su> - 1.0.17.0-beta + 1.0.17.1-beta </h5> </div> </div> @@ -163,11 +162,11 @@ <div class="row"> <p> <small> - ^HEAD 93d44790e9175f898c2f50b5bfe8e1d3a197ee53 + ^HEAD abd9011fa84bdc1f6ee583e387d0ec686c3dc3ab </small> </p> </div> </div> </body> - </html> + </html>
\ No newline at end of file diff --git a/dist/pages/absences.html b/dist/pages/absences.html index 69ca7f0..75b66ab 100755 --- a/dist/pages/absences.html +++ b/dist/pages/absences.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> <head> @@ -69,8 +69,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <br> <div class="container"> <div class="row"> @@ -93,4 +92,4 @@ </body> -</html> +</html>
\ No newline at end of file diff --git a/dist/pages/changelog.html b/dist/pages/changelog.html index 4821a2b..3a81345 100755 --- a/dist/pages/changelog.html +++ b/dist/pages/changelog.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> @@ -188,4 +188,4 @@ </body> - </html> + </html>
\ No newline at end of file diff --git a/dist/pages/chats.html b/dist/pages/chats.html index 83c66b0..0b6ad89 100755 --- a/dist/pages/chats.html +++ b/dist/pages/chats.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> <head> @@ -75,8 +75,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <ul id="directory-side-menu" class="sidenav side-modal"> <br> <li><a class="header"><h5><x-su>directory</x-su></h5></a></li> @@ -120,4 +119,4 @@ </div> </div> </body> -</html> +</html>
\ No newline at end of file diff --git a/dist/pages/grades.html b/dist/pages/grades.html index 0d8e736..714db4c 100755 --- a/dist/pages/grades.html +++ b/dist/pages/grades.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> <head> @@ -69,8 +69,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <ul id="grade-info" class="sidenav side-modal"> <br> <li><a class="header"> @@ -120,4 +119,4 @@ </body> -</html> +</html>
\ No newline at end of file diff --git a/dist/pages/gradings.html b/dist/pages/gradings.html index 12a4091..238776e 100755 --- a/dist/pages/gradings.html +++ b/dist/pages/gradings.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> @@ -78,8 +78,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <ul id="grading-info" class="sidenav side-modal"> <br> <li><a class="header"> @@ -142,9 +141,8 @@ </div> </div> </div> - - + </body> - </html> + </html>
\ No newline at end of file diff --git a/dist/pages/jitsi.html b/dist/pages/jitsi.html index 7dafa9c..7fb1470 100755 --- a/dist/pages/jitsi.html +++ b/dist/pages/jitsi.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> <head> @@ -66,8 +66,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <!-- Maybe in the future? https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md --> <div class="container" style="height: calc(100vh - 70px); width: 100%"> <iframe allow="geolocation; microphone; camera" src="https://video.gimb.tk" frameBorder="0" style="width: 100%; height: 100%"> @@ -81,4 +80,4 @@ </iframe> </div> </body> -</html> +</html>
\ No newline at end of file diff --git a/dist/pages/meals.html b/dist/pages/meals.html index a071e21..4bfa364 100755 --- a/dist/pages/meals.html +++ b/dist/pages/meals.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> @@ -84,8 +84,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <ul id=meal-info class="sidenav side-modal"> <br> <li> @@ -190,4 +189,4 @@ </div> </body> - </html> + </html>
\ No newline at end of file diff --git a/dist/pages/messaging.html b/dist/pages/messaging.html index 87baac0..891acf2 100755 --- a/dist/pages/messaging.html +++ b/dist/pages/messaging.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> <head> @@ -71,8 +71,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <div class="container"> <div class="row"> @@ -175,7 +174,6 @@ </div> </div> </div> - - + </body> -</html> +</html>
\ No newline at end of file diff --git a/dist/pages/privacypolicy.html b/dist/pages/privacypolicy.html index 62ef319..9f3235c 100755 --- a/dist/pages/privacypolicy.html +++ b/dist/pages/privacypolicy.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> <head> @@ -57,4 +57,4 @@ <p class="flow-text general-text"><x-su>privacyEffectiveAsOf</x-su> 29 January 2020.</p> </div> </body> -</html> +</html>
\ No newline at end of file diff --git a/dist/pages/settings.html b/dist/pages/settings.html index 03543b2..0614a8d 100755 --- a/dist/pages/settings.html +++ b/dist/pages/settings.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> <head> @@ -66,8 +66,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <div class="container"> <div class="row"> @@ -151,4 +150,4 @@ </div> </body> -</html> +</html>
\ No newline at end of file diff --git a/dist/pages/teachers.html b/dist/pages/teachers.html index 50038dc..cba37eb 100755 --- a/dist/pages/teachers.html +++ b/dist/pages/teachers.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> <head> @@ -69,8 +69,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <ul id="teacher-info" class="sidenav side-modal"> <br> <li><a class="subheader"> @@ -102,4 +101,4 @@ </body> -</html> +</html>
\ No newline at end of file diff --git a/dist/pages/timetable.html b/dist/pages/timetable.html index ffd7577..9bd5581 100755 --- a/dist/pages/timetable.html +++ b/dist/pages/timetable.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> <head> @@ -79,8 +79,7 @@ <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> -</ul> - +</ul> <ul id="lesson-info" class="sidenav side-modal"> <br> <li><a class="header"> @@ -107,4 +106,4 @@ </body> -</html> +</html>
\ No newline at end of file diff --git a/dist/pages/tos.html b/dist/pages/tos.html index 18c7c42..b7f4e18 100755 --- a/dist/pages/tos.html +++ b/dist/pages/tos.html @@ -2,7 +2,7 @@ - + <!DOCTYPE html> <html> <head> @@ -71,4 +71,4 @@ <p class="flow-text"><x-su>tosAreEffectiveAsOf</x-su> 29 January, 2020.</p> </div> </body> -</html> +</html>
\ No newline at end of file @@ -2,11 +2,11 @@ - + // @begin=js@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.17.0-beta-93d4479"; -// commit before the latest is 93d44790e9175f898c2f50b5bfe8e1d3a197ee53 +const static_cache_name = "site-static-1.0.17.1-beta-abd9011"; +// commit before the latest is abd9011fa84bdc1f6ee583e387d0ec686c3dc3ab // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! @@ -179,4 +179,4 @@ self.addEventListener("fetch", (evt) => { evt.respondWith(caches.match(evt.request).then((cache_res) => { return cache_res || fetch(evt.request); })) -}); +});
\ No newline at end of file |