Commit Graph
100 Commits
Author SHA1 Message Date
Eero Antikainen f60f8855b4 record known problems to documentation 2024-12-05 11:29:27 +02:00
Eero Antikainen d4cb6cd7f7 Merge branch 'cross-search-optimization' of github.com:nowcommunity/nowdatabase into cross-search-optimization 2024-11-21 14:01:56 +02:00
Eero Antikainen 25f955fc33 add docs 2024-11-21 14:01:44 +02:00
Eero Antikainen a208281999 more clean up and merge conflicts 2024-11-21 13:34:52 +02:00
Eero Antikainen 9a8b7a7f08 add placeholder unit test 2024-11-21 13:20:42 +02:00
Eero Antikainen a8dd99d578 fix lint 2024-11-21 12:05:19 +02:00
Eero Antikainen b0385c3578 remove failed experimetns 2024-11-21 11:55:15 +02:00
Eero Antikainen 8fd9398815 clean unused imports 2024-11-21 11:47:28 +02:00
Eero Antikainen f6273c4b83 restore cross search to use normal table view 2024-11-21 11:45:29 +02:00
Eero Antikainen cf77bba54e remove serverside table view as it is not used 2024-11-21 11:44:39 +02:00
Eero Antikainen 1bb5ecbe3d fix query with non-admin user 2024-11-21 11:44:12 +02:00
Eero Antikainen 460d3aac07 clean up console logs etc 2024-11-21 11:43:54 +02:00
Eero Antikainen f0b3c7c7d0 fix and expand cross search api-tests 2024-11-21 11:43:28 +02:00
Eero Antikainen f8833afd45 fix tests after expanding testdata 2024-11-21 11:19:58 +02:00
Eero Antikainen 9922935b34 add rawSQL query alternative for prisma findMany 2024-11-20 18:37:37 +02:00
Eero Antikainen 62e9be868e add routes and clauses to enable queries for users with projects 2024-11-20 18:37:37 +02:00
Eero Antikainen 1f1208cd1e add tests for crosssearch for user with projects 2024-11-20 18:37:37 +02:00
Eero Antikainen 144bbaa18e removed unused draft 2024-11-20 18:37:37 +02:00
Eero Antikainen 09c6d0a17b add base for crosssearch query for users with projects 2024-11-20 18:37:37 +02:00
Eero Antikainen 24cb522c4c clean out console logs 2024-11-20 18:37:37 +02:00
Eero Antikainen e9d71ac7e4 expand test data for cross-search 2024-11-20 18:37:37 +02:00
Eero Antikainen 3bd6c9df1c remove more unsuccessful experimentation 2024-11-20 18:37:37 +02:00
Eero Antikainen 4269ad2d3c remove unsuccessful experimentation 2024-11-20 18:37:37 +02:00
Eero Antikainen 6988030897 add query for admin level rights and route to it when allowed 2024-11-20 18:37:37 +02:00
Eero Antikainen 4d04d21d05 add test for user with rights seeing right things 2024-11-20 18:37:37 +02:00
Eero Antikainen f13d66fcfc add tests for pagination and total contents of test db for cross search 2024-11-20 18:37:37 +02:00
Eero Antikainen d7906e55e7 route to the corresponding query, if no user rights present 2024-11-20 18:37:37 +02:00
Eero Antikainen 8b38cb0c2a add initial query for cross-search with no user rights 2024-11-20 18:37:37 +02:00
Eero Antikainen 60b1cb0097 update contents of now_ls in test data 2024-11-20 18:37:37 +02:00
Eero Antikainen e4debbeac1 start working on rawSQL option for serverside filtering of cross search 2024-11-20 18:37:37 +02:00
Eero Antikainen d49cf6a379 misc minor changes 2024-11-20 18:37:37 +02:00
Eero Antikainen cbb4016eb5 serverside pagination works 2024-11-20 18:37:37 +02:00
Eero Antikainen 1ccfc4dd80 first data from serverside filtering to front 2024-11-20 18:37:37 +02:00
Eero AntikainenandAaro Koivukangas d9329f3339 enable service to fetch data for serverside filtering
Co-authored-by: Aaro Koivukangas<aaro.koivukangas@gmail.com>
2024-11-20 18:37:37 +02:00
Eero AntikainenandAaro Koivukangas 364bc4e65d communicate params to backend
Co-authored-by: Aaro Koivukangas<aaro.koivukangas@gmail.com>
2024-11-20 18:37:37 +02:00
Eero AntikainenandAaro 3cd4932e26 begin work on serverside filtering for crosssearch. connection on filter-change initiated
Co-authored-by: Aaro <aaro.koivukangas@gmail.com>
2024-11-20 18:37:37 +02:00
Eero Antikainen 4f83efd878 add docs 2024-11-18 17:15:07 +02:00
Eero Antikainen bf901da527 fix lint and e2e 2024-11-18 17:03:44 +02:00
Eero Antikainen 980ce3ef09 change default text filters to contain from fuzzy and number filters to range 2024-11-18 16:54:36 +02:00
Eero Antikainen 8c4c68f760 disable hiding for main columns for main tables 2024-11-18 15:36:01 +02:00
Eero Antikainen a9877d17a2 add routes and clauses to enable queries for users with projects 2024-11-15 20:37:25 +02:00
Eero Antikainen 860e9efc11 add tests for crosssearch for user with projects 2024-11-15 20:36:32 +02:00
Eero Antikainen 38fdecad68 removed unused draft 2024-11-15 20:36:02 +02:00
Eero Antikainen ed80097806 add base for crosssearch query for users with projects 2024-11-15 20:35:28 +02:00
Eero Antikainen a076654f72 clean out console logs 2024-11-15 20:34:33 +02:00
Eero Antikainen 740128ca48 expand test data for cross-search 2024-11-15 20:34:06 +02:00
Eero Antikainen 479234e750 remove more unsuccessful experimentation 2024-11-15 18:04:40 +02:00
Eero Antikainen 0b0ccc0989 remove unsuccessful experimentation 2024-11-15 18:00:00 +02:00
Eero Antikainen 2512a52ed5 add query for admin level rights and route to it when allowed 2024-11-15 17:53:23 +02:00
Eero Antikainen 9bca1b0323 add test for user with rights seeing right things 2024-11-15 17:52:34 +02:00
Eero Antikainen 5ba20ee8bd add tests for pagination and total contents of test db for cross search 2024-11-15 17:43:26 +02:00
Eero Antikainen 5a3b1e2e79 route to the corresponding query, if no user rights present 2024-11-15 17:42:27 +02:00
Eero Antikainen 1af0d20c29 add initial query for cross-search with no user rights 2024-11-15 17:41:14 +02:00
Eero Antikainen 929cfb0b09 update contents of now_ls in test data 2024-11-15 17:40:32 +02:00
Eero AntikainenandAaro Koivukangas e4d7c3840e start working on rawSQL option for serverside filtering of cross search 2024-11-15 09:19:37 +01:00
Eero AntikainenandAaro Koivukangas a8e637fa3a misc minor changes 2024-11-15 09:19:37 +01:00
Eero AntikainenandAaro Koivukangas d1b9eb5009 serverside pagination works 2024-11-15 09:19:37 +01:00
Eero AntikainenandAaro Koivukangas 5bd96a81d6 first data from serverside filtering to front 2024-11-15 09:19:37 +01:00
Eero AntikainenandAaro Koivukangas 8d889b7b44 enable service to fetch data for serverside filtering
Co-authored-by: Aaro Koivukangas<aaro.koivukangas@gmail.com>
2024-11-15 09:19:37 +01:00
Eero AntikainenandAaro Koivukangas 816ed04b55 communicate params to backend
Co-authored-by: Aaro Koivukangas<aaro.koivukangas@gmail.com>
2024-11-15 09:19:37 +01:00
Eero AntikainenandAaro Koivukangas d0e6542e87 begin work on serverside filtering for crosssearch. connection on filter-change initiated
Co-authored-by: Aaro <aaro.koivukangas@gmail.com>
2024-11-15 09:19:37 +01:00
Eero AntikainenandAaro Koivukangas f5cc57ee6e time bound cascade docs 2024-11-04 17:44:27 +01:00
Eero AntikainenandAaro Koivukangas 754c46a4a8 add staging req for dod 2024-11-04 17:25:37 +01:00
Eero AntikainenandAaro Koivukangas 7b055c828e fix lint 2024-11-02 12:21:58 +01:00
Eero AntikainenandAaro Koivukangas 3ee2962ee3 update tests 2024-11-02 12:21:58 +01:00
Eero AntikainenandAaro Koivukangas 95c9153dbe fix frontend 2024-11-02 12:21:58 +01:00
Eero AntikainenandAaro Koivukangas ce489638fc fix lint 2024-11-02 12:21:58 +01:00
Eero AntikainenandAaro Koivukangas a09718b4ef add initial functionality for timebound cascading handling 2024-11-02 12:21:58 +01:00
Eero AntikainenandAaro Koivukangas 2a21c34c5c initiate a function to handle locality updates for multple affected timeunits 2024-11-02 12:21:58 +01:00
Eero AntikainenandAaro Koivukangas 08891aee19 cascades of time bounds are now checked on time unit level 2024-11-02 12:21:58 +01:00
Eero AntikainenandAaro Koivukangas 0f9e9874f1 add error handling to route 2024-11-02 12:21:58 +01:00
Eero AntikainenandAaro Koivukangas 8a4b9717fc refactor frontend errorhandling and modify tests to support this 2024-11-01 08:43:12 +01:00
Eero Antikainen 8c1e05004d add notifycation for successful species entry 2024-10-31 12:54:08 +02:00
Eero AntikainenandEero Antikainen 5fbe3332fa fix fix fix fix fix lint 2024-10-30 18:11:20 +02:00
Eero AntikainenandEero Antikainen 708d15b1e6 fix fix fix fix lint 2024-10-30 18:11:20 +02:00
Eero AntikainenandEero Antikainen 950b1da6fb fix fix fix lint 2024-10-30 18:11:20 +02:00
Eero AntikainenandEero Antikainen 49c767658d fix fix lint 2024-10-30 18:11:20 +02:00
Eero AntikainenandEero Antikainen 724a32cda1 fix lint 2024-10-30 18:11:20 +02:00
Eero AntikainenandEero Antikainen 2e17470848 modify so that error responses can have body and now are correctly expected 2024-10-30 18:11:20 +02:00
Eero AntikainenandEero Antikainen c0b29ba892 write first test for failing cascade effect 2024-10-30 18:11:20 +02:00
Eero AntikainenandEero Antikainen 4ff1ae37da add documentation for time unit cascading effects 2024-10-30 15:47:41 +02:00
Eero AntikainenandAaro Koivukangas 43c1922fb4 add initial functionality for timeunit cascades 2024-10-30 14:15:02 +01:00
Eero AntikainenandAaro Koivukangas 765d9e9ce4 fix lint 2024-10-23 12:20:00 +03:00
Eero AntikainenandAaro Koivukangas 5c8d03085c added check for falsy fractions rather than null 2024-10-23 12:20:00 +03:00
Eero AntikainenandAaro Koivukangas 3a1e5198dc error handling 2024-10-23 12:20:00 +03:00
Eero AntikainenandAaro Koivukangas f53a93a352 fix lint 2024-10-23 12:20:00 +03:00
Eero AntikainenandAaro Koivukangas 0415e46c85 rename parameters 2024-10-23 12:20:00 +03:00
Eero AntikainenandAaro Koivukangas c016878e18 age calculator 2024-10-23 12:20:00 +03:00
Eero Antikainen cd50333de9 enable text filtering for bfa-columns in cross-search table 2024-10-21 16:46:47 +03:00
Eero Antikainen b872e07222 enable text filtering for bfa-columns in locality table 2024-10-21 16:46:22 +03:00
Eero AntikainenandAaro Koivukangas 700465935a fix the fix and add tests too 2024-10-08 12:15:19 +03:00
Eero AntikainenandAaro Koivukangas 2cdb3edc86 add git add . to the booleans that the db doesn't want to be null 2024-10-08 12:15:19 +03:00
Eero AntikainenandEero Antikainen 49c5bd3f37 initial documentation for create and edit entries via user interface 2024-10-04 19:57:31 +03:00
Eero Antikainenandjuhanikat 079d9604c8 reference table year filter is now numeric 2024-10-04 14:21:56 +03:00
Eero AntikainenandSampo 519f12eb56 fix lint 2024-10-04 14:00:46 +03:00
Eero AntikainenandSampo 56fecda6ce better error handling, error responses and tests 2024-10-04 14:00:46 +03:00
Eero AntikainenandEero Antikainen 7b5a71dffe add e2e tests for species validators 2024-10-03 14:17:20 +03:00
Eero AntikainenandEero Antikainen 559c0a17cd fix lint 2024-10-03 14:17:20 +03:00
Eero AntikainenandEero Antikainen f17870b04a add a small delay to reliably render the right view 2024-10-03 14:17:20 +03:00
Eero AntikainenandEero Antikainen 492c3bd67a change some logic to match locality details logic 2024-10-03 14:17:20 +03:00