Commit Graph

2003 Commits

Author SHA1 Message Date
Andrew Dolgov 52d88392da move db-prefs to OO 2013-04-18 12:00:01 +04:00
Andrew Dolgov 73663db316 support pgsql in pdo 2013-04-18 08:28:03 +04:00
Andrew Dolgov 9ee90455b8 add experimental support for PDO (_ENABLE_PDO) 2013-04-18 08:20:45 +04:00
Andrew Dolgov b6a7429591 Merge branch 'master' into pdo 2013-04-18 00:20:21 +04:00
Andrew Dolgov 0630a100d5 revert OO-db access in dbupdater, create DbUpdater() correctly 2013-04-17 21:40:04 +04:00
Andrew Dolgov 512b779391 do not try to log to sql on old schema version 2013-04-17 21:39:47 +04:00
Andrew Dolgov e441b5837b initial 2013-04-17 21:19:00 +04:00
Andrew Dolgov d9c85e0f11 classes: use OO DB interface 2013-04-17 20:12:14 +04:00
Andrew Dolgov b4b45b4534 remove sessionhandler 2013-04-17 20:10:21 +04:00
Andrew Dolgov 01568557b5 log viewer: add refresh button 2013-04-17 19:00:15 +04:00
Andrew Dolgov ae35bb87eb support mysqli when available 2013-04-17 18:56:13 +04:00
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 2013-04-17 18:34:18 +04:00
Andrew Dolgov 72ff013729 fix pluginhost created without dbh 2013-04-17 18:30:22 +04:00
Andrew Dolgov a0ed0d38d4 auth_remote: fix typo 2013-04-17 18:27:41 +04:00
Andrew Dolgov eefaa2df38 remove db_connect, db_close; CLI fixes 2013-04-17 17:00:35 +04:00
Andrew Dolgov 6322ac79a0 remove $link 2013-04-17 16:48:41 +04:00
Andrew Dolgov aca75cb5cb reinstate error handlers; better DB error reporting on failed queries 2013-04-17 16:05:54 +04:00
Andrew Dolgov 404e2e3603 more work on singleton-based DB 2013-04-17 15:36:48 +04:00
Andrew Dolgov ba68b6815a db updates, remove init_connection() 2013-04-17 14:23:35 +04:00
Andrew Dolgov 9594791782 experimental singleton-based Db connection 2013-04-17 13:08:36 +04:00
Andrew Dolgov 2cbdc95bb0 add a separate tab for the logger 2013-04-17 08:42:39 +04:00
Andrew Dolgov 9deca86d96 require entering current one time code to enable otp 2013-04-16 21:07:26 +04:00
Andrew Dolgov a5680acbe8 replace split with explode 2013-04-16 20:40:23 +04:00
Andrew Dolgov e2261e177b implement old log entry purging in update_daemon_common; add some more error types; tweak error log display 2013-04-16 20:34:20 +04:00
Andrew Dolgov b8c7f8357d do not try to load plugins which aren't directories 2013-04-16 20:20:40 +04:00
Andrew Dolgov 4e53956add implement error log viewer 2013-04-16 20:16:15 +04:00
Andrew Dolgov 889a5f9f19 experimental SQL-based error logger 2013-04-16 19:41:31 +04:00
Andrew Dolgov 4f032700db ttrssMailer: actually use OOP properly 2013-04-16 16:50:22 +04:00
Andrew Dolgov 90df27a4c1 ttrssMailer: fix typo 2013-04-16 16:43:15 +04:00
Andrew Dolgov b9863a153c unify SMTP_HOST and SMTP_PORT as SMTP_SERVER 2013-04-16 16:40:04 +04:00
Andrew Dolgov 40fe2d7382 remove js-based player, better mp3 support detection for html5 audio 2013-04-16 15:44:38 +04:00
Andrew Dolgov 5e3d5480f7 use hashed guids in a hopefully backwards compatible fashion 2013-04-15 19:28:11 +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 86f7d2a9f2 make gradient less visible on read headlines 2013-04-15 18:09:48 +04:00
Andrew Dolgov 12a6bd28ac remove hsl stuff from classes/feeds, we take care of this when choosing the color 2013-04-15 17:07:06 +04:00
Andrew Dolgov e7480cc13b do not color predominantly white/black rows 2013-04-15 15:56:08 +04:00
Andrew Dolgov bfaf90e364 add row backgrounds in normal mode 2013-04-15 15:38:05 +04:00
Andrew Dolgov 85eea71e0e use w3c gradient definition 2013-04-15 15:34:47 +04:00
Andrew Dolgov e0deff3933 implement basic moz gradient for feedicon color 2013-04-15 15:27:35 +04:00
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
Andrew Dolgov b8cdc39433 focus input field in otp form 2012-09-04 12:08:50 +04:00
Andrew Dolgov 02cd6de128 api: add workaround to disable OTP 2012-09-03 22:32:24 +04:00
Andrew Dolgov 4e70344bbf auth internal: fix login screen warning 2012-09-03 18:53:19 +04:00
Andrew Dolgov 973392b9f5 pref-prefs/otpqrcode: do not show image if otp is enabled 2012-09-03 18:42:17 +04:00
Andrew Dolgov fb70f26ed9 implement one time passwords using TOTP 2012-09-03 18:33:46 +04:00
Andrew Dolgov fd26d5bfdf implement removing selected categories 2012-09-03 16:06:24 +04:00
Andrew Dolgov 4e02f58294 implement filter testing 2012-09-03 15:05:43 +04:00
Andrew Dolgov 75c648cf5c replace several preg_match() feed id tests with is_numeric() 2012-09-02 14:11:28 +04:00
Andrew Dolgov 5a49ed95a8 do not load test opml when debugging 2012-09-02 13:47:03 +04:00
Andrew Dolgov d7f9e4fc08 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2012-09-02 13:46:05 +04:00
Andrew Dolgov 3b003f6396 implement OPML filter import 2012-09-02 13:45:52 +04:00
Andrew Dolgov 8592a8e3b2 opml: fix cat_filter type 2012-09-02 13:38:03 +04:00
Andrew Dolgov 8b6e08a11a opml export filter format fix 2012-09-02 13:15:57 +04:00
Andrew Dolgov fd994f1a48 reimplement OPML filter export 2012-09-01 23:33:56 +04:00
Andrew Dolgov ff34bac2bf fix filter newrule reg_exp length 2012-08-31 17:45:07 +04:00
Andrew Dolgov ab564aef7b filterEditDlg: automatically open new rule dialog when active feed or article title present 2012-08-31 17:33:22 +04:00
Andrew Dolgov 84d9750edc show label color indicators in pref-filters 2012-08-31 15:40:19 +04:00
Andrew Dolgov 04e41840fe use dijit.form.CheckBox in filter edit dialog 2012-08-31 15:26:11 +04:00
Andrew Dolgov 69c6e94d35 implement basic filter search 2012-08-31 15:14:12 +04:00
Andrew Dolgov e8b703878d fix preffiltertree layout being wrong 2012-08-31 13:00:23 +04:00
Andrew Dolgov 37f78940d8 block type 5 filters (date) 2012-08-31 12:54:37 +04:00
Andrew Dolgov c2ee5846fa fix getfiltertree enabled on psql 2012-08-31 12:27:50 +04:00
Andrew Dolgov 5451903ce3 fix cat_filter parsed wrong on psql 2012-08-31 12:24:13 +04:00
Andrew Dolgov 6aff784575 implement multiple rule/action filters 2012-08-31 12:13:47 +04:00
Andrew Dolgov f9ebb32ca0 hide more obscure preferences under "show more" checkbox in pref-prefs,
bump schema
2012-08-30 13:10:28 +04:00
Andrew Dolgov 5417fbd77e implement recently read vfeed (-6) 2012-08-27 10:08:11 +04:00
Andrew Dolgov da1da2e4d8 quickAddFilter: prefill current feed in the dialog 2012-08-26 16:54:47 +04:00
Andrew Dolgov 4c9d0490c6 rework filter dialog to make feed/category selection easier 2012-08-26 12:36:08 +04:00
Andrew Dolgov c39befacb2 add (undocumented) _DISABLE_FEED_BROWSER 2012-08-24 00:13:30 +04:00
Andrew Dolgov 4c97d1f6af newVersionDlg: mention prefs updater 2012-08-23 23:15:01 +04:00
Andrew Dolgov 808dd053c6 implement web-based self updater (closes #395) 2012-08-23 22:56:04 +04:00
Andrew Dolgov 1280612515 self-update: update up to date prompt 2012-08-23 22:02:29 +04:00
Andrew Dolgov 27211afe92 implement experimental web-based updater 2012-08-23 20:23:19 +04:00
Andrew Dolgov 366f06f7cf update.php: display error message when running from the browser
mention self-updating in new version dialog
2012-08-23 13:17:22 +04:00
Andrew Dolgov 9aceda3afc remove hook-based plugins 2012-08-21 14:37:43 +04:00
Andrew Dolgov 23d2471c92 expand error messages in subscribeToFeed(), provide proper error message
when URL download failed (refs #489)
2012-08-21 14:09:51 +04:00
Andrew Dolgov 9da07c8ad2 unbreak classes/dlg 2012-08-17 17:03:39 +04:00
Andrew Dolgov 369dbc19d6 rework class system to use subdirectories
add placeholder plugin/hook system
2012-08-17 14:22:33 +04:00
Andrew Dolgov dc0374df2b auth_internal.change_password: do not rely on session 2012-08-16 18:27:26 +04:00
Andrew Dolgov d5fd183d18 move changing password code to authentication modules 2012-08-16 18:21:35 +04:00
Andrew Dolgov 200e0d4ebb save module user authenticated with, only allow password change if module is 'internal' 2012-08-16 16:00:50 +04:00
Andrew Dolgov 1e666f0aeb add hide_change_password session variable 2012-08-16 15:58:13 +04:00
Andrew Dolgov 501ed09a26 allow auto_create_user() to be used instead of find_user_by_login() when auto creating is off 2012-08-16 15:38:33 +04:00
Andrew Dolgov 0d421af86f split authentication to separate modules 2012-08-16 15:30:49 +04:00
Andrew Dolgov 3f9de6ccbc opml: remove CRs, tweak category node detection 2012-08-15 15:58:43 +04:00
Andrew Dolgov 65c8267980 opml: clean empty categories 2012-08-15 15:55:41 +04:00
Andrew Dolgov d75409bfda move opml stuff to classes/opml.php 2012-08-15 15:47:13 +04:00
Andrew Dolgov ba5296a19b disable dnd tip in pref_feeds 2012-08-15 10:48:25 +04:00
Andrew Dolgov 95ee44b33d fix drag-and-drop categorizing of feeds into nested cats 2012-08-15 10:10:24 +04:00
Andrew Dolgov 28537341ef pref_feeds: add missing methods to add/remove cats 2012-08-15 09:59:08 +04:00
Andrew Dolgov 5ef071e00b remove old category editor
allow creating/removing categories in main feed editor
2012-08-15 09:38:57 +04:00
Andrew Dolgov e07f89815b properly persist include_children 2012-08-15 09:11:43 +04:00
Andrew Dolgov fbf85cf646 print_feed_cat_select: display nested category structure
fix empty sub-sub-categories never being shown
2012-08-14 23:19:20 +04:00
Andrew Dolgov a26f57e63a fix savefeedorder for dojo 1.7 (wtf) 2012-08-14 19:37:31 +04:00
Andrew Dolgov d04f8c826f remove call-by-reference to comply with php 5.4 2012-08-14 12:18:52 +04:00
Andrew Dolgov 854a2ace86 change include_children to a togglebutton; add placeholder setting save in a session 2012-08-13 21:39:40 +04:00
Andrew Dolgov 09101297ee add toolbar checkbox to include subcategories to viewfeed() 2012-08-13 21:25:46 +04:00
Andrew Dolgov 2c5f231e43 add special indication for categories having unread items in child categories 2012-08-13 19:52:34 +04:00
Andrew Dolgov be514d00c9 remove feeds/index() 2012-08-13 18:58:21 +04:00
Andrew Dolgov 2ecd2df560 sorta-kinda fix the feedlist 2012-08-13 18:56:55 +04:00
Andrew Dolgov 2a060a9456 initial work on nested categories 2012-08-13 14:47:43 +04:00
Andrew Dolgov d3253f49aa Revert "add experimental clientside headline clamping (refs #479)"
This reverts commit 26e4b12466.
2012-08-10 15:02:18 +04:00
Andrew Dolgov 26e4b12466 add experimental clientside headline clamping (refs #479) 2012-08-09 13:08:07 +04:00
Steven Allen 093fae5e3c Change ttrss_logo.png (deleted) to logo_wide.png 2012-07-14 18:49:40 -04:00
Andrew Dolgov 687bb90d27 remove COUNTERS_MAX_AGE, add some optimization for counter queries (refs #464) 2012-07-09 13:02:42 +04:00
Andrew Dolgov 0e4a7d7a94 remove memcached stuff 2012-07-06 14:37:03 +04:00
John Keeping 17f9d2003a Make Handler::before() hierarchy consistent
In API, the before() method (inherited from Handler) takes a $method
argument, although this is not declared for the before method() in
handler.  PHP in strict mode treats this as an error.

Since call sites already pass the $method argument, change
Handler::before() and the before() method in all other subclasses to
take this argument.
2012-07-05 19:43:44 +01:00
Andrew Dolgov 68916212b2 use Uncategorized coalesce in a few more places 2012-06-30 16:40:47 +04:00
Andrew Dolgov 310fa2ddef implement search in pref-filters 2012-06-29 13:11:39 +04:00
Andrew Dolgov a5e0ffb0ce fix creating category filters on mysql 2012-06-24 22:45:28 +04:00
Andrew Dolgov 40b67ac7c7 Merge pull request #19 from plaidfluff/7e454e815dd67f0ac3804e213599be9bbbc2755e
Change update.php shebang to support any in-path installation locatio…
Fix category count query for mysql
2012-06-21 21:08:28 -07:00
fluffy 7e454e815d Fix category count query for mysql 2012-06-21 08:52:50 -07:00
Andrew Dolgov 82ace1aba8 fix borders on filter test results container 2012-06-20 16:14:40 +04:00
Andrew Dolgov aa8b48a02b fix creating filter with active article title in cdm 2012-06-20 16:10:55 +04:00
Andrew Dolgov 917c12ee30 show empty categories in italic in category editor 2012-06-15 12:24:41 +04:00
Andrew Dolgov a62812a6b4 show amount of feeds category holds in category editor 2012-06-15 10:43:58 +04:00
Andrew Dolgov ca6a0741b4 tweak dialog topmost notices; add an explanation for the batch feed editor 2012-06-14 21:23:09 +04:00
Andrew Dolgov ddb575c744 add select all/none functionality to several edit dialogs 2012-06-14 21:04:14 +04:00
Andrew Dolgov 2fb947eb21 prevent session modification in public/rss 2012-06-07 10:13:05 +04:00
Andrew Dolgov 64436e1039 prevent session modification in public/share 2012-06-07 10:09:16 +04:00
Andrew Dolgov 184f51952c experimental tweak to not mark articles newer than last one loaded in the buffer as read 2012-06-03 20:02:51 +04:00
Alexandre Gravel-Raymond b1e592d37f Escape quotes in bookmarklet confirm message 2012-05-19 20:26:09 +02:00
Andrew Dolgov 949b1a9491 hide several user-related prompts when using remote auth + auto_login (closes #447) 2012-05-16 11:56:21 +04:00
Andrew Dolgov 35b9844be1 fix broken feed icon upload (closes #459) 2012-05-15 22:00:43 +04:00
Andrew Dolgov 941e48a402 apply patch from gmargo to differentiate between manual and new feed after-subscription update 2012-05-05 22:28:46 +04:00
Andrew Dolgov ecbd7b91fe allow manual updates for feeds with disabled automatic updates 2012-04-01 09:35:56 +04:00
Andrew Dolgov 442456184c simplify catching up of feeds, do not reload headlines buffer on catchup unless on_catchup_show_next_feed is enabled (closes #442) 2012-03-29 15:03:48 +04:00
Andrew Dolgov d4c64ecc77 pref_prefs: only disable password changing block in single user mode (closes #444) 2012-03-29 14:44:52 +04:00
André a498d18b55 Remove apostrophs from boolean values when editing feeds in batch 2012-03-09 10:05:06 +01:00
Andrew Dolgov b11e9943d8 API: add order_id to getCategories; add feed_title to getHeadlines; bump api level to 3 2012-03-08 19:01:23 +04:00
Andrew Dolgov 5b7bd238ee pref-feeds: apply patch by gmargo@forum to show/hide empty categories 2012-03-05 12:08:39 +04:00
Andrew Dolgov d50edb08ba fix wrong translation in de_DE 2012-02-29 09:40:34 +04:00
Andrew Dolgov 9c97041d55 make generated_feed parameters optional, add specific date type for RSS feeds 2012-02-27 14:39:15 +04:00
Andrew Dolgov f4ce1d645e fix encoding for pref-feeds/add when called as a HTML page (closes #423) 2012-02-22 13:54:47 +04:00
Andrew Dolgov 56fbb82cb0 properly handle invalid regular expressions supplied when testing filters, add some additional regexp checks (closes #427) 2012-02-21 12:36:29 +04:00
Andrew Dolgov 5f85d90d71 remove readitlater button plugin from trunk, mention Plugins page in config.php 2012-02-20 12:31:16 +04:00
Andrew Dolgov 74eef4fca8 fix rpc setpref (key unassigned) 2012-02-13 15:09:39 +04:00
Andrew Dolgov 7e431502dd fix customize CSS dialog disappearing newlines (2) 2012-02-13 12:54:06 +04:00
Andrew Dolgov 0380cfa9ee fix customize CSS dialog disappearing newlines 2012-02-13 12:46:20 +04:00
Andrew Dolgov 1a740cf68e api: limit getHeadlines output to 60 headlines 2012-02-06 14:32:30 +04:00
Andrew Dolgov 8437c066e1 implement digestTest back
misc digest updates and improvements
2012-01-31 16:27:51 +04:00
Andrew Dolgov 8eba830f08 pref_prefs: mention that tt-rss server time is UTC 2012-01-31 15:56:03 +04:00
Andrew Dolgov 1b92f54375 update DIGEST_PREFERRED_TIME prefs regexp 2012-01-31 15:53:46 +04:00
Andrew Dolgov 1b9b19af0f try to send digests within 2 hours of preferred time only 2012-01-31 15:52:33 +04:00
Andrew Dolgov 76c843a9ba pref_prefs: fix markup error 2012-01-31 15:26:16 +04:00
Andrew Dolgov e95e78198f update translations 2012-01-30 16:39:40 +04:00
Andrew Dolgov 6d9455e9ba add DIGEST_PREFERRED_TIME to profile blacklist 2012-01-30 16:36:21 +04:00
Andrew Dolgov 61c1812f29 implement preferred time for sending out digests 2012-01-30 16:34:45 +04:00
Andrew Dolgov 33f0fdd0a2 prefs: implement batch subscribe to feeds 2012-01-29 17:51:00 +04:00
Andrew Dolgov aa60999b97 allow subscribing to twitter feeds without oauth (if require auth checkbox is unset) 2012-01-26 13:48:14 +04:00
Andrew Dolgov 8db5d8ea6d add get_random_bytes() in case openssl_random_pseudo_bytes() is unavailable 2012-01-23 22:04:01 +04:00
Andrew Dolgov 098df83ba6 fix various password-change related functions 2012-01-23 12:20:09 +04:00
Andrew Dolgov 3e4af5b0b3 api: add search parameters to getHeadlines (bump API level) 2012-01-19 14:07:59 +04:00
Andrew Dolgov f6cd767b9f fix savefeedorder not working due to CSRF check (refs #366) 2012-01-03 01:37:51 +04:00
Andrew Dolgov dddd80cf1b only gzip xml exported data when gz functions are available 2011-12-28 11:03:24 +04:00
Andrew Dolgov 051195eccd xml export: gzip export data 2011-12-28 10:48:14 +04:00
Andrew Dolgov 41f68571ab fix opml export 2011-12-28 09:46:54 +04:00
Andrew Dolgov a1159c01f3 tweak import/export preferences pane 2011-12-28 09:43:17 +04:00
Andrew Dolgov 7acc194b53 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2011-12-27 23:12:11 +04:00
Andrew Dolgov 55f34b811f implement experimental personal data import 2011-12-27 23:10:04 +04:00
Andrew Dolgov 2c43770f98 export: add link 2011-12-27 21:39:53 +04:00
Andrew Dolgov 566faa1476 implement neutral-format personal data export 2011-12-27 21:09:22 +04:00
Andrew Dolgov b4a9e560aa mention filters import/export on prefs OPML page 2011-12-27 18:38:52 +04:00
Andrew Dolgov 34aa9e20c7 implement filter import 2011-12-27 18:37:07 +04:00
Andrew Dolgov bbefea90a7 implement import/export of labels using OPML 2011-12-27 16:43:14 +04:00
Andrew Dolgov 11cb9506d2 pngquant some images 2011-12-27 14:30:20 +04:00
Andrew Dolgov ba975b2ec7 implement filtering by category (closes #386) 2011-12-27 12:57:38 +04:00
Andrew Dolgov b69a09ea07 fix filter test dialog 2011-12-26 16:02:59 +04:00
Andrew Dolgov 3c696512fc universal image caching and automatic cache directories maintenance 2011-12-26 13:11:08 +04:00
Andrew Dolgov 8484ce2258 experimental CSRF protection 2011-12-26 12:02:52 +04:00
Andrew Dolgov 036cd3a410 globalUpdateFeeds: disable debugging info 2011-12-25 00:17:22 +04:00
Andrew Dolgov c4c74732db fix OPML import 2011-12-22 16:45:19 +04:00
Andrew Dolgov 638e27c8d4 rename dismiss article button 2011-12-21 10:59:04 +04:00
Andrew Dolgov 55ad22fa55 add note plugin 2011-12-21 10:58:06 +04:00
Andrew Dolgov ae0647e085 add readitlater plugin 2011-12-21 09:09:39 +04:00
Andrew Dolgov 1baac2803c add mail and share plugins 2011-12-21 08:50:37 +04:00
Andrew Dolgov 8e70d965a8 add missing files 2011-12-21 08:21:56 +04:00
Andrew Dolgov f9ac31d671 move tweet button to a plugin, implement basic support for article action button plugins 2011-12-20 23:59:37 +04:00
Andrew Dolgov f10808259c tweak headlines-toolbar appearance 2011-12-20 22:38:25 +04:00
Andrew Dolgov d0dfb4c8a8 fix pref_filters 2011-12-19 00:36:38 +04:00
Andrew Dolgov 396bfdf928 api: add setArticleLabel 2011-12-17 11:22:50 +04:00
Andrew Dolgov ea1c2903ee api: add getLabels 2011-12-17 11:06:55 +04:00
Andrew Dolgov 8aa3becccc api: fix browsing uncategorized 2011-12-15 13:13:46 +04:00
Andrew Dolgov ab05e53813 remove about dialog 2011-12-14 15:52:40 +04:00
Andrew Dolgov 66be620a87 do not include keyboard help files into index and prefs.php 2011-12-14 15:51:27 +04:00
Andrew Dolgov 07391e36b8 public: enable globalUpdateFeeds 2011-12-14 14:15:32 +04:00
Andrew Dolgov 4fdb875944 fix labelops 2011-12-14 12:05:45 +04:00
Andrew Dolgov 3a76e2a25c fix feed editor 2011-12-14 12:04:52 +04:00
Andrew Dolgov 09e8bdfd18 simplify default global config, expand sanity_check messages 2011-12-13 19:20:26 +04:00
Andrew Dolgov a3b5394aaf api: fix API_LEVEL 2011-12-13 16:51:49 +04:00
Andrew Dolgov 791780621b split several functions to related classes 2011-12-13 16:27:46 +04:00
Andrew Dolgov 183ff16c7c rename sanitize_rss to sanitize 2011-12-13 16:08:08 +04:00
Andrew Dolgov de8260cb10 move API to classes/ 2011-12-13 15:40:42 +04:00
Andrew Dolgov 5f0a3741d0 add Public_Handler
misc code cleanup
2011-12-13 14:49:11 +04:00
Andrew Dolgov 46da73c255 implement ProtectedHandler 2011-12-13 14:18:18 +04:00
Andrew Dolgov 8e17d6636e add Pref_Filters 2011-12-13 14:09:34 +04:00
Andrew Dolgov 66665fba79 add Pref_Users class 2011-12-13 14:02:37 +04:00
Andrew Dolgov cbe50c800d add pref_labels class 2011-12-13 13:34:43 +04:00
Andrew Dolgov 4f09f594c2 move help to backend class 2011-12-13 11:02:43 +04:00
Andrew Dolgov 611efae712 add catchall backend class 2011-12-13 10:58:30 +04:00
Andrew Dolgov 1395083e94 add pref_prefs class 2011-12-13 10:51:50 +04:00
Andrew Dolgov afcfe6cad5 add pref_feeds class 2011-12-13 09:29:22 +04:00
Andrew Dolgov 3f3630529e implement tiny-OOP routing 2011-12-13 00:20:53 +04:00
Andrew Dolgov d51124689d add tiny-OOP style backend RPC 2011-12-12 23:32:29 +04:00