Commit Graph
100 Commits
Author SHA1 Message Date
juhanikat de2cc50c11 fix issue with new useNotify() hook and run now_view.sql in anon database to show statistics there too 2025-08-07 12:14:13 +03:00
juhanikat 41a6a4ba83 change EditingForm to allow fields with numbers only 2025-08-03 13:42:29 +03:00
juhanikat 12cfb54426 new time bounds can now be created in time unit edit view 2025-08-03 13:23:43 +03:00
juhanikat 3346d6b015 more data-cy renaming 2025-07-14 14:41:24 +03:00
juhanikat 552cd9b91c updated corss-search export error handling 2025-07-14 14:39:59 +03:00
juhanikat 7e5a55949c updated data-cy names in tests 2025-07-14 14:26:16 +03:00
juhanikat 087c702595 fix lint issue 2025-07-14 12:47:09 +03:00
juhanikat d7ec0f6bcc improved cross-search export download message 2025-07-14 12:45:21 +03:00
juhanikat bb859d8b13 add comment to notification.ts 2025-07-14 12:33:54 +03:00
juhanikat a327a76a8a renamed variable 2025-07-14 12:31:48 +03:00
juhanikat 1c6cc0cc8a fix useNotify() calls, and chnaged some typings 2025-07-14 12:30:13 +03:00
juhanikat d71fa27ced changed frontend to download export file in chunks 2025-07-03 15:54:19 +03:00
juhanikat c3682e44c8 removed full_count row from cross-search export file 2025-07-03 14:37:27 +03:00
juhanikat caedd08e02 add waiting for drain event 2025-07-02 15:13:02 +03:00
juhanikat 9ca25e961a improved cross search export and made sql query service execute sql in parts 2025-07-02 14:03:50 +03:00
juhanikat 44ac96f06b Merge branch 'cs-export-issues' of github.com:nowcommunity/nowdatabase into cs-export-issues 2025-07-01 15:44:22 +03:00
juhanikat 0ebe7e87be fix lint issue 2025-07-01 15:42:56 +03:00
juhanikat a3f40dbea4 add transformfunction to cross search export to remove newlines 2025-07-01 15:42:56 +03:00
juhanikatandGitHub 9bf53d244f Merge branch 'main' into change-column-order 2025-07-01 15:42:37 +03:00
juhanikat dac842c64f changed ActionComponent's data-cy field, and updated tests to work with this 2025-07-01 14:51:47 +03:00
juhanikat 65ff1624d8 fix synonym button in selectingTables 2025-07-01 14:40:50 +03:00
juhanikat 4b2e8339bd fix lint and merge issues 2025-06-30 15:52:23 +03:00
juhanikatandGitHub 807673d4a0 Merge branch 'main' into copy-species-taxonomy 2025-06-30 15:39:57 +03:00
juhanikat 29a859a1d8 modified taxonomy checks, and added checks for multiple different parent fields in taxonomy tree 2025-06-30 15:34:09 +03:00
juhanikat a990334414 Changed species table column order to reflect taxonomic order 2025-06-24 11:57:01 +03:00
juhanikatandGitHub 83684a2f61 Merge branch 'main' into copy-species-taxonomy 2025-06-17 12:39:03 +03:00
juhanikat 2c631dde01 fix duplicate problem with indet. values 2025-06-10 13:58:28 +03:00
juhanikat 997be95a99 fix capitalization with values that contain a forward slash 2025-06-10 13:55:22 +03:00
juhanikat 205fe44ad4 Merge branch 'copy-species-taxonomy' of github.com:nowcommunity/nowdatabase into copy-species-taxonomy 2025-06-10 13:18:31 +03:00
juhanikat b5c3b37241 remove buttontooltip to fix lint issue 2025-06-10 13:18:02 +03:00
juhanikatandGitHub 3dbde56624 Merge branch 'main' into copy-species-taxonomy 2025-06-10 13:09:19 +03:00
juhanikat 65c95c3684 Merge branch 'copy-species-taxonomy' of github.com:nowcommunity/nowdatabase into copy-species-taxonomy 2025-06-10 13:06:12 +03:00
juhanikat ff74cc90e1 added validator for forward slash 2025-06-10 13:05:39 +03:00
juhanikat b6e5190f6d fixed bugs and added unique identifier to species copying 2025-06-10 12:52:12 +03:00
juhanikat fc19b636da update validators 2025-06-10 12:29:04 +03:00
juhanikat 190b68f989 moved taxonomyFunctions file to util 2025-06-10 11:58:44 +03:00
juhanikatandGitHub 589230227f Merge branch 'main' into copy-species-taxonomy 2025-06-10 11:56:55 +03:00
juhanikat 1604ab2487 fix incertae sedis bug in checkTaxonomy and reset notification once checks succeed 2025-06-10 11:54:02 +03:00
juhanikat 07da715d76 refactor taxonomy check functions and update documentation 2025-06-09 13:20:49 +03:00
juhanikat 1784f89cc1 fix incertae sedis problem with order name 2025-06-09 12:29:17 +03:00
juhanikat e68ba88a12 fix incertae sedis problem 2025-06-09 12:27:07 +03:00
juhanikat ed46f66d12 improve duplicate checking 2025-06-09 12:20:38 +03:00
juhanikat d6a5bbbfad fix tests 2025-06-06 16:38:10 +03:00
juhanikat 0bb483005d remove skipped test 2025-06-06 15:21:00 +03:00
juhanikat 48cbd404e7 fix lint issues and rename variables 2025-06-06 15:18:46 +03:00
juhanikat 8af4eb81ba add documentation for taxonomy checks 2025-06-06 15:15:09 +03:00
juhanikat 5496d1e5b2 improve synonym checking 2025-06-06 14:19:49 +03:00
juhanikat 798174f0a0 change synonym check 2025-06-05 15:13:17 +03:00
juhanikat abec62182f Merge branch 'copy-species-taxonomy' of github.com:nowcommunity/nowdatabase into copy-species-taxonomy 2025-06-05 15:04:07 +03:00
juhanikat 1c6ab87e1f add a backend route to get all species synonyms, and add them to taxonomy check 2025-06-05 14:58:33 +03:00
juhanikatandGitHub 2a8c2275dd Merge branch 'main' into copy-species-taxonomy 2025-06-05 14:37:16 +03:00
juhanikat 65496f4da8 changed modifiedData creation 2025-06-05 13:04:13 +03:00
juhanikat 2248dcbf3f added tests and optional taxonomy fields are now converted from null to empty string 2025-06-05 12:48:55 +03:00
juhanikat 7cbdb699e3 add tests and validators, and fix bug with taxonomy check 2025-06-05 12:21:28 +03:00
juhanikat 49ced99018 update taxonomy checks 2025-06-05 11:24:57 +03:00
juhanikat 65e157e38b change taxonomy capitalization rules and update checkTaxonomy function 2025-06-04 16:50:27 +03:00
juhanikat f1a66a410f changed handleWriteButtonClick to an async function and removed "New" button from tables that do not need it 2025-06-04 16:03:29 +03:00
juhanikat 4229ff58e2 add fam. feature and fix a bug with capitalization 2025-06-03 17:18:29 +03:00
juhanikat 3c7b5dfcfb fix tests and duplicate taxonomy check 2025-06-03 17:08:40 +03:00
juhanikat f6374c9338 change the way trim works in textfield component, and trim taxonomy fields automatically 2025-06-03 16:40:35 +03:00
juhanikat e5a8205aff fix lint issue 2025-06-03 16:18:47 +03:00
juhanikat 96ea794cc6 add transformfunction to cross search export to remove newlines 2025-06-03 15:59:59 +03:00
juhanikat 3e7fa0afe4 made taxonomy check work when editing existing species 2025-06-02 13:27:29 +03:00
juhanikat fb8ce4b658 fixed species lowercasing 2025-06-02 12:50:17 +03:00
juhanikat 3a6a5cd6f2 fix git issues 2025-06-02 12:40:06 +03:00
juhanikat 0a90074bfd added check for unique identifier 2025-06-02 12:19:25 +03:00
juhanikat 8117a45a8a add more checks for indet. and subclass, suborder and subfamily 2025-06-02 12:19:13 +03:00
juhanikat 7abc926e7b improved wirte button code and fixed lint issues 2025-06-02 12:19:02 +03:00
juhanikat f2eeeab394 fix lint stuff and small code improvement 2025-06-02 12:17:49 +03:00
juhanikat 8fc107fa3c updated tests 2025-06-02 12:17:49 +03:00
juhanikat 424d28b460 revoved trim options from TaxonomyTab textfields, because the value can be incertae sedis which has a space 2025-06-02 12:17:48 +03:00
juhanikat 216e25f57a updated validators and added tests 2025-06-02 12:17:19 +03:00
juhanikat 469722816d taxonomy fields now properly capitalize or lowercase their values, also added trim option to EditableTextField 2025-06-02 12:15:46 +03:00
juhanikat e9b2bc72a0 added skeletons for taxonomy tests 2025-06-02 12:15:13 +03:00
juhanikat 260bede4dd added validation for taxonomy 2025-06-02 12:15:13 +03:00
juhanikat 304deb01d4 notify user of taxonomy check errors 2025-06-02 12:15:13 +03:00
juhanikat 373096e896 removed new route since it was not needed, and added some taxonomy checks 2025-06-02 12:15:12 +03:00
juhanikat 3820e33bed add new route for getting genus, species and unique identifier, and add duplicate check for species 2025-06-02 12:14:23 +03:00
juhanikat 90f4a0197d changed CrossSearchExportButton filename and added encodeURIcomponent to fetch() 2025-06-02 11:55:24 +03:00
juhanikat de5c6cc88b added cross search export back to table view 2025-05-27 17:00:20 +03:00
juhanikat dc78cff078 fixed lint issues and removed code that is no longer needed 2025-05-27 16:39:23 +03:00
juhanikat 82094e2270 updated docs 2025-05-27 16:23:24 +03:00
juhanikat 2b4e86b3aa added column filtering and sorting to export, and fixed bug with crosssearch/all route 2025-05-27 16:23:07 +03:00
juhanikat eacc6e07e3 added and updated documentation 2025-05-27 16:23:00 +03:00
juhanikat f63118aa0d improved export button 2025-05-27 16:22:50 +03:00
juhanikat d9b26b0fe2 new button for exporting cross search table 2025-05-27 16:22:42 +03:00
juhanikat 7f855dc8e6 changed filename of downloaded CSV file 2025-05-27 16:22:15 +03:00
juhanikat d7ec215cd3 updated docs 2025-05-27 16:22:01 +03:00
juhanikat 2aeda642cf made tests for cross search export and improved error handling 2025-05-27 16:21:48 +03:00
juhanikat f0da34396a updated validation functions 2025-05-27 16:21:40 +03:00
juhanikat 55d377f46d changed validators and updated button look 2025-05-27 16:21:22 +03:00
juhanikat 961b961e64 put every field in quotes to ensure linebreaks do not mess up the data 2025-05-27 16:21:12 +03:00
juhanikat b1c61023f0 added column filtering and sorting to export, and fixed bug with crosssearch/all route 2025-05-27 16:21:00 +03:00
juhanikat f9c4bd59b9 add user token to request headers 2025-05-27 16:20:52 +03:00
juhanikat 4ae8013c6d added and updated documentation 2025-05-27 16:20:42 +03:00
juhanikat dcf30bc0d8 improved export button 2025-05-27 16:20:34 +03:00
juhanikat 777035bd50 new button for exporting cross search table 2025-05-27 16:20:14 +03:00
juhanikat ba248d309b improve export route 2025-05-27 16:20:03 +03:00
juhanikat dcbeb85d53 add testing route for cross search export 2025-05-27 16:19:51 +03:00
juhanikat 71f1394b9e chnaged errorbox title slightly 2025-05-27 15:57:46 +03:00