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

633 Commits

Author SHA1 Message Date
Ammar Githam
d1a9393249 FeedModel null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/293 2020-11-19 19:00:14 +09:00
Ammar Githam
cc930c65b7 Null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/303 2020-11-19 18:52:40 +09:00
Ammar Githam
41e5fecbea Check if view is attached before animating controls. Should fix https://github.com/austinhuang0131/barinsta/issues/302 2020-11-19 18:49:06 +09:00
Ammar Githam
e449594253 Fix ProfileFragment for anon users 2020-11-19 02:41:30 +09:00
Ammar Githam
82e960d9fe Fix item decoration add/remove logic and one null check 2020-11-19 01:51:08 +09:00
Ammar Githam
e3cc99f62f Check highlight list before accessing. Fixes https://github.com/austinhuang0131/barinsta/issues/295 2020-11-19 01:36:30 +09:00
Ammar Githam
f01815f4ae Profile model null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/293 2020-11-19 01:29:59 +09:00
Ammar Githam
465627dd9c Temp workaround to fix https://github.com/austinhuang0131/barinsta/issues/282 2020-11-19 01:20:08 +09:00
Ammar Githam
5fdeeb7301 Add null and cast checks. Should fix https://github.com/austinhuang0131/barinsta/issues/278 2020-11-19 01:12:45 +09:00
Ammar Githam
d0c8e9f28c Comment out unused code 2020-11-19 01:01:55 +09:00
Ammar Githam
046152e30c Add comments fragment to dm navigation. Fixes https://github.com/austinhuang0131/barinsta/issues/276 2020-11-19 01:01:26 +09:00
Ammar Githam
2f957da290 Navigate to profile using nav id to workaround different compiled NavDirections 2020-11-19 01:00:33 +09:00
Ammar Githam
a6a4b6292d Make swipe up/down to dismiss post view more sensitive 2020-11-18 23:28:14 +09:00
Ammar Githam
23f3ef45c2 Fix binding change in ProfileFragment 2020-11-18 23:27:29 +09:00
Ammar Githam
e2bf09cc7f Fix missing semicolon 2020-11-18 22:18:23 +09:00
Ammar Githam
74cfe75058 Merge branch 'master' of https://github.com/austinhuang0131/barinsta 2020-11-18 22:06:37 +09:00
Austin Huang
22ab48d84a
New Crowdin updates (#272)
* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* 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 (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* New translations strings.xml (Hindi)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* 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 (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* New translations strings.xml (Hindi)

* Update source file strings.xml

* New translations arrays.xml (Hindi)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* Update source file strings.xml

* New translations strings.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hindi)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Hindi)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hindi)

* Update source file strings.xml

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations arrays.xml (Italian)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Italian)

* New translations strings.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hindi)

* Update source file strings.xml

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Hindi)

* New translations arrays.xml (Odia)

* New translations strings.xml (Odia)

* New translations arrays.xml (Odia)

* New translations strings.xml (Indonesian)

* New translations arrays.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Italian)

* New translations arrays.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations arrays.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Odia)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

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

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

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* New translations strings.xml (Hindi)
2020-11-17 21:47:21 -05:00
ImgBotApp
80146df609
[ImgBot] Optimize images
*Total -- 164.99kb -> 137.66kb (16.56%)

/app/src/main/ic_launcher-round.png -- 136.79kb -> 109.77kb (19.75%)
/fastlane/metadata/android/en-US/images/icon.png -- 28.19kb -> 27.88kb (1.09%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-11-18 01:36:47 +00:00
Austin Huang
3e08d8c5e5
Add files via upload 2020-11-17 20:36:07 -05:00
Austin Huang
957c34b39f
Merge remote-tracking branch 'origin/master' 2020-11-17 20:08:47 -05:00
Austin Huang
45ddfe7659
resource sweep 2020-11-17 20:07:27 -05:00
Austin Huang
354a4b09c8
Update AboutFragment.java 2020-11-17 10:24:09 -05:00
Austin Huang
ad1986804f
Update CrashReporter.java 2020-11-17 10:01:42 -05:00
Austin Huang
dde740aedf
Merge branch 'master' into master 2020-11-15 19:53:23 -05:00
Austin Huang
bf24f56843
redo follower/ing viewer
Follower/ing viewer now uses the i endpoint (which returns more users at once) as well as caching (less requests needed) so its response time has decreased significantly (to 1/3 in my case)
2020-11-15 19:51:00 -05:00
Ammar Githam
b3d41ccffa Some null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/274 2020-11-15 21:55:07 +09:00
Ammar Githam
fececb5fd2 Fix post open animation bug occurring on specific Android 10 devices. Should fix pt. 7 mentioned in https://github.com/austinhuang0131/barinsta/issues/264 2020-11-15 21:47:32 +09:00
Ammar Githam
c3de020f0e Fix Posts not opening for anon users 2020-11-15 15:01:02 +09:00
Ammar Githam
d48c72924a Check for null PostsLayoutPreferences before setting variable in fragments 2020-11-15 04:07:38 +09:00
Ammar Githam
6bfb6e1bf3 Put collapsing toolbar layout views in the main layout to improve scroll behaviour.
This removes the spaghetti required to make scroll behaviours work.
2020-11-15 04:07:38 +09:00
Austin Huang
519d46858b
Delete dialog_main_about.xml 2020-11-14 12:26:05 -05:00
Austin Huang
e046de6443
Revert "Add back missing strings"
This reverts commit 1fe6a0f3f1.
2020-11-14 11:09:44 -05:00
Ammar Githam
84467b60b5 Add preference tp disable post open animation, extract some strings to xml, fix one locale string. 2020-11-14 18:32:11 +09:00
Ammar Githam
1fe6a0f3f1 Add back missing strings 2020-11-14 16:54:36 +09:00
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