Commit Graph
100 Commits
Author SHA1 Message Date
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
arttu f83ca2717e Fix type issues 2024-06-11 10:25:19 +03:00
arttu d83e4f8999 Ignore prisma folder in eslint 2024-06-11 10:25:11 +03:00
arttu 227fc1a0a6 Fix vulnerability 2024-06-11 10:07:00 +03:00
arttu a87676fca7 add generated to gitignore 2024-06-11 09:55:31 +03:00
ShootingStar91 62806a18c6 Type fixes; comment species selecting out for now, editdatatype is not working 2024-06-10 12:57:36 +03:00
ShootingStar91 4a86a6f3e8 Merge Week-23 2024-06-10 12:08:35 +03:00
ShootingStar91 d4df7d8bdf remove taxa 2024-06-10 12:04:45 +03:00
arttu 1571b5cd97 Set height to menuitems in dropdown to make empty option same height 2024-06-07 15:36:10 +03:00
arttu 40cbe170c7 ReferenceTab: Make some text fields big 2024-06-07 14:59:43 +03:00
arttu 23f76b2e54 Fix boolean handling and read-mode display value functionality in dropdown & radiobutton 2024-06-07 14:27:24 +03:00
arttu 5c7e7b8f80 Change locality private status to draft. Also fix saving radiobutton booleans to db 2024-06-07 13:01:17 +03:00
arttu 737ffc9b59 Fix referencetab crashing after type change 2024-06-07 12:12:51 +03:00
arttu 28a0e3cd10 Improve & update readme's 2024-06-07 00:38:03 +03:00
arttu 2fcd29df26 Fix locality editing 2024-06-06 22:25:11 +03:00
arttu 5283b08c9f Make frontend work with actual types instead of turning edit data to string 2024-06-06 22:19:43 +03:00
arttu bde3534757 Change number type textfield to save & validate in number type 2024-06-06 18:53:28 +03:00
arttu f86d21e619 Minor code quality fixes 2024-06-06 18:47:06 +03:00
arttu 06ff51285a Fix tsc error 2024-06-06 18:30:22 +03:00
arttu 4d2a220a29 validation fixes in backend and frontend, saving still broken 2024-06-06 18:27:46 +03:00
arttu 7598d1bb8b Improve age validator code 2024-06-06 18:23:04 +03:00
arttu a80a3ab87c Refactor 2024-06-06 18:22:00 +03:00
arttu eaba5b1671 Make bigint into number instead of string 2024-06-06 18:18:32 +03:00
arttu 81581e447f Refactor backend edit route & service things 2024-06-06 17:57:33 +03:00
arttu d4a4fa08a3 Fix tests that broke in navbar change 2024-06-06 17:13:53 +03:00
arttu 8b8e6f5c3f Make input field with table selector read only (doesnt show caret) 2024-06-06 16:49:01 +03:00
arttu 36c6e15c77 Rework NavBar 2024-06-06 16:40:48 +03:00
arttu 24a6c94701 Fix ts errors 2024-06-06 13:39:36 +03:00
arttu f3cd9f7a94 Fix moderate vulnerability 2024-06-06 13:09:40 +03:00
arttu f7247d08b5 Fix cypress texts 2024-06-06 13:05:04 +03:00
arttu 11d333591c e2e workflow: Install root deps 2024-06-06 12:55:31 +03:00
arttu 7e0bb2afa9 e2e workflow: don't hang terminal 2024-06-06 12:50:41 +03:00
arttu c05891e77b Add workflow for e2e tests & npm test command for headless cypress 2024-06-06 12:48:56 +03:00
arttu 968e0452f6 Add simple test that checks all pages are functioning (tableview & detailview) 2024-06-06 12:34:23 +03:00
arttu bc13c36f7f Install cypress & make npm script to open 2024-06-06 12:04:40 +03:00
arttu 6fac6ab0cb Add anon-data, dockersetup, start script. User passwords set to test 2024-06-06 11:56:47 +03:00
ShootingStar91 c24d86a40b Add Reference-selecting to staging view 2024-06-05 23:01:08 +03:00
ShootingStar91 4627c64dfa Region & Project pages fixed 2024-06-05 15:52:24 +03:00
ShootingStar91 5955aa79aa Add initial version of fields to ReferenceTab: Works, but all are textfield 2024-06-05 15:27:32 +03:00
ShootingStar91 88efdd81c3 Ref type selection 2024-06-05 14:55:56 +03:00
ShootingStar91 0ffe1e16be Fix dropdown display value not showing if its different type e.g. number/string 2024-06-05 14:55:43 +03:00
ShootingStar91 5a78192f6e Make backend for ref types 2024-06-05 14:55:16 +03:00
ShootingStar91 4f8ef156d9 Make frontend queries for reference types 2024-06-05 14:55:01 +03:00
ShootingStar91 d6c900eacc Add initial version of ReferenceDetails 2024-06-05 13:59:05 +03:00
ShootingStar91 18c1196765 Small prop adjust 2024-06-05 13:58:51 +03:00
ShootingStar91 2b9695cade Rework title showing: fade too long text, simplify 2024-06-05 13:57:46 +03:00
ShootingStar91 8b74728942 Rename type projectdetails to ProjectDetailsType 2024-06-05 13:25:56 +03:00
ShootingStar91 a8689620ad Create handy check-script in root 2024-06-05 13:25:46 +03:00
ShootingStar91 a0f540d3d4 Make timeboundreducer accept id as also number 2024-06-05 13:25:14 +03:00
ShootingStar91 3d3b429dbd Create new table: SimpleTable, which should be used in tabs when table does not need to be editable 2024-06-05 13:11:07 +03:00
arttu f6f88fbab0 Merged week 23 2024-06-04 17:22:36 +03:00
ShootingStar91 c846cb5ec5 Merge week 22: Time unit details, project, region, admin links 2024-06-03 14:01:02 +03:00
ShootingStar91 b9f99603df time unit fixes 2024-06-03 10:09:00 +03:00
arttu 969bda6a4d Fix type errors 2024-05-30 13:50:11 +03:00