Commit Graph

350 Commits

Author SHA1 Message Date
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 c670a80ddd cache minified js files 2013-03-18 11:00:44 +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 18f24d8e4c use saveHTML() in sanitize instead of saveXML() (refs #522) 2013-03-17 17:02:59 +04:00
Andrew Dolgov 16ad9085ea sanitize: move htmlawed rewriting to execute last so that we can keep
LIBXML_NOEMPTYTAG to prevent stuck tags (which stil occur) and still
not cause duplicate br tags.
2013-03-17 15:55:41 +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 8349a32e75 remove cache_content remnants 2013-03-16 16:11:58 +04:00
Andrew Dolgov cc38c8e549 remove LIBXML_NOEMPTYTAG because of double <br/>s - the #357 issue with
htmlpurifier might not be relevant anymore because of htmLawed switch,
but <br/>s are annoying
2013-03-16 16:07:11 +04:00
Andrew Dolgov f60646622a include hashed SELF_URL_PATH when checking for new version 2013-03-16 15:10:29 +04:00
André 822cbf2a87 Let htmLawed keep width+height for images 2013-03-15 18:25:22 +01: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
Andrew Dolgov 57b8469e67 db: use builtin classloader, lowercase class files 2013-03-15 14:15:06 +04: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 d26859b5e1 rename STRIP_IMAGES to make it less confusing (bump schema) 2013-03-14 18:52:44 +04:00
Andrew Dolgov 4b27f0c06d add f C hotkey to toggle combined mode (closes #549) 2013-03-12 09:52:45 +04:00
Andrew Dolgov 123a764372 getLabelCounters: add caption to group by to fix query failing on pgsql 8.4 (refs #545) 2013-03-05 15:36:25 +04:00
Andrew Dolgov da15c140f7 only bind noscroll hotkeys in combined mode by default 2013-02-28 20:21:06 +04:00
Andrew Dolgov c22580b55f implement classic next/prev article movement behavior, bind to ctrl-arrows 2013-02-27 22:48:43 +04:00
Andrew Dolgov fa9e88c367 replace getmicrotime() wrapper with microtime(true) 2013-02-27 22:16:58 +04:00
Andrew Dolgov cb0810962c enclosures player: hide html5 audio element 2013-02-27 18:30:33 +04:00
Andrew Dolgov 0a117b86b0 cache all db prefs on startup 2013-02-27 15:47:29 +04:00
Andrew Dolgov 88918ca637 remove server-side feedtree collapse implementation 2013-02-27 15:34:13 +04:00
Andrew Dolgov 45942238bf getLabelCounters: optimize SQL 2013-02-27 15:05:38 +04:00
Andrew Dolgov 1bad74ea7c change various catchup stuff to only affect unread articles 2013-02-26 22:49:46 +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 2ea09bdef6 update_daemon_common: purge inactive/not updated feeds 2013-02-26 16:16:04 +04:00
Andrew Dolgov a44bfcfd52 make_lockfile: check if file was created successfully 2013-02-25 21:28:51 +04:00
Andrew Dolgov 48b657fce1 fetch_file_contents: fix typos 2013-02-23 18:45:16 +04:00
Andrew Dolgov fb850eecda fix SELF_USER_AGENT defined with blank VERSION
better error reporting in fetch_file_contents()
2013-02-23 18:37:40 +04:00
Andrew Dolgov 84d952f141 implement article render hooks 2013-02-23 16:01:51 +04:00
Andrew Dolgov 7bfb3dabdd add ttrss_user_entries.plugin_data (bump schema) 2013-02-21 22:08:38 +04:00
Andrew Dolgov c396cd30be bring back SELF_USER_AGENT (refs #540) 2013-02-21 09:16:43 +04:00
Andrew Dolgov f03701fe99 store widescreen status in a cookie (refs #539) 2013-02-20 14:40:13 +04:00
Andrew Dolgov 7726063cf2 fix php warning while testing filters with regexps too complex for the database 2013-02-20 09:34:00 +04:00
Andrew Dolgov 1ff1374325 remove nonworking article zoom buttons (closes #535) 2013-02-18 21:27:42 +04:00
Andrew Dolgov 1389501e95 only override al2gt() locale setting if saved session language is not auto 2013-02-17 16:07:07 +04:00
Andrew Dolgov 6b3f228fdc ignore VFEED_GROUP_BY_FEED when generating syndicated feeds 2013-02-17 13:48:15 +04:00
Andrew Dolgov 750cfcd2fa remove processing of ttrss_feeds.icon_url 2013-02-08 17:19:43 +04:00
Andrew Dolgov 126e639a92 remove hlClicked call from postheader 2013-02-06 18:24:02 +04:00
Andrew Dolgov 35be65a1da remove zoomToArticle() and PTITLE bits 2013-02-06 12:24:17 +04:00
Andrew Dolgov 38325ad6d1 remove tt-rss tabcontrol 2013-02-06 11:09:45 +04:00
Andrew Dolgov 5b55e9e25c js: simplify counter updating, remove some unused stuff 2013-02-01 13:09:43 +04:00
Andrew Dolgov 75a316ab3c login_sequence: flush prefs_cache 2013-01-24 23:51:42 +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 16cbc19a8a do not show edit note prompt when article is shown in zoom mode 2013-01-23 12:22:07 +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 3fb401120a support ctrl key hotkeys 2013-01-22 13:00:20 +04:00
Andrew Dolgov e5e2cf3b88 add hack to support arbitrary key descriptions for hotkeys 2013-01-22 12:52:52 +04:00
Andrew Dolgov 7d8f56571b persist widescreen mode in session 2013-01-19 10:55:51 +04:00
Andrew Dolgov ca3bca990d fix inline flash/html5 audio player 2013-01-15 11:23:27 +04:00
Andrew Dolgov fb226bb16d fix search shortcut, disable help dialog shortcut 2013-01-12 16:23:15 +04:00
Andrew Dolgov 1bcf8f456a add ability to toggle widescreen mode on the fly 2013-01-05 16:56:49 +04:00
Andrew Dolgov 809c8e625b fix filter testing on mysql 2013-01-05 01:45:47 +04:00
Andrew Dolgov 43f775de05 add description for f D 2012-12-30 13:40:59 +04:00
Andrew Dolgov b8cb4d08b3 help cleanup, use dijit dialog 2012-12-28 15:42:02 +04:00
Andrew Dolgov 744a29309d add arrow article movement back 2012-12-28 12:45:44 +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 43e706238a Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2012-12-28 09:39:35 +04:00
Andrew Dolgov a83b58f16d partial move to new hotkey system 2012-12-28 09:39:29 +04:00
Andrew Dolgov a6b4518788 add _MOBILE_REVERSE_HEADLINES (closes #524) 2012-12-28 00:49:54 +04:00
Andrew Dolgov c5bb0440d3 place the #357 comment to the correct instance of saveXML(), cleanup old version of rewrite_urls() 2012-12-27 20:35:13 +04:00
Andrew Dolgov e9c04fd4e3 load_user_plugins: only load data when schema version > 100 2012-12-27 20:28:06 +04:00
Andrew Dolgov 2a3b7f25fc sanitize: mention why LIBXML_NOEMPTYTAG is used 2012-12-27 19:36:22 +04:00
Andrew Dolgov ec6732f460 Revert "sanitize: do not use LIBXML_NOEMPTYTAG (refs #522)"
This reverts commit b0ec17ea3c.
2012-12-27 19:35:42 +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 b0ec17ea3c sanitize: do not use LIBXML_NOEMPTYTAG (refs #522) 2012-12-27 10:44:34 +04:00
Andrew Dolgov d8858f27c6 disable htmLawed tag balancing (should be handled later by DOMDocument) (closes #521) 2012-12-26 10:52:44 +04:00
Andrew Dolgov c2167866ce move mark/pub/feed icons to svg 2012-12-25 14:01:33 +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 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 19b3992b78 remove magpie, fix article filter plugins 2012-12-24 13:45:34 +04:00
Andrew Dolgov 8dcb2b4762 implement plugin routing masks, add example plugin 2012-12-23 23:05:51 +04:00
Andrew Dolgov 7252abe3ea add contributed plugins; load note plugin by default 2012-12-23 15:18:41 +04:00
Andrew Dolgov 19c7350770 experimental new plugin system 2012-12-23 14:52:18 +04:00
Andrew Dolgov 51cc387347 do not use regexps in get_self_url_prefix() 2012-12-09 13:32:14 +04:00
Andrew Dolgov be1af6703f add cosmetic workaround for get_self_url_prefix() to stop the unwashed whining about double slashes in URLs 2012-12-07 09:47:50 +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 afc3cf5522 fix default language not saved in the login form 2012-11-22 15:33:29 +04:00
Charlie Root 624d649f86 Labels were cached without taking into account related owner 2012-11-06 11:58:22 +04:00
Andrew Dolgov 32b8671144 limit is_html() to only work on the begging of passed string 2012-11-01 12:47:37 +04:00
Andrew Dolgov 32532f1c0f improve status reporting for linked feeds 2012-10-31 16:15:29 +04:00
Andrew Dolgov 1b4d1a6b44 sharepopup: implement assigning labels while sharing 2012-10-31 12:55:24 +04:00
Andrew Dolgov d9f3f57b05 htmLawed: tweak allowed attributes (2) 2012-10-30 16:34:40 +04:00
Andrew Dolgov 3795b73034 htmLawed: tweak allowed attributes 2012-10-30 16:34:17 +04:00
Andrew Dolgov bb894b2990 fix update stopped by get_article_labels() 2012-10-30 14:59:09 +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 24be5e836f remove sanitize_article_content (CDATA handled by htmLawed) 2012-10-29 23:51:32 +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 8b299a163e fix ARTICLE_BUTTON_PLUGINS not loaded when string contains spaces 2012-10-28 13:02:50 +04:00
Andrew Dolgov bed064442a sanitize: strip comments and cdata sections 2012-10-28 12:52:15 +04:00
Andrew Dolgov c7fe1b4e9e sanitize article content when importing data from feed 2012-10-28 12:44:10 +04:00
Andrew Dolgov acccafe3da replace htmlpurifier with htmlawed 2012-10-28 12:21:21 +04:00
Andrew Dolgov 7fdf8eca99 multiple issues fixed in vfeed_group_by_feed 2012-10-28 00:41:51 +04:00
Andrew Dolgov 2680295b19 fix sql crash workaround preventing feed/category filters from testing
properly; fix filter testing for categories with children
2012-10-24 11:59:36 +04:00
Andrew Dolgov 854fee0976 filter testing fix for pgsql 2012-10-23 17:00:18 +04:00
Andrew Dolgov dd8c36af4b prevent crashes on filter regexp being too advanced for our database when testing filters (refs #508) 2012-10-23 16:58:07 +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 bda6afa22b catchup_feed: properly mark subcategories as read 2012-10-17 20:00:36 +04:00
Andrew Dolgov 835fb294a6 allow archived entries in labels and several other vfeeds 2012-10-15 10:14:54 +04:00
Andrew Dolgov 12e6de7296 fix types on RPC counter replies 2012-10-11 12:50:15 +04:00
Andrew Dolgov 0ef32f48b2 unify child category counter display; remove include_children control 2012-10-11 12:46:33 +04:00
Andrew Dolgov daf0b0142d api: add always_display_attachments to getHeadlines 2012-10-10 16:36:03 +04:00
Andrew Dolgov 7704bdc006 API: support comments count/url (2) 2012-10-09 19:24:23 +04:00
Andrew Dolgov ff0ff5f064 API: support comments count/url 2012-10-09 19:23:11 +04:00
Andrew Dolgov 67bd0b1f26 allow filters to work on child categories 2012-10-09 19:09:50 +04:00
Andrew Dolgov 441a89d3c5 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2012-10-06 19:35:04 +04:00
Mirosław Lach ea45791abc Polish translation for tt-rss.
Version from Transiflex updated to version 1.5.11.
2012-10-06 16:27:53 +02:00
Andrew Dolgov f99759dae4 getCategoryTitle: return translated Uncategorized (closes #506) 2012-10-06 17:47:19 +04:00
Andrew Dolgov 07b63daf73 fix subcategory query on mysql 2012-09-27 14:06:21 +04:00
Andrew Dolgov 7032f2a598 simplify searching query 2012-09-24 12:01:42 +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 386c4ce63c api: include recently read feed 2012-09-19 22:52:32 +04:00
Andrew Dolgov 4864633612 API: support nested categories 2012-09-18 10:03:26 +04:00
Andrew Dolgov d2088ee6d5 create_published_article: better check for duplicate URLs, wrap everything in a transaction 2012-09-15 19:52:53 +04:00
Andrew Dolgov 71b6a2360e create_published_article: check for duplicate URLs 2012-09-15 19:44:33 +04:00
Andrew Dolgov c6c010d98a remove mandatory truncating of post title, limit width using CSS 2012-09-15 18:07:01 +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 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 18cf1358e0 create_published_article: validate url 2012-09-09 21:47:58 +04:00
Andrew Dolgov ecd5a3c87f create_published_article: do not allow empty title 2012-09-09 21:44:20 +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 304aadb907 remove twitter-specific code 2012-09-07 10:23:46 +04:00
Andrew Dolgov fb70f26ed9 implement one time passwords using TOTP 2012-09-03 18:33:46 +04:00
Andrew Dolgov 6b218731af filter_to_sql: fix for all feeds 2012-09-03 15:18:27 +04:00
Andrew Dolgov 4e02f58294 implement filter testing 2012-09-03 15:05:43 +04:00
Andrew Dolgov 9299102f43 getFeedIcon: remove second parameter 2012-09-03 13:13:16 +04:00
Andrew Dolgov 5574b09ec2 fix filters not loading for feeds in Uncategorized 2012-09-03 10:26:54 +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 8add44ec95 opml: fix category title in filter export 2012-09-02 13:33:55 +04:00
Andrew Dolgov fd994f1a48 reimplement OPML filter export 2012-09-01 23:33:56 +04:00
Andrew Dolgov 6aff784575 implement multiple rule/action filters 2012-08-31 12:13:47 +04:00