Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2022-01-18 | Merge branch 'master' into MYSQLDB | JoelHMikael | |
2022-01-18 | Updating separated from server, lightweight analytics added | JoelHMikael | |
2022-01-16 | I forgot to save server.js before commit... | JoelHMikael | |
Yeah I know I know, I should try to learn git instead of messing around like this. | |||
2022-01-16 | Actual class parsing | JoelHMikael | |
Really messy, feel free to improve, or even rewrite. | |||
2022-01-13 | Made the parsing more inclusive | JoelHMikael | |
2022-01-09 | Database implemented | JoelHMikael | |
Some polishing wouldn't do bad though... | |||
2022-01-08 | Parsing the shifts (not classes) to the database + some GUI improvements | JoelHMikael | |
2022-01-07 | Added the DB class & instructions to set up DB | JoelHMikael | |
2022-01-04 | Minor GUI improvements | JoelHMikael | |
2022-01-01 | Clearer Anti-XSS | JoelHMikael | |
2021-12-30 | Footer | JoelHMikael | |
2021-12-30 | Example input | JoelHMikael | |