1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-15 19:27:31 +00:00
Commit Graph

1177 Commits

Author SHA1 Message Date
Ammar Githam
05f8b1b8e3 Migrate Navigation to 2.4.0-alpha4
1. 2.4.0 introduces multistack navigation. Which removes the need for NavigationExtensions
2. Organised all nav graphs into a single graph to remove global action redundancy.
2021-07-03 21:36:34 +09:00
Austin Huang
4984db4c5c
remove some unused resources 2021-07-01 20:38:14 -04:00
Austin Huang
0e788c9889
improve downloading (creating files)
* creating files is offloaded to task thread so it doesn't hang the ui
* add notification to inform the above happening
2021-07-01 20:26:34 -04:00
Austin Huang
b1f31ab736
remove unused code 2021-07-01 20:26:05 -04:00
Austin Huang
6fba483bd0
use ContentResolver instead of findFile/listFiles
seems to have made the downloaded badge much smoother although it did not improve downloading en masse...
2021-07-01 16:16:09 -04:00
Austin Huang
8dc128563a
close #517 2021-06-30 18:13:51 -04:00
Austin Huang
a6b2031950
more efficient way to search subdirs 2021-06-30 17:44:48 -04:00
Austin Huang
80787c7e5e
various story fixes, closes #1496 2021-06-30 11:32:39 -04:00
Austin Huang
19d3434dbf
convert stuff to kotlin 2021-06-29 22:43:17 -04:00
Austin Huang
49e348765b
Rename .java to .kt 2021-06-29 22:43:16 -04:00
Austin Huang
1c710f1bd4
make profile shares look better; close #1378 2021-06-29 21:47:23 -04:00
Austin Huang
5593860e6c
close #998 2021-06-29 17:10:39 -04:00
Austin Huang
da82759d19
close #1064 2021-06-29 16:59:42 -04:00
Austin Huang
4d9494cbcf
convert StoryModel to StoryMedia
close #1151, close #1208
2021-06-29 16:56:12 -04:00
Austin Huang
53b0301385
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-06-29 12:58:23 -04:00
Ammar Githam
e23f72f4d1 Remove unused param 2021-06-30 00:46:07 +09:00
Ammar Githam
16f0a34f55 Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-06-30 00:43:30 +09:00
Austin Huang
9e711638c4
remove hashtag and location stories
r/instagram said they were removed during the us election and never came back
2021-06-29 11:42:43 -04:00
Ammar Githam
27d919e6b2 Migrate ProfileFragment to kotlin and use viewmodel 2021-06-30 00:21:10 +09:00
Austin Huang
c326356acc
some story touch-ups 2021-06-29 11:07:38 -04:00
Austin Huang
7ead5046d9
convert HighlightModel usages (as archives) to Story 2021-06-29 11:07:01 -04:00
Austin Huang
f7ce2eeea2
convert HighlightModel usages (as highlights) to Story 2021-06-29 11:04:43 -04:00
Austin Huang
dbf0c66b41
convert stuff to kotlin 2021-06-29 10:12:07 -04:00
Austin Huang
7efe8aeee5
Rename .java to .kt 2021-06-29 09:54:13 -04:00
Austin Huang
817a16873c
convert FeedStoryModel to Story and Broadcast response data classes
there seems to be a toolbar problem with live stories, will check tomorrow
2021-06-28 22:34:02 -04:00
Austin Huang
aa175c5101
Rename .java to .kt 2021-06-28 22:34:01 -04:00
Austin Huang
37663ced30
make media shares look better 2021-06-28 17:04:20 -04:00
Austin Huang
b4b91c68e3
make placeholders look better 2021-06-28 17:01:14 -04:00
Austin Huang
8bf9f5f2cc
reading exact child from dm media shares
https://t.me/barinsta_app/21890
2021-06-28 16:14:28 -04:00
Austin Huang
3f6ed5f78b
sending dm media shares with exact child
https://t.me/barinsta_app/21890
2021-06-28 15:29:37 -04:00
Austin Huang
bf1a05a38c
restore slider position on resume 2021-06-28 15:29:02 -04:00
Austin Huang
10447cd633
expand broadcasting rich message by 1 argument
for stories and post children
2021-06-28 14:20:12 -04:00
Austin Huang
786c567cca
allow replying to replies 2021-06-28 12:02:34 -04:00
Austin Huang
5e016e3210
close #1447 2021-06-26 15:30:20 -04:00
Austin Huang
9c811a6291
show documentprovider error details 2021-06-26 13:56:47 -04:00
Austin Huang
bdad254f5d
close #1474 2021-06-24 18:17:18 -04:00
Austin Huang
3032a388f0
share profile (unfinished) 2021-06-24 13:01:23 -04:00
Austin Huang
38cc804a3f
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-06-24 11:27:48 -04:00
Austin Huang
73c6cc4a5a
close #1457 2021-06-24 11:27:36 -04:00
Ammar Githam
50c120eb75 Add user story and highlights fetch logic 2021-06-24 23:19:21 +09:00
Ammar Githam
63df44624e Add update favorite logic in ProfileFragmentViewModel and corresponding test 2021-06-24 20:41:48 +09:00
Ammar Githam
edb03ba3d8 Update ProfileFragmentViewModel and tests 2021-06-24 20:12:37 +09:00
Ammar Githam
976c9a86b6 Update ProfileFragmentViewModel 2021-06-23 22:07:38 +09:00
Ammar Githam
1ebf7a2e4b Update ProfileFragmentViewModel 2021-06-23 20:52:45 +09:00
Austin Huang
b1628492f5
convert some utils to kotlin 2021-06-22 19:23:41 -04:00
Austin Huang
9b76051dd5
Rename .java to .kt 2021-06-22 19:23:40 -04:00
Austin Huang
5c97bea3c2
trial: check downloaded using contentResolver.query
https://redd.it/bbejc4
2021-06-22 19:11:20 -04:00
Austin Huang
3dcc791cba
convert downloadutils to kotlin 2021-06-22 16:06:14 -04:00
Austin Huang
a7cb82354e
Rename .java to .kt 2021-06-22 16:06:13 -04:00
Austin Huang
44a20bb59a
close #1450 2021-06-22 13:19:55 -04:00
Austin Huang
832641603a
validate uri before writing pref
also made pref summary up-to-date
2021-06-22 12:12:42 -04:00
Austin Huang
d031998123
show proper error for download category 2021-06-22 12:11:16 -04:00
Austin Huang
ac4bb2e027
fix first-account crash due to backup? 2021-06-22 12:09:52 -04:00
Austin Huang
65624f0b42
patch downloaded check 2021-06-21 23:42:14 -04:00
Austin Huang
4a93d65253
proper share link chooser 2021-06-21 15:55:24 -04:00
Austin Huang
f04a5bd2c6
disable unfinished dm share profile 2021-06-21 15:44:28 -04:00
Austin Huang
3db95163f8
fix not detecting downloaded video 2021-06-20 15:07:15 -04:00
Austin Huang
ad69f7d382
saf cleanup, close #1439 2021-06-20 14:30:08 -04:00
Austin Huang
13dc310c5d
fix some string handling 2021-06-19 17:49:55 -04:00
Austin Huang
808c841e65
possible anonymous fix? 2021-06-19 17:25:40 -04:00
Austin Huang
dcd00ce60b
restore stories autoplay; close #1409 (main) 2021-06-19 12:39:58 -04:00
Austin Huang
c2ac61986f
close #1362 2021-06-19 12:10:56 -04:00
Austin Huang
7e45716e61
convert some utils to kotlin 2021-06-19 11:21:47 -04:00
Austin Huang
138a938423
Rename .java to .kt 2021-06-19 11:21:16 -04:00
Austin Huang
18de019c0d
remove legacy write-storage parts 2021-06-19 11:21:16 -04:00
Austin Huang
f657f61aa7
proper self-profile handling when offline; close #1328 2021-06-18 20:00:42 -04:00
Austin Huang
f340ab3d4c
add arabic, cc. @rex07 2021-06-18 17:59:28 -04:00
Austin Huang
e6ca59e4b4
chore: user-agent 2021-06-18 17:53:43 -04:00
Austin Huang
f33e371ee0
chore: strings 2021-06-18 17:51:01 -04:00
Austin Huang
7345ecefd0
option to disable auto backup; close #1433 2021-06-18 16:08:32 -04:00
Austin Huang
15e5d39f6b
convert SettingsHelper to kotlin (auto) 2021-06-18 14:15:46 -04:00
Austin Huang
95d3fb107a
Rename .java to .kt 2021-06-18 13:38:50 -04:00
Austin Huang
d4a20510ec
close #1339 2021-06-17 23:39:13 -04:00
Austin Huang
5ab794941e
convert switch back to if-then (auto) 2021-06-16 12:52:20 -04:00
Austin Huang
d76018596d
share profile by dm: preparation 2021-06-15 13:27:58 -04:00
Austin Huang
8edac65015
prepare broadcast options for profile/story 2021-06-14 21:54:14 -04:00
Austin Huang
079ce76bc3
simplify sharing media to dm 2021-06-14 21:41:11 -04:00
Austin Huang
64f421ad4f
pluralize dm recipient options, part 2 2021-06-14 21:41:02 -04:00
Austin Huang
a45844b50e
simplify replying to stories
no need to create thread before sending
2021-06-14 21:13:12 -04:00
Austin Huang
e89c1ac9ef
pluralize dm recipient options
as used in the official client
2021-06-14 21:12:52 -04:00
Austin Huang
95b90ab72f
Merge pull request #934 from ammargitham/support-android-11
Migrate to SAF (Storage Access Framework)
2021-06-14 13:53:30 -04:00
Austin Huang
bf22b86723
fix downloadworker; now functional 2021-06-13 22:22:53 -04:00
Austin Huang
c47272792e
resolve gson crash 2021-06-13 22:09:07 -04:00
Austin Huang
6ed9e8458f
initialize downloadutils on launch 2021-06-13 20:51:22 -04:00
Austin Huang
2038f57472
preference and post support (not functional) 2021-06-13 17:58:25 -04:00
Austin Huang
b287f96415
made pr buildable (not functional) 2021-06-13 17:21:34 -04:00
Austin Huang
f961c422ca
Merge branch 'master' into pr/934 2021-06-13 12:02:51 -04:00
Austin Huang
0d7db5237f
Merge pull request #1374 from Vonter/restore_scroll_favorites
Save and Restore scroll position on Favorites Tab - Issue #1359
2021-06-13 11:46:17 -04:00
Ammar Githam
70ffac3025 Add some ProfileFragmentViewModel logic and tests 2021-06-13 20:52:03 +09:00
Ammar Githam
1d9eb43442 Make currentUser in AppStateViewModel a Resource 2021-06-13 20:01:09 +09:00
Ammar Githam
de9a1e06a9 Add FavoriteRepository to ProfileFragmentViewModel constructor 2021-06-12 13:22:49 +09:00
Ammar Githam
77868838b9 Update how FavoriteDataSource and FavoriteRepository get initialised 2021-06-12 13:19:25 +09:00
Ammar Githam
8253328788 Add AccountRepository to ProfileFragmentViewModel constructor 2021-06-12 13:04:55 +09:00
Ammar Githam
06508ca78d Update how AccountDataSource and AccountRepository get initialised 2021-06-12 13:02:15 +09:00
Ammar Githam
dad2260ea2 Add GraphQLRepository to ProfileFragmentViewModel constructor 2021-06-12 12:43:15 +09:00
Ammar Githam
205e21b07c Move GraphQLService object to GraphQLRepository constructor parameter. 2021-06-12 12:39:55 +09:00
Ammar Githam
69b685ae0d Interchange GraphQLService and GraphQLRepository names. 2021-06-12 12:34:50 +09:00
Ammar Githam
2a0295e325 Add MediaRepository to ProfileFragmentViewModel constructor 2021-06-12 10:07:31 +09:00
Ammar Githam
58e0863de5 Move MediaService object to MediaRepository constructor parameter. 2021-06-12 10:03:21 +09:00
Ammar Githam
b2cbc18dbb Interchange MediaService and MediaRepository names. 2021-06-12 09:53:38 +09:00