Commit Graph

570 Commits

Author SHA1 Message Date
Austin Huang 66d5ec7c2f
add postviewv2 to dm thread, and fix sidecar video 2020-11-04 11:26:29 -05:00
Ammar Githam bdcb32395b Various DM fixes (check description)
Use new download flow.
Fix blank space at top when scrolling.
Fix animated media.
2020-11-04 23:58:06 +09:00
Ammar Githam 850e119236 Allow opening PostViewV2Fragment from NotificationsViewerFragment, StoryViewerFragment and when opening from a Share dialog 2020-11-04 20:24:53 +09:00
Austin Huang a08167381f
cleanup 2020-11-03 20:30:07 -05:00
Ammar Githam a0084df46e Fix Unresolved Kotlin class error during release build 2020-11-03 21:58:47 +09:00
Ammar Githam 4579f2b37e Add download dialog 2020-11-03 19:01:59 +09:00
Ammar Githam 3393166b51 Merge remote-tracking branch 'origin/new-posts-grid' into new-posts-grid 2020-11-03 17:30:24 +09:00
Ammar Githam 895cf15623 Add multi selection mode to all new post view fragments. Fix Delete action in download notification. 2020-11-03 17:23:20 +09:00
Austin Huang 6ffa1c979f
Merge branch 'master' into new-posts-grid 2020-11-02 21:16:25 -05:00
Austin Huang c19ff317fd
comments and verified
* fix comments count on profile posts
* all comments should be visible now
* add verified badge to comments and post title
2020-11-02 21:12:18 -05:00
Austin Huang 92f7e04757
more general maintenance 2020-11-02 17:09:35 -05:00
Austin Huang 439c3009d5
New Crowdin updates (#248)
* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations arrays.xml (Persian)
2020-11-02 11:59:36 -05:00
Ammar Githam 81ce8ece94 Merge remote-tracking branch 'origin/new-posts-grid' into new-posts-grid 2020-11-02 22:03:45 +09:00
Ammar Githam ab4306ac0d Add Posts view to SavedViewerFragment 2020-11-02 22:00:07 +09:00
Austin Huang f3c50e87c4
small fixes and general maintenance (see desc)
* post view:
  1. show username in bold, and full_name on the side
  2. fix comment & control button hide timing
* layout: show username instead of full_name in grids
* profile: fix whitespace on avatar
* dm: add FELIX_SHARE as a message type
* general maintenance
2020-11-01 14:43:07 -05:00
Ammar Githam d9c30c99b7 Add Posts view to Location fragment 2020-11-01 21:56:04 +09:00
Ammar Githam 2931f2d3ab Add Posts view to Hashtag fragment 2020-11-01 20:34:42 +09:00
Ammar Githam c305b1a69a Merge remote-tracking branch 'origin/new-posts-grid' into new-posts-grid 2020-11-01 15:08:55 +09:00
Ammar Githam efd9a9c29d Update Discover tab 2020-11-01 15:02:54 +09:00
Ammar Githam 0a67e859e0 Add PostsRecyclerView to ProfileFragment 2020-10-27 20:33:21 +09:00
Austin Huang 77cc29d85c
New Crowdin updates (#240)
* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)
2020-10-24 14:50:52 -04:00
Austin Huang 99e1cbef93
download file name improvement 2020-10-24 13:13:16 -04:00
Austin Huang a0f608442a
Merge branch 'master' into pr/245 2020-10-24 12:31:14 -04:00
Austin Huang 225a99c432
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2020-10-24 12:22:15 -04:00
Austin Huang 960ac3e180
close #191, close #222 2020-10-24 12:21:54 -04:00
Austin Huang 262375b145
Merge branch 'master' into new-posts-grid 2020-10-24 11:48:01 -04:00
Ammar Githam 9b83c5e832 More updated. Handle clicks. Updated comments viewer, etc 2020-10-24 18:10:21 +09:00
Austin Huang 92c571e124
New Crowdin updates (#209)
* New translations strings.xml (Macedonian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Macedonian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Hindi)

* Update source file strings.xml

* New translations strings.xml (Italian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Hindi)

* New translations strings.xml (Polish)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Macedonian)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations arrays.xml (Hindi)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations arrays.xml (French)
2020-10-17 16:09:45 -04:00
Ammar Githam 6bf59e83ad Initial commit for new posts layout 2020-10-17 19:07:03 +09:00
Austin Huang ed4095a6ef
more fb messenger stuff 2020-10-04 10:30:52 -04:00
Austin Huang 6c5a0d539a
Update Constants.java 2020-10-04 10:26:23 -04:00
Austin Huang 4cf441773e
fb messenger experience 2020-10-04 10:24:32 -04:00
Austin Huang 84fd88024d
#214 2020-10-03 15:55:49 -04:00
Austin Huang 99bbad44c1
Update strings.xml 2020-10-03 10:18:59 -04:00
Austin Huang a7597d6dcf
New Crowdin updates (#184)
* New translations arrays.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Hindi)

* Update source file strings.xml

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Vietnamese)

* New translations strings.xml (Vietnamese)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations arrays.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Indonesian)

* New translations arrays.xml (Indonesian)

* New translations strings.xml (German)

* New translations arrays.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations arrays.xml (Polish)

* New translations strings.xml (Polish)

* New translations arrays.xml (Polish)

* New translations strings.xml (Hindi)
2020-10-01 09:16:21 -04:00
Austin Huang 03f52d5058
highlight fix, also better verified badge 2020-09-26 21:33:41 -04:00
Austin Huang 6393bbc02b
fix id-load logic & location suggestions 2020-09-26 21:02:31 -04:00
Ammar Githam 192d91f877 Merge branch 'master' of https://github.com/austinhuang0131/barinsta 2020-09-27 04:30:22 +09:00
Ammar Githam 9d2729add1 Fix login crash (read description)
In previous sdk Arrays.asList() returned a mutable list, but now returns immutable list.
2020-09-27 04:29:45 +09:00
Austin Huang e54a5965e9
removing iStoryStatusFetcher 2020-09-26 15:25:59 -04:00
Austin Huang b2540a2dcd
removing russian (since nobody translated it) 2020-09-26 14:57:12 -04:00
Austin Huang b6e9754b04
New Crowdin updates (#182)
* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Vietnamese)

* New translations arrays.xml (Vietnamese)

* New translations strings.xml (Macedonian)

* New translations arrays.xml (Macedonian)

* New translations arrays.xml (Indonesian)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Polish)

* New translations arrays.xml (German)

* New translations strings.xml (French)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (French)

* New translations strings.xml (Persian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hindi)

* Update source file arrays.xml

* Update source file strings.xml

* New translations arrays.xml (Vietnamese)
2020-09-26 14:52:54 -04:00
Austin Huang a0b43ce388
restore copy bio 2020-09-26 14:52:28 -04:00
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 358f696d2d Merge branch 'master' of https://github.com/austinhuang0131/barinsta 2020-09-27 00:39:37 +09: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
Austin Huang c0ee076846
New Crowdin updates (#171)
* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (Macedonian)

* New translations arrays.xml (Indonesian)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Italian)

* New translations arrays.xml (German)

* New translations arrays.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Persian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations strings.xml (Macedonian)

* Update source file arrays.xml

* Update source file strings.xml

* New translations strings.xml (Turkish)

* New translations arrays.xml (Persian)

* New translations arrays.xml (French)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (German)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Indonesian)

* New translations arrays.xml (Macedonian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Vietnamese)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Italian)

* New translations arrays.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Vietnamese)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Hindi)
2020-09-26 10:50:50 -04: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 ad0f683caa
Merge branch 'master' into pr/170 2020-09-20 09:31:32 -04:00
Austin Huang 37c301f54f
New Crowdin updates (#156)
* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (Macedonian)

* New translations arrays.xml (Indonesian)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Russian)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Italian)

* New translations arrays.xml (German)

* New translations arrays.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Persian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations strings.xml (Macedonian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations strings.xml (German)

* New translations arrays.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Indonesian)

* New translations arrays.xml (Indonesian)
2020-09-20 09:30:50 -04: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 d2b2e4e428 Replace expired.png with vector drawable 2020-09-19 19:42:50 +09: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 0e881ba7c5 Fix layout problem in notification item 2020-09-19 17:03:01 +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 0de0cb233e Fix build error on LGTM 2020-09-19 04:37:45 +09: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 10f2e51a2e
New Crowdin updates (#155)
* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Macedonian)

* New translations strings.xml (Persian)

* New translations strings.xml (Macedonian)
2020-09-15 20:19:24 -04:00
Austin Huang 7ac9c965e3
bibliogram theme, translation setup 2020-09-15 20:18:23 -04:00
Austin Huang 841f61f6cf
image stuff 2020-09-15 10:37:49 -04:00
Austin Huang 42c7414b8d
New Crowdin updates (#144)
* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (French)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Russian)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Italian)

* New translations arrays.xml (German)

* New translations arrays.xml (Spanish)

* New translations strings.xml (Persian)

* New translations strings.xml (French)

* New translations arrays.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations arrays.xml (Indonesian)

* Update source file arrays.xml

* Update source file strings.xml

* New translations arrays.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Persian)
2020-09-15 09:24:13 -04:00
Austin Huang ec07b1881f
Merge pull request #148 from austinhuang0131/imgbot
[ImgBot] Optimize images
2020-09-15 09:23:41 -04:00