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

2123 Commits

Author SHA1 Message Date
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
Ammar Githam
02cb1f5db5 Add StoriesRepository to ProfileFragmentViewModel constructor 2021-06-12 08:54:00 +09:00
Ammar Githam
3d69148d9b Move StoriesService object to StoriesRepository constructor parameter. 2021-06-12 08:49:49 +09:00
Ammar Githam
4f8de4e7df Fix compile error 2021-06-12 08:42:12 +09:00
Ammar Githam
1191b416ce Interchange StoriesService and StoriesRepository names. 2021-06-12 08:37:22 +09:00
Austin Huang
8bb0fba4cb
close #1397 2021-06-11 12:24:25 -04:00
Ammar Githam
8f218b9515 Add FriendshipRepository to ProfileFragmentViewModel constructor 2021-06-10 17:03:24 +09:00
Ammar Githam
e1532eb4b8 Move FriendService object to FriendshipRepository constructor parameter. 2021-06-10 16:50:25 +09:00
Ammar Githam
0126fca36d Interchange FriendshipService and FriendshipRepository names. 2021-06-10 16:16:41 +09:00
Ammar Githam
ed8ca2da02 More groundwork for ProfileFragmentViewModel 2021-06-09 09:09:40 +09:00
Ammar Githam
eaac191588 Remove BaseService. Since RetrofitFactory was introduced, BaseService does nothing. 2021-06-09 08:46:34 +09:00
Ammar Githam
29d2b894d8 Interchange UserService and UserRepository names. Check description.
As per the sample provided at https://github.com/android/architecture-components-samples/tree/main/GithubBrowserSample, the Retrofit interfaces should be named Services and the classes using the services are Repositories.

Once all are properly named, we can move the db repositories inside the repositories package.
2021-06-09 08:40:13 +09:00
Austin Huang
6e2e3c139c
close #1336 2021-06-08 12:08:32 -04:00
Ammar Githam
54ff196bb1 Convert AppDatabase to kotlin 2021-06-08 22:39:00 +09:00
Ammar Githam
66b60e6830 Rename .java to .kt 2021-06-08 22:39:00 +09:00
Ammar Githam
d4bf5a57c2 Convert db entities to kotlin 2021-06-08 22:24:27 +09:00
Ammar Githam
34e2ba429c Convert Converters to kotlin 2021-06-08 21:29:47 +09:00
Ammar Githam
b7d74964fa Rename .java to .kt 2021-06-08 21:29:47 +09:00
Ammar Githam
64567359b7 Remove unused RepositoryCallback interface 2021-06-08 21:16:50 +09:00
Ammar Githam
003beec5b6 Convert RecentSearchDao, RecentSearchDataSource and RecentSearchRepository to kotlin 2021-06-08 21:15:27 +09:00
Ammar Githam
c49b44f212 Rename .java to .kt 2021-06-08 21:15:27 +09:00
Ammar Githam
22041df256 Convert DMLastNotifiedDao, DMLastNotifiedDataSource and DMLastNotifiedRepository to kotlin 2021-06-08 20:51:59 +09:00
Ammar Githam
3d0b18e422 Rename .java to .kt 2021-06-08 20:51:59 +09:00
Austin Huang
544d9f87bc
fix various comments bugs
1. redo ChildCommentsFetchResponse structure, stress-tested
2. navigation on more graph again
3. proper "next page" handling
2021-06-07 18:10:48 -04:00
Vonter
ae23dd74ba Merge branch 'austinhuang0131:master' into restore_scroll_favorites 2021-06-07 23:02:11 +05:30
Vonter
257d707c14
Change favorites tab scroll position restore to use StateRestorationPolicy 2021-06-07 22:16:17 +05:30
Renovate Bot
a2ebcfca34
Update dependency io.sentry:sentry-android to v5 2021-06-07 10:15:56 +00:00
Austin Huang
118fffc074
close #1333 2021-06-06 22:24:37 -04:00
Ammar Githam
4381d49aa9 Merge remote-tracking branch 'upstream/master' 2021-06-07 06:54:36 +09:00
Ammar Githam
76b246573d Convert FavoriteDao, FavoriteDataSource and FavoriteRepository to kotlin 2021-06-07 06:54:12 +09:00
Austin Huang
7f7db43870
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-06-06 15:43:52 -04:00
Austin Huang
5e631749b3
close #1384 2021-06-06 14:49:04 -04:00
Ammar Githam
c647e22293 Convert AccountDao, AccountDataSource and AccountRepository to kotlin 2021-06-06 20:59:56 +09:00
Ammar Githam
4a099ef20a Rename .java to .kt 2021-06-06 20:59:56 +09:00
Ammar Githam
6b499e3dfc Migrate DirectMessagesService to object 2021-06-06 20:11:36 +09:00
Ammar Githam
cae457aa9a Convert StoriesRepository and StoriesService to kotlin 2021-06-06 19:29:21 +09:00
Ammar Githam
a2cc4573e1 Rename .java to .kt 2021-06-06 19:29:21 +09:00
Ammar Githam
cf65ed0fc5 Convert FriendshipRepository and FriendshipService to kotlin 2021-06-06 14:18:27 +09:00
Ammar Githam
7769aa220f Rename .java to .kt 2021-06-06 14:18:26 +09:00
Ammar Githam
143a0ce259 Convert GraphQLRepository and GraphQLService to kotlin 2021-06-06 13:14:29 +09:00
Ammar Githam
dd3562116b Rename .java to .kt 2021-06-06 13:14:28 +09:00
Ammar Githam
a2bd2e4b53 Convert UserRepository and UserService to kotlin 2021-06-06 10:11:30 +09:00
Ammar Githam
6b24c907dd Rename .java to .kt 2021-06-06 10:11:30 +09:00
Ammar Githam
e56e4c17c9 Migrate MediaService to object 2021-06-06 09:43:19 +09:00
Ammar Githam
3f09c7d173 Convert User to kotlin 2021-06-05 19:58:01 +09:00
Ammar Githam
04aae488d9 Rename .java to .kt 2021-06-05 19:58:01 +09:00
Ammar Githam
faf299f6f0 Preparation for adding ProfileFragmentViewModel 2021-06-05 19:36:00 +09:00
Austin Huang
696a8c9c61
close #1383 2021-06-04 16:02:29 -04:00
Austin Huang
bcfe4819cb
close #1346 2021-06-04 15:51:59 -04:00
Austin Huang
8e1d5c66bd
close #1388 (i think) 2021-06-04 15:34:29 -04:00
Austin Huang
4a72d64a6d
close #1385 2021-06-04 15:29:36 -04:00
Austin Huang
aad93a9662
close #1386 2021-06-04 14:45:28 -04:00
Austin Huang
86ce7e5f05
close #1387 2021-06-04 14:38:03 -04:00
Ammar Githam
b997504602 Convert MediaRepository and MediaService to kotlin. 2021-06-04 07:17:24 +09:00
Ammar Githam
708e0fda5b Some code cleanup 2021-06-03 20:42:28 +09:00
Ammar Githam
8491d1aac7 Convert BitmapUtils to kotlin and migrate MediaUploader funcs to suspend 2021-06-03 20:40:13 +09:00
Ammar Githam
5756f055d9 Convert DownloadWorker to kotlin 2021-06-02 08:09:22 +09:00
Ammar Githam
9e65ee9d27 Rename .java to .kt 2021-06-02 08:09:21 +09:00
Ammar Githam
45e629ee61 Convert DirectMessageSettingsFragment to kotlin 2021-06-02 07:14:38 +09:00
Vonter
caa71faab1
added scroll position save and restore in favorites tab 2021-06-01 19:55:49 +05:30
Ammar Githam
01c944486d Convert DirectPendingInboxFragment to kotlin 2021-06-01 21:23:42 +09:00
Ammar Githam
ffafda0085 Rename .java to .kt 2021-06-01 21:23:42 +09:00
Ammar Githam
da41393177 Some refactoring and fixes 2021-06-01 20:54:20 +09:00
Ammar Githam
fd3b1a8d18 Convert DirectMessageInboxFragment to kotlin 2021-06-01 20:03:00 +09:00
Ammar Githam
652c57aa24 Rename .java to .kt 2021-06-01 20:03:00 +09:00
Ammar Githam
bcec6d373c Fix comment replies cursor 2021-06-01 18:16:54 +09:00
Ammar Githam
e6b791bd4d Merge remote-tracking branch 'upstream/master' 2021-06-01 06:46:31 +09:00
Ammar Githam
cc1741005b DirectMessagesRepository migrated to suspend functions 2021-06-01 06:45:36 +09:00
Austin Huang
d4307fc770
fix profile post graphql hash
might solve the problem where the app and browser has different ratelimits
2021-05-31 12:24:56 -04:00
Ammar Githam
0c77611e22 Missed gradle changes 2021-05-31 22:16:34 +09:00
Ammar Githam
741a997424 More suspend funs 2021-05-31 22:16:18 +09:00
Ammar Githam
538a1406a6 Merge remote-tracking branch 'upstream/master' 2021-05-31 20:56:06 +09:00
Ammar Githam
87e6e4440f Convert to kotlin, suspend funs, and viewModelScope 2021-05-31 20:55:22 +09:00
Ammar Githam
68bc9a7543 Rename .java to .kt 2021-05-31 20:55:22 +09:00
Austin Huang
d532d28ac3
convert some to kotlin 2021-05-30 20:51:54 -04:00
Austin Huang
7cf659c4f5
Rename .java to .kt 2021-05-30 20:51:54 -04:00
Austin Huang
a037b68f27
oops 2021-05-30 20:47:44 -04:00
Austin Huang
267096ff39
move private post warning to share dialog
i don't know if this works on android 10+ but eh
2021-05-30 20:02:18 -04:00
Austin Huang
241c9437c5
close #1360, close #1361 2021-05-30 19:23:09 -04:00
Austin Huang
972f71c480
convert some to kotlin 2021-05-30 19:07:58 -04:00
Austin Huang
37b4817bd7
Rename .java to .kt 2021-05-30 18:06:40 -04:00
Ammar Githam
ed092d7af0 Fix unresolved reference error. See description.
New okio version is not on the release classpath but it is on the debug classpath. Since leakcanary has move to it, but retrofit2 still uses old. So need to explicitly use old api in code and suppress the deprecation.
2021-05-30 20:55:00 +09:00
Ammar Githam
9d2cc10083 Use map directly 2021-05-30 00:03:45 +09:00
Austin Huang
e8ce2898b6
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-05-29 10:47:52 -04:00
Austin Huang
890139a287
comments redo (logged-in endpoint) 2021-05-29 10:46:23 -04:00
Ammar Githam
3db7b53757 Convert DirectThreadViewModel to kotlin and fix ThreadManager 2021-05-29 23:14:04 +09:00
Ammar Githam
ddac623184 Rename .java to .kt 2021-05-29 23:14:03 +09:00
Ammar Githam
59750b1026 Convert DM managers to kotlin 2021-05-29 22:22:28 +09:00
Ammar Githam
229cde6074 Rename .java to .kt 2021-05-29 22:22:28 +09:00
Ammar Githam
a19d16a26e Convert some web repo and service classes to kotlin 2021-05-29 01:30:01 +09:00
Ammar Githam
b179fb66c0 Rename .java to .kt 2021-05-29 01:30:01 +09:00
Ammar Githam
9830a04ec3 Handle '@' in username in ProfileFragment. Fixes austinhuang0131/barinsta#1337 2021-05-28 21:48:59 +09:00
Ammar Githam
cf0c420801 Convert CameraActivity to kotlin 2021-05-28 21:18:59 +09:00
Ammar Githam
f52cebf419 Rename .java to .kt 2021-05-28 21:18:59 +09:00
Ammar Githam
0c61439957 Fix favicon param can be nullable. Fixes austinhuang0131/barinsta#1353 2021-05-28 21:16:21 +09:00
Ammar Githam
5b9354324e init settingsHelper before setting up CrashReporter 2021-05-28 20:52:45 +09:00
Ammar Githam
c9f1e2eff4 Convert Login to kotlin 2021-05-28 09:00:16 +09:00
Ammar Githam
a49221775e Rename .java to .kt 2021-05-28 09:00:16 +09:00
Ammar Githam
631d55af85 Convert InstaGrabberApplication to kotlin 2021-05-28 08:49:41 +09:00
Ammar Githam
e0a13f7fb7 Rename .java to .kt 2021-05-28 08:49:41 +09:00
Ammar Githam
5452ea74f4 Convert BaseLanguageActivity to kotlin 2021-05-28 08:16:15 +09:00
Ammar Githam
31faadb930 Rename .java to .kt 2021-05-28 08:16:15 +09:00
Ammar Githam
a25e6e11c3 Convert MainActivity to kotlin 2021-05-26 22:44:48 +09:00
Ammar Githam
fda9d9e3c4 Rename .java to .kt 2021-05-26 22:44:47 +09:00
Austin Huang
83ac47b04a
Merge remote-tracking branch 'origin/master' 2021-05-25 22:47:42 -04:00
Austin Huang
b26cdb3d68
new story models 2021-05-25 22:47:27 -04:00
Austin Huang
af8111edad
convert wrappeduser 2021-05-25 22:13:48 -04:00
Austin Huang
23d35e7f52
Rename .java to .kt 2021-05-25 22:13:47 -04:00
Ammar Githam
77965f9634 Convert FavoritesViewModel to kotlin and optimise code 2021-05-25 07:36:47 +09:00
Ammar Githam
39687136dc Rename .java to .kt 2021-05-25 07:36:47 +09:00
Ammar Githam
d284a1901e Convert FavoritesFragment to kotlin 2021-05-25 06:45:07 +09:00
Ammar Githam
7f21eed5cf Rename .java to .kt 2021-05-25 06:45:07 +09:00
Ammar Githam
ce31554687 Fix Caption de-serialization 2021-05-25 02:08:46 +09:00
Ammar Githam
841c3bdbda Convert to kotlin 2021-05-25 01:58:37 +09:00
Ammar Githam
ebe6a176f1 Rename .java to .kt 2021-05-25 01:58:37 +09:00
Ammar Githam
eab6fea0ab Convert to kotlin 2021-05-25 01:22:59 +09:00
Ammar Githam
54a03e0d2b Rename .java to .kt 2021-05-25 01:22:59 +09:00
Ammar Githam
bc6fdd03d9 null checks and try with resources 2021-05-25 00:43:20 +09:00
Ammar Githam
c18e1ddb93 Convert to kotlin 2021-05-25 00:41:07 +09:00
Ammar Githam
c3e31ab81b Fix dm video upload 2021-05-24 23:40:08 +09:00
Ammar Githam
4b6ab15e26 Fix a variable name, add logging to upload video request and handle non json errors correctly. 2021-05-24 22:49:32 +09:00
Ammar Githam
5b10ecbd9d Added some todo 2021-05-24 20:29:05 +09:00
Ammar Githam
981cd693bf Remove the last usage of Date. austinhuang0131/barinsta#1309 2021-05-24 20:04:32 +09:00
Austin Huang
7e00dcc1b7
more #1309 2021-05-23 21:34:19 -04:00
Austin Huang
2395b3b892
remake date formatter 2021-05-23 20:51:29 -04:00
Ammar Githam
5f217829b8 update null checks 2021-05-24 08:56:23 +09:00
Ammar Githam
d611006438 Convert Emoji parsing utils to kotlin. austinhuang0131/barinsta#1311 2021-05-24 08:45:41 +09:00
Ammar Githam
2ac05569e1 Rename .java to .kt 2021-05-24 08:45:41 +09:00
Ammar Githam
b273bff738 Replace some usages of Date with LocalDateTime. austinhuang0131/barinsta#1309 2021-05-23 21:58:19 +09:00
Ammar Githam
c784ca937d Fix FriendshipStatus variable names 2021-05-23 20:17:52 +09:00
Ammar Githam
51f3a348b7 Add some TODO 2021-05-23 20:03:34 +09:00
Ammar Githam
7ca0d513dc Null check 2021-05-23 17:11:12 +09:00
Ammar Githam
7dc3732e3e Convert to kotlin 2021-05-23 17:10:49 +09:00
Ammar Githam
a808d600bb Rename .java to .kt 2021-05-23 17:10:49 +09:00
Ammar Githam
d7462109db Convert to kotlin 2021-05-23 16:48:27 +09:00
Ammar Githam
333e0faed5 Rename .java to .kt 2021-05-23 16:48:27 +09:00
Ammar Githam
742b696d17 Share posts via DM. Resolves part of austinhuang0131/barinsta#537 2021-05-23 15:57:01 +09:00
Ammar Githam
0dfdc4bb41 Replace Toast with Tooltip in PostViewV2Fragment. Fixes austinhuang0131/barinsta#1264 2021-05-23 12:10:42 +09:00
Ammar Githam
0986f2fb71 Remove pk from Caption constructor, to resolve deserialization exception when pk sent by api is a string 2021-05-23 12:09:54 +09:00
Ammar Githam
027d2c634a Show post view toasts near the views 2021-05-23 11:47:15 +09:00
Ammar Githam
30257a953f Further fixes for post view layout problem for some posts 2021-05-23 11:39:16 +09:00
Ammar Githam
09306049d5 Add reddit post to rate limit dialog 2021-05-23 10:35:42 +09:00
Renovate Bot
303b04be55
Update dependency com.github.ammargitham:AutoLinkTextViewV2 to v3.2.0 2021-05-23 00:12:00 +00:00
Ammar Githam
ce4203e5ea Update AutoLinkTextViewV2. Fixes austinhuang0131/barinsta#1204 2021-05-23 08:47:51 +09:00
Ammar Githam
b3680584bf Fix fullscreen mode showing bottom nav bar and fix austinhuang0131/barinsta#1292 2021-05-23 08:07:49 +09:00
Ammar Githam
505d5acef3 Merge remote-tracking branch 'upstream/master' 2021-05-23 06:31:04 +09:00
Ammar Githam
13bfc9cb84 Convert some retrofit response classes to kotlin 2021-05-23 06:26:33 +09:00
Austin Huang
d5897d83e7
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-05-22 16:22:28 -04:00
Austin Huang
c003cf5900
convert some more classes to kotlin 2021-05-22 16:22:16 -04:00
Austin Huang
1ad2b3e72b
Rename .java to .kt 2021-05-22 16:22:15 -04:00
Austin Huang
c5f20676f4
Rename .java to .kt 2021-05-22 16:19:00 -04:00
Austin Huang
f4fb26d934
New Crowdin updates (#1170)
* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Italian)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Korean)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Korean)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Korean)

* New translations strings.xml (Russian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Korean)

* New translations strings.xml (Korean)

* New translations strings.xml (Polish)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

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

* New translations strings.xml (Dutch)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Russian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Catalan)

* New translations strings.xml (Basque)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Korean)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Greek)

* New translations strings.xml (Italian)

* New translations strings.xml (Polish)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

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

* New translations strings.xml (Dutch)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Russian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Catalan)

* New translations strings.xml (Basque)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Korean)

* Update source file strings.xml

* New translations strings.xml (Greek)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (Italian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Japanese)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Russian)

* New translations arrays.xml (Dutch)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

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

* New translations strings.xml (Dutch)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Russian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Catalan)

* New translations strings.xml (Basque)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Korean)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* Update source file strings.xml

* New translations strings.xml (Polish)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

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

* New translations strings.xml (Dutch)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Russian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Catalan)

* New translations strings.xml (Basque)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Korean)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (Polish)

* New translations strings.xml (Dutch)

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

* New translations strings.xml (Slovak)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Greek)

* New translations strings.xml (Basque)

* New translations strings.xml (Catalan)

* New translations strings.xml (Spanish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Russian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (Korean)

* Update source file strings.xml

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Polish)

* New translations strings.xml (Dutch)

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

* New translations strings.xml (Slovak)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Greek)

* New translations strings.xml (Basque)

* New translations strings.xml (Catalan)

* New translations strings.xml (Spanish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Russian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (French)

* New translations strings.xml (Korean)

* Update source file strings.xml

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Czech)

* Update source file arrays.xml

* New translations arrays.xml (Greek)

* New translations arrays.xml (Slovak)

* New translations arrays.xml (Odia)

* New translations arrays.xml (Hindi)

* New translations arrays.xml (Persian)

* New translations arrays.xml (Indonesian)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Vietnamese)

* New translations strings.xml (Chinese Traditional)

* New translations arrays.xml (Chinese Traditional)

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

* New translations arrays.xml (Polish)

* New translations arrays.xml (Dutch)

* New translations arrays.xml (Macedonian)

* New translations arrays.xml (Japanese)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Basque)

* New translations arrays.xml (Czech)

* New translations arrays.xml (Catalan)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (French)

* New translations arrays.xml (Swedish)

* New translations arrays.xml (Korean)

* New translations strings.xml (Greek)

* New translations strings.xml (Italian)

* New translations strings.xml (Greek)
2021-05-22 14:00:10 -04:00
Austin Huang
974a846185
convert some more classes to kotlin 2021-05-22 12:35:38 -04:00
Austin Huang
1a7d5082ba
Rename .java to .kt 2021-05-22 12:35:38 -04:00
Austin Huang
c2b46c4319
fix "post not found" message when it actually works 2021-05-22 12:35:18 -04:00
Austin Huang
43b2d37c4f
fix #1300 2021-05-22 12:12:57 -04:00
Ammar Githam
dde8fd37e3 Fix stories parsing 2021-05-22 20:27:32 +09:00
Ammar Githam
17fb608c34 Convert some more classes to kotlin 2021-05-22 20:10:53 +09:00
Ammar Githam
746925e54d Rename .java to .kt 2021-05-22 20:10:52 +09:00
Ammar Githam
0c7fb20b2b Merge branch 'master' of https://github.com/austinhuang0131/barinsta
Merge branch 'master'
2021-05-22 18:03:03 +09:00
Ammar Githam
84e93431ae Add Kotlin and convert some model classes to kotlin 2021-05-22 17:58:18 +09:00
Austin Huang
4a9bf1119e
show bottom navigation in pvv2 2021-05-21 16:00:40 -04:00
Austin Huang
a351b57b80
Update LocaleUtils.java 2021-05-21 15:18:40 -04:00
Austin Huang
4f7f2c9f79
release prep 2021-05-21 15:11:24 -04:00
Austin Huang
1c93a99533
add new languages 2021-05-21 14:54:12 -04:00
Austin Huang
98d7260927
fix archive viewing bug 2021-05-21 14:21:44 -04:00
Austin Huang
397829942f
fix notification layout that cuts off at the bottom 2021-05-21 13:49:22 -04:00
Austin Huang
608f1ca41e
unconfuse string 2021-05-21 13:34:45 -04:00
Austin Huang
ec9e28bc09
close #1267 and also simplify FriendshipService 2021-05-21 12:23:24 -04:00
Austin Huang
e726ba3ccf
replace DownloadCheckerAsyncTask, close #825 2021-05-20 15:21:00 -04:00
Austin Huang
447ef0d660
replace CreateThreadAction 2021-05-20 15:07:09 -04:00
Austin Huang
a812161185
Merge pull request #1201 from tcely/issue-1178
Use Uri.parse for IntentUtils.parseUrl
2021-05-19 17:01:10 -04:00
Austin Huang
42dfe01220
"ig.me/u/..." doesn't exist anymore? so removed it 2021-05-19 17:00:36 -04:00
tcely
9a889ef385
fix size comparison & handle empty paths list 2021-05-19 15:19:44 -04:00
Austin Huang
8ef12077e1
Merge pull request #1279 from austinhuang0131/renovate/androidx.core-core-1.x
Update dependency androidx.core:core to v1.6.0-beta01
2021-05-19 14:48:16 -04:00
Renovate Bot
bcaaeb0bd1
Update dependency org.junit.jupiter:junit-jupiter to v5.7.2 2021-05-19 17:18:04 +00:00
Renovate Bot
c38a622209
Update dependency androidx.core:core to v1.6.0-beta01 2021-05-19 17:14:09 +00:00
Austin Huang
b5bad43630
Merge pull request #1233 from austinhuang0131/renovate/androidx.room-room-runtime-2.x
Update dependency androidx.room:room-runtime to v2.3.0
2021-05-19 13:10:34 -04:00
Austin Huang
5a682011a5
Merge pull request #1257 from austinhuang0131/renovate/androidx.room-room-testing-2.x
Update dependency androidx.room:room-testing to v2.3.0
2021-05-19 13:10:21 -04:00
Austin Huang
e3da94c925
user agent maintenance 2021-05-19 13:05:53 -04:00
Austin Huang
55624dbdce
Merge pull request #1219 from raniapl/raniapl/development
Disable scrolling on empty profiles - Fix issues #1093, #1135, #1061
2021-05-19 12:57:46 -04:00
Austin Huang
62f63a33a3
retire PostFetcher 2021-05-19 12:38:29 -04:00
Austin Huang
3a690681ad
allow more tab (if selected as home) to open posts 2021-05-19 12:38:16 -04:00
Austin Huang
af4aaf6e2a
remove direct download function 2021-05-19 12:06:59 -04:00
Austin Huang
3cc5040110
close #1268 2021-05-19 12:06:34 -04:00
Ammar Githam
644f2ddff8 Add some null checks and formatting. 2021-05-19 20:09:49 +09:00
Ammar Githam
f501f68f98 Merge branch 'master' into raniapl/development 2021-05-19 19:55:14 +09:00
Austin Huang
efb5818a65
post shortcode converter 2021-05-18 22:11:16 -04:00
Austin Huang
bf80104b1a
it doesn't even work... 2021-05-18 18:21:43 -04:00
Austin Huang
5fa52424d7
Merge remote-tracking branch 'origin/master' 2021-05-18 18:09:58 -04:00
Austin Huang
65addf8c92
intent test cases for #1201 2021-05-18 18:09:40 -04:00
Austin Huang
a462f1e6b2
Merge pull request #1190 from raniapl/stamatiap/development
add an alert dialog for swipe up link - fix issue #1101
2021-05-18 17:15:33 -04:00
Austin Huang
f85daef6ea
remove redundant import 2021-05-18 17:15:09 -04:00
Austin Huang
78caa4286a
fix indentations 2021-05-18 17:14:28 -04:00
Austin Huang
5c0598502a
comment out unused stuff 2021-05-18 16:43:22 -04:00
Austin Huang
d5e75d16c3
long-clicking a discover topic should now show cover post 2021-05-18 16:43:11 -04:00
Austin Huang
f4d1575edb
close #1263 2021-05-18 16:24:37 -04:00
Austin Huang
4161c7bc4d
close #1271 2021-05-18 16:21:30 -04:00
Austin Huang
256a2ae88d
option to show keyboard immediately on search, close #1261 2021-05-18 15:48:28 -04:00
Austin Huang
bedae1804f
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-05-18 15:39:24 -04:00
Austin Huang
ba0d51d0b6
migrate preference keys 2021-05-18 14:54:26 -04:00
Austin Huang
85ac7478eb
fix string grammar 2021-05-18 14:48:23 -04:00
Rania Pilioura
c0cc45bcc3 Format code 2021-05-17 05:51:56 +03:00
Rania Pilioura
89139618a5 Add margin between chat bubble and bottom controls in DM
Similar previous commmit was reverted
Fix #1135
2021-05-17 05:44:19 +03:00
Rania Pilioura
86b724d998 Disable scrolling on blank or private profiles
works with MotionLayout
See #1219
2021-05-17 05:38:30 +03:00
Rania Pilioura
3ca326d520 Merge remote-tracking branch 'upstream/master' into raniapl/development 2021-05-17 03:14:53 +03:00
stamatiap
892bfa336f Merge branch 'stamatiap/development' of https://github.com/raniapl/barinsta into stamatiap/development 2021-05-16 10:10:52 +03:00
Stamatia Papageorgiou
cdb566a160 Merge branch 'austinhuang0131:master' into stamatiap/development 2021-05-16 10:09:08 +03:00
stamatiap
407f0680c1 make changes in dialog 2021-05-16 10:00:16 +03:00
Austin Huang
23b7119846
null check to avoid launch crash
immediately hitting the feed tab after launch will produce the following crash, so this resolves it by a null check:

```
java.lang.NullPointerException: Attempt to read from field 'awais.instagrabber.customviews.PostsRecyclerView awais.instagrabber.databinding.FragmentFeedBinding.feedRecyclerView' on a null object reference
	at awais.instagrabber.fragments.main.FeedFragment.scrollToTop(FeedFragment.java:461)
	at awais.instagrabber.utils.NavigationExtensions.lambda$setupItemReselected$2(NavigationExtensions.java:190)
	at awais.instagrabber.utils.-$$Lambda$NavigationExtensions$C3II1R-NOFB80ERAxio06uf3Qto.onNavigationItemReselected(Unknown Source:4)
...
```
2021-05-15 20:40:02 -04:00
Austin Huang
fc70129c96
close #1040 (probably) 2021-05-15 12:53:00 -04:00
Austin Huang
f89f0ef542
add a simple user constructor 2021-05-15 12:52:31 -04:00
Ammar Githam
37edc0171e Pause story player in onPause instead of releasing it. Fixes austinhuang0131/barinsta#1060 2021-05-15 13:27:51 +09:00
Ammar Githam
b3cd83ad31 Fix clicking story from story list after searching opens wrong story. Fixes austinhuang0131/barinsta#1189 2021-05-15 13:21:58 +09:00
Ammar Githam
e4c4f099e5 Make location single line with ellipsis. Fixes austinhuang0131/barinsta#1212 2021-05-15 12:47:22 +09:00
Ammar Githam
e1057c8781 Fix sending videos in DM. Fixes austinhuang0131/barinsta#1217 2021-05-15 12:44:03 +09:00
Ammar Githam
2f44255584 Some refactoring 2021-05-15 11:47:43 +09:00
Ammar Githam
5daec513ba Fix post view button colors wrong for some themes 2021-05-15 11:47:30 +09:00
Ammar Githam
eb1e55470a Fix null menuItemView warnings 2021-05-15 11:46:15 +09:00
Ammar Githam
1e94c73e10 Fix feed stories not rendered if app goes in background immediately after startup. Fixes austinhuang0131/barinsta#1258 2021-05-15 08:21:38 +09:00
Ammar Githam
7797ca3205 BottomNavBar: update deprecated method calls 2021-05-15 07:38:00 +09:00
Ammar Githam
988033f5fd Fix verified, private icons in profile details shifting when scrolling 2021-05-15 07:07:27 +09:00
Ammar Githam
78cfa32a83 Fix navigating away from post view causing app resize 2021-05-15 06:51:33 +09:00
Austin Huang
429bcc4e91
fix #1255 2021-05-14 15:00:31 -04:00
Austin Huang
1e2cf4f3a9
Merge pull request #1229 from raniapl/stamatiap/fixissue1075
fix highlight title - issue #1075
2021-05-14 14:08:23 -04:00
Renovate Bot
56a9f42df2
Update dependency androidx.room:room-testing to v2.3.0 2021-05-14 17:34:15 +00:00
Rania Pilioura
e8a4477cbc Merge branch 'master' into raniapl/development 2021-05-14 14:51:50 +03:00
Rania Pilioura
78484a86ac Trying to solve merge conflicts
disable scrolling functionality first try removed
2021-05-14 14:19:59 +03:00
Ammar Githam
cf71ca682e Update keyboard/emojipicker visiblity logic. Fixes austinhuang0131/barinsta#1181. Also check description.
This commits adds some special handling for Android 11+ users regarding keyboard visibility. Check https://github.com/android/user-interface-samples/tree/master/WindowInsetsAnimation.
2021-05-14 00:53:23 +09:00
Ammar Githam
1ede8ad4bf Fix some bottom nav bar related issues. Check description.
1. Fixed inconsistent bottom bar hiding. Since currently bottom bar cannot hide with motionlayout, keep bottom bar visible.
2. Remove unnecessary padding in location and hashtag fragment.
3. Fix the last item in more preference screen hidden under bottom bar.
2021-05-11 20:07:10 +09:00
Ammar Githam
413f12c3c2 parse locationId to long before setting to bundle. Fixes austinhuang0131/barinsta#1235 2021-05-11 19:45:28 +09:00
Stamatia Papageorgiou
d9248d2fb9
Merge branch 'master' into stamatiap/development 2021-05-10 22:25:07 +03:00
stamatiap
38b7f29d44 update alert dialog title 2021-05-10 21:54:07 +03:00
stamatiap
13b747fc87 add string for swipe up link confirmation 2021-05-10 21:54:06 +03:00
stamatiap
1f61926108 add default case to switch statement - issue #1101 2021-05-10 21:54:06 +03:00
stamatiap
fdacd1b421 add alert dialog for swipe up link - issue #1101 2021-05-10 21:54:06 +03:00
Ammar Githam
79fe697167 Include textview left padding while calculating last line width in text messages. For austinhuang0131/barinsta#1222 2021-05-10 23:03:37 +09:00
Ammar Githam
3b41cd78bd Remove unnecessary null check 2021-05-10 21:48:44 +09:00
Ammar Githam
f3d5678225 Null checks. Fixes austinhuang0131/barinsta#1221 2021-05-10 21:45:43 +09:00
Ammar Githam
1c5bdb1cca Possible fix for Tmp detached view error. Fixes austinhuang0131/barinsta#1200 2021-05-10 21:39:13 +09:00
Ammar Githam
3cc4f7b7bc Check null url. Fixes austinhuang0131/barinsta#1192 2021-05-10 21:22:35 +09:00
Renovate Bot
86365f95ea
Update dependency androidx.room:room-runtime to v2.3.0 2021-05-09 22:04:14 +00:00
Austin Huang
16381ad522
Merge pull request #1224 from austinhuang0131/renovate/com.google.android.material-material-1.x
Update dependency com.google.android.material:material to v1.4.0-beta01
2021-05-09 18:00:28 -04:00
Ammar Githam
ae356d6601 Add prop to explicitly split apks instead of default 2021-05-10 00:54:06 +09:00
Ammar Githam
870eac1b6a Fix multiple apk build not triggered 2021-05-10 00:21:59 +09:00
stamatiap
1665262fdf fix highlight title - issue #1075 2021-05-09 13:40:05 +03:00
Ammar Githam
b56f3e69e2 Merge branch 'master' into split-abi-apks 2021-05-09 13:32:11 +09:00
Renovate Bot
e26152dbc7
Update dependency com.google.android.material:material to v1.4.0-beta01 2021-05-08 19:29:53 +00:00