1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-05 06:27:30 +00:00
Commit Graph

453 Commits

Author SHA1 Message Date
Ammar Githam
80b0cfa87f Merge remote-tracking branch 'origin/task/add-favourites' into task/add-favourites 2020-09-21 03:53:27 +09:00
Ammar Githam
05c0937c6f Add Backup and restore. Update DirectoryChooser UI.
The updated backup and restore is backward compatible with old backup files. Just have updated the default file name and extension for newer backups.
2020-09-21 03:52:34 +09:00
Ammar Githam
056604d9bb Handle newest_cursor and oldest_cursor not sent in response 2020-09-21 03:48:45 +09:00
Ammar Githam
7ea2ae853a Fix Android Q leak. Reported by LeakCanary, more details here: https://issuetracker.google.com/issues/139738913 2020-09-21 03:45:58 +09:00
Austin Huang
ad0f683caa
Merge branch 'master' into pr/170 2020-09-20 09:31:32 -04:00
Austin Huang
37c301f54f
New Crowdin updates (#156)
* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (Macedonian)

* New translations arrays.xml (Indonesian)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Russian)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Italian)

* New translations arrays.xml (German)

* New translations arrays.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Persian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations strings.xml (Macedonian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations strings.xml (German)

* New translations arrays.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Indonesian)

* New translations arrays.xml (Indonesian)
2020-09-20 09:30:50 -04:00
Austin Huang
63d30a9c2e
no more midnight coding 2020-09-19 23:34:09 -04:00
Austin Huang
6aead8ff2b
add material design icons attribution 2020-09-19 23:25:16 -04:00
Austin Huang
f9f3d4620b
Merge branch 'master' into pr/170 2020-09-19 22:54:52 -04:00
Austin Huang
d586bbf398
Merge pull request #166 from andersonvom/fix-swap-date-time-settings
Fix swap date time settings
2020-09-19 22:49:44 -04:00
Austin Huang
8dd6a8f90f
Merge pull request #168 from andersonvom/non-logged-likes
Improve CookieUtils
2020-09-19 20:16:53 -04:00
Ammar Githam
d2b2e4e428 Replace expired.png with vector drawable 2020-09-19 19:42:50 +09:00
Ammar Githam
837c6ba8ad Updated some icons and category in MorePreferencesFragment 2020-09-19 19:28:22 +09:00
Ammar Githam
644de57666 Fix navigation after logging in 2020-09-19 19:02:04 +09:00
Ammar Githam
444c51a36d Reselect proper tab immediately after logging off 2020-09-19 18:48:58 +09:00
Ammar Githam
e89cf7af46 Keep follow requests at top in notification viewer 2020-09-19 17:17:43 +09:00
Ammar Githam
46014928df Quick workaround for leftover refreshing status 2020-09-19 17:08:24 +09:00
Ammar Githam
07bb2f47f1 Fix posts duplication on profile follow/unfollow 2020-09-19 17:06:00 +09:00
Ammar Githam
0e881ba7c5 Fix layout problem in notification item 2020-09-19 17:03:01 +09:00
Ammar Githam
3bf4aa86d0 Fix weird layout when keyboard is open and indexoutofbounds when fetching profile details 2020-09-19 16:54:37 +09:00
Anderson Mesquita
dd0f1e397c Extract method to get cookie value
Currently, trying to get a `csrftoken` from an empty cookie string will
crash the application. This creates a helper method to extract a cookie
value given a cookie name by pattern matching on the cookie string and
returning the value if one is found.

Fixes: #167
2020-09-18 16:23:46 -04:00
Anderson Mesquita
890c4d32d1 Extract method to get longest cookie
This reduces duplication and makes it easier to know what `getCookie` is
doing, since all domains are now clustered together and it's easy to see
the difference between them..
2020-09-18 16:23:10 -04:00
Ammar Githam
0de0cb233e Fix build error on LGTM 2020-09-19 04:37:45 +09:00
Ammar Githam
9144110564 Merge branch 'master' into task/add-favourites 2020-09-19 04:26:48 +09:00
Ammar Githam
cf974a74f3 Add favorites, also fixes the hashtag follow, and some theming 2020-09-19 04:18:14 +09:00
Anderson Mesquita
68033cd0ec Save "Swap time and date positions" checkbox state
Currently, if the user checks the option "Swap time and date positions",
leaves the settings modal and returns to it, the option will be
unchecked, even though the date and time are, indeed, swapped.

This saves the value of the "Swap time and date positions" option so
that it will match whatever state the user selected last.

Fixes: #165
2020-09-18 11:46:46 -04:00
Anderson Mesquita
29840f66c7 Switch isSwapTime conditional
This doesn't change behavior, but makes the variable `isSwapTime` match
the value of the checkbox state (`cbSwapTimeDate.isChecked()`). Now,
both of them will be either `true` or `false` together, instead of
having opposite values.
2020-09-18 10:55:47 -04:00
Austin Huang
8d388c17e5
Update CrashReporter.java 2020-09-17 10:30:04 -04:00
Austin Huang
10f2e51a2e
New Crowdin updates (#155)
* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Macedonian)

* New translations strings.xml (Persian)

* New translations strings.xml (Macedonian)
2020-09-15 20:19:24 -04:00
Austin Huang
7ac9c965e3
bibliogram theme, translation setup 2020-09-15 20:18:23 -04:00
Austin Huang
841f61f6cf
image stuff 2020-09-15 10:37:49 -04:00
Austin Huang
42c7414b8d
New Crowdin updates (#144)
* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (French)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Russian)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Italian)

* New translations arrays.xml (German)

* New translations arrays.xml (Spanish)

* New translations strings.xml (Persian)

* New translations strings.xml (French)

* New translations arrays.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Russian)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations arrays.xml (Indonesian)

* Update source file arrays.xml

* Update source file strings.xml

* New translations arrays.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Turkish)

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)

* New translations arrays.xml (Persian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Persian)
2020-09-15 09:24:13 -04:00
Austin Huang
ec07b1881f
Merge pull request #148 from austinhuang0131/imgbot
[ImgBot] Optimize images
2020-09-15 09:23:41 -04:00
Ammar Githam
027b356357 Fix recurring alert sound if notification not tapped 2020-09-15 19:25:32 +09:00
Austin Huang
84127fb317
rebrand 2020-09-14 17:31:01 -04:00
ImgBotApp
6147e08c74
[ImgBot] Optimize images
*Total -- 240.52kb -> 190.04kb (20.99%)

/app/src/main/ic_launcher-playstore.png -- 128.45kb -> 85.16kb (33.7%)
/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -- 30.18kb -> 25.85kb (14.36%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -- 18.39kb -> 17.07kb (7.18%)
/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -- 14.89kb -> 13.88kb (6.76%)
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -- 11.38kb -> 11.20kb (1.56%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -- 28.19kb -> 27.88kb (1.09%)
/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -- 9.05kb -> 8.99kb (0.62%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-14 20:45:54 +00:00
Austin Huang
98420d0197
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2020-09-14 16:44:34 -04:00
Austin Huang
7e93383561
foreground 2020-09-14 16:44:24 -04:00
Austin Huang
7e52a94cb5
change of icon 2020-09-14 15:03:36 -04:00
Ammar Githam
15eed4137a Fix previous themes and add Material Dark theme (needs improvements) 2020-09-14 23:17:35 +09:00
Ammar Githam
e7cd0e0041 Add Barinsta Light theme 2020-09-13 23:55:17 +09:00
Ammar Githam
31b94f17fc Fix actionMode styling 2020-09-13 21:53:06 +09:00
Ammar Githam
490956565a Update most of the png images to their xml counterparts and remove unused png 2020-09-13 20:28:40 +09:00
Ammar Githam
ad36331a06 No need for Image assets (.png) as Vector assets (.xml) work with AppCompat views 2020-09-13 19:27:46 +09:00
Ammar Githam
ebdaae94d1 Initial commit for updated flow of themes. (Check description)
Removed DayNight theme. Added a 'white' theme for Light, and 'black' theme for Dark.
Users will have to set the type of Light or Dark theme they want to use.
Default is white for light, black for dark.
More themes will be added later.
2020-09-13 19:21:14 +09:00
Ammar Githam
fb20deb9ee Remove ic_star in favor of ic_star_24 2020-09-13 19:16:36 +09:00
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