Commit Graph

348 Commits

Author SHA1 Message Date
Andrew Dolgov
3071df1abe rework databasehelper as a singleton
simplify offline interaction with the database
2015-06-10 23:51:41 +03:00
Andrew Dolgov
089e3e70b5 remove loadingfragment 2015-06-10 19:50:27 +03:00
Andrew Dolgov
449ac639e3 remove typeface cache 2015-06-10 19:45:32 +03:00
Andrew Dolgov
0dde302a73 even more refactoring 2015-06-10 19:44:51 +03:00
Andrew Dolgov
4acc9ac37e further refactoring 2015-06-10 19:40:08 +03:00
Andrew Dolgov
dffc737a93 refactor layouts naming scheme 2015-06-10 19:24:24 +03:00
Andrew Dolgov
b4e8f0d752 remove LG hardware button problem fix because it breaks HW button menus on appcompat now 2015-06-10 15:07:25 +03:00
Andrew Dolgov
913a3e8a83 add workaround for webview not opening links externally on 5.x after latest update, thanks google 2015-06-10 14:55:07 +03:00
Andrew Dolgov
931e4d6427 maybe fix icon not working on dashclock 2015-06-08 16:53:28 +03:00
Andrew Dolgov
6ab91236b4 preferences layout: remove unnecessary dp height
add matching material overflow icon for headlines list
2015-06-08 16:20:40 +03:00
Andrew Dolgov
89baa99ea5 subscribe dialog: support multiple feed results 2015-06-08 13:35:54 +03:00
Andrew Dolgov
a38d90e806 feeds/cats: do not set empty view because doing so obscures headers/footers when there's no content 2015-06-08 09:42:31 +03:00
Andrew Dolgov
3d23124f72 lint: use preferenceeditor.apply instead of commit 2015-06-06 11:29:30 +03:00
Andrew Dolgov
75b86b94bb articlepager: notifydatasetchanged on resume 2015-06-06 11:21:56 +03:00
Andrew Dolgov
f24a9b08d0 headlines: add a special invisible listview item because listviewanimations seem to glitch if there's only 1 headline loaded reloading animations on every notifydatasetchanged, not sure why
we do not pass this special headline to headlinesactivity
2015-06-05 23:32:28 +03:00
Andrew Dolgov
99216872d0 do not show drawer header in tablet horizontal mode 2015-06-05 20:01:27 +03:00
Andrew Dolgov
cb0c9b06e0 bump version 2015-06-05 20:45:55 +04:00
Andrew Dolgov
e52e597a3d minor efforts to speedup article fragment a bit 2015-06-05 19:26:36 +03:00
Andrew Dolgov
9523151a25 article fragment: simplify things a bit 2015-06-05 15:51:50 +03:00
Andrew Dolgov
e5159ab48a flavor images: add fade-in displayer; rework progressbar display 2015-06-05 15:03:23 +03:00
Andrew Dolgov
79f4b94a34 headlines: use flavor image tag for a slight performance improvement, hopefully 2015-06-05 14:48:21 +03:00
Andrew Dolgov
3b37e33d6b headlines fragment: remove some obsolete code 2015-06-05 14:23:57 +03:00
Andrew Dolgov
0b8abdf07a move sidebar footer item handling to onclick listeners 2015-06-05 12:15:57 +03:00
Andrew Dolgov
8e5a8fb8eb disable context shortcut menu entry in offline feed fragments 2015-06-05 11:57:35 +03:00
Andrew Dolgov
5575eca5ea properly terminate launch activity 2015-06-05 11:44:50 +03:00
Andrew Dolgov
eed69d57e3 move istaskroot crap to the separate tiny launch activity 2015-06-05 11:25:23 +03:00
Andrew Dolgov
df1dcca834 add workaround for android issue #26658 2015-06-05 10:18:13 +03:00
Andrew Dolgov
d59b695ae9 headlinesfragment: (experimental) notify adapter onresume 2015-06-05 09:30:30 +03:00
Andrew Dolgov
131f355ce9 fix clicking on unread only footer behaving as a go offline entry 2015-06-04 23:49:37 +03:00
Andrew Dolgov
c30f85616e add various per-feed icons for the conns/feeds sidebar 2015-06-04 23:44:26 +03:00
Andrew Dolgov
8c6d767190 move offline/online prompts to the sidebar 2015-06-04 20:57:32 +03:00
Andrew Dolgov
c9398d0fe1 rework feeds/cats loading progressbar 2015-06-04 20:17:17 +03:00
Andrew Dolgov
6b6f3db8c3 add workaround for listview animations not working after clear() 2015-06-04 19:49:04 +03:00
Andrew Dolgov
17327f1457 add some listview animations to headlines 2015-06-04 20:31:57 +04:00
Andrew Dolgov
0dd21425bd show drawer behind translucent statusbar, jesus fuck (2)
now with scriminsetwhatsitsface
2015-06-04 16:13:06 +03:00
Andrew Dolgov
e4afee1014 add separate icon for unread only switchbox 2015-06-04 14:31:11 +03:00
Andrew Dolgov
42358f6f6d move settings and unread only switch to the drawer 2015-06-04 14:27:41 +03:00
Andrew Dolgov
0ccac9b5b3 remove logout menu item 2015-06-04 08:46:54 +03:00
Andrew Dolgov
c54d13e072 move to v7 toolbar widget instead of old-style actionbar 2015-06-04 00:30:35 +03:00
Andrew Dolgov
6b6107b276 subscribe dialog: add a progressbar 2015-06-03 13:43:28 +03:00
Andrew Dolgov
3de302182c switch to preferencefragment 2015-06-02 11:05:27 +04:00
Andrew Dolgov
3b9f2c25a6 add progressbar to imagecacheservice notification 2015-06-02 09:00:45 +03:00
Andrew Dolgov
a8280107e4 open ttrss url when clicking on a account icon 2015-06-02 08:55:00 +03:00
Andrew Dolgov
ff8c1ad1dc add progressbars to offline sync notifications
remove some obsolete drawables
2015-06-02 08:48:29 +03:00
Andrew Dolgov
1281e7dd42 move share button to article fragment body; reinstate dreaded mark unread back to the freed space 2015-06-02 00:00:14 +03:00
Andrew Dolgov
69e916684f add ripple effect to headline row image view buttons 2015-06-01 23:43:03 +03:00
Andrew Dolgov
209b82a1da change accentcolor to better conform with material design guidelines; remove amber and sepia themes 2015-06-02 00:25:46 +04:00
Andrew Dolgov
ac5e981cbc add a placeholder account icon to drawer 2015-06-01 22:39:33 +03:00
Andrew Dolgov
3bb2daaf0e use proper marked/published icons on dark theme headline views 2015-06-01 20:10:12 +04:00
Andrew Dolgov
2c615e430d material design icon overhaul 2015-06-01 16:30:23 +03:00
Andrew Dolgov
4e2bf266e2 why is this bitwise or in there wtf 2015-05-29 12:37:08 +03:00
Andrew Dolgov
1b603e10a9 offline: fix swipe refresh offset 2015-05-15 11:40:36 +03:00
Andrew Dolgov
aefb9b4591 fix swiperefreshlayout clipping under actionbar 2015-05-12 16:18:31 +03:00
Andrew Dolgov
8484fa22e6 use proper height resource for support actionbar spacer 2015-05-11 13:02:46 +03:00
Andrew Dolgov
6e4ab99134 offline: various positioning fixes 2015-05-11 12:54:07 +03:00
Andrew Dolgov
972588b485 offline: position fixes for heading 2015-05-11 12:42:38 +03:00
Andrew Dolgov
9ee41fc190 headlines: fix positioning problems 2015-05-11 12:30:12 +03:00
Andrew Dolgov
675f77a59b disable headlines actionbar hiding >=600dp devices 2015-05-11 11:31:06 +03:00
Andrew Dolgov
6a834e1486 hide actionbar when scrolling headlines on small devices
do not enable ACRA on debug builds
2015-05-11 11:18:27 +03:00
Andrew Dolgov
a0fb92e34a actionbar hiding tweaks; bump version 2015-05-11 02:23:16 +04:00
Andrew Dolgov
42a4fd5d39 add experimental hiding actionbar on scroll 2015-05-11 01:34:24 +04:00
Andrew Dolgov
026dc85826 hide flavor image placeholders if disabled 2015-05-09 07:04:06 +03:00
Andrew Dolgov
a9aba2447f flavor images: fix progress bar never hiding 2015-04-29 21:17:09 +03:00
Andrew Dolgov
ef357ac421 tweak flavor image loader a bit to be less cpu hungry
disable flavor image arrows because they are unreliable as only part of the content is being parsed for performance
2015-04-29 21:13:06 +03:00
Andrew Dolgov
70d366bcc5 bring back articlepager viewpagerindicator 2015-03-11 20:37:03 +03:00
Andrew Dolgov
9690deb11c clear disk cache on startup 2015-03-11 09:25:55 +03:00
Andrew Dolgov
1bf843a451 fix uploading starred article status while going online also marking them as published 2015-02-28 14:21:48 +03:00
Andrew Dolgov
de9854c6ea samsung is a bad company and their devices are irredeemable shit 2015-02-18 13:43:04 +03:00
Andrew Dolgov
ae91427987 do not crash if inflating feeds/cats headerview failed (android!!1) 2015-02-17 22:29:56 +03:00
Andrew Dolgov
ea717ae7da use notification builder for offline notifications; make a placeholder monochrome notification icon 2015-02-17 23:20:51 +04:00
Andrew Dolgov
70deffc067 reenable acra 2015-02-16 15:13:10 +03:00
Andrew Dolgov
947c8dd6a3 do not send headines as parcelable because ughhhh 2015-02-16 14:52:12 +03:00
Andrew Dolgov
7a4dc9de3d add some isAdded() bullshit to headlines requests 2015-02-16 15:31:42 +04:00
Andrew Dolgov
6756f75858 don't update widget every time headlinesactivity closes 2015-02-16 14:24:17 +03:00
Andrew Dolgov
4aeac28cb4 disable headlines transition altogether re: instability 2015-02-14 22:17:36 +03:00
Andrew Dolgov
8f4b9187f6 fix mysterious crashes on some feeds 2015-02-14 22:03:16 +03:00
Andrew Dolgov
15aebd8d3a remove separate list for selected articles 2015-02-13 15:11:38 +03:00
Andrew Dolgov
3219334022 feedsactivity: restore headline selection state (2) 2015-02-13 14:34:54 +03:00
Andrew Dolgov
84698a5133 feedsactivity: restore headline selection state when going back from headlinesactivity 2015-02-13 14:31:15 +03:00
Andrew Dolgov
697586c3a9 fix widget not working correctly after device reboot 2015-02-13 14:09:26 +03:00
Andrew Dolgov
f3a3b021dd widget: experimental changes to make it work after boot 2015-02-13 10:30:45 +03:00
Andrew Dolgov
79afbaff3a widget: use correct fresh feed id 2015-02-13 08:28:09 +03:00
Andrew Dolgov
a77e94c628 fix crash on all pre-kitkat devices (lol) 2015-02-13 08:25:37 +03:00
Andrew Dolgov
dbe6865980 widget: default to showing fresh articles instead of global unread 2015-02-13 01:08:38 +03:00
Andrew Dolgov
bd75699773 bring widget up to holo ui standards (lol) 2015-02-12 22:19:17 +03:00
Andrew Dolgov
5041df3258 the cards, they are no more 2015-02-12 21:09:53 +03:00
Andrew Dolgov
b099a8e030 set article unread after it has been selected in headlines list 2015-02-12 21:03:16 +03:00
Andrew Dolgov
d544ea7689 image pager: better progressbar placement 2015-02-12 20:39:45 +03:00
Andrew Dolgov
f5b80fe39f images pager: add circle indicator 2015-02-12 20:33:25 +03:00
Andrew Dolgov
29f105b14e force dark theme for images pager 2015-02-12 19:55:39 +03:00
Andrew Dolgov
d6ba1550e9 reduce arrow drawable diameter 2015-02-12 19:49:15 +03:00
Andrew Dolgov
6997496449 remove viewpager indicator 2015-02-12 19:34:40 +03:00
Andrew Dolgov
7ec5b5c68b login pref string tweak 2015-02-12 18:43:34 +03:00
Andrew Dolgov
5af1199d9d remove more or less useless fullscreen mode 2015-02-12 18:03:45 +03:00
Andrew Dolgov
ad2c6eb999 more headline display margin adjustments
remove condensed font option
2015-02-12 15:17:20 +03:00
Andrew Dolgov
f88e647b40 remove selected variants for card layouts (unused) 2015-02-12 14:50:13 +03:00
Andrew Dolgov
a7e86f29de card layout updates 2015-02-12 14:48:57 +03:00
Andrew Dolgov
876408abd0 disable article pager stack transformer 2015-02-12 14:09:37 +03:00
Andrew Dolgov
4d016aee20 fix image pager enter transition 2015-02-12 14:06:17 +03:00
Andrew Dolgov
c3a80f1be4 add fragment transitions for headlines 2015-02-12 13:09:54 +03:00
Andrew Dolgov
70056d68ac add transition animation for headlinesarticles activity 2015-02-12 12:41:25 +03:00
Andrew Dolgov
da2428b6da remove globalstate.activefeedid 2015-02-12 12:09:52 +03:00
Andrew Dolgov
f46552126a add shared element transition for article images pager 2015-02-12 10:48:50 +03:00
Andrew Dolgov
8dc231e8cc fix crash when opening context menu on feed/cats fragments w/ header (2) 2015-02-11 21:25:27 +03:00
Andrew Dolgov
1e0a0387ca fix crash when opening context menu on feed/cats fragments w/ header 2015-02-11 21:20:17 +03:00
Andrew Dolgov
4a2673f328 add headline drawable background 2015-02-11 21:07:03 +04:00
Andrew Dolgov
97f177186b remove manual transitions 2015-02-11 18:28:59 +03:00
Andrew Dolgov
82f93c7b75 remove feeds listview header hack 2015-02-11 16:10:00 +03:00
Andrew Dolgov
45de2b8f24 more drawer-y sidebar with header and adjusted row styles 2015-02-11 15:54:04 +03:00
Andrew Dolgov
0264b2d30f add some animations
article: load webview contents in a runnable
2015-02-11 14:59:15 +03:00
Andrew Dolgov
c46e143508 update build timestamp format 2015-02-11 09:58:33 +03:00
Andrew Dolgov
659c9bff0f unbreak globalstate 2015-02-11 00:21:56 +04:00
Andrew Dolgov
a7f69e2c95 acra: ignore password preference 2015-02-11 00:21:11 +04:00
Andrew Dolgov
c00b9e724e properly restore fragment states on resume/rotate 2015-02-10 16:16:56 +03:00
Andrew Dolgov
7604bb30e5 various parcelable-related crap 2015-02-10 15:50:47 +03:00
Andrew Dolgov
568ab61fad when exiting headlines activity, properly select active article in the list
remove globalstate active article object
2015-02-10 15:22:48 +03:00
Andrew Dolgov
4913d9ce53 experimental: remove globalstate article list object 2015-02-10 15:08:17 +03:00
Andrew Dolgov
4d8709652e set minimum sdk level to 15
remove legacy article layout
2015-02-10 00:06:18 +04:00
Andrew Dolgov
61ead264fb show build timestamp in preferences 2015-02-09 20:53:19 +03:00
Andrew Dolgov
7788c3d0ea integrate ACRA for sending crash reports 2015-02-09 19:58:11 +03:00
Andrew Dolgov
10c9fb0456 remove manual swipe layout color scheme assignments 2015-02-09 19:23:57 +03:00
Andrew Dolgov
3ebea2351f Merge branch 'master' of git.fakecake.org:tt-rss-honeycomb 2015-02-09 17:03:50 +03:00
Andrew Dolgov
ff0d4c6005 add version to preference xml 2015-02-09 17:03:35 +03:00
Andrew Dolgov
53a5944dff update launcher icon; rename icon to ic_launcher 2015-02-09 16:51:12 +03:00
Andrew Dolgov
df0c03abd8 add fix for sidebar not showing/hiding properly on tablets because of activity not being recreated on orientation change (this is needed to restore webview/fsview state) 2015-02-07 16:35:44 +03:00
Andrew Dolgov
183079172d remove compat mode, set minimum sdk version to 16 (jelly bean) 2015-01-27 12:02:04 +03:00
Andrew Dolgov
65dff43368 set article comments to a plural 2014-12-04 13:56:38 +03:00
Andrew Dolgov
810b88f652 potential fix for the whitescreen issue 2014-12-04 13:45:47 +03:00
Andrew Dolgov
80f5751d9a add separate preference for fsvideo player 2014-12-03 16:51:00 +03:00
Andrew Dolgov
4493b17723 disable webview restorestate if not running on accelerated webview 2014-12-02 10:21:27 +03:00
Andrew Dolgov
216f7e2653 improve previous a bit 2014-11-29 20:34:35 +03:00
Andrew Dolgov
0615634ce1 use excerpt getheadlines field for faster rendering if using api 11 2014-11-29 20:18:03 +03:00
Andrew Dolgov
225458f60a increase excerpt cutoff limit 2014-11-29 19:35:05 +03:00
Andrew Dolgov
49f5b1826b more headlines/imagepager tweaks 2014-11-29 11:31:45 +03:00
Andrew Dolgov
accfa1c672 make headlines listview a bit faster 2014-11-29 11:18:43 +03:00
Andrew Dolgov
104df9df30 reduce headlines list lag 2014-11-28 20:23:58 +04:00
Andrew Dolgov
1b5a57f55c limit video features to kitkat+ 2014-11-25 18:24:29 +03:00
Andrew Dolgov
3f0cb8d0ca hide sidebar when playing fullscreen video 2014-11-25 19:17:36 +04:00
Andrew Dolgov
7d9daaf472 various fixes for 2.3 2014-11-25 13:59:08 +03:00
Andrew Dolgov
21bb9acdde request sandboxing support from server 2014-11-25 13:46:00 +03:00
Andrew Dolgov
709d8341e9 bump version 2014-11-25 13:25:44 +03:00
Andrew Dolgov
0f7c68b4bb hide fab when fs video is shown 2014-11-25 13:21:36 +03:00
Andrew Dolgov
aa041890c6 properly restore webview state on orientation change/etc
add fixes for fullscreen video
2014-11-25 13:18:14 +03:00
Andrew Dolgov
2b6c8116b8 Merge branch 'master' into fsvideo-test 2014-11-25 12:33:09 +03:00
Andrew Dolgov
40c88ee240 remove dim status bar preference 2014-11-25 12:32:32 +03:00
Andrew Dolgov
ce635408a5 fix scrolling in article images pager when images are zoomed
remove statusbar tint library
2014-11-25 12:31:25 +03:00
Andrew Dolgov
4ac2b72796 implement resizeable imageview for image pager 2014-11-25 12:19:36 +03:00
Andrew Dolgov
716d84195f blah 2014-11-20 22:11:26 +04:00
Andrew Dolgov
1accc3749f enable support for watching videos if permitted by backend 2014-11-20 12:21:29 +03:00
Andrew Dolgov
b9e7f82297 add workaround for android issue #78154 2014-11-18 01:44:03 +03:00