Commit Graph

2181 Commits

Author SHA1 Message Date
Ammar Githam a3383ab477 Convert CrashReporter to kotlin 2021-07-11 21:24:35 +09:00
Ammar Githam aee3fad59c Rename .java to .kt 2021-07-11 21:24:34 +09:00
Ammar Githam 864c9779ec Fix double navigation in SearchFragment 2021-07-11 20:56:32 +09:00
Ammar Githam efd3f8cff0 Fix scrolling issues 2021-07-11 20:24:04 +09:00
Ammar Githam 08ed3cd4d1 Update uCrop 2021-07-11 18:15:35 +09:00
Austin Huang 75213738ab
colour fixes and whatnot 2021-07-10 21:26:14 -04:00
Austin Huang 114a0b090e
navigation fixes related to more tab 2021-07-10 20:16:15 -04:00
Austin Huang c3a3daf569
remove redundant setRefreshing() 2021-07-10 18:02:58 -04:00
Austin Huang 96a377156d
Merge branch 'feature/multistack-navigation' of https://github.com/ammargitham/barinsta into pr/1542 2021-07-10 17:29:22 -04:00
Austin Huang 3dcb8c5c7d
Merge branch 'master' into pr/1542 2021-07-10 17:27:10 -04:00
Austin Huang e78135f85a
change waterfall layout
location is bugged, does affect visually but should not affect use
2021-07-10 17:15:46 -04:00
Austin Huang e6594e086c
remove redundant arguments in FeedItemCallback 2021-07-10 15:59:14 -04:00
Ammar Githam d7621e3d82 Merge branch 'master' into feature/multistack-navigation 2021-07-11 02:56:24 +09:00
Ammar Githam 74434aa3b3 Fix re-init of fragments on tab change 2021-07-11 02:37:29 +09:00
Austin Huang db8af26b35
fix sending videos through dm 2021-07-09 22:14:50 -04:00
Austin Huang 429549412a
fix notifications 2021-07-09 18:54:16 -04:00
Austin Huang 2082c97ed6
close #1555 2021-07-09 16:49:50 -04:00
Austin Huang d106ac5c0a
fix observer delegations 2021-07-09 15:20:56 -04:00
Austin Huang 57ffd32c83
close #1605 2021-07-09 15:17:32 -04:00
Austin Huang ce764ec82f
fix #1582, probably
not tested because i don't have this issue
2021-07-09 14:54:00 -04:00
Austin Huang 4cfb8e6a41
fix reel_share layout (date/check location) 2021-07-08 20:42:46 -04:00
Austin Huang 525cf37907
do not mark as seen more than once 2021-07-08 20:40:59 -04:00
Austin Huang c82080acf4
restore marking feed stories as seen 2021-07-08 16:51:46 -04:00
Austin Huang 585db4056a
fix following request not refreshing
(untested)
2021-07-08 16:51:17 -04:00
Austin Huang b1400e8e6f
change ratelimited info link
https://twitter.com/aldonogueira/status/1411390944595828738
2021-07-07 19:51:13 -04:00
Austin Huang 7d1dca07c1
close #1528 2021-07-07 17:28:05 -04:00
Austin Huang 40907a8bc1
close #1522 2021-07-07 17:23:58 -04:00
Austin Huang b135276fa2
try-catch for anonymous user parsing 2021-07-07 17:22:02 -04:00
Austin Huang 036edbea10
greatly fix all the follower/ing stuff
closes #1334 (assuming)
closes #1340 (by implementing API search)
closes #1342
closes #1472
closes #1473
2021-07-07 17:14:45 -04:00
Austin Huang e4612a0dd0
Rename .java to .kt 2021-07-07 17:14:44 -04:00
Ammar Githam 64600ceb04 Convert UserSearchFragment to kotlin and fix UserSearchMode 2021-07-07 16:29:44 +09:00
Ammar Githam 751259d430 Re-add ProfileFragmentViewModel params and fix tests 2021-07-07 15:09:33 +09:00
Austin Huang 390b3c384b
follow-up on merge (story directions) 2021-07-06 17:22:53 -04:00
Austin Huang f0a2feeaa8
Merge branch 'master' into pr/1542 2021-07-06 17:05:01 -04:00
Austin Huang fef2552bdf
actually support highlights and user stories
properly, meaning not trying to init another ProfileFragmentViewModel
2021-07-06 16:56:45 -04:00
Austin Huang 7e9e3b0fbf
re-implement viewing individual user stories 2021-07-06 15:30:37 -04:00
Austin Huang 379468d577
re-implement viewing highlights 2021-07-06 15:08:10 -04:00
Austin Huang cd1b1d5da2
some profile viewmodel refactoring 2021-07-06 12:35:19 -04:00
Austin Huang 7522b5f083
finish up stories viewer UI
close #537, close #1554
2021-07-06 11:26:24 -04:00
Austin Huang cade09aceb
remove SHOW_CAPTION setting 2021-07-06 11:23:53 -04:00
Austin Huang dd8fb8fadc
New Crowdin updates (#1464)
* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Russian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Polish)

* New translations strings.xml (Japanese)

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

* New translations strings.xml (Slovak)

* New translations strings.xml (Dutch)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Greek)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Russian)

* New translations strings.xml (Arabic)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Odia)

* Update source file strings.xml

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Greek)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Polish)

* New translations strings.xml (Japanese)

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

* New translations strings.xml (Slovak)

* New translations strings.xml (Dutch)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Greek)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Russian)

* New translations strings.xml (Arabic)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Odia)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Arabic)

* Update source file strings.xml

* New translations strings.xml (Polish)

* New translations strings.xml (Japanese)

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

* New translations strings.xml (Slovak)

* New translations strings.xml (Dutch)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Greek)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Russian)

* New translations strings.xml (Arabic)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Odia)

* New translations strings.xml (Spanish)

* New translations strings.xml (Basque)

* New translations strings.xml (Basque)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (French)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Polish)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Polish)

* New translations strings.xml (Japanese)

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

* New translations strings.xml (Slovak)

* New translations strings.xml (Dutch)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Greek)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Russian)

* New translations strings.xml (Arabic)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Odia)

* Update source file strings.xml

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Greek)

* New translations strings.xml (Spanish)

* New translations strings.xml (Odia)

* New translations arrays.xml (Odia)

* New translations strings.xml (Odia)

* New translations strings.xml (Odia)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Czech)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Basque)

* New translations strings.xml (Odia)

* New translations strings.xml (Odia)

* New translations strings.xml (Odia)

* New translations arrays.xml (Hindi)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Hindi)

* New translations strings.xml (Odia)

* New translations strings.xml (Polish)

* New translations strings.xml (Japanese)

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

* New translations strings.xml (Slovak)

* New translations strings.xml (Dutch)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Basque)

* New translations strings.xml (Greek)

* New translations strings.xml (Czech)

* New translations strings.xml (Catalan)

* New translations strings.xml (Spanish)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Russian)

* New translations strings.xml (Arabic)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Odia)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Greek)

* New translations strings.xml (Czech)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)
2021-07-06 10:03:44 -04:00
Austin Huang bb5244665b
story viewmodel (wip)
hiding the storylist doesn't work yet but everything else should be good
2021-07-05 20:11:58 -04:00
Ammar Githam 606fb986a2 Handle ActivityNotFoundException for OPEN_DOCUMENT_TREE. Fixes austinhuang0131/barinsta#1467 2021-07-06 07:48:12 +09:00
Ammar Githam 383485abec Handle invalid custom date time format. Fixes austinhuang0131/barinsta#1499 2021-07-06 07:40:25 +09:00
Ammar Githam 82d7555eee Change input setup flow. Fixes austinhuang0131/barinsta#1529 2021-07-06 06:50:18 +09:00
Ammar Githam 49780a61b0 Fix swipe to reply not working. Fixes austinhuang0131/barinsta#1570 2021-07-06 06:40:50 +09:00
Ammar Githam 65f46e4ca7 Add username check to prevent unnecessary fetch in ProfileFragmentViewModel 2021-07-06 06:22:06 +09:00
Austin Huang 31ea42d105
fix sticker properties 2021-07-05 16:33:25 -04:00
Austin Huang 1bba8dc065
share story via dm (backend) 2021-07-05 16:31:47 -04:00
Austin Huang 06f679608c
fix download extension parsing 2021-07-05 14:16:29 -04:00
Ammar Githam 0d35f37bbc Merge branch 'master' into feature/multistack-navigation 2021-07-04 22:05:27 +09:00
Ammar Githam 506e0c5685 Fix saved collections not refreshing properly on delete. Fixes austinhuang0131/barinsta#966 2021-07-04 20:32:46 +09:00
Ammar Githam 363b5c2d74 Downgrade roboelectric to 4.5.1 to fix build until AGP 7.
See
1. https://github.com/robolectric/robolectric/issues/6521
2. https://issuetracker.google.com/issues/159151549
2021-07-04 20:02:43 +09:00
Ammar Githam e67e8516cd Fix favorite tab missing for anonymous 2021-07-04 19:05:37 +09:00
Ammar Githam da637bf04e Merge branch 'master' into feature/multistack-navigation 2021-07-04 18:22:54 +09:00
Austin Huang 6285a24d85
Merge pull request #1504 from austinhuang0131/renovate/androidx.test.ext-junit-ktx-1.x
Update dependency androidx.test.ext:junit-ktx to v1.1.3
2021-07-03 14:29:09 -04:00
Renovate Bot 33c331906f
Update dependency androidx.test.ext:junit-ktx to v1.1.3 2021-07-03 18:28:24 +00:00
Austin Huang 5c0252a237
Merge pull request #1532
Update dependency org.robolectric:robolectric to v4.6
2021-07-03 14:27:39 -04:00
Austin Huang 1526b87375
Merge pull request #1526
Update dependency androidx.test:core to v1.4.0
2021-07-03 14:25:08 -04:00
Austin Huang 942300902d
Merge pull request #1527
Update dependency androidx.test:core-ktx to v1.4.0
2021-07-03 14:24:36 -04:00
Austin Huang 5af6bd4be1
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-07-03 14:14:29 -04:00
Austin Huang d4b6ca23cd
remove slider video view count
those don't exist anymore
2021-07-03 14:14:22 -04:00
Ammar Githam 55e9b17563 Remove 'Disable animation' from Posts layout preferences as it is not used 2021-07-04 02:57:42 +09:00
Ammar Githam a41d2a2f73 Make comments to animation follow disable transition preference 2021-07-04 02:52:37 +09:00
Ammar Githam 97490d5c0b Add back screen transitions with option to disable them 2021-07-04 02:40:38 +09:00
Ammar Githam 8a88f90281 Merge branch 'master' into feature/multistack-navigation 2021-07-04 01:14:07 +09:00
Austin Huang b27377d671
Merge pull request #1502 from austinhuang0131/renovate/androidx.core-core-1.x
Update dependency androidx.core:core to v1.6.0
2021-07-03 10:18:36 -04:00
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 2cc15dedbb
Merge pull request #1501 from austinhuang0131/renovate/androidx.camera-camera-view-1.x
Update dependency androidx.camera:camera-view to v1.0.0-alpha26
2021-07-02 16:12:28 -04:00
Austin Huang 3ce2ec5fdc
Merge pull request #1500 from austinhuang0131/renovate/androidx.camera-camera-camera2-1.x
Update dependency androidx.camera:camera-camera2 to v1.1.0-alpha06
2021-07-02 16:11:18 -04:00
Austin Huang e6ded62c59
Merge pull request #1531 from austinhuang0131/renovate/com.github.skydoves-balloon-1.x
Update dependency com.github.skydoves:balloon to v1.3.5
2021-07-02 16:06:48 -04:00
Renovate Bot 778e6b432e
Update dependency org.robolectric:robolectric to v4.6 2021-07-02 20:03:15 +00:00
Renovate Bot 2acd03692e
Update dependency com.github.skydoves:balloon to v1.3.5 2021-07-02 19:59:12 +00:00
Renovate Bot 7a8b5c715b
Update dependency androidx.test:core-ktx to v1.4.0 2021-07-02 15:24:50 +00:00
Renovate Bot 0e7a2ccb5d
Update dependency androidx.test:core to v1.4.0 2021-07-02 15:24:45 +00:00
Renovate Bot 9e5aa35f4b
Update dependency com.google.android.material:material to v1.4.0 2021-07-02 15:21:17 +00: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
Renovate Bot 19fa9bc960
Update dependency androidx.core:core to v1.6.0 2021-06-30 20:19:31 +00:00
Renovate Bot 655a0548e2
Update dependency androidx.camera:camera-view to v1.0.0-alpha26 2021-06-30 18:24:05 +00:00
Renovate Bot 79c4a5a62d
Update dependency androidx.camera:camera-camera2 to v1.1.0-alpha06 2021-06-30 17:11:30 +00:00
Austin Huang e8fd989558
Merge remote-tracking branch 'origin/master' 2021-06-30 11:32:58 -04:00
Austin Huang 80787c7e5e
various story fixes, closes #1496 2021-06-30 11:32:39 -04:00
Ammar Githam 4b22489f5f Fix profile details layout sometimes broken. Fixes austinhuang0131/barinsta#1495 2021-06-30 20:37:02 +09: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 3c0c9b3f26 Toggle debug minify 2021-06-30 00:44:16 +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