Commit Graph

481 Commits

Author SHA1 Message Date
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