Commit Graph

161 Commits (2d4e2af6294891cde070856ec841644b05092bfc)

Author SHA1 Message Date
Alex 98998cccbc
fix(mobile): user get logged out upon clicking on any thing after logging in (#1808)
* fix(mobile): user get logged out upon clicking on any thing after logging in

* wip: fixing still

* fix: the actual issue

* Fix: avaialble album not updating UI
2023-02-20 21:43:39 +07:00
martyfuhry 87fea29e32
feat(mobile): iOS background sync (#1758)
* first run of getting background sync working in iOS

* got background sync calling into flutter

* added background task

* added necessary sync files

* fixed some names and added more implementations

* got as far as Hive.initFlutter

* brute force got to await Hive.initFlutter

* lots of print statements to figure out where execution is failing, and its failing at the root asset bundle in the localization.dart service

* first time working, got plugins registered

* removed broken cleanup code

* refactored

* linters

* now can pass user settings

* background service plugin uses app background processing instead of fetch

* renamed backgroundFetch to backgroundProcessing to make it clearer

* don't use max delay

* adds fetch back in

* fixes require charging default values and backup controller page

* fixes background fetch

* fixes ios not importing photos

* guarded path provider ios

* lint

* adds max tries for heartbeat to work in iOS

* fail after seconds

* timeout instead of fail after seconds

* removes release lock from system stop

* restores checkLockReleasedWithHeartbeat to Future<void>

* removes max tries from acquire lock

* fixes lock timeout with iOS

* restored for loop

* adds comments, made the AppRefresh task only run while not requiring network or charge

* fixed compile issue

* now both are registered and added better comments. also added ability for task to cancel itself

* added the podfile and pubspec

* added backup diagnostics to IOS and removed iOS ignored backup options and fixed network connectivity always required

* Added Alex's dev team

* styled debug list item, fixed refresh task not set bug, fixed enable / disable background service on platform channel

---------

Co-authored-by: Marty Fuhry <marty@fuhry.farm>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-02-20 05:59:50 +07:00
Jason Rasmussen 73b4b032b1
fix(release): pump script (#1768) 2023-02-16 09:13:42 +07:00
Alex Tran 86b3bdb90b chore(mobile): bump pubspec version 2023-02-13 21:21:44 +07:00
Immich Release Bot 2cd45ed1de Version v1.46.0 2023-02-09 17:59:47 +07:00
Fynn Petersen-Frey 911c35a7f1
refactor(mobile): add Isar DB & Store class (#1574)
* refactor(mobile): add Isar DB & Store class

new Store: globally accessible key-value store like Hive (but based on Isar)

replace first few places of Hive usage with the new Store

* reduce max. DB size to prevent errors on older iOS devices

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2023-02-09 11:32:08 +07:00
martyfuhry 527aa61a87
fix(mobile): Added flutter native splash and splash screens (#1520)
* rebasing

* added launch background image to repository

---------

Co-authored-by: Marty Fuhry <marty@fuhry.farm>
2023-02-06 00:41:07 +07:00
Alex 43e49f36b7
chore(release) post release tasks (#1543) 2023-02-03 14:21:49 +07:00
martyfuhry 02f5a86ee9
(fix)mobile: Improve the gallery to improve scale, double tap, and swipe gesture detection (#1502)
* photoviewgallery

* stiffer scrolling to react more like google photos

* adds a dx threshhold for the swipe/up down from the original dropped point

* stopped wrapping imageview in gallery viewer to avoid the double photoview issue. breaks imageview page pinch-to-zoom, so i need to fix that for other callers

* refactors gallery view to use remoteimage directly and breaks imageviewpage

* removed image_viewer_page

* adds minscale

* adds photo_view to repository

* double tap to zoom out with hacked commit

* double tapping!

* got up and down swipe gestures working

* fixed wrong cache and headers in image providers

* fixed image quality and added videos back in

* local loading asset image fix

* precaches images

* fixes lint errors

* deleted remote_photo_view and more linters

* fixes scale

* load preview and load original

* precache does original / preview as well

* refactored image providers to nice functions and added JPEG thumbnail format to remote image thumbnail lookup

* moved photo_view to shared/ui/

* three stage loading with webp and fixes some thumbnail fits

* fixed local thumbnail

* fixed paging in iOS
2023-02-01 10:59:34 +07:00
Alex 391bf052e4
Revert "fix(mobile): Generate 1 splash screen on Android (#1443)" (#1498)
This reverts commit 00630bd4a3.
2023-01-31 22:05:54 +07:00
martyfuhry f23979024a
chore(mobile): Update share_file to latest version and migrate to using cross platform shareXFile (#1476)
* update share_plus and use sharexfile

* rename variable
2023-01-29 20:46:30 +07:00
martyfuhry 00630bd4a3
fix(mobile): Generate 1 splash screen on Android (#1443) 2023-01-28 16:51:38 +07:00
Immich Release Bot 10a0e58572 Version v1.43.0 2023-01-27 21:06:22 +07:00
Matthias Rupp f4c90426a5
feat(mobile): Add integration tests (#1359) 2023-01-21 21:43:28 +07:00
Alex Tran ecb4ee2e3e Pump version 2023-01-18 10:15:25 +07:00
Alex Tran 6b9a4a8d6f pump 2023-01-09 22:12:17 +07:00
Alex Tran 9c38cc42f6
Up version for release 2022-12-27 09:53:04 +07:00
Alex b88e24678b
Up version for release 2022-12-19 12:27:07 +07:00
Alex e9cebedb4a
Up version mobile 2022-12-11 14:51:03 +07:00
Alex 0633eaf68c
Pump 2022-12-09 15:19:22 +07:00
Alex a384798779
Up version for release 2022-11-30 11:18:06 +07:00
Alex 024177515d
feat(mobile) Add in app logging to show app's log information (#1014) 2022-11-27 14:34:19 +07:00
Alex 1e9d67ec39
Up mobile version for hotfix release 2022-11-24 15:50:18 +07:00
Alex Tran bc9ee1d611 Added hotfix release note 2022-11-21 05:41:44 +07:00
Alex Tran 6f5d60fb62
Up version for release 2022-11-20 13:13:27 +07:00
Alex b3e51cc849
feat(mobile) Add OAuth Login On Mobile (#990)
* Added return type for oauth/callback

* Remove console.log

* Redirect app

* Wording

* Added loading state change

* Added OAuth login on mobile

* Return correct status for  correct redirection

* Auto discovery OAuth Login
2022-11-20 11:43:10 +07:00
Alex 8bc64be77b
feat: support iOS LivePhoto backup (#950) 2022-11-18 23:12:54 +07:00
Fynn Petersen-Frey 8d0ff974e1
refactor(mobile): tidy-up dependencies, remove unused, replace rarely used ones (#948) 2022-11-11 11:52:02 +07:00
Alex 66640ebfeb
Up version for release 2022-11-08 14:34:47 +07:00
Alex Tran d90527a095 Up version for release 2022-11-06 21:00:32 +07:00
Alex Tran 25848b78f9 Up version for release 2022-10-26 11:24:04 +07:00
Alex Tran 1ec7122381 Up version for release 2022-10-19 20:07:53 +07:00
Alex Tran c271f0c224 Up version for release 2022-10-14 16:21:26 +07:00
Alex Tran 46994c3355
Up version for release 2022-10-06 12:11:12 +07:00
Alex ab375cca1a
Up Version for release 2022-10-04 15:21:58 +07:00
Alex 3f1f835df3
Update readme for beta release invitation links 2022-09-29 15:13:18 +07:00
Alex Tran 96b9e37461 Up version for release 2022-09-28 16:28:14 +07:00
Matthias Rupp 28bf497a0b
feat(mobile): Improve timeline performance on mobile - experimental (#710) 2022-09-28 11:30:38 +07:00
Alex 10239161fd
fix(mobile): app crash when there is no object detection result on search page (#725)
* fix(mobile): app crash when there is no data for object detection

* Up version for release

* Up version for release
2022-09-19 11:03:51 +07:00
Alex 2e06be5155
Up mobile version and update deprecated api 2022-09-18 16:11:24 +07:00
Alex 824da6a07b
Up server version 2022-09-16 16:55:04 +07:00
Alex 47b73a5b64
fix(mobile): Fixed iOS 16 overflow cache and memory leaked in gallery viewer. (#700) 2022-09-16 16:46:23 +07:00
Alex 434770155f
Up version for release 2022-09-14 10:27:34 +07:00
Alex 7e8bf94543
fix/cache read write error ios16 (#691)
* Fix(mobile) cache read/write issue, cannot load image on ios16

* Update
2022-09-14 10:18:25 +07:00
Alex Tran 4271e24e59
Up version for release 2022-09-11 16:05:53 +07:00
Alex 5403ef4d84
Fix(mobile) oversize play button (#672) 2022-09-11 00:25:04 +07:00
Alex Tran 31739aca02
Up version for release 2022-09-10 11:58:59 +07:00
Alex Tran cc4881d633
Up version for release 2022-09-09 23:23:37 +07:00
Alex Tran 853a65aef1
Up version for release 2022-09-07 15:26:29 +07:00
Alex Tran 2677ddccaa Up version for release 2022-09-05 14:32:05 +07:00
Alex a09bba454c
Pump version for release 2022-08-26 10:57:12 +07:00
Alex 13bb6d469b
Pump version for release 2022-08-21 09:56:52 +07:00
Matthias Rupp 8e4c4c34e4
Use CachedNetworkImage and separate cache for thumbnails on library page (#509)
* Use CachedNetworkImage and separate cache for thumbnails on library page

* Use caching for shared albums as well

* Introduce cache service
2022-08-21 09:41:36 +07:00
Alex Tran 4805d86a7c pump version 2022-08-18 15:01:45 +07:00
Alex c1b22125fd
Add mobile dark mode and user setting (#468)
* styling light and dark theme

* Icon topbar

* Fixed app bar title dark theme

* Fixed issue with getting thumbnail for things

* Refactor sharing page

* Refactor scroll thumb

* Refactor chip in auto  backup indiation button

* Refactor sharing page

* Added theme toggle

* Up version for testflight build

* Refactor backup controller page

* Refactor album selection page

* refactor album pages

* Refactor gradient color profile header

* Added theme switcher

* Register app theme correctly

* Added locale to the app

* Added translation key

* Styling for bottomsheet colors

* up server version

* Fixed font size

* Fixed overlapsed sliverappbar on photos screen
2022-08-15 18:53:30 +07:00
Alex Tran 1580d27c23 Up version 2022-08-12 20:06:45 +07:00
Alex Tran aac53e5cdc
Up version for release 2022-08-08 22:39:32 +07:00
Matthias Rupp e57e279fe1
Share assets from mobile to other apps (#435)
* Share unique assets

* Style share preparing dialog

* Share assets from multiselect

* Fix i18n

* Use navigator like in delete dialog

* Center bottom-bar buttons
2022-08-08 10:46:12 +07:00
Matthias Rupp b46e834220
Mobile performance improvements (#417)
* First performance tweaks (caching and rendering improvemetns)

* Revert asset response caching

* 3-step image loading in asset viewer

* Prevent panning and zooming until full-scale version is loaded

* Loading indicator

* Adapt to gallery PR

* Cleanup

* Dart format

* Fix exif sheet

* Disable three stage loading until settings are available
2022-08-07 19:43:09 +07:00
Alex Tran cf2b9eddfa Pump version 1.20 2022-08-03 15:43:42 +07:00
Alex 97238a1621
Up version for release 2022-07-27 11:39:19 +07:00
Alex 09f8bdef6d
Up version for release 2022-07-14 11:32:07 +07:00
Alex Tran 72c334e5e0
Pump build number 2022-07-13 10:12:03 +07:00
Alex Tran e7f35822af
Pump version number 2022-07-13 10:04:25 +07:00
Alex Tran bd2152d568
Pump build number 2022-07-13 09:56:34 +07:00
Alex ae7e582ec8
Refactor mobile to use OpenApi generated SDK (#336) 2022-07-13 07:23:48 +07:00
Matthias Rupp 2b5cef156c
Internationalization (German) of the mobile app. (#246)
* Add i18n framework to mobile app and write simple translation generator

* Replace all texts in login_form with i18n keys

* Localization of sharing section

* Localization of asset viewer section

* Use JSON as base translation format

* Add check for missing/unused translation keys

* Add localizely

* Remove i18n directory in favour of localizely

* Backup Translation

* More translations

* Translate home page

* Translation of search page

* Translate new server version announcement

* Reformat code

* Fix typo in german translation

* Update englisch translations

* Change translation keys to match dart filenames

* Add /api to translated endpoint_urls

* Update localizely.yml

* Add languages to ios plist

* Remove unused keys

* Added script to check outdated key in other translations

* Add download key to localizely.yml

Co-authored-by: Alex <alex.tran1502@gmail.com>
2022-07-07 13:40:54 +07:00
Alex 58ec7553ea
Add information for uploading asset and error indication with error message for each failed upload. (#315)
* Added info box

* Fixed upload endpoint doesn't report error status code

* Added chip to show update error

* Added chip to show failed upload

* Add duplication check for upload

* Better duplication-checking placement

* Remove check for duplicated asset

* Added failed backup status route

* added page

* Display error card with thumbnail

* Improved styling

* Set thumbnail with better quality

* Remove force upload error
2022-07-06 16:12:55 +07:00
Alex Tran b6814fad57 Up version for hotfix 2022-07-03 20:55:30 +07:00
Alex Tran 36162509e0
Up version for release 2022-07-03 10:39:09 +07:00
Alex 992f792c0a
Fixed admin is forced to change password on mobile app (#287)
* Fixed issues

* Upversion and add changed log
2022-06-30 13:59:02 +07:00
Alex 5f00d8b9c6
Added mechanism of required password change of new user's first login (#272)
* Deprecate login scenarios that support pre-web era

* refactor and simplify setup

* Added user info to change password form

* change isFistLogin column to shouldChangePassword

* Implemented change user password

* Implement the change password page for mobile

* Change label

* Added changes log and up minor version

* Fixed typo in the release note

* Up server version
2022-06-27 15:13:07 +07:00
Alex 568436f188
Up minor version for release 2022-06-23 22:38:26 +07:00
Alex 04b59318f9
Up patch version 2022-06-23 22:21:02 +07:00
xpwmaosldk ef097d15dd
Clean code of shared folder (#249)
* optimize android side gradle settings

* android minsdk back to 21

* remove unused package, update linter and fix lint error

* clean code of 'shared module' with offical dart style guide

* restore uploadProfileImage method in UserService
2022-06-22 23:14:14 +07:00
xpwmaosldk caaa474c23
Optimize android's Gradle settings and clean up mobile source code (#240)
* optimize android side gradle settings

* android minsdk back to 21

* remove unused package, update linter and fix lint error
2022-06-22 00:23:35 +07:00
Alex 18c22d2a6c
Fix #197 app logged off when closed (#239)
* Fixed issue with app logging off after closing

* Change version to reflect minor change
2022-06-20 18:10:23 +07:00
Alex 73024edba9
Update mobile version for CI build 2022-06-20 13:33:25 +07:00
Matthias Rupp 34657f820f
Allow zooming in image viewer (#227)
* Allow zooming in image viewer

* Use thumbnailProvider as initial provider

* Set maximum zoom level to 100%

* Implement custom swipe listener in remote_photo_view

* Dart format

* Disable swipe gestures when zoomed in (prevents panning)
2022-06-20 13:29:42 +07:00
Alex 3511b69fc8
Up Minor Version 2022-06-18 09:56:56 +07:00
Zack Pollard e6efc61b3b
fix: out of memory error when uploading large assets on slow internet (#224) 2022-06-18 07:36:58 +07:00
Alex a8220172f8
WIP refactor container and queuing system (#206)
* refactor microservices to machine-learning

* Update tGithub issue template with correct task syntax

* Added microservices container

* Communicate between service based on queue system

* added dependency

* Fixed problem with having to import BullQueue into the individual service

* Added todo

* refactor server into monorepo with microservices

* refactor database and entity to library

* added simple migration

* Move migrations and database config to library

* Migration works in library

* Cosmetic change in logging message

* added user dto

* Fixed issue with testing not able to find the shared library

* Clean up library mapping path

* Added webp generator to microservices

* Update Github Action build latest

* Fixed issue NPM cannot install due to conflict witl Bull Queue

* format project with prettier

* Modified docker-compose file

* Add GH Action for Staging build:

* Fixed GH action job name

* Modified GH Action to only build & push latest when pushing to main

* Added Test 2e2 Github Action

* Added Test 2e2 Github Action

* Implemented microservice to extract exif

* Added cronjob to scan and generate webp thumbnail  at midnight

* Refactor to ireduce hit time to database when running microservices

* Added error handling to asset services that handle read file from disk

* Added video transcoding queue to process one video at a time

* Fixed loading spinner on web while loading covering the info panel

* Add mechanism to show new release announcement to web and mobile app (#209)

* Added changelog page

* Fixed issues based on PR comments

* Fixed issue with video transcoding run on the server

* Change entry point content for backward combatibility when starting up server

* Added announcement box

* Added error handling to failed silently when the app version checking is not able to make the request to GITHUB

* Added new version announcement overlay

* Update message

* Added messages

* Added logic to check and show announcement

* Add method to handle saving new version

* Added button to dimiss the acknowledge message

* Up version for deployment to the app store
2022-06-11 16:12:06 +07:00
Alex a3b45d62b6
175 Fixed issue back button android return to login page (#193)
* Back button is no longer return to login page

* Update to material 3

* Update to material 3

* Up version for deployment

* Added F-droid changelog
2022-05-29 17:32:30 +07:00
Alex d476b15312
Implemented user profile upload and show on web/mobile (#191)
* Update mobile dependencies

* Added image picker

* Added mechanism to upload profile image

* Added image type to send to web

* Added styling for circle avatar

* Fixxed issue with sharp cannot resize image properly

* Finished displaying and uploading user profile

* Added user profile to web
2022-05-28 22:35:45 +07:00
Alex 43d639104d
Bug/fixed permission not requested android 10 (#150)
* Added  android:requestLegacyExternalStorage=true to manifest

* Up pubspec version code for android build
2022-05-08 06:47:38 +07:00
Alex 373b6918f8
Feature #120 #89 selective backup in app (#137) 2022-05-06 07:22:23 +07:00
Alex 2c4243b3d0
Deploy 1.8.0_12-dev (#132)
* Update 1.8.0_12
* Update readme
2022-04-29 13:10:42 +07:00
Alex 4309104925
118 - Implement shared album feature (#124)
* New features 
  - Share album. Users can now create albums to share with existing people on the network.
  - Owner can delete the album.
  - Owner can invite the additional users to the album.
  - Shared users and the owner can add additional assets to the album.
* In the asset viewer, the user can swipe up to see detailed information and swip down to dismiss.
* Several UI enhancements.
2022-04-23 21:08:45 +07:00
Alex c7dff229db
Up minor v1.6.0 (#113) 2022-04-05 10:34:54 +07:00
Alex b69f6e0df7
Update inline font for f-droid publication metric (#107)
* Added local font
* Up Patch 1.5.1+9
2022-04-04 09:08:53 +07:00
Alex Tran 2ff25b49f4 Up Minor 1.5.0+8 2022-04-02 12:46:29 +07:00
Alex 90ef64efa3
Download asset to local and error fixing (#100)
* Update photo_manager pub package
* Added download endpoint for assets
* Successfully save a photo to the local device's gallery
* Save save a video to the local device's gallery
* Fixed #97
* Added download loading indicator
* Refactor and increase the font size for curated search thumbnail images
* Reposition loading animation on the search result page
2022-04-02 12:31:53 +07:00
Alex fccdbdd66a
Update production dockerfile for a cleaner look (#86) 2022-03-29 08:56:59 +07:00
Alex 9cbd5d1b0c
Up Minor 1.4.0 (#79) 2022-03-27 15:55:29 +07:00
Alex Tran 725ab5622f Up Version to 1.3.2 2022-03-23 15:36:38 +07:00
Alex e407a4fa13
Get thumbnail from app (#68)
* Renamed multipart filed name 'files' to 'assetData'. 
* Added an additional field name of 'thumbnailData' to multipart form.
* Implemented upload mechanism for thumbnail directly from the mobile client.
* Removed dead code
* Implemented a version checking mechanism.
2022-03-22 01:22:04 +07:00
Alex 6e0ac79eae
Add support for Apple Pro Raw format (.DNG) (#60)
* Added '.dng' (AppleProRaw) to support file's type
* Added OpenCV python framework for uniform image resizer
* Added version number information
2022-03-18 20:23:05 +07:00
Alex Tran 2e7e97ea13 Added pod install steps for TeamCity CI/CD 2022-03-14 14:47:07 +07:00
Alex 274fba1bd2
Implement CI/CD for Android (#48)
* Implement CI/CD for Android with Fastlane
2022-03-13 22:10:07 +07:00
Alex 1359418745
Dev/modify map plugin (#47)
* Switched Mapbox to openstreetmap
* Increased minor version
2022-03-13 10:28:09 +07:00