Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-26 | Bug fixes & clearer presentation of errors to end userHEADmasterdevel | Joel Kronqvist | |
2023-06-24 | Changed to PBKDF2 | Joel Kronqvist | |
2023-06-24 | Made database.js wrapper use connection pool | Joel Kronqvist | |
Using a connection pool instead of a single @$*%^_!# connection increased the throughput tremendously and fixed the problem with the server crashing due to server disconnects, reducing downtime. Why was the latter issue even unfixed? | |||
2023-06-21 | password for updation | Joel Kronqvist | |
2023-06-21 | Exception updation & minor polishing (but it's still WIP) | Joel Kronqvist | |
2023-06-21 | Rescued WIP Shift, class and exception updation | Joel Kronqvist | |
2023-06-21 | Merge master branches of GitHub repo and server repo | Joel Kronqvist | |
2023-06-21 | Some patches made in production :facepalm: | Joel Kronqvist | |
At least some of them have to do with running updations timely? | |||
2022-11-18 | Updated exam/vacation/etc notifications. | Joel Kronqvist | |
Now they don't block the search field, which is more user friendly. They also appear only if the date searched for matches the notification, not if the current date matches the notification. | |||
2022-11-14 | Introduced (ugly) fix for food overflows. For real, the server was down for ↵ | Joel Kronqvist | |
A WHOLE DAY, just because a food next week was 1 CHARACTER MORE than 256 characters! | |||
2022-11-05 | Hid vegetarian food when it is the same as the normal food. Added date ↵ | Joel Kronqvist | |
logging to init.sh. | |||
2022-11-03 | Corrected typo, added 1h30min waiting time before the foods are updated | Joel Kronqvist | |
You never know if the city's servers don't get updated instantly, so it might not be a good idea to ask for the foods at (at worst) 1 ms after 00:00 at monday. | |||
2022-11-03 | Made server update foods at monday morning instead of updating them just ↵ | Joel Kronqvist | |
randomly once a week. | |||
2022-11-02 | Added favicon | Joel Kronqvist | |
2022-10-25 | Changed null to undefined as it should was meant to be. TL; DR: a typo. | Joel Kronqvist | |
2022-10-25 | Fixed bugs from last commit | Joel Kronqvist | |
2022-10-25 | Fixed shift parsing when no teacher is supplied. Made server be run in a ↵ | Joel Kronqvist | |
loop in init.sh to bring it up again if it crashes. | |||
2022-10-24 | Added removal of dumb header in shifts that crashed the parsing | Joel Kronqvist | |
2022-10-20 | Made vegetarian food empty when not found. Had become visible in commit 'Bug ↵ | Joel Kronqvist | |
fixes & started setup.sh' | |||
2022-10-18 | Enhanced robustness in retrieving the example input and in the init (at ↵ | Joel Kronqvist | |
reboot) script. The server errored out if the database was empty and there came a request, as it didn't check for empty arrays in dbparse.js in the function getRandomIndex. Fixed by adding handling & recursion limit. Added in init.sh a check to see if logging in to MySQL is possible to prevent errors at startup. | |||
2022-10-18 | setup.sh: more robust, some other improvements | Joel Kronqvist | |
2022-10-18 | Merge new URL in index.html and setup.sh from branch 'master' to branch 'devel' | Joel Kronqvist | |
2022-10-17 | Fixed setup.sh cloning url. | Joel Kronqvist | |
2022-10-17 | Added instructions to start server at reboot. Doesn't neccessarily work. ↵ | Joel Kronqvist | |
Updated the init script. No server code updates for now. | |||
2022-10-17 | Changed the link to the source code in Cont/index.html | Joel Kronqvist | |
2022-10-17 | Imroved README.md, modified server to update on start | Joel Kronqvist | |
Also minor changes to setup.sh and update.js. In update.js the updation function was changed to take a database connection (as in database.js) instead of a string with the credentials to the DB. | |||
2022-10-16 | Finished setup.sh | Joel Kronqvist | |
It should work, even though it's kind of unstable if the user enters dumb things. | |||
2022-10-16 | More changes to setup.sh. I have no clue how to write bash scripts. | Joel Kronqvist | |
2022-10-16 | Modified setup script. No guarantees that it works. | Joel Kronqvist | |
2022-10-15 | Bug fixes & started setup.sh | Joel Kronqvist | |
2022-05-13 | Merge branch 'development' | Joel Kronqvist | |
2022-05-13 | Fixed big bad bug. | Joel Kronqvist | |
2022-05-13 | Lol I just need to upload these changes to not loose them while testing | Joel Kronqvist | |
2022-05-13 | Made init work as sudo so that the server gets permissions to lower ports | Joel Kronqvist | |
2022-05-13 | Changed ports to 443 AND 80. Added improper error handling when there are ↵ | Joel Kronqvist | |
stats already for the day when adding them at exit. | |||
2022-03-11 | Merge branch 'master' of https://github.com/JoelHMikael/FoodJS | Joel Kronqvist | |
Updating remote changes | |||
2022-03-11 | Food scraping updation | Joel Kronqvist | |
2022-03-10 | Class parsing with any number of files with classes | Joel Kronqvist | |
2022-03-09 | Shift updation rewrite | Joel Kronqvist | |
The shift updation algorithm was a pain to debug, so I changed it to use regex. I hope it helps. | |||
2022-03-05 | Updated README.md | Joel Kronqvist | |
2022-03-05 | Added node_modules for the updating to work properly. | Joel Kronqvist | |
2022-02-13 | Added updating the server code to README.md instructions | JoelHMikael | |
2022-02-13 | Finished README.md instructions | JoelHMikael | |
2022-02-10 | Updated README.md | Joel Kronqvist | |
2022-02-09 | Merged all functions from the JoelHMikael/funcs | Joel Kronqvist | |
Necessary, because we don't want to complicate our update script & its anyways better like this. They weren't any complicated functions. | |||
2022-01-31 | Fixed bad footer behavior on mobile firefox | Joel Kronqvist | |
2022-01-23 | Exam info system added | Joel Kronqvist | |
It works only based on the current date. A better system would require good date functions, and right now if I want to make somethng for this project I should focus on either getting it working or making the code less messy (aka writing a big part of it again...). This was my first project of this scale, and the first one that seems to get finished & even published. | |||
2022-01-22 | Fixed bug in day mechanics for the food search | Joel Kronqvist | |
Making monday first (0) instead of sunday was done twice, resulting with tuesday becoming first. | |||
2022-01-19 | Tested on Linux Mint & some bug fixes | Joel Kronqvist | |
2022-01-18 | Merge pull request #1 from JoelHMikael/MYSQLDB | JoelHMikael | |
Mysqldb |