wn_
3487c922b3
Replace use of 'array_merge' with the spread operator and 'array_push' in various places.
...
This isn't supported for arrays with string keys until PHP 8.1.
https://wiki.php.net/rfc/spread_operator_for_array
2022-08-12 17:58:38 +00:00
Andrew Dolgov
01b39d985c
deal with the rest of warnings in plugin.php
2021-11-14 18:00:03 +03:00
Andrew Dolgov
87a30d88d3
plugin cleanup re: phpstan 1.0 warnings
2021-11-10 20:58:40 +03:00
Andrew Dolgov
dd30825b94
af_comics: pass PluginHost to filter constructors
2021-10-18 07:41:24 +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
9ac6741d24
af_comics: markup cleanup
2021-02-17 12:25: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
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
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
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
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
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
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
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
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
06e8777b60
af_comics: remove filter notice
2014-02-20 20:53:32 +04:00
Andrew Dolgov
901dd67a1a
af_comics: split filters to separate files to ease maintenance
2014-02-17 13:00:25 +04:00
Andrew Dolgov
bf5e77a165
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
2014-02-17 12:27:07 +04:00
Andrew Dolgov
52265e19c0
af_comics: add cad embedding
2014-02-17 12:26:46 +04:00
kythyria
3df1a8b857
Okay, let's fix just the bits of Penny Arcade that actually need fixing
2014-02-14 12:44:39 +00:00
Andrew Dolgov
abe24e3977
af_comics: fix for PA new layout
2014-02-12 13:32:44 +04:00
Andrew Dolgov
f826070c56
af_comics: add happyjar
2014-02-10 23:03:58 +04:00
Andrew Dolgov
de0d8d1088
move individual bundled comics-related af plugins to af_comics
2014-01-09 14:08:39 +04:00