juhanikat and GitHub
5c065508b4
update project update process in frontend and backend, and add project validators ( #1230 )
...
* update project update prosess in frontend, and add project validators
* change project update process in backend
* update project backend files, projectReducer, project validators and tests
* update project api tests, and error handling in ProjectDetails
* update frontend project creation form
* remove ProjectEditPage tests and fix ProjectNewPage tests
* update project api tests, project write process, and project validators
* remove unneeded files relating to projects, and merge project/ and projects/ route files
* remove project validators from backend, and update other project files
* allow all users to view projects table
* fix import issue
* update project api tests to use correct url, and add --runInBand flag to backend unit tests
* update cypress test
2026-08-19 11:21:36 +03:00
juhanikat and GitHub
dd4d1fed2f
remove cache flags from lint commands ( #1236 )
2026-08-17 12:25:22 +03:00
Kari Lintulaakso
143fcce2ae
Add express-validator list middleware
2026-05-21 16:02:24 +03:00
karilint
00a28a26d7
Admin-only DwC-A export for species
2026-04-23 12:42:52 +03:00
karilint
8c1f809a19
Optimize linting performance for faster development workflow
...
Performance Improvements:
- Add ESLint --cache flags to all lint commands (frontend, backend, cypress)
- Frontend linting: 80s -> 2.5s on subsequent runs (97% improvement)
- Backend and Cypress linting also benefit from caching
Configuration Changes:
- Update frontend/package.json: Add --cache flag to lint script
- Update backend/package.json: Add --cache flag to lint script
- Update package.json: Add --cache flag to lint:cypress script
- Add lint:staged script preparation (npx lint-staged)
- Update pre-commit hook to use optimized lint:staged approach
- Add lint-staged configuration for changed-files-only linting
Resolves: Slow pre-commit hooks that caused development delays
Impact: Dramatic reduction in linting time, especially on repeated runs
2026-03-30 18:11:33 +03:00
Kari Lintulaakso
287761cf23
Update ESLint configuration and dependency versions
2025-11-24 13:01:36 +02:00
lkauria and GitHub
0b154be8a8
Revert "Locality details displayed in sidebar"
2025-06-06 13:46:29 +03:00
Elias Junno
446a2f4474
Merge remote-tracking branch 'origin/main' into locality-details-displayed-in-sidebar
2025-06-03 12:18:04 +03:00
juhanikat
dcbeb85d53
add testing route for cross search export
2025-05-27 16:19:51 +03:00
Elias Junno
c3d7864f6e
Merge remote-tracking branch 'origin/main' into locality-details-displayed-in-sidebar
2025-05-27 12:26:00 +03:00
juhanikat
353b2f13f5
add express-rate-limit for email rate limiting, also modify the contact form notification
2025-02-21 14:48:31 +02:00
Aaro Koivukangas and Aaro Koivukangas
2325b26d8f
added lots of technical documentation about devops. Renamed few commands
2024-12-09 17:58:09 +01:00
Aaro Koivukangas and Eero Antikainen
9f8beda614
refactored scripts to make room for backend unit tests
2024-11-20 18:37:37 +02:00
Aaro Koivukangas and Sampo
9ee9bde43f
updated prisma and @prisma/client to 5.22 to get a feature TypedSQL
2024-11-15 00:10:11 +02:00
Sampo Riitala
3729b79c30
update backend eslint
2024-10-30 23:35:40 +02:00
Aaro Koivukangas and Aaro Koivukangas
58661e11a3
changed docker tests to not display all logs from backend and added test:local
2024-10-24 12:13:20 +03:00
Aaro Koivukangas
8e6ea3c23a
removed unnecessary script
2024-09-30 10:33:24 +02:00
Aaro Koivukangas and Aaro Koivukangas
eb40d3bb7a
refactored tests to utilize supertest
2024-09-27 22:06:33 +03:00
Aaro Koivukangas and Aaro Koivukangas
e4d611ef8e
made preparations for coverage
2024-09-27 22:06:33 +03:00
Aaro Koivukangas
15975840e7
reformatted api-tests to utilize resetDatabase
2024-09-25 22:41:02 +02:00
Aaro Koivukangas and Aaro Koivukangas
14186426b4
fixed jest error
2024-09-22 23:23:21 +03:00
Aaro Koivukangas and Aaro Koivukangas
b4059be513
backend bugfixes, prisma missisng library
2024-09-22 23:23:21 +03:00
Aaro Koivukangas and Aaro Koivukangas
a101c3e063
disabled jest testing build files
2024-09-22 23:23:21 +03:00
Aaro Koivukangas and Aaro Koivukangas
073c4672ac
added script to clean the whole project
2024-09-19 13:10:33 +03:00
Aaro Koivukangas and Aaro Koivukangas
e7d90a2768
changed @jest/globals to be a normal dependency so it is available when building
2024-09-12 14:14:35 +03:00
Aaro Koivukangas
bf0e7d1576
installed jest types for typescript
2024-09-12 12:51:54 +02:00
Aaro Koivukangas and Aaro Koivukangas
f914a13891
changed npm test to execute only api-tests
2024-09-12 13:36:26 +03:00
Aaro Koivukangas and Aaro Koivukangas
7100b48ae9
all tests now execute
2024-09-12 13:36:26 +03:00
Aaro Koivukangas and Aaro Koivukangas
227d4fb0ec
migrated api species tests to jest
2024-09-12 13:36:26 +03:00
Aaro Koivukangas and Aaro Koivukangas
1b1be1ca51
migrated api locality tests to jest
2024-09-12 13:36:26 +03:00
ShootingStar91
cf59d7cd4c
Refactor tests & add create & delete tests for species
2024-09-01 11:56:32 +03:00
ShootingStar91
957d5d6a76
Refactor tests to separate files & make log row checking reusable
2024-08-29 22:42:15 +03:00
ShootingStar91
6a8c176c39
Add script for resetting both anon dbs
2024-08-28 22:28:52 +03:00
arttu
979c112791
Add email sending feature
2024-08-05 17:12:15 +03:00
ShootingStar91
47555ec604
Add md5-package
2024-07-18 11:53:32 +03:00
ShootingStar91
127afb8103
Remove unused npm packages
2024-07-14 21:39:27 +03:00
ShootingStar91
5e7477acc1
Add a few setup scripts; try to fix build version with log db
2024-06-11 15:35:15 +03:00
ShootingStar91
eb6a22f413
Add backend code for editing locality
2024-05-21 11:00:52 +03:00
arttu and Arttu Kangas
7197629a18
add import resolver to backend
2024-05-16 08:33:14 +03:00
arttu and Arttu Kangas
dbdcb4e515
Debug workflow
2024-05-16 08:33:14 +03:00
arttu and Arttu Kangas
b2a8f0f663
Remove eslint stuff from root package.json
2024-05-16 08:33:14 +03:00
arttu and Arttu Kangas
7e6f6d8e4c
Add missing eslint prettier plugin
2024-05-16 08:33:14 +03:00
arttu and Arttu Kangas
b3e9332482
Install eslint to backend
2024-05-16 08:33:14 +03:00
arttu
121462059a
Remove license fields from package.jsons
2024-05-15 15:12:59 +03:00
arttu
54619a08a5
Add lint script to backend
2024-05-15 15:11:59 +03:00
arttu
dbdeaf6e8f
Fix eslint for frontend, fix errors shown by it, and types
2024-05-15 14:59:19 +03:00
ShootingStar91
7c5c61ca6e
Migrate to prisma
2024-05-02 22:11:20 +03:00
arttu and Arttu Kangas
77bc15b04a
Re-add typescript and types to full dependencies due to build stage needs
2024-04-30 14:38:31 +03:00
arttu
e45b8e9892
Remove unused dependencies / change to dev
2024-04-30 14:16:30 +03:00
arttu
2c41fca2ab
Make static build version work, also use volume for db better
2024-04-26 14:57:46 +03:00