540 Commits

Author SHA1 Message Date
Ken-ichi Ueda
59df964a8b v0.39.0 2024-08-02 13:19:26 -07:00
Ken-ichi
960f3e3b67 Some typescript conversions in an attempt to improve CodeQL coverage (#1904) 2024-08-01 17:55:33 -07:00
Amanda Bullington
9a0581670f Consolidate key-value stores (#1879)
* Switch to zustand mmkv storage instead of async storage

* Update hooks using async storage

* Remove asyncstorage

* Remove LocalPreferences

* Prevent collision upserting from infinite scroll & sync remote obs
2024-07-30 09:12:26 -07:00
Ken-ichi Ueda
ff038525d0 v0.38.0 2024-07-29 18:34:00 -07:00
Ken-ichi Ueda
c3d4de6a55 Updated fast-xml-parser 2024-07-29 12:07:16 -07:00
Ken-ichi Ueda
75216bff07 v0.37.0 2024-07-26 12:19:15 -07:00
Johannes Klein
5871766713 v0.36.1 2024-07-19 12:45:42 +02:00
Johannes Klein
5684130532 1811 ai button home align (#1827)
* Update flash-list

* Remove superfluous classname

* Update workaround to center empty list component

* GradientButton TS
2024-07-17 13:34:37 +02:00
budowski
656a1c6bf3 #1104 - when searching for taxon, use the general /search endpoint (#1717)
* #1104 - Taxon search - use general search endpoint (not taxa/search endpoint)

* Linter fixes

* Updated inaturalistjs library to v2.12.0

* Test fix

* Further test fixes

* Linter fixes
2024-07-15 17:34:00 -07:00
Johannes Klein
e5e4cd3a32 Bump version 2024-07-12 17:13:41 +02:00
Ken-ichi Ueda
cf9e41657f v0.35.2; make sure recently-created obs appear at top of MyObs 2024-07-07 19:41:04 -07:00
Ken-ichi Ueda
2887e084a2 v0.35.1 2024-07-05 21:34:22 -07:00
Ken-ichi Ueda
b5860539c2 v0.35.0 2024-07-05 14:18:25 -07:00
Johannes Klein
09f4abdf9b Revert "Vision camera update with orientation support (#1713)"
This reverts commit de36644fe8.
2024-06-29 16:01:46 +02:00
Johannes Klein
06589dd89e Revert "Upgrade to RN0.74.0 (#1471)"
This reverts commit 1b705b4495.
2024-06-26 16:29:40 +02:00
Johannes Klein
1b705b4495 Upgrade to RN0.74.0 (#1471)
* Upgrade to RN0.74 with upgrade helper

* Bump minor version

* Update lock files

* Update PrivacyInfo.xcprivacy

* Upgrade react-native-safe-area-context

* Update project.pbxproj

* Create react-native-vision-camera+4.0.3.patch

* Update react-native-vector-icons

* Update Podfile.lock

* Fix crash on LoginForm

* Minor version bump

* Delete react-native-vision-camera+4.0.3.patch

* Update metro.config.js

* Update Podfile.lock
2024-06-26 16:17:39 +02:00
Johannes Klein
de36644fe8 Vision camera update with orientation support (#1713)
* Update vision camera

* Remove no longer needed VeryBadIpadRotator

* Remove orientation prop

* Update vision plugin

* Remove frame processor patch

* Remove unused import

* Update rotation patch

* Remove unused param
2024-06-26 12:01:10 +02:00
Johannes Klein
e3c1dc6a1a v0.34.0 2024-06-21 22:03:15 +02:00
Johannes Klein
081cc6e3f8 1689 signout designs (#1698)
* Add and remove strings

* Drawer TS

* INatIcon TS

* Fix import

* INatIcon TS

* ActivityIndicator TS

* Button TS

* Optional param

* Add ViewStyle prop back in

* WarningSheet TS

* Add string

* Update Logout.js

* Add types

* Change log out label to not navigate but set state

* Imports

* Show warning sheet on log out press

* Actually sign out user from warning sheet

* Remove sign out fct from Logout screen

* Change logger context

* Remove Logout

* Use Heading4 instead of local style

* Use Icon instead of Button

* Pixel pushing

* Prop testID down

* Remove unused login state

* Login TS

* Update type
2024-06-21 09:12:25 +02:00
Johannes Klein
ef6163df11 Upgrade CV model to 2.13 (#1694)
* Update vision plugin

* Upgrade tensorflow

* Update Podfile.lock
2024-06-19 10:23:23 +02:00
Amanda Bullington
771e5c810b Changes to syncing process (#1670)
* Refactor syncing code and add preUploadProgress checks

* Progress on sync button functionality

* Fix deletions progress and toolbar test

* Time out deletion complete if no uploads

* Delete and then upload from sync button

* Test cleanup

* try to fix tests

* Improvements to automatic and button sync logging

* Code cleanup

* Renaming and rewriting sync functionality

* Restore MyObs test

* Add tests for useSyncObservations

* Code cleanup

* Use unique realm instance in useSyncObservations test

* Fixes for e2e crash

* Fix deletions, tests, and deletion errors

* Show and clear deletions on toolbar

* Sleep longer before resetting toolbar

* Remove sleep to pass e2e test
2024-06-18 19:04:28 -07:00
Johannes Klein
58a45fd058 Update package-lock.json (#1692) 2024-06-18 15:03:11 +02:00
Ken-ichi Ueda
1db0b00e51 v0.33.1 2024-06-14 11:25:50 -07:00
Johannes Klein
f893a8383f Upgrade Vision Camera plugin (#1672)
* Upgrade Vision Camera plugin

* Update vision camera dependencies
2024-06-11 16:15:39 +02:00
Ken-ichi Ueda
28aded4031 Package update 2024-06-10 15:38:09 -07:00
Ken-ichi Ueda
fe6c7d016c v0.33.0 2024-06-07 13:26:45 -07:00
Angie Ta
c5f96e7a54 v0.32.6 2024-05-31 11:43:47 -07:00
Ken-ichi Ueda
d05e48b855 v0.32.5 2024-05-25 23:07:29 -07:00
Angie Ta
d2ce36423c v 0.32.4 2024-05-24 11:32:40 -07:00
Ken-ichi
3d2550ffee Stop upload button (#1605)
Uses an altered version of inaturalistjs to pass in an AbortController signal
that will be passed through to fetch requests and can be used to cancel those
requests.
2024-05-23 16:24:01 -07:00
budowski
fac15eb1e6 Use latest react-native-exif-reader package version; use writeLocation instead of writeExif (#1268)
* Use latest react-native-exif-reader package version; use writeLocation instead of writeExif
* Use react-native-exif-reader v0.4.0
2024-05-21 13:58:42 -07:00
Ken-ichi Ueda
4f85c9f05f v0.32.3 2024-05-15 17:14:35 -07:00
Ken-ichi
08c04ad1ab Improved error reporting for logstash (#1529)
When an Error object is passed to logger.error() as the last arg, this change

* extracts error_type and backtrace
* reports a shorter message that should be searchable

Also:
* Avoid double logging errors; ErrorBoundary should log errors in a way we can parse
* Added restart button to default ErrorBoundary; globalized text
2024-05-13 18:28:56 -07:00
Ken-ichi Ueda
c15b024ba4 v0.32.2 2024-05-10 13:53:22 -07:00
Johannes Klein
ea6539e35a Vision camera v4.0.3 (#1515)
* Upgrade vision-camera, worklets and plugin

* Update Podfile.lock

* Update runAsync patch

* Update comment

* Update jest.setup.js
2024-05-08 13:48:16 +02:00
Ken-ichi Ueda
e06b706ac3 v0.32.1 2024-05-03 18:23:35 -07:00
Johannes Klein
0a6c452a25 Upgrade worklets-core (#1479) 2024-04-27 07:56:57 +02:00
Johannes Klein
d07f8449fc v0.32.0 2024-04-26 14:17:54 +02:00
Johannes Klein
5b4dd8d384 Focus types (#1465)
* Add lodash types

* Change functional component types

* Use some more precise prop types

* More precise param type

* Add type to state

* Fix imports

* Use type from gesture-handler library

* Functional components can rely on type inference
2024-04-25 21:20:46 +02:00
Amanda Bullington
2b1bcd9363 Enable multi-camera (#1461)
* Use multi-cam; closes #1458

* Typescript conversion
2024-04-23 14:26:57 -07:00
Johannes Klein
05b6309307 Vision camera 4.0.1 (#1437)
* Update camera and plugin packages

* Remove one patch

* Replace deprecated function

* Update runAsync patch

Removing this patch leads to non-functioning frame processors in release builds. Contrary to what the original issue's solution states.
2024-04-23 14:27:27 +02:00
Johannes Klein
e627a7dec9 Bump version 2024-04-19 20:23:22 +02:00
Johannes Klein
35257acbd8 Upgrade RN 2024-04-19 20:14:24 +02:00
Amanda Bullington
21b9cc6a97 Update Eslint to support TypeScript (#1419)
* Add typescript parser and fix Flow errors in JS files

* Uninstall packages from react-native/eslint-config

* Fix all flow errors (or ignore them for unknowns
2024-04-18 21:35:26 -07:00
Ken-ichi Ueda
fcc24a0ea0 v0.31.1 2024-04-18 18:30:44 -07:00
Ken-ichi Ueda
8f32dae97c V0.31.0 2024-04-18 17:01:16 -07:00
Amanda Bullington
2f94987b4c Whitney -> Lato font (#1407)
* Replace Whitney fonts with Lato

* Escape font family names so Lato works on iOS

* Update custom fonts

* Typography file cleanup

* Rename constants to appConstants

* Fix margins in AddObsModal
2024-04-17 11:30:55 -07:00
Amanda Bullington
0833d2ddf0 Jest config updates; fixes for slower tests (#1401)
* Speed up ObsEdit test with jest-test-time

* Update jest config and standardize accessibility tests

* Add test:memory to package json
2024-04-17 10:07:29 -07:00
Johannes Klein
3ad23cc9f0 Bump version 2024-04-16 12:45:29 +02:00
Amanda Bullington
0af617cdd1 Reset taxon/place when resetting explore filters (#1400)
* Allow reset button in Explore filters to reset taxon/place

* Update map when resetting place; closes #1236
2024-04-15 20:32:11 -07:00