Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force album on upload for collaborators #460

Open
patricksan opened this issue Oct 2, 2013 · 1 comment
Open

Force album on upload for collaborators #460

patricksan opened this issue Oct 2, 2013 · 1 comment

Comments

@patricksan
Copy link
Member

The user MUST set the album when he is a collaborator. When collaborator, he has access two a number specific of albums.

This information is available on two places:

  • login response API
  • profile response API
@ghost ghost assigned httpdispatch Oct 2, 2013
@patricksan
Copy link
Member Author

@jmathai, can you provide an example to Eugene, please?

httpdispatch added a commit to httpdispatch/mobile-android that referenced this issue Oct 14, 2013
app:
- AccountFragment: added additional visibility condition for the
upgradeOffer in the initView method whether user is owner or not
- AccountLogin, AccountSignup: removed one unnecessary parameter from
GuiUtils.validateBasicTextData call
- Preferences: added isOwner, setAccessPermissions, getAccessPermissions
methods
- SyncUploadFragment: added additional album required field checks to
the upload button on click listener in the init method
- SyncUploadFragment, UploadActivity.UploadUiFragment: added albumsText
visibility adjustment to the init method depend on whether user has
limited account access
- SyncUploadFragment, UploadActivity.UploadUiFragment: added additional
can upload checks to the success runnable for
checkQuotaPerUploadAvailableAndRunAsync call in the init method
- SyncUploadFragment.UploadInitTask: fixed albums information reference
to the correct one in the doInBackground method
- UploadActivity.UploadUiFragment: added new method checkCanUpload,
checkAlbumRequiredAndSpecified
- UploadActivity.UploadUiFragment: dded additional album required field
checks to the upload button on click event in the onClick method
- ProfileInformation.AccessPermission: added new constants wtih used
field names
- ProfileInformation.AccessPermission: added mJsonString field and its
support to parcelable implementation. Also added toJsonString method
- ProfileInformation.AccessPermission: added saving of json source
string to the mJsonString field in the fromJson method
- AccountLimitUtils: modified call of runWithProfileResponseAsync in the
tryToRefreshLimitInformationAndRunInContextAsync to retrieve viewer
information
- AccountLimitUtils: added saving of AccessPermissions to the preference
cache in the saveLimitInformationToCache method
- GuiUtils: replaced value length check with the TextUtils.isEmpty call
inthe validateBasicTextData methods
- GuiUtils: removed activity parameter from the on of the
validateBasicTextData variation
- res/values/settings.xml: added setting_account_access_permissions
constant
- res/values/strings.xml, res/values-ru/strings.xml: added few new
constants

test:
- ProfileInformationTest: added additional access permissions toJson
checks to the checkProfileInformation* methods
- ProfileResponseTest: added missing parameter for the
checkProfileInformation3 calls
httpdispatch added a commit to httpdispatch/mobile-android that referenced this issue Oct 15, 2013
- SettingsCommon: added disabling of autoUploadPreference in the
setAutoUploadPreference for limited collaborator access
- NewPhotoObserver: added additional check to the onEvent method to skip
autoupload process for limited collaborator access
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants