Commit Graph
85 Commits
Author SHA1 Message Date
Sampo RiitalaandSampo 2ad27524b0 fix outdated names 2024-11-15 17:42:28 +02:00
Sampo RiitalaandSampo d3f99886a1 split localities map (not implemented) and coordinate selection map 2024-11-15 17:42:28 +02:00
Sampo RiitalaandSampo 929b417f5b rename coordinate selection map button 2024-11-15 17:42:28 +02:00
Sampo RiitalaandSampo e5710fbcad move geonames username to environment variable 2024-11-15 17:42:28 +02:00
Sampo RiitalaandSampo 5a2f55c128 implement location search 2024-11-15 17:42:28 +02:00
Sampo Riitala ac6282f3d5 fix composite dating method test 2024-11-14 23:39:01 +02:00
Sampo Riitala 098d99c6d2 add test for fraction 2024-11-13 15:01:52 +02:00
Sampo Riitala 87b14e3550 fix fraction values 2024-11-13 14:40:10 +02:00
Sampo Riitala 4eda4ecb6f add validation for RadioSelector 2024-11-13 13:59:14 +02:00
Sampo Riitala 6d84e9883f move all field validation useEffect to WriteButton to use editData 2024-11-13 13:45:15 +02:00
Sampo Riitala 2d4f6bd624 remove requiredText, make required optionally take a function 2024-11-13 12:54:32 +02:00
Sampo RiitalaandSampo 0000511ec6 factor out unnecessary temporary array 2024-11-13 03:21:11 +02:00
SampoandSampo a35b6fce33 add test for write button being disabled if unvisited tab has validation errors 2024-11-13 03:21:11 +02:00
SampoandSampo 5cee99a9ec validate all fields when opening new/edit view 2024-11-13 03:21:11 +02:00
Sampo Riitala 8558ea9dc6 document composite dating method requirements for fields 2024-11-13 02:58:21 +02:00
Sampo Riitala 4d55ba0aa0 add back requiredText solution 2024-11-13 02:33:28 +02:00
Sampo Riitala caa78fdc92 change used validator field 2024-11-13 01:44:15 +02:00
Sampo Riitala a169de84b2 resolve merge by implementing change from main 2024-11-13 01:34:49 +02:00
Sampo Riitala 2915a10dbb fix typo 2024-11-11 01:12:51 +02:00
Sampo Riitala 3c68f61a86 fix time unit test tableselection id's 2024-11-11 01:02:58 +02:00
Sampo Riitala 592eff685e add test for composite dating method 2024-11-11 00:49:56 +02:00
Sampo Riitala 923ae6afb3 add validators for composite dating method 2024-11-11 00:10:45 +02:00
Sampo Riitala 026fc3883a remove accidental import 2024-11-10 23:27:26 +02:00
Sampo Riitala 1e30c95b7a add disabling logic for composite dating method 2024-11-10 23:26:42 +02:00
Sampoandjuhanikat 5ac282e1aa fix the clearing of dec_lat field 2024-11-07 12:18:41 +02:00
Sampo 06c5db0f0e remove comment 2024-11-06 14:48:07 +02:00
Sampo b3eaef6616 refactor coordinate conversion handlers 2024-11-06 14:46:03 +02:00
Sampo Riitala 755029a60f add linting for cypress tests 2024-11-04 21:53:41 +02:00
Sampo Riitala 6107329957 convert coordinates from map to dms 2024-11-04 17:14:26 +02:00
Sampo RiitalaandEero Antikainen c44be8d2b3 update text field and radio selector docs 2024-11-04 09:50:08 +02:00
Sampo RiitalaandEero Antikainen e0a5cd1b97 fix links in documentation 2024-11-04 09:50:08 +02:00
Sampo Riitala eeeeaa2630 validate dms coordinates 2024-11-04 00:42:50 +02:00
Sampo Riitala 4271bc0402 refactor coordinate conversion 2024-11-03 19:17:05 +02:00
Sampo Riitala 8a8211fb70 test clearing of bfa_min_abs field when changing dating method 2024-11-03 18:38:35 +02:00
Sampo Riitala 46ac34f1a3 clear other locality age fields when dating method is changed 2024-11-03 18:38:35 +02:00
Sampo Riitala 71f7221817 calculate locality min/max age when selecting time unit 2024-11-01 14:35:08 +02:00
Sampo Riitala d492a6f28a make min/max age field readonly when dating method is time unit 2024-11-01 14:35:08 +02:00
SampoandMiina Saroma f4d401d2d5 insert time unit max/min age into locality age field
Co-authored-by: Miina Saroma <miina.saroma@helsinki.fi>
2024-11-01 14:35:08 +02:00
Sampo RiitalaandAaro Koivukangas 334214314e do not lint coverage folders 2024-10-31 14:17:54 +01:00
Sampo Riitala 3729b79c30 update backend eslint 2024-10-30 23:35:40 +02:00
Sampo Riitala 7abb307c0b update frontend eslint 2024-10-30 23:22:06 +02:00
SampoandGitHub ea0aa76ebe Merge pull request #427 from nowcommunity/add-up/low_bound-checking-to-time-unit-route
time unit route now validates up/low bounds too
2024-10-30 19:51:43 +02:00
SampoandGitHub e5d5719a0c Merge branch 'main' into test-adding-locality 2024-10-30 19:41:20 +02:00
SampoandGitHub 410bbd2275 Merge pull request #398 from nowcommunity/user-api-tests
implemented few tests for user route + added few todo tests
2024-10-30 19:35:48 +02:00
SampoandGitHub 19a45c881d Merge branch 'main' into test-adding-locality 2024-10-30 17:34:11 +02:00
Sampo Riitala c548498e02 test creating a locality with missing inputs 2024-10-30 17:29:47 +02:00
Sampo Riitala 0725f118e1 test creating a locality with valid inputs 2024-10-30 17:14:24 +02:00
SampoandGitHub 92f81a636e Merge pull request #429 from nowcommunity/anon-hot-reload
changed anon to be hot-reload
2024-10-30 16:56:05 +02:00
SampoandGitHub 5b2d78c140 Merge pull request #203 from nowcommunity/locality-edit-error
Locality edit error
2024-10-29 22:10:44 +02:00
SampoandAaro Koivukangas 20896c088c fix params in the tab itself 2024-10-27 09:50:40 +02:00
SampoandAaro Koivukangas a41e758042 clarify lat/long parameter of conversion functions 2024-10-27 09:50:40 +02:00
SampoandAaro Koivukangas 08c88f01b9 add tests for coordinate conversion functions 2024-10-27 09:50:40 +02:00
SampoandAaro Koivukangas f9960045b3 convert both dec <-> dms on the frontend 2024-10-27 09:50:40 +02:00
SampoandAaro Koivukangas 3e8a081873 convert dec -> dms on the frontend 2024-10-27 09:50:40 +02:00
SampoandAaro Koivukangas 3fcebdff8e move coordinate conversion to LocalityTab 2024-10-27 09:50:40 +02:00
SampoandAaro Koivukangas 09628dbfd4 add coordinate conversion functions 2024-10-27 09:50:40 +02:00
SampoandGitHub f737ac0f6b Merge pull request #383 from nowcommunity/frontend-unit-test
Baseline for frontend unit test
2024-10-22 19:38:53 +03:00
SampoandGitHub b920b06fdb Merge pull request #368 from nowcommunity/documentation-for-dropdown-and-time-unit
Added docs for dropdownselector and time units
2024-10-22 19:34:05 +03:00
SampoandGitHub aabf80359b Merge pull request #350 from nowcommunity/fix-boolean-issues-with-radio-selectors
radio selector buttons now always have default values
2024-10-16 17:27:18 +03:00
Sampo 3b71bd6752 add commands and test user creation link 2024-10-14 14:43:23 +03:00
Sampo Riitalaandjuhanikat 314c303239 fix expected error code in tests 2024-10-11 11:15:36 +03:00
Sampo Riitalaandjuhanikat b67fbbda40 add missing fields to locality edit failure notification 2024-10-11 11:15:36 +03:00
SampoandGitHub ca3fc534a0 Merge pull request #336 from nowcommunity/increase-db-reset-timeout
Increase test db reset timeout
2024-10-09 16:19:13 +03:00
SampoandGitHub 1e32a60eef Merge branch 'main' into increase-db-reset-timeout 2024-10-09 16:13:52 +03:00
SampoandGitHub 611ff1e7f3 Merge pull request #335 from nowcommunity/log-test-for-time-unit
add log test for time unit
2024-10-09 16:09:29 +03:00
SampoandGitHub bc55b4e5de Merge pull request #333 from nowcommunity/better-notification-for-time-bound
better notifications when failing to edit time bound
2024-10-09 14:49:27 +03:00
Sampo Riitala 761ac24ab5 increase test db reset timeout 2024-10-09 13:29:02 +03:00
Sampo Riitala a5a45f3767 require respective bfa fields for dating methods 2024-10-08 18:00:36 +03:00
SampoandGitHub 1640cd856a Merge pull request #332 from nowcommunity/add-api-tests-for-time-unit-updating
Add api tests for time unit updating
2024-10-08 17:36:38 +03:00
SampoandGitHub b3ebf86641 Merge pull request #318 from nowcommunity/fix-build-target
build github action now builds the correct Docker multistage target
2024-10-06 22:10:04 +03:00
SampoandGitHub cdf96f63d4 Merge pull request #317 from nowcommunity/validator-error-under-table-selector
Add validator error text under dropdown and table selector input fields
2024-10-05 13:10:55 +03:00
Sampo RiitalaandEero Antikainen 8ca8d6c61b add validator error text under dropdown and table selector input fields 2024-10-05 10:49:44 +03:00
SampoandGitHub 68e92dcbda Merge pull request #307 from nowcommunity/update-species-validators
better error handling, error responses and tests
2024-10-04 14:07:18 +03:00
SampoandGitHub c981c65611 Merge pull request #311 from nowcommunity/validators-for-time-unit
basic validators for time unit
2024-10-04 13:58:36 +03:00
SampoandGitHub c8c4579917 Merge pull request #294 from nowcommunity/coverage
Coverage for backend.
2024-09-27 22:26:19 +03:00
Sampo Riitalaandjuhanikat 94b5edc11e fix dec coordinate validation 2024-09-26 13:44:04 +03:00
Sampo Riitalaandjuhanikat d3c9a48d1d validate country name 2024-09-26 13:44:04 +03:00
Sampo Riitalaandjuhanikat fd13d3301d add validation for dec coordinates 2024-09-26 13:44:04 +03:00
Sampo Riitalaandjuhanikat 568ad45f13 validate that min/max age are positive 2024-09-26 13:44:04 +03:00
SampoandGitHub f6acf2d5b8 Merge pull request #279 from nowcommunity/validators-for-time-bound
Validators for time bound
2024-09-26 13:43:38 +03:00
Sampo Riitala 15d258cb0d add back ENABLE_WRITE build arg 2024-09-25 15:41:03 +03:00
Sampo RiitalaandAaro Koivukangas bb674d9160 lint 2024-09-19 10:02:48 +03:00
Sampo RiitalaandAaro Koivukangas 27d76c05d5 add species' genus to detail view title 2024-09-19 10:02:48 +03:00
Sampo RiitalaandAaro Koivukangas 4501db86db Make return, delete and edit buttons nicer with new title font size 2024-09-19 10:02:48 +03:00
Sampo Riitala f44f7f80e3 add definition of done 2024-09-13 19:22:41 +03:00