-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 1_9 (#143) #144
Merged
Merged
Release 1_9 (#143) #144
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* [Task] #6 provide fallback index.html * [Task] #6 production ready code (m) move httpdocs folder to dist have compile without sourcemaps for faster speed * [Task] #6 create github action for upload when main is updated (#21) * [change] #6 new ftp upload action * [Fix] #6 replace host with server in ftp action * [Task] #6 basic log (#26) * [CHANGE] #6 revert back to require output for production * [Task] #6 add ability to manually upload to prod * [Task] #9 enable manual start of codechecks * 10 webhook for writing (#36) * [Change] #3 clean up npm scripts, to have clean folder before build * [Task] #10 created data types in typescript * [Temp] #10 created subroute for writing, and folder structure * [Change] #3 include to use relative paths from src folder in ts and node https://stackoverflow.com/questions/43281741/how-can-i-use-paths-in-tsconfig-json See comment from Remo H. Hansen with at least 100 upvoted * [Change] Update VSCode to keep files open * [Task] #18 setup dotenv for secret variables * [Temp, Task] #10 Validate inputs using express-validator and custom functions * [Task] #18 prevent parameter pollution * [Task] #10 validating incoming parameter and logging errors * [Task] #7 add basic cache to express * [Changes] #7 Error Handling, to include basic custom Error Handling * [Task] #10 enhanced validation to only allow known parameters * [Change] #35 added Jest, tests for helper functions when writing * [Task] #10 better error Handling * [Task] #35 add tests for writing webhook validation * [TASK] #18 protect Webhook using KEY * [Fix] #35 test know import path structure now * [Task] #35 add test for protected webhook * [Task] #35 refactor build to run jest tests * [Task] #10 switched to crypto instead of bcrypt for dependency issue see synk inflight * [Fix] #36 PRQ Feedback * [Task] #3 improve error handling, logger and added chalk to colorize console output. Had to use chalk version 4 because of typescript converting to require, and chalk5 do want import syntax. * [Change] #3 nodemon to clear console when in dev mode * [!Task] #32 webhook creates folder and file based on date * [Change] #35 relocated tests and refactor write, also added file check * [Task] #18, installed helmet, configured self as CSP origin * [Fix] moved chalk out of dev dependency * [Task] #32 error logging and text output improvement, log string instead of "object" * [Task] #18 CSP Update to allow localhost for testing * [Fix] #3 debugging setup improvments * [FIX] #10 Error Handling * [Task] #10 writing basic non calculated data to file * [Fix] #10 avoid Header Modification after sending the request * [Task] #10 JSON Data pretty output * [Task] #32 update types to reflect subobjects of entry * [Task] #10 write time * [Task] #32 added logging for time edgecases * [Task] #10 output seconds * [Task] #10 calculate distance based on lat and lon * [Task] #32 writing tests for time and distance * [Task] #32 change distance calculation to use pythagoras * [Task] #38 add favicon * [Task] #32 time converted to seconds * [Taskk] #32 speed calculation and output and tests * [Task] #32 speed tests * [Task] #33 add ignore * [Task] #32 test finetuning * [Task] #32 add angle between entries * [Task] #32 test for angle, extracted getData function * [change] #32 test to include optional leading 0 for days * [!!!Task] #18 add uncaughtExeption handler as last resort * [Task] #7 enhance static options to include common filetypes; index file start is used as index file to avoid collisions with host provider * [change] #32 validation to be used more explictly * [change] #32 add index to log while writing * [Task] #32 test if 1000 calls can be made with randomized data * [!!! Task] #32 limit JSON Data to be 1000 lines: replace last line with most recent entry * [Change, Task] #32 if 1000 entries exceeded, only replace last if hdop is good * [Change] build action enable button to on manually * [temp] test y tests fail * Create node.js.yml * Create main.yml * [!!!Fix] Created new workflow to build / test node, commented tests back in. Increased time between server calls in test, to check difference time more accurately * [Task] #33 moved ignore to its own file since it creates data rather than validating it * 42 output json (#44) * [Task] #42, created route to output json * [Task] #42 added tests for read json * 41 add rate limiter (#45) * [Task] #18, limit request size for security reasons * [Task] #43, introduce gzip to transfer data * [Task] #34 improve error handling, log server shutdowns * [Task] #34 installed and integrated tooBusy to send 503 when load is high * [Task] #34 improved tooBusy, improved formatting * [Task, Temp] #41 installed ratelimiter and slowDown * [Task] #42 cleanup ipv6 addresses * [Change] #10 error handling for better gitBash and txt output, also reduced stack in case of validation errors * [Task] #41 prepare Log for RateLImit errors * [Temp] #41 write route rateLImited temp: see Todos * [Task] #34 colorize prefix in console * [Task] #42 extract middlewares and move to folder * [Task] #41 ratelimiter cleaning up periodicly * [Task] #41 skip tests in rateLimiting * Bump follow-redirects from 1.15.5 to 1.15.6 (#47) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * 43 secure output route (#46) * [Task] #43 create color pallette via atmos * [Task] #43 create color pallette via atmos * [Task] #43 cleanup colors and svg * [Task] #41 remove test code * [CHANGE] #3 reconfigured nodemon to copy static files * [Task] #18 replaced getRawBody with builtIn express urlEncoded * [Temp, Task] #43 basic login page, not yet used as middleware * [Temp] #43, create and validate json web token * [Task] #43, add slowDown and RateLimit for failed login attempts * [Task] #43, ratelimit for login page * [Task] #43, add global ratelimiter * [fix] #7, improve error handeling for express errors * [Task] #43 rework body limitations to be checked only appropiate methods * [Task] #43 added check for data before using it * [Task] #43 check that body is ignored for GET in request * [Task] #43 login test * [Task] #43 create tests for login * [Task] #43 fine tune error handling * [Task] #43, finished login and jwt related tests * [Change] #34, no further need for test logging * [Task] #43, fine tune jwt, middleware process improved * [CHANGE] #43 created new esLint to have clientside js without ts * [Temp] #43 test to see new linter configuration * [Change] #43 switched to bcrypt for passwords * [Task] #43 read return json in all cases * [Task] #43 introduced color classes * [Task] #43, prq feedback * [Temp} #43 figuring out why tests dont run on github * [Task] #43 code cleanup * 48 move login to seperate controller (#49) * [Task] #43, add label to form * [Task] #48 login controller * 50 integrate csrf protection for login form (#53) * [Task] #50, create CSRF Validation for login form * [Task] #43, added icon to repository for later use * [Task] #50, cleanup cetntralized; rename token functions * [Task] #50, reduced token length and improved error handling * [Task] #50 csrf tests added to login * [Task] #50, added test case for csrf, repaired integration * fix: upgrade express-rate-limit from 7.1.5 to 7.2.0 (#52) Snyk has created this PR to upgrade express-rate-limit from 7.1.5 to 7.2.0. See this package in npm: https://www.npmjs.com/package/express-rate-limit See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: package.json & package-lock.json to reduce vulnerabilities (#54) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-EXPRESS-6474509 Co-authored-by: snyk-bot <[email protected]> * [Snyk] Upgrade express from 4.18.2 to 4.18.3 (#51) * fix: upgrade express from 4.18.2 to 4.18.3 Snyk has created this PR to upgrade express from 4.18.2 to 4.18.3. See this package in npm: https://www.npmjs.com/package/express See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr * 50 integrate csrf protection for login form (#53) * [Task] #50, create CSRF Validation for login form * [Task] #43, added icon to repository for later use * [Task] #50, cleanup cetntralized; rename token functions * [Task] #50, reduced token length and improved error handling * [Task] #50 csrf tests added to login * [Task] #50, added test case for csrf, repaired integration * fix: upgrade express-rate-limit from 7.1.5 to 7.2.0 (#52) Snyk has created this PR to upgrade express-rate-limit from 7.1.5 to 7.2.0. See this package in npm: https://www.npmjs.com/package/express-rate-limit See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> --------- Co-authored-by: snyk-bot <[email protected]> * [Task] update dev after main merge * [Task] npm upgrade * 58 react setup (#59) * [Task] #58 install react via npm, incl. types and eslint plugins * [Task] #58, tsconfig for react folder * [Task] #58 esLint config * [Task] #58, webpack and react setup * [Task] #58, render welcome from express instead of static * [Task] #58 eslint scripts * [Task] #58, eslint react setup * [TASK] #58 integrate webpack in build and dev npm scripts * [Temp] Test csp * [FIX] Add views to be deployed to prod * [Task] disable csp for local development * [Task] #58 base css including colors, deleted color classes in favor of variables * [Task] #58 typescript setup for react * [Task] #58 webpack setup for react and typescript * [Task] #58 app setup react * [Temp] #58 conctact module css * [Task] #58 remove learning files * [Task] #61, create font * Revert "[Task] #58 remove learning files" This reverts commit b63bb97045a9443e11ca9d8658f1e7faecf96e3b. * [Task] #61, adjust for darkmode * [Task] #61 apply base style to login * [Task] #58, dev tesing rule to disable * [Task] #58, adjust styles for headline * [Task] #58, create Contacts wrapper Component * [Task] #58 apply wrapper component * [Task] #58 adjust contact component to expect object * [Task] #58, toggle state * [Task] #58 learn context api provider and consumer * [Task] #58 add delete via dispatch * [Task] #58, react-router, move contacts to new url * [Task] #58 fetch more contacts * fix: package.json & package-lock.json to reduce vulnerabilities (#62) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-EJS-6689533 Co-authored-by: snyk-bot <[email protected]> * Bump tar and npm (#60) Bumps [tar](https://github.com/isaacs/node-tar) to 6.2.1 and updates ancestor dependency [npm](https://github.com/npm/cli). These dependencies need to be updated together. Updates `tar` from 6.2.0 to 6.2.1 - [Release notes](https://github.com/isaacs/node-tar/releases) - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1) Updates `npm` from 10.5.0 to 10.5.2 - [Release notes](https://github.com/npm/cli/releases) - [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md) - [Commits](https://github.com/npm/cli/compare/v10.5.0...v10.5.2) --- updated-dependencies: - dependency-name: tar dependency-type: indirect - dependency-name: npm dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ejs from 3.1.9 to 3.1.10 (#63) Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10. - [Release notes](https://github.com/mde/ejs/releases) - [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10) --- updated-dependencies: - dependency-name: ejs dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Task] #58, webpack configuriation to allow regular css files as well as modules * [Task] #58, clean up react learn files * [Task] #58, setup react router * [Task] #61 install Material UI * [Task] #61, test mui * [CHANGE, MultiLine] #61 color variables levels removed, MUI Overwrites introduced color variables levels are replaced by color-mix. MUI Experimental API with Variables is used and to overwrite theme colors in css (since I want CSS to be single source of truth for colors) * [Temp] #61 introduce darkmode to MUI * [Task] #61, create new start module so that App can act as root * [Task] #61, naming update * [Task] #61, move router to root App * [Task] #61, add font to preload * [Task] #61, dim colors in dark mode * [Task] #61, introduce modeswitcher * [Change] #64, refactoring splitting pages and components * [Task] #61, mobile Theme Swticher placed on top right * [Task] #61, mobile theme switcher icon only on mobile * [Task] #61, button color and background improvement * [Task] #63, login page first draft * [Temp] #61, login controller commented out unused route, TO BE REFACTORED * [Task] #63, login validation * [Task] #63, add error icon * [Task] #61, cut design update * [Task] #53, apply cut, rename FormData to FormInfo to avoid confusion with reserved name * [Task] #63, send login request * [Task] #61, loading icon * [Task] #63, get csrfToken, fullfill login request * [Fix] #63, fail gracefully when too many tokens * [Task] #63, error Handling in login form * [Task] #81, remove password log * [Task] #80, cleanup todo token * fix: upgrade multiple dependencies with Snyk (#68) Snyk has created this PR to upgrade: - react from 18.2.0 to 18.3.1. See this package in npm: https://www.npmjs.com/package/react - react-dom from 18.2.0 to 18.3.1. See this package in npm: https://www.npmjs.com/package/react-dom See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * [Fix] #64, disable express header * [Task] #64, protect csrf token page with custom http header * [FIx] #64, fix csrf test * [Task] #64, repair test cases * fix: upgrade express-slow-down from 2.0.1 to 2.0.2 (#69) Snyk has created this PR to upgrade express-slow-down from 2.0.1 to 2.0.2. See this package in npm: express-slow-down See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * [fix] #64, linter fixes * [Task] Editor Config * [Task] #61, convert background line to svg and animate * [Task] #61, main headline style * [Task] #61, fine tune background pattern * [Task] #61, font-weight reduced in darkmode * [Task] #64, login design improvements * [Task] #61, update design with minor ripples and edges * [Task] #70, store token after login * Bump braces from 3.0.2 to 3.0.3 (#76) Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: upgrade @mui/icons-material from 5.15.16 to 5.15.18 (#75) Snyk has created this PR to upgrade @mui/icons-material from 5.15.16 to 5.15.18. See this package in npm: @mui/icons-material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade react-router-dom from 6.23.0 to 6.23.1 (#74) Snyk has created this PR to upgrade react-router-dom from 6.23.0 to 6.23.1. See this package in npm: react-router-dom See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade express-slow-down from 2.0.2 to 2.0.3 (#73) Snyk has created this PR to upgrade express-slow-down from 2.0.2 to 2.0.3. See this package in npm: express-slow-down See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade express-rate-limit from 7.2.0 to 7.3.0 (#82) Snyk has created this PR to upgrade express-rate-limit from 7.2.0 to 7.3.0. See this package in npm: express-rate-limit See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade express-validator from 7.0.1 to 7.1.0 (#81) Snyk has created this PR to upgrade express-validator from 7.0.1 to 7.1.0. See this package in npm: express-validator See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade axios from 1.7.1 to 1.7.2 (#80) Snyk has created this PR to upgrade axios from 1.7.1 to 1.7.2. See this package in npm: axios See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @mui/icons-material from 5.15.18 to 5.15.19 (#79) Snyk has created this PR to upgrade @mui/icons-material from 5.15.18 to 5.15.19. See this package in npm: @mui/icons-material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @mui/icons-material from 5.15.19 to 5.15.20 (#88) Snyk has created this PR to upgrade @mui/icons-material from 5.15.19 to 5.15.20. See this package in npm: @mui/icons-material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade react-router-dom from 6.23.1 to 6.24.0 (#91) Snyk has created this PR to upgrade react-router-dom from 6.23.1 to 6.24.0. See this package in npm: react-router-dom See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * 77 design base layout (#85) * [Task] #77 1st draft layout * [Change] #70 update token expire date * [Temp] #77, log out data on valid request, temp: error handling and display * [Temp] * [Task] #77, login Button functionality, default state * [Task] #77, removed outdated comments * [Task] #77, introduced linearBuffer Bar for login * [Task] #77, added modeSwticher to start page * [Task] #77, display last entry on map demo * [Task] #77, enhance login, show pastUser if availabe, show user on mainpage * [!!!Task] #77 first draft of functionality * [Task] #77 move map to new location * [Task] #77 create testData * [Fix] #77 codeFactor complains * [Task] #77, draft of status content * [FIX] #77 change data accumulation * [Task] #77 improve test example data * fix: upgrade @mui/material from 5.15.16 to 5.15.20 (#92) Snyk has created this PR to upgrade @mui/material from 5.15.16 to 5.15.20. See this package in npm: @mui/material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * [Fix] #94, refactor-ignore logic (multiline) (#95) Serverside: When writing entry, the most recent previous entry is checked wether to be ignored. Also if more than 2 items already exist meaning writing is preparing at least the 3rd entry, we recalculate distances and timing if previousItems are ignored. Frontend: In order to benefit and get the recent information that a previous item is being ignored, frontEnd askes for the current item again and merges it and following items. Remember the most recent item can never be ignored due to policy. Maybe there is no further writing, so I want to have the latest datapoint. * [Task] #94, add logging if logical error with ignore * [Task] #94, cleanup console.logs * [Fix] #93, offline message improvement (#96) * fix: package.json & package-lock.json to reduce vulnerabilities (#101) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-7361793 Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @mui/material from 5.15.20 to 5.16.5 (#102) Snyk has created this PR to upgrade @mui/material from 5.15.20 to 5.16.5. See this package in npm: @mui/material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * 93 fix error message when server not available (#103) * [Fix] #93, offline message improvement * [Task] #93, removed background in status module when no data is present * [Task] #61, add cut class to map for styling * [Fix] #93 fix tests, be more specific on url, and let test fail non silently when csrf is not found * [Fix] #94, repair overwriting the last data point * fix: upgrade @emotion/react from 11.11.4 to 11.13.0 (#104) Snyk has created this PR to upgrade @emotion/react from 11.11.4 to 11.13.0. See this package in npm: @emotion/react See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @emotion/styled from 11.11.5 to 11.13.0 (#105) Snyk has created this PR to upgrade @emotion/styled from 11.11.5 to 11.13.0. See this package in npm: @emotion/styled See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade react-router-dom from 6.25.0 to 6.25.1 (#106) Snyk has created this PR to upgrade react-router-dom from 6.25.0 to 6.25.1. See this package in npm: react-router-dom See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @mui/icons-material from 5.16.4 to 5.16.5 (#107) Snyk has created this PR to upgrade @mui/icons-material from 5.16.4 to 5.16.5. See this package in npm: @mui/icons-material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade express-rate-limit from 7.3.1 to 7.4.0 (#108) Snyk has created this PR to upgrade express-rate-limit from 7.3.1 to 7.4.0. See this package in npm: express-rate-limit See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * 109 marker and line design (#110) * [Task] #109, start polyline * [Task] #94, marker * [Task] #109, gradient color polyline color based on speed * [Task] #109 linter fixes * fix: upgrade react-router-dom from 6.25.1 to 6.26.0 (#113) Snyk has created this PR to upgrade react-router-dom from 6.25.1 to 6.26.0. See this package in npm: react-router-dom See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @mui/material from 5.16.5 to 5.16.6 (#112) Snyk has created this PR to upgrade @mui/material from 5.16.5 to 5.16.6. See this package in npm: @mui/material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * Switch polyline (#114) * [Revert] #109 remove polyColor Plugin * [Fix, MultiLine] #109, refactor coloring lines; while fetchinng new data vs reloading MaxSpeed might change the more entries are fetched. Example Testcase and after 6 entries are there, reload and see colors change ... well not with this fix. * [Task] #109, improve polyline display, remove unused code * [Task] #77, change timing to round up, so it "feels" more accurate * [Task] #115, remove SVG Animation on startup based on media Query * [Task] #77 improve test example data * [Task] #77, calculate more Status data * [Task] #77, improve example test data * [Task] #109, line dashed when diff is high, marker start icon when diff is higher * [Task] #77, status design * [Task] #83, forced scheme for map * [Task] #83, change context, mode globally available * [Task] #83, react update, cluster install * [Task, multiline] #83, map tilelayer Introduced new map TileLayers using layers control, and styled it Introduced markerClusterGroup from @changey, since others had issues like broken marker images, or lack for typescript support Refined dashed array styles Addapted context changes, to fetch mode globally, for seperate map theme Markers have none style if neither end or start, to be targeted Introduced Layer array for tilelayers When Layers are changed theme for map is set/updated * [Task] #77 improve responsive design, hide images, status overlays map * [Task] #77, adjust coloring and opacity, used for status * [Task] #83, adjust imports * [Task] #77, changed responsive design for mobile * [Task] #83, extracted to own module, added fly option * [Task] #83, layers extracted, clickable minimap, corrected for mapbox tileSize * Bump webpack from 5.91.0 to 5.94.0 (#117) Bumps [webpack](https://github.com/webpack/webpack) from 5.91.0 to 5.94.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.91.0...v5.94.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Task] #83, code cleanup * [Fix] #83, mime type setting * [fix] #123, run pre and post build for production too * [Change] #123, to see real user ip instead of localhost proxy (#126) * Main (#128) * Release 1_3 (#124) * [Task] #6 provide fallback index.html * [Task] #6 production ready code (m) move httpdocs folder to dist have compile without sourcemaps for faster speed * [Task] #6 create github action for upload when main is updated (#21) * [change] #6 new ftp upload action * [Fix] #6 replace host with server in ftp action * [Task] #6 basic log (#26) * [CHANGE] #6 revert back to require output for production * [Task] #6 add ability to manually upload to prod * [Task] #9 enable manual start of codechecks * 10 webhook for writing (#36) * [Change] #3 clean up npm scripts, to have clean folder before build * [Task] #10 created data types in typescript * [Temp] #10 created subroute for writing, and folder structure * [Change] #3 include to use relative paths from src folder in ts and node https://stackoverflow.com/questions/43281741/how-can-i-use-paths-in-tsconfig-json See comment from Remo H. Hansen with at least 100 upvoted * [Change] Update VSCode to keep files open * [Task] #18 setup dotenv for secret variables * [Temp, Task] #10 Validate inputs using express-validator and custom functions * [Task] #18 prevent parameter pollution * [Task] #10 validating incoming parameter and logging errors * [Task] #7 add basic cache to express * [Changes] #7 Error Handling, to include basic custom Error Handling * [Task] #10 enhanced validation to only allow known parameters * [Change] #35 added Jest, tests for helper functions when writing * [Task] #10 better error Handling * [Task] #35 add tests for writing webhook validation * [TASK] #18 protect Webhook using KEY * [Fix] #35 test know import path structure now * [Task] #35 add test for protected webhook * [Task] #35 refactor build to run jest tests * [Task] #10 switched to crypto instead of bcrypt for dependency issue see synk inflight * [Fix] #36 PRQ Feedback * [Task] #3 improve error handling, logger and added chalk to colorize console output. Had to use chalk version 4 because of typescript converting to require, and chalk5 do want import syntax. * [Change] #3 nodemon to clear console when in dev mode * [!Task] #32 webhook creates folder and file based on date * [Change] #35 relocated tests and refactor write, also added file check * [Task] #18, installed helmet, configured self as CSP origin * [Fix] moved chalk out of dev dependency * [Task] #32 error logging and text output improvement, log string instead of "object" * [Task] #18 CSP Update to allow localhost for testing * [Fix] #3 debugging setup improvments * [FIX] #10 Error Handling * [Task] #10 writing basic non calculated data to file * [Fix] #10 avoid Header Modification after sending the request * [Task] #10 JSON Data pretty output * [Task] #32 update types to reflect subobjects of entry * [Task] #10 write time * [Task] #32 added logging for time edgecases * [Task] #10 output seconds * [Task] #10 calculate distance based on lat and lon * [Task] #32 writing tests for time and distance * [Task] #32 change distance calculation to use pythagoras * [Task] #38 add favicon * [Task] #32 time converted to seconds * [Taskk] #32 speed calculation and output and tests * [Task] #32 speed tests * [Task] #33 add ignore * [Task] #32 test finetuning * [Task] #32 add angle between entries * [Task] #32 test for angle, extracted getData function * [change] #32 test to include optional leading 0 for days * [!!!Task] #18 add uncaughtExeption handler as last resort * [Task] #7 enhance static options to include common filetypes; index file start is used as index file to avoid collisions with host provider * [change] #32 validation to be used more explictly * [change] #32 add index to log while writing * [Task] #32 test if 1000 calls can be made with randomized data * [!!! Task] #32 limit JSON Data to be 1000 lines: replace last line with most recent entry * [Change, Task] #32 if 1000 entries exceeded, only replace last if hdop is good * [Change] build action enable button to on manually * [temp] test y tests fail * Create node.js.yml * Create main.yml * [!!!Fix] Created new workflow to build / test node, commented tests back in. Increased time between server calls in test, to check difference time more accurately * [Task] #33 moved ignore to its own file since it creates data rather than validating it * 42 output json (#44) * [Task] #42, created route to output json * [Task] #42 added tests for read json * 41 add rate limiter (#45) * [Task] #18, limit request size for security reasons * [Task] #43, introduce gzip to transfer data * [Task] #34 improve error handling, log server shutdowns * [Task] #34 installed and integrated tooBusy to send 503 when load is high * [Task] #34 improved tooBusy, improved formatting * [Task, Temp] #41 installed ratelimiter and slowDown * [Task] #42 cleanup ipv6 addresses * [Change] #10 error handling for better gitBash and txt output, also reduced stack in case of validation errors * [Task] #41 prepare Log for RateLImit errors * [Temp] #41 write route rateLImited temp: see Todos * [Task] #34 colorize prefix in console * [Task] #42 extract middlewares and move to folder * [Task] #41 ratelimiter cleaning up periodicly * [Task] #41 skip tests in rateLimiting * Bump follow-redirects from 1.15.5 to 1.15.6 (#47) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * 43 secure output route (#46) * [Task] #43 create color pallette via atmos * [Task] #43 create color pallette via atmos * [Task] #43 cleanup colors and svg * [Task] #41 remove test code * [CHANGE] #3 reconfigured nodemon to copy static files * [Task] #18 replaced getRawBody with builtIn express urlEncoded * [Temp, Task] #43 basic login page, not yet used as middleware * [Temp] #43, create and validate json web token * [Task] #43, add slowDown and RateLimit for failed login attempts * [Task] #43, ratelimit for login page * [Task] #43, add global ratelimiter * [fix] #7, improve error handeling for express errors * [Task] #43 rework body limitations to be checked only appropiate methods * [Task] #43 added check for data before using it * [Task] #43 check that body is ignored for GET in request * [Task] #43 login test * [Task] #43 create tests for login * [Task] #43 fine tune error handling * [Task] #43, finished login and jwt related tests * [Change] #34, no further need for test logging * [Task] #43, fine tune jwt, middleware process improved * [CHANGE] #43 created new esLint to have clientside js without ts * [Temp] #43 test to see new linter configuration * [Change] #43 switched to bcrypt for passwords * [Task] #43 read return json in all cases * [Task] #43 introduced color classes * [Task] #43, prq feedback * [Temp} #43 figuring out why tests dont run on github * [Task] #43 code cleanup * 48 move login to seperate controller (#49) * [Task] #43, add label to form * [Task] #48 login controller * 50 integrate csrf protection for login form (#53) * [Task] #50, create CSRF Validation for login form * [Task] #43, added icon to repository for later use * [Task] #50, cleanup cetntralized; rename token functions * [Task] #50, reduced token length and improved error handling * [Task] #50 csrf tests added to login * [Task] #50, added test case for csrf, repaired integration * fix: upgrade express-rate-limit from 7.1.5 to 7.2.0 (#52) Snyk has created this PR to upgrade express-rate-limit from 7.1.5 to 7.2.0. See this package in npm: https://www.npmjs.com/package/express-rate-limit See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: package.json & package-lock.json to reduce vulnerabilities (#54) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-EXPRESS-6474509 Co-authored-by: snyk-bot <[email protected]> * [Snyk] Upgrade express from 4.18.2 to 4.18.3 (#51) * fix: upgrade express from 4.18.2 to 4.18.3 Snyk has created this PR to upgrade express from 4.18.2 to 4.18.3. See this package in npm: https://www.npmjs.com/package/express See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr * 50 integrate csrf protection for login form (#53) * [Task] #50, create CSRF Validation for login form * [Task] #43, added icon to repository for later use * [Task] #50, cleanup cetntralized; rename token functions * [Task] #50, reduced token length and improved error handling * [Task] #50 csrf tests added to login * [Task] #50, added test case for csrf, repaired integration * fix: upgrade express-rate-limit from 7.1.5 to 7.2.0 (#52) Snyk has created this PR to upgrade express-rate-limit from 7.1.5 to 7.2.0. See this package in npm: https://www.npmjs.com/package/express-rate-limit See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> --------- Co-authored-by: snyk-bot <[email protected]> * [Task] update dev after main merge * [Task] npm upgrade * 58 react setup (#59) * [Task] #58 install react via npm, incl. types and eslint plugins * [Task] #58, tsconfig for react folder * [Task] #58 esLint config * [Task] #58, webpack and react setup * [Task] #58, render welcome from express instead of static * [Task] #58 eslint scripts * [Task] #58, eslint react setup * [TASK] #58 integrate webpack in build and dev npm scripts * [Temp] Test csp * [FIX] Add views to be deployed to prod * [Task] disable csp for local development * [Task] #58 base css including colors, deleted color classes in favor of variables * [Task] #58 typescript setup for react * [Task] #58 webpack setup for react and typescript * [Task] #58 app setup react * [Temp] #58 conctact module css * [Task] #58 remove learning files * [Task] #61, create font * Revert "[Task] #58 remove learning files" This reverts commit b63bb97045a9443e11ca9d8658f1e7faecf96e3b. * [Task] #61, adjust for darkmode * [Task] #61 apply base style to login * [Task] #58, dev tesing rule to disable * [Task] #58, adjust styles for headline * [Task] #58, create Contacts wrapper Component * [Task] #58 apply wrapper component * [Task] #58 adjust contact component to expect object * [Task] #58, toggle state * [Task] #58 learn context api provider and consumer * [Task] #58 add delete via dispatch * [Task] #58, react-router, move contacts to new url * [Task] #58 fetch more contacts * fix: package.json & package-lock.json to reduce vulnerabilities (#62) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-EJS-6689533 Co-authored-by: snyk-bot <[email protected]> * Bump tar and npm (#60) Bumps [tar](https://github.com/isaacs/node-tar) to 6.2.1 and updates ancestor dependency [npm](https://github.com/npm/cli). These dependencies need to be updated together. Updates `tar` from 6.2.0 to 6.2.1 - [Release notes](https://github.com/isaacs/node-tar/releases) - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1) Updates `npm` from 10.5.0 to 10.5.2 - [Release notes](https://github.com/npm/cli/releases) - [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md) - [Commits](https://github.com/npm/cli/compare/v10.5.0...v10.5.2) --- updated-dependencies: - dependency-name: tar dependency-type: indirect - dependency-name: npm dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ejs from 3.1.9 to 3.1.10 (#63) Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10. - [Release notes](https://github.com/mde/ejs/releases) - [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10) --- updated-dependencies: - dependency-name: ejs dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Task] #58, webpack configuriation to allow regular css files as well as modules * [Task] #58, clean up react learn files * [Task] #58, setup react router * [Task] #61 install Material UI * [Task] #61, test mui * [CHANGE, MultiLine] #61 color variables levels removed, MUI Overwrites introduced color variables levels are replaced by color-mix. MUI Experimental API with Variables is used and to overwrite theme colors in css (since I want CSS to be single source of truth for colors) * [Temp] #61 introduce darkmode to MUI * [Task] #61, create new start module so that App can act as root * [Task] #61, naming update * [Task] #61, move router to root App * [Task] #61, add font to preload * [Task] #61, dim colors in dark mode * [Task] #61, introduce modeswitcher * [Change] #64, refactoring splitting pages and components * [Task] #61, mobile Theme Swticher placed on top right * [Task] #61, mobile theme switcher icon only on mobile * [Task] #61, button color and background improvement * [Task] #63, login page first draft * [Temp] #61, login controller commented out unused route, TO BE REFACTORED * [Task] #63, login validation * [Task] #63, add error icon * [Task] #61, cut design update * [Task] #53, apply cut, rename FormData to FormInfo to avoid confusion with reserved name * [Task] #63, send login request * [Task] #61, loading icon * [Task] #63, get csrfToken, fullfill login request * [Fix] #63, fail gracefully when too many tokens * [Task] #63, error Handling in login form * [Task] #81, remove password log * [Task] #80, cleanup todo token * fix: upgrade multiple dependencies with Snyk (#68) Snyk has created this PR to upgrade: - react from 18.2.0 to 18.3.1. See this package in npm: https://www.npmjs.com/package/react - react-dom from 18.2.0 to 18.3.1. See this package in npm: https://www.npmjs.com/package/react-dom See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * [Fix] #64, disable express header * [Task] #64, protect csrf token page with custom http header * [FIx] #64, fix csrf test * [Task] #64, repair test cases * fix: upgrade express-slow-down from 2.0.1 to 2.0.2 (#69) Snyk has created this PR to upgrade express-slow-down from 2.0.1 to 2.0.2. See this package in npm: express-slow-down See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * [fix] #64, linter fixes * [Task] Editor Config * [Task] #61, convert background line to svg and animate * [Task] #61, main headline style * [Task] #61, fine tune background pattern * [Task] #61, font-weight reduced in darkmode * [Task] #64, login design improvements * [Task] #61, update design with minor ripples and edges * [Task] #70, store token after login * Bump braces from 3.0.2 to 3.0.3 (#76) Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: upgrade @mui/icons-material from 5.15.16 to 5.15.18 (#75) Snyk has created this PR to upgrade @mui/icons-material from 5.15.16 to 5.15.18. See this package in npm: @mui/icons-material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade react-router-dom from 6.23.0 to 6.23.1 (#74) Snyk has created this PR to upgrade react-router-dom from 6.23.0 to 6.23.1. See this package in npm: react-router-dom See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade express-slow-down from 2.0.2 to 2.0.3 (#73) Snyk has created this PR to upgrade express-slow-down from 2.0.2 to 2.0.3. See this package in npm: express-slow-down See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade express-rate-limit from 7.2.0 to 7.3.0 (#82) Snyk has created this PR to upgrade express-rate-limit from 7.2.0 to 7.3.0. See this package in npm: express-rate-limit See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade express-validator from 7.0.1 to 7.1.0 (#81) Snyk has created this PR to upgrade express-validator from 7.0.1 to 7.1.0. See this package in npm: express-validator See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade axios from 1.7.1 to 1.7.2 (#80) Snyk has created this PR to upgrade axios from 1.7.1 to 1.7.2. See this package in npm: axios See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @mui/icons-material from 5.15.18 to 5.15.19 (#79) Snyk has created this PR to upgrade @mui/icons-material from 5.15.18 to 5.15.19. See this package in npm: @mui/icons-material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @mui/icons-material from 5.15.19 to 5.15.20 (#88) Snyk has created this PR to upgrade @mui/icons-material from 5.15.19 to 5.15.20. See this package in npm: @mui/icons-material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade react-router-dom from 6.23.1 to 6.24.0 (#91) Snyk has created this PR to upgrade react-router-dom from 6.23.1 to 6.24.0. See this package in npm: react-router-dom See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * 77 design base layout (#85) * [Task] #77 1st draft layout * [Change] #70 update token expire date * [Temp] #77, log out data on valid request, temp: error handling and display * [Temp] * [Task] #77, login Button functionality, default state * [Task] #77, removed outdated comments * [Task] #77, introduced linearBuffer Bar for login * [Task] #77, added modeSwticher to start page * [Task] #77, display last entry on map demo * [Task] #77, enhance login, show pastUser if availabe, show user on mainpage * [!!!Task] #77 first draft of functionality * [Task] #77 move map to new location * [Task] #77 create testData * [Fix] #77 codeFactor complains * [Task] #77, draft of status content * [FIX] #77 change data accumulation * [Task] #77 improve test example data * fix: upgrade @mui/material from 5.15.16 to 5.15.20 (#92) Snyk has created this PR to upgrade @mui/material from 5.15.16 to 5.15.20. See this package in npm: @mui/material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * [Fix] #94, refactor-ignore logic (multiline) (#95) Serverside: When writing entry, the most recent previous entry is checked wether to be ignored. Also if more than 2 items already exist meaning writing is preparing at least the 3rd entry, we recalculate distances and timing if previousItems are ignored. Frontend: In order to benefit and get the recent information that a previous item is being ignored, frontEnd askes for the current item again and merges it and following items. Remember the most recent item can never be ignored due to policy. Maybe there is no further writing, so I want to have the latest datapoint. * [Task] #94, add logging if logical error with ignore * [Task] #94, cleanup console.logs * [Fix] #93, offline message improvement (#96) * fix: package.json & package-lock.json to reduce vulnerabilities (#101) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-7361793 Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @mui/material from 5.15.20 to 5.16.5 (#102) Snyk has created this PR to upgrade @mui/material from 5.15.20 to 5.16.5. See this package in npm: @mui/material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * 93 fix error message when server not available (#103) * [Fix] #93, offline message improvement * [Task] #93, removed background in status module when no data is present * [Task] #61, add cut class to map for styling * [Fix] #93 fix tests, be more specific on url, and let test fail non silently when csrf is not found * [Fix] #94, repair overwriting the last data point * fix: upgrade @emotion/react from 11.11.4 to 11.13.0 (#104) Snyk has created this PR to upgrade @emotion/react from 11.11.4 to 11.13.0. See this package in npm: @emotion/react See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @emotion/styled from 11.11.5 to 11.13.0 (#105) Snyk has created this PR to upgrade @emotion/styled from 11.11.5 to 11.13.0. See this package in npm: @emotion/styled See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade react-router-dom from 6.25.0 to 6.25.1 (#106) Snyk has created this PR to upgrade react-router-dom from 6.25.0 to 6.25.1. See this package in npm: react-router-dom See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @mui/icons-material from 5.16.4 to 5.16.5 (#107) Snyk has created this PR to upgrade @mui/icons-material from 5.16.4 to 5.16.5. See this package in npm: @mui/icons-material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade express-rate-limit from 7.3.1 to 7.4.0 (#108) Snyk has created this PR to upgrade express-rate-limit from 7.3.1 to 7.4.0. See this package in npm: express-rate-limit See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * 109 marker and line design (#110) * [Task] #109, start polyline * [Task] #94, marker * [Task] #109, gradient color polyline color based on speed * [Task] #109 linter fixes * fix: upgrade react-router-dom from 6.25.1 to 6.26.0 (#113) Snyk has created this PR to upgrade react-router-dom from 6.25.1 to 6.26.0. See this package in npm: react-router-dom See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * fix: upgrade @mui/material from 5.16.5 to 5.16.6 (#112) Snyk has created this PR to upgrade @mui/material from 5.16.5 to 5.16.6. See this package in npm: @mui/material See this project in Snyk: https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]> * Switch polyline (#114) * [Revert] #109 remove polyColor Plugin * [Fix, MultiLine] #109, refactor coloring lines; while fetchinng new data vs reloading MaxSpeed might change the more entries are fetched. Example Testcase and after 6 entries are there, reload and see colors change ... well not with this fix. * [Task] #109, improve polyline display, remove unused code * [Task] #77, change timing to round up, so it "feels" more accurate * [Task] #115, remove SVG Animation on startup based on media Query * [Task] #77 improve test example data * [Task] #77, calculate more Status data * [Task] #77, improve example test data * [Task] #109, line dashed when diff is high, marker start icon when diff is higher * [Task] #77, status design * [Task] #83, forced scheme for map * [Task] #83, change context, mode globally available * [Task] #83, react update, cluster install * [Task, multiline] #83, map tilelayer Introduced new map TileLayers using layers control, and styled it Introduced markerClusterGroup from @changey, since others had issues like broken marker images, or lack for typescript support Refined dashed array styles Addapted context changes, to fetch mode globally, for seperate map theme Markers have none style if neither end or start, to be targeted Introduced Layer array for tilelayers When Layers are changed theme for map is set/updated * [Task] #77 improve responsive design, hide images, status overlays map * [Task] #77, adjust coloring and opacity, used for status * [Task] #83, adjust imports * [Task] #77, changed responsive design for mobile * [Task] #83, extracted to own module, added fly option * [Task] #83, layers extracted, clickable minimap, corrected for mapbox tileSize * Bump webpack from 5.91.0 to 5.94.0 (#117) Bumps [webpack](https://github.com/webpack/webpack) from 5.91.0 to 5.94.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.91.0...v5.94.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Task] #83, code cleanup * [Fix] #83, mime type setting * [fix] #123, run pre and post build for production too --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: snyk-bot <[email protected]> * Release 1_4 (#127) * [Task] #6 provide fallback index.html * [Task] #6 production ready code (m) move httpdocs folder to dist have compile without sourcemaps for faster speed * [Task] #6 create github action for upload when main is updated (#21) * [change] #6 new ftp upload action * [Fix] #6 replace host with server in ftp action * [Task] #6 basic log (#26) * [CHANGE] #6 revert back to require output for production * [Task] #6 add ability to manually upload to prod * [Task] #9 enable manual start of codechecks * 10 webhook for writing (#36) * [Change] #3 clean up npm scripts, to have clean folder before build * [Task] #10 created data types in typescript * [Temp] #10 created subroute for writing, and folder structure * [Change] #3 include to use relative paths from src folder in ts and node https://stackoverflow.com/questions/43281741/how-can-i-use-paths-in-tsconfig-json See comment from Remo H. Hansen with at least 100 upvoted * [Change] Update VSCode to keep files open * [Task] #18 setup dotenv for secret variables * [Temp, Task] #10 Validate inputs using express-validator and custom functions * [Task] #18 prevent parameter pollution * [Task] #10 validating incoming parameter and logging errors * [Task] #7 add basic cache to express * [Changes] #7 Error Handling, to include basic custom Error Handling * [Task] #10 enhanced validation to only allow known parameters * [Change] #35 added Jest, tests for helper functions when writing * [Task] #10 better error Handling * [Task] #35 add tests for writing webhook validation * [TASK] #18 protect Webhook using KEY * [Fix] #35 test know import path structure now * [Task] #35 add test for protected webhook * [Task] #35 refactor build to run jest tests * [Task] #10 switched to crypto instead of bcrypt for dependency issue see synk inflight * [Fix] #36 PRQ Feedback * [Task] #3 improve error handling, logger and added chalk to colorize console output. Had to use chalk version 4 because of typescript converting to require, and chalk5 do want import syntax. * [Change] #3 nodemon to clear console when in dev mode * [!Task] #32 webhook creates folder and file based on date * [Change] #35 relocated tests and refactor write, also added file check * [Task] #18, installed helmet, configured self as CSP origin * [Fix] moved chalk out of dev dependency * [Task] #32 error logging and text output improvement, log string instead of "object" * [Task] #18 CSP Update to allow localhost for testing * [Fix] #3 debugging setup improvments * [FIX] #10 Error Handling * [Task] #10 writing basic non calculated data to file * [Fix] #10 avoid Header Modification after sending the request * [Task] #10 JSON Data pretty output * [Task] #32 update types to reflect subobjects of entry * [Task] #10 write time * [Task] #32 added logging for time edgecases * [Task] #10 output seconds * [Task] #10 calculate distance based on lat and lon * [Task] #32 writing tests for time and distance * [Task] #32 change distance calculation to use pythagoras * [Task] #38 add favicon * [Task] #32 time converted to seconds * [Taskk] #32 speed calculation and output and tests * [Task] #32 speed tests * [Task] #33 add ignore * [Task] #32 test finetuning * [Task] #32 add angle between entries * [Task] #32 test for angle, extracted getData function * [change] #32 test to include optional leading 0 for days * [!!!Task] #18 add uncaughtExeption handler as last resort * [Task] #7 enhance static options to include common filetypes; index file start is used as index file to avoid collisions with host provider * [change] #32 validation to be used more explictly * [change] #32 add index to log while writing * [Task] #32 test if 1000 calls can be made with randomized data * [!!! Task] #32 limit JSON Data to be 1000 lines: replace last line with most recent entry * [Change, Task] #32 if 1000 entries exceeded, only replace last if hdop is good * [Change] build action enable button to on manually * [temp] test y tests fail * Create node.js.yml * Create main.yml * [!!!Fix] Created new workflow to build / test node, commented tests back in. Increased time between server calls in test, to check difference time more accurately * [Task] #33 moved ignore to its own file since it creates data rather than validating it * 42 output json (#44) * [Task] #42, created route to output json * [Task] #42 added tests for read json * 41 add rate limiter (#45) * [Task] #18, limit request size for security reasons * [Task] #43, introduce gzip to transfer data * [Task] #34 improve error handling, log server shutdowns * [Task] #34 installed and integrated tooBusy to send 503 when load is high * [Task] #34 improved tooBusy, improved formatting * [Task, Temp] #41 installed ratelimiter and slowDown * [Task] #42 cleanup ipv6 addresses * [Change] #10 error handling for better gitBash and txt output, also reduced stack in case of validation errors * [Task] #41 prepare Log for RateLImit errors * [Temp] #41 write route rateLImited temp: see Todos * [Task] #34 colorize prefix in console * [Task] #42 extract middlewares and move to folder * [Task] #41 ratelimiter cleaning up periodicly * [Task] #41 skip tests in rateLimiting * Bump follow-redirects from 1.15.5 to 1.15.6 (#47) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * 43 secure output route (#46) * [Task] #43 create color pallette via atmos * [Task] #43 create color pallette via atmos * [Task] #43 cleanup colors and svg * [Task] #41 remove test code * [CHANGE] #3 reconfigured nodemon to copy static files * [Task] #18 replaced getRawBody with builtIn express urlEncoded * [Temp, Task] #43 basic login page, not yet used as middleware * [Temp] #43, create and validate json web token * [Task] #43, add slowDown and RateLimit for failed login attempts * [Task] #43, ratelimit for login page * [Task] #43, add global ratelimiter * [fix] #7, improve error handeling for express errors * [Task] #43 rework body limitations to be checked only appropiate methods * [Task] #43 added check for data before using it * [Task] #43 check that body is ignored for GET in request * [Task] #43 login test * [Task] #43 create tests for login * [Task] #43 fine tune error handling * [Task] #43, finished login and jwt related tests * [Change] #34, no further need for test logging * [Task] #43, fine tune jwt, middleware process improved * [CHANGE] #43 created new esLint to have clientside js without ts * [Temp] #43 test to see new linter configuration * [Change] #43 switched to bcrypt for passwords * [Task] #43 read return json in all cases * [Task] #43 introduced color classes * [Task] #43, prq feedback * [Temp} #43 figuring out why tests d…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[Task] connect repro to production #6 provide fallback index.html
[Task] connect repro to production #6 production ready code (m)
move httpdocs folder to dist
have compile without sourcemaps for faster speed
[Task] connect repro to production #6 create github action for upload when main is updated ([Task] #6 create github action for upload when main is updated #21)
[change] connect repro to production #6 new ftp upload action
[Fix] connect repro to production #6 replace host with server in ftp action
[Task] connect repro to production #6 basic log (6 basic log #26)
[CHANGE] connect repro to production #6 revert back to require output for production
[Task] connect repro to production #6 add ability to manually upload to prod
[Task] Get into automation / workflow #9 enable manual start of codechecks
10 webhook for writing (10 webhook for writing #36)
[Change] Node and TypeScript Setup locally #3 clean up npm scripts, to have clean folder before build
[Task] Webhook for writing #10 created data types in typescript
[Temp] Webhook for writing #10 created subroute for writing, and folder structure
[Change] Node and TypeScript Setup locally #3 include to use relative paths from src folder in ts and node
https://stackoverflow.com/questions/43281741/how-can-i-use-paths-in-tsconfig-json See comment from Remo H. Hansen with at least 100 upvoted
[Change] Update VSCode to keep files open
[Task] Security #18 setup dotenv for secret variables
[Temp, Task] Webhook for writing #10 Validate inputs using express-validator and custom functions
[Task] Security #18 prevent parameter pollution
[Task] Webhook for writing #10 validating incoming parameter and logging errors
[Task] Get started with Express #7 add basic cache to express
[Changes] Get started with Express #7 Error Handling, to include basic custom Error Handling
[Task] Webhook for writing #10 enhanced validation to only allow known parameters
[Change] Basic Unit Testing #35 added Jest, tests for helper functions when writing
[Task] Webhook for writing #10 better error Handling
[Task] Basic Unit Testing #35 add tests for writing webhook validation
[TASK] Security #18 protect Webhook using KEY
[Fix] Basic Unit Testing #35 test know import path structure now
[Task] Basic Unit Testing #35 add test for protected webhook
[Task] Basic Unit Testing #35 refactor build to run jest tests
[Task] Webhook for writing #10 switched to crypto instead of bcrypt for dependency issue
see synk inflight
[Fix] 10 webhook for writing #36 PRQ Feedback
[Task] Node and TypeScript Setup locally #3 improve error handling, logger and added chalk
to colorize console output.
Had to use chalk version 4 because of typescript converting to require, and chalk5 do want import syntax.
[Change] Node and TypeScript Setup locally #3 nodemon to clear console when in dev mode
[!Task] Enhance Writing Data #32 webhook creates folder and file based on date
[Change] Basic Unit Testing #35 relocated tests and refactor write, also added file check
[Task] Security #18, installed helmet, configured self as CSP origin
[Fix] moved chalk out of dev dependency
[Task] Enhance Writing Data #32 error logging and text output improvement, log string instead of "object"
[Task] Security #18 CSP Update to allow localhost for testing
[Fix] Node and TypeScript Setup locally #3 debugging setup improvments
[FIX] Webhook for writing #10 Error Handling
[Task] Webhook for writing #10 writing basic non calculated data to file
[Fix] Webhook for writing #10 avoid Header Modification after sending the request
[Task] Webhook for writing #10 JSON Data pretty output
[Task] Enhance Writing Data #32 update types to reflect subobjects of entry
[Task] Webhook for writing #10 write time
[Task] Enhance Writing Data #32 added logging for time edgecases
[Task] Webhook for writing #10 output seconds
[Task] Webhook for writing #10 calculate distance based on lat and lon
[Task] Enhance Writing Data #32 writing tests for time and distance
[Task] Enhance Writing Data #32 change distance calculation to use pythagoras
[Task] add favicon #38 add favicon
[Task] Enhance Writing Data #32 time converted to seconds
[Taskk] Enhance Writing Data #32 speed calculation and output and tests
[Task] Enhance Writing Data #32 speed tests
[Task] add ignore #33 add ignore
[Task] Enhance Writing Data #32 test finetuning
[Task] Enhance Writing Data #32 add angle between entries
[Task] Enhance Writing Data #32 test for angle, extracted getData function
[change] Enhance Writing Data #32 test to include optional leading 0 for days
[!!!Task] Security #18 add uncaughtExeption handler as last resort
[Task] Get started with Express #7 enhance static options to include common filetypes; index file
start is used as index file to avoid collisions with host provider
[change] Enhance Writing Data #32 validation to be used more explictly
[change] Enhance Writing Data #32 add index to log while writing
[Task] Enhance Writing Data #32 test if 1000 calls can be made with randomized data
[!!! Task] Enhance Writing Data #32 limit JSON Data to be 1000 lines: replace last line with most recent entry
[Change, Task] Enhance Writing Data #32 if 1000 entries exceeded, only replace last if hdop is good
[Change] build action enable button to on manually
[temp] test y tests fail
Create node.js.yml
Create main.yml
[!!!Fix] Created new workflow to build / test node, commented tests back in.
Increased time between server calls in test, to check difference time more accurately
[Task] add ignore #33 moved ignore to its own file since it creates data rather than validating it
42 output json (42 output json #44)
[Task] output json #42, created route to output json
[Task] output json #42 added tests for read json
41 add rate limiter (41 add rate limiter #45)
[Task] Security #18, limit request size for security reasons
[Task] secure output route #43, introduce gzip to transfer data
[Task] Improve Node JS #34 improve error handling, log server shutdowns
[Task] Improve Node JS #34 installed and integrated tooBusy to send 503 when load is high
[Task] Improve Node JS #34 improved tooBusy, improved formatting
[Task, Temp] add rate limiter #41 installed ratelimiter and slowDown
[Task] output json #42 cleanup ipv6 addresses
[Change] Webhook for writing #10 error handling for better gitBash and txt output, also reduced stack in case of validation errors
[Task] add rate limiter #41 prepare Log for RateLImit errors
[Temp] add rate limiter #41 write route rateLImited
temp: see Todos
[Task] Improve Node JS #34 colorize prefix in console
[Task] output json #42 extract middlewares and move to folder
[Task] add rate limiter #41 ratelimiter cleaning up periodicly
[Task] add rate limiter #41 skip tests in rateLimiting
Bump follow-redirects from 1.15.5 to 1.15.6 (Bump follow-redirects from 1.15.5 to 1.15.6 #47)
Bumps follow-redirects from 1.15.5 to 1.15.6.
updated-dependencies:
43 secure output route (43 secure output route #46)
[Task] secure output route #43 create color pallette
via atmos
via atmos
[Task] secure output route #43 cleanup colors and svg
[Task] add rate limiter #41 remove test code
[CHANGE] Node and TypeScript Setup locally #3 reconfigured nodemon to copy static files
[Task] Security #18 replaced getRawBody with builtIn express urlEncoded
[Temp, Task] secure output route #43 basic login page, not yet used as middleware
[Temp] secure output route #43, create and validate json web token
[Task] secure output route #43, add slowDown and RateLimit for failed login attempts
[Task] secure output route #43, ratelimit for login page
[Task] secure output route #43, add global ratelimiter
[fix] Get started with Express #7, improve error handeling for express errors
[Task] secure output route #43 rework body limitations to be checked only appropiate methods
[Task] secure output route #43 added check for data before using it
[Task] secure output route #43 check that body is ignored for GET in request
[Task] secure output route #43 login test
[Task] secure output route #43 create tests for login
[Task] secure output route #43 fine tune error handling
[Task] secure output route #43, finished login and jwt related tests
[Change] Improve Node JS #34, no further need for test logging
[Task] secure output route #43, fine tune jwt, middleware process improved
[CHANGE] secure output route #43 created new esLint to have clientside js without ts
[Temp] secure output route #43 test to see new linter configuration
[Change] secure output route #43 switched to bcrypt for passwords
[Task] secure output route #43 read return json in all cases
[Task] secure output route #43 introduced color classes
[Task] secure output route #43, prq feedback
[Temp} secure output route #43 figuring out why tests dont run on github
[Task] secure output route #43 code cleanup
48 move login to seperate controller (48 move login to seperate controller #49)
[Task] secure output route #43, add label to form
[Task] Move Login to seperate controller #48 login controller
50 integrate csrf protection for login form (50 integrate csrf protection for login form #53)
[Task] Integrate csrf protection for login form #50, create CSRF Validation for login form
[Task] secure output route #43, added icon to repository for later use
[Task] Integrate csrf protection for login form #50, cleanup cetntralized; rename token functions
[Task] Integrate csrf protection for login form #50, reduced token length and improved error handling
[Task] Integrate csrf protection for login form #50 csrf tests added to login
[Task] Integrate csrf protection for login form #50, added test case for csrf, repaired integration
fix: upgrade express-rate-limit from 7.1.5 to 7.2.0 ([Snyk] Upgrade express-rate-limit from 7.1.5 to 7.2.0 #52)
Snyk has created this PR to upgrade express-rate-limit from 7.1.5 to 7.2.0.
See this package in npm:
https://www.npmjs.com/package/express-rate-limit
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
The following vulnerabilities are fixed with an upgrade:
[Snyk] Upgrade express from 4.18.2 to 4.18.3 ([Snyk] Upgrade express from 4.18.2 to 4.18.3 #51)
fix: upgrade express from 4.18.2 to 4.18.3
Snyk has created this PR to upgrade express from 4.18.2 to 4.18.3.
See this package in npm:
https://www.npmjs.com/package/express
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
50 integrate csrf protection for login form (50 integrate csrf protection for login form #53)
[Task] Integrate csrf protection for login form #50, create CSRF Validation for login form
[Task] secure output route #43, added icon to repository for later use
[Task] Integrate csrf protection for login form #50, cleanup cetntralized; rename token functions
[Task] Integrate csrf protection for login form #50, reduced token length and improved error handling
[Task] Integrate csrf protection for login form #50 csrf tests added to login
[Task] Integrate csrf protection for login form #50, added test case for csrf, repaired integration
fix: upgrade express-rate-limit from 7.1.5 to 7.2.0 ([Snyk] Upgrade express-rate-limit from 7.1.5 to 7.2.0 #52)
Snyk has created this PR to upgrade express-rate-limit from 7.1.5 to 7.2.0.
See this package in npm:
https://www.npmjs.com/package/express-rate-limit
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
[Task] update dev after main merge
[Task] npm upgrade
58 react setup (58 react setup #59)
[Task] React Setup #58 install react via npm, incl. types and eslint plugins
[Task] React Setup #58, tsconfig for react folder
[Task] React Setup #58 esLint config
[Task] React Setup #58, webpack and react setup
[Task] React Setup #58, render welcome from express instead of static
[Task] React Setup #58 eslint scripts
[Task] React Setup #58, eslint react setup
[TASK] React Setup #58 integrate webpack in build and dev npm scripts
[Temp] Test csp
[FIX] Add views to be deployed to prod
[Task] disable csp for local development
[Task] React Setup #58 base css including colors, deleted color classes in favor of variables
[Task] React Setup #58 typescript setup for react
[Task] React Setup #58 webpack setup for react and typescript
[Task] React Setup #58 app setup react
[Temp] React Setup #58 conctact module css
[Task] React Setup #58 remove learning files
[Task] Design #61, create font
Revert "[Task] React Setup #58 remove learning files"
This reverts commit b63bb97.
[Task] Design #61, adjust for darkmode
[Task] Design #61 apply base style to login
[Task] React Setup #58, dev tesing rule to disable
[Task] React Setup #58, adjust styles for headline
[Task] React Setup #58, create Contacts wrapper Component
[Task] React Setup #58 apply wrapper component
[Task] React Setup #58 adjust contact component to expect object
[Task] React Setup #58, toggle state
[Task] React Setup #58 learn context api provider and consumer
[Task] React Setup #58 add delete via dispatch
[Task] React Setup #58, react-router, move contacts to new url
[Task] React Setup #58 fetch more contacts
fix: package.json & package-lock.json to reduce vulnerabilities ([Snyk] Security upgrade ejs from 3.1.9 to 3.1.10 #62)
The following vulnerabilities are fixed with an upgrade:
Bumps tar to 6.2.1 and updates ancestor dependency npm. These dependencies need to be updated together.
Updates
tar
from 6.2.0 to 6.2.1Updates
npm
from 10.5.0 to 10.5.2updated-dependencies:
Bumps ejs from 3.1.9 to 3.1.10.
updated-dependencies:
[Task] React Setup #58, webpack configuriation to allow regular css files as well as modules
[Task] React Setup #58, clean up react learn files
[Task] React Setup #58, setup react router
[Task] Design #61 install Material UI
[Task] Design #61, test mui
[CHANGE, MultiLine] Design #61 color variables levels removed, MUI Overwrites introduced
color variables levels are replaced by color-mix.
MUI Experimental API with Variables is used and to overwrite theme colors in css (since I want CSS to be single source of truth for colors)
[Temp] Design #61 introduce darkmode to MUI
[Task] Design #61, create new start module so that App can act as root
[Task] Design #61, naming update
[Task] Design #61, move router to root App
[Task] Design #61, add font to preload
[Task] Design #61, dim colors in dark mode
[Task] Design #61, introduce modeswitcher
[Change] Login Page #64, refactoring splitting pages and components
[Task] Design #61, mobile Theme Swticher placed on top right
[Task] Design #61, mobile theme switcher icon only on mobile
[Task] Design #61, button color and background improvement
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, login page first draft
[Temp] Design #61, login controller commented out unused route, TO BE REFACTORED
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, login validation
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, add error icon
[Task] Design #61, cut design update
[Task] 50 integrate csrf protection for login form #53, apply cut, rename FormData to FormInfo to avoid confusion with reserved name
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, send login request
[Task] Design #61, loading icon
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, get csrfToken, fullfill login request
[Fix] Bump ejs from 3.1.9 to 3.1.10 #63, fail gracefully when too many tokens
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, error Handling in login form
[Task] [Snyk] Upgrade express-validator from 7.0.1 to 7.1.0 #81, remove password log
[Task] [Snyk] Upgrade axios from 1.7.1 to 1.7.2 #80, cleanup todo token
fix: upgrade multiple dependencies with Snyk ([Snyk] Upgrade: react, react-dom #68)
Snyk has created this PR to upgrade:
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
[Fix] Login Page #64, disable express header
[Task] Login Page #64, protect csrf token page with custom http header
[FIx] Login Page #64, fix csrf test
[Task] Login Page #64, repair test cases
fix: upgrade express-slow-down from 2.0.1 to 2.0.2 ([Snyk] Upgrade express-slow-down from 2.0.1 to 2.0.2 #69)
Snyk has created this PR to upgrade express-slow-down from 2.0.1 to 2.0.2.
See this package in npm:
express-slow-down
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
[fix] Login Page #64, linter fixes
[Task] Editor Config
[Task] Design #61, convert background line to svg and animate
[Task] Design #61, main headline style
[Task] Design #61, fine tune background pattern
[Task] Design #61, font-weight reduced in darkmode
[Task] Login Page #64, login design improvements
[Task] Design #61, update design with minor ripples and edges
[Task] Login store JWT #70, store token after login
Bump braces from 3.0.2 to 3.0.3 (Bump braces from 3.0.2 to 3.0.3 #76)
Bumps braces from 3.0.2 to 3.0.3.
updated-dependencies:
Snyk has created this PR to upgrade @mui/icons-material from 5.15.16 to 5.15.18.
See this package in npm:
@mui/icons-material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade react-router-dom from 6.23.0 to 6.23.1.
See this package in npm:
react-router-dom
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade express-slow-down from 2.0.2 to 2.0.3.
See this package in npm:
express-slow-down
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade express-rate-limit from 7.2.0 to 7.3.0.
See this package in npm:
express-rate-limit
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade express-validator from 7.0.1 to 7.1.0.
See this package in npm:
express-validator
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade axios from 1.7.1 to 1.7.2.
See this package in npm:
axios
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade @mui/icons-material from 5.15.18 to 5.15.19.
See this package in npm:
@mui/icons-material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade @mui/icons-material from 5.15.19 to 5.15.20.
See this package in npm:
@mui/icons-material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade react-router-dom from 6.23.1 to 6.24.0.
See this package in npm:
react-router-dom
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
77 design base layout (77 design base layout #85)
[Task] Design base Layout #77 1st draft layout
[Change] Login store JWT #70 update token expire date
[Temp] Design base Layout #77, log out data on valid request, temp: error handling and display
[Temp]
[Task] Design base Layout #77, login Button functionality, default state
[Task] Design base Layout #77, removed outdated comments
[Task] Design base Layout #77, introduced linearBuffer Bar for login
[Task] Design base Layout #77, added modeSwticher to start page
[Task] Design base Layout #77, display last entry on map demo
[Task] Design base Layout #77, enhance login, show pastUser if availabe, show user on mainpage
[!!!Task] Design base Layout #77 first draft of functionality
[Task] Design base Layout #77 move map to new location
[Task] Design base Layout #77 create testData
[Fix] Design base Layout #77 codeFactor complains
[Task] Design base Layout #77, draft of status content
[FIX] Design base Layout #77 change data accumulation
[Task] Design base Layout #77 improve test example data
fix: upgrade @mui/material from 5.15.16 to 5.15.20 ([Snyk] Upgrade @mui/material from 5.15.16 to 5.15.20 #92)
Snyk has created this PR to upgrade @mui/material from 5.15.16 to 5.15.20.
See this package in npm:
@mui/material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Serverside: When writing entry, the most recent previous entry is checked wether to be ignored. Also if more than 2 items already exist meaning writing is preparing at least the 3rd entry, we recalculate distances and timing if previousItems are ignored.
Frontend:
In order to benefit and get the recent information that a previous item is being ignored, frontEnd askes for the current item again and merges it and following items.
Remember the most recent item can never be ignored due to policy. Maybe there is no further writing, so I want to have the latest datapoint.
[Task] Add ignore logic to ignore entries that are ignored #94, add logging if logical error with ignore
[Task] Add ignore logic to ignore entries that are ignored #94, cleanup console.logs
[Fix] Fix error message when server not available #93, offline message improvement ([Fix] #93, offline message improvement #96)
fix: package.json & package-lock.json to reduce vulnerabilities ([Snyk] Security upgrade axios from 1.7.2 to 1.7.4 #101)
The following vulnerabilities are fixed with an upgrade:
Snyk has created this PR to upgrade @mui/material from 5.15.20 to 5.16.5.
See this package in npm:
@mui/material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
93 fix error message when server not available (93 fix error message when server not available #103)
[Fix] Fix error message when server not available #93, offline message improvement
[Task] Fix error message when server not available #93, removed background in status module when no data is present
[Task] Design #61, add cut class to map for styling
[Fix] Fix error message when server not available #93 fix tests, be more specific on url, and let test fail non silently when csrf is not found
[Fix] Add ignore logic to ignore entries that are ignored #94, repair overwriting the last data point
fix: upgrade @emotion/react from 11.11.4 to 11.13.0 ([Snyk] Upgrade @emotion/react from 11.11.4 to 11.13.0 #104)
Snyk has created this PR to upgrade @emotion/react from 11.11.4 to 11.13.0.
See this package in npm:
@emotion/react
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade @emotion/styled from 11.11.5 to 11.13.0.
See this package in npm:
@emotion/styled
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade react-router-dom from 6.25.0 to 6.25.1.
See this package in npm:
react-router-dom
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade @mui/icons-material from 5.16.4 to 5.16.5.
See this package in npm:
@mui/icons-material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade express-rate-limit from 7.3.1 to 7.4.0.
See this package in npm:
express-rate-limit
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
109 marker and line design (109 marker and line design #110)
[Task] Marker and Line Design #109, start polyline
[Task] Add ignore logic to ignore entries that are ignored #94, marker
[Task] Marker and Line Design #109, gradient color polyline color based on speed
[Task] Marker and Line Design #109 linter fixes
fix: upgrade react-router-dom from 6.25.1 to 6.26.0 ([Snyk] Upgrade react-router-dom from 6.25.1 to 6.26.0 #113)
Snyk has created this PR to upgrade react-router-dom from 6.25.1 to 6.26.0.
See this package in npm:
react-router-dom
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade @mui/material from 5.16.5 to 5.16.6.
See this package in npm:
@mui/material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Switch polyline (Switch polyline #114)
[Revert] Marker and Line Design #109 remove polyColor Plugin
[Fix, MultiLine] Marker and Line Design #109, refactor coloring lines;
while fetchinng new data vs reloading
MaxSpeed might change the more entries are fetched. Example Testcase and after 6 entries are there, reload and see colors change ... well not with this fix.
[Task] Marker and Line Design #109, improve polyline display, remove unused code
[Task] Design base Layout #77, change timing to round up, so it "feels" more accurate
[Task] no Animation based on MQ #115, remove SVG Animation on startup based on media Query
[Task] Design base Layout #77 improve test example data
[Task] Design base Layout #77, calculate more Status data
[Task] Design base Layout #77, improve example test data
[Task] Marker and Line Design #109, line dashed when diff is high, marker start icon when diff is higher
[Task] Design base Layout #77, status design
[Task] MapLayers (TileProviders) #83, forced scheme for map
[Task] MapLayers (TileProviders) #83, change context, mode globally available
[Task] MapLayers (TileProviders) #83, react update, cluster install
[Task, multiline] MapLayers (TileProviders) #83, map tilelayer
Introduced new map TileLayers using layers control, and styled it Introduced markerClusterGroup from @changey, since others had issues like broken marker images, or lack for typescript support Refined dashed array styles
Addapted context changes, to fetch mode globally, for seperate map theme Markers have none style if neither end or start, to be targeted Introduced Layer array for tilelayers
When Layers are changed theme for map is set/updated
[Task] Design base Layout #77 improve responsive design, hide images, status overlays map
[Task] Design base Layout #77, adjust coloring and opacity, used for status
[Task] MapLayers (TileProviders) #83, adjust imports
[Task] Design base Layout #77, changed responsive design for mobile
[Task] MapLayers (TileProviders) #83, extracted to own module, added fly option
[Task] MapLayers (TileProviders) #83, layers extracted, clickable minimap, corrected for mapbox tileSize
Bump webpack from 5.91.0 to 5.94.0 (Bump webpack from 5.91.0 to 5.94.0 #117)
Bumps webpack from 5.91.0 to 5.94.0.
updated-dependencies:
[Task] MapLayers (TileProviders) #83, code cleanup
[Fix] MapLayers (TileProviders) #83, mime type setting
[fix] deploy #123, run pre and post build for production too
[Change] deploy #123, to see real user ip instead of localhost proxy ([Change] #123, to see real user ip instead of localhost proxy #126)
Main (Main #128)
Release 1_3 (Release 1_3 #124)
[Task] connect repro to production #6 provide fallback index.html
[Task] connect repro to production #6 production ready code (m)
move httpdocs folder to dist
have compile without sourcemaps for faster speed
[Task] connect repro to production #6 create github action for upload when main is updated ([Task] #6 create github action for upload when main is updated #21)
[change] connect repro to production #6 new ftp upload action
[Fix] connect repro to production #6 replace host with server in ftp action
[Task] connect repro to production #6 basic log (6 basic log #26)
[CHANGE] connect repro to production #6 revert back to require output for production
[Task] connect repro to production #6 add ability to manually upload to prod
[Task] Get into automation / workflow #9 enable manual start of codechecks
10 webhook for writing (10 webhook for writing #36)
[Change] Node and TypeScript Setup locally #3 clean up npm scripts, to have clean folder before build
[Task] Webhook for writing #10 created data types in typescript
[Temp] Webhook for writing #10 created subroute for writing, and folder structure
[Change] Node and TypeScript Setup locally #3 include to use relative paths from src folder in ts and node
https://stackoverflow.com/questions/43281741/how-can-i-use-paths-in-tsconfig-json See comment from Remo H. Hansen with at least 100 upvoted
[Change] Update VSCode to keep files open
[Task] Security #18 setup dotenv for secret variables
[Temp, Task] Webhook for writing #10 Validate inputs using express-validator and custom functions
[Task] Security #18 prevent parameter pollution
[Task] Webhook for writing #10 validating incoming parameter and logging errors
[Task] Get started with Express #7 add basic cache to express
[Changes] Get started with Express #7 Error Handling, to include basic custom Error Handling
[Task] Webhook for writing #10 enhanced validation to only allow known parameters
[Change] Basic Unit Testing #35 added Jest, tests for helper functions when writing
[Task] Webhook for writing #10 better error Handling
[Task] Basic Unit Testing #35 add tests for writing webhook validation
[TASK] Security #18 protect Webhook using KEY
[Fix] Basic Unit Testing #35 test know import path structure now
[Task] Basic Unit Testing #35 add test for protected webhook
[Task] Basic Unit Testing #35 refactor build to run jest tests
[Task] Webhook for writing #10 switched to crypto instead of bcrypt for dependency issue
see synk inflight
[Fix] 10 webhook for writing #36 PRQ Feedback
[Task] Node and TypeScript Setup locally #3 improve error handling, logger and added chalk
to colorize console output.
Had to use chalk version 4 because of typescript converting to require, and chalk5 do want import syntax.
[Change] Node and TypeScript Setup locally #3 nodemon to clear console when in dev mode
[!Task] Enhance Writing Data #32 webhook creates folder and file based on date
[Change] Basic Unit Testing #35 relocated tests and refactor write, also added file check
[Task] Security #18, installed helmet, configured self as CSP origin
[Fix] moved chalk out of dev dependency
[Task] Enhance Writing Data #32 error logging and text output improvement, log string instead of "object"
[Task] Security #18 CSP Update to allow localhost for testing
[Fix] Node and TypeScript Setup locally #3 debugging setup improvments
[FIX] Webhook for writing #10 Error Handling
[Task] Webhook for writing #10 writing basic non calculated data to file
[Fix] Webhook for writing #10 avoid Header Modification after sending the request
[Task] Webhook for writing #10 JSON Data pretty output
[Task] Enhance Writing Data #32 update types to reflect subobjects of entry
[Task] Webhook for writing #10 write time
[Task] Enhance Writing Data #32 added logging for time edgecases
[Task] Webhook for writing #10 output seconds
[Task] Webhook for writing #10 calculate distance based on lat and lon
[Task] Enhance Writing Data #32 writing tests for time and distance
[Task] Enhance Writing Data #32 change distance calculation to use pythagoras
[Task] add favicon #38 add favicon
[Task] Enhance Writing Data #32 time converted to seconds
[Taskk] Enhance Writing Data #32 speed calculation and output and tests
[Task] Enhance Writing Data #32 speed tests
[Task] add ignore #33 add ignore
[Task] Enhance Writing Data #32 test finetuning
[Task] Enhance Writing Data #32 add angle between entries
[Task] Enhance Writing Data #32 test for angle, extracted getData function
[change] Enhance Writing Data #32 test to include optional leading 0 for days
[!!!Task] Security #18 add uncaughtExeption handler as last resort
[Task] Get started with Express #7 enhance static options to include common filetypes; index file
start is used as index file to avoid collisions with host provider
[change] Enhance Writing Data #32 validation to be used more explictly
[change] Enhance Writing Data #32 add index to log while writing
[Task] Enhance Writing Data #32 test if 1000 calls can be made with randomized data
[!!! Task] Enhance Writing Data #32 limit JSON Data to be 1000 lines: replace last line with most recent entry
[Change, Task] Enhance Writing Data #32 if 1000 entries exceeded, only replace last if hdop is good
[Change] build action enable button to on manually
[temp] test y tests fail
Create node.js.yml
Create main.yml
[!!!Fix] Created new workflow to build / test node, commented tests back in.
Increased time between server calls in test, to check difference time more accurately
[Task] add ignore #33 moved ignore to its own file since it creates data rather than validating it
42 output json (42 output json #44)
[Task] output json #42, created route to output json
[Task] output json #42 added tests for read json
41 add rate limiter (41 add rate limiter #45)
[Task] Security #18, limit request size for security reasons
[Task] secure output route #43, introduce gzip to transfer data
[Task] Improve Node JS #34 improve error handling, log server shutdowns
[Task] Improve Node JS #34 installed and integrated tooBusy to send 503 when load is high
[Task] Improve Node JS #34 improved tooBusy, improved formatting
[Task, Temp] add rate limiter #41 installed ratelimiter and slowDown
[Task] output json #42 cleanup ipv6 addresses
[Change] Webhook for writing #10 error handling for better gitBash and txt output, also reduced stack in case of validation errors
[Task] add rate limiter #41 prepare Log for RateLImit errors
[Temp] add rate limiter #41 write route rateLImited
temp: see Todos
[Task] Improve Node JS #34 colorize prefix in console
[Task] output json #42 extract middlewares and move to folder
[Task] add rate limiter #41 ratelimiter cleaning up periodicly
[Task] add rate limiter #41 skip tests in rateLimiting
Bump follow-redirects from 1.15.5 to 1.15.6 (Bump follow-redirects from 1.15.5 to 1.15.6 #47)
Bumps follow-redirects from 1.15.5 to 1.15.6.
updated-dependencies:
43 secure output route (43 secure output route #46)
[Task] secure output route #43 create color pallette
via atmos
via atmos
[Task] secure output route #43 cleanup colors and svg
[Task] add rate limiter #41 remove test code
[CHANGE] Node and TypeScript Setup locally #3 reconfigured nodemon to copy static files
[Task] Security #18 replaced getRawBody with builtIn express urlEncoded
[Temp, Task] secure output route #43 basic login page, not yet used as middleware
[Temp] secure output route #43, create and validate json web token
[Task] secure output route #43, add slowDown and RateLimit for failed login attempts
[Task] secure output route #43, ratelimit for login page
[Task] secure output route #43, add global ratelimiter
[fix] Get started with Express #7, improve error handeling for express errors
[Task] secure output route #43 rework body limitations to be checked only appropiate methods
[Task] secure output route #43 added check for data before using it
[Task] secure output route #43 check that body is ignored for GET in request
[Task] secure output route #43 login test
[Task] secure output route #43 create tests for login
[Task] secure output route #43 fine tune error handling
[Task] secure output route #43, finished login and jwt related tests
[Change] Improve Node JS #34, no further need for test logging
[Task] secure output route #43, fine tune jwt, middleware process improved
[CHANGE] secure output route #43 created new esLint to have clientside js without ts
[Temp] secure output route #43 test to see new linter configuration
[Change] secure output route #43 switched to bcrypt for passwords
[Task] secure output route #43 read return json in all cases
[Task] secure output route #43 introduced color classes
[Task] secure output route #43, prq feedback
[Temp} secure output route #43 figuring out why tests dont run on github
[Task] secure output route #43 code cleanup
48 move login to seperate controller (48 move login to seperate controller #49)
[Task] secure output route #43, add label to form
[Task] Move Login to seperate controller #48 login controller
50 integrate csrf protection for login form (50 integrate csrf protection for login form #53)
[Task] Integrate csrf protection for login form #50, create CSRF Validation for login form
[Task] secure output route #43, added icon to repository for later use
[Task] Integrate csrf protection for login form #50, cleanup cetntralized; rename token functions
[Task] Integrate csrf protection for login form #50, reduced token length and improved error handling
[Task] Integrate csrf protection for login form #50 csrf tests added to login
[Task] Integrate csrf protection for login form #50, added test case for csrf, repaired integration
fix: upgrade express-rate-limit from 7.1.5 to 7.2.0 ([Snyk] Upgrade express-rate-limit from 7.1.5 to 7.2.0 #52)
Snyk has created this PR to upgrade express-rate-limit from 7.1.5 to 7.2.0.
See this package in npm:
https://www.npmjs.com/package/express-rate-limit
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
The following vulnerabilities are fixed with an upgrade:
[Snyk] Upgrade express from 4.18.2 to 4.18.3 ([Snyk] Upgrade express from 4.18.2 to 4.18.3 #51)
fix: upgrade express from 4.18.2 to 4.18.3
Snyk has created this PR to upgrade express from 4.18.2 to 4.18.3.
See this package in npm:
https://www.npmjs.com/package/express
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
50 integrate csrf protection for login form (50 integrate csrf protection for login form #53)
[Task] Integrate csrf protection for login form #50, create CSRF Validation for login form
[Task] secure output route #43, added icon to repository for later use
[Task] Integrate csrf protection for login form #50, cleanup cetntralized; rename token functions
[Task] Integrate csrf protection for login form #50, reduced token length and improved error handling
[Task] Integrate csrf protection for login form #50 csrf tests added to login
[Task] Integrate csrf protection for login form #50, added test case for csrf, repaired integration
fix: upgrade express-rate-limit from 7.1.5 to 7.2.0 ([Snyk] Upgrade express-rate-limit from 7.1.5 to 7.2.0 #52)
Snyk has created this PR to upgrade express-rate-limit from 7.1.5 to 7.2.0.
See this package in npm:
https://www.npmjs.com/package/express-rate-limit
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
[Task] update dev after main merge
[Task] npm upgrade
58 react setup (58 react setup #59)
[Task] React Setup #58 install react via npm, incl. types and eslint plugins
[Task] React Setup #58, tsconfig for react folder
[Task] React Setup #58 esLint config
[Task] React Setup #58, webpack and react setup
[Task] React Setup #58, render welcome from express instead of static
[Task] React Setup #58 eslint scripts
[Task] React Setup #58, eslint react setup
[TASK] React Setup #58 integrate webpack in build and dev npm scripts
[Temp] Test csp
[FIX] Add views to be deployed to prod
[Task] disable csp for local development
[Task] React Setup #58 base css including colors, deleted color classes in favor of variables
[Task] React Setup #58 typescript setup for react
[Task] React Setup #58 webpack setup for react and typescript
[Task] React Setup #58 app setup react
[Temp] React Setup #58 conctact module css
[Task] React Setup #58 remove learning files
[Task] Design #61, create font
Revert "[Task] React Setup #58 remove learning files"
This reverts commit b63bb97.
[Task] Design #61, adjust for darkmode
[Task] Design #61 apply base style to login
[Task] React Setup #58, dev tesing rule to disable
[Task] React Setup #58, adjust styles for headline
[Task] React Setup #58, create Contacts wrapper Component
[Task] React Setup #58 apply wrapper component
[Task] React Setup #58 adjust contact component to expect object
[Task] React Setup #58, toggle state
[Task] React Setup #58 learn context api provider and consumer
[Task] React Setup #58 add delete via dispatch
[Task] React Setup #58, react-router, move contacts to new url
[Task] React Setup #58 fetch more contacts
fix: package.json & package-lock.json to reduce vulnerabilities ([Snyk] Security upgrade ejs from 3.1.9 to 3.1.10 #62)
The following vulnerabilities are fixed with an upgrade:
Bumps tar to 6.2.1 and updates ancestor dependency npm. These dependencies need to be updated together.
Updates
tar
from 6.2.0 to 6.2.1Updates
npm
from 10.5.0 to 10.5.2updated-dependencies:
Bumps ejs from 3.1.9 to 3.1.10.
updated-dependencies:
[Task] React Setup #58, webpack configuriation to allow regular css files as well as modules
[Task] React Setup #58, clean up react learn files
[Task] React Setup #58, setup react router
[Task] Design #61 install Material UI
[Task] Design #61, test mui
[CHANGE, MultiLine] Design #61 color variables levels removed, MUI Overwrites introduced
color variables levels are replaced by color-mix.
MUI Experimental API with Variables is used and to overwrite theme colors in css (since I want CSS to be single source of truth for colors)
[Temp] Design #61 introduce darkmode to MUI
[Task] Design #61, create new start module so that App can act as root
[Task] Design #61, naming update
[Task] Design #61, move router to root App
[Task] Design #61, add font to preload
[Task] Design #61, dim colors in dark mode
[Task] Design #61, introduce modeswitcher
[Change] Login Page #64, refactoring splitting pages and components
[Task] Design #61, mobile Theme Swticher placed on top right
[Task] Design #61, mobile theme switcher icon only on mobile
[Task] Design #61, button color and background improvement
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, login page first draft
[Temp] Design #61, login controller commented out unused route, TO BE REFACTORED
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, login validation
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, add error icon
[Task] Design #61, cut design update
[Task] 50 integrate csrf protection for login form #53, apply cut, rename FormData to FormInfo to avoid confusion with reserved name
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, send login request
[Task] Design #61, loading icon
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, get csrfToken, fullfill login request
[Fix] Bump ejs from 3.1.9 to 3.1.10 #63, fail gracefully when too many tokens
[Task] Bump ejs from 3.1.9 to 3.1.10 #63, error Handling in login form
[Task] [Snyk] Upgrade express-validator from 7.0.1 to 7.1.0 #81, remove password log
[Task] [Snyk] Upgrade axios from 1.7.1 to 1.7.2 #80, cleanup todo token
fix: upgrade multiple dependencies with Snyk ([Snyk] Upgrade: react, react-dom #68)
Snyk has created this PR to upgrade:
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
[Fix] Login Page #64, disable express header
[Task] Login Page #64, protect csrf token page with custom http header
[FIx] Login Page #64, fix csrf test
[Task] Login Page #64, repair test cases
fix: upgrade express-slow-down from 2.0.1 to 2.0.2 ([Snyk] Upgrade express-slow-down from 2.0.1 to 2.0.2 #69)
Snyk has created this PR to upgrade express-slow-down from 2.0.1 to 2.0.2.
See this package in npm:
express-slow-down
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
[fix] Login Page #64, linter fixes
[Task] Editor Config
[Task] Design #61, convert background line to svg and animate
[Task] Design #61, main headline style
[Task] Design #61, fine tune background pattern
[Task] Design #61, font-weight reduced in darkmode
[Task] Login Page #64, login design improvements
[Task] Design #61, update design with minor ripples and edges
[Task] Login store JWT #70, store token after login
Bump braces from 3.0.2 to 3.0.3 (Bump braces from 3.0.2 to 3.0.3 #76)
Bumps braces from 3.0.2 to 3.0.3.
updated-dependencies:
Snyk has created this PR to upgrade @mui/icons-material from 5.15.16 to 5.15.18.
See this package in npm:
@mui/icons-material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade react-router-dom from 6.23.0 to 6.23.1.
See this package in npm:
react-router-dom
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade express-slow-down from 2.0.2 to 2.0.3.
See this package in npm:
express-slow-down
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade express-rate-limit from 7.2.0 to 7.3.0.
See this package in npm:
express-rate-limit
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade express-validator from 7.0.1 to 7.1.0.
See this package in npm:
express-validator
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade axios from 1.7.1 to 1.7.2.
See this package in npm:
axios
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade @mui/icons-material from 5.15.18 to 5.15.19.
See this package in npm:
@mui/icons-material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade @mui/icons-material from 5.15.19 to 5.15.20.
See this package in npm:
@mui/icons-material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade react-router-dom from 6.23.1 to 6.24.0.
See this package in npm:
react-router-dom
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
77 design base layout (77 design base layout #85)
[Task] Design base Layout #77 1st draft layout
[Change] Login store JWT #70 update token expire date
[Temp] Design base Layout #77, log out data on valid request, temp: error handling and display
[Temp]
[Task] Design base Layout #77, login Button functionality, default state
[Task] Design base Layout #77, removed outdated comments
[Task] Design base Layout #77, introduced linearBuffer Bar for login
[Task] Design base Layout #77, added modeSwticher to start page
[Task] Design base Layout #77, display last entry on map demo
[Task] Design base Layout #77, enhance login, show pastUser if availabe, show user on mainpage
[!!!Task] Design base Layout #77 first draft of functionality
[Task] Design base Layout #77 move map to new location
[Task] Design base Layout #77 create testData
[Fix] Design base Layout #77 codeFactor complains
[Task] Design base Layout #77, draft of status content
[FIX] Design base Layout #77 change data accumulation
[Task] Design base Layout #77 improve test example data
fix: upgrade @mui/material from 5.15.16 to 5.15.20 ([Snyk] Upgrade @mui/material from 5.15.16 to 5.15.20 #92)
Snyk has created this PR to upgrade @mui/material from 5.15.16 to 5.15.20.
See this package in npm:
@mui/material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Serverside: When writing entry, the most recent previous entry is checked wether to be ignored. Also if more than 2 items already exist meaning writing is preparing at least the 3rd entry, we recalculate distances and timing if previousItems are ignored.
Frontend:
In order to benefit and get the recent information that a previous item is being ignored, frontEnd askes for the current item again and merges it and following items.
Remember the most recent item can never be ignored due to policy. Maybe there is no further writing, so I want to have the latest datapoint.
[Task] Add ignore logic to ignore entries that are ignored #94, add logging if logical error with ignore
[Task] Add ignore logic to ignore entries that are ignored #94, cleanup console.logs
[Fix] Fix error message when server not available #93, offline message improvement ([Fix] #93, offline message improvement #96)
fix: package.json & package-lock.json to reduce vulnerabilities ([Snyk] Security upgrade axios from 1.7.2 to 1.7.4 #101)
The following vulnerabilities are fixed with an upgrade:
Snyk has created this PR to upgrade @mui/material from 5.15.20 to 5.16.5.
See this package in npm:
@mui/material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
93 fix error message when server not available (93 fix error message when server not available #103)
[Fix] Fix error message when server not available #93, offline message improvement
[Task] Fix error message when server not available #93, removed background in status module when no data is present
[Task] Design #61, add cut class to map for styling
[Fix] Fix error message when server not available #93 fix tests, be more specific on url, and let test fail non silently when csrf is not found
[Fix] Add ignore logic to ignore entries that are ignored #94, repair overwriting the last data point
fix: upgrade @emotion/react from 11.11.4 to 11.13.0 ([Snyk] Upgrade @emotion/react from 11.11.4 to 11.13.0 #104)
Snyk has created this PR to upgrade @emotion/react from 11.11.4 to 11.13.0.
See this package in npm:
@emotion/react
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade @emotion/styled from 11.11.5 to 11.13.0.
See this package in npm:
@emotion/styled
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade react-router-dom from 6.25.0 to 6.25.1.
See this package in npm:
react-router-dom
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade @mui/icons-material from 5.16.4 to 5.16.5.
See this package in npm:
@mui/icons-material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade express-rate-limit from 7.3.1 to 7.4.0.
See this package in npm:
express-rate-limit
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
109 marker and line design (109 marker and line design #110)
[Task] Marker and Line Design #109, start polyline
[Task] Add ignore logic to ignore entries that are ignored #94, marker
[Task] Marker and Line Design #109, gradient color polyline color based on speed
[Task] Marker and Line Design #109 linter fixes
fix: upgrade react-router-dom from 6.25.1 to 6.26.0 ([Snyk] Upgrade react-router-dom from 6.25.1 to 6.26.0 #113)
Snyk has created this PR to upgrade react-router-dom from 6.25.1 to 6.26.0.
See this package in npm:
react-router-dom
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade @mui/material from 5.16.5 to 5.16.6.
See this package in npm:
@mui/material
See this project in Snyk:
https://app.snyk.io/org/type-style/project/e2bcd002-cb74-409c-ba55-fb6349df1cbc?utm_source=github&utm_medium=referral&page=upgrade-pr
Switch polyline (Switch polyline #114)
[Revert] Marker and Line Design #109 remove polyColor Plugin
[Fix, MultiLine] Marker and Line Design #109, refactor coloring lines;
while fetchinng new data vs reloading
MaxSpeed might change the more entries are fetched. Example Testcase and after 6 entries are there, reload and see colors change ... well not with this fix.
[Task] Marker and Line Design #109, improve polyline display, remove unused code
[Task] Design base Layout #77, change timing to round up, so it "feels" more accurate
[Task] no Animation based on MQ #115, remove SVG Animation on startup based on media Query
[Task] Design base Layout #77 improve test example data
[Task] Design base Layout #77, calculate more Status data
[Task] Design base Layout #77, improve example test data
[Task] Marker and Line Design #109, line dashed when diff is high, marker start icon when diff is higher
[Task] Design base Layout #77, status design
[Task] MapLayers (TileProviders) #83, forced scheme for map
[Task] MapLayers (TileProviders) #83, change context, mode globally available
[Task] MapLayers (TileProviders) #83, react update, cluster install
[Task, multiline] MapLayers (TileProviders) #83, map tilelayer
Introduced new map TileLayers using layers control, and styled it Introduced markerClusterGroup from @changey, since others had issues like broken marker images, or lack for typescript support Refined dashed array styles
Addapted context changes, to fetch mode globally, for seperate map theme Markers have none style if neither end or start, to be targeted Introduced Layer array for tilelayers
When Layers are changed theme for map is set/updated
[Task] Design base Layout #77 improve responsive design, hide images, status overlays map
[Task] Design base Layout #77, adjust coloring and opacity, used for status
[Task] MapLayers (TileProviders) #83, adjust imports
[Task] Design base Layout #77, changed responsive design for mobile
[Task] MapLayers (TileProviders) #83, extracted to own module, added fly option
[Task] MapLayers (TileProviders) #83, layers extracted, clickable minimap, corrected for mapbox tileSize
Bump webpack from 5.91.0 to 5.94.0 (Bump webpack from 5.91.0 to 5.94.0 #117)
Bumps webpack from 5.91.0 to 5.94.0.
updated-dependencies:
[Task] MapLayers (TileProviders) #83, code cleanup
[Fix] MapLayers (TileProviders) #83, mime type setting
[fix] deploy #123, run pre and post build for production too
Release 1_4 (Release 1_4 #127)
[Task] connect repro to production #6 provide fallback index.html
[Task] connect repro to production #6 production ready code (m)
move httpdocs folder to dist
have compile without sourcemaps for faster speed
[Task] connect repro to production #6 create github action for upload when main is updated ([Task] #6 create github action for upload when main is updated #21)
[change] connect repro to production #6 new ftp upload action
[Fix] connect repro to production #6 replace host with server in ftp action
[Task] connect repro to production #6 basic log (6 basic log #26)
[CHANGE] connect repro to production #6 revert back to require output for production
[Task] connect repro to production #6 add ability to manually upload to prod
[Task] Get into automation / workflow #9 enable manual start of codechecks
10 webhook for writing (10 webhook for writing #36)
[Change] Node and TypeScript Setup locally #3 clean up npm scripts, to have clean folder before build
[Task] Webhook for writing #10 created data types in typescript
[Temp] Webhook for writing #10 created subroute for writing, and folder structure
[Change] Node and TypeScript Setup locally #3 include to use relative paths from src folder in ts and node
https://stackoverflow.com/questions/43281741/how-can-i-use-paths-in-tsconfig-json See comment from Remo H. Hansen with at least 100 upvoted
[Change] Update VSCode to keep files open
[Task] Security #18 setup dotenv for secret variables
[Temp, Task] Webhook for writing #10 Validate inputs using express-validator and custom functions
[Task] Security #18 prevent parameter pollution
[Task] Webhook for writing #10 validating incoming parameter and logging errors
[Task] Get started with Express #7 add basic cache to express
[Changes] Get started with Express #7 Error Handling, to include basic custom Error Handling
[Task] Webhook for writing #10 enhanced validation to only allow known parameters
[Change] Basic Unit Testing #35 added Jest, tests for helper functions when writing
[Task] Webhook for writing #10 better error Handling
[Task] Basic Unit Testing #35 add tests for writing webhook validation
[TASK] Security #18 protect Webhook using KEY
[Fix] Basic Unit Testing #35 test know import path structure now
[Task] Basic Unit Testing #35 add test for protected webhook
[Task] Basic Unit Testing #35 refactor build to run jest tests
[Task] Webhook for writing #10 switched to crypto instead of bcrypt for dependency issue
see synk inflight
[Fix] 10 webhook for writing #36 PRQ Feedback
[Task] Node and TypeScript Setup locally #3 improve error handling, logger and added chalk
to colorize console output.
Had to use chalk version 4 because of typescript converting to require, and chalk5 do want import syntax.
[Change] Node and TypeScript Setup locally #3 nodemon to clear console when in dev mode
[!Task] Enhance Writing Data #32 webhook creates folder and file based on date
[Change] Basic Unit Testing #35 relocated tests and refactor write, also added file check
[Task] Security #18, installed helmet, configured self as CSP origin
[Fix] moved chalk out of dev dependency
[Task] Enhance Writing Data #32 error logging and text output improvement, log string instead of "object"
[Task] Security #18 CSP Update to allow localhost for testing
[Fix] Node and TypeScript Setup locally #3 debugging setup improvments
[FIX] Webhook for writing #10 Error Handling
[Task] Webhook for writing #10 writing basic non calculated data to file
[Fix] Webhook for writing #10 avoid Header Modification after sending the request
[Task] Webhook for writing #10 JSON Data pretty output
[Task] Enhance Writing Data #32 update types to reflect subobjects of entry
[Task] Webhook for writing #10 write time
[Task] Enhance Writing Data #32 added logging for time edgecases
[Task] Webhook for writing #10 output seconds
[Task] Webhook for writing #10 calculate distance based on lat and lon
[Task] Enhance Writing Data #32 writing tests for time and distance
[Task] Enhance Writing Data #32 change distance calculation to use pythagoras
[Task] add favicon #38 add favicon
[Task] Enhance Writing Data #32 time converted to seconds
[Taskk] Enhance Writing Data #32 speed calculation and output and tests
[Task] Enhance Writing Data #32 speed tests
[Task] add ignore #33 add ignore
[Task] Enhance Writing Data #32 test finetuning
[Task] Enhance Writing Data #32 add angle between entries
[Task] Enhance Writing Data #32 test for angle, extracted getData function
[change] Enhance Writing Data #32 test to include optional leading 0 for days
[!!!Task] Security #18 add uncaughtExeption handler as last resort
[Task] Get started with Express #7 enhance static options to include common filetypes; index file
start is used as index file to avoid collisions with host provider
[change] Enhance Writing Data #32 validation to be used more explictly
[change] Enhance Writing Data #32 add index to log while writing
[Task] Enhance Writing Data #32 test if 1000 calls can be made with randomized data
[!!! Task] Enhance Writing Data #32 limit JSON Data to be 1000 lines: replace last line with most recent entry
[Change, Task] Enhance Writing Data #32 if 1000 entries exceeded, only replace last if hdop is good
[Change] build action enable button to on manually
[temp] test y tests fail
Create node.js.yml
Create main.yml
[!!!Fix] Created new workflow to build / test node, commented tests back in.
Increased time between server calls in test, to check difference time more accurately
[Task] add ignore #33 moved ignore to its own file since it creates data rather than validating it
42 output json (42 output json #44)
[Task] output json #42, created route to output json
[Task] output json #42 added tests for read json
41 add rate limiter (41 add rate limiter #45)
[Task] Security #18, limit request size for security reasons
[Task] secure output route #43, introduce gzip to transfer data
[Task] Improve Node JS #34 improve error handling, log server shutdowns
[Task] Improve Node JS #34 installed and integrated tooBusy to send 503 when load is high
[Task] Improve Node JS #34 improved tooBusy, improved formatting
[Task, Temp] add rate limiter #41 installed ratelimiter and slowDown
[Task] output json #42 cleanup ipv6 addresses
[Change] Webhook for writing #10 error handling for better gitBash and txt output, also reduced stack in case of validation errors
[Task] add rate limiter #41 prepare Log for RateLImit errors
[Temp] add rate limiter #41 write route rateLImited
temp: see Todos
[Task] Improve Node JS #34 colorize prefix in console
[Task] output json #42 extract middlewares and move to folder
[Task] add rate limiter #41 ratelimiter cleaning up periodicly
[Task] add rate limiter #41 skip tests in rateLimiting
Bump follow-redirects from 1.15.5 to 1.15.6 (Bump follow-redirects from 1.15.5 to 1.15.6 #47)
Bumps follow-redirects from 1.15.5 to 1.15.6.
updated-dependencies:
43 secure output route (43 secure output route #46)
[Task] secure output route #43 create color pallette
via atmos
via atmos
[Task] secure output route #43 cleanup colors and svg
[Task] add rate limiter #41 remove test code
[CHANGE] Node and TypeScript Setup locally #3 reconfigured nodemon to copy static files
[Task] Security #18 replaced getRawBody with builtIn express urlEncoded
[Temp, Task] secure output route #43 basic login page, not yet used as middleware
[Temp] secure output route #43, create and validate json web token
[Task] secure output route #43, add slowDown and RateLimit for failed login attempts
[Task] secure output route #43, ratelimit for login page
[Task] secure output route #43, add global ratelimiter
[fix] Get started with Express #7, improve error handeling for express errors
[Task] secure output route #43 rework body limitations to be checked only appropiate methods
[Task] secure output route #43 added check for data before using it
[Task] secure output route #43 check that body is ignored for GET in request
[Task] secure output route #43 login test
[Task] secure output route #43 create tests for login
[Task] secure output route #43 fine tune error handling
[Task] secure output route #43, finished login and jwt related tests
[Change] Improve Node JS #34, no further need for test logging
[Task] secure output route #43, fine tune jwt, middleware process improved
[CHANGE] secure output route #43 created new esLint to have clientside js without ts
[Temp] secure output route #43 test to see new linter configuration
[Change] secure output route #43 switched to bcrypt for passwords
[Task] secure output route #43 read return json in all cases
[Task] secure output route #43 introduced color classes
[Task] secure output route #43, prq feedback
[Temp} secure output route #43 figuring out why tests d…