#320 #321 #309 fix
- AccountFragment: added
- MainActivity: added account tab
- MainActivity: added is uploader service running check before running
it again
- MainActivity: added uploading quota check before opening of upload
activity
- MainActivity: added updating of limit information cache to the
onCreate
- Preferences: added limits preferences support methods:
getLimitsSharedPreferences, isProUser, setProUser,
getRemainingUploadingLimit, setRemainingUploadingLimit,
adjustRemainingUploadingLimit, getUploadLimitResetsOnDate,
setUploadLimitResetsOnDate
- SyncFragment: added attached to activity checks to the selectFragment
and activateNextStep methods
- SyncUploadFragment.PreviousStepFlow, SyncFragment,
SyncImageSelectionFragment: added getSelectedCount method
- SyncImageSelectionFragment: added uploading quota check before opening
next step
- UploadActivity: added logged in check to the onCreate method.
Finishing activity if failed
- ImageFetcher, ImageResizer: added constructor with cornerRadius
parameter
- ImageFetcher: processBitmap method added cornerRadius parameter to
decodeSampledBitmapFromFile call
- ImageFetcher: added decodeSampledBitmapFromFile method variation witih
cornerRadius parameter
- ImageResizer: added cornerRadius field
- ImageResizer: added getRoundedCornerBitmap method
- ITroveboxApi: added getProfile method declaration
- ProfileResponse: added
- ProfileResponseUtils: added
- TroveboxApi: added getProfile method implementation
- TroveboxResponse.RequestType: added PROFILE constant to enum
- UploadResponse: overrode getAlertMessage method to return custom
localized upload limit reached message in case of response code 402
- AccountLimitUtils: added
- UploadsProviderAccessor: added getPendingUploadsCount method
- NewPhotoObserver: onEvent method: added fix to skip automatic video
upload (#309); added logged in and limits check
- NewPhotoObserver: added new methods: checkLimits,
showAutouploadIgnoredNotification, getMimeType
- UploaderService: added photo already exists by hash response check to
the handleIntent method
- UploaderService: added whether uploadResponse successful check
- UploaderService: removed notification restriction for autoupload. Now
pending autouploads will also notify users about success, failure and
progress
- UploaderService: added limits cache update call at the end of the
intent handling
- UploaderServiceUtils: added isServiceRunning method
- CommonUtils: added new methods or method variations: format (for
number), info, checkLoggedInAndOnline(with silent parameter),
checkOnline, checkLoggedIn, getStringResource
- GuiUtils: moved getMessage methods to CommonUtils. Replaced getMessage
calls with the CommonUtils.getStringResource
- TrackerUtils: added trackLimitEvent method
- Utils: added isOnline method variation with no args
- res/drawable: added couple of new images
- res/drawable/btn_bg_beige.xml: added disabled background support
- res/drawable/profile_details_bg.xml: added
- res/layout/fragment_profile.xml: added
- res/values/colors.xml: added profile icon colors
- res/values/dimens.xml: added profile thumbnail and corner sizes
- res/values/settings.xml: added new upload limit related settings
- res/values/strings.xml: added various new string constants
- ProfileResponseTest: added
- test/res/raw/json_profile_response.txt: added
#322 fix
- PhotoDetailsActivity...PhotoDetailsPagerAdapter: added need to load
next page check to the instantiateItem. This is necessary in case
thumbnalis viewer is hidden
- EndlessAdapter: extracted checkNeedToLoadNextPage method from the
getView