Austin Huang
99a8e03578
dm media layout finalization
2020-09-26 14:42:35 -04:00
Austin Huang
a3c0b496aa
satisfy build
2020-09-26 12:55:15 -04:00
Austin Huang
9350c05634
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber
2020-09-26 12:37:00 -04:00
Austin Huang
1713ae2573
add vietnamese and other house chores
2020-09-26 12:36:45 -04:00
Ammar Githam
a4e1ee69af
Fix double requestLayout
2020-09-27 00:39:11 +09:00
Ammar Githam
548211c5a0
Fix weird NavDirections compilation error
2020-09-27 00:38:35 +09:00
Ammar Githam
d6e927a8be
Fix wrong dimensions calculated due to last minute variable name change
2020-09-27 00:37:22 +09:00
Ammar Githam
b5e66e35bf
Fix images not shown in dm
2020-09-26 18:14:06 +09:00
Austin Huang
6bd0b811b1
restore location & hashtag stories
2020-09-25 20:15:46 -04:00
Austin Huang
96a25f0d35
removal of third-party story readers
2020-09-25 13:44:21 -04:00
Austin Huang
2f0e81d86f
Merge pull request #170 from ammargitham/task/add-favourites
...
add favorites and bugfixes
2020-09-25 13:13:34 -04:00
Austin Huang
aaf87a0ded
Update ProfileFragment.java
2020-09-24 21:50:04 -04:00
Austin Huang
cc9a7f87f9
Update ProfileFetcher.java
2020-09-24 21:49:33 -04:00
Austin Huang
3c5d73e28e
Merge remote-tracking branch 'github-desktop-ammargitham/task/add-favourites' into pr/170
2020-09-22 23:16:14 -04:00
Austin Huang
ab37c2d72b
dm button on profile?! (quick & dirty warning)
2020-09-22 23:15:57 -04:00
Ammar Githam
cbc7e5447f
Removing StorageUtil lib for the timebeing
2020-09-21 21:08:14 +09:00
Ammar Githam
b5d478b7c9
Bump minSdkVersion to 21, and remove MultidexApplication (see description)
...
For multidex in api 21 and higher, extending from MultidexApplication is not required. Check: https://developer.android.com/studio/build/multidex#mdex-on-l
2020-09-21 21:02:18 +09:00
Austin Huang
3e3c39ae4b
sd card test
2020-09-20 22:36:34 -04:00
Austin Huang
6425fc3975
byebye storiesig
2020-09-20 22:36:23 -04:00
Austin Huang
03bd549016
Merge branch 'master' into pr/170
2020-09-20 21:41:58 -04:00
Austin Huang
c361bc8550
Create DirectoryUtils.java
2020-09-20 21:41:53 -04:00
Austin Huang
a004bfa9a9
Update CommentAction.java
2020-09-20 16:34:51 -04:00
Ammar Githam
80b0cfa87f
Merge remote-tracking branch 'origin/task/add-favourites' into task/add-favourites
2020-09-21 03:53:27 +09:00
Ammar Githam
05c0937c6f
Add Backup and restore. Update DirectoryChooser UI.
...
The updated backup and restore is backward compatible with old backup files. Just have updated the default file name and extension for newer backups.
2020-09-21 03:52:34 +09:00
Ammar Githam
056604d9bb
Handle newest_cursor and oldest_cursor not sent in response
2020-09-21 03:48:45 +09:00
Ammar Githam
7ea2ae853a
Fix Android Q leak. Reported by LeakCanary, more details here: https://issuetracker.google.com/issues/139738913
2020-09-21 03:45:58 +09:00
Austin Huang
63d30a9c2e
no more midnight coding
2020-09-19 23:34:09 -04:00
Austin Huang
6aead8ff2b
add material design icons attribution
2020-09-19 23:25:16 -04:00
Austin Huang
f9f3d4620b
Merge branch 'master' into pr/170
2020-09-19 22:54:52 -04:00
Austin Huang
d586bbf398
Merge pull request #166 from andersonvom/fix-swap-date-time-settings
...
Fix swap date time settings
2020-09-19 22:49:44 -04:00
Austin Huang
8dd6a8f90f
Merge pull request #168 from andersonvom/non-logged-likes
...
Improve CookieUtils
2020-09-19 20:16:53 -04:00
Ammar Githam
837c6ba8ad
Updated some icons and category in MorePreferencesFragment
2020-09-19 19:28:22 +09:00
Ammar Githam
644de57666
Fix navigation after logging in
2020-09-19 19:02:04 +09:00
Ammar Githam
444c51a36d
Reselect proper tab immediately after logging off
2020-09-19 18:48:58 +09:00
Ammar Githam
e89cf7af46
Keep follow requests at top in notification viewer
2020-09-19 17:17:43 +09:00
Ammar Githam
46014928df
Quick workaround for leftover refreshing status
2020-09-19 17:08:24 +09:00
Ammar Githam
07bb2f47f1
Fix posts duplication on profile follow/unfollow
2020-09-19 17:06:00 +09:00
Ammar Githam
3bf4aa86d0
Fix weird layout when keyboard is open and indexoutofbounds when fetching profile details
2020-09-19 16:54:37 +09:00
Anderson Mesquita
dd0f1e397c
Extract method to get cookie value
...
Currently, trying to get a `csrftoken` from an empty cookie string will
crash the application. This creates a helper method to extract a cookie
value given a cookie name by pattern matching on the cookie string and
returning the value if one is found.
Fixes : #167
2020-09-18 16:23:46 -04:00
Anderson Mesquita
890c4d32d1
Extract method to get longest cookie
...
This reduces duplication and makes it easier to know what `getCookie` is
doing, since all domains are now clustered together and it's easy to see
the difference between them..
2020-09-18 16:23:10 -04:00
Ammar Githam
9144110564
Merge branch 'master' into task/add-favourites
2020-09-19 04:26:48 +09:00
Ammar Githam
cf974a74f3
Add favorites, also fixes the hashtag follow, and some theming
2020-09-19 04:18:14 +09:00
Anderson Mesquita
68033cd0ec
Save "Swap time and date positions" checkbox state
...
Currently, if the user checks the option "Swap time and date positions",
leaves the settings modal and returns to it, the option will be
unchecked, even though the date and time are, indeed, swapped.
This saves the value of the "Swap time and date positions" option so
that it will match whatever state the user selected last.
Fixes : #165
2020-09-18 11:46:46 -04:00
Anderson Mesquita
29840f66c7
Switch isSwapTime conditional
...
This doesn't change behavior, but makes the variable `isSwapTime` match
the value of the checkbox state (`cbSwapTimeDate.isChecked()`). Now,
both of them will be either `true` or `false` together, instead of
having opposite values.
2020-09-18 10:55:47 -04:00
Austin Huang
8d388c17e5
Update CrashReporter.java
2020-09-17 10:30:04 -04:00
Austin Huang
7ac9c965e3
bibliogram theme, translation setup
2020-09-15 20:18:23 -04:00
Ammar Githam
027b356357
Fix recurring alert sound if notification not tapped
2020-09-15 19:25:32 +09:00
Ammar Githam
15eed4137a
Fix previous themes and add Material Dark theme (needs improvements)
2020-09-14 23:17:35 +09:00
Ammar Githam
e7cd0e0041
Add Barinsta Light theme
2020-09-13 23:55:17 +09:00
Ammar Githam
490956565a
Update most of the png images to their xml counterparts and remove unused png
2020-09-13 20:28:40 +09:00
Ammar Githam
ebdaae94d1
Initial commit for updated flow of themes. (Check description)
...
Removed DayNight theme. Added a 'white' theme for Light, and 'black' theme for Dark.
Users will have to set the type of Light or Dark theme they want to use.
Default is white for light, black for dark.
More themes will be added later.
2020-09-13 19:21:14 +09:00
Ammar Githam
c52f35bc3e
Convert AccountSwitcher dialog to a DialogFragment as the AlertDialog was causing a leak (detected by LeakCanary)
2020-09-12 21:39:43 +09:00
Ammar Githam
122d84fbf2
No more requireContext() as it is fail first. Instead use getContext() and check for null.
2020-09-12 17:51:50 +09:00
Ammar Githam
ee7f0a5c95
Remove unused layouts and rename StoryViewerFragment layout
2020-09-12 17:22:11 +09:00
Austin Huang
84caa633a3
oeuf
2020-09-11 20:53:24 -04:00
Austin Huang
aa6dab07cb
attempt to add a third-party storyviewer, plus logout without removing accounts
2020-09-11 20:46:20 -04:00
Ammar Githam
e560fd364b
Migrate from Glide to Fresco
2020-09-12 01:44:34 +09:00
Ammar Githam
08134ef5f1
Add activity checker service
2020-09-12 00:51:00 +09:00
Ammar Githam
60d9e64a57
Rename services package to webservices to avoid confusion with native Android services
2020-09-11 23:10:27 +09:00
Ammar Githam
37912854d0
Add activity/notification view fragment
2020-09-11 22:27:09 +09:00
Austin Huang
73a9e627d9
more crash resolution and home decor
2020-09-10 15:57:07 -04:00
Austin Huang
c9bd85cbf3
new about fragment
2020-09-10 15:29:02 -04:00
Ammar Githam
8049ddec45
Add about dialog back
2020-09-10 20:59:57 +09:00
Ammar Githam
9431d72e72
Search for telegram package only on demand
2020-09-10 20:54:32 +09:00
Ammar Githam
80044b5daf
Break down Utils into separate utility classes as Utils was getting bloated
2020-09-10 20:44:25 +09:00
Ammar Githam
6fa13a6fbb
Merge remote-tracking branch 'origin/task/update-feed-view' into task/update-feed-view
2020-09-10 19:40:19 +09:00
Ammar Githam
00762c85e6
Add account switcher in MorePreferencesFragment
2020-09-10 19:39:10 +09:00
Austin Huang
1cc21896b7
crash resolution
2020-09-09 15:59:16 -04:00
Austin Huang
3e7097ff6d
restoration of DM mark-as-seen setting
2020-09-08 16:04:09 -04:00
Austin Huang
e52c185ffe
Merge branch 'master' into pr/77
2020-09-08 15:46:58 -04:00
Austin Huang
43f77409ba
Update UpdateChecker.java
2020-09-08 15:46:19 -04:00
Austin Huang
1ea631e760
Merge branch 'master' into task/update-feed-view
2020-09-08 15:44:04 -04:00
Austin Huang
93b80a7147
implement F-Droid update checker
2020-09-08 15:42:12 -04:00
Ammar Githam
8b2ac8de3b
Merge remote-tracking branch 'origin/task/update-feed-view' into task/update-feed-view
2020-09-09 00:55:39 +09:00
Ammar Githam
149410d552
Hide search if default tab is not profile
2020-09-09 00:55:28 +09:00
Austin Huang
26b4d9d650
Merge branch 'master' into task/update-feed-view
2020-09-08 11:43:08 -04:00
Ammar Githam
31f6f735f2
Resolve Doc warning
2020-09-09 00:39:08 +09:00
Ammar Githam
3de2f4ea99
Fix auto play videos setting not correctly set
2020-09-09 00:38:49 +09:00
Ammar Githam
d4a28d6aa1
Handle null context! Need to add this check in all async listeners.
2020-09-09 00:38:20 +09:00
Ammar Githam
61851f2ef7
Fix long click in feed view and url click in profile view
2020-09-09 00:37:40 +09:00
Austin Huang
616ee86c5e
fix #126
2020-09-08 11:36:38 -04:00
Austin Huang
f1902e82e6
sorta fix #127
2020-09-08 11:32:31 -04:00
Austin Huang
8c2a5f9f16
fix #124
2020-09-08 11:25:37 -04:00
Ammar Githam
84ff0a23e1
Fix opening profile from dm settings view, removed various warnings
2020-09-08 21:27:04 +09:00
Ammar Githam
4fb1260074
Check logged in onCreate of ProfileFragment
2020-09-08 21:26:08 +09:00
Ammar Githam
c073cfc9be
Fix logged in check in SettingsPreferencesFragment
2020-09-08 21:25:19 +09:00
Ammar Githam
e1a13c7eee
Fix profile, location view when logged out
2020-09-08 20:27:13 +09:00
Ammar Githam
6b221c463b
Handle bottom nav and settings when logged out
2020-09-08 19:46:21 +09:00
Ammar Githam
8b502561c2
Specifically set Profile nav graph as default instead of using index, as the index may change if manNavList order is changed
2020-09-08 19:29:16 +09:00
Austin Huang
2d44033d3c
small polishings (see description)
...
* General (makeshift): Set default first-tab to be profile, adjust search button appearance logic, add fragment labels
* DM inbox items: Adjust group chat avatar sizes, reinstate unread indicators
* DM thread: Swap buttons per spirit of #122
* Profile: Fix story fetcher logic
* Story: Fix bug where first story can't scroll to next user, unify subtitle to timestamp, swap buttons per #122
* Comment: Unfocus replying comment when X is pressed
2020-09-07 16:01:44 -04:00
Austin Huang
fb86911324
beta release preparation + some toasts
2020-09-07 13:08:28 -04:00
Ammar Githam
ccfaa1c397
Open post from dm thread and handle ig links properly from within the app
2020-09-07 22:44:56 +09:00
Ammar Githam
0d7b5199ea
Reorganise settings, add update check setting
2020-09-07 22:08:49 +09:00
Ammar Githam
95b362970b
Remove unused files
2020-09-07 21:21:36 +09:00
Ammar Githam
466ac22d23
Handle intents (urls/share) from outside the app
2020-09-07 21:17:06 +09:00
Austin Huang
bdb8ee6d75
close #115 , close #118 , close #120 , close #123
2020-09-06 17:26:45 -04:00
Ammar Githam
17a5f978e8
Add setting for choosing default tab
2020-09-07 00:37:05 +09:00
Ammar Githam
c9d342471b
Add update checker back, with updated handling. Check description.
...
FlavorTown will check if current app was installed from F-droid and not show the update dialog if true.
You can now skip an update.
You can now force check for an update by clicking More -> Version (even if you set to skip the update).
2020-09-06 22:27:41 +09:00
Ammar Githam
00800590ba
Fix some linting
2020-09-06 18:26:44 +09:00
Ammar Githam
7e8fdda81b
Add updated profile pic viewer, and view stories from profile.
2020-09-06 18:25:27 +09:00