From a814ef4e939fe42c49955d920201eb34ba8ca3d0 Mon Sep 17 00:00:00 2001
From: sijanec
Date: Tue, 25 Aug 2020 23:24:12 +0200
Subject: added developer's note to the login screen
---
dist/.well-known/assetlinks.json | 0
dist/_config.yml | 0
dist/assetlinks.json | 0
dist/cache_name.txt | 2 +-
dist/css/bubbles.css | 0
dist/css/fontawesome.min.css | 0
dist/css/fullcalendar/core/main.min.css | 0
dist/css/fullcalendar/custom.css | 0
dist/css/fullcalendar/daygrid/main.min.css | 0
dist/css/fullcalendar/timegrid/main.min.css | 0
dist/css/materialicons.css | 0
dist/css/materialize.min.css | 0
dist/css/styles.css | 0
dist/directory.json | 0
dist/favicon.png | Bin
dist/fonts/fa-brands-400.eot | Bin
dist/fonts/fa-brands-400.woff2 | Bin
dist/fonts/fa-regular-400.eot | Bin
dist/fonts/fa-regular-400.woff2 | Bin
dist/fonts/fa-solid-900.eot | Bin
dist/fonts/fa-solid-900.woff2 | Bin
dist/fonts/materialicons.woff2 | Bin
dist/img/avatars/asijanec.png | Bin
dist/img/avatars/rstular.png | Bin
dist/img/flags/en.svg | 0
dist/img/flags/sl.svg | 0
dist/img/icons/icon_144.png | Bin
dist/img/icons/icon_192.png | Bin
dist/img/icons/icon_384.png | Bin
dist/img/icons/icon_48.png | Bin
dist/img/icons/icon_512.png | Bin
dist/img/icons/icon_72.png | Bin
dist/img/icons/icon_96.png | Bin
dist/index.html | 0
dist/js/about.js | 0
dist/js/absences.js | 0
dist/js/app.js | 2 +-
dist/js/changelog.js | 0
dist/js/chats.js | 0
dist/js/grades.js | 0
dist/js/gradings.js | 0
dist/js/gsec.js | 0
dist/js/initialize.js | 0
dist/js/jitsi.js | 0
dist/js/lang/bundle.js | 0
dist/js/lib/fullcalendar/core/main.min.js | 0
dist/js/lib/fullcalendar/daygrid/main.min.js | 0
dist/js/lib/fullcalendar/timegrid/main.min.js | 0
dist/js/lib/he.js | 0
dist/js/lib/jquery.min.js | 0
dist/js/lib/localforage.min.js | 0
dist/js/lib/materialize.min.js | 0
dist/js/lib/mergedeep.js | 0
dist/js/lib/sjcl.js | 0
dist/js/lib/themes.js | 0
dist/js/lib/xss.js | 0
dist/js/login.js | 2 +-
dist/js/logout.js | 0
dist/js/meals.js | 0
dist/js/messaging.js | 0
dist/js/privacypolicy.js | 0
dist/js/settings.js | 0
dist/js/setup-storage.js | 0
dist/js/teachers.js | 0
dist/js/timetable.js | 0
dist/js/tos.js | 0
dist/login.html | 3 +++
dist/logout.html | 0
dist/manifest.json | 0
dist/pages/about.html | 2 +-
dist/pages/absences.html | 0
dist/pages/changelog.html | 0
dist/pages/chats.html | 0
dist/pages/grades.html | 0
dist/pages/gradings.html | 0
dist/pages/jitsi.html | 0
dist/pages/meals.html | 0
dist/pages/messaging.html | 0
dist/pages/privacypolicy.html | 0
dist/pages/settings.html | 0
dist/pages/teachers.html | 0
dist/pages/timetable.html | 0
dist/pages/tos.html | 0
dist/server-message-at-login.html | 11 +++++++++++
dist/sw.js | 4 ++--
85 files changed, 20 insertions(+), 6 deletions(-)
mode change 100644 => 100755 dist/.well-known/assetlinks.json
mode change 100644 => 100755 dist/_config.yml
mode change 100644 => 100755 dist/assetlinks.json
mode change 100644 => 100755 dist/cache_name.txt
mode change 100644 => 100755 dist/css/bubbles.css
mode change 100644 => 100755 dist/css/fontawesome.min.css
mode change 100644 => 100755 dist/css/fullcalendar/core/main.min.css
mode change 100644 => 100755 dist/css/fullcalendar/custom.css
mode change 100644 => 100755 dist/css/fullcalendar/daygrid/main.min.css
mode change 100644 => 100755 dist/css/fullcalendar/timegrid/main.min.css
mode change 100644 => 100755 dist/css/materialicons.css
mode change 100644 => 100755 dist/css/materialize.min.css
mode change 100644 => 100755 dist/css/styles.css
mode change 100644 => 100755 dist/directory.json
mode change 100644 => 100755 dist/favicon.png
mode change 100644 => 100755 dist/fonts/fa-brands-400.eot
mode change 100644 => 100755 dist/fonts/fa-brands-400.woff2
mode change 100644 => 100755 dist/fonts/fa-regular-400.eot
mode change 100644 => 100755 dist/fonts/fa-regular-400.woff2
mode change 100644 => 100755 dist/fonts/fa-solid-900.eot
mode change 100644 => 100755 dist/fonts/fa-solid-900.woff2
mode change 100644 => 100755 dist/fonts/materialicons.woff2
mode change 100644 => 100755 dist/img/avatars/asijanec.png
mode change 100644 => 100755 dist/img/avatars/rstular.png
mode change 100644 => 100755 dist/img/flags/en.svg
mode change 100644 => 100755 dist/img/flags/sl.svg
mode change 100644 => 100755 dist/img/icons/icon_144.png
mode change 100644 => 100755 dist/img/icons/icon_192.png
mode change 100644 => 100755 dist/img/icons/icon_384.png
mode change 100644 => 100755 dist/img/icons/icon_48.png
mode change 100644 => 100755 dist/img/icons/icon_512.png
mode change 100644 => 100755 dist/img/icons/icon_72.png
mode change 100644 => 100755 dist/img/icons/icon_96.png
mode change 100644 => 100755 dist/index.html
mode change 100644 => 100755 dist/js/about.js
mode change 100644 => 100755 dist/js/absences.js
mode change 100644 => 100755 dist/js/app.js
mode change 100644 => 100755 dist/js/changelog.js
mode change 100644 => 100755 dist/js/chats.js
mode change 100644 => 100755 dist/js/grades.js
mode change 100644 => 100755 dist/js/gradings.js
mode change 100644 => 100755 dist/js/gsec.js
mode change 100644 => 100755 dist/js/initialize.js
mode change 100644 => 100755 dist/js/jitsi.js
mode change 100644 => 100755 dist/js/lang/bundle.js
mode change 100644 => 100755 dist/js/lib/fullcalendar/core/main.min.js
mode change 100644 => 100755 dist/js/lib/fullcalendar/daygrid/main.min.js
mode change 100644 => 100755 dist/js/lib/fullcalendar/timegrid/main.min.js
mode change 100644 => 100755 dist/js/lib/he.js
mode change 100644 => 100755 dist/js/lib/jquery.min.js
mode change 100644 => 100755 dist/js/lib/localforage.min.js
mode change 100644 => 100755 dist/js/lib/materialize.min.js
mode change 100644 => 100755 dist/js/lib/mergedeep.js
mode change 100644 => 100755 dist/js/lib/sjcl.js
mode change 100644 => 100755 dist/js/lib/themes.js
mode change 100644 => 100755 dist/js/lib/xss.js
mode change 100644 => 100755 dist/js/login.js
mode change 100644 => 100755 dist/js/logout.js
mode change 100644 => 100755 dist/js/meals.js
mode change 100644 => 100755 dist/js/messaging.js
mode change 100644 => 100755 dist/js/privacypolicy.js
mode change 100644 => 100755 dist/js/settings.js
mode change 100644 => 100755 dist/js/setup-storage.js
mode change 100644 => 100755 dist/js/teachers.js
mode change 100644 => 100755 dist/js/timetable.js
mode change 100644 => 100755 dist/js/tos.js
mode change 100644 => 100755 dist/login.html
mode change 100644 => 100755 dist/logout.html
mode change 100644 => 100755 dist/manifest.json
mode change 100644 => 100755 dist/pages/about.html
mode change 100644 => 100755 dist/pages/absences.html
mode change 100644 => 100755 dist/pages/changelog.html
mode change 100644 => 100755 dist/pages/chats.html
mode change 100644 => 100755 dist/pages/grades.html
mode change 100644 => 100755 dist/pages/gradings.html
mode change 100644 => 100755 dist/pages/jitsi.html
mode change 100644 => 100755 dist/pages/meals.html
mode change 100644 => 100755 dist/pages/messaging.html
mode change 100644 => 100755 dist/pages/privacypolicy.html
mode change 100644 => 100755 dist/pages/settings.html
mode change 100644 => 100755 dist/pages/teachers.html
mode change 100644 => 100755 dist/pages/timetable.html
mode change 100644 => 100755 dist/pages/tos.html
create mode 100755 dist/server-message-at-login.html
mode change 100644 => 100755 dist/sw.js
(limited to 'dist')
diff --git a/dist/.well-known/assetlinks.json b/dist/.well-known/assetlinks.json
old mode 100644
new mode 100755
diff --git a/dist/_config.yml b/dist/_config.yml
old mode 100644
new mode 100755
diff --git a/dist/assetlinks.json b/dist/assetlinks.json
old mode 100644
new mode 100755
diff --git a/dist/cache_name.txt b/dist/cache_name.txt
old mode 100644
new mode 100755
index 7b41b55..09e2bfc
--- a/dist/cache_name.txt
+++ b/dist/cache_name.txt
@@ -2,4 +2,4 @@
-///site-static-1.0.14.3-beta-7b41388|||
+///site-static-1.0.14.3-beta-4cb2560|||
diff --git a/dist/css/bubbles.css b/dist/css/bubbles.css
old mode 100644
new mode 100755
diff --git a/dist/css/fontawesome.min.css b/dist/css/fontawesome.min.css
old mode 100644
new mode 100755
diff --git a/dist/css/fullcalendar/core/main.min.css b/dist/css/fullcalendar/core/main.min.css
old mode 100644
new mode 100755
diff --git a/dist/css/fullcalendar/custom.css b/dist/css/fullcalendar/custom.css
old mode 100644
new mode 100755
diff --git a/dist/css/fullcalendar/daygrid/main.min.css b/dist/css/fullcalendar/daygrid/main.min.css
old mode 100644
new mode 100755
diff --git a/dist/css/fullcalendar/timegrid/main.min.css b/dist/css/fullcalendar/timegrid/main.min.css
old mode 100644
new mode 100755
diff --git a/dist/css/materialicons.css b/dist/css/materialicons.css
old mode 100644
new mode 100755
diff --git a/dist/css/materialize.min.css b/dist/css/materialize.min.css
old mode 100644
new mode 100755
diff --git a/dist/css/styles.css b/dist/css/styles.css
old mode 100644
new mode 100755
diff --git a/dist/directory.json b/dist/directory.json
old mode 100644
new mode 100755
diff --git a/dist/favicon.png b/dist/favicon.png
old mode 100644
new mode 100755
diff --git a/dist/fonts/fa-brands-400.eot b/dist/fonts/fa-brands-400.eot
old mode 100644
new mode 100755
diff --git a/dist/fonts/fa-brands-400.woff2 b/dist/fonts/fa-brands-400.woff2
old mode 100644
new mode 100755
diff --git a/dist/fonts/fa-regular-400.eot b/dist/fonts/fa-regular-400.eot
old mode 100644
new mode 100755
diff --git a/dist/fonts/fa-regular-400.woff2 b/dist/fonts/fa-regular-400.woff2
old mode 100644
new mode 100755
diff --git a/dist/fonts/fa-solid-900.eot b/dist/fonts/fa-solid-900.eot
old mode 100644
new mode 100755
diff --git a/dist/fonts/fa-solid-900.woff2 b/dist/fonts/fa-solid-900.woff2
old mode 100644
new mode 100755
diff --git a/dist/fonts/materialicons.woff2 b/dist/fonts/materialicons.woff2
old mode 100644
new mode 100755
diff --git a/dist/img/avatars/asijanec.png b/dist/img/avatars/asijanec.png
old mode 100644
new mode 100755
diff --git a/dist/img/avatars/rstular.png b/dist/img/avatars/rstular.png
old mode 100644
new mode 100755
diff --git a/dist/img/flags/en.svg b/dist/img/flags/en.svg
old mode 100644
new mode 100755
diff --git a/dist/img/flags/sl.svg b/dist/img/flags/sl.svg
old mode 100644
new mode 100755
diff --git a/dist/img/icons/icon_144.png b/dist/img/icons/icon_144.png
old mode 100644
new mode 100755
diff --git a/dist/img/icons/icon_192.png b/dist/img/icons/icon_192.png
old mode 100644
new mode 100755
diff --git a/dist/img/icons/icon_384.png b/dist/img/icons/icon_384.png
old mode 100644
new mode 100755
diff --git a/dist/img/icons/icon_48.png b/dist/img/icons/icon_48.png
old mode 100644
new mode 100755
diff --git a/dist/img/icons/icon_512.png b/dist/img/icons/icon_512.png
old mode 100644
new mode 100755
diff --git a/dist/img/icons/icon_72.png b/dist/img/icons/icon_72.png
old mode 100644
new mode 100755
diff --git a/dist/img/icons/icon_96.png b/dist/img/icons/icon_96.png
old mode 100644
new mode 100755
diff --git a/dist/index.html b/dist/index.html
old mode 100644
new mode 100755
diff --git a/dist/js/about.js b/dist/js/about.js
old mode 100644
new mode 100755
diff --git a/dist/js/absences.js b/dist/js/absences.js
old mode 100644
new mode 100755
diff --git a/dist/js/app.js b/dist/js/app.js
old mode 100644
new mode 100755
index d5eca86..573d7fa
--- a/dist/js/app.js
+++ b/dist/js/app.js
@@ -3,7 +3,7 @@
const app_version = "1.0.14.3-beta";
-const previous_commit = "7b41388f8eb7be4e8250fe9f69194cf70f1a103b";
+const previous_commit = "4cb2560ef806194ab31a7bb7deb0d4606b0d89b2";
const BEZIAPP_UPDATE_INTERVAL = 300; // update vsakih 300 sekund
if ("serviceWorker" in navigator) {
diff --git a/dist/js/changelog.js b/dist/js/changelog.js
old mode 100644
new mode 100755
diff --git a/dist/js/chats.js b/dist/js/chats.js
old mode 100644
new mode 100755
diff --git a/dist/js/grades.js b/dist/js/grades.js
old mode 100644
new mode 100755
diff --git a/dist/js/gradings.js b/dist/js/gradings.js
old mode 100644
new mode 100755
diff --git a/dist/js/gsec.js b/dist/js/gsec.js
old mode 100644
new mode 100755
diff --git a/dist/js/initialize.js b/dist/js/initialize.js
old mode 100644
new mode 100755
diff --git a/dist/js/jitsi.js b/dist/js/jitsi.js
old mode 100644
new mode 100755
diff --git a/dist/js/lang/bundle.js b/dist/js/lang/bundle.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/fullcalendar/core/main.min.js b/dist/js/lib/fullcalendar/core/main.min.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/fullcalendar/daygrid/main.min.js b/dist/js/lib/fullcalendar/daygrid/main.min.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/fullcalendar/timegrid/main.min.js b/dist/js/lib/fullcalendar/timegrid/main.min.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/he.js b/dist/js/lib/he.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/jquery.min.js b/dist/js/lib/jquery.min.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/localforage.min.js b/dist/js/lib/localforage.min.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/materialize.min.js b/dist/js/lib/materialize.min.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/mergedeep.js b/dist/js/lib/mergedeep.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/sjcl.js b/dist/js/lib/sjcl.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/themes.js b/dist/js/lib/themes.js
old mode 100644
new mode 100755
diff --git a/dist/js/lib/xss.js b/dist/js/lib/xss.js
old mode 100644
new mode 100755
diff --git a/dist/js/login.js b/dist/js/login.js
old mode 100644
new mode 100755
index 88cf081..0e8187a
--- a/dist/js/login.js
+++ b/dist/js/login.js
@@ -1,5 +1,5 @@
-document.addEventListener("DOMContentLoaded",()=>{setupEventListeners();})
+document.addEventListener("DOMContentLoaded",()=>{setupEventListeners();try{load_server_message_at_login();}catch(e){console.log("login.js: load_server-message-at-login: silently failed.");}});function load_server_message_at_login(){$.ajax({url:"/server-message-at-login.html",success:(data)=>{$("#server-message-at-login").html(data);},error:()=>{$("#server-message-at-login").html("");}});}
function setupEventListeners(){$("#login-button").click(()=>{login();});window.addEventListener("keyup",(event)=>{if(event.keyCode===13){event.preventDefault();login();}});}
function login(){let username=$("#username").val();let password=$("#password").val();var gsecInstance;try{gsecInstance=new gsec();}catch(error){$.ajax({url:'js/gsec.js?ajaxload',async:false,dataType:"script",});try{gsecInstance=new gsec();}catch(error){alert(D("browserNotSupported"));}}
gsecInstance.login(username,password).then((value)=>{if(typeof value=="string"){let promises_to_run=[localforage.setItem("logged_in",true),localforage.setItem("username",username),localforage.setItem("password",password)];Promise.all(promises_to_run).then(function(){window.location.replace("/pages/timetable.html");});}else{UIAlert("loginFailed");$("#password").val("");}}).catch((err)=>{gsecErrorHandlerUI(err);$("#password").val("");});}
\ No newline at end of file
diff --git a/dist/js/logout.js b/dist/js/logout.js
old mode 100644
new mode 100755
diff --git a/dist/js/meals.js b/dist/js/meals.js
old mode 100644
new mode 100755
diff --git a/dist/js/messaging.js b/dist/js/messaging.js
old mode 100644
new mode 100755
diff --git a/dist/js/privacypolicy.js b/dist/js/privacypolicy.js
old mode 100644
new mode 100755
diff --git a/dist/js/settings.js b/dist/js/settings.js
old mode 100644
new mode 100755
diff --git a/dist/js/setup-storage.js b/dist/js/setup-storage.js
old mode 100644
new mode 100755
diff --git a/dist/js/teachers.js b/dist/js/teachers.js
old mode 100644
new mode 100755
diff --git a/dist/js/timetable.js b/dist/js/timetable.js
old mode 100644
new mode 100755
diff --git a/dist/js/tos.js b/dist/js/tos.js
old mode 100644
new mode 100755
diff --git a/dist/login.html b/dist/login.html
old mode 100644
new mode 100755
index 542b157..95bcc2e
--- a/dist/login.html
+++ b/dist/login.html
@@ -60,6 +60,9 @@
thePrivacyPolicy
+
+
+