 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 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 |
|
 Aaro KoivukangasandEero Antikainen
|
248f2c1187
|
added coverage reporting for frontend
|
2024-09-30 11:15:19 +03:00 |
|
 Aaro KoivukangasandEero Antikainen
|
951957d493
|
changed test docker compose to use dev.Dockerfile for frontend
|
2024-09-30 11:15:19 +03:00 |
|
Aaro Koivukangas
|
8f371c91c0
|
added coverage directory so api-tests don't get perm. error on coverage creation
|
2024-09-28 11:18:54 +02:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
eb40d3bb7a
|
refactored tests to utilize supertest
|
2024-09-27 22:06:33 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
3ac01f913f
|
fixed error with typescript and declare
|
2024-09-27 22:06:33 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
b258b9f797
|
added default env 'prod'
|
2024-09-27 22:06:33 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
e4d611ef8e
|
made preparations for coverage
|
2024-09-27 22:06:33 +03:00 |
|
 Aaro Koivukangasandkaarleol
|
c4578e3136
|
changed cypress env variable name
|
2024-09-27 14:20:49 +03:00 |
|
 Aaro Koivukangasandkaarleol
|
f74576cba5
|
implemented test db reset for e2e tests
|
2024-09-27 14:20:49 +03:00 |
|
 Aaro KoivukangasandEero Antikainen
|
fc200231d7
|
changed cypress env variable name
|
2024-09-27 12:22:48 +03:00 |
|
 Aaro KoivukangasandEero Antikainen
|
31d5ca8add
|
implemented test db reset for e2e tests
|
2024-09-27 12:22:48 +03:00 |
|
Aaro Koivukangas
|
7b5a201717
|
lint fixes
|
2024-09-25 22:49:41 +02:00 |
|
Aaro Koivukangas
|
15975840e7
|
reformatted api-tests to utilize resetDatabase
|
2024-09-25 22:41:02 +02:00 |
|
Aaro Koivukangas
|
cac07e7b81
|
implemented a proper resetDatabase fn for tests
|
2024-09-25 22:40:31 +02:00 |
|
Aaro Koivukangas
|
0ff6360917
|
implemented non-working draft-version of database reset
|
2024-09-25 19:45:58 +02:00 |
|
Aaro Koivukangas
|
81acdfe5f9
|
added documentation for permission errors
|
2024-09-25 13:53:42 +02:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
e7f1d13fbe
|
changed prisma to be generated after copying files from local dir to docker
|
2024-09-22 23:23:21 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
ce8188e570
|
added correct binaryTargets for prisma
|
2024-09-22 23:23:21 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
1f2518362e
|
removed unnecessary build args from anon frontend
|
2024-09-22 23:23:21 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
0121862851
|
fixed silent error exit 139 by removing local node_modules from all containers (incorrect libc version for bcrypt)
|
2024-09-22 23:23:21 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
2dc6172ffd
|
fixed default docker compose to match the new Dockerfile implementations
|
2024-09-22 23:23:21 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
7cdf509940
|
implemented lint fixes + removed better api-test send error message
|
2024-09-22 23:23:21 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
ce46001b2f
|
e2e test element id changed
|
2024-09-22 23:23:21 +03:00 |
|
 Aaro KoivukangasandAaro Koivukangas
|
b93ac5c201
|
gh actions now utilize the new test docker compose
|
2024-09-22 23:23:21 +03:00 |
|