From 5c8d213252e72998320cf89c1baca6bfe72e05c0 Mon Sep 17 00:00:00 2001 From: sijanec Date: Mon, 18 Jan 2021 10:03:30 +0100 Subject: replaces gimsis/gse/ to gimsis/ --- assets/js/gsec.js | 2 +- dist/cache_name.txt | 2 +- dist/js/app.js | 2 +- dist/js/gsec.js | 2 +- dist/pages/about.html | 2 +- dist/sw.js | 4 ++-- server/proxy/zgimsis.conf | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/js/gsec.js b/assets/js/gsec.js index 73e8fd2..3dcde88 100644 --- a/assets/js/gsec.js +++ b/assets/js/gsec.js @@ -18,7 +18,7 @@ function slDayToInt(inputString) { // wtf return fourCharDays.indexOf(fourChars); } -const GSE_URL = "https://zgimsis.gimb.tk/gse/"; +const GSE_URL = "https://zgimsis.gimb.tk/"; /* sheer fucking luck I didn't put /gse/ as part of every API method URL */ const GSEC_ERR_NET = "GSEC NETWORK ERROR (ajax error)"; const GSEC_ERR_NET_POSTBACK_GET = "GSEC NETWORK ERROR (ajax error) in postback GET" const GSEC_ERR_NET_POSTBACK_POST = "GSEC NETWORK ERROR (ajax error) in postback POST" diff --git a/dist/cache_name.txt b/dist/cache_name.txt index cff4c21..ef6aaa8 100755 --- a/dist/cache_name.txt +++ b/dist/cache_name.txt @@ -3,4 +3,4 @@ -///site-static-1.0.16.2-beta-90dfb78||| +///site-static-1.0.16.2-beta-095b663||| diff --git a/dist/js/app.js b/dist/js/app.js index 6d1226e..e1f568a 100755 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -5,7 +5,7 @@ // @begin=js@ const app_version = "1.0.16.2-beta"; -const previous_commit = "90dfb784cc11a8cc52e3cfb063273f44849f62a1"; +const previous_commit = "095b66391412ad617eda18ceb503704a9f159703"; const BEZIAPP_UPDATE_INTERVAL = 300; // update vsakih 300 sekund if ("serviceWorker" in navigator) { diff --git a/dist/js/gsec.js b/dist/js/gsec.js index 59d95bf..be98853 100755 --- a/dist/js/gsec.js +++ b/dist/js/gsec.js @@ -2,7 +2,7 @@ var gseAbsenceTypes=["notProcessed","authorizedAbsence","unauthorizedAbsence","doesNotCount"];function getStringBetween(string,start,end){return string.split(start).pop().split(end)[0];} function stripHtml(html){var tmp=document.createElement("DIV");tmp.innerHTML=html;return tmp.textContent||tmp.innerText||"";} function slDayToInt(inputString){let fourChars=inputString.substring(1,5);let fourCharDays=["oned","orek","reda","etrt","etek","obot","edel"];return fourCharDays.indexOf(fourChars);} -const GSE_URL="https://zgimsis.gimb.tk/gse/";const GSEC_ERR_NET="GSEC NETWORK ERROR (ajax error)";const GSEC_ERR_NET_POSTBACK_GET="GSEC NETWORK ERROR (ajax error) in postback GET" +const GSE_URL="https://zgimsis.gimb.tk/";const GSEC_ERR_NET="GSEC NETWORK ERROR (ajax error)";const GSEC_ERR_NET_POSTBACK_GET="GSEC NETWORK ERROR (ajax error) in postback GET" const GSEC_ERR_NET_POSTBACK_POST="GSEC NETWORK ERROR (ajax error) in postback POST" const GSEC_MSGTYPE_RECEIVED=0;const GSEC_MSGTYPE_SENT=1;const GSEC_MSGTYPE_DELETED=2;const GSEC_ERR_LOGIN="GSEC LOGIN ERROR";const GSEC_NO_ABSENCES="noAbsences";const GSEC_MSGTYPES=["msgReceived","msgSent","msgDeleted"];const GSEC_NORMAL_GRADE="GSEC NORMAL GRADE";const GSEC_ZAKLJUCNA_GRADE="GSEC ZAKLJUCNA GRADE";class gsec{constructor(){} parseAndPost(inputHTML,params,formId=null,useDiffAction=null){return new Promise((resolve,reject)=>{let parser=new DOMParser();let parsed=parser.parseFromString(inputHTML,"text/html");var form;if(formId==null){form=parsed.getElementsByTagName("form")[0];}else{form=parsed.getElementById(formId);} diff --git a/dist/pages/about.html b/dist/pages/about.html index 6b0f39f..68fab06 100755 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -163,7 +163,7 @@

- ^HEAD 90dfb784cc11a8cc52e3cfb063273f44849f62a1 + ^HEAD 095b66391412ad617eda18ceb503704a9f159703

diff --git a/dist/sw.js b/dist/sw.js index 33eb888..ab48b8d 100755 --- a/dist/sw.js +++ b/dist/sw.js @@ -5,8 +5,8 @@ // @begin=js@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.16.2-beta-90dfb78"; -// commit before the latest is 90dfb784cc11a8cc52e3cfb063273f44849f62a1 +const static_cache_name = "site-static-1.0.16.2-beta-095b663"; +// commit before the latest is 095b66391412ad617eda18ceb503704a9f159703 // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! diff --git a/server/proxy/zgimsis.conf b/server/proxy/zgimsis.conf index 72a5974..5205fba 100644 --- a/server/proxy/zgimsis.conf +++ b/server/proxy/zgimsis.conf @@ -3,7 +3,7 @@ server { listen 0.0.0.0:80; listen [::]:80; server_name .zgimsis.gimb.tk; - return 301 https://zgimsis.gimb.tk/gse/; + return 301 https://zgimsis.gimb.tk/; } server { listen 0.0.0.0:443 http2 ssl; -- cgit v1.2.3 From 5376b618e88d85b3fc16561176478c104af1a01b Mon Sep 17 00:00:00 2001 From: sijanec Date: Mon, 18 Jan 2021 10:05:43 +0100 Subject: version bump --- dist/cache_name.txt | 2 +- dist/js/app.js | 4 ++-- dist/pages/about.html | 4 ++-- dist/sw.js | 4 ++-- global.bvr | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dist/cache_name.txt b/dist/cache_name.txt index ef6aaa8..4212c69 100755 --- a/dist/cache_name.txt +++ b/dist/cache_name.txt @@ -3,4 +3,4 @@ -///site-static-1.0.16.2-beta-095b663||| +///site-static-1.0.16.3-beta-5c8d213||| diff --git a/dist/js/app.js b/dist/js/app.js index e1f568a..9644a45 100755 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -4,8 +4,8 @@ // @begin=js@ -const app_version = "1.0.16.2-beta"; -const previous_commit = "095b66391412ad617eda18ceb503704a9f159703"; +const app_version = "1.0.16.3-beta"; +const previous_commit = "5c8d213252e72998320cf89c1baca6bfe72e05c0"; const BEZIAPP_UPDATE_INTERVAL = 300; // update vsakih 300 sekund if ("serviceWorker" in navigator) { diff --git a/dist/pages/about.html b/dist/pages/about.html index 68fab06..e0c067b 100755 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -79,7 +79,7 @@
version - 1.0.16.2-beta + 1.0.16.3-beta
@@ -163,7 +163,7 @@

- ^HEAD 095b66391412ad617eda18ceb503704a9f159703 + ^HEAD 5c8d213252e72998320cf89c1baca6bfe72e05c0

diff --git a/dist/sw.js b/dist/sw.js index ab48b8d..319ded9 100755 --- a/dist/sw.js +++ b/dist/sw.js @@ -5,8 +5,8 @@ // @begin=js@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.16.2-beta-095b663"; -// commit before the latest is 095b66391412ad617eda18ceb503704a9f159703 +const static_cache_name = "site-static-1.0.16.3-beta-5c8d213"; +// commit before the latest is 5c8d213252e72998320cf89c1baca6bfe72e05c0 // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! diff --git a/global.bvr b/global.bvr index 1454ef0..7f10871 100644 --- a/global.bvr +++ b/global.bvr @@ -1,4 +1,4 @@ <@?s bvr_include_path assets/pages-src/ assets/pages-src/misc/@> <@?s latest_commit ?u 0 -1 ?i .git/refs/heads/dev@> -<@?s app_version 1.0.16.2-beta@> +<@?s app_version 1.0.16.3-beta@> <@?s app_default_language sl@> -- cgit v1.2.3 From c748801ee436be5925d2c426036c9c2b74df3813 Mon Sep 17 00:00:00 2001 From: sijanec Date: Mon, 18 Jan 2021 10:08:28 +0100 Subject: popravil instagram link --- assets/pages-src/about.bvr | 2 +- dist/cache_name.txt | 2 +- dist/js/app.js | 2 +- dist/pages/about.html | 4 ++-- dist/sw.js | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/pages-src/about.bvr b/assets/pages-src/about.bvr index 144576e..db312d7 100644 --- a/assets/pages-src/about.bvr +++ b/assets/pages-src/about.bvr @@ -94,7 +94,7 @@ class="btn-floating btn-medium waves-effect waves-light button-theme-gimb" type="button"> message - diff --git a/dist/cache_name.txt b/dist/cache_name.txt index 4212c69..3dbfd08 100755 --- a/dist/cache_name.txt +++ b/dist/cache_name.txt @@ -3,4 +3,4 @@ -///site-static-1.0.16.3-beta-5c8d213||| +///site-static-1.0.16.3-beta-5376b61||| diff --git a/dist/js/app.js b/dist/js/app.js index 9644a45..816250f 100755 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -5,7 +5,7 @@ // @begin=js@ const app_version = "1.0.16.3-beta"; -const previous_commit = "5c8d213252e72998320cf89c1baca6bfe72e05c0"; +const previous_commit = "5376b618e88d85b3fc16561176478c104af1a01b"; const BEZIAPP_UPDATE_INTERVAL = 300; // update vsakih 300 sekund if ("serviceWorker" in navigator) { diff --git a/dist/pages/about.html b/dist/pages/about.html index e0c067b..6653b09 100755 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -117,7 +117,7 @@ class="btn-floating btn-medium waves-effect waves-light button-theme-gimb" type="button"> message - @@ -163,7 +163,7 @@

- ^HEAD 5c8d213252e72998320cf89c1baca6bfe72e05c0 + ^HEAD 5376b618e88d85b3fc16561176478c104af1a01b

diff --git a/dist/sw.js b/dist/sw.js index 319ded9..73d5c5f 100755 --- a/dist/sw.js +++ b/dist/sw.js @@ -5,8 +5,8 @@ // @begin=js@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.16.3-beta-5c8d213"; -// commit before the latest is 5c8d213252e72998320cf89c1baca6bfe72e05c0 +const static_cache_name = "site-static-1.0.16.3-beta-5376b61"; +// commit before the latest is 5376b618e88d85b3fc16561176478c104af1a01b // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! -- cgit v1.2.3