Commit Graph

814 Commits

Author SHA1 Message Date
Andrew Dolgov 63c323f736 only enable colored favicons in vfeeds; fix RGB triplet packing 2013-04-15 15:17:12 +04:00
moontear 2cfbb448fb Added average color calculation of feeds' favicons for banded display. 2013-04-15 12:28:52 +02:00
Andrew Dolgov e43a9c4a01 add a %d articles selected element 2013-04-15 13:16:14 +04:00
Andrew Dolgov 884f2aee91 use mdash as a separator between title and author 2013-04-15 12:57:52 +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 5aaae215e8 api: add score to getHeadlines/getArticle 2013-04-13 10:59:26 +04:00
Andrew Dolgov 3ab417c277 remove label gradients 2013-04-12 15:02:44 +04:00
Andrew Dolgov 79f9bef767 add support for plugins adding API methods 2013-04-12 08:18:43 +04:00
Andrew Dolgov 8096a20a95 Revert "Add new API method: `getFeedStats'"
This reverts commit 0192ffe5a5.
2013-04-12 07:53:14 +04:00
Andrew Dolgov e1f76af006 block listing of several util directories; deny access to config.php 2013-04-11 22:01:10 +04:00
Andrew Dolgov b91a1e4deb bump api level 2013-04-11 20:06:07 +04:00
Andrew Dolgov 2496da82e9 Merge pull request #147 from pedros/nnttrss_api_extensions
Add new API method: `getFeedStats`
2013-04-11 09:04:32 -07:00
Pedro Silva 0192ffe5a5 Add new API method: `getFeedStats'
`getFeedStats' calls the new static function `api_get_feed_stats' to
return an array of real feeds of the following form:

    [{
       "first" : 1127,
       "unread" : 873,
       "last" : 15460,
       "title" : "Some feed",
       "id" : 31,
       "total" : 1513
    }]

where "first", "last", "total" are the first, last and total number of
articles in the feed.

This adds the ability to nntp-oriented clients to efficiently retrieve
an "active file" without having to resort to `getHeadlines(limit=-1)'
2013-04-11 16:25:37 +01:00
Andrew Dolgov 3306daecf4 implement upload-related support for open_basedir 2013-04-11 19:12:00 +04:00
Andrew Dolgov 723bcdb213 update description of DEFAULT_UPDATE_INTERVAL (2) 2013-04-09 22:28:06 +04:00
Andrew Dolgov 3ddbefabef update description of DEFAULT_UPDATE_INTERVAL 2013-04-09 22:18:59 +04:00
Andrew Dolgov ccb2b8dd42 add HOOK_ARTICLE_LEFT_BUTTON 2013-04-09 16:46:56 +04:00
Andrew Dolgov 035d7a5a8f implement support for multiple pub/mark buttons, add plugin which adds a separate mark button to article botton in combined mode (closes #382) 2013-04-09 16:13:32 +04:00
Andrew Dolgov b1df14d0ec do not rely on feed_id when adding archived feed while unsubscribing 2013-04-08 13:58:48 +04:00
Andrew Dolgov 814fa4ef11 Revert "remove RTITLE"
This reverts commit ecac674ade.
2013-04-07 01:09:46 +04:00
Andrew Dolgov ecac674ade remove RTITLE 2013-04-07 01:04:32 +04:00
Andrew Dolgov 7e27c91409 remove RCHK 2013-04-07 00:52:39 +04:00
Andrew Dolgov 2714d5caa3 fix batch subscribe eating CRs (closes #667) 2013-04-05 09:08:28 +04:00
Andrew Dolgov bf87833884 fix prefs reset not working properly 2013-04-05 07:52:50 +04:00
Andrew Dolgov f3b2e7d41f add back sorting by title 2013-04-04 20:44:55 +04:00
Andrew Dolgov f240d26e46 move db-updater functionality to public, remove db-updater.php 2013-04-04 19:45:26 +04:00
Andrew Dolgov b4c47f7e7b add command-line db schema updater 2013-04-04 19:15:14 +04:00
Andrew Dolgov 29c8fa080e add language dropdown to prefs 2013-04-04 18:15:37 +04:00
Andrew Dolgov aadd636a01 enable remember me 2013-04-04 17:59:04 +04:00
Andrew Dolgov 9ce7a5546c implement some tweaks to session handling; properly remove session cookie if invalid/login failed 2013-04-04 15:33:14 +04:00
Andrew Dolgov 122e9d788e add a dropdown button action to save and exit prefs (closes #660) 2013-04-04 14:53:36 +04:00
Andrew Dolgov ae31704bb3 only unmark articles which had been processed when automarking (for realz) 2013-04-04 09:49:37 +04:00
Andrew Dolgov 0db61af841 api: add article api hook to getArticle, change parameters passed 2013-04-02 23:02:52 +04:00
Andrew Dolgov 8ef9645da0 pref-prefs: add help for USER_CSS_THEME 2013-04-02 21:41:30 +04:00
Andrew Dolgov f9df3e698c Merge pull request #119 from dandersson/hotkey_info_hook
Hook to add hotkey definition texts via plugins
2013-04-02 05:57:39 -07:00
Andrew Dolgov 9db8e60784 update pref descriptions 2013-04-02 16:46:08 +04:00
Andrew Dolgov 5f462963a0 remove blank string gettext invocations 2013-04-02 16:38:12 +04:00
Andrew Dolgov dfad9d7a36 pref-prefs: don't use schema-defined help/desc/section names 2013-04-02 16:20:43 +04:00
Andrew Dolgov f17cac6b26 retire DEFAULT_ARTICLE_LIMIT, infinite scrolling is fast enough to make it superfluous 2013-04-02 15:32:47 +04:00
Andrew Dolgov 4b7726f0b4 rpc: move labelops to article 2013-04-02 14:56:08 +04:00
Andrew Dolgov 9c96a3e28c rpc: remove getArticles 2013-04-02 14:54:34 +04:00
Andrew Dolgov c83554bddd rpc: move completeTags to article 2013-04-02 14:53:36 +04:00
Andrew Dolgov 5df8be5c0a rpc: move setArticleTags to article 2013-04-02 14:52:21 +04:00
Andrew Dolgov 195187c490 rpc: move several feed-related calls to pref-feeds 2013-04-02 14:47:43 +04:00
Andrew Dolgov d719b06240 rpc: move setScore to article 2013-04-02 14:41:41 +04:00
Andrew Dolgov 8956b3a607 remove obsolete checkDate stuff 2013-04-02 14:36:00 +04:00
Andrew Dolgov c88e4a2af3 remove small_article_preview 2013-04-02 14:34:17 +04:00
Andrew Dolgov 96e3ae8cce move batchAddFeeds to pref-feeds 2013-04-02 14:32:10 +04:00
Andrew Dolgov 76f2113b35 instances: fix a few wrong calls, move genHash method from rpc 2013-04-02 14:27:15 +04:00
Daniel Andersson 4785420034 Add hook to add explanations of hotkey actions via plugins. 2013-04-02 09:05:17 +02:00
Andrew Dolgov 8d192d025b update 'no articles in label' hint 2013-04-02 10:21:45 +04:00
Andrew Dolgov ffd0786416 api: add a few logical spaces 2013-04-02 09:34:32 +04:00
Andrew Dolgov 108efe408a Merge pull request #117 from j0nson/patch-1
add sort order to API getHeadlines
2013-04-01 22:12:47 -07:00
Andrew Dolgov 129562e0b1 opml: add some data length limiting 2013-04-02 09:03:35 +04:00
Andrew Dolgov 0671359f28 make show empty cats menu item more visible, move unsubscribe to feeds dropdown 2013-04-02 08:55:35 +04:00
j0nson 0bbd14146a adds sort order to API
Allows sort by feed date or by reverse order
api Params:
order_by (string = feed_dates, date_reverse)
2013-04-01 22:21:36 -03:00
Andrew Dolgov 2faef8349c generated feeds: lower default query limit 2013-04-01 21:15:50 +04:00
Andrew Dolgov d6ba77f3ad fix 304 being returned all the time 2013-04-01 21:13:13 +04:00
Andrew Dolgov 2e35a7070b generated feeds: support if-modified-since 2013-04-01 21:08:32 +04:00
Andrew Dolgov 977580a41c remove obsolete xml stuff in pref-users infoboxes 2013-04-01 18:28:47 +04:00
Andrew Dolgov ceb7847108 add HOOK_TOOLBAR_BUTTON, HOOK_ACTION_ITEM, HOOK_HEADLINE_TOOLBAR_BUTTON 2013-04-01 18:06:09 +04:00
Andrew Dolgov 1a293f10ab improve filter overview display; replace ngettext with php gettext 2013-04-01 16:06:04 +04:00
Andrew Dolgov dc5a8a21a8 api, also hide uncategorized if empty 2013-04-01 14:08:17 +04:00
Andrew Dolgov c0a08063d6 api: do not return Labels category when there are no labels (closes #651) 2013-04-01 14:04:56 +04:00
Andrew Dolgov 417591034a remove experimental view_settings stuff from master 2013-04-01 13:02:29 +04:00
Andrew Dolgov 201bb1ca54 move batchSubscribe to pref-feeds 2013-04-01 12:36:57 +04:00
Andrew Dolgov 9d76e75451 move editPrefProfiles to pref-prefs 2013-04-01 12:34:49 +04:00
Andrew Dolgov 7a5103ae90 move addInstance call to instances plugin 2013-04-01 12:31:55 +04:00
Andrew Dolgov 00e347410e move customizeCSS to pref-prefs 2013-04-01 12:30:34 +04:00
Andrew Dolgov 1c9bda915b move several methods from dlg; fix displayed tags not updated after editing 2013-04-01 11:14:27 +04:00
Andrew Dolgov a7edcc5585 minor css cleanup 2013-04-01 10:51:38 +04:00
Andrew Dolgov fb54e3b188 remove xml stuff from backend/dlg 2013-04-01 10:47:41 +04:00
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 2013-04-01 10:09:22 +04:00
Andrew Dolgov f041932021 pref-filters: fix overview load order 2013-04-01 08:56:46 +04:00
Andrew Dolgov b895510f5c mark filters with no caption in overview 2013-04-01 08:54:20 +04:00
Andrew Dolgov 442bca2752 filters: make caption required (fix) 2013-04-01 08:49:00 +04:00
Andrew Dolgov 4aa1e31e4e filters: make caption required 2013-04-01 08:46:01 +04:00
symac e9c6e27ddb Update public.php
Adding ability to access ARTICLE_NOTE directly in themes. Needed in a project of sharing RSS with notes in a specific atom field.
2013-03-31 21:58:22 +03:00
Andrew Dolgov a86ba0a67a implement filter drag and drop sorting 2013-03-31 17:15:23 +04:00
Andrew Dolgov da46d21e88 simplify filter overview 2013-03-31 16:52:33 +04:00
Andrew Dolgov 18ad09af01 implement filter titles 2013-03-31 16:40:24 +04:00
Andrew Dolgov 3dd0306f3e subtoolbar: remove catchupPage, label confusing with upper toolbar catchup function 2013-03-31 15:39:10 +04:00
Andrew Dolgov c8b693cf7f implement catchup with selectable updated criteria 2013-03-31 12:37:42 +04:00
Andrew Dolgov b029f91621 archive: automatically subscribe user to originating feed while unarchiving 2013-03-30 21:59:52 +04:00
Andrew Dolgov aa5ac2cd3a do not create duplicate archived feeds on unsubscribe, file entries into already existing archive entry 2013-03-30 21:45:24 +04:00
Andrew Dolgov 583dbc5695 api: add author to getHeadlines 2013-03-30 18:24:32 +04:00
Andrew Dolgov a7c0e150b6 fix invisible active headline in 3pane mode 2013-03-29 23:04:27 +04:00
Andrew Dolgov a0ddecb98d remove cdm tiles; update cdm stylesheet as to stop reading on yellow 2013-03-29 18:53:16 +04:00
Andrew Dolgov f0d3c94aa7 purge orphans after deleting articles 2013-03-29 15:20:26 +04:00
Andrew Dolgov e216d3025f forgotpass: remove secretkey stuff because of new session handling; use stylesheet/javascript_tag 2013-03-29 10:10:20 +04:00
Andrew Dolgov 9a2aed9193 sharepopup: use stylesheet/javascript_tag 2013-03-29 10:06:28 +04:00
Andrew Dolgov e92a353b1f feeds: fix browsing by labels broken by pfeeds 2013-03-28 23:34:35 +04:00
Andrew Dolgov 19a206578f fix date_reverse sorting 2013-03-28 21:40:11 +04:00
Andrew Dolgov 7ef7dd31ee syndicated feeds: fix ordering for last_marked etc 2013-03-28 21:34:28 +04:00
Andrew Dolgov 5d40efc9b0 add ability to select CSS files in themes/ 2013-03-28 21:04:29 +04:00
Andrew Dolgov 8aa01d7989 disable SORT_HEADLINES_BY_FEED_DATE; replace with a toolbar newest first order 2013-03-28 20:51:06 +04:00
Andrew Dolgov b9a06a0e39 retire frankly ridiculous sorting by score/title/date/default
keep defaul and oldest first instead of REVERSE_HEADLINES
2013-03-28 20:44:43 +04:00
Andrew Dolgov 250b2e10cb use new double-date sorting in non-default sorting modes 2013-03-28 19:30:07 +04:00
Andrew Dolgov 4cf0f9a900 greaderimport: add command line mode 2013-03-28 18:37:36 +04:00
Andrew Dolgov b3575bd8e4 fix include_empty to use bool type 2013-03-28 15:31:39 +04:00
Andrew Dolgov 66ca7c3097 api: add include_empty to getCategories/getFeedTree 2013-03-28 15:28:37 +04:00
Andrew Dolgov fcef9eeae0 remove dialogNotice; tweak dialog appearance a bit 2013-03-28 14:01:25 +04:00
Andrew Dolgov 483f15d538 update utility.css related stuff some more 2013-03-28 13:19:28 +04:00
Andrew Dolgov 0bb5833beb api: add getFeedTree 2013-03-28 11:04:27 +04:00
Andrew Dolgov f231f438ba reimplement remember_me 2013-03-28 09:48:58 +04:00
Andrew Dolgov 60ed4c9ad5 add yet another workaround for stuck login due to session cookies 2013-03-28 09:09:41 +04:00
Andrew Dolgov 79bb55892b api/login: add session_destroy 2013-03-28 08:46:20 +04:00
Andrew Dolgov f79bd4397f login: add session_destroy() first 2013-03-28 08:37:17 +04:00
Andrew Dolgov cda55d67d0 add cleanup_tags/purge orphans to globalUpdateFeeds and simple update
rpc call (closes #636)
2013-03-28 08:19:31 +04:00
Andrew Dolgov 5160620c8a only autostart session if login cookie exists 2013-03-28 08:06:21 +04:00
Andrew Dolgov 919984a436 css cleanup; change notify css a bit 2013-03-27 22:24:26 +04:00
Andrew Dolgov 6deafe90db modify notify/warn/error boxes css 2013-03-27 22:03:55 +04:00
Andrew Dolgov 00df2b5f91 various utility.css updates 2013-03-27 19:40:49 +04:00
Andrew Dolgov bb5e1a328d enable 4th field in plugin->about() to serve as a more info link 2013-03-27 18:16:30 +04:00
Andrew Dolgov 65f85248ce pref-prefs: mention tt-rss forums as a plugin source 2013-03-27 16:24:43 +04:00
Andrew Dolgov a413f53ebf add experimental base for plugin vfeeds (3 pane mode not yet
implemented)
2013-03-27 16:15:25 +04:00
Andrew Dolgov af2941dbb3 truncate feed title length in vfeeds 2013-03-27 14:20:11 +04:00
Andrew Dolgov c72069b098 pref_users: do not escape password to prevent special character
mishandling; remove inconsistent trimming of passwords
2013-03-27 13:47:35 +04:00
Andrew Dolgov be574731fc modify sorting by date_entered: set date_entered per-batch; use updated as a secondary criteria 2013-03-27 13:34:04 +04:00
Andrew Dolgov 33b3db3372 for consistency, show hotkey-toggleable options relating to headlines list in preferences 2013-03-27 12:42:01 +04:00
Andrew Dolgov 744a1b0080 disable show additional preferences checkbox as repeatedly confusing 2013-03-27 12:29:51 +04:00
Andrew Dolgov 884d16505e tweak how utility.css-based stuff looks 2013-03-27 10:59:26 +04:00
Andrew Dolgov f822a8e56c experimentally rebase labels; make base index configurable 2013-03-27 09:40:07 +04:00
Andrew Dolgov 2e828a4af6 add a button to show release notes before updating; remove obsolete elements 2013-03-25 21:47:38 +04:00
Andrew Dolgov ec1f8a3d8a fix inverse rule to only mean negative regexp matching except for whole rule (refs #631) 2013-03-25 20:09:37 +04:00
Andrew Dolgov bcd4d24086 getFilterName: only show inverse rules as actually inverse 2013-03-25 19:58:37 +04:00
Andrew Dolgov a3a896a127 let us rejoice on being able to create double negative filters (refs #631) 2013-03-25 19:46:43 +04:00
Andrew Dolgov c1f6e5f865 api: fix updateFeed crashing (closes #616) 2013-03-25 16:20:45 +04:00
Andrew Dolgov d2f3467bb6 add a simple appearing preview for unexpanded cdm and normal mode 2013-03-25 16:09:05 +04:00
Andrew Dolgov d2888e8832 create_published_article: set last_published properly on creation 2013-03-25 10:30:01 +04:00
Tomas Chvatal 9a73994c5e Allow translation of notices in prefs. 2013-03-24 21:24:24 +04:00
Andrew Dolgov 8850646ff3 Merge pull request #77 from scarabeusiv/master
Fix pluralized forms and whitespace in translations and fix the l10n tools
2013-03-24 09:00:55 -07:00
Tomas Chvatal 1844694351 gettext whitespace fix 2013-03-24 13:37:40 +01:00
Tomas Chvatal f5c1fef9cd Fix plural forms on feed count. 2013-03-24 12:55:53 +01:00
Andrew Dolgov 7be3fcd5e1 api, getCategories: properly return information for categories with 0 feeds, but children categories present 2013-03-24 14:46:45 +04:00
Andrew Dolgov efc6553da4 api: implement subscribeToFeed/unsubscribeFeed (closes #623) 2013-03-24 14:28:43 +04:00
Andrew Dolgov bf1dc420b9 Revert "title escaping: do not double-encode entities"
This reverts commit d6ce708930.
2013-03-23 10:49:50 +04:00
Andrew Dolgov d6ce708930 title escaping: do not double-encode entities 2013-03-23 09:44:52 +04:00
Andrew Dolgov 68fb3c955a update reset user password to use ttrssMailer 2013-03-23 09:20:16 +04:00
Andrew Dolgov 6ef8ec84cb Merge pull request #73 from derekmurawsky/dmChanges
Centralized mail handling per post on google + community.
2013-03-22 22:09:34 -07:00
derekmurawsky 1b2afd2bd3 Additions:
classes/trssmailer.php - Created class TTRSS mailer which extends phpmailer and sets the default mail settings upon instantiation. Class includes quickmail function that allows for a quick email send with no extra configurion necessary.

Changes:
config.php-dist - Added the smtp port option

include/digest.php - Converted it to use the new ttrrssmailer class

include/sanity_config.php - Added the smtp port option to the sanity check

plugins/mail/init.php - Modified to use ttrssmailer class. This particular configuration shows a hybrid use case.

register.php = Modified to use ttrssmailer class.

All code was tested and functioned on my local machine.
2013-03-22 16:25:12 -04:00
Andrew Dolgov f43e9e97a5 add basic password recovery thing 2013-03-22 14:50:02 +04:00
Andrew Dolgov 06b0777fa7 feeds/view: periodically bump login timestamp 2013-03-22 12:37:42 +04:00
Andrew Dolgov feb9b2dfc9 generate_syndicated_feeds use last_published/last_marked 2013-03-22 10:57:55 +04:00
Andrew Dolgov 5defc29ff8 remove PTITLE kludge; use ajax 2013-03-22 09:49:45 +04:00
Andrew Dolgov 3972bf5981 db_escape_string: specify link parameter for consistency; sessions: do not force-close db connection in _close() 2013-03-22 09:14:55 +04:00
Andrew Dolgov 043dacd3b1 Merge pull request #67 from Joschasa/master
Fix feed title display in "normal" (not combined) mode
2013-03-21 12:48:33 -07:00
Andrew Dolgov 7fc2e87e17 add headline menu entry to show article url 2013-03-21 23:29:06 +04:00
Joschasa b830cca7ee In "normal mode" don't show feed title, when articles are grouped by feed
Got removed here: e17e99fbcf
2013-03-21 20:22:04 +01:00
Andrew Dolgov b6604c9613 add HOOK_RENDER_ARTICLE_API (closes #608) 2013-03-21 18:19:23 +04:00
Andrew Dolgov 33de3d37af make sure rendering image enclosures respect hide_image setting 2013-03-21 15:37:08 +04:00
Andrew Dolgov 764555ff8a rework update.php to use getopt; allow --task parameter 2013-03-21 14:48:47 +04:00
Andrew Dolgov b74c513428 experimental: limit initialized html content for expanded cdm 2013-03-21 10:34:39 +04:00
Joschasa ca5d9be49f Remove deprecated $match_on 2013-03-21 00:36:30 +01:00
Joschasa 2a3b6de0ef remove deprecated theme_image() 2013-03-20 22:59:08 +01:00
Andrew Dolgov f0540b598a add a hack to prevent loading of stuff for hidden content in unexpanded combined mode (refs #602) 2013-03-20 13:17:48 +04:00
Andrew Dolgov 3ac153f1b3 update styling for unexpanded cdm; misc fixes related to collapsing 2013-03-20 10:59:12 +04:00
Andrew Dolgov 414191d428 make a separate headline button to collapse current article in
unexpanded cdm mode; modify a q hotkey to collapse article in unexpanded
mode and dismiss article in expanded mode
2013-03-20 10:22:15 +04:00
Andrew Dolgov 451ff72289 rework pref-prefs to use checkboxes 2013-03-19 23:14:23 +04:00
Andrew Dolgov bfd61d3f85 rework STRIP_IMAGES to remove embedding; add per-feed control over embedded images (bump schema) 2013-03-19 22:41:10 +04:00
Andrew Dolgov 36b4cf2f64 tweak vfeed grouped title display a bit to make it more similar to other modes 2013-03-19 20:37:04 +04:00
Andrew Dolgov e9b86f0a1c reimplement HOOK_SANITIZE (plugs before final removal of harmful tags) 2013-03-19 19:00:18 +04:00
Andrew Dolgov 1d5cf085a3 implement mail plugin using mailto: links; deprecate mail plugin 2013-03-19 18:32:49 +04:00
Andrew Dolgov 4f7d69e185 detect whether browser supports iframe.sandbox and allow iframes accordingly; allow object and embed elements 2013-03-19 12:49:55 +04:00
Rebecca Turner 98c39afc06 Fix strict standards issue-- DOMDocument::load isn't static 2013-03-18 18:14:37 -04:00
Andrew Dolgov 82d69730cb rename titleAuthor to author to unify class names with normal mode 2013-03-19 00:50:20 +04:00
Andrew Dolgov 5035e91ece Merge pull request #58 from dandersson/authorstyling
Enable styling of author in feed item title by adding span class.
2013-03-18 13:49:06 -07:00
Andrew Dolgov be124dc236 Revert "add experimental HOOK_SANITIZE"
This reverts commit 2130fe7a18.
2013-03-19 00:00:13 +04:00
Daniel Andersson b5459be1f2 Enable styling of author in feed item title by adding span class. 2013-03-18 20:57:41 +01:00
Andrew Dolgov 2130fe7a18 add experimental HOOK_SANITIZE 2013-03-18 22:26:36 +04:00
Andrew Dolgov 5b18c93622 tweak hotkey map notation to allow stuff like shift-arrows 2013-03-18 20:59:48 +04:00
Andrew Dolgov e9f42579a3 fix boolean wrapped as a string literal passed when saving user (closes #568) 2013-03-18 17:53:53 +04:00
Andrew Dolgov 08dfc22391 in combined mode, when viewing vfeeds relative urls are rewritten incorrectly (fixes #586) 2013-03-18 15:42:28 +04:00
Andrew Dolgov 9955a13462 properly allow false parameters passed through to API calls (refs #576) 2013-03-17 21:04:16 +04:00
Andrew Dolgov cf2f643edb hlFeed: remove unnecessary br 2013-03-17 16:35:05 +04:00
Andrew Dolgov 7873d58822 implement proper last_marked/last_published feeds for proper sorting of
published and marked virtual feeds, remove sorting by last_read
workaround
api: add pubsubhubbub ping when article is being set published
bump schema
2013-03-17 15:38:21 +04:00
Andrew Dolgov f01c8ec4f1 prevent absolutely useless 'exploit' (not really) while editing filters (closes #572) 2013-03-17 14:55:55 +04:00
Andrew Dolgov e17e99fbcf add back vfeed title display, optimize layout; do some layout tweaks on combined mode 2013-03-16 17:17:55 +04:00
Andrew Dolgov d56ec7005e cdm: fix alignment of feed title in vfeeds 2013-03-16 16:59:31 +04:00
Andrew Dolgov 8349a32e75 remove cache_content remnants 2013-03-16 16:11:58 +04:00
Andrew Dolgov bb9c6cc513 disable label row gradient in cdm, looks weird 2013-03-16 14:30:25 +04:00
Andrew Dolgov b251d917c7 remove gray/white content tiling in cdm because headers make a better job to distinguish between posts 2013-03-16 13:52:27 +04:00
Andrew Dolgov bdb7d62e9f tweak cdm header button alignment 2013-03-16 13:38:50 +04:00
Andrew Dolgov aca71915c4 pluginhandler: better error reporting 2013-03-16 12:26:14 +04:00
Andrew Dolgov 3fd035f5eb reinstate back sanitizedummy parameter fix that got reverted 2013-03-16 10:21:55 +04:00
Andrew Dolgov 9803a08886 Merge pull request #48 from stephen-hill/master
Edit User Password Input
2013-03-15 09:53:20 -07:00
Andrew Dolgov 8c0496f74c Revert "Rewrote database support to classes, Fixed strict warning in sanitizedummy.php"
This reverts commit 65d0cc64a2.
2013-03-15 19:54:18 +04:00
Andrew Dolgov a48d8533bf Revert "db: use builtin classloader, lowercase class files"
This reverts commit 57b8469e67.
2013-03-15 19:54:08 +04:00
Stephen Hill 9bb6811d2a Input didn't have a type.
This pasword input didn't have type="input". Now it does.
2013-03-15 14:54:39 +00:00
Andrew Dolgov 57b8469e67 db: use builtin classloader, lowercase class files 2013-03-15 14:15:06 +04:00
Andrew Dolgov 07be89952d Merge pull request #46 from mbirth/master
Core db features in separate classes for Pgsql and Mysql
2013-03-15 03:09:22 -07:00
Markus Birth 65d0cc64a2 Rewrote database support to classes, Fixed strict warning in sanitizedummy.php 2013-03-15 10:51:33 +01:00
Andrew Dolgov 7d272e5c04 fix warning in hotkey help dialog when disabled hotkey is processed 2013-03-15 10:05:48 +04:00
Andrew Dolgov ef3da31cd9 api: force returned timestamps to integer 2013-03-15 09:40:31 +04:00
Andrew Dolgov 35e5f1da35 patch sanitizedummy with proper declaration (closes #554) 2013-03-15 09:24:54 +04:00
Andrew Dolgov ef69681b93 enable feed titles in vfeeds in combined mode, align to date 2013-03-13 12:33:59 +04:00
Andrew Dolgov b999f4c75a slightly better article note display in CDM 2013-02-28 16:23:33 +04:00
Andrew Dolgov b389aeb7fc headlines renderer: do not attach topmost article ids 2013-02-28 16:09:41 +04:00
Andrew Dolgov 524de8dcf6 Revert "headlines buffer: remove dijit-based RCHK elements"
This reverts commit f7945c99d0.
2013-02-28 15:48:09 +04:00
Andrew Dolgov f7945c99d0 headlines buffer: remove dijit-based RCHK elements 2013-02-28 15:04:33 +04:00
Andrew Dolgov 831408f0e8 fix cdm checkbox not selecting entire cell 2013-02-28 14:22:13 +04:00
Andrew Dolgov 350e3944d4 fix uploadicon() returning wrong content-type (closes #543) 2013-02-28 09:17:17 +04:00
Andrew Dolgov f4c02a157a fix warning when saving plugins with 0 plugins enabled (closes #542) 2013-02-28 09:13:00 +04:00
Andrew Dolgov c2e4e8fe91 hotkey help: fix actions bound to multiple sequences not displayed correctly 2013-02-27 22:58:43 +04:00
Andrew Dolgov fa9e88c367 replace getmicrotime() wrapper with microtime(true) 2013-02-27 22:16:58 +04:00
Andrew Dolgov 0a7b15207e remove previous counter hacks; force request counters when there's no
unread stuff left in current feed (e.g. finished reading)
2013-02-27 16:57:26 +04:00
Andrew Dolgov 77a3e1233f rpc/getAllCounters: include virtual counters when last_article_id is supplied and unchanged 2013-02-27 16:51:06 +04:00
Andrew Dolgov 88918ca637 remove server-side feedtree collapse implementation 2013-02-27 15:34:13 +04:00
Andrew Dolgov 1bad74ea7c change various catchup stuff to only affect unread articles 2013-02-26 22:49:46 +04:00
Andrew Dolgov be17885789 pluginhost: add get_debug()/set_debug() for plugins to detect if debugging is allowed 2013-02-26 19:30:19 +04:00
Andrew Dolgov 5321e775f9 remove update on checksum change (updated status has been removed); rtl stuff (unused) 2013-02-26 19:20:58 +04:00
Andrew Dolgov 5d56d100f1 force disable simplepie unnecessarily sanitizing data 2013-02-26 18:27:40 +04:00
Andrew Dolgov 81c54e3d8d only allow clearing data of active plugins 2013-02-23 21:27:50 +04:00
Andrew Dolgov 017401ddce implement HOOK_FEED_FETCHED 2013-02-23 18:38:50 +04:00
Andrew Dolgov 42ecc25ba5 cdm: fix tags display 2013-02-23 16:05:48 +04:00
Andrew Dolgov 84d952f141 implement article render hooks 2013-02-23 16:01:51 +04:00
Andrew Dolgov 6afcbcd1a5 fix wrong DOS line-endings 2013-02-21 18:58:06 +04:00
Andrew Dolgov f03701fe99 store widescreen status in a cookie (refs #539) 2013-02-20 14:40:13 +04:00
Andrew Dolgov 1ff1374325 remove nonworking article zoom buttons (closes #535) 2013-02-18 21:27:42 +04:00
Andrew Dolgov 6b3f228fdc ignore VFEED_GROUP_BY_FEED when generating syndicated feeds 2013-02-17 13:48:15 +04:00
Andrew Dolgov 2c8e90c3fa rename subtoolbar actions dropdown 2013-02-13 19:07:35 +04:00
Andrew Dolgov d49dfa381e api: block real categories with 0 feeds to appear in getCategories 2013-02-10 11:40:03 +04:00
Andrew Dolgov ed47e3c418 new version dialog: display error when no version info available 2013-02-06 20:13:44 +04:00
Andrew Dolgov 0a3fd79b0e fix image caching not working on plugin-rewritten content; remove content cache stuff 2013-02-04 13:00:50 +04:00
Andrew Dolgov 5b55e9e25c js: simplify counter updating, remove some unused stuff 2013-02-01 13:09:43 +04:00
Andrew Dolgov d147154cca subtoolbar: only show mail action if plugin is enabled 2013-01-23 16:33:43 +04:00
Andrew Dolgov 96f0a3e79d remove themes/ 2013-01-23 15:36:32 +04:00
Andrew Dolgov 2cda431400 add a q shortcut; remove close_article button 2013-01-23 13:39:36 +04:00
Andrew Dolgov c2cd348b75 rename digest_checkbox 2013-01-23 13:36:13 +04:00
Andrew Dolgov a6a9b81264 split remove_feed_* stuff to pref/feeds 2013-01-22 22:38:18 +04:00
Andrew Dolgov 5083271956 move some more functions out of functions.php; fix opml.php failing due to redeclared autoload 2013-01-22 22:36:16 +04:00
Andrew Dolgov 87d7e8507a split some more functions from functions.php 2013-01-22 22:32:17 +04:00
Andrew Dolgov 04f60eb729 move api_get_* functions to classes/api 2013-01-22 22:15:56 +04:00
Andrew Dolgov 6b1a4ecd41 updaterandomfeed: use max_execution_time parameter 2013-01-22 20:07:34 +04:00
Andrew Dolgov 8b83bf5fa1 implement fallback _SIMPLE_UPDATE_MODE 2013-01-22 19:56:46 +04:00
Andrew Dolgov 5cb1730648 pref-filters: mention native-regexp difficulties in testing window 2013-01-22 13:34:02 +04:00
Andrew Dolgov e5e2cf3b88 add hack to support arbitrary key descriptions for hotkeys 2013-01-22 12:52:52 +04:00
Andrew Dolgov 1b03e1deb6 feed editor: hide cache content option 2013-01-22 12:16:17 +04:00
Andrew Dolgov 7d8f56571b persist widescreen mode in session 2013-01-19 10:55:51 +04:00
Andrew Dolgov 10bdeb4b82 misc generated feed tweaks (fix json content-type, etc) 2013-01-18 17:37:44 +04:00
Andrew Dolgov 1ae948ed08 force text/plain when DevForceUpdate is set 2013-01-12 22:47:03 +04:00
Andrew Dolgov 12f317822d api: use text/json content-type 2013-01-12 12:52:35 +04:00
Andrew Dolgov 2ec1e00e2d add bookmarklets plugin 2012-12-30 23:44:53 +04:00
Andrew Dolgov e938b1de11 rename plugin main class files 2012-12-30 13:36:40 +04:00
Andrew Dolgov 93f53ffe55 help: remove checkboxes 2012-12-29 15:07:22 +04:00
Andrew Dolgov b8cb4d08b3 help cleanup, use dijit dialog 2012-12-28 15:42:02 +04:00
Andrew Dolgov e218c5f56f main ui: action-based hotkey system, add swap_jk plugin 2012-12-28 10:46:53 +04:00
Andrew Dolgov 715a8239ac fix feedEditor not saving 2012-12-27 21:50:56 +04:00
Andrew Dolgov 5d9abb1e11 add plugin storage table to schema; add ability to clear plugin data 2012-12-27 19:20:36 +04:00
Andrew Dolgov d8a1d2a25b add experimental key/value storage for plugins 2012-12-27 16:55:25 +04:00
Andrew Dolgov 0f28f81f89 move authentication modules to plugins/ 2012-12-27 15:14:44 +04:00
Andrew Dolgov 04cdc8023d add IMAP authenticator module (closes #485) 2012-12-27 10:26:04 +04:00
Andrew Dolgov 699daf5856 add several HOOK_PREFS_TAB_SECTION hook points 2012-12-27 01:13:18 +04:00
Andrew Dolgov 7d5e162073 fix dijit checkbox in CDM 2012-12-26 22:28:07 +04:00
Andrew Dolgov 84391d6948 update user editor a bit 2012-12-25 18:20:33 +04:00
Andrew Dolgov f947467aa8 remove fupdpic and related images 2012-12-25 14:42:20 +04:00
Andrew Dolgov c4f5283052 move to dijit checkboxes in headlines/cdm list 2012-12-25 14:13:52 +04:00
Andrew Dolgov c2167866ce move mark/pub/feed icons to svg 2012-12-25 14:01:33 +04:00
Andrew Dolgov 65d1e2501b plugins web list style tweaks 2012-12-25 12:31:07 +04:00
Andrew Dolgov 23be0bd3fb hide example plugins from the admin page 2012-12-25 10:08:49 +04:00
Andrew Dolgov d2a421e3cb more work on user-selectable plugins; properly process system and user plugins 2012-12-25 10:02:08 +04:00
Andrew Dolgov de612e7a38 experimental support for per-user plugins (bump schema) 2012-12-25 00:45:10 +04:00
Andrew Dolgov 55c7f0923e split feedbrowser into a separate file 2012-12-24 15:58:29 +04:00
Andrew Dolgov f16116834e split digest stuff into digest.php 2012-12-24 15:52:59 +04:00
Andrew Dolgov ebff9ef7c6 instances: add fbexport method 2012-12-24 15:48:54 +04:00
Andrew Dolgov 7a866114e1 add -list-plugins option; about sections to plugins 2012-12-24 15:39:42 +04:00
Andrew Dolgov 6c2637d973 move data import/export to a separate plugin 2012-12-24 15:03:19 +04:00
Andrew Dolgov 41b82aa4b9 add HOOK_UPDATE_TASK 2012-12-24 14:27:15 +04:00
Andrew Dolgov 4412b877d0 implement HOOK_FEED_PARSED, add example plugin (refs #424) 2012-12-24 14:13:03 +04:00
Andrew Dolgov 19b3992b78 remove magpie, fix article filter plugins 2012-12-24 13:45:34 +04:00
Andrew Dolgov ac22075182 move digest to a separate plugin 2012-12-24 10:16:01 +04:00
Andrew Dolgov 73f28fe979 add support for registering update.php commands; move rest of the self-updating stuff into updater plugin 2012-12-24 09:52:15 +04:00
Andrew Dolgov 6cbe53c9f5 add instances plugin 2012-12-23 23:36:07 +04:00
Andrew Dolgov 8dcb2b4762 implement plugin routing masks, add example plugin 2012-12-23 23:05:51 +04:00
Andrew Dolgov 5cedb389d2 split self-updater gui to updater/ plugin 2012-12-23 18:07:41 +04:00
Andrew Dolgov 6065f3ad63 add support for plugins in prefs 2012-12-23 16:15:34 +04:00
Andrew Dolgov 5a0e03923f add and check plugin base class 2012-12-23 15:29:16 +04:00
Andrew Dolgov 19c7350770 experimental new plugin system 2012-12-23 14:52:18 +04:00
Andrew Dolgov 61a748f87f fix sharepopup/subscribe public handler actions in single user mode 2012-12-07 09:36:14 +04:00
Andrew Dolgov dd8c289b8f update example reddit filter 2012-11-26 14:38:33 +04:00
Andrew Dolgov cc85704f3c implement experimental article on-import data filters 2012-11-26 14:33:18 +04:00
Andrew Dolgov 87764a50cf implement ttrss_feeds.cache_content 2012-11-23 13:22:34 +04:00
Andrew Dolgov 7b28a98697 several translation fixes, update translations 2012-11-22 16:07:40 +04:00
Andrew Dolgov b77d0c4a12 fix missing commit after OPML import (closes #513) 2012-11-20 23:33:12 +04:00
Andrew Dolgov cc616ea162 opml import: add workaround for broken OPML files using title instead of text (refs #509) 2012-11-12 16:13:34 +04:00
Andrew Dolgov fa2374d805 fix headlines subtoolbar not being inserted for feeds with 0 headlines breaking various JS stuff expecting it 2012-11-11 22:01:06 +04:00
Andrew Dolgov 49b2401e0d savefeedorder: properly process Uncategorized 2012-11-06 15:48:47 +04:00
Andrew Dolgov 72ae3877a3 opml: fix export broken by special characters in category titles 2012-11-02 09:37:36 +04:00
Andrew Dolgov a8c1802512 simplify search dialog 2012-11-01 20:14:22 +04:00
Andrew Dolgov e8438e8fd0 update broken tt-rss.org links 2012-11-01 19:14:17 +04:00
Andrew Dolgov 9a5f5633c0 remove backend/digestSend 2012-11-01 12:35:21 +04:00
Andrew Dolgov fd087799fd tweak opml import/export according to OPML spec 2012-11-01 00:17:55 +04:00
Andrew Dolgov 32532f1c0f improve status reporting for linked feeds 2012-10-31 16:15:29 +04:00
Andrew Dolgov 29064218d0 allow batch setting of article scores 2012-10-31 15:17:49 +04:00
Andrew Dolgov beb6ce2761 allow setting article score manually 2012-10-31 14:39:26 +04:00
Andrew Dolgov 1b4d1a6b44 sharepopup: implement assigning labels while sharing 2012-10-31 12:55:24 +04:00
Andrew Dolgov b24504b121 add ability to auto-assign articles to labels (bump schema) 2012-10-30 12:58:35 +04:00
Andrew Dolgov 92c14e9d53 move article filter functions to rssfuncs.php 2012-10-30 12:11:46 +04:00
Andrew Dolgov 74467907c5 add special link to cancel current search 2012-10-30 10:24:30 +04:00
Andrew Dolgov db9e00e339 api: sanitize article content 2012-10-29 16:01:41 +04:00
Andrew Dolgov b3682750bb Revert "sanitize article content when importing data from feed"
This reverts commit c7fe1b4e9e.

Conflicts:
	include/functions.php
	include/rssfuncs.php
2012-10-29 12:17:28 +04:00
Andrew Dolgov d372d2bbab disable sync feed updates for feeds with cache_images set 2012-10-29 12:10:05 +04:00
Andrew Dolgov 8b299a163e fix ARTICLE_BUTTON_PLUGINS not loaded when string contains spaces 2012-10-28 13:02:50 +04:00
Andrew Dolgov c7fe1b4e9e sanitize article content when importing data from feed 2012-10-28 12:44:10 +04:00
Andrew Dolgov 17525d0127 quickAddFeed: remove oauth notice, mention you can paste site URL 2012-10-28 11:50:54 +04:00
Andrew Dolgov 5d7688fe43 rpc: remove unneeded methods 2012-10-28 11:04:26 +04:00
Andrew Dolgov 09c816cac4 remove unexpanded CDM ajax loading 2012-10-28 11:03:29 +04:00
Andrew Dolgov 9a0e28f4da fix rpc/cdmGetArticle for archived articles 2012-10-28 10:59:27 +04:00
Andrew Dolgov 02195b9d48 fix label row backgrounds only used when cached data is available 2012-10-27 11:25:26 +04:00
Andrew Dolgov f65ede50eb use css3 gradients to color rrows 2012-10-25 17:05:18 +04:00
Andrew Dolgov 30c337cf3d add rrow background color setting by first assigned label 2012-10-25 16:40:17 +04:00
Andrew Dolgov c0c2abbaa7 force refetch feed when clicking update/clicking on same feed in the tree 2012-10-25 13:15:14 +04:00
Andrew Dolgov 56b2a4095b filter dialog: sort rules by reg_exp 2012-10-25 12:24:24 +04:00
Andrew Dolgov 6e577ba157 properly escape comment links 2012-10-22 01:22:44 +04:00
Andrew Dolgov 5c56897349 properly escape article link/PTITLEs (refs #472) 2012-10-22 01:19:11 +04:00
Andrew Dolgov 008ebad928 syndicated feeds: force sort by last_read for published 2012-10-22 00:05:20 +04:00
Andrew Dolgov c719943aa9 fix testing of author filter type 2012-10-19 12:53:24 +04:00
Andrew Dolgov ce5652160e generated feeds: add offset= 2012-10-15 10:34:53 +04:00
Andrew Dolgov 0ef32f48b2 unify child category counter display; remove include_children control 2012-10-11 12:46:33 +04:00
Andrew Dolgov 5ba4ebc65e api: return api_level with login 2012-09-29 11:59:50 +04:00
Andrew Dolgov 759e5132a1 subscribe_to_feed: stop fetching URL multiple times while subscribing, various other speedups 2012-09-23 13:38:58 +04:00
Andrew Dolgov 839b065860 api: remove unneeded stuff, add special header for android httpurlconnection which seems to be retarded 2012-09-19 15:54:55 +04:00
Andrew Dolgov 4864633612 API: support nested categories 2012-09-18 10:03:26 +04:00
Andrew Dolgov b235e09b8d remove truncating of titles in CDM 2012-09-15 20:48:32 +04:00
Andrew Dolgov d1e31c7a74 Revert "only enable OTPHP on php version 5.3+"
This reverts commit 1835f145a8.
2012-09-15 17:17:44 +04:00
Andrew Dolgov d031f69813 Revert "auth internal: fix otp check clause"
This reverts commit 72d0e9b33f.
2012-09-15 17:17:38 +04:00
Andrew Dolgov 6e0ee8336f do not use prefs_feed_search when displaying main UI feedtree 2012-09-15 16:24:00 +04:00
Andrew Dolgov bc6fa2364b move inactiveFeeds and feedsWithErrors to pref-feeds; fix element id collisions 2012-09-14 12:30:04 +04:00
Andrew Dolgov 72d0e9b33f auth internal: fix otp check clause 2012-09-14 02:54:32 +04:00
Andrew Dolgov 1835f145a8 only enable OTPHP on php version 5.3+ 2012-09-14 02:52:49 +04:00
Andrew Dolgov 7ac3f735e1 quickAddFeed: remove OAuth mention 2012-09-14 02:46:50 +04:00
Andrew Dolgov f393dc6fb2 pref-feeds: disable show empty cats when searching 2012-09-13 12:54:11 +04:00
Andrew Dolgov 17c755f048 fix pref-feeds search 2012-09-13 12:47:09 +04:00
Andrew Dolgov 22439dad49 sharepopup look tweaks 2012-09-12 01:31:44 +04:00
Andrew Dolgov dd0a17b07a opml fixes 2012-09-11 20:16:44 +04:00
Andrew Dolgov eeee2ccf74 login form: resize input fields, fix missing error output 2012-09-10 20:37:41 +04:00
Andrew Dolgov 675f198a7c rework login form 2012-09-10 20:15:45 +04:00
Andrew Dolgov 2d6847495f fix OTP 2012-09-10 19:18:44 +04:00
Andrew Dolgov d493aba238 allow logging in by sharepopup 2012-09-10 19:13:41 +04:00
Andrew Dolgov 97acbaf190 login system fixes
remove old-style session checking from backend.php
move outside subscription endpoint to public.php, change subscription
bookmarklet
2012-09-10 19:01:06 +04:00
Andrew Dolgov c3d2cda86d bump default for generated feed article count to 100 2012-09-10 12:33:05 +04:00
Andrew Dolgov 2ebf38a9bd public/rss: implement JSON output format 2012-09-10 11:19:38 +04:00
Andrew Dolgov 46b781491b set last_read to NOW() when publishing, order published feed by last read by default, allow overriding order in recently read feed 2012-09-10 10:27:51 +04:00
Andrew Dolgov 50b8b50355 sharepopup: add help text 2012-09-09 17:40:38 +04:00
Andrew Dolgov 8361e72478 implement sharing of arbitrary stuff using bookmarklet and API call, bump API version 2012-09-09 16:05:59 +04:00
Andrew Dolgov b8386ad3d1 disable OTP when saving user 2012-09-09 12:39:04 +04:00
Andrew Dolgov 304aadb907 remove twitter-specific code 2012-09-07 10:23:46 +04:00
Andrew Dolgov ec78654f4e add auth_base check_password() 2012-09-04 12:46:08 +04:00
Andrew Dolgov 3ca8af7fd8 require entering password before enabling/disabling otp 2012-09-04 12:39:33 +04:00