Commit Graph
100 Commits
Author SHA1 Message Date
arttu 567ddc4301 Revert "Fix anon docker-compose"
This reverts commit f64286fd58.
2024-07-09 23:28:23 +03:00
arttu 80df989c91 Revert the comment of docker-compose anon 2024-07-09 23:15:39 +03:00
arttu 7210060736 Adjust background color of detail view 2024-07-09 23:13:58 +03:00
arttu d8ffb75a88 Remove margin from body 2024-07-09 22:50:28 +03:00
arttu 3d74f188a6 Fix tests that were broken after adding user rights to frontend 2024-07-09 22:43:32 +03:00
arttu ed5a7b6b0c Fix pages access incorrectly defined 2024-07-09 21:42:26 +03:00
arttu f64286fd58 Fix anon docker-compose 2024-07-09 21:42:11 +03:00
arttu 4c22144476 Fix errors 2024-07-09 21:29:03 +03:00
arttu ccc6970940 Fix login-related issues, show new/delete buttons only to privileged users 2024-07-09 21:20:27 +03:00
arttu b74a85e0ce Fix userReducer not updating state 2024-07-09 21:17:14 +03:00
arttu c179f2ce58 Fix docker stuff; fix user rights stuff; add user right management to frontend 2024-07-09 20:43:08 +03:00
ShootingStar91 4f5a722306 Update documentation 2024-07-06 14:55:48 +03:00
ShootingStar91 26f708fa53 Make dev-containers in Dockerfiles, to allow caching of npm ci stage 2024-07-06 14:40:45 +03:00
ShootingStar91 a237f5f38b Add some first user right checks 2024-07-06 14:24:28 +03:00
ShootingStar91 e460664e4c Improve test user creation: skip if exists, also create com_people entries 2024-07-06 11:32:18 +03:00
ShootingStar91 4dee1d0527 Show user info as a part of persons table and details 2024-07-03 15:14:48 +03:00
ShootingStar91 f4d2a318bf Remove unused envs, fix .anon.env 2024-07-03 12:47:30 +03:00
ShootingStar91 0e7e8f810f Fix type errors 2024-07-03 12:16:24 +03:00
ShootingStar91 db4454f2f9 Remove unnecessary warning 2024-07-03 12:05:00 +03:00
ShootingStar91 72aec8ca5e Use coordinator from env, cleanup code 2024-07-03 12:05:00 +03:00
ShootingStar91 bb93624776 Cleanup locality service 2024-07-03 12:05:00 +03:00
ShootingStar91 4e954584c0 Add coordinator env; add check for missing envs 2024-07-03 12:05:00 +03:00
ShootingStar91 7e95c7b1fe Fix bigint types to numbers 2024-07-03 12:05:00 +03:00
arttu c6deaaf41f Separate version for non-logging-requiring writes 2024-07-03 12:05:00 +03:00
arttu c6a3ad91e9 Add buttons to new and delete into tableview, only new works 2024-07-03 12:05:00 +03:00
arttu ee34131a30 Fix ts and lint errors from write 2024-07-03 12:05:00 +03:00
arttu 174ba98930 Fix new entry to ls-table failing to write; fix table-column of log entries 2024-07-03 12:05:00 +03:00
arttu c6f8080e89 DetailView type fix 2024-07-03 12:05:00 +03:00
arttu 1754952b9d Many fixes, added new-route to all relevant details; some things require more fixing
Reference write fails due to lacking comment parameter; time unit sequence selection does not work and writing therefore fails
2024-07-03 12:05:00 +03:00
arttu ed110dfabd Write also date and comment to update entry 2024-07-03 12:05:00 +03:00
arttu 704f65517e Initial version of writing to log 2024-07-03 12:05:00 +03:00
arttu 56e642c67d Add update event on write, works only for locality so far 2024-07-03 12:05:00 +03:00
arttu 8bd0523274 Fix relations not being written correctly 2024-07-03 12:05:00 +03:00
arttu fab6b4ff64 Add some code for adding new entities, no button yet but url works 2024-07-03 12:05:00 +03:00
arttu 220adf2063 Add editing for timebound and references 2024-07-03 12:05:00 +03:00
arttu fadef17ebe Make species editing work; synonyms not working in frontend yet 2024-07-03 12:05:00 +03:00
arttu 188410521d Fixed project tab crashing, made project writing work; fixed cache invalidation 2024-07-03 12:05:00 +03:00
arttu 8478a556a6 Fix editabletable default paging 2024-07-03 12:05:00 +03:00
arttu 90d8ee9958 Time unit update initial functionality 2024-07-03 12:05:00 +03:00
arttu 681d1ec5b0 Add some code for time unit writing; improve error handling on write 2024-07-03 12:05:00 +03:00
arttu 5678d4567e Update was broken after using db, fixed; added transaction and ending connection 2024-07-03 12:05:00 +03:00
arttu 2514f8b1c9 Improve json print 2024-07-03 12:05:00 +03:00
arttu 07ad377aac Make delete work (supports multiple ids now) 2024-07-03 12:05:00 +03:00
arttu 695508c43a Db added; transaction timed out due to errors it is removed for now; some additions work, but deletion fails due to multiple ids 2024-07-03 12:05:00 +03:00
arttu 7aee6160aa WIP, made to work with object corresponding to db in frontend too
Seems to work pretty good, but not fully tested, & only locality stuff tested, only prints does not write to db
2024-07-03 12:05:00 +03:00
arttu 04442972f6 clean up logging 2024-07-03 12:05:00 +03:00
arttu e3fbcba7e3 väli committi 2024-07-03 12:05:00 +03:00
arttu ce849270c6 new way in progress 2024-07-03 12:05:00 +03:00
arttu 1f654e5560 WIP commit 2024-07-03 12:05:00 +03:00
arttu 91dc80538f WIP 2024-07-03 12:05:00 +03:00
arttu 83d65d8be5 Add param to validator if creating new or editing old 2024-06-28 00:40:11 +03:00
arttu 1c90b6ea39 Add res.send to response logger 2024-06-21 13:35:27 +03:00
arttu c839f032a1 Fix: Number fields were broken, acting as text instead 2024-06-21 13:02:55 +03:00
arttu 20f5c2dffe Add naming convention text 2024-06-20 22:23:55 +03:00
arttu cdf39dac7d Fix broken project test 2024-06-18 23:29:34 +03:00
arttu c8f0f757d3 Added pagination to editabletable 2024-06-18 23:19:24 +03:00
arttu aed047fd7d Display boolean of project records as private / public 2024-06-18 23:10:36 +03:00
arttu 4075294e81 Add links and reminder of test data on front page 2024-06-18 23:06:58 +03:00
arttu f47da17601 Add emptyOption object, and logic to use it. Shows 'No value' in dropdown/radio selector, but in readmode shows empty string. 2024-06-18 23:00:18 +03:00
arttu 61b256efe0 Encode urls so that timeunits with slashes in id dont break 2024-06-18 22:01:34 +03:00
arttu 2024485b8b Use one UpdateTab component for all; add tests for it 2024-06-18 19:47:57 +03:00
arttu 0c631c6fa7 Fix type-errors 2024-06-18 16:48:44 +03:00
arttu 302ed980b8 Add option to textfield for truncating the value down 2024-06-18 16:46:32 +03:00
ShootingStar91 d126cddad3 Add code for truncating floats in DataValue 2024-06-18 16:25:27 +03:00
ShootingStar91 f62dbd380a remove editdatatype from one type 2024-06-18 10:55:58 +03:00
ShootingStar91 ede563ae8f Fix ts issues 2024-06-18 10:16:23 +03:00
arttu b71404cc15 Merge'd week 24, but person/user things still are mixed and need clarifying 2024-06-14 15:32:32 +03:00
arttu e4e3f2b234 Fix diffing to include new and deleted items; perform bigintfix in service to prevent difference when writing 2024-06-14 15:10:57 +03:00
arttu 3b3ace29d0 Fix log action type decoding 2024-06-13 22:22:54 +03:00
arttu 6c3f445a71 ci fix 2024-06-13 19:36:13 +03:00
arttu 6c1dcaed40 ci fix 2024-06-13 19:32:58 +03:00
arttu 5d83f8a758 CI: Use action for docker logs 2024-06-13 19:29:08 +03:00
arttu 84eaea9462 CI: Run log step always 2024-06-13 19:26:08 +03:00
arttu 7160537748 Try to add docker logs 2024-06-13 19:22:45 +03:00
arttu 355cbbc930 Try fix ci again 2024-06-13 18:38:36 +03:00
arttu 14aab6de73 Return create user to sql script 2024-06-13 18:35:51 +03:00
arttu 605241dc95 CI: Add step to build images before cypress 2024-06-13 18:26:56 +03:00
ShootingStar91 ce09f63ab0 Increase cypress timeouts 2024-06-13 17:09:42 +03:00
ShootingStar91 200ea8f6c8 Fix ci 2024-06-13 16:55:38 +03:00
ShootingStar91 1ea01a924a Use cypress action: possibly access to artefact & app logs 2024-06-13 16:52:11 +03:00
ShootingStar91 2f51e00ec2 Locality > Updates: Show references (formatting still needs to be adjusted for different types) 2024-06-13 16:44:19 +03:00
ShootingStar91 32c6e42adb Fix tests 2024-06-13 13:00:24 +03:00
ShootingStar91 41002a9bcc Fix typo 2024-06-13 12:51:55 +03:00
ShootingStar91 d413819ea6 return db pw to env 2024-06-13 12:51:04 +03:00
ShootingStar91 3594899aad Change rights 2024-06-13 12:44:58 +03:00
ShootingStar91 db9214dd07 Add log db url to env template 2024-06-13 12:39:28 +03:00
arttu 96ba3e891a Added update details, viewed in modal 2024-06-13 09:48:31 +03:00
arttu b230b7c380 Write to db with transaction 2024-06-12 00:22:50 +03:00
arttu 85ecddc210 Write loc update changes to log-db 2024-06-11 17:29:43 +03:00
arttu 9193fc0e28 Add scripts to check individual services 2024-06-11 17:28:15 +03:00
arttu 244fc71de0 Change user hostname in restore script 2024-06-11 16:10:22 +03:00
arttu a1ecbd3847 Small backend changes 2024-06-11 15:48:59 +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
arttu 74ef9b3096 Fix order in workflow 2024-06-11 14:24:47 +03:00
arttu a48d23e5b9 Generate prisma-client in workflows 2024-06-11 14:21:01 +03:00
arttu 559159cd3f Fix merge things & add prisma generate script 2024-06-11 14:16:12 +03:00
arttu 97a2351d5d Merge branch 'main' into logConnection 2024-06-11 13:58:45 +03:00
arttu 701a0ee244 Connect to log db 2024-06-11 13:57:06 +03:00
arttu 0c31055dec Add id's to details buttons data-cy 2024-06-11 12:51:02 +03:00
arttu 03e637108a Locality > Species tab: Returned code for selecting species 2024-06-11 10:55:29 +03:00