Commit Graph
100 Commits
Author SHA1 Message Date
Vesa Jolkkonen 1cf831eadb Allow instructors to see all students and their timelogs 2024-08-07 21:24:39 +03:00
Vesa Jolkkonen 498cad4ad2 Make Prettier fixes 2024-08-07 21:21:38 +03:00
Vesa Jolkkonen 82ea30a396 Update README.md 2024-08-07 21:19:53 +03:00
Vesa Jolkkonen 079f63382c Fix bug with sprint number validation 2024-05-13 20:13:37 +03:00
Vesa Jolkkonen 8df191336b Add info about changing dependencies in dev setup 2024-05-02 11:26:15 +03:00
Vesa Jolkkonen fd919782c3 Change cypress version to container setup 2024-05-02 11:25:01 +03:00
Vesa Jolkkonen 2e35389db7 Skip two flaky test 2024-05-02 11:25:01 +03:00
Vesa Jolkkonen 0429ab6975 Update Cypress to version 13.8.0 2024-05-02 11:25:00 +03:00
Vesa Jolkkonen ab511c369b Add missing React import 2024-05-02 10:39:41 +03:00
Vesa Jolkkonen 9ed7fb618f Add missing import and fix faulty intendations 2024-05-02 10:20:49 +03:00
Vesa Jolkkonen adc66e4ff6 Uncomment timelog delete button 2024-05-02 10:19:00 +03:00
Vesa Jolkkonen fbbc1c826b Delete unnecessary files 2024-05-02 09:59:05 +03:00
Vesa Jolkkonen 813e259ef4 Delete unnecessary script 2024-05-02 09:40:25 +03:00
Vesa Jolkkonen 278c4a4df5 Add instructions for changing user roles 2024-05-02 08:58:26 +03:00
Vesa Jolkkonen 82b5ec2581 Add all test user options to faceshibbo middleware 2024-05-02 08:45:52 +03:00
Vesa Jolkkonen 1f97c9ca35 Add SeederMeta config for sequelize CLI
This adds better support for seeders in staging environment.
2024-04-28 21:01:00 +03:00
Vesa Jolkkonen b061c6c398 Add info about adminer usage 2024-04-25 20:20:24 +03:00
Vesa Jolkkonen 328604b3a1 Add instructions for containerized dev environment 2024-04-25 20:04:59 +03:00
Vesa Jolkkonen 302b542ec6 Simplify test scripts 2024-04-25 20:04:32 +03:00
Vesa Jolkkonen 26b5690641 Switch to containerized dev environment 2024-04-25 15:36:10 +03:00
Vesa Jolkkonen 40ec83e570 Remove too strict timeout which causes test to fail 2024-04-25 15:34:55 +03:00
Vesa Jolkkonen a06cc3f166 Update react-markdown to v8.0.7 2024-04-22 14:59:56 +03:00
Vesa Jolkkonen b8ba93b6c8 Remove anonymized_v3.sql 2024-04-22 13:26:36 +03:00
Vesa Jolkkonen 11944737d5 Skip timeLogs test because of flakiness 2024-04-22 12:07:00 +03:00
Vesa Jolkkonen adc92ab898 Fix Cypress delete sprint command 2024-04-22 11:56:35 +03:00
Vesa JolkkonenandRegularmute bc5af0f95d Replace timeLogs tests with new setup
Bandaid solution to merge chart branch. Chart tests and test commands have been removed.

Co-authored-by: Regularmute <93884347+Regularmute@users.noreply.github.com>
2024-04-22 11:36:43 +03:00
Vesa JolkkonenandAntti Aarnio 495a1c26ce Fix package-lock.json to match current setup 2024-04-18 10:34:53 +03:00
Vesa JolkkonenandAntti Aarnio b47ffa9c1f Update frontend to use node 20 and Vite 2024-04-18 10:34:53 +03:00
Vesa JolkkonenandAntti Aarnio f4588ce775 Update eslintrc to correspond Vite configuration 2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio 21a2b9fe15 Remove PUBLIC_URL as it's not used in Vite 2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio c464ffe95b Modify index.html to work with Vite 2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio b7ab523fe4 Move index.html to folder root
index.html must locate on folder root when using Vite configuration
2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio df7c1961e4 Fix file extension as file contains JSX syntax 2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio db068a94b2 Fix eslint errors about useless catch 2024-04-18 10:32:11 +03:00
Vesa JolkkonenandAntti Aarnio c02def2557 Set correct extension for JSX files 2024-04-18 10:32:11 +03:00
Vesa Jolkkonen 300336411d Change file extension as file contains JSX syntax 2024-04-17 19:24:25 +03:00
Vesa Jolkkonen 6e71b4f05b Fix eslint error about useless try-catch 2024-04-17 19:23:11 +03:00
Vesa Jolkkonen e2600d054c Fix package-lock.json to match current setup 2024-04-16 11:52:01 +03:00
Vesa Jolkkonen 9498536750 Update frontend to use node 20 and Vite 2024-04-16 11:45:07 +03:00
Vesa Jolkkonen 0d4f54cf4d Update eslintrc to correspond Vite configuration 2024-04-16 11:31:34 +03:00
Vesa Jolkkonen 499158fd3c Remove PUBLIC_URL as it's not used in Vite 2024-04-15 18:06:42 +03:00
Vesa Jolkkonen 340969da31 Modify index.html to work with Vite 2024-04-15 18:05:01 +03:00
Vesa Jolkkonen a68a2def64 Move index.html to folder root
index.html must locate on folder root when using Vite configuration
2024-04-15 18:02:27 +03:00
Vesa Jolkkonen 69b21ee578 Fix file extension as file contains JSX syntax 2024-04-15 17:57:53 +03:00
Vesa Jolkkonen 52bb1f068c Fix eslint errors about useless catch 2024-04-15 17:56:48 +03:00
Vesa JolkkonenandAntti Aarnio 05fc93ebc9 Set correct header level 2024-04-15 17:27:55 +03:00
Vesa JolkkonenandAntti Aarnio 37f5c31172 Use relative links to documentation files
When using relative links, you can test link funktionality in VS code and on other branch.
2024-04-15 17:27:55 +03:00
Vesa JolkkonenandAntti Aarnio afc92e1d5c Add Definition of Done 2024-04-15 17:27:55 +03:00
Vesa JolkkonenandAntti Aarnio 0634ab08dc Set correct file extension for .jsx files 2024-04-15 17:27:55 +03:00
Vesa JolkkonenandAntti Aarnio fc2610cf6e Fix path to package.json files 2024-04-15 17:27:55 +03:00
Vesa JolkkonenandAntti Aarnio ed1b150c37 Read node versions required from package.json 2024-04-15 17:27:54 +03:00
Vesa JolkkonenandAntti Aarnio 2c007c7c72 Specify node version used in package.json 2024-04-15 17:27:54 +03:00
Vesa Jolkkonenandregularmute 10d5c09948 Set correct header level 2024-04-15 14:24:51 +03:00
Vesa Jolkkonenandregularmute 18c7099281 Use relative links to documentation files
When using relative links, you can test link funktionality in VS code and on other branch.
2024-04-15 14:24:51 +03:00
Vesa Jolkkonenandregularmute 75c2f1c4b1 Add Definition of Done 2024-04-15 14:24:50 +03:00
Vesa Jolkkonenandregularmute 51d481606a Set correct file extension for .jsx files 2024-04-15 14:24:48 +03:00
Vesa Jolkkonenandregularmute 0f55994bbd Fix path to package.json files 2024-04-15 14:24:47 +03:00
Vesa Jolkkonenandregularmute 83d2063fb1 Read node versions required from package.json 2024-04-15 14:24:46 +03:00
Vesa Jolkkonenandregularmute b07d64f769 Specify node version used in package.json 2024-04-15 14:24:46 +03:00
Vesa Jolkkonen 1c7d88bcde Set correct extension for JSX files 2024-04-15 13:21:48 +03:00
Vesa Jolkkonen 560e94935f Set correct header level 2024-04-15 11:04:04 +03:00
Vesa Jolkkonen 063489c32a Use relative links to documentation files
When using relative links, you can test link funktionality in VS code and on other branch.
2024-04-15 10:54:58 +03:00
Vesa Jolkkonen 8c5be031ad Add Definition of Done 2024-04-15 10:53:57 +03:00
Vesa JolkkonenandJoonas Somero 229dbe429a Set correct file extension for .jsx files 2024-04-15 09:29:15 +03:00
Vesa JolkkonenandJoonas Somero 4751e76b59 Fix path to package.json files 2024-04-15 09:24:56 +03:00
Vesa JolkkonenandJoonas Somero 8fb77ebce4 Read node versions required from package.json 2024-04-15 09:24:56 +03:00
Vesa JolkkonenandJoonas Somero 2c963f8701 Specify node version used in package.json 2024-04-15 09:24:56 +03:00
Vesa JolkkonenandAntti Aarnio 8a957bd10f Fix production workflow name 2024-04-05 17:04:45 +03:00
Vesa Jolkkonen 588ed3a75e Fix production workflow name 2024-03-26 11:20:32 +02:00
Vesa Jolkkonen 61ab8745e6 Add workflow for production deployment 2024-03-25 14:20:21 +02:00
Vesa Jolkkonen 030834b03f Fix CI badge to point right workflow file 2024-03-18 11:47:43 +02:00
Vesa Jolkkonen d587397a79 Add secret inheritance for test action 2024-03-17 16:25:05 +02:00
Vesa Jolkkonen 2311e42908 Run eslint and cypress parallel 2024-03-15 16:55:49 +02:00
Vesa Jolkkonen 8bd328a4e8 Reverse eslint version back to 5.12.0 2024-03-15 16:40:57 +02:00
Vesa Jolkkonen 3f9f022a71 merge new changes from main 2024-03-15 16:35:51 +02:00
Vesa Jolkkonen 4f3d54d755 Retry to update package-lock.json 2024-03-15 13:39:42 +02:00
Vesa Jolkkonen b56e01c07c Update package-lock.json 2024-03-15 13:36:25 +02:00
Vesa Jolkkonen 99a1b58c03 Reverse changes and use npm ci --production 2024-03-15 13:32:23 +02:00
Vesa Jolkkonen 761f8ef4cd Use npm ci to install dependencies 2024-03-15 13:14:28 +02:00
Vesa Jolkkonen bb11a7c25f Merge to main 2024-03-15 13:00:58 +02:00
Vesa Jolkkonen 4b9535439c Define licence on project root 2024-03-15 12:58:46 +02:00
Vesa JolkkonenandAntti Aarnio 9d47e8d8bc Update outdated test user headers 2024-03-12 14:20:32 +02:00
Vesa JolkkonenandAntti Aarnio b91a3e65cd Add cypress@3.8.3 to devDependencies and make a script for running tests 2024-03-12 14:20:32 +02:00
Vesa JolkkonenandAntti Aarnio 47e5f7e533 Always use DATABASE_URL env for sequelize connection 2024-03-12 14:20:31 +02:00
Vesa JolkkonenandAntti Aarnio d5f710c600 Add npm script for starting backend server for testing 2024-03-12 14:20:30 +02:00
Vesa Jolkkonen 8efbcaf279 Remove e2e ignorePattern as it produces error 2024-03-12 11:14:01 +02:00
Vesa Jolkkonen 816d5eef45 Define licence on project root 2024-03-12 11:10:04 +02:00
Vesa Jolkkonen 0e6d0a9eb2 Use node 12 in GitHub Actions 2024-03-09 18:23:41 +02:00
Vesa Jolkkonen f0d31495fb Merge branch 'main' into redfox-workflow_rewrite 2024-03-09 17:51:50 +02:00
Vesa Jolkkonen a252a16506 Simplify Sequelize setup 2024-03-09 17:50:15 +02:00
Vesa Jolkkonen 554c9a06d5 Improve database connection security 2024-03-09 12:55:51 +02:00
Vesa Jolkkonen ed70e1c2fc Eliminate deprecation warning about postgres ssl 2024-03-09 12:34:48 +02:00
Vesa Jolkkonen 42f35ca63e Fix config file for Sequelize CLI 2024-03-09 11:19:23 +02:00
Vesa Jolkkonen dfd0406bc2 Add correct tags to images for OpenShift staging 2024-03-09 11:17:35 +02:00
Vesa Jolkkonen ad9518bf21 Add ssl parameter for Sequelize CLI 2024-03-08 16:32:24 +02:00
Vesa Jolkkonen 25571cc0c5 Merge branch 'main' into redfox-workflow_rewrite 2024-03-08 16:16:59 +02:00
Vesa Jolkkonen 6cace947e2 Remove skips used for setting up GitHub Actions 2024-03-08 16:15:22 +02:00
Vesa Jolkkonen 8b7fb40def Delete outdated GitHub Actions workflow file 2024-03-08 16:09:37 +02:00
Vesa Jolkkonen 2c5933158b Use npm install instead of ci 2024-03-08 16:00:42 +02:00
Vesa Jolkkonen d524800239 Remove browser matrix from GitHub Actions 2024-03-08 15:58:22 +02:00