Andrew Dolgov
7c9b5a3fe4
move label stuff to Labels class
...
fix some unresolved functions
2017-05-04 15:57:40 +03:00
Andrew Dolgov
2ed0d6c433
move counter cache to a separate class
...
fix references to get_article_tags
2017-05-04 15:22:57 +03:00
Andrew Dolgov
a230bf88a9
move to Article:
...
+ static function purge_orphans($do_output = false) {
move to Feeds
+ static function getGlobalUnread($user_id = false) {
+ static function getCategoryTitle($cat_id) {
+ static function getLabelUnread($label_id, $owner_uid = false) {
2017-05-04 15:00:21 +03:00
Andrew Dolgov
86a8351ca2
move the following to Feeds:
...
+ static function catchup_feed($feed, $cat_view, $owner_uid = false, $mode = 'all', $search = false) {
+ static function getFeedArticles($feed, $is_cat = false, $unread_only = false,
+ static function subscribe_to_feed($url, $cat_id = 0,
+ static function getFeedIcon($id) {
+ static function getFeedTitle($id, $cat = false) {
+ static function getCategoryUnread($cat, $owner_uid = false) {
+ static function getCategoryChildrenUnread($cat, $owner_uid = false) {
2017-05-04 14:50:56 +03:00
Andrew Dolgov
ea79a0e033
remove some redundant php closing tags
2017-04-26 20:24:18 +03:00
Andrew Dolgov
9c3c0ace6b
rename cache images option label (rip translations)
2017-03-23 15:16:31 +03:00
Andrew Dolgov
328118d12e
use print_hidden() for hidden dojo form fields
2017-02-10 14:36:21 +03:00
Andrew Dolgov
967f0619c7
force ngettext() count argument type to string
2017-01-22 10:18:43 +03:00
Andrew Dolgov
84012df5cd
prefs: auto expand feed tree
2017-01-21 22:33:23 +03:00
Andrew Dolgov
17a8e61d2a
deprecate encrypted feed passwords because mcrypt is getting removed from php 7.1
...
1. transparent decryption for existing installs stays for the time being
2. new passwords are not going to be encrypted even if FEED_CRYPT_KEY is defined
3. added update.php --decrypt-feeds to bulk decrypt existing encrypted passwords
4. updated install to not auto-generate crypt key
5. added warning to config.php-dist
2017-01-07 14:25:46 +03:00
Andrew Dolgov
ec21abb85d
update autocomplete to "new-password"
2016-05-18 12:43:56 +03:00
Andrew Dolgov
fa0e0ef315
set feed editor password fields to autocomplete=off
2016-05-18 12:31:25 +03:00
Andrew Dolgov
9def554082
pref-feeds: allow searching by feed_url
2016-01-30 13:02:15 +03:00
Andrew Dolgov
a5556c2471
fix item_id not being properly escaped in pref_feeds::process_category_order() (possible sql injection)
2016-01-29 17:24:59 +03:00
Andrew Dolgov
1bd552ee31
compat patches for php7
2015-12-04 09:29:58 +03:00
Andrew Dolgov
77e8100669
add date suffixes to opml & import_export generated files
2015-09-21 12:45:25 +03:00
Andrew Dolgov
73dfda1da6
various minor style updates, add danger buttons
2015-08-13 13:06:03 +03:00
Andrew Dolgov
d98779972d
tabbed feed editor
2015-08-12 20:35:53 +03:00
Andrew Dolgov
f9c1f8b0d4
pref-feeds: check for inactive feeds asynchronously
2015-08-12 16:19:42 +03:00
Andrew Dolgov
fb8a032a6b
minor textarea fixes
2015-08-11 18:44:07 +03:00
Andrew Dolgov
91837f0a2a
update site_url (and title if needed) when changing feed_url in feed editor
2015-08-10 15:14:38 +03:00
Andrew Dolgov
df659891ac
implement per-feed stemming language setting
2015-08-04 13:32:52 +03:00
Andrew Dolgov
3ceb893f66
add one catchall function to make uniqids/keyhashes/etc used by tt-rss
2015-08-03 19:21:06 +03:00
Andrew Dolgov
4a1d122c87
edit feed: smaller buttons for icon upload; allow uploading larger favicons
2014-10-08 16:38:03 +04:00
André Glüpker
d922b09c43
Skip nested Feed when calling getNextUnreadFeed()
...
This function is only called when using "Mark all as read".
So every time, this function gets called right now, all nested
categories get marked as read as well, so we don't want to jump to them.
Instead we want to the next category with same or higher tier.
2014-06-14 12:37:05 +02:00
Andrew Dolgov
34899cf9e8
add hidden tunable _DISABLE_INACTIVE_FEEDS
2014-05-22 08:10:24 +00:00
Andrew Dolgov
4a80c57c50
remove some unused code reported by phpmd
2014-02-19 15:42:52 +04:00
Andrew Dolgov
4c63934bac
increase randomness of shared url keys a bit
2014-01-17 13:41:27 +04:00
Andrew Dolgov
76d78eb2e7
remove unnecessary wrapping from share uniqid() keys
2013-12-24 13:27:57 +04:00
Andrew Dolgov
1a545dcb44
mark feed with error in headlines toolbar, use error icon in feed editor
2013-07-12 12:38:50 +04:00
Andrew Dolgov
41a7a066ef
share: move unsharing all articles into the plugin
2013-07-11 14:11:41 +04:00
Andrew Dolgov
44727c79ad
batch feed editor: remove title and feed url because batch editing those makes no sense whatsoever
2013-06-25 23:07:09 +04:00
Andrew Dolgov
496195db4e
fix calculation of feed counts in pref-feeds editor
2013-06-07 15:31:43 +04:00
Andrew Dolgov
c594eca0de
implement additional counter mode for virtual feeds when there's 0 unread articles
2013-05-16 01:08:04 +04:00
Andrew Dolgov
11334fdf6c
make appearance of some preference panes more similar
2013-05-12 12:36:25 +04:00
Andrew Dolgov
d29357fa02
fix more hphp detected issues
2013-05-07 15:18:37 +04:00
Andrew Dolgov
e5e6cde06a
remove support for hiding empty categories in prefs editor because people are dumb
2013-05-06 12:50:52 +04:00
Andrew Dolgov
8d090a910b
use css nth-child instead of old even/odd class hacks for normal mode
2013-05-04 12:01:53 +04:00
Andrew Dolgov
258068b379
do not calculate favicon color on manual icon replace
2013-04-29 16:09:03 +04:00
Andrew Dolgov
8cefe38a0a
add HOOK_PREFS_SAVE_FEED
2013-04-26 14:23:18 +04:00
Andrew Dolgov
057177eb2c
add HOOK_PREFS_EDIT_FEED
2013-04-26 14:21:08 +04:00
Andrew Dolgov
1ffe3391f9
make pluginhost a singleton
2013-04-18 12:27:34 +04:00
Andrew Dolgov
d9c85e0f11
classes: use OO DB interface
2013-04-17 20:12:14 +04:00
Andrew Dolgov
a42c55f02b
fix blank character after opening bracket in function calls
2013-04-17 18:34:18 +04:00
Andrew Dolgov
6322ac79a0
remove $link
2013-04-17 16:48:41 +04:00
Andrew Dolgov
a5680acbe8
replace split with explode
2013-04-16 20:40:23 +04:00
Andrew Dolgov
bc7a144dd5
properly remove and replace favicon color when favicon gets manually removed/uploaded
2013-04-15 18:22:48 +04:00
Andrew Dolgov
41694a956d
fix double-escaping possible with encrypted passwords
2013-04-13 18:58:09 +04:00
Andrew Dolgov
044cff2d74
implement basic feed authentication parameter encryption in the database (FEED_CRYPT_KEY)
2013-04-13 18:24:41 +04:00
Andrew Dolgov
3306daecf4
implement upload-related support for open_basedir
2013-04-11 19:12:00 +04:00