 Aaro KoivukangasandAaro Koivukangas
|
5d48b0d377
|
updated npm version to fix hanging npm ci
|
2024-11-22 13:43:10 +01:00 |
|
 Aaro KoivukangasandEero Antikainen
|
abea3696b6
|
continued work on getting prisma query generation to work. Did not succeed
|
2024-11-20 18:37:37 +02:00 |
|
 Aaro KoivukangasandEero Antikainen
|
00148575a3
|
removed unnecessary level from returned json
|
2024-11-20 18:37:37 +02:00 |
|
 Aaro KoivukangasandEero Antikainen
|
e127e28161
|
automatic style fixes
|
2024-11-20 18:37:37 +02:00 |
|
 Aaro KoivukangasandEero Antikainen
|
8a8c8456c6
|
continued work on raw sql query
|
2024-11-20 18:37:37 +02:00 |
|
 Aaro KoivukangasandEero Antikainen
|
f221606d1e
|
implemented {filter,sorting,page}url casting to {filter,sorting,page}
|
2024-11-20 18:37:37 +02:00 |
|
 Aaro KoivukangasandEero Antikainen
|
243b3cc538
|
implemented obj->crossSearch url conversion and tests for it
|
2024-11-20 18:37:37 +02:00 |
|
 Aaro KoivukangasandEero Antikainen
|
9f8beda614
|
refactored scripts to make room for backend unit tests
|
2024-11-20 18:37:37 +02:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
09d8106210
|
refactored config:all to be able to insert geonames username to env files through env variable.
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
1eb3a955f9
|
typo fix
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
dc2a3cb50f
|
added geonames username env var to the correct job in gh actions
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
18232f27c4
|
removed quotes from .test.env
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
9e617f62a0
|
typo fix
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
d80e82e94b
|
refactored gh actions to utilize .env creation scripts
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
cbcfdcae51
|
implemented new npm scripts to create env files from .template.env
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
8d94cde974
|
lint fixes
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
dbb057cd42
|
yet another fix to .test.env format
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
9d309a93a1
|
fixed database url
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
ff99efcb31
|
new typofix
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
51e5d2a3b1
|
typo fix
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
ec1e5c2f86
|
added also .anon.dev to api-tests
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
fe7d389c13
|
lint fixes
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
cdb9ec9f63
|
anon requires .test.env not .anon.env
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
4874bd95b0
|
added new route geonames-api and tests for it
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
ad0111d740
|
added env copying to gh actions
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
eaed808b6d
|
added .anon.env to .gitignore and added GEONAMES_USERNAME to .template.env
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
e7f313adee
|
added geoname-api key to env + config
|
2024-11-20 14:33:33 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
01a432d060
|
added phpmyadmin to docker compose of dev environments
|
2024-11-19 09:24:24 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
0681945feb
|
typo fix
|
2024-11-18 10:36:26 +01:00 |
|
Aaro Koivukangas
|
3d50d8c243
|
added geonames_username env var to docker, frontend needs env build-time
|
2024-11-18 10:23:20 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
12e0ade4cb
|
removed unnecessary comment
|
2024-11-17 18:11:28 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
c9c3b8d17e
|
updated node to v22 in docker to remove an eslint error EBADENGINE
|
2024-11-17 18:11:28 +01:00 |
|
Aaro Koivukangas
|
871f7d4554
|
continued work on getting prisma query generation to work. Did not succeed
|
2024-11-17 10:02:03 +01:00 |
|
Aaro Koivukangas
|
014526f466
|
removed unnecessary level from returned json
|
2024-11-16 11:50:46 +01:00 |
|
Aaro Koivukangas
|
59e6a25b71
|
automatic style fixes
|
2024-11-16 11:29:35 +01:00 |
|
Aaro Koivukangas
|
bce15e5cf5
|
continued work on raw sql query
|
2024-11-15 13:25:27 +01:00 |
|
Aaro Koivukangas
|
8d2a44a264
|
implemented {filter,sorting,page}url casting to {filter,sorting,page}
|
2024-11-15 11:11:47 +01:00 |
|
Aaro Koivukangas
|
48d1f54754
|
implemented obj->crossSearch url conversion and tests for it
|
2024-11-15 09:19:37 +01:00 |
|
Aaro Koivukangas
|
4596a30e7d
|
refactored scripts to make room for backend unit tests
|
2024-11-15 09:19:37 +01:00 |
|
 Aaro KoivukangasandSampo
|
9ee9bde43f
|
updated prisma and @prisma/client to 5.22 to get a feature TypedSQL
|
2024-11-15 00:10:11 +02:00 |
|
Aaro Koivukangas
|
b39a3af932
|
lint fix
|
2024-11-14 08:32:22 +01:00 |
|
 Aaro KoivukangasandSampo
|
3071297f8c
|
reference year filter is now inclusive of the limits
|
2024-11-06 15:06:52 +02:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
4ff9d6440c
|
lint fixes for also backend...
|
2024-11-02 13:42:11 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
383b286890
|
lint fixes
|
2024-11-02 13:42:11 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
953d5595b2
|
implemented 'version' system for frontend, shows when frontend was started
|
2024-11-02 13:42:11 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
87c0821a94
|
implemented 'version' system for backend, shows time when backend was started
|
2024-11-02 13:42:11 +01:00 |
|
 Aaro KoivukangasandSampo
|
8603b749bb
|
grammar fixes
|
2024-10-30 19:29:05 +02:00 |
|
 Aaro KoivukangasandSampo
|
4ef404ce0f
|
lint fixes
|
2024-10-30 19:29:05 +02:00 |
|
 Aaro KoivukangasandSampo
|
778f462065
|
implemented few tests for user route + added few todo tests
|
2024-10-30 19:29:05 +02:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
ed9c831aae
|
fixed a bug that prevented deletion of species with no updates
|
2024-10-30 16:05:22 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
c151ec4765
|
removed uneccessary line that crashes the backend on certain requests
|
2024-10-30 16:05:22 +01:00 |
|
Aaro Koivukangas
|
effd8787e2
|
add curl so healthchecks go through
|
2024-10-30 15:42:22 +01:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
07dee1df22
|
changed anon to be hot-reload
|
2024-10-30 15:34:06 +01:00 |
|
Aaro Koivukangas
|
d091c6ce0f
|
fix new timeUnit api test to actually do what it was meant to do
|
2024-10-30 14:25:51 +01:00 |
|
Aaro Koivukangas
|
ae64934411
|
lint fixes
|
2024-10-30 14:17:07 +01:00 |
|
Aaro Koivukangas
|
0b7e34b482
|
fixed logUpdatesAndComplete to commit and end writeHandler every time
|
2024-10-30 14:15:02 +01:00 |
|
Aaro Koivukangas
|
f96c884455
|
fixed database reset to the correct place in timeunit e2e tests
|
2024-10-30 14:15:02 +01:00 |
|
Aaro Koivukangas
|
4dac9aa539
|
added few debugging options for test/reset-test-database
|
2024-10-30 14:15:02 +01:00 |
|
Aaro Koivukangas
|
1d11855e2c
|
implemented new api-test for timeUnit and fixed beforeEach timeUnit creation
|
2024-10-30 14:15:02 +01:00 |
|
 Aaro KoivukangasandSampo
|
b55ab49cea
|
lint fixes
|
2024-10-29 22:05:35 +02:00 |
|
 Aaro KoivukangasandSampo
|
abcfc17275
|
when updating a locality, re-entry of an existing species in now_ls doesn't cause a crash
|
2024-10-29 22:05:35 +02:00 |
|
 Aaro Koivukangasandjuhanikat
|
b44313d073
|
removed an open handle in jest api-tests
|
2024-10-29 14:42:19 +02:00 |
|
 Aaro KoivukangasandEero Antikainen
|
05cdb1a275
|
lint fixes
|
2024-10-25 14:36:04 +03:00 |
|
 Aaro KoivukangasandEero Antikainen
|
c60e2b6d3d
|
implemented tests for species regarding user permissions
|
2024-10-25 14:36:04 +03:00 |
|
 Aaro KoivukangasandEero Antikainen
|
7d7ef38088
|
implemented logout and the ability to change login username+password
|
2024-10-25 14:36:04 +03:00 |
|
Aaro Koivukangas
|
7324566a70
|
changed gh actions e2e implementation
|
2024-10-24 13:08:47 +02:00 |
|
Aaro Koivukangas
|
d941b3916f
|
removed -it flag from docker from api-tests also
|
2024-10-24 12:26:54 +02:00 |
|
Aaro Koivukangas
|
cf7ec09a69
|
removed -it flag for docker from e2e tests
|
2024-10-24 11:54:20 +02:00 |
|
Aaro Koivukangas
|
3e74963218
|
updated docs to match this new case
|
2024-10-24 11:54:20 +02:00 |
|
Aaro Koivukangas
|
7db9665442
|
.test.env is required by gh actions to run
|
2024-10-24 11:54:20 +02:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
8c9437ee4d
|
refactored gh actions to match the new test-format
|
2024-10-24 12:13:20 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
adbace59e9
|
added documentation for test changes
|
2024-10-24 12:13:20 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
895f5b9ec7
|
refactored tests to use single docker containers and not docker-compose.test.yml
|
2024-10-24 12:13:20 +03:00 |
|
 Aaro KoivukangasandAaro 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 KoivukangasandAaro Koivukangas
|
cd810aa58c
|
changed jest to explicitly use text and lcov reporters for coverage
|
2024-10-24 12:13:20 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
3970f8ae1c
|
changed how .env files are ignored
|
2024-10-24 12:13:20 +03:00 |
|
 Aaro KoivukangasandSampo
|
6882b78fe8
|
typo fix
|
2024-10-22 19:34:27 +03:00 |
|
 Aaro KoivukangasandSampo
|
80d378df32
|
lint fixes, ignored jest.config.ts from linting
|
2024-10-22 19:34:27 +03:00 |
|
 Aaro KoivukangasandSampo
|
2b5d0c77be
|
installing the correct node_modules
|
2024-10-22 19:34:27 +03:00 |
|
 Aaro KoivukangasandSampo
|
b67a3eb84c
|
gh actions now install node_modules
|
2024-10-22 19:34:27 +03:00 |
|
 Aaro KoivukangasandSampo
|
eb0add219a
|
added gh actions for unit-tests
|
2024-10-22 19:34:27 +03:00 |
|
 Aaro KoivukangasandSampo
|
0f33ee2cf2
|
added initial support for frontend unit-tests
|
2024-10-22 19:34:27 +03:00 |
|
Aaro Koivukangas
|
2f7f0d4e98
|
removed path-ignore from github actions, pr won't be mergeable
|
2024-10-06 16:21:26 +02:00 |
|
Aaro Koivukangas
|
3f39f2a23c
|
build github action now builds the correct Docker multistage target
|
2024-10-06 16:18:33 +02:00 |
|
 Aaro Koivukangasandkaarleol
|
592f43244e
|
skipped broken tests that may need to be reimplemented entirely
|
2024-10-02 15:09:30 +03:00 |
|
 Aaro Koivukangasandkaarleol
|
6c823e424d
|
installed root node_modules for cypress coverage task
|
2024-10-02 15:09:30 +03:00 |
|
 Aaro Koivukangasandkaarleol
|
878b5ee033
|
added coverage reporting for frontend
|
2024-10-02 15:09:30 +03:00 |
|
 Aaro Koivukangasandkaarleol
|
736f2bb066
|
changed test docker compose to use dev.Dockerfile for frontend
|
2024-10-02 15:09:30 +03:00 |
|
 Aaro Koivukangasandkaarleol
|
9d86602c5f
|
added coverage directory so api-tests don't get perm. error on coverage creation
|
2024-10-02 15:09:30 +03:00 |
|
 Aaro Koivukangasandkaarleol
|
f419e49f97
|
refactored tests to utilize supertest
|
2024-10-02 15:09:30 +03:00 |
|
 Aaro Koivukangasandkaarleol
|
0ac3007203
|
fixed error with typescript and declare
|
2024-10-02 15:09:30 +03:00 |
|
 Aaro Koivukangasandkaarleol
|
7b45039818
|
added default env 'prod'
|
2024-10-02 15:09:30 +03:00 |
|
 Aaro Koivukangasandkaarleol
|
734f3b818c
|
made preparations for coverage
|
2024-10-02 15:09:30 +03:00 |
|
Aaro Koivukangas
|
bf7a55a6ea
|
changed anon to utilize dev frontend
|
2024-10-01 09:43:43 +02:00 |
|
Aaro Koivukangas
|
d5c4baa76f
|
removing unnecessary scripts
|
2024-09-30 10:33:24 +02:00 |
|
Aaro Koivukangas
|
bbd10e16dd
|
improved documentation and renamed many scripts to better match current situation
|
2024-09-30 10:33:24 +02:00 |
|
Aaro Koivukangas
|
8e6ea3c23a
|
removed unnecessary script
|
2024-09-30 10:33:24 +02:00 |
|
Aaro Koivukangas
|
edce96e958
|
added files to gitignore
|
2024-09-30 10:33:24 +02:00 |
|
 Aaro KoivukangasandEero Antikainen
|
165900e905
|
skipped broken tests that may need to be reimplemented entirely
|
2024-09-30 11:15:19 +03:00 |
|
 Aaro KoivukangasandEero Antikainen
|
c872acfac0
|
installed root node_modules for cypress coverage task
|
2024-09-30 11:15:19 +03:00 |
|