Commit Graph

48 Commits

Author SHA1 Message Date
Andrew Dolgov b3bc638a9f refactor OPML export/import code to be less horrible 2018-12-03 12:26:49 +03:00
Andrew Dolgov 3a0292303e php: remove trailing whitespaces 2018-11-03 15:08:43 +03:00
Tianon Gravi bbc4d4bf34 treat OPML-imported feeds without a title the same as a batch import 2017-12-29 15:33:01 -08:00
Andrew Dolgov 99b23daee6 opml_import_filter: remove debugging 2017-12-05 10:18:54 +03:00
Andrew Dolgov 09bc54c690 further stylesheet simplification related fixes 2017-12-03 13:25:34 +03:00
Andrew Dolgov 187abfe732 main classes: remove sql_bool_to_bool() kludge 2017-12-03 09:35:59 +03:00
Andrew Dolgov 7ccb4e91ff boolean handling changes which probably won't break everything 2017-12-02 14:02:01 +03:00
Andrew Dolgov c949a9282e OPML: use PDO; minor fixes 2017-12-02 01:08:30 +03:00
Andrew Dolgov 02f3992a5a Revert "Revert "filters: support matching on multiple feeds/categories""
This reverts commit f5d174bda9.
2017-07-02 20:37:52 +03:00
Andrew Dolgov f5d174bda9 Revert "filters: support matching on multiple feeds/categories"
This reverts commit 0bf7e007bb.
2017-07-02 20:37:01 +03:00
Andrew Dolgov 0bf7e007bb filters: support matching on multiple feeds/categories
opml: update filter export/import for new format
2017-07-02 20:27:21 +03:00
Andrew Dolgov 7c9b5a3fe4 move label stuff to Labels class
fix some unresolved functions
2017-05-04 15:57:40 +03:00
Andrew Dolgov 86a8351ca2 move the following to Feeds:
+       static function catchup_feed($feed, $cat_view, $owner_uid = false, $mode = 'all', $search = false) {
+       static function getFeedArticles($feed, $is_cat = false, $unread_only = false,
+       static function subscribe_to_feed($url, $cat_id = 0,
+       static function getFeedIcon($id) {
+       static function getFeedTitle($id, $cat = false) {
+       static function getCategoryUnread($cat, $owner_uid = false) {
+       static function getCategoryChildrenUnread($cat, $owner_uid = false) {
2017-05-04 14:50:56 +03:00
Andrew Dolgov e60d5b0a84 move opml-specific get_feed_category to opml.php 2017-05-04 14:24:30 +03:00
Andrew Dolgov ea79a0e033 remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
Andrew Dolgov 7b55001eee fix various issues reported by static analysis
update gitlab-ci config
2017-04-26 15:29:22 +03:00
Andrew Dolgov 3457ce7c59 temporarily enable entity loader when importing opml because idk 2014-12-09 22:54:44 +03:00
Andrew Dolgov 6bb051285e opml import: remove unneeded 250 character restriction on feed urls 2014-02-26 09:02:42 +04:00
Andrew Dolgov 7bdc1df121 Revert "Include both title and text attributes"
This reverts commit 631c067601.
2013-08-29 16:30:01 +04:00
Jordi De Groof 631c067601 Include both title and text attributes
See http://feedvalidator.org/docs/warning/MissingTitleAttr.html
2013-08-16 19:19:36 +02:00
Jordi De Groof 6b74f725a3 Add type="rss" on subscription list <outline> nodes
See http://feedvalidator.org/docs/warning/MissingOutlineType.html
2013-08-16 19:10:43 +02: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 a1495542fc opml: fix filter parameters inverse and title not being properly imported from OPML 2013-06-05 13:09:47 +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 d9c85e0f11 classes: use OO DB interface 2013-04-17 20:12:14 +04:00
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 2013-04-17 18:34:18 +04:00
Andrew Dolgov 6322ac79a0 remove $link 2013-04-17 16:48:41 +04:00
Andrew Dolgov 3306daecf4 implement upload-related support for open_basedir 2013-04-11 19:12:00 +04:00
Andrew Dolgov 129562e0b1 opml: add some data length limiting 2013-04-02 09:03:35 +04:00
Andrew Dolgov 884d16505e tweak how utility.css-based stuff looks 2013-03-27 10:59:26 +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
Rebecca Turner 98c39afc06 Fix strict standards issue-- DOMDocument::load isn't static 2013-03-18 18:14:37 -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 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 72ae3877a3 opml: fix export broken by special characters in category titles 2012-11-02 09:37:36 +04:00
Andrew Dolgov fd087799fd tweak opml import/export according to OPML spec 2012-11-01 00:17:55 +04:00
Andrew Dolgov dd0a17b07a opml fixes 2012-09-11 20:16:44 +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 6aff784575 implement multiple rule/action filters 2012-08-31 12:13:47 +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 3f9de6ccbc opml: remove CRs, tweak category node detection 2012-08-15 15:58:43 +04:00
Andrew Dolgov 65c8267980 opml: clean empty categories 2012-08-15 15:55:41 +04:00
Andrew Dolgov d75409bfda move opml stuff to classes/opml.php 2012-08-15 15:47:13 +04:00