Commit Graph

786 Commits

Author SHA1 Message Date
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
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 2a3d00bbf5 show attachments dropdown on a separate line 2012-08-29 15:34:27 +04:00
Andrew Dolgov 5089b30b4f recently read: select query fix 2012-08-27 10:14:07 +04:00
Andrew Dolgov 5417fbd77e implement recently read vfeed (-6) 2012-08-27 10:08:11 +04:00
Andrew Dolgov 4c9d0490c6 rework filter dialog to make feed/category selection easier 2012-08-26 12:36:08 +04:00
Andrew Dolgov 6e65854727 bump config version 2012-08-23 23:28:32 +04:00
Andrew Dolgov 27211afe92 implement experimental web-based updater 2012-08-23 20:23:19 +04:00
Andrew Dolgov e3449aa1aa add experimental self-updating script 2012-08-23 13:03:39 +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 369dbc19d6 rework class system to use subdirectories
add placeholder plugin/hook system
2012-08-17 14:22:33 +04:00
Andrew Dolgov d5fd183d18 move changing password code to authentication modules 2012-08-16 18:21:35 +04:00
Andrew Dolgov 200e0d4ebb save module user authenticated with, only allow password change if module is 'internal' 2012-08-16 16:00:50 +04:00
Andrew Dolgov 1e666f0aeb add hide_change_password session variable 2012-08-16 15:58:13 +04:00
Andrew Dolgov 238d594e6b fix __autoload to work with mobile/ 2012-08-16 15:55:30 +04:00
Andrew Dolgov 0d421af86f split authentication to separate modules 2012-08-16 15:30:49 +04:00
Andrew Dolgov 7e18f8e710 print_feed_cat_select: fix Uncategorized not recognized as default_id 2012-08-16 13:36:02 +04:00
Andrew Dolgov fc9de93985 add additional ownership checks to getfeedcounters/getcategorycounters 2012-08-15 19:34:50 +04:00
Andrew Dolgov d2a317e3c8 refactor opml import/export code
fix opml to properly handle nested categories
allow creating categories with same name in different parent categories
2012-08-15 15:03:40 +04:00
Andrew Dolgov e07f89815b properly persist include_children 2012-08-15 09:11:43 +04:00
Andrew Dolgov fbf85cf646 print_feed_cat_select: display nested category structure
fix empty sub-sub-categories never being shown
2012-08-14 23:19:20 +04:00
Andrew Dolgov 854a2ace86 change include_children to a togglebutton; add placeholder setting save in a session 2012-08-13 21:39:40 +04:00
Andrew Dolgov 09101297ee add toolbar checkbox to include subcategories to viewfeed() 2012-08-13 21:25:46 +04:00
Andrew Dolgov 99c9e91a51 fix queryFeedHeadlines, rename getCategoryUnreadRecursive 2012-08-13 21:02:52 +04:00
Andrew Dolgov 6d8d00e8c0 allow queryFeedHeadlines() to show child category entries 2012-08-13 20:53:45 +04:00
Andrew Dolgov 2c5f231e43 add special indication for categories having unread items in child categories 2012-08-13 19:52:34 +04:00
Andrew Dolgov 2a060a9456 initial work on nested categories 2012-08-13 14:47:43 +04:00
Andrew Dolgov 871f0a7ac6 add update.php -indexes to recreate tt-rss indexes from schema file 2012-08-09 14:20:27 +04:00
Rutger Wessels 5439d333ec add command line option '-quiet' to make update.php more quiet 2012-08-04 20:15:40 +02:00
Andrew Dolgov d68629dc09 set mb_internal_encoding 2012-07-31 16:49:54 +04:00
fluffy f9052d35ac Support protocol-relative URLs 2012-07-22 09:27:21 -07:00
Andrew Dolgov 545ca06789 do not perform sanity checks on each backend request 2012-07-10 15:24:04 +04:00
Andrew Dolgov 6f4bd262db split related title to separate define _NGRAM_TITLE_RELATED_THRESHOLD 2012-07-09 21:44:37 +04:00
Andrew Dolgov 749b56bdac experimental article attachment ui based on dijit dropdown 2012-07-09 20:48:34 +04:00
Andrew Dolgov f360b02886 fix getLabelUnread (refs #464) 2012-07-09 20:39:42 +04:00
Andrew Dolgov d3d69daa3c implement showing related articles in 3panel mode when ngram stuff is enabled 2012-07-09 20:26:03 +04:00
Andrew Dolgov 2ea9bbfd07 implement proof of concept postgresql pg_trgm N-gram based marking of similar article titles as read automatically 2012-07-09 19:49:48 +04:00
Andrew Dolgov 687bb90d27 remove COUNTERS_MAX_AGE, add some optimization for counter queries (refs #464) 2012-07-09 13:02:42 +04:00
Andrew Dolgov 0e4a7d7a94 remove memcached stuff 2012-07-06 14:37:03 +04:00
Andrew Dolgov 68916212b2 use Uncategorized coalesce in a few more places 2012-06-30 16:40:47 +04:00
Andrew Dolgov e54dbacb7c automatically add active article title in create filter dialog 2012-06-20 10:19:29 +04:00
Andrew Dolgov f0755b7c7e New class to differentiate post title & tags 2012-06-14 20:47:30 +04:00
Andrew Dolgov 64436e1039 prevent session modification in public/share 2012-06-07 10:09:16 +04:00
Andrew Dolgov 010efc9b81 Revert "remove htmlpurifier"
This reverts commit c21a462d52.
2012-06-05 21:52:21 +04:00
Andrew Dolgov 705b97b7fc revert to previous catchup behaviour on reverse headlines mode; fix typo in js 2012-06-03 22:42:42 +04:00
Andrew Dolgov 184f51952c experimental tweak to not mark articles newer than last one loaded in the buffer as read 2012-06-03 20:02:51 +04:00
Andrew Dolgov c21a462d52 remove htmlpurifier 2012-06-01 00:07:59 +04:00
Andrew Dolgov 65dd90f2ba remove Archived articles from Uncategorized view 2012-05-31 18:48:42 +04:00
Andrew Dolgov 1bd11fdf95 Revert "get favicon from icon atom feeds & search for icons not only in html head (closes #457)"
This reverts commit 882311d9ad.
2012-05-17 22:58:08 +04:00
Andrew Dolgov 882311d9ad get favicon from icon atom feeds & search for icons not only in html head (closes #457) 2012-05-15 12:06:52 +04:00
Andrew Dolgov 21e42e5fb0 fix csrf_token for single user mode 2012-04-04 08:37:34 +04:00
Andrew Dolgov 0bf3e81daf add patch by gmargo to improve favicon detection by content 2012-03-29 12:18:50 +04:00
Andrew Dolgov 787e5ebc21 set csrf and access_level in single user mode session 2012-03-20 09:23:54 +04:00
Andrew Dolgov b4520bb8b1 rewrite_relative_url: add theoretical fix for magnet links (refs #436) 2012-03-11 12:36:08 +04:00
Andrew Dolgov c8226ce4cd API: add order_id to getFeeds 2012-03-08 19:30:23 +04:00
Andrew Dolgov b11e9943d8 API: add order_id to getCategories; add feed_title to getHeadlines; bump api level to 3 2012-03-08 19:01:23 +04:00
Andrew Dolgov 56fbb82cb0 properly handle invalid regular expressions supplied when testing filters, add some additional regexp checks (closes #427) 2012-02-21 12:36:29 +04:00
Andrew Dolgov 7b8ff151ed fix various tags being stuck because of invalid HTML markup being generated (closes #357) 2012-02-21 12:16:29 +04:00
Andrew Dolgov 376897afd7 rewrite_urls: try to workaround against some weird php-version related bug 2012-02-02 12:46:07 +04:00
Andrew Dolgov 6d490c4444 use local TZ in digest header 2012-01-31 16:37:00 +04:00
Andrew Dolgov 8437c066e1 implement digestTest back
misc digest updates and improvements
2012-01-31 16:27:51 +04:00
Andrew Dolgov 1b9b19af0f try to send digests within 2 hours of preferred time only 2012-01-31 15:52:33 +04:00
Andrew Dolgov 61c1812f29 implement preferred time for sending out digests 2012-01-30 16:34:45 +04:00
Andrew Dolgov 5081319e23 authenticate_user: check for missing login when selecting salt 2012-01-27 12:27:27 +04:00
Andrew Dolgov aa60999b97 allow subscribing to twitter feeds without oauth (if require auth checkbox is unset) 2012-01-26 13:48:14 +04:00
Andrew Dolgov 85db62133f go back to previous make_password() 2012-01-25 10:47:32 +04:00
Andrew Dolgov 8db5d8ea6d add get_random_bytes() in case openssl_random_pseudo_bytes() is unavailable 2012-01-23 22:04:01 +04:00
Andrew Dolgov 3a2c5c6642 fix login before updating to schema 88 2012-01-22 12:04:57 +04:00
Andrew Dolgov e90053fe84 improve password storage (use sha256 and long random salt)
bump schema
2012-01-22 11:48:14 +04:00
Andrew Dolgov 3e4af5b0b3 api: add search parameters to getHeadlines (bump API level) 2012-01-19 14:07:59 +04:00
Andrew Dolgov 73c32678ae rewrite_urls implementation based on DOMDocument (refs #413) 2012-01-16 15:31:01 +04:00
Andrew Dolgov a3e0bdcffc fix tmhOAuth missing query parameters (closes #416) 2012-01-10 12:49:10 +04:00
Andrew Dolgov 31c56e1acb add htmlpurifier youtube filter 2012-01-05 11:44:24 +04:00
Andrew Dolgov da9f393ad2 add span.class attribute to purifier.allowed to enable youtube embeds 2012-01-04 23:02:27 +04:00
Andrew Dolgov f95c766102 sanitize: fix img attributes 2011-12-31 11:39:12 +04:00
Andrew Dolgov b840a74a1d fix attempt to insert user with null pwd_hash when auto creating (fixes #412) 2011-12-30 22:49:41 +04:00
Andrew Dolgov 97f0b075bf add img[align,hspace] attributes (closes #370) 2011-12-28 14:07:14 +04:00
Andrew Dolgov b2833b92a3 properly import labels from xml 2011-12-28 12:19:05 +04:00
Andrew Dolgov 3382bce16d support gzipped xml import 2011-12-28 11:00:58 +04:00
Andrew Dolgov 05b1152bcc xml import: import note 2011-12-28 09:30:36 +04:00
Andrew Dolgov a679752aaa xml import: check schema-version 2011-12-28 09:27:42 +04:00
Andrew Dolgov 55f34b811f implement experimental personal data import 2011-12-27 23:10:04 +04:00
Andrew Dolgov bbefea90a7 implement import/export of labels using OPML 2011-12-27 16:43:14 +04:00
Andrew Dolgov 11cb9506d2 pngquant some images 2011-12-27 14:30:20 +04:00
Andrew Dolgov ba975b2ec7 implement filtering by category (closes #386) 2011-12-27 12:57:38 +04:00
Andrew Dolgov 8484ce2258 experimental CSRF protection 2011-12-26 12:02:52 +04:00
Andrew Dolgov 036cd3a410 globalUpdateFeeds: disable debugging info 2011-12-25 00:17:22 +04:00
Andrew Dolgov 638e27c8d4 rename dismiss article button 2011-12-21 10:59:04 +04:00
Andrew Dolgov 55ad22fa55 add note plugin 2011-12-21 10:58:06 +04:00
Andrew Dolgov 1baac2803c add mail and share plugins 2011-12-21 08:50:37 +04:00
Andrew Dolgov f9ac31d671 move tweet button to a plugin, implement basic support for article action button plugins 2011-12-20 23:59:37 +04:00
Andrew Dolgov 77d013dc7f fix browsing by tags 2011-12-14 15:59:13 +04:00
Andrew Dolgov 09e8bdfd18 simplify default global config, expand sanity_check messages 2011-12-13 19:20:26 +04:00
Andrew Dolgov 791780621b split several functions to related classes 2011-12-13 16:27:46 +04:00
Andrew Dolgov 183ff16c7c rename sanitize_rss to sanitize 2011-12-13 16:08:08 +04:00
Andrew Dolgov 2c08214a7f split rss updating stuff into separate include file 2011-12-13 16:06:25 +04:00
Andrew Dolgov 5f0a3741d0 add Public_Handler
misc code cleanup
2011-12-13 14:49:11 +04:00
Andrew Dolgov afcfe6cad5 add pref_feeds class 2011-12-13 09:29:22 +04:00
Andrew Dolgov f30ef1fa1b subop -> method 2011-12-12 22:46:25 +04:00
Andrew Dolgov 107d0cf39e overall directory tree cleanup 2011-12-11 23:59:25 +04:00