Commit Graph

67 Commits

Author SHA1 Message Date
Andrew Dolgov dd30825b94 af_comics: pass PluginHost to filter constructors 2021-10-18 07:41:24 +03:00
Andrew Dolgov c8883d3440 af_comics filters: don't try to load empty html 2021-03-05 10:07:34 +03:00
Andrew Dolgov 320503dd39 move version-related stuff to Config; fix conditional feed requests 2021-03-01 13:43:37 +03:00
Andrew Dolgov 20a844085f hide version for bundled plugins because it's meaningless; for everything else support showing version using git (if about[0] is null) 2021-03-01 12:11:42 +03:00
Andrew Dolgov afc7142250 move all $fetch globals to UrlHelper 2021-02-28 10:12:57 +03:00
Andrew Dolgov 9ac6741d24 af_comics: markup cleanup 2021-02-17 12:25:33 +03:00
Andrew Dolgov 020f062a76 feeds: unify naming 2021-02-15 15:43:07 +03:00
Andrew Dolgov 74568df4ff remove a lot of stuff from global context (functions.php), add a few helper classes instead 2020-09-22 09:04:33 +03:00
Andrew Dolgov a4525d31b2 replace FALSE with false so that static analyzer shuts up about it 2020-09-17 19:02:27 +03:00
Andrew Dolgov 1f2a721905 allow overriding built-in templates via templates.local 2020-03-13 14:40:35 +03:00
Andrew Dolgov 96fa6e3002 af_comics: split contents of subscribe/basic_info/fetch hooks into appropriate per-comic filters 2020-02-27 12:15:56 +03:00
Andrew Dolgov ba7f7e72db af_comics: mention that Far Side needs cached media 2020-02-27 11:44:18 +03:00
Andrew Dolgov 61168847ac af_comics: escape all template urls 2020-02-27 10:25:00 +03:00
Andrew Dolgov 3b62150abd use canonical fetch url for Far Side 2020-02-27 10:24:12 +03:00
Andrew Dolgov db8a1f76c7 remove unnecessary debugging from previous 2020-02-27 10:20:16 +03:00
Andrew Dolgov 9b4053b1ea af_comics: add experimental support for The Far Side 2020-02-27 10:19:09 +03:00
Andrew Dolgov 72d0fac80c remove version.php and VERSION global constant, do version-related things in a slightly less ridiculous way 2019-12-18 14:27:40 +03:00
Andrew Dolgov ffa3f9309f af_comics: support buni webtoon episodes 2019-11-18 19:00:08 +03:00
JustAMacUser 8459238f6c af_comics: Use a fixed time of day when generating fake feed for GoComics. Without this the timestamp is always updated to be the time the feed is fetched, which causes the comics to keep moving to the top/bottom of the article list depending on the sort order. (Using 11:00 a.m. UTC as that should keep the date the same across the majority of time zones.)
Try to get the actual title for GoComics comics.

Also a little code clean up.
2019-10-06 16:19:21 -04:00
Rodney Stromlund 7daf009a7f Add set_basic_feed_info hook to af_comics to fix GoComics title and url. 2019-03-12 12:16:24 -05:00
Andrew Dolgov a68b150601 remove separate classes for various panels, unify under .panel
remove a few other unnecessary css classes/ids
2018-12-07 14:03:33 +03:00
Andrew Dolgov b68ee9adf4 af_comics: add Stonetoss 2018-12-07 12:02:38 +03:00
Andrew Dolgov 814e49f8f7 add icons to accordion panels in preferences
fix typo in pref-prefs closing panel tag
2018-12-06 08:56:28 +03:00
Andrew Dolgov c10a43069e debug logging system rework:
* support various logging levels per-message
 * remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
 * _debug() is kept as a compatibility shim for plugins
2018-11-30 08:34:29 +03:00
Andrew Dolgov de1b9acba1 af_comics: simplify srcset attribute handling for gocomics pseudo-feeds 2018-08-31 08:33:36 +03:00
JustAMacUser aedcbfd9c5 af_comics: Go Comics now uses HTTPS. 2018-05-12 13:31:52 -04:00
Andrew Dolgov e0dff9134b af_comics: nedroid broke their rss feed, might as well plug them into generic comicpress filter 2018-04-26 11:46:56 +03:00
JustAMacUser 3f5f5bc73f af_comics: Fix typo -- call to undefined method. 2018-02-11 07:01:29 +00:00
Dave Z d92fcaa9c8 af_comics: Workaround for GoComics' lazy loading images in srcset. 2018-02-07 16:57:32 +00:00
Dave Z fc756975ab af_comics: Allow subscribing to GoComics URLs via page (only this time, *actually allow* it). 2018-02-07 06:52:36 +00:00
Andrew Dolgov e038374608 gocomics: remove width attribute to fix improper scaling of images 2018-01-27 09:50:49 +03:00
JustAMacUser d1d05f7a12 Updated af_comics GoComics handling to support comics with numbers and use the main web URL as a feed URL (legacy FeedBurner URL support still exists). 2017-11-16 12:14:20 -05:00
wn_ f3774b9d65 Use 'saveHTML' when generating HTML from a DOMDocument.
This primarily occurs when modifying article content.  If 'saveXML' is
used following 'loadHTML' there is the possibility of strangeness, such
as a self-closing anchor tag.

Note that the DOMDocument used in 'classes/feeditem/atom.php' came from
'loadXML', but we use 'saveHTML' since we're returning HTML content.
2017-09-09 13:51:59 -05:00
Andrew Dolgov b0113adac4 af_comics: add .gitignore 2017-06-05 13:10:02 +03:00
Andrew Dolgov 6f398dcfc6 af_comics updates:
1. move preferences to Feeds tab
2. update CAD comic with support for sillies
3. add support for loading updated/third-party filters from filters.local (would override bundled filters)
2017-06-05 12:53:06 +03:00
Andrew Dolgov 1d61994776 fix dilbert plugin not working because of changed GUIDs or w/e 2017-06-05 10:28:59 +03:00
aeritir ea8d0fd571 af_comics_dilbert: More details (title, tags, transcript) 2017-06-04 19:55:04 +02:00
Andrew Dolgov 21ce7d9ec0 update phpmd ruleset to use (subset) of cleancode
fix various minor issues reported by static analysis
remove redundant php closing tag from several more files
2017-04-26 20:57:36 +03:00
Bill Bagdon 32024bdf21 Fix the TFD filter and add Married to the sea 2017-04-08 12:59:03 -04:00
JustAMacUser 051737e931 Support hyphens in GoComics URLs. 2017-01-24 15:06:46 -05:00
JustAMacUser a25c3c2998 Added feed URL instructions for GoComics. 2017-01-22 13:52:25 -05:00
JustAMacUser 5800d3d505 Update af_comics to handle new GoComics site. 2017-01-22 02:14:02 -05:00
Andrew Dolgov 73963a21b2 af_comics: fix for whomp 2015-09-21 12:25:04 +03:00
Andrew Dolgov 610914d4d6 af_comics: add pvponline 2015-08-14 08:51:53 +03:00
Andrew Dolgov 5613bb3584 fix toothpastefordinner valiant efforts to prevent scraping 2015-06-18 08:28:54 +03:00
Andrew Dolgov 7624aa6e40 add a generic af_comics filter for .comic class sites (much like comicpress handles id comic, i guess) 2015-06-12 12:19:50 +03:00
Andrew Dolgov 1929149661 Revert "Add support for sillies"
idiot submitter breaks all embedding with his genius strategy of
handling all posts with now News: in title

This reverts commit a3013adedd.
2015-05-15 09:31:02 +03:00
aliz27 a3013adedd Add support for sillies 2015-05-13 18:19:32 +02:00
Andrew Dolgov b1bb951fb8 fix for yet another dilbert changes 2015-01-15 09:23:45 +03:00
Andrew Dolgov 945ecd7db6 fix explosm comics plugin 2014-12-12 12:23:33 +03:00