Commit Graph
100 Commits
Author SHA1 Message Date
ShootingStar91 29484a85ed Add delete route & fix update logging so that root update entry is not created on delete 2024-08-31 12:25:33 +03:00
ShootingStar91 40ef04bb53 Generate time unit id from display name if creating new 2024-08-30 14:49:02 +03:00
ShootingStar91 8a9c3e8fcf Fix time bound id adding in write 2024-08-30 14:48:46 +03:00
ShootingStar91 b6adaa576a Fix time bound new mode crashing due to lack of bounds 2024-08-30 14:48:06 +03:00
ShootingStar91 00bf1e4183 Locality: Get hominin skeletal remains value via function on write, refactor it in frontend 2024-08-30 14:47:28 +03:00
ShootingStar91 957d5d6a76 Refactor tests to separate files & make log row checking reusable 2024-08-29 22:42:15 +03:00
ShootingStar91 7df77af86f Fix com_species changes shown in now_loc update 2024-08-29 22:41:46 +03:00
ShootingStar91 5e0f54a0da Remove console.log from send 2024-08-29 20:43:51 +03:00
ShootingStar91 cd97d2256b Refactor test utils to their own file 2024-08-29 01:09:55 +03:00
ShootingStar91 958a9d62c8 Locality write: Fix adding completely new species in locality-species 2024-08-28 23:57:35 +03:00
ShootingStar91 3a0fdba063 Add initial test for creating a new locality 2024-08-28 23:00:58 +03:00
ShootingStar91 e0ac9e8c7d Finish tests for locality write logs 2024-08-28 22:29:03 +03:00
ShootingStar91 6a8c176c39 Add script for resetting both anon dbs 2024-08-28 22:28:52 +03:00
ShootingStar91 f82dae5318 Rename test file; add more test about update and logs 2024-08-28 21:42:19 +03:00
ShootingStar91 66f39ab322 Refactor app/index separately, tune response handling in tests, add trigger route for creating test users 2024-08-28 17:11:16 +03:00
ShootingStar91 10eec97616 Initial api tests 2024-08-28 13:46:51 +03:00
ShootingStar91 27d76efd45 Fix no-changes being incorrectly checked 2024-08-28 13:46:35 +03:00
ShootingStar91 790d0d6a9f Add try-catch to write services to rollback and end on fail 2024-08-28 12:54:34 +03:00
ShootingStar91 499a26bae8 Change coordinator in anon env to test initials 2024-08-28 12:49:35 +03:00
ShootingStar91 5be3b299e1 Fix frontend vite not exposing port after dev script change 2024-08-28 10:33:18 +03:00
ShootingStar91 d78181cce3 Add role requirements to new write routes 2024-08-26 23:05:05 +03:00
ShootingStar91 3d5e48c2f7 Fix type errors and issues with merge 2024-08-26 22:47:18 +03:00
ShootingStar91 d1ab72f5c4 Fix merge stuff and improve write routes 2024-08-26 22:11:32 +03:00
ShootingStar91 957673ddb6 Merge rewrite of write operations 2024-08-26 18:32:03 +03:00
ShootingStar91 7e2df148af Refactor update & log writes to separate files 2024-08-26 18:19:36 +03:00
ShootingStar91 1aa761224f Remove debug logs 2024-08-26 17:40:16 +03:00
ShootingStar91 7d871e3c45 Add time unit and bound writes; fix date, improve other things 2024-08-26 01:04:35 +03:00
ShootingStar91 8c797ad7c1 Fix date in log and update entries 2024-08-25 22:47:05 +03:00
ShootingStar91 a59d619f6e Refactor, delete old unused write code 2024-08-25 22:37:00 +03:00
ShootingStar91 26a1c40d3e Refactor updatelogger; fix list item deletion 2024-08-25 22:32:13 +03:00
ShootingStar91 fd7a53c0aa Fix com_taxa_synonym: when id's were created for a relation table, they were not added to writeList 2024-08-25 19:14:18 +03:00
ShootingStar91 418e0a3256 write WIP of logging: works using the old logging logic 2024-08-25 18:50:33 +03:00
ShootingStar91 d58512e540 Fix booleans and other loc relation writes, except project for now 2024-08-25 18:13:23 +03:00
ShootingStar91 35f12d3082 Add verifying columns are allowed in order to prevent SQL injection 2024-08-25 16:54:21 +03:00
ShootingStar91 f32d78071c Add new methods to writeHandler, modify dbHandler, locality write works, now_ls works 2024-08-25 15:50:53 +03:00
ShootingStar91 1c70a3df65 WIP, edit writeHandler and write locality species stuff 2024-08-24 17:56:22 +03:00
ShootingStar91 061971aea4 Make references filter work better 2024-08-24 15:54:29 +03:00
ShootingStar91 5a3421c103 Fix formatting 2024-08-24 15:54:29 +03:00
ShootingStar91 7de6d7b287 Make export tooltip font larger 2024-08-24 15:54:29 +03:00
ShootingStar91 d1a92c97ee Locality > Taphonomy: Make adding collection method work 2024-08-24 15:54:29 +03:00
ShootingStar91 4a995c9bbd Fix time bound write route 2024-08-24 15:54:29 +03:00
ShootingStar91 3d672da172 Adjust update tab detail styles 2024-08-24 15:54:29 +03:00
ShootingStar91 3d0ba476a5 Add creating synonym to species 2024-08-24 15:54:29 +03:00
ShootingStar91 3e26a92d62 Write: Log also newly created id's 2024-08-24 15:54:29 +03:00
ShootingStar91 ec1e3fdf41 Write: Skip logging if nothing was written 2024-08-24 15:54:29 +03:00
ShootingStar91 8e93960801 Write: Add id column for sed_struct 2024-08-24 15:54:29 +03:00
ShootingStar91 994ad6755f Remove possibility to add new museum while editing locality 2024-08-24 15:54:29 +03:00
ShootingStar91 a313fc6248 Add WIP delete route & service for locality 2024-08-24 15:54:29 +03:00
ShootingStar91 bb08fc8905 Time bound > Time unit tab: Fix lower/upper bound column and make table SimpleTable 2024-08-24 15:54:29 +03:00
ShootingStar91 b82d8f81ec Added frontend delete button and api call 2024-08-24 15:54:29 +03:00
ShootingStar91 0f9ca24673 Frontend dev dockerfile: Check if node_modules exist and install if not on startup 2024-08-24 15:54:04 +03:00
ShootingStar91 ca7f16a619 Add write handler and some locality writing 2024-08-24 00:07:04 +03:00
ShootingStar91 c925c6fbcc db handler wip 2024-08-23 18:52:59 +03:00
ShootingStar91 5498fbce61 Change some type names 2024-08-23 15:38:08 +03:00
ShootingStar91 2c08ad5322 Make references filter work better 2024-08-23 11:42:54 +03:00
ShootingStar91 d1a8384546 Fix formatting 2024-08-23 11:09:14 +03:00
ShootingStar91 b51faa93b6 Make export tooltip font larger 2024-08-23 10:52:21 +03:00
ShootingStar91 bd9da2caba Locality > Taphonomy: Make adding collection method work 2024-08-23 10:34:50 +03:00
ShootingStar91 7a80632ae0 Fix time bound write route 2024-08-23 10:34:19 +03:00
ShootingStar91 64479469f2 Adjust update tab detail styles 2024-08-23 10:07:52 +03:00
ShootingStar91 2001131358 Add creating synonym to species 2024-08-23 09:56:23 +03:00
ShootingStar91 cad7701bff Write: Log also newly created id's 2024-08-23 09:55:50 +03:00
ShootingStar91 d73fc8a048 Write: Skip logging if nothing was written 2024-08-22 22:00:38 +03:00
ShootingStar91 30e8e0cbd2 Write: Add id column for sed_struct 2024-08-22 21:43:05 +03:00
ShootingStar91 24ce54001b Remove possibility to add new museum while editing locality 2024-08-22 21:40:30 +03:00
ShootingStar91 6043acfaca Add WIP delete route & service for locality 2024-08-22 21:39:15 +03:00
ShootingStar91 2381d66ee1 Time bound > Time unit tab: Fix lower/upper bound column and make table SimpleTable 2024-08-22 21:38:07 +03:00
ShootingStar91 7e59cc577a Added frontend delete button and api call 2024-08-22 15:32:46 +03:00
ShootingStar91 61d4491a6e Time unit: Add sequence route and make sequence properly editable 2024-08-22 13:58:38 +03:00
ShootingStar91 271f296938 Block middleware: ignore trailing slash 2024-08-22 13:48:26 +03:00
ShootingStar91 2802e2617a Time unit details: Add rank options 2024-08-22 13:35:45 +03:00
ShootingStar91 db5463f3b2 Time unit details: Remove duplicate id fields, make time units editable by adding a new frame in edit mode 2024-08-22 13:28:38 +03:00
ShootingStar91 e777ca10a5 Show more info to update entries in frontend: Date, authorizer, coordinator.
These are still only initials, should be full names
2024-08-22 13:19:45 +03:00
ShootingStar91 6ba6544c66 Remove comment 2024-08-22 08:39:49 +03:00
ShootingStar91 99e00d0177 Fix log rows not showing up in time unit updates 2024-08-22 08:34:44 +03:00
ShootingStar91 7094d2a6b3 Added reference saving in update events 2024-08-22 08:14:30 +03:00
ShootingStar91 5d43048a77 Fix test 2024-08-22 07:31:27 +03:00
ShootingStar91 8d99117467 Show time bound information in time unit details 2024-08-21 21:27:46 +03:00
ShootingStar91 06875e9f39 Mention in export text that the export takes up to a minute and user should not navigate away 2024-08-20 19:22:20 +03:00
ShootingStar91 9bbcbf174f Rewrite front page text, move links to bottom and explain some basic navigation 2024-08-20 16:39:01 +03:00
ShootingStar91 f808ed80f9 Fix missing arguments in write routes 2024-08-20 15:21:27 +03:00
ShootingStar91 e825f81165 Fix type #no-deploy 2024-08-20 13:33:07 +03:00
ShootingStar91 775afe5fcc Add edit action type to writeContext, meaning update/add type is logged correctly 2024-08-20 11:58:32 +03:00
ShootingStar91 20de9e8f01 Add tooltip to export button 2024-08-20 11:44:03 +03:00
ShootingStar91 e4023054b6 Fix deletions showing id's as new value in log rows instead of old value 2024-08-18 23:34:15 +03:00
ShootingStar91 0550a9ecec Show comment of update entry in update detail modal 2024-08-18 23:19:11 +03:00
ShootingStar91 3386f2ee4e Clean up code & fix reference types 2024-08-18 22:59:27 +03:00
ShootingStar91 7cdc69ab83 Cleanup some errors from code, write routes etc 2024-08-18 19:51:32 +03:00
ShootingStar91 dad9e541fe Merge branch 'reWrite2' 2024-08-18 19:39:38 +03:00
ShootingStar91 c470e122a5 Large fix/refactor/documentation of write feature
Fixed log rows and update entries not being correctly created for relation entries, fixed action type showing correctly, logging deletions also. Refactored some of write code and commented it.
2024-08-18 19:37:10 +03:00
ShootingStar91 bca3b195cb [TableView] Add fix to state handling in url causing error for range filters 2024-08-18 00:50:15 +03:00
ShootingStar91 8b704d341d Change also dev mariadb version due to error in latest 2024-08-17 23:23:37 +03:00
ShootingStar91 161b90ae02 Change mariadb version to specific: latest seems to have broken 2024-08-17 14:38:09 +03:00
ShootingStar91 ede4447471 Fix workflows: didnt run at all, now should run except on tags 2024-08-17 14:26:30 +03:00
ShootingStar91 5861ce5610 Dont run test workflows on tag creations 2024-08-17 14:15:35 +03:00
ShootingStar91 64e7db4e26 Remove text from combined export; change simple export button to more visible with text 2024-08-17 13:55:20 +03:00
arttu 104a8460d8 Remove filtering of 'private' species: it is deprecated, all are public 2024-08-16 21:52:32 +03:00
ShootingStar91 95cd7e64c9 Try to fix release workflow running twice 2024-08-15 13:28:02 +03:00
ShootingStar91 435ad5d415 Fix types of combined export api route 2024-08-15 13:19:11 +03:00
ShootingStar91 2a8b1bd635 Combined export is processed in chunks to save memory. Also using view 2024-08-15 13:04:23 +03:00