summaryrefslogtreecommitdiffstats
path: root/assets/js/app.js.bvr (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-25update not supported screensijanec1-2/+0
2021-03-25added not supported textsijanec1-0/+6
2020-10-04def.lang=sl&update ne zbriše lang,theme,errorrepsijanec1-1/+1
2020-09-27removed jitsi! ):sijanec1-0/+1
2020-09-23added tracking jssijanec1-1/+3
2020-06-09so users don't have to stay on a single page for 300 seconds for an updatesijanec1-10/+16
2020-06-08forgot a semi-crucial thingysijanec1-2/+4
2020-06-08killing the cache ... good to gosijanec1-1/+1
2020-06-08added some protection, proby can merge nowsijanec1-15/+19
2020-06-08DNM+in case you haven't read the prev. commitsijanec1-7/+14
2020-06-08added update mechanism, DO NOT MERGE b4 seeing commit notes!sijanec1-45/+70
this "update mechanism" only deletes old caches. old means caches that are caches with names other than the name in cache_name.txt. It is important not to cache cache_name.txt and always serve it with HTTP headers that allow no HTTP level caching. Update checking occurs every 300 seconds and if a new cache is released and sw.js is not reinstalled, this timer will clear the cache. the old update method did not work since it relied on sw being reloaded often, which is not the case on iPhone devices, where Safari runs almost the whole uptime of the phone and it's not common for people to shut down their precious little iPhones. it worked on android as android is known for killing apps and chrome is no exception.
2020-05-20i should check code before pushingsijanec1-1/+1
2020-05-20syntax errro fixsijanec1-1/+1
2020-05-20report usernames toosijanec1-1/+5
2020-05-20DO_NOT_MERGE; still testing error reporting optoutsijanec1-5/+15
2020-05-20made error reporting asyncsijanec1-1/+1
2020-05-20fix for onunhandledrejectionsijanec1-1/+4
2020-05-20err reportingsijanec1-3/+10
2020-05-18window.onerrorsijanec1-0/+7
2020-05-17dist should work, TODO: minify and bundlesijanec1-0/+0
2020-05-16Lintingrstular1-18/+21
2020-05-16GSEC bug fixes - handling commas properlyrstular1-0/+9
2020-05-14Styling fixes, documentationrstular1-7/+3
2020-05-14Styling changes, first round of bug fixesrstular1-0/+2
There are (probably) more changes incoming, but we need to discuss them first
2020-03-21teachers.js, absences.js: uporabljajo gsec.js; gsec.js: spremembe apijaAnton Luka Šijanec1-0/+13
2020-03-06all js files updated with i18n, not tested yetAnton Luka Šijanec1-1/+1
2020-03-06neki i18n jsAnton Luka Šijanec1-0/+9
2020-03-05added i18n, converted HTML files, TODO: js UI responses, TODO: translationsAnton Luka Šijanec1-2/+1
So basically, multilanguage support from an JavaScript object. - only slovenian and english - no change language UI yet - only HTML strings are actually translated \- all text is translated, but javascript M.toast and other similar stuff does not pass trough s(), d(), S() and D() functions yet - how to i18n: - add a string to js/lang/bundle.js TO ALL LANGUAGES (translation mgmt sys will have to be created) - HTML: create <x-??></x-??> tags, where 1st ? tells wether to just output the string (s) without dot suffix or (d) to try and append a . (for sentences and paragraphs) if it is not there yet. second ? tells wether to leave lowercase strings (l) or (u) to force the first character of the string be uppercase (capitalize()). - put the key of your string as the innerHTML of the x-?? element. - JS: S("key") and D("key") return capitalized, s() and d() do not change case.
2020-02-17Reformattingrstular1-6/+6
2020-02-10force redirect to secure connectionAnton Luka Šijanec1-0/+4
2020-02-08maybe I'm retardedsijanec1-2/+2
2020-02-08fix for browsers with sw disabledAnton Luka Šijanec1-1/+3
2020-01-29Spacing, bug fixes, version bump, deployment testrstular1-2/+9
2020-01-29Added about page, login, logout, bug fixesrstular1-1/+1