Commit Graph

828 Commits

Author SHA1 Message Date
Corbin Champion
4261c817fd update proot and fix firefox, node and others 2020-04-30 15:32:06 -07:00
corbinlc
206517bbec
Update build.gradle 2020-04-13 08:17:35 -07:00
corbinlc
de091539a8
Fix turkish i (#1200)
* specify local when calling toLower to avoid issue where certain locales corrupt a url we use
2020-04-12 22:10:44 -07:00
Wang
7593ba1716
Fixed Simplified Chinese translation (#1178) 2020-03-27 10:14:10 -07:00
Furkan SAMANLI
bba23c3c90 Add Turkish Translation (#430) (#1088)
* Add Turkish Translation (#430)
2019-11-21 11:02:22 -08:00
Maher
999773044b Update Arabic language (#1057)
Update Arabic translation
2019-11-04 10:56:11 -08:00
corbinlc
afa98d296c
New Debian and Kali images (#1075) 2019-10-21 23:26:29 -07:00
corbinlc
e255efcc69
Better support for armhf devices running Android 8.0+ (#1064)
Fix crashes on many older devices upgrading to a newer version of Android.
2019-10-10 15:18:41 -07:00
corbinlc
25e8651d87
v2.6.3
Fixing the latest batch of nasty low level issues.
* Handle different `SIGSYS` event ordering on armhf devices running a newer version of Android.  People would have seen this as being stuck at the end of extraction.
* Handle `waitpid` being blocked.  Would show up as infinite spinning at the starting service stage on some devices/versions of Android.
* Handle `sendmmsg` being block on some intel/amd devices.
* Handle some devices (Leveno Yogabook, any others?) using a different set of libraries than advertised in `Build.SUPPORTED_ABIS`
2019-09-04 15:47:13 -07:00
corbinlc
45271ea73e
Fix new seccomp filtering issues (#1011)
* refetched assets to get a new proot version which should fix some seccomp filtering issues

* try to lock which image we are using for circle
2019-08-16 12:45:57 -07:00
Matthew Tighe
b0f4ffd07d
Create end-to-end VNC session regression test. (#1006)
* Handle server connection numbers in appropriate places, instead of tacking them onto session objects.

* Add end-to-end test for vnc session regression.

* Lint
2019-08-14 11:56:48 -07:00
corbinlc
effcae3319
Fix launching into VNC sessions (#1001)
* Fix launching into VNC sessions
2019-08-12 12:53:16 -07:00
Matthew Tighe
b30f68bc78
Add a sdcard scoped storage binding. (#975)
* Add another binding for sdcard storage.

* Change binding name.

* Rename bindings and add hack to handle version upgrades.

* Fix hack.

* Add some regression tests.

* Update doc provider.

* Lint
2019-07-31 13:14:06 -07:00
MatthewTighe
d35b57f1d4 Bump version 2019-07-26 15:06:59 -07:00
Matthew Tighe
2e8dd05c05
Fix bug that could cause crashes if app service type was changed while active. (#968)
* Codify service type as a sealed class.

* Add AppDetailsViewModel

* Disable changing of service type while app is running.

* Remove commented code.

* Update tests.

* Restructure app details to be more functional

* Write tests.

* Lint
2019-07-26 15:05:56 -07:00
Matthew Tighe
ec38dcd6e5
Fix bug where running sessions could not be accessed. (#963)
* Fix bug stopping sessions from restarting.

* Fix bug stopping single session support message from displaying.

* Add regressions for fixed bugs.

* Lint
2019-07-25 13:01:04 -07:00
Matthew Tighe
2fe4821270
Add tests for AppsRepository and underlying code. (#960)
* Add tests for AppsRepository

* Add tests for GithubAppsFetcher

* Add HttpStream integration tests.

* Lint and remove wait for display during end-to-end test.
2019-07-25 12:59:54 -07:00
MatthewTighe
a5e0b28602 Fix spacing. 2019-07-24 11:01:52 -07:00
Matthew Tighe
b4ba6500af
Merge branch 'releases' into master 2019-07-24 10:46:32 -07:00
Matthew Tighe
9b695a7d7d
Bump version. (#957) 2019-07-24 10:39:10 -07:00
Matthew Tighe
7218db3948
Increase responsiveness of apps list. (#954)
* Incorporate separator into list item.

* Insert items into adapter with order.

* Match production functionality.

* Lint

* Group adapter logic into descriptive functions.
2019-07-23 16:07:45 -07:00
Matthew Tighe
987621f6a5
Add happy path end-to-end test. (#947)
* Test waiting for apps list refresh.

* Switch to Barista. Implement through permission allowance.

* Create happy path end-to-end test.

* Use orchestrator in firebase.

* Fix config.

* Tune sleeps.

* Fix permission granting

* Add more waits.

* Remove unused import.

* Conditionally look for permissions.

* Remove unused import.

* Lint

* Skip permission checking.

* Lint

* Wait even longer for downloads to complete.

* Switch to using phsyical device during CI.

* Fix coverage reporting.

* Fix file path

* Update bucket path

* Automate removal of remote results generated by manual web client tests.

* Allow removal to 'fail' if no such objects exist.

* Force command to succeed.

* Always return true from command
2019-07-22 10:49:02 -07:00
Matthew Tighe
d69a1d5bf6
Release 2.5.15 (#944)
*  Fix bug that caused landing page to appear on rotation (#931)

* Fix bug that caused landing page to appear on rotation.

* lint

* Fix version check for Q warning.

* Fix progress dialog displaying after session has started.

* Remove unused service intent.

* Emit reset state from main vm.

* Add session activation hook to reset startup state.

* Add test for reset

* Set initial state to WaitingForInput

* Fix tests.

* Fix bug causing progress dialog to not be updated when proot debug logging. (#933)

* Fix bug causing progress dialog to not be updated when proot debug logging

* Fix test

* Refactor utils package. (#934)

* Refactor preference classes into new package.

* Move DownloadManagerWrapper to DownloadUtility. Move top-level functions.

* Update tests.

* Rename DownloadUtility to AssetDownloader.

* Rename FilesystemUtility to FilesystemManager.

* Rename NotificationUtility to NotificationConstructor

* Rename ServerUtility to LocalServerManager

* Rename ValidationUtility to CredentialValidator

* Move top-level function to extension. Separate Localization.

* Rename LocalFileLocator to AppDetails

* Refactor the rest of AndroidUtility.

* Rename test files.

* Bump version.

* Fix download cache access illegal state message. (#935)

* Remove current state checks in FSM for syncing downloads.

* Remove matching VM state.

* Remove string resources.

* Fix illegal state transition when downloads fail by cancelling downloads.

* Refactor class names. (#940)

* Refactor some App -> Apps for some elements.

* Turn IllegalStateHandler into an object

* Fix test and shorten file.

* Improve spacing
2019-07-15 11:44:31 -07:00
Matthew Tighe
b2eccba37e
Refactor class names. (#940)
* Refactor some App -> Apps for some elements.

* Turn IllegalStateHandler into an object

* Fix test and shorten file.

* Improve spacing
2019-07-15 11:33:46 -07:00
Matthew Tighe
a6a9f10446
Fix illegal state transition when downloads fail by cancelling downloads. 2019-07-15 09:47:45 -07:00
Matthew Tighe
7de32b2354
Fix download cache access illegal state message. (#935)
* Remove current state checks in FSM for syncing downloads.

* Remove matching VM state.

* Remove string resources.
2019-07-12 11:15:25 -07:00
Matthew Tighe
64f3b79b76
Refactor utils package. (#934)
* Refactor preference classes into new package.

* Move DownloadManagerWrapper to DownloadUtility. Move top-level functions.

* Update tests.

* Rename DownloadUtility to AssetDownloader.

* Rename FilesystemUtility to FilesystemManager.

* Rename NotificationUtility to NotificationConstructor

* Rename ServerUtility to LocalServerManager

* Rename ValidationUtility to CredentialValidator

* Move top-level function to extension. Separate Localization.

* Rename LocalFileLocator to AppDetails

* Refactor the rest of AndroidUtility.

* Rename test files.

* Bump version.
2019-07-12 11:02:21 -07:00
Matthew Tighe
e16f214994
Fix bug causing progress dialog to not be updated when proot debug logging. (#933)
* Fix bug causing progress dialog to not be updated when proot debug logging

* Fix test
2019-07-09 13:01:36 -07:00
Matthew Tighe
aee9c105e6
Fix progress dialog displaying after session has started.
* Remove unused service intent.

* Emit reset state from main vm.

* Add session activation hook to reset startup state.

* Add test for reset

* Set initial state to WaitingForInput

* Fix tests.
2019-07-08 17:08:52 -07:00
Matthew Tighe
725fa15770
Fix bug that caused landing page to appear on rotation (#931)
* Fix bug that caused landing page to appear on rotation.

* lint

* Fix version check for Q warning.
2019-07-08 14:16:08 -07:00
Matthew Tighe
e0f3992677
Add UI flow to opt-in to Sentry reporting. (#922)
* Refactor user prompts into an interface with implemented classes.

* Implement preference and behavior for opt-in.

* Update userfeedback tests.

* Add snapshot test for userfeedback

* Add  CollectionOptInprompterTest

* Lint
2019-06-25 10:35:11 -07:00
Matthew Tighe
087ce5564e
Check permissions before exporting filesystems. (#915)
* Check permissions before exporting filesystems.

* Fix filesystem edit fragment.
2019-06-20 14:54:04 -07:00
Matthew Tighe
95e0ab19ba
Remove proot debug log export step. (#914)
* Just write PRoot debug logs to user scoped storage.

* Lint.

* Remove toast.

* Lint
2019-06-20 13:44:22 -07:00
Thomas Luong
a53b60b746 [Fix] VNC full screen not filling up entire screen (#912)
* Add logic to include navigation bar size when getting device dimensions

* Update mainactivity

* Update tests

* lint

* Pass orientation instead of context down to utility class

* Lint lint lint

* Rename functions get/save

* Remove function to "check orientation"

* Update tests
2019-06-20 12:14:09 -07:00
Matthew Tighe
1c53ffa8c5
Rename scoped storage user directory to storage and reflect in binding. (#913) 2019-06-20 11:45:30 -07:00
Matthew Tighe
295349e867
Fix compilation issues while targeting Q. (#909)
* Get working nav example for app details.

* Mirror navigation implementation across components.

* Instantiate arg fields lazily.

* Fix navigation.

* Fix styling.

* Fix a bunch of lint warnings.

* Remove most compilation warnings.

* Suppress viewmodel cast warnings.

* Remove viewmodel instantiation experiment.

* Remove usage of generated Directions classes.

* Refactor ServerUtility logging.

* Reset UlaFiles property accessibility.

* Lint

* Fix ServerUtilityTest

* Remove redundant log call.

* Lint
2019-06-20 11:03:42 -07:00
Matthew Tighe
3706c76c82
Add a warning for existing users about file changes for Q. (#904)
* Add warning for Q.

* Add wiki link to dialog.

* Don't display warning for new users.

* Lint
2019-06-19 10:04:48 -07:00
Matthew Tighe
60c3e43dec
Add wiki link to options menu. (#902) 2019-06-18 11:29:15 -07:00
Matthew Tighe
5851d0d4aa
Fix delete filesystem action. Save user storage. (#897)
* Remove rootfs files from <filesystem>/support.

* Ensure busybox is present when clearing support files.

* Truncate play store release notes to adhere to max size.

* Add regression for asset clearing link setup.

* Fix bug just introduced and add regression.

* Use new script to delete filesystems.

* Update FilesystemUtilityTest.

* Lint

* Delete local intermediate file during filesystem export.

* Setup links on object creation, instead of during session startup.

* Lint

* Fix test name.
2019-06-17 13:40:51 -07:00
Matthew Tighe
9eaf00a597
Sync executables on session startup. (#893)
* Stop destroying support when clearing assets.

* Add error handling if busybox is missing for clearing support files.

* Add link setup to session fsm.

* Implement link setup in FSM.

* Update IllegalStateHandler tests.

* Update SessionFSM tests.

* Update main vm tests.
2019-06-13 12:34:15 -07:00
Matthew Tighe
bf4eac096c
Display progress while deleting filesystems and fail appropriately. (#889)
* Move filesystem deletion into the filesystemlistviewmodel.

* Update VM tests.

* Add some error handling.
2019-06-12 12:48:41 -07:00
Matthew Tighe
97a6809067
Add clarifier to beta version names. Fix automated changelogs. (#887)
* Add beta build type to gradle.

* Update signing configs and CD jobs.

* Fix automated changelogs.

* Refine version name and add comment.

* Move versionCode to expected directory for fastlane.

* Treat version name the same as code.
2019-06-11 16:01:02 -07:00
Matthew Tighe
cebfab68f1
Add UserLAnd DocumentProvider. (#875)
* Add initial DocumentProvider implementation.

* Change provider root to scoped storage.

* Bind sdcard to new user directory in scoped storage.

* Allow users to create/copy files into doc provider.

* Lint.

* Put PRoot debug log under user scoped storage directory.

* Fix test.

* Support doc delete.

* Lint
2019-06-10 12:06:07 -07:00
Matthew Tighe
8393595acc
Add beta deployment to master branch. (#880) 2019-06-10 11:52:59 -07:00
Thomas Luong
b73252ea94 Hotfix notification crash (#872)
* Set matching notification channel IDs on terminal and app side

* Remove notification channel id from string resources

* Upgrade version code
2019-06-05 14:46:02 -07:00
Matthew Tighe
d2f8a1b113
Fix crash on EditText. (#869) 2019-06-05 09:33:07 -07:00
Matthew Tighe
32d6b123ea
Hotfix for deleting filesystem crash. (#868)
* Fix bug with delete filesystem.

* Codify fix a bit better.

* Add a test.

* Fix test.

* Bump version.

* Lint.
2019-06-04 16:31:21 -07:00
Matthew Tighe
8618867acd
Fix executables for older Android versions. (#863)
* Fix libraries to be compatible with older SDK versions.

* Link all lib files to files/support.

* Update test and error handling.

* Lint.

* Remove commented config.
2019-06-04 11:16:37 -07:00
Matthew Tighe
4c42cee100
Bump version. (#860) 2019-05-31 13:35:38 -07:00
Matthew Tighe
347a990e2d
Make Sentry breadcrumbs more useful (#859)
* Start process of formalizing breadcrumbs.

* Finish updating breadcrumbs for new implementation.

* Remove assets.

* Remove dependency on reflection package.

* Remove usage of deprecated gradle feature for prebuild step.
2019-05-31 13:20:21 -07:00