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

448 Commits

Author SHA1 Message Date
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
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
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
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
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