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

396 Commits

Author SHA1 Message Date
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
2e21f40044
v18.2 2020-09-01 14:06:58 -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
Ammar Githam
e7ed3eb249 cleanup 2020-08-25 05:02:41 +09:00
Ammar Githam
93f7a58e54 Un-comment lines which were commented for debug 2020-08-25 05:02:18 +09:00
Ammar Githam
0608882127 Re-fix play/stop autoplaying videos when navigating away 2020-08-25 00:38:27 +09:00
Ammar Githam
3c94e827d3 Merge branch 'master' into task/separate-feed-item-views 2020-08-25 00:18:53 +09:00
Ammar Githam
da98cff507 Update Feed view, check description
Changes:

1. Separate out view holders for feed post types.
2. Improve performance for binding.
4. Initiating migration from Glide to Fresco, as performance of Fresco is way better.
3. Prefetch feed view thumbnails to get aspect ratio, to improve layout performance.
4. If auto play is off, the videos in feed are not loaded until play is pressed.
5. Lots of optimizations here and there.
2020-08-25 00:05:54 +09:00
Austin Huang
23269528fe
version up 2020-08-22 17:29:58 -04:00
Austin Huang
ae058813e0
stop notification toast 2020-08-22 17:09:36 -04:00
Austin Huang
4a439f74eb
optimize imports, add DM settings (init), add notification setting 2020-08-22 17:03:55 -04:00
Ammar Githam
0b183c5ab5 Rename main activity to MainActivity 2020-08-22 16:34:52 +09:00
Ammar Githam
edd95f6944 Rename InstaApp to InstaGrabberApplication 2020-08-22 16:34:52 +09:00
Ammar Githam
972c3f371c Remove null check for player 2020-08-22 16:27:47 +09:00
Ammar Githam
f6a224ec01 use .equals() for String 2020-08-22 16:22:53 +09:00
Ammar Githam
0fc2fe2faf Stop notification checker when app in background 2020-08-22 15:45:54 +09:00
Ammar Githam
b8278c0f99 Fix videos auto playing even when auto play is set to false 2020-08-22 15:33:59 +09:00
Austin Huang
88ad77d94c
java string bad 2020-08-21 21:27:38 -04:00
Austin Huang
0ac4030b5f
fix updater, me dumb 2020-08-21 21:12:26 -04:00
Austin Huang
8deb1b313b
New Crowdin updates (#66)
* 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 (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

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

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* Update source file strings.xml

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)
2020-08-21 20:48:24 -04:00
Austin Huang
37cfba3666
f-droid trial, fix #61, polish #65, fix invisible icon issue 2020-08-21 20:38:51 -04:00
Austin Huang
c57fbd9d8e
Merge pull request #65 from ammargitham/task/separate-dm-type-views
Task/separate dm type views
2020-08-21 19:44:07 -04:00
Ammar Githam
cbf5795a22 Revert liked variable to equal only user like 2020-08-21 22:45:07 +09:00
Ammar Githam
8e43519c5b Add mention click listener to reel share view 2020-08-21 22:44:24 +09:00
Ammar Githam
f7fb374aca Add viewholder for default (unhandled) dm item types 2020-08-21 21:23:48 +09:00
Austin Huang
b5e9a6f8d1
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2020-08-20 21:49:30 -04:00
Austin Huang
6e754acaba
fix #63 (not tested) plus direct download issue 2020-08-20 21:49:05 -04:00
Austin Huang
5066647b68
New Crowdin updates (#60)
* 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 (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

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

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

* New translations strings.xml (Indonesian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Turkish)

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

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

* New translations arrays.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

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

* New translations strings.xml (Russian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* Update strings.xml
2020-08-20 14:56:50 -04:00
Ammar Githam
052402a974 Merge branch 'master' into task/separate-dm-type-views 2020-08-20 23:04:17 +09:00
Ammar Githam
51138f9db0 Separate out individual DM message types to their respective views 2020-08-20 22:05:23 +09:00
Austin Huang
4b8e8dd8a3
refactor story reply 2020-08-19 22:06:35 -04:00
Austin Huang
4857b3bfa0
unsend messages and activity notification 2020-08-19 12:51:41 -04:00
Austin Huang
376f3e5d5a
finalization 2020-08-18 16:55:42 -04:00
Austin Huang
072cd63776
like dm messages & some polishing 2020-08-18 16:47:43 -04:00
Austin Huang
e5c0b376f6
Merge pull request #57 from ammargitham/feature/share-photos-dm
Feature/share photos dm
2020-08-18 11:24:24 -04:00
Ammar Githam
f9ef697111 Fix error when choosing image from Documents manager
Cannot rely on Uri.getPath to return absolute path to create File object. Instead get the inputstream and create Bitmap first.
2020-08-19 00:15:13 +09:00
Austin Huang
7f40fd83eb
login guard 2020-08-18 10:38:00 -04:00
Austin Huang
4feca45341
Merge pull request #51 from austinhuang0131/l10n_master
New Crowdin updates
2020-08-18 10:37:45 -04:00
Ammar Githam
4a73aa1179 allow uploading any type of image
Tested all formats (except MNG) from https://www.w3.org/People/mimasa/test/imgformat/
2020-08-18 22:22:16 +09:00
Ammar Githam
31a5c437f1 enable debug for resource leak (when close is not called) 2020-08-18 22:20:00 +09:00
Austin Huang
43b04a5ee1
fix #56 2020-08-17 15:02:14 -04:00
Ammar Githam
1fe721010d Fix names of the gen. sources due to file renames 2020-08-17 23:06:51 +09:00
Ammar Githam
74f2b6f268 Merge branch 'master' into feature/share-photos-dm 2020-08-17 23:00:00 +09:00
Ammar Githam
30695ae02f update direct messages
This commit sets up the base for future enhancements in direct messages. The changes are:

1. Introducing fragments and navigation using androidx.navigation.fragment.NavHostFragment.

2. Using ListAdapter and LiveData for the RecyclerViews.

3. Fixes a bug where a single direct message was lost when querying older messages.
2020-08-17 22:51:39 +09:00
Austin Huang
dc55f9f263
consistency 2020-08-16 14:25:45 -04:00
Austin Huang
b1b6ede675
fix #53, fix #54 (pending check), fix @RAMAR-RAR story seen, fix hashtag favourite 2020-08-16 13:42:11 -04:00
Ammar Githam
650062646d Allow sending image in dms
This commit streamlines the broadcast flow to handle both text and image messages in dms.
2020-08-16 18:21:09 +09:00
Ammar Githam
066a453aa8 move dm related Activities to their own package 2020-08-16 06:33:59 +09:00
Ammar Githam
68dbf59ef6 Add image upload icon to dms layout and handle click 2020-08-16 06:25:57 +09:00
Ammar Githam
8e4ae8fe09 null check 2020-08-16 06:14:57 +09:00
Ammar Githam
a0402c8bf3 Use TextUtils.join as String.join requires API level 26 2020-08-16 06:14:11 +09:00
Ammar Githam
0023c56688 rename variables to camelCase 2020-08-16 06:08:25 +09:00
Ammar Githam
2a068c4feb remove view check as listener attached only to that view 2020-08-16 06:06:14 +09:00
Ammar Githam
1a57969abe simplify logic 2020-08-16 06:04:50 +09:00
Ammar Githam
86b9feda4a organize code for readability 2020-08-16 06:02:46 +09:00
Ammar Githam
4e00d02f17 reformat code 2020-08-16 06:00:30 +09:00
Ammar Githam
6c478d8626 move CommentAction to its own file 2020-08-16 05:59:16 +09:00
Ammar Githam
78955cd73f setup CommentAction to be moved to its own file 2020-08-16 05:53:29 +09:00
Ammar Githam
7baa8c2b49 Move default ProfileModel object creation to ProfileModel class 2020-08-16 05:38:46 +09:00