Commit Graph

846 Commits

Author SHA1 Message Date
Thomas Luong
f78027ba69 Refactor network code so that each route will build it's own request. Also add requests for getting boxes and making a new box 2018-10-24 11:23:00 -07:00
Thomas Luong
991c4ab4bf Show local vs remote when selecting an app. Selecting local will continue regular fs creation flow. Selecting remote while not logged in will take to account login page. 2018-10-24 10:45:51 -07:00
Thomas Luong
6bffed4815 Add images and layout for dialog to show local vs remote session 2018-10-24 10:43:44 -07:00
Thomas Luong
ecbcb5a970 Refactor which jsonAdapter to use depending on which requestType is used. 2018-10-22 17:02:19 -07:00
Thomas Luong
69d68de55b Saves bearer token to shared preference for logged in user. Show toast when login credentials are incorrect 2018-10-22 16:08:49 -07:00
Thomas Luong
1c893da41b Refactor page layout functions, add fragment for account info and logout button 2018-10-22 15:28:57 -07:00
Thomas Luong
190096ad86 Add navigation to account info fragment when user is logged in 2018-10-22 15:06:25 -07:00
Thomas Luong
4c27525068 Allow for navigation between Login and Register fragment 2018-10-22 14:32:09 -07:00
Thomas Luong
97a2fd30da Create Login and Register fragments 2018-10-22 14:30:44 -07:00
Thomas Luong
971b97afa4 Refactor all network calls to Dumont to DumontUtility 2018-10-19 16:49:27 -07:00
Thomas Luong
be7e427d91 Change Cloud fragment to be the Account page 2018-10-19 11:30:13 -07:00
Thomas Luong
f9dfbaa7b2 Add cloud fragment and associated network calls to get bearer token 2018-10-19 11:04:14 -07:00
Thomas Luong
a9755873e5 Add navigation to Cloud page 2018-10-19 11:04:10 -07:00
Thomas Luong
12ce0209b8 Add Moshi and OkHTTP for JSON parsing and http networking 2018-10-19 11:04:07 -07:00
Matthew Tighe
f177bfe1ad
Update README.md to better reflect 1.0.0. 2018-10-17 11:06:54 -07:00
MatthewTighe
7ce206f0de Upgrade to version 1.0.0. 2018-10-17 11:00:05 -07:00
Matthew Tighe
4679815755 Remove paid apps (#345)
* remove paid apps

* Upgrade to version 0.5.3

* Remove TODO.

* Set lastAppsUpdate.
2018-10-16 15:27:01 -07:00
MatthewTighe
5980515a98 Upgrade to v0.5.2. 2018-10-15 15:30:18 -07:00
Matthew Tighe
4f4c4e377a Shift preferences to the left of the screen. (#342) 2018-10-15 15:21:05 -07:00
Matthew Tighe
5e6775b630 Update help page and remove client selection for session edit. (#341)
* Update help page and remove client selection for session edit.

* Upgrade ktlint.
2018-10-15 15:20:04 -07:00
Matthew Tighe
a74d978108 0.5.2 bug fixes (#340)
* Ensure directory is created when editing file permissions.

* Add reasoning text to get credentials dialog.

* Spacing.
2018-10-15 15:17:29 -07:00
Matthew Tighe
1c2198480f Apps activity and editable (#339)
* Update activity appropriately and make apps sessions and filesystems noneditable.

* Lint.
2018-10-15 10:50:35 -07:00
Thomas Luong
927623c451 Fixed bug where some appList elements did not have animations applied (#338) 2018-10-15 10:45:14 -07:00
MatthewTighe
90043a7030 Upgrade to v0.5.1. 2018-10-12 14:57:32 -07:00
Thomas Luong
db2fa7328e Animate apps list (#331)
* Animation files to slide in from the right

* Convert frag_app_list to use RecyclerView

* Initial attempt to animate and refactor functions to accomodate recyclerView

* Remove clipToPadding

* Add onClickListener for pressing apps

* Added context menu interaction to recyclerView items

* Reordered functions to be below variables

* Add more delay for item animation

* Clear animation before reanimating

* Remove dummy AppListAdapter variable

* Single item anims (#326)

* Animate single items.

* Animate single items.

* Add colors to pull down swipe refresh circle

* Implement DiffUtils to check for recyclerView differences

* Use DiffUtils when data is changed to see differences

* Remove unused imports

* Remove unused LayoutAnimation file

* Rename functions to indicate relation to context menu

* Remove unused variable

* Shorten animation delay
2018-10-12 14:55:47 -07:00
Matthew Tighe
8ed00e7c6b
Production clean up (#330)
* Use dummy filesystem in session list if one isn't found for the session.

* Start service in foreground earlier to avoid illegal states in > 8.0.

* Stop starting sessions if they hadn't been selected previously.

* Do the same for apps.

* Remove repeated check.

* Display progress dialog while setting apps db info up.

* Check network availability before network operations.

* Use hostnames without protocols and fix tests.

* Lint.
2018-10-12 14:13:48 -07:00
Thomas Luong
d87f738fc3 Rearrange order of empty filesystem option and "Create new" option so that empty filesystem option appears first when no filesystems exist (#329)
* Rearrange order of empty filesystem option and "Create new" option so that empty filesystem option appears first when no filesystems exist
2018-10-12 12:04:41 -07:00
Matthew Tighe
bd2ee77936 Apps polish. (#324)
* Update filesystem lists dynamically.

* Session edit page uses correct filesystem in dropdown.

* Start app session if recreating apps filesystem.

* Lint.
2018-10-11 12:41:50 -07:00
MatthewTighe
70e0be4804 Upgrade version code and inflate credentials dialog from activity. 2018-10-10 15:08:44 -07:00
Matthew Tighe
c106277402 Change name of app startup script in profile.d to affect execution order. (#320) 2018-10-10 10:56:16 -07:00
Matthew Tighe
221e6f426b Update build dependencies. (#319) 2018-10-09 15:56:18 -07:00
Matthew Tighe
fc255bb765 Use session to start app. (#318)
* Use session to start app.

* Change names.
2018-10-09 11:53:44 -07:00
Matthew Tighe
eaa719ab1a Assiststructure crash (#317)
* Reconnect to running apps.

* Fix assist structure crash bug.
2018-10-09 11:08:40 -07:00
Matthew Tighe
7f1bae8ac0 Reconnect to running apps. (#315) 2018-10-09 10:52:08 -07:00
Matthew Tighe
ddee7c3d1d Add error dialogs for missing play store. (#312)
* Display error dialog when looking for client on play store if play store not installed.

* Add play store app check.

* Add additional debug mode checks.

* Lint.

* Switch back to fetching from master.
2018-10-09 09:22:55 -07:00
Thomas Luong
a387d3036b Populate apps whenever the appList is initialized and empty (#308)
* Populate apps whenever the appList is initialized and empty

* Remove text that mentions pulling down to refresh during
2018-10-08 15:39:12 -07:00
MatthewTighe
cb9a383014 Fix output.json. 2018-10-08 11:27:59 -07:00
Matthew Tighe
caf1cc4237
Add in-app purchases.
This adds a subscription model for the usage of paid "apps".
2018-10-08 09:16:23 -07:00
Thomas Luong
a18fa4c003 Remove default password from settings page 2018-10-04 16:49:07 -07:00
Thomas Luong
7e23eeff0f Remove default password from help page 2018-10-04 16:49:07 -07:00
Thomas Luong
2eac09267a Remove default pass message from spinner text 2018-10-04 16:49:07 -07:00
MatthewTighe
e0401fd77c Merge branch 'staging' of github.com:CypherpunkArmory/UserLAnd into staging 2018-10-04 16:45:54 -07:00
Thomas Luong
e7bf18841d Remove text suggestions in fileystem username fields 2018-10-04 14:03:21 -07:00
Thomas Luong
6df3b4deff Remove password trimming from filesystem credentials page 2018-10-04 14:03:21 -07:00
Thomas Luong
51b3550d7f Remove password trimming from app credentials dialog 2018-10-04 14:03:21 -07:00
Thomas Luong
f329e4c354 Removed variable in place of raw boolean to improve readability. 2018-10-04 10:48:45 -07:00
Thomas Luong
49e697892a Fix tests 2018-10-04 10:48:45 -07:00
Thomas Luong
d745055814 Lint 2018-10-04 10:48:45 -07:00
Thomas Luong
f92221ff1a Remove default values for username, password and vncpassword 2018-10-04 10:48:45 -07:00
Thomas Luong
2179361457 Filesystem will not be created if filesystem name is empty 2018-10-04 10:48:45 -07:00