Commit Graph

351 Commits

Author SHA1 Message Date
Ken-ichi
f4c7ee3f86 fix: don't ask for PHOTO LIBRARY permission if user can't change their mind (#2020)
* stop asking for PHOTO LIBRARY permission before import, b/c it's not
  necessary for importing
* use a forked version of react-native-cameraroll that allows us to write
  location metadata to newly-created photos, which was the really important
  thing we were using the PHOTO LIBRARY permission for

Closes #1612
2024-08-30 09:55:45 -07:00
Ken-ichi Ueda
0ff55c14a2 fix: first obs button opens AI Camera, not advanced options
Also refactored email inbox opening to show errors and not rely on a 3rd
party.
2024-08-26 15:16:52 -07:00
Ken-ichi Ueda
85c9846d51 v0.43.0 2024-08-23 16:03:28 -07:00
Ken-ichi Ueda
71c36615c8 Updated micromatch 2024-08-23 13:25:41 -07:00
budowski
313d8501e3 Updated react-native-exif-reader package version (nil check on iOS) (#1997)
Fixes a bug in which ObsEdit would crash when saving an obs w/ a photo but w/o location and w/o location permission.
2024-08-23 10:20:07 -07:00
dependabot[bot]
8e4b6159bb Bump axios from 1.6.8 to 1.7.4 (#1980)
Bumps [axios](https://github.com/axios/axios) from 1.6.8 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.8...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 17:10:04 -07:00
Ken-ichi Ueda
cc7c0ad17a v0.42.0 2024-08-19 16:03:30 -07:00
Ken-ichi Ueda
62d9ba000d v0.41.0 2024-08-16 11:06:35 -07:00
budowski
f0d0445d36 Update react-native-exif-reader version (#1967)
Close #1866
2024-08-13 12:21:05 -07:00
Ken-ichi Ueda
b298bebd88 v0.40.0 2024-08-09 14:40:52 -07:00
Amanda Bullington
b8c08ae2d4 Reassure tests (#1914)
* Basic performance tests for key components

* Fix MyObs integration test with fake timers and less rerendering
2024-08-02 19:07:41 -07:00
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