Commit Graph

1175 Commits

Author SHA1 Message Date
Andrew Dolgov 356e13b161 rename orig_guid to no_orig_guid 2013-07-07 01:03:45 +04:00
Andrew Dolgov fcf6bfba32 syndicated feeds: add orig_guid to optionally alter item id to workaround duplicate checking for syndicated content; add <link> element to <source> 2013-07-07 00:59:23 +04:00
guillaume-uH57J9 c4cab4ecf4 Report failed login attemps using user_error 2013-07-06 15:34:42 +02:00
Andrew Dolgov 4b7ebe93a8 fix broken highlighting of high-scored rows 2013-07-06 12:34:58 +04:00
Andrew Dolgov bd207093ee Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2013-07-06 12:03:13 +04:00
Andrew Dolgov e9687f67e0 date_reverse view mode: take scoring into account 2013-07-06 12:03:01 +04:00
syrnon bfc24f3794 Update atom.php 2013-07-03 22:36:33 +03:00
syrnon deeeee76d2 Update feedparser.php 2013-07-03 22:35:38 +03:00
shibuya246 ab10707fac add <source><title> to feed rss output 2013-07-01 19:53:27 +09:00
justauser 575a52874c fixed a typo 2013-06-29 03:11:38 -04:00
justauser 6763143835 Changed the implementation of HOOK_QUERY_HEADLINES to deal with issue Fox raised 2013-06-28 10:46:45 -04:00
Andrew Dolgov fac0964053 do not show lone dash in collapsed cdm when content preview is disabled 2013-06-27 21:05:10 +04:00
justauser 2e18843845 one more change to merge to origin 2013-06-27 12:21:14 -04:00
justauser 0708046b4f change for HOOK_QUERY_HEADLINES. See example for details. 2013-06-27 12:01:57 -04:00
justauser 7171f32dc5 Merge remote-tracking branch 'origin' into hookhead
Conflicts:
	classes/feeds.php

fix for merging up to the origin
2013-06-27 11:57:49 -04:00
justauser 891e36f57e Changes to add a new hook: HOOK_QUERY_HEADLINES. An example is provided. 2013-06-27 11:18:23 -04:00
Andrew Dolgov afa1a260d0 fix inverse status not being set correctly for filters when creating
them
fix inverse rules not being saved/restored properly through opml
2013-06-26 02:17:49 +04:00
Andrew Dolgov 44727c79ad batch feed editor: remove title and feed url because batch editing those makes no sense whatsoever 2013-06-25 23:07:09 +04:00
Andrew Dolgov b584460302 parser: remove atom <source> element 2013-06-25 14:43:59 +04:00
Andrew Dolgov bc3c887f4f better root element detection for atom content type xhtml (closes #720) 2013-06-20 21:16:06 +04:00
Andrew Dolgov a9000b0344 feedparser: check if initial xpath query for root element returns anything 2013-06-19 19:40:36 +04:00
Roland Angerer 0806d68bac bugfix: list correct profile IDs on login page 2013-06-13 11:24:51 +02:00
Andrew Dolgov da8d534ac1 minor user editor updates 2013-06-11 12:12:43 +04:00
Andrew Dolgov d9afd9b2b5 use dojo stuff for user details 2013-06-11 12:11:02 +04:00
Andrew Dolgov 808ef3d4fc pref-users: remove useless javascript: prefix 2013-06-11 12:05:45 +04:00
Andrew Dolgov 222a61c222 user editor: use dojo stuff 2013-06-11 12:04:29 +04:00
Andrew Dolgov d256f1fbd8 atom: support <published> 2013-06-10 13:25:34 +04:00
Andrew Dolgov 496195db4e fix calculation of feed counts in pref-feeds editor 2013-06-07 15:31:43 +04:00
Andrew Dolgov 08820be70b add experimental floating title when scrolling long articles in combined mode 2013-06-05 22:20:22 +04:00
Andrew Dolgov a1495542fc opml: fix filter parameters inverse and title not being properly imported from OPML 2013-06-05 13:09:47 +04:00
Andrew Dolgov 25051fb84b support custom order in generated feeds (closes #709) 2013-06-05 12:56:43 +04:00
Andrew Dolgov ce5d234d63 support dc:date elements in rss and atom feeds 2013-06-01 09:49:56 +04:00
Jonathan Bither fbe135fb36 mysqli: We are using procedural mysqli so use mysqli_connect_error() instead of mysqli_error() 2013-05-30 10:45:47 -04:00
justauser 7aab5617b6 Merge branch 'master' into jremote
latest master checkins
2013-05-29 07:52:20 -04:00
Andrew Dolgov 67e0cf9a37 add startup_gettext() calls to several endpoints for unregistered users so the output would be translated based on accept-language header 2013-05-29 15:41:19 +04:00
justauser 991418fa56 Merge branch 'master' into jremote
update working to master
2013-05-28 11:39:58 -04:00
Andrew Dolgov 14c84904fe pluginhost: allow html tags in plugin storage 2013-05-27 14:03:14 +04:00
justauser 6dd01fcea2 Changes to support a new version of the phpmailer. Adds a new setting SMTP_SECURE,
which cna have a value of tls, ssl or be empty.  This is used for secure SMTP servers.
Also added the ability to have multiple email addresses in the to field.  Addresses are
separated by semicolons (;)
2013-05-26 11:27:42 -04:00
Andrew Dolgov df2655e015 better support for atom:link elements in rss feeds, support rel=standout (fuck you google and your nonstandard shit) 2013-05-26 10:21:54 +04:00
Andrew Dolgov f17c3ee29a parser: fix get_links() for RSS 2013-05-24 14:40:47 +04:00
Andrew Dolgov 1874c8d6df feedparser: properly handle nodeValue of rss channel link element (closes #692) 2013-05-23 20:32:54 +04:00
Andrew Dolgov 610fe11535 add HOOK_PREFS_TAB_SECTION to user manager toolbar 2013-05-22 12:02:43 +04:00
Andrew Dolgov ee65bef405 add HOOK_FETCH_FEED 2013-05-20 15:26:53 +04:00
Andrew Dolgov 042003d55e parser/rss: try to get link from guid isPermaLink=true 2013-05-20 15:01:18 +04:00
Andrew Dolgov 5bbc4bb4b0 move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
2013-05-19 21:22:01 +04:00
Andrew Dolgov 8429af52be adjust previous patch phrasing a bit 2013-05-19 11:27:17 +04:00
Mike Frysinger 5bac322258 document the date format string
I assumed the format string was related to strftime except all of the
fields looked really weird.  After digging in the code, this string is
actually used with php's date().  Add a note for this so other people
can jump quickly to the relevant documentation (which is useful for
non-php peeps who have no idea what this is).
2013-05-19 03:19:55 -04:00
Andrew Dolgov 2f6b75d574 fix atom:link not supported in rss feeds (fucking fuck) (2) 2013-05-17 22:57:18 +04:00
Andrew Dolgov f7d64d03fc fix atom:link not supported in rss feeds (fucking fuck) 2013-05-17 22:50:38 +04:00
Andrew Dolgov d1f3fa9791 try to force-convert feed data to utf8 2013-05-17 20:09:43 +04:00
Andrew Dolgov 6a51939ee6 db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref missing for unitialized users 2013-05-16 21:57:39 +04:00
Andrew Dolgov 2700440178 better support for atom content type xhtml 2013-05-16 09:19:56 +04:00
Andrew Dolgov c594eca0de implement additional counter mode for virtual feeds when there's 0 unread articles 2013-05-16 01:08:04 +04:00
Andrew Dolgov 96ce71f35f atom parser: experimental fix for feeds which do not encode entry content 2013-05-15 23:06:56 +04:00
Andrew Dolgov 6f81395d73 api, getArticle: check for article_id being present 2013-05-15 22:29:31 +04:00
supahgreg 13e283ed45 Exclude the article author from the cdm title link 2013-05-15 11:39:23 -05:00
Andrew Dolgov bd3c672320 api, add sanitize to getHeadlines (defaults to true) 2013-05-15 18:07:35 +04:00
Andrew Dolgov a3b9fd12c5 fix support of Atom 0.3 2013-05-15 09:09:25 +04:00
kpn3m0 349c4229fd Feature #686
If the feed cannot be parsed there is not particular error but always "Unknown/unsupported feed type". The patch uses the error from the XML parser which gives more detailed error reporting.
2013-05-14 15:32:36 +03:00
Andrew Dolgov 11334fdf6c make appearance of some preference panes more similar 2013-05-12 12:36:25 +04:00
Andrew Dolgov d310348460 remove gradients, update favicon avg color display 2013-05-07 19:39:04 +04:00
Andrew Dolgov 14c53e4e60 tweak visual for headlines 2013-05-07 18:47:35 +04:00
Andrew Dolgov d29357fa02 fix more hphp detected issues 2013-05-07 15:18:37 +04:00
Andrew Dolgov ea46d90eee auth_base: choose random password if not supplied by auth module 2013-05-07 12:36:09 +04:00
Rasmus Lerdorf 6f7798b643 Fixing bugs found by static analysis 2013-05-07 00:35:10 -07:00
Andrew Dolgov e5e6cde06a remove support for hiding empty categories in prefs editor because people are dumb 2013-05-06 12:50:52 +04:00
Andrew Dolgov 0e72dbd79e Merge pull request #179 from nottwo/$link-cleanup
Remove obsolete $link parameter for password reset
2013-05-05 21:06:43 -07:00
Andrew Dolgov 8d090a910b use css nth-child instead of old even/odd class hacks for normal mode 2013-05-04 12:01:53 +04:00
Trannie Carter 233b74ad22 Remove obsolete $link parameter for password reset 2013-05-03 20:44:24 -04:00
Andrew Dolgov 72c29b65d4 atom: fix rel=alternate links 2013-05-02 10:40:59 +04:00
Andrew Dolgov 602fe53496 fix atom <author>value</author> elements 2013-05-02 10:36:05 +04:00
Andrew Dolgov 99b8256794 feedparser: make content:encoded take precedence over description 2013-05-02 10:30:41 +04:00
Andrew Dolgov 54b7590c7f format_article_tags: improve performance 2013-05-02 10:20:56 +04:00
Andrew Dolgov f8a25082b3 make tag cache processing faster in cdm 2013-05-02 10:09:01 +04:00
Andrew Dolgov 8a95d630a9 fix rss content:encoded not used 2013-05-01 22:05:59 +04:00
Andrew Dolgov b4d1690097 move common methods to feeditem_common 2013-05-01 21:06:48 +04:00
Andrew Dolgov f11015058d support dc:creator 2013-05-01 21:01:30 +04:00
Andrew Dolgov d4992d6b48 add support for dc:subject and slash:comments 2013-05-01 20:55:08 +04:00
Andrew Dolgov 852d4ac890 support RDF-XML feeds 2013-05-01 20:30:52 +04:00
Andrew Dolgov 4c00e15b5d pass xpath object to feeditem, support media-rss objects 2013-05-01 19:40:43 +04:00
Andrew Dolgov fd0daa9b55 remove simplepie 2013-05-01 19:14:48 +04:00
Andrew Dolgov b09a4cdccc feeditem_rss: use guid element 2013-05-01 19:12:32 +04:00
Andrew Dolgov 3c8060aca0 fix get_links() for RSS 2013-05-01 19:09:07 +04:00
Andrew Dolgov b9eee80e08 parser: add get_links() 2013-05-01 19:08:04 +04:00
Andrew Dolgov b8f316dc28 change caching to save xml data, remove RDF init section 2013-05-01 17:56:21 +04:00
Andrew Dolgov 04d2f9c831 add basic rss support 2013-05-01 17:38:16 +04:00
Andrew Dolgov cd07592c29 add basic tinyparser/atom 2013-05-01 17:04:57 +04:00
Andrew Dolgov 27372ddac6 fix editArticleTags() call broken on archived feed 2013-04-30 20:07:08 +04:00
Andrew Dolgov b18d109f22 only get USER_LANGUAGE on schema 120 and up 2013-04-30 09:34:24 +04:00
Andrew Dolgov 52e7b5a096 add clear sql log button 2013-04-29 23:12:54 +04:00
Andrew Dolgov 258068b379 do not calculate favicon color on manual icon replace 2013-04-29 16:09:03 +04:00
Andrew Dolgov bd02d29e1b prefs: update some descriptions to be more consistent 2013-04-29 15:58:15 +04:00
Andrew Dolgov 7b149552cb remove language selector from the login form, store language in the database per-user 2013-04-29 15:54:23 +04:00
Andrew Dolgov e57a1507ae do not use session cookie lifetime for additional cookies 2013-04-29 13:03:28 +04:00
Andrew Dolgov a845a3d5e5 otp: display notice if GD is missing 2013-04-29 09:20:30 +04:00
Andrew Dolgov d48398e647 pluginhost: remove session cache for storage 2013-04-28 18:17:58 +04:00
Andrew Dolgov 5e1f7be5f1 enlarge headline excerpt length 2013-04-27 18:01:36 +04:00
Andrew Dolgov 38a8c22b9e getHeadlines: return feed title for non-virtual feeds 2013-04-27 12:29:42 +04:00
Andrew Dolgov 2c8eed5395 api: add feed_title to getArticle 2013-04-27 12:25:40 +04:00
Andrew Dolgov 8cefe38a0a add HOOK_PREFS_SAVE_FEED 2013-04-26 14:23:18 +04:00
Andrew Dolgov 057177eb2c add HOOK_PREFS_EDIT_FEED 2013-04-26 14:21:08 +04:00
Andrew Dolgov 6bfc97da86 add automatic timezone (based on client tz offset) 2013-04-26 10:31:57 +04:00
Andrew Dolgov 90e5f4f1de base if-modified-since on last received article, not feed update timestamp 2013-04-25 18:42:48 +04:00
Andrew Dolgov 90a372f51d fix warning when creating feed last updated timestamp 2013-04-25 18:02:34 +04:00
Andrew Dolgov 6e3e8db915 subtoolbar: add last updated when hovering over originating site link 2013-04-25 16:27:33 +04:00
Andrew Dolgov db29ea0d8d correct faildient case 2013-04-24 15:08:37 +04:00
Andrew Dolgov 7d90d06de0 do not try to draw a fail-gradient (faildient?) 2013-04-24 15:07:23 +04:00
Andrew Dolgov e2cf81e214 unify houskeeping stuff, increase spawn interval 2013-04-24 14:54:59 +04:00
supahgreg 6704bb2cb9 minor: remove an unnecessary quotation mark 2013-04-23 07:54:41 -05:00
Andrew Dolgov f66492d357 better javascript error reporting, save error reports in tt-rss log 2013-04-20 10:43:21 +04:00
Andrew Dolgov 106a3de91c plugins: bump API version 2013-04-19 17:31:56 +04:00
Andrew Dolgov ddf28801e4 implement plugin API version compatibility check 2013-04-19 17:26:22 +04:00
Andrew Dolgov 726bd48e8c better handle get_link() enabled plugins crashing on load 2013-04-19 17:20:03 +04:00
Andrew Dolgov b367c951b9 make logging configurable; add logging to syslog 2013-04-19 09:45:43 +04:00
Andrew Dolgov 48ed517e8d pref_prefs: remove second argument from the constructor 2013-04-19 08:40:19 +04:00
Andrew Dolgov b20b6af0dc only pass port to mysqli_connect when it is set 2013-04-19 07:58:27 +04:00
Andrew Dolgov 1f29443530 fix missing DB object when instantiated to import opml 2013-04-18 23:19:14 +04:00
Andrew Dolgov 3c200461f8 more notice css tweaks 2013-04-18 22:27:05 +04:00
Andrew Dolgov 1daf0f75fa pass DB_PORT as string 2013-04-18 15:44:25 +04:00
Andrew Dolgov 8cb5c64d62 fix auth_base referencing dbh which was not present 2013-04-18 15:36:54 +04:00
Andrew Dolgov 6421b42963 api/getHeadlines: increase limit to 200 2013-04-18 12:36:27 +04:00
Andrew Dolgov 1ffe3391f9 make pluginhost a singleton 2013-04-18 12:27:34 +04:00
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