summaryrefslogtreecommitdiffstats
path: root/dist/js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-08-25 23:24:12 +0200
committersijanec <sijanecantonluka@gmail.com>2020-08-25 23:24:12 +0200
commita814ef4e939fe42c49955d920201eb34ba8ca3d0 (patch)
treea05097472183bfe337ec5b1f7e3b6a6cff8dcd4a /dist/js
parentfixed help screens and notices for make generate != make install (diff)
downloadbeziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar.gz
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar.bz2
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar.lz
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar.xz
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.tar.zst
beziapp-a814ef4e939fe42c49955d920201eb34ba8ca3d0.zip
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--]dist/js/about.js0
-rwxr-xr-x[-rw-r--r--]dist/js/absences.js0
-rwxr-xr-x[-rw-r--r--]dist/js/app.js2
-rwxr-xr-x[-rw-r--r--]dist/js/changelog.js0
-rwxr-xr-x[-rw-r--r--]dist/js/chats.js0
-rwxr-xr-x[-rw-r--r--]dist/js/grades.js0
-rwxr-xr-x[-rw-r--r--]dist/js/gradings.js0
-rwxr-xr-x[-rw-r--r--]dist/js/gsec.js0
-rwxr-xr-x[-rw-r--r--]dist/js/initialize.js0
-rwxr-xr-x[-rw-r--r--]dist/js/jitsi.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lang/bundle.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/fullcalendar/core/main.min.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/fullcalendar/daygrid/main.min.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/fullcalendar/timegrid/main.min.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/he.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/jquery.min.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/localforage.min.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/materialize.min.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/mergedeep.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/sjcl.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/themes.js0
-rwxr-xr-x[-rw-r--r--]dist/js/lib/xss.js0
-rwxr-xr-x[-rw-r--r--]dist/js/login.js2
-rwxr-xr-x[-rw-r--r--]dist/js/logout.js0
-rwxr-xr-x[-rw-r--r--]dist/js/meals.js0
-rwxr-xr-x[-rw-r--r--]dist/js/messaging.js0
-rwxr-xr-x[-rw-r--r--]dist/js/privacypolicy.js0
-rwxr-xr-x[-rw-r--r--]dist/js/settings.js0
-rwxr-xr-x[-rw-r--r--]dist/js/setup-storage.js0
-rwxr-xr-x[-rw-r--r--]dist/js/teachers.js0
-rwxr-xr-x[-rw-r--r--]dist/js/timetable.js0
-rwxr-xr-x[-rw-r--r--]dist/js/tos.js0
32 files changed, 2 insertions, 2 deletions
diff --git a/dist/js/about.js b/dist/js/about.js
index cc12495..cc12495 100644..100755
--- a/dist/js/about.js
+++ b/dist/js/about.js
diff --git a/dist/js/absences.js b/dist/js/absences.js
index f6f4f7d..f6f4f7d 100644..100755
--- a/dist/js/absences.js
+++ b/dist/js/absences.js
diff --git a/dist/js/app.js b/dist/js/app.js
index d5eca86..573d7fa 100644..100755
--- 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
index d01d3b5..d01d3b5 100644..100755
--- a/dist/js/changelog.js
+++ b/dist/js/changelog.js
diff --git a/dist/js/chats.js b/dist/js/chats.js
index 7403d0c..7403d0c 100644..100755
--- a/dist/js/chats.js
+++ b/dist/js/chats.js
diff --git a/dist/js/grades.js b/dist/js/grades.js
index 5f9f9be..5f9f9be 100644..100755
--- a/dist/js/grades.js
+++ b/dist/js/grades.js
diff --git a/dist/js/gradings.js b/dist/js/gradings.js
index 713ea20..713ea20 100644..100755
--- a/dist/js/gradings.js
+++ b/dist/js/gradings.js
diff --git a/dist/js/gsec.js b/dist/js/gsec.js
index 59d95bf..59d95bf 100644..100755
--- a/dist/js/gsec.js
+++ b/dist/js/gsec.js
diff --git a/dist/js/initialize.js b/dist/js/initialize.js
index 1d9a5f6..1d9a5f6 100644..100755
--- a/dist/js/initialize.js
+++ b/dist/js/initialize.js
diff --git a/dist/js/jitsi.js b/dist/js/jitsi.js
index cc12495..cc12495 100644..100755
--- a/dist/js/jitsi.js
+++ b/dist/js/jitsi.js
diff --git a/dist/js/lang/bundle.js b/dist/js/lang/bundle.js
index adb8d97..adb8d97 100644..100755
--- a/dist/js/lang/bundle.js
+++ b/dist/js/lang/bundle.js
diff --git a/dist/js/lib/fullcalendar/core/main.min.js b/dist/js/lib/fullcalendar/core/main.min.js
index 042058b..042058b 100644..100755
--- a/dist/js/lib/fullcalendar/core/main.min.js
+++ b/dist/js/lib/fullcalendar/core/main.min.js
diff --git a/dist/js/lib/fullcalendar/daygrid/main.min.js b/dist/js/lib/fullcalendar/daygrid/main.min.js
index 1567738..1567738 100644..100755
--- a/dist/js/lib/fullcalendar/daygrid/main.min.js
+++ b/dist/js/lib/fullcalendar/daygrid/main.min.js
diff --git a/dist/js/lib/fullcalendar/timegrid/main.min.js b/dist/js/lib/fullcalendar/timegrid/main.min.js
index e7e2643..e7e2643 100644..100755
--- a/dist/js/lib/fullcalendar/timegrid/main.min.js
+++ b/dist/js/lib/fullcalendar/timegrid/main.min.js
diff --git a/dist/js/lib/he.js b/dist/js/lib/he.js
index 5a210a8..5a210a8 100644..100755
--- a/dist/js/lib/he.js
+++ b/dist/js/lib/he.js
diff --git a/dist/js/lib/jquery.min.js b/dist/js/lib/jquery.min.js
index bd9216d..bd9216d 100644..100755
--- a/dist/js/lib/jquery.min.js
+++ b/dist/js/lib/jquery.min.js
diff --git a/dist/js/lib/localforage.min.js b/dist/js/lib/localforage.min.js
index 2268df4..2268df4 100644..100755
--- a/dist/js/lib/localforage.min.js
+++ b/dist/js/lib/localforage.min.js
diff --git a/dist/js/lib/materialize.min.js b/dist/js/lib/materialize.min.js
index d396693..d396693 100644..100755
--- a/dist/js/lib/materialize.min.js
+++ b/dist/js/lib/materialize.min.js
diff --git a/dist/js/lib/mergedeep.js b/dist/js/lib/mergedeep.js
index fa2403d..fa2403d 100644..100755
--- a/dist/js/lib/mergedeep.js
+++ b/dist/js/lib/mergedeep.js
diff --git a/dist/js/lib/sjcl.js b/dist/js/lib/sjcl.js
index d3d908d..d3d908d 100644..100755
--- a/dist/js/lib/sjcl.js
+++ b/dist/js/lib/sjcl.js
diff --git a/dist/js/lib/themes.js b/dist/js/lib/themes.js
index 1996b9f..1996b9f 100644..100755
--- a/dist/js/lib/themes.js
+++ b/dist/js/lib/themes.js
diff --git a/dist/js/lib/xss.js b/dist/js/lib/xss.js
index f2030f0..f2030f0 100644..100755
--- a/dist/js/lib/xss.js
+++ b/dist/js/lib/xss.js
diff --git a/dist/js/login.js b/dist/js/login.js
index 88cf081..0e8187a 100644..100755
--- 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
index 3f9f7ed..3f9f7ed 100644..100755
--- a/dist/js/logout.js
+++ b/dist/js/logout.js
diff --git a/dist/js/meals.js b/dist/js/meals.js
index e014f5a..e014f5a 100644..100755
--- a/dist/js/meals.js
+++ b/dist/js/meals.js
diff --git a/dist/js/messaging.js b/dist/js/messaging.js
index 1650563..1650563 100644..100755
--- a/dist/js/messaging.js
+++ b/dist/js/messaging.js
diff --git a/dist/js/privacypolicy.js b/dist/js/privacypolicy.js
index 84635e9..84635e9 100644..100755
--- a/dist/js/privacypolicy.js
+++ b/dist/js/privacypolicy.js
diff --git a/dist/js/settings.js b/dist/js/settings.js
index 9e52861..9e52861 100644..100755
--- a/dist/js/settings.js
+++ b/dist/js/settings.js
diff --git a/dist/js/setup-storage.js b/dist/js/setup-storage.js
index be05650..be05650 100644..100755
--- a/dist/js/setup-storage.js
+++ b/dist/js/setup-storage.js
diff --git a/dist/js/teachers.js b/dist/js/teachers.js
index 03ae948..03ae948 100644..100755
--- a/dist/js/teachers.js
+++ b/dist/js/teachers.js
diff --git a/dist/js/timetable.js b/dist/js/timetable.js
index 79539f6..79539f6 100644..100755
--- a/dist/js/timetable.js
+++ b/dist/js/timetable.js
diff --git a/dist/js/tos.js b/dist/js/tos.js
index 84635e9..84635e9 100644..100755
--- a/dist/js/tos.js
+++ b/dist/js/tos.js