Commit Graph

72 Commits (6fe0751038d530aaecbd2e494833ebc27777d05f)

Author SHA1 Message Date
Andrew Dolgov a936e80630 OPML improvements/fixes:
* allow CLI import of OPML files (--opml-import)
 * visualize OPML structure when importing
 * add strict type hints to most OPML class methods
3 years ago
Andrew Dolgov 8ed927dbd2 OPML: multiple fixes
- remove unused integer indexes when exporting filters as JSON
 - fix warning when importing filters without rules
 - properly assign category IDs for category filter rules
 - fix warning: check if outline attributes like xmlUrl are set before trying to use them
 - fix warning: don't try to use libxml_disable_entity_loader on PHP 8
3 years ago
Andrew Dolgov 78ff7770d1 classes/opml: fix indentation; when importing, don't produce warning
on filters with no rules defined.
3 years ago
Andrew Dolgov 44b274b6d4 remove published opml (use CLI instead) 4 years ago
Andrew Dolgov 5eb0f3d640 bring back web dbupdate using new migrations system 4 years ago
Andrew Dolgov d6629ed188 move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class 4 years ago
Andrew Dolgov c4eaab8a31 feeds/_add_cat: use ORM 4 years ago
Andrew Dolgov 70adfd4a74 * sanitize: never rewrite relative links to our own prefix
* use Config::get_self_url() instead of get_self_url_prefix() in a bunch
of places
4 years ago
Andrew Dolgov bd2314170d implement prefs UI based on new prefs class and a few more things 4 years ago
Andrew Dolgov e4107ac952 wip: initial for config object 4 years ago
Andrew Dolgov d1328321be move published OPML endpoint to public.php 4 years ago
Andrew Dolgov 020f062a76 feeds: unify naming 4 years ago
Andrew Dolgov 07408ac222 opml: normalize class name 4 years ago
Andrew Dolgov c94f1b6ff8 fix some more warnings reported by phpstan 4 years ago
Andrew Dolgov 05a47e5cf4 OPML: export/import per-feed purge interval 4 years ago
fox 68b78ecd3d Merge branch 'bugfix/invalid-opml' of wn/tt-rss into master 4 years ago
Andrew Dolgov b6372a846d when exporting OPML via web UI, add user login to the filename 4 years ago
wn_ 614d3ac1bf Properly check if OPML file was loaded during import. 4 years ago
Andrew Dolgov 7a2e9bef77 add --opml-export to update.php 5 years ago
Andrew Dolgov 4ab3854aed don't generate default.css, replace with themes/light.css as a default root CSS file 5 years ago
Andrew Dolgov 4fa9aee4e7 move several more global functions to more appropriate classes 5 years ago
Andrew Dolgov 6e920903b9 OPML:
1. remove unnecessary data from exported filters
2. fix import of filter rules matching on categories
6 years ago
Andrew Dolgov 32db1cb872 OPML: include (and import) ttrss per-feed update interval and sort order 6 years ago
Andrew Dolgov c11f32ac38 center and rework some utility screens 6 years ago
Andrew Dolgov b3bc638a9f refactor OPML export/import code to be less horrible 6 years ago
Andrew Dolgov 3a0292303e php: remove trailing whitespaces 6 years ago
Tianon Gravi bbc4d4bf34 treat OPML-imported feeds without a title the same as a batch import 7 years ago
Andrew Dolgov 99b23daee6 opml_import_filter: remove debugging 7 years ago
Andrew Dolgov 09bc54c690 further stylesheet simplification related fixes 7 years ago
Andrew Dolgov 187abfe732 main classes: remove sql_bool_to_bool() kludge 7 years ago
Andrew Dolgov 7ccb4e91ff boolean handling changes which probably won't break everything 7 years ago
Andrew Dolgov c949a9282e OPML: use PDO; minor fixes 7 years ago
Andrew Dolgov 02f3992a5a Revert "Revert "filters: support matching on multiple feeds/categories""
This reverts commit f5d174bda9.
7 years ago
Andrew Dolgov f5d174bda9 Revert "filters: support matching on multiple feeds/categories"
This reverts commit 0bf7e007bb.
7 years ago
Andrew Dolgov 0bf7e007bb filters: support matching on multiple feeds/categories
opml: update filter export/import for new format
7 years ago
Andrew Dolgov 7c9b5a3fe4 move label stuff to Labels class
fix some unresolved functions
8 years ago
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) {
8 years ago
Andrew Dolgov e60d5b0a84 move opml-specific get_feed_category to opml.php 8 years ago
Andrew Dolgov ea79a0e033 remove some redundant php closing tags 8 years ago
Andrew Dolgov 7b55001eee fix various issues reported by static analysis
update gitlab-ci config
8 years ago
Andrew Dolgov 3457ce7c59 temporarily enable entity loader when importing opml because idk 10 years ago
Andrew Dolgov 6bb051285e opml import: remove unneeded 250 character restriction on feed urls 11 years ago
Andrew Dolgov 7bdc1df121 Revert "Include both title and text attributes"
This reverts commit 631c067601.
11 years ago
Jordi De Groof 631c067601 Include both title and text attributes
See http://feedvalidator.org/docs/warning/MissingTitleAttr.html
11 years ago
Jordi De Groof 6b74f725a3 Add type="rss" on subscription list <outline> nodes
See http://feedvalidator.org/docs/warning/MissingOutlineType.html
11 years ago
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
12 years ago
Andrew Dolgov a1495542fc opml: fix filter parameters inverse and title not being properly imported from OPML 12 years ago
Andrew Dolgov 5bbc4bb4b0 move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
12 years ago
Andrew Dolgov d9c85e0f11 classes: use OO DB interface 12 years ago
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 12 years ago