Commit Graph

580 Commits

Author SHA1 Message Date
Andrew Dolgov 0196ef94f4 getVirtCounters: check if plugin feeds exist 2013-03-28 08:19:05 +04:00
Andrew Dolgov 127aaaa0f7 add has_note with mode 2013-03-27 21:35:16 +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
Felix Eckhofer b70ccfe63f allow ON_SANITIZE plugins to modify the list of tags and attributes that are permissible 2013-03-27 11:45:55 +01: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 d14004776a change description of HIDE_READ_FEEDS 2013-03-27 12:41:31 +04:00
Andrew Dolgov d3911f80ca fetch_file_contents: fix fetching protected feeds when password has special characters 2013-03-27 12:21:26 +04:00
Andrew Dolgov 88a41b64a2 add label_base_index to init params 2013-03-27 10:27:04 +04:00
Andrew Dolgov f822a8e56c experimentally rebase labels; make base index configurable 2013-03-27 09:40:07 +04:00
Andrew Dolgov 0bf65987b6 do not apply unread view mode on last read feed because it makes no sense 2013-03-26 14:47:54 +04:00
Andrew Dolgov 24c0e2e57d schema: disable sort headlines by feed date by default 2013-03-26 09:08:42 +04:00
Andrew Dolgov 1bd7413f6a published and starred feeds: allow reversing headlines 2013-03-26 09:02:23 +04:00
Andrew Dolgov 434bf85626 add unread_first view mode (2) 2013-03-25 23:01:40 +04:00
Andrew Dolgov 2e4faaacff add unread_first view mode 2013-03-25 22:45:40 +04:00
Andrew Dolgov a6adb136fd revert to previous adaptive behavior 2013-03-25 22:41:22 +04:00
Andrew Dolgov f4a2f12ad5 implement _CLASSIC_ADAPTIVE 2013-03-25 21:33:06 +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 a3a896a127 let us rejoice on being able to create double negative filters (refs #631) 2013-03-25 19:46:43 +04:00
Andrew Dolgov a6b23045a4 fix adaptive vgroup view crashing 2013-03-25 16:50:56 +04:00
Andrew Dolgov 8cb46a1e83 support grouped vfeeds in adaptive mode 2013-03-25 16:34:08 +04:00
Andrew Dolgov 398eaeb419 experimentally tweak adaptive mode to show unread articles first and other stuff later 2013-03-25 16:30:45 +04:00
Andrew Dolgov 4cdb81737a add a knob to disable reload on js change 2013-03-25 16:07:39 +04:00
Andrew Dolgov bcbb2ec792 remove localized_js.php; integrate with other startup JS stuff 2013-03-25 12:45:27 +04:00
Andrew Dolgov 5f0081b05b tweak strip_harmful_tags() for php 5.3.2 compatibility (refs #620) 2013-03-25 09:17:16 +04:00
Tomas Chvatal 5d5e2e3ae8 strip_harmful_tags: allow center 2013-03-24 22:43:05 +04:00
Andrew Dolgov b87a625c38 improve zoomed post content css 2013-03-24 20:22:16 +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 9972b7cdd7 Revert "update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title"
This reverts commit 8d051fa076.
2013-03-23 09:48:15 +04:00
Andrew Dolgov c1353b6384 Revert "remove default definition of SITE_TITLE; rename to _SITE_TITLE as with other constants of this nature"
This reverts commit 1f56ba13cd.
2013-03-23 09:45:21 +04:00
Andrew Dolgov d6ce708930 title escaping: do not double-encode entities 2013-03-23 09:44:52 +04:00
Andrew Dolgov 9e7f1f12f4 silence gzdecode() errors 2013-03-23 09:21:57 +04:00
Andrew Dolgov 0d6ecb1f1c Merge pull request #71 from gvmelle/master
added dutch to array
2013-03-22 10:18:47 -07:00
Gideon van Melle 1f8d526fac Typo
- had to be =
2013-03-22 18:08:20 +01:00
Gideon van Melle 1171fc4428 Added string for Dutch
Added "nl_NL" -> "Dutch", in the array for function get_translations()
2013-03-22 18:04:13 +01:00
Andrew Dolgov 11bd95b4f3 de-emphasize article author 2013-03-22 12:42:48 +04:00
Andrew Dolgov 06b0777fa7 feeds/view: periodically bump login timestamp 2013-03-22 12:37:42 +04:00
Andrew Dolgov b1b1d25f50 remove obsolete entries from ccache on login 2013-03-22 10:24:30 +04:00
Andrew Dolgov 5defc29ff8 remove PTITLE kludge; use ajax 2013-03-22 09:49:45 +04:00
Andrew Dolgov 1f56ba13cd remove default definition of SITE_TITLE; rename to _SITE_TITLE as with other constants of this nature 2013-03-22 09:38:19 +04:00
Andrew Dolgov 707ad6ddf7 Merge branch 'master' of git://github.com/richbeales/Tiny-Tiny-RSS into richbeales-master 2013-03-22 09:36:47 +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
Richard Beales 8d051fa076 update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title 2013-03-21 20:24:26 +00:00
Andrew Dolgov d98e76d9c2 remove long deprecated mobile/ 2013-03-21 23:47:44 +04:00
Andrew Dolgov a60446bed0 remove sign_* from init params 2013-03-21 21:49:52 +04:00
Andrew Dolgov 16314ddafe implement basic auto-reload on some dependent file timestamp changing 2013-03-21 18:01:42 +04:00
Andrew Dolgov 2ccc7b8e07 add a e hotkey for embed_original 2013-03-21 16:57:36 +04:00
Andrew Dolgov 33de3d37af make sure rendering image enclosures respect hide_image setting 2013-03-21 15:37:08 +04:00
Andrew Dolgov d1e0f35c3e Merge pull request #65 from scarabeusiv/master
Add base for czech translation
2013-03-21 04:10:42 -07:00
Andrew Dolgov 2191eb7aab update.php: add support for output logging 2013-03-21 14:56:04 +04:00
Andrew Dolgov 94a567df84 fix browsing by tag 2013-03-21 12:12:01 +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 4e4048024a iframe sandbox: allow scripts 2013-03-20 22:18:56 +04:00
Andrew Dolgov 46ec3348ca harmful tags: enable font 2013-03-20 21:22:20 +04:00
Andrew Dolgov b5d4716a52 optimize loading of external libraries a bit
fix bold text in Unread articles
2013-03-20 20:33:46 +04: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 81153e6b8b fix broken redirects 2013-03-20 12:15:06 +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 b799dc8b0d only use geturl() if in safe mode 2013-03-20 09:15:59 +04:00
Andrew Dolgov 911845b5e7 geturl: remove logging 2013-03-20 09:14:41 +04:00
Andrew Dolgov 44cd77b642 format_inline_player: add a link to original audio file 2013-03-20 09:03:16 +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 2229e6ed6b strip_harmful_tags: allow article 2013-03-19 21:57:29 +04:00
Andrew Dolgov d2db81a5f6 improve hotkey buffer scrolling speed; bind viewport scrolling to shift-arrows 2013-03-19 19:14:28 +04:00
Andrew Dolgov e9b86f0a1c reimplement HOOK_SANITIZE (plugs before final removal of harmful tags) 2013-03-19 19:00:18 +04:00
Tomáš Chvátal a06b79c433 Add basic czech translation ~48% done. 2013-03-19 14:41:11 +01:00
Andrew Dolgov 6e61104d78 strip_harmful_tags: remove double iframe 2013-03-19 15:12:22 +04:00
Andrew Dolgov 10b55a120c strip_harmful_tags: expand the allowed list 2013-03-19 14:32:26 +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
Andrew Dolgov 55783ca45c remove duplicate gzdecode 2013-03-19 12:42:39 +04:00
Andrew Dolgov 57e0ae9d4b remove include of htmlawed file 2013-03-19 11:14:46 +04:00
Andrew Dolgov 254a3f56a9 add prototype simple remover of baaaad tags based on domdocument 2013-03-19 11:13:57 +04:00
Andrew Dolgov a0f2a3e105 enable automatic decoding of gzipped data when CURL is not available 2013-03-19 09:33:04 +04:00
Andrew Dolgov f0bd8e6531 rework image caching to work without permanent article content rewriting (refs #582) 2013-03-19 09:25:36 +04:00
Andrew Dolgov e88c194357 print_select, print_select_hash: remove line endings and other special symbols (closes #593) 2013-03-19 09:02:40 +04:00
Andrew Dolgov 44ae16ce27 Merge pull request #59 from ValdisVitolins/master
Latvian resource files
2013-03-18 21:58:00 -07:00
Valdis Vitolins 7b6c1ca771 Resource files for Latvian were added 2013-03-18 23:13:30 +02:00
Andrew Dolgov e2b0054be4 experimental patch to enable compatibility with php safe_mode 2013-03-19 01:10:02 +04:00
Andrew Dolgov be124dc236 Revert "add experimental HOOK_SANITIZE"
This reverts commit 2130fe7a18.
2013-03-19 00:00:13 +04: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 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
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