Commit Graph
100 Commits
Author SHA1 Message Date
juhanikat 7e35f61417 add comment to fixbigint 2025-04-15 16:06:51 +03:00
juhanikat 5fe24c1da1 Removed contact button from selecting tables 2025-04-10 16:35:06 +03:00
juhanikat 527355b588 removed old cross-search route and updated tests 2025-04-10 16:08:58 +03:00
juhanikat 5f305b9e13 removed delete button from user page 2025-04-10 15:50:56 +03:00
juhanikat 1d9e2be2b5 add tests and todos for deleting items 2025-04-10 15:34:34 +03:00
juhanikat dde8a829e8 add tag invalidation when deleting things 2025-04-10 15:02:28 +03:00
juhanikat 327df3fd6e updated docs 2025-04-04 16:07:59 +03:00
juhanikat aac530eca9 more describe blocks for cross-search api tests 2025-04-04 16:03:10 +03:00
juhanikat 2c6f64fd11 added warning to docker system prune section 2025-04-01 16:02:51 +03:00
juhanikat ab3f83b816 update server side pagination and TableView docs 2025-04-01 15:57:17 +03:00
juhanikat 13e5ae9ffa fixed more typescript and type issues 2025-03-28 17:59:51 +02:00
juhanikatandGitHub 42e0c6ab85 Merge branch 'main' into server-side-pagination-for-cross-search 2025-03-28 17:17:38 +02:00
juhanikat 382a51df9b fix typescript issues and update type for send util 2025-03-28 17:17:16 +02:00
juhanikat 89e6ffd444 add isFetching statuses to all tables 2025-03-28 16:38:31 +02:00
juhanikat 03fbd728b2 update CoordinateSelectionMap docs 2025-03-28 16:23:52 +02:00
juhanikat b52c6a84cb update documentation, fixed typescript issues and slightly modified validators 2025-03-27 16:17:49 +02:00
juhanikat 647d94301a added more tests for cross search route parameters 2025-03-27 15:27:18 +02:00
juhanikat cb2bd344df removed unnecessary import 2025-03-27 15:06:55 +02:00
juhanikat 80894218ce removed selectorTable prop form TimeBoundSelection component 2025-03-27 15:03:40 +02:00
juhanikat 94e7839616 fixed bug with error checking in editingComponents, and updated tests 2025-03-27 14:53:37 +02:00
juhanikat 1e8f9382db changed the way time bounds are displayed/selected in time unit detail view, also changes to TimeBoundSelection component and tests 2025-03-25 16:36:17 +02:00
juhanikat c8581209ae add docs for server side pagination 2025-03-21 17:30:17 +02:00
juhanikat bac2b3b4fa refactored code and changed validation checks for route parameters, also added tests for invalid orderBy value 2025-03-21 17:03:24 +02:00
juhanikat 56626cbd3d Column filter modes are now disabled if server side pagination is used 2025-03-18 16:31:26 +02:00
juhanikat 2d01a11661 moved cross search query to a new folder 2025-03-18 16:27:50 +02:00
juhanikat cc1c896b7b added tests for user rights and fixed small naming issue 2025-03-18 16:13:11 +02:00
juhanikat fd7f35ea40 fixed small git issue 2025-03-18 15:52:18 +02:00
juhanikat ffbd426009 fixed bug with cross-search table making two GET requests 2025-03-18 15:49:47 +02:00
juhanikatandGitHub e53ff42572 Merge branch 'main' into server-side-pagination-for-cross-search 2025-03-17 15:33:41 +02:00
juhanikat 0075cf2cb1 removed unnecessary sql queries and fixed project check 2025-03-17 15:24:58 +02:00
juhanikat 579d0ac10f combined cross-search queries into one 2025-03-14 16:52:53 +02:00
juhanikat 4f4b7a48a2 add isFetching to some table views 2025-03-14 15:15:59 +02:00
juhanikat da8d1afa1d fixed bug with manualPagination prop resulting in other tables loading endlessly and crashing 2025-03-13 16:50:50 +02:00
juhanikat 72543ecf02 added enableMultiSort prop to Tableview to allow disabling it when needed 2025-03-13 16:04:17 +02:00
juhanikat ef475c9fcd fixed fromAsCasing issue inside Dockerfile 2025-03-13 15:07:12 +02:00
juhanikat ab7a1c4091 changed "desc" property inside SortingState to be a boolean again 2025-03-13 15:05:07 +02:00
juhanikat 8f03056f03 modified docker docs slightly 2025-03-13 14:37:10 +02:00
juhanikatandGitHub 6eadba8e6d Frontend functionality for editing persons (#678)
* add frontend editing functionality for user information

* add e2e tests for person editing

* changed country field from textfield to dropdown

* prompt user to change password if last_login is null

* fixed tests

* ChangePasswordForm now properly shows errors

* made e2e tests for login redirect and ChangePasswordForm, also fixed first login warning repeating endlessly
2025-03-13 13:54:55 +02:00
juhanikat 375f03d4ea fix lint issues 2025-03-10 17:27:07 +02:00
juhanikat cb7bc649ed modified simpleTable to have pagination, and moved defaultPagination values to the defaultValues file 2025-03-10 17:27:07 +02:00
juhanikat debd432743 added validators for cross-search route parameters and updated api-tests 2025-03-06 15:17:53 +02:00
juhanikat f03959e55d column filters now work 2025-03-04 16:58:55 +02:00
juhanikat b252f8c7ab changed default page size to 50 2025-03-03 15:00:43 +02:00
juhanikat 08c7e20e51 added second route for cross-search without the parameters, and updated api tests 2025-03-03 14:57:31 +02:00
juhanikat 4f736360c6 added server side pagination to the NoUser sql query 2025-03-01 14:07:51 +02:00
juhanikat b500916369 added some more changes 2025-02-27 15:28:29 +02:00
juhanikat 6c7c28fbe9 added some of Kari's changes 2025-02-27 15:27:08 +02:00
juhanikat 8097c5586c updated docs 2025-02-25 15:41:14 +02:00
juhanikat f0bdf4051e moved limiter definition to email route 2025-02-25 15:38:46 +02:00
juhanikat ee5573d45d hide red error box when not in edit mode 2025-02-25 15:11:14 +02:00
juhanikat 157ee7df3f fixed indefinite article :) 2025-02-25 15:05:57 +02:00
juhanikat c11962af31 fixed bug regarding missing user fields in person data, and moved the person table columns to common.tsx 2025-02-23 15:29:30 +02:00
juhanikat a0d1905626 added error messages for person get route 2025-02-23 15:01:00 +02:00
juhanikatandGitHub 8d7f73486f Merge branch 'main' into backend-functionality-for-editing-persons 2025-02-21 16:23:56 +02:00
juhanikat 68ce56d5b1 changed person updating route to check for permission the same way as the get rout, also added tests for this 2025-02-21 16:14:37 +02:00
juhanikat 1e38eb73a4 backend now updates full name automatically, and added tests for this 2025-02-21 15:48:36 +02:00
juhanikat 7ed5f6dc3e add api tests for person updating 2025-02-21 15:39:45 +02:00
juhanikat 353b2f13f5 add express-rate-limit for email rate limiting, also modify the contact form notification 2025-02-21 14:48:31 +02:00
juhanikat f750275e37 made backend route for editing persons, and all the necessary functions and validators for it 2025-02-18 16:54:33 +02:00
juhanikat 51b10f6274 slight change to user right doc 2025-02-18 15:43:27 +02:00
juhanikat 73a928a438 added missing brackets and fixed other lint issues 2025-02-18 15:33:37 +02:00
juhanikatandGitHub 80bc2bea79 Merge branch 'main' into deleting-for-regions 2025-02-18 15:29:19 +02:00
juhanikat c91b5019ef add e2e test for deleting region 2025-02-14 14:56:16 +02:00
juhanikat d29af0dc46 add tag invalidation for region delete mutation to make entries disappear from table view 2025-02-14 14:36:32 +02:00
juhanikat 525cb69c48 fix validator not having a return value 2025-02-11 16:40:37 +02:00
juhanikat 3fc0c85f06 remove unused import 2025-02-11 16:32:09 +02:00
juhanikat a82e43f535 update e2e tests for region creation and updating 2025-02-11 16:30:51 +02:00
juhanikat 878b6d30a2 add functionality to create new regions, and editing region name is now possible 2025-02-11 15:43:03 +02:00
juhanikat 34fdccf881 disabled add country button if nothing is selected in the dropdown, also updated e2e tests 2025-02-11 15:21:30 +02:00
juhanikat f0e5762bf0 add country dropdown as the selector for new countries, also modify region validators slightly 2025-02-11 15:21:30 +02:00
juhanikat 1e44207c51 remove old TODO comment and add frontend tests for region 2025-02-11 15:21:30 +02:00
juhanikat 9c0cf562c5 cleaned up unneeded imports and added fix to duplicate id problem in personColumns 2025-02-11 15:21:30 +02:00
juhanikat 6bd5afcf58 cleaned up code, added functionality for adding countries to a region and validator for duplicate countries 2025-02-11 15:21:30 +02:00
juhanikat 54a28ef6fb removed unnecessary if block around document.title change 2025-02-11 15:21:30 +02:00
juhanikat fc75d0b451 add select coordinator button for region edit 2025-02-11 15:21:30 +02:00
juhanikatandKari Lintulaakso 2d24b20352 removed contact button from person details view, also added a new parameter to DetailsView for this 2025-02-11 12:04:19 +02:00
juhanikatandKari Lintulaakso ac06f79734 disable subject field if it is autofilled 2025-02-11 12:04:19 +02:00
juhanikatandKari Lintulaakso 142da52863 removed ContactFormTableView component because it was necessary, and changed email rout to not need admin 2025-02-11 12:04:19 +02:00
juhanikatandKari Lintulaakso 50a0e85d76 contact form now autofills user information if it exists, also refactored ContactForm 2025-02-11 12:04:19 +02:00
juhanikatandKari Lintulaakso f95bbcda6b improved contact form again 2025-02-11 12:04:19 +02:00
juhanikatandKari Lintulaakso c62d9dd404 refactored some code and added fast reply request switch 2025-02-11 12:04:19 +02:00
juhanikatandKari Lintulaakso 483f17d86f improved the look of the form and added contact buttons to table views 2025-02-11 12:04:19 +02:00
juhanikatandKari Lintulaakso 5eb09ca752 changed email route to send emails to test address, also improved contact form 2025-02-11 12:04:19 +02:00
juhanikatandKari Lintulaakso 737c8ffa27 added a basic skeleton of a contact form 2025-02-11 12:04:19 +02:00
juhanikat 233888f828 add api tests for deleting region, and some get tests too 2025-02-07 16:27:28 +02:00
juhanikat be02faaf74 fix id error in person table 2025-02-06 14:22:27 +02:00
juhanikat c20c7a1d92 add deleting functionality for regions 2025-02-04 16:31:58 +02:00
juhanikat 4e564fe347 changed title and message length checking in email route to avoid errors 2025-01-28 12:49:35 +02:00
juhanikat 69126734c7 changed email route to not have a recipients list, and removed recipients box from EmailPage 2025-01-28 12:49:35 +02:00
juhanikat 01a49bf5aa fixed bug with converting null to string in AgeTab 2025-01-28 12:03:37 +02:00
juhanikat 1117d4a195 added skip conditions for queries in AgeTab, and show a loading screen if they are not loaded 2025-01-28 12:03:37 +02:00
juhanikat 74c7464437 fixed min/max ages not changing when fraction changes, also created tests for this and updated documentation 2025-01-28 12:03:37 +02:00
juhanikat fccd5a8e4b changed region route roles and updated tests for this 2025-01-28 11:55:26 +02:00
juhanikat 22d3a99f73 improve update tests for region 2025-01-28 11:55:26 +02:00
juhanikat 5773fc101d added mutation for updating a region, and backend now handles editing coordinators and countries 2025-01-28 11:55:26 +02:00
juhanikat 0f9961683f add update tests for region 2025-01-28 11:55:26 +02:00
juhanikat aa2c19283a added tests for creating region and fixed some issues with the backend functions 2025-01-28 11:55:26 +02:00
juhanikat f765f263d8 add functionality for adding/editing regions 2025-01-28 11:55:26 +02:00
juhanikat 277ad5ea79 add backend support for updating regions 2025-01-28 11:55:26 +02:00
juhanikatandGitHub b11329dee9 Merge pull request #651 from nowcommunity/species_export
Species export
2025-01-12 11:04:07 +02:00