1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-09-06 11:47:29 +00:00
Commit Graph

861 Commits

Author SHA1 Message Date
Austin Huang
7c5bc80469
New Crowdin updates (#271)
* New translations strings.xml (Indonesian)

* New translations arrays.xml (Indonesian)

* Update source file strings.xml

* New translations arrays.xml (Chinese Simplified)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Chinese Traditional)

* New translations arrays.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)
2020-11-13 22:55:50 -05:00
Austin Huang
ce2a74554e
fix #269 2020-11-13 18:44:33 -05:00
Austin Huang
ecc60cc0cd
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2020-11-13 18:37:49 -05:00
Austin Huang
f080495a94
New Crowdin updates (#270)
* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Spanish)
2020-11-13 18:37:38 -05:00
Austin Huang
44b431b533
fix feed oops 2020-11-13 18:37:19 -05:00
Austin Huang
0487d23907
proper locale country handling 2020-11-13 18:06:57 -05:00
Austin Huang
387a56faf5
allow anon viewing of comments 2020-11-13 17:29:17 -05:00
Austin Huang
4d16a94276
New Crowdin updates (#268)
* New translations strings.xml (Czech)

* New translations arrays.xml (Persian)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (French)

* New translations arrays.xml (German)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Macedonian)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Vietnamese)

* New translations arrays.xml (Indonesian)

* New translations arrays.xml (Hindi)

* New translations arrays.xml (Chinese Traditional)

* New translations arrays.xml (Czech)

* New translations strings.xml (Czech)
2020-11-13 17:28:53 -05:00
Austin Huang
f908e7b643
close #259, release prep, awaiting crowdin 2020-11-13 17:09:41 -05:00
Austin Huang
d9c510d9cb
New Crowdin updates (#255)
* Update source file strings.xml

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* New translations strings.xml (Hindi)

* Update source file strings.xml

* New translations strings.xml (Portuguese, Brazilian)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations arrays.xml (Spanish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Spanish)

* New translations arrays.xml (Spanish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Spanish)

* New translations arrays.xml (Spanish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Polish)

* Update source file arrays.xml

* New translations arrays.xml (Chinese Simplified)

* Update source file arrays.xml

* New translations arrays.xml (Chinese Traditional)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Hindi)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations arrays.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations arrays.xml (Hindi)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)
2020-11-13 14:49:47 -05:00
Austin Huang
f67d3a023c
version up, close #266, address half of #259
instagram is not returning most data in graphql anymore so mitigation has been implemented, but again they need to stop trampling on the rights of anonymous users
2020-11-13 14:19:26 -05:00
Ammar Githam
133abcca85 Comment/remove unused code 2020-11-11 20:20:14 +09:00
Ammar Githam
b6d0457a3e Fix string format warning due to incorrect format in locale string 2020-11-11 20:19:40 +09:00
Ammar Githam
9dedc09578 Hide like, save, comment for anonymous users. Fixes https://github.com/austinhuang0131/barinsta/issues/257 2020-11-11 20:17:54 +09:00
Ammar Githam
c1b5094dc7 Move activity notification viewer to its own nav graph. Fixes https://github.com/austinhuang0131/barinsta/issues/247 2020-11-11 20:04:38 +09:00
Ammar Githam
ebea1404c9 Add nav controller livedata null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/196 2020-11-11 19:27:14 +09:00
Ammar Githam
2c1f4aea9d Replace gif with webp for animated media 2020-11-10 22:41:22 +09:00
Ammar Githam
abd6dd1143 Wrapping super.onDestroy in try-catch in MainActivity to workaround NavController crash 2020-11-10 21:46:31 +09:00
Ammar Githam
b99ee88c97 Fix download progress notification not auto dismissed sometimes 2020-11-10 21:46:31 +09:00
Ammar Githam
60e5007376 Replace icafe with apache-commons-imaging 2020-11-10 21:46:30 +09:00
Ammar Githam
d14f2a098c Fix context leak due to static textview in settings 2020-11-10 21:46:30 +09:00
Still Hsu
61f286cb96
Add zh-tw localizations (#261) 2020-11-08 10:06:28 -05:00
Ammar Githam
90aa9bb954 Handle null bottomSheetBehavior 2020-11-08 15:48:48 +09:00
Austin Huang
16df666969
bad address 2020-11-07 16:10:18 -05:00
Austin Huang
4826434cca
add post date, fix detail hiding, and semver 2020-11-07 11:55:44 -05:00
Ammar Githam
e530a336a7 Scroll feed to top when bottom feed tab clicked 2020-11-07 20:26:20 +09:00
Ammar Githam
25b2b504cb save resource entry names in preferences instead of ids 2020-11-07 16:27:49 +09:00
Ammar Githam
e26a25e72f Fix Download request exceeding 10kb by creating temp file 2020-11-07 16:00:59 +09:00
Austin Huang
890fd529e6
update attributions 2020-11-06 19:05:15 -05:00
Austin Huang
c2b8d8cb4f
downloads use shortcode, and tagged post notification 2020-11-06 18:09:29 -05:00
Austin Huang
495a4a974f
restore share button 2020-11-06 17:49:29 -05:00
Ammar Githam
1c6cd348f4 Make buttons in PostView dialog title-less, and show the titles on long click 2020-11-07 02:57:22 +09:00
Ammar Githam
a83664d6d9 Fix hanging follow and DM buttons in private profile view 2020-11-07 01:01:24 +09:00
Ammar Githam
cc9cab9c15 Migrate Profile bio and url views to RamboTextViewV2 2020-11-07 00:52:04 +09:00
Ammar Githam
d0bfe73ae6 Add downloaded indicator to Posts view 2020-11-06 21:46:31 +09:00
Ammar Githam
450dbba6de Fix direct downloading and delete action when there are multiple image notifications 2020-11-06 03:37:17 +09:00
Ammar Githam
3ac2ee36aa Remove IPTC from downloaded JPG files 2020-11-06 03:34:01 +09:00
Austin Huang
09cf333cb0
close #215 2020-11-04 17:35:01 -05:00
Austin Huang
7678446ba6
fix story linked post, video post, and clicking back button too early on pvv2 2020-11-04 13:46:49 -05:00
Austin Huang
e32002fac8
fix fetching duplication 2020-11-04 13:18:20 -05:00
Austin Huang
bf9dcacd40
add #122 point 2 2020-11-04 13:02:23 -05:00
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
Ammar Githam
027b356357 Fix recurring alert sound if notification not tapped 2020-09-15 19:25:32 +09:00
Austin Huang
84127fb317
rebrand 2020-09-14 17:31:01 -04:00
ImgBotApp
6147e08c74
[ImgBot] Optimize images
*Total -- 240.52kb -> 190.04kb (20.99%)

/app/src/main/ic_launcher-playstore.png -- 128.45kb -> 85.16kb (33.7%)
/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -- 30.18kb -> 25.85kb (14.36%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -- 18.39kb -> 17.07kb (7.18%)
/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -- 14.89kb -> 13.88kb (6.76%)
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -- 11.38kb -> 11.20kb (1.56%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -- 28.19kb -> 27.88kb (1.09%)
/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -- 9.05kb -> 8.99kb (0.62%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-14 20:45:54 +00:00
Austin Huang
98420d0197
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2020-09-14 16:44:34 -04:00
Austin Huang
7e93383561
foreground 2020-09-14 16:44:24 -04:00
Austin Huang
7e52a94cb5
change of icon 2020-09-14 15:03:36 -04: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
31b94f17fc Fix actionMode styling 2020-09-13 21:53:06 +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
ad36331a06 No need for Image assets (.png) as Vector assets (.xml) work with AppCompat views 2020-09-13 19:27:46 +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
fb20deb9ee Remove ic_star in favor of ic_star_24 2020-09-13 19:16:36 +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
Ammar Githam
5c0ba88210 Make profile view appbar non elevated, and better scrolling effect 2020-09-12 17:17:36 +09:00
Ammar Githam
01fe50fa7d Convert profile view top from nested layout to flat constraint view 2020-09-12 16:51:22 +09:00
Ammar Githam
f514e8b34c Just rearrange the dependencies 2020-09-12 15:35:10 +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
93e8e25186 Add LeakCanary to detect leaks in debug builds 2020-09-12 01:56:15 +09: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
Austin Huang
1f2f526eb6
New Crowdin updates (#72)
* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Indonesian)

* New translations arrays.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Indonesian)
2020-09-08 15:28:11 -04:00
Austin Huang
36c1879c78
Merge branch 'master' into task/update-feed-view 2020-09-08 15:19:03 -04:00
Austin Huang
ca0868a564
v18.3 2020-09-08 15:16:56 -04:00
Ammar Githam
8e51773085 Fix parent and child comments view.
Separated out parent comment and dm item view to reduce handling of view visibility. Added the likes in parent and matched styles with child comments.
2020-09-09 01:47:46 +09: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
8ea82a1058 seems even discover is not allowed while logged out. So removing for logged out users. 2020-09-08 20:24:25 +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
Ammar Githam
6b0fe3ff78 Move viewmodels package to root directory 2020-09-06 15:06:36 +09:00
Ammar Githam
4130026cad Fixing codacy warnings/issues (Ongoing) 2020-09-06 03:51:41 +09:00
Ammar Githam
4efd2cb6ac Add highlights back to ProfileFragment 2020-09-06 03:34:16 +09:00
Ammar Githam
465defd1ff Remove stale imports 2020-09-06 02:07:09 +09:00
Ammar Githam
d967463493 Move fragments to their proper place 2020-09-06 02:05:43 +09:00
Ammar Githam
89bb79a8fc Add search back! 2020-09-06 02:02:54 +09:00
Ammar Githam
48b76c231a Fix pull to refresh in DiscoverFragment 2020-09-05 17:31:50 +09:00
Ammar Githam
3c90eebe7a Fix pull to refresh in FeedFragment, and add pull to refresh in ProfileFragment 2020-09-05 17:08:44 +09:00
Ammar Githam
437162639f Fix null favourites menu item, and add pull to refresh in feed 2020-09-05 16:59:43 +09:00
Ammar Githam
cc9348d8c5 Fix DM fragments, comment out deprecated activities 2020-09-05 16:16:11 +09:00
Ammar Githam
290ed50287 Convert follower activity to fragment 2020-09-05 03:19:06 +09:00
Ammar Githam
c64ae3a101 Convert comment viewer activity to fragment and update layouts 2020-09-05 02:38:36 +09:00
Austin Huang
7807fe7f59
eye candy and settings compatibility 2020-09-03 15:07:43 -04:00
Austin Huang
0694cf02e3
Merge branch 'master' into task/update-feed-view 2020-09-03 12:00:20 -04:00
Ammar Githam
93fc9d82b9 Converted SavedViewer activity to fragment 2020-09-04 00:15:53 +09:00
Austin Huang
885097341e
Update PostViewer.java 2020-09-03 10:00:01 -04:00
Ammar Githam
034dbfa147 Add like and save actions to post viewer fragment 2020-09-03 20:08:04 +09:00
Ammar Githam
2fd9589aaf Put redundant code in parent viewmodel 2020-09-03 18:49:41 +09:00
Ammar Githam
daa5a110f2 Fix viewmodels 2020-09-03 18:44:02 +09:00
Austin Huang
65d19d860e
fixed basic build errors, erase BasePostViewModel 2020-09-02 14:11:28 -04:00
Austin Huang
ce0302622e
final final resolution 2020-09-02 13:42:01 -04:00
Austin Huang
0f1ddda001
final resolution 2020-09-02 13:34:29 -04:00
Austin Huang
b62dc66032
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber into pr/77 2020-09-02 13:31:09 -04:00
Austin Huang
a7ec65d88f
conflict resolution 2020-09-02 13:20:19 -04:00
Ammar Githam
13cacf43f9 Added post viewer fragment. Updated almost all places to use this
Remaining places are SavedViewer and DirectMessageThreadFragment
2020-09-03 02:02:31 +09:00
Austin Huang
44db2db57f
Update MainHelper.java 2020-09-02 12:33:44 -04:00
Austin Huang
fd629aab7f
ok 2020-09-01 21:44:32 -04:00
Austin Huang
6263977917
fix notification 2020-09-01 20:21:45 -04:00
Austin Huang
01f8d1ca80
dumb mistake 2020-09-01 14:25:56 -04:00
Austin Huang
8cf98c2c0c
accommodate bad text sizes 2020-09-01 14:20:21 -04:00
Austin Huang
2e21f40044
v18.2 2020-09-01 14:06:58 -04:00
Austin Huang
c87311a68e
address #74, fix #76, fix #90, fix #104, fix #106 2020-09-01 13:37:00 -04:00
Ammar Githam
ded09ab237 Merge remote-tracking branch 'origin/task/update-feed-view' into task/update-feed-view 2020-08-30 23:29:31 +09:00
Ammar Githam
8f1a158b92 Nested navigation using global actions
Using a workaround for including global actions. This may change in the future releases of Navigation lib
2020-08-30 23:24:28 +09:00
Austin Huang
ac8481f247
Merge branch 'master' into task/update-feed-view 2020-08-30 10:13:36 -04:00
Austin Huang
a6c912c5d5
post location optimizations 2020-08-30 10:06:15 -04:00
Ammar Githam
649115a665 Add Location fragment 2020-08-30 21:51:47 +09:00
Ammar Githam
5c273d18a4 Add HashTag fragment 2020-08-30 20:45:37 +09:00
Ammar Githam
d73b71658d Adding deprecation annotation before pushing 2020-08-30 17:58:11 +09:00
Ammar Githam
6ee476b590 Complete almost all Profile actions using service 2020-08-30 17:55:27 +09:00
Ammar Githam
40e810e88c Preferences! Check description
1. Added preferences screens.
2. Some DM changes.
3. Init profile actions using services
2020-08-30 15:47:04 +09:00
Austin Huang
40cb975384
support dm message type "clip" (which is glorified "media_share" for reels) 2020-08-29 21:34:14 -04:00
Austin Huang
c3d92b8fc0
implement swipe-up sticker + refresh inbox list after sending message 2020-08-29 16:42:08 -04:00
Austin Huang
7b4c005513
fix #75, fix #94 (added error handling for suspicious situations) 2020-08-29 15:55:40 -04:00
Austin Huang
1fda45c01a
fix #100 2020-08-29 15:30:24 -04:00
Ammar Githam
3f6c74d671 Tabs! Fragments! WIP! 2020-08-29 17:01:42 +09:00
Austin Huang
86a90aff5c
fix android 6 cookie problem 2020-08-25 12:15:12 -04:00
Ammar Githam
e7ed3eb249 cleanup 2020-08-25 05:02:41 +09:00
Ammar Githam
93f7a58e54 Un-comment lines which were commented for debug 2020-08-25 05:02:18 +09:00
Ammar Githam
0608882127 Re-fix play/stop autoplaying videos when navigating away 2020-08-25 00:38:27 +09:00
Ammar Githam
3c94e827d3 Merge branch 'master' into task/separate-feed-item-views 2020-08-25 00:18:53 +09:00
Ammar Githam
da98cff507 Update Feed view, check description
Changes:

1. Separate out view holders for feed post types.
2. Improve performance for binding.
4. Initiating migration from Glide to Fresco, as performance of Fresco is way better.
3. Prefetch feed view thumbnails to get aspect ratio, to improve layout performance.
4. If auto play is off, the videos in feed are not loaded until play is pressed.
5. Lots of optimizations here and there.
2020-08-25 00:05:54 +09:00
Austin Huang
23269528fe
version up 2020-08-22 17:29:58 -04:00
Austin Huang
ae058813e0
stop notification toast 2020-08-22 17:09:36 -04:00
Austin Huang
4a439f74eb
optimize imports, add DM settings (init), add notification setting 2020-08-22 17:03:55 -04:00
Ammar Githam
0b183c5ab5 Rename main activity to MainActivity 2020-08-22 16:34:52 +09:00
Ammar Githam
edd95f6944 Rename InstaApp to InstaGrabberApplication 2020-08-22 16:34:52 +09:00
Ammar Githam
972c3f371c Remove null check for player 2020-08-22 16:27:47 +09:00
Ammar Githam
f6a224ec01 use .equals() for String 2020-08-22 16:22:53 +09:00
Ammar Githam
0fc2fe2faf Stop notification checker when app in background 2020-08-22 15:45:54 +09:00
Ammar Githam
b8278c0f99 Fix videos auto playing even when auto play is set to false 2020-08-22 15:33:59 +09:00
Austin Huang
88ad77d94c
java string bad 2020-08-21 21:27:38 -04:00
Austin Huang
0ac4030b5f
fix updater, me dumb 2020-08-21 21:12:26 -04:00
Austin Huang
8deb1b313b
New Crowdin updates (#66)
* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* Update source file strings.xml

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)
2020-08-21 20:48:24 -04:00
Austin Huang
37cfba3666
f-droid trial, fix #61, polish #65, fix invisible icon issue 2020-08-21 20:38:51 -04:00
Austin Huang
c57fbd9d8e
Merge pull request #65 from ammargitham/task/separate-dm-type-views
Task/separate dm type views
2020-08-21 19:44:07 -04:00
Ammar Githam
cbf5795a22 Revert liked variable to equal only user like 2020-08-21 22:45:07 +09:00
Ammar Githam
8e43519c5b Add mention click listener to reel share view 2020-08-21 22:44:24 +09:00
Ammar Githam
f7fb374aca Add viewholder for default (unhandled) dm item types 2020-08-21 21:23:48 +09:00
Austin Huang
b5e9a6f8d1
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2020-08-20 21:49:30 -04:00
Austin Huang
6e754acaba
fix #63 (not tested) plus direct download issue 2020-08-20 21:49:05 -04:00
Austin Huang
5066647b68
New Crowdin updates (#60)
* Update source file strings.xml

* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Turkish)

* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Turkish)

* New translations arrays.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* Update source file strings.xml

* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* Update strings.xml
2020-08-20 14:56:50 -04:00
Ammar Githam
052402a974 Merge branch 'master' into task/separate-dm-type-views 2020-08-20 23:04:17 +09:00
Ammar Githam
51138f9db0 Separate out individual DM message types to their respective views 2020-08-20 22:05:23 +09:00
Austin Huang
4b8e8dd8a3
refactor story reply 2020-08-19 22:06:35 -04:00
Austin Huang
4857b3bfa0
unsend messages and activity notification 2020-08-19 12:51:41 -04:00
Austin Huang
376f3e5d5a
finalization 2020-08-18 16:55:42 -04:00
Austin Huang
072cd63776
like dm messages & some polishing 2020-08-18 16:47:43 -04:00
Austin Huang
e5c0b376f6
Merge pull request #57 from ammargitham/feature/share-photos-dm
Feature/share photos dm
2020-08-18 11:24:24 -04:00
Ammar Githam
f9ef697111 Fix error when choosing image from Documents manager
Cannot rely on Uri.getPath to return absolute path to create File object. Instead get the inputstream and create Bitmap first.
2020-08-19 00:15:13 +09:00
Austin Huang
7f40fd83eb
login guard 2020-08-18 10:38:00 -04:00
Austin Huang
4feca45341
Merge pull request #51 from austinhuang0131/l10n_master
New Crowdin updates
2020-08-18 10:37:45 -04:00
Ammar Githam
4a73aa1179 allow uploading any type of image
Tested all formats (except MNG) from https://www.w3.org/People/mimasa/test/imgformat/
2020-08-18 22:22:16 +09:00
Ammar Githam
31a5c437f1 enable debug for resource leak (when close is not called) 2020-08-18 22:20:00 +09:00
Austin Huang
43b04a5ee1
fix #56 2020-08-17 15:02:14 -04:00
Ammar Githam
1fe721010d Fix names of the gen. sources due to file renames 2020-08-17 23:06:51 +09:00
Ammar Githam
74f2b6f268 Merge branch 'master' into feature/share-photos-dm 2020-08-17 23:00:00 +09:00
Ammar Githam
30695ae02f update direct messages
This commit sets up the base for future enhancements in direct messages. The changes are:

1. Introducing fragments and navigation using androidx.navigation.fragment.NavHostFragment.

2. Using ListAdapter and LiveData for the RecyclerViews.

3. Fixes a bug where a single direct message was lost when querying older messages.
2020-08-17 22:51:39 +09:00
Austin Huang
dc55f9f263
consistency 2020-08-16 14:25:45 -04:00
Austin Huang
b1b6ede675
fix #53, fix #54 (pending check), fix @RAMAR-RAR story seen, fix hashtag favourite 2020-08-16 13:42:11 -04:00
Ammar Githam
650062646d Allow sending image in dms
This commit streamlines the broadcast flow to handle both text and image messages in dms.
2020-08-16 18:21:09 +09:00
Ammar Githam
066a453aa8 move dm related Activities to their own package 2020-08-16 06:33:59 +09:00
Ammar Githam
68dbf59ef6 Add image upload icon to dms layout and handle click 2020-08-16 06:25:57 +09:00
Ammar Githam
8e4ae8fe09 null check 2020-08-16 06:14:57 +09:00
Ammar Githam
a0402c8bf3 Use TextUtils.join as String.join requires API level 26 2020-08-16 06:14:11 +09:00
Ammar Githam
0023c56688 rename variables to camelCase 2020-08-16 06:08:25 +09:00
Ammar Githam
2a068c4feb remove view check as listener attached only to that view 2020-08-16 06:06:14 +09:00
Ammar Githam
1a57969abe simplify logic 2020-08-16 06:04:50 +09:00
Ammar Githam
86b9feda4a organize code for readability 2020-08-16 06:02:46 +09:00
Ammar Githam
4e00d02f17 reformat code 2020-08-16 06:00:30 +09:00
Ammar Githam
6c478d8626 move CommentAction to its own file 2020-08-16 05:59:16 +09:00
Ammar Githam
78955cd73f setup CommentAction to be moved to its own file 2020-08-16 05:53:29 +09:00
Ammar Githam
7baa8c2b49 Move default ProfileModel object creation to ProfileModel class 2020-08-16 05:38:46 +09:00
Ammar Githam
fb51995c85 Rename DirectMesagesUserInbox to DirectMessageThread 2020-08-16 05:36:23 +09:00
Ammar Githam
0a8b7020b5 Simplify null and empty check 2020-08-16 05:33:04 +09:00
Austin Huang
bbd63d3b97 New translations strings.xml (Spanish) 2020-08-14 15:15:12 -04:00
Austin Huang
018ed16983
New Crowdin updates (#47)
* New translations strings.xml (Chinese Simplified)

* 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 (Russian)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Indonesian)

* New translations arrays.xml (Portuguese, Brazilian)

* Update source file arrays.xml

* New translations arrays.xml (French)

* New translations arrays.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations arrays.xml (Italian)

* New translations strings.xml (Italian)

* New translations arrays.xml (German)

* New translations strings.xml (German)

* New translations arrays.xml (Spanish)

* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* 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 arrays.xml (Indonesian)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Turkish)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Italian)
2020-08-14 14:24:11 -04:00
Austin Huang
a0a423f27a
oops 2020-08-14 14:18:11 -04:00
Austin Huang
0f8d4c741a
finalization 2020-08-14 13:05:42 -04:00
Austin Huang
6f120fffd4
downloader fix 2020-08-14 12:48:13 -04:00
Austin Huang
bb8f189784
they asked to change names and stuff 2020-08-13 21:02:24 -04:00
Austin Huang
ac8ccec703
fix shortcode null problem 2020-08-13 20:53:07 -04:00
Austin Huang
392b3f6510
separated profile view activity 2020-08-13 17:08:27 -04:00
Austin Huang
e02ef0aa09
fix #49, #50 and the saved issue 2020-08-13 13:21:26 -04:00
Austin Huang
04d9adbaec
pt-br init, also discover 2020-08-12 14:38:07 -04:00
Austin Huang
28b82eb930
New Crowdin updates (#46)
* New translations strings.xml (German)

* New translations arrays.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations arrays.xml (German)

* New translations strings.xml (German)

* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Indonesian)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Indonesian)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations arrays.xml (Spanish)

* New translations strings.xml (Spanish)
2020-08-11 20:28:02 -04:00
Austin Huang
280e5d44c0
v17.6 2020-08-11 15:01:00 -04:00
Austin Huang
7ddf356de9
layout finalization 2020-08-11 14:14:30 -04:00
Ammar Githam
c41ee1a25d Merge branch 'master' into feature/amoled-theme 2020-08-11 20:46:49 +09:00
Ammar Githam
31d02b3e12 Make Appbar in profile view scrollable 2020-08-11 20:44:51 +09:00
Austin Huang
23d43a360b
Merge pull request #38 from austinhuang0131/l10n_master
New Crowdin updates
2020-08-10 22:23:08 -04:00
Ammar Githam
c1b113e275 Add AMOLED dark theme 2020-08-10 16:33:19 +09:00
Austin Huang
f10fe0840b
fix #39, url opener, and login; rmbr write changelog later 2020-08-08 17:43:27 -04:00
Austin Huang
04420b8ef2 New translations strings.xml (Polish) 2020-08-08 15:53:45 -04:00
Austin Huang
526f1c3455 New translations strings.xml (Turkish) 2020-08-08 03:43:13 -04:00
Austin Huang
b9ee4d2b01 New translations strings.xml (Indonesian) 2020-08-08 01:43:42 -04:00
Austin Huang
7cfad36f71 New translations strings.xml (Indonesian) 2020-08-07 18:05:39 -04:00
Austin Huang
8c9a9b39e7
layout adjustments 2020-08-07 17:02:31 -04:00
Austin Huang
57755aea1c New translations arrays.xml (Indonesian) 2020-08-07 16:58:40 -04:00
Austin Huang
6f0c9e98ad
Merge pull request #37 from ammargitham/bugfix/fix-stories-horizontal-scroll-issue
Fix horizontal drag on stories scrolls tabs instead of stories
2020-08-07 14:01:16 -04:00
Austin Huang
caef82e0ad
New Crowdin updates (#34)
* 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 (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Indonesian)

* New translations arrays.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* Update source file strings.xml

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations strings.xml (Indonesian)
2020-08-07 13:19:29 -04:00
Austin Huang
5d70469d97
Merge remote-tracking branch 'origin/master' 2020-08-07 12:42:24 -04:00
Austin Huang
dbc1295be6
logout optimization 2020-08-07 12:42:14 -04:00
Ammar Githam
81baeb1b33 Fix horizontal drag on stories scrolls tabs instead of stories 2020-08-08 01:30:31 +09:00
Austin Huang
88ed4257c0
Merge branch 'master' into feature/scroll-stories-with-feed 2020-08-07 11:32:33 -04:00
Austin Huang
4e0f837ff3
various bug fixes 2020-08-07 11:31:25 -04:00
Ammar Githam
8ef3cc9293 scroll stories with feeds 2020-08-07 23:22:23 +09:00
Ammar Githam
53e4c4807b extract profile view and feed view in separate layout files 2020-08-07 23:14:58 +09:00