1
0
Fork 0
forked from blallo/rss-bridge
rss-bridge/bridges
logmanoriginal 064ba456e8 [InstagramBridge] Fix broken compatibility for media_type parameter
The media_type parameter was recently replaced by media_type_u (for
user mode) and media_type_h (for hashtag mode). This was necessary
in order to add the media type 'story' only for the user mode.

"The reason for that is that RSS-Bridge supports multiple parameters
with the same name if and only if they contain the exact same value.
Here, hashtags don't have stories, so it would not be possible to
pass "story" as a parameter. This is a design mistake that I made
when I added support for hashtags."

-- 8770c87389 (r28871502)

However as pointed out this change breaks existing feeds as the
parameter name is no longer compatible to previous implementations.

This commit changes the implementation to provide the old media_type
parameter globally and check for invalid options on each request. If
a user uses the 'story' option in history mode the bridge returns a
client error.

references 8770c87
references #694
fixes #696
fixes #699
fixes #701
2018-05-29 12:52:31 +02:00
..
ABCTabsBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
AcrimedBridge.php links: Rename defaultImageSrcTo to defaultLinkTo 2017-02-18 13:41:45 +01:00
AllocineFRBridge.php Update saisons AllocineFRBridge 2017-10-16 22:24:49 -04:00
AmazonBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
AnimeUltimeBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
Arte7Bridge.php bridges: Fix bridges with custom headers and options 2018-04-06 20:42:19 +02:00
AskfmBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
BandcampBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
BastaBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
BlaguesDeMerdeBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
BloombergBridge.php Initial commit for Bloomberg bridge with top stories and search (#607) 2018-01-12 12:08:15 +00:00
BooruprojectBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
CADBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
CastorusBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
ChristianDailyReporterBridge.php Add ChristianDailyReporterBridge (#697) 2018-05-29 11:28:22 +02:00
CNETBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
CollegeDeFranceBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
CommonDreamsBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
CopieDoubleBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
CourrierInternationalBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
CpasbienBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
CryptomeBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
DailymotionBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
DanbooruBridge.php [DanbooruBridge] Allow descendant classes to override tag collection 2017-08-05 22:36:14 +02:00
DansTonChatBridge.php DansTonChatBridge: test before accessing plaintext 2018-04-19 21:00:18 +02:00
DauphineLibereBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
DealabsBridge.php [DealabsBridge] Follow site changes, fix unhandled case (#703) 2018-05-29 10:52:13 +02:00
DemoBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
DemonoidBridge.php Rewrote DemonoidBridge. Fixes #626. 2018-04-17 15:25:02 +02:00
DeveloppezDotComBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
DiceBridge.php Adding DiceBridge.php 2017-04-23 19:19:50 -05:00
DilbertBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
DiscogsBridge.php Added DiscogsBridge. Closes #615 2018-04-20 16:57:09 +02:00
DollbooruBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
DribbbleBridge.php [DribbbleBridge] Add dribble bridge listing last dribble popular shots (#558) 2017-08-06 20:29:21 +02:00
DuckDuckGoBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
EliteDangerousGalnetBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
ElloBridge.php Fix space in URL resulting in API errors. 2018-05-05 18:10:19 +01:00
ElsevierBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
EstCeQuonMetEnProdBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
EtsyBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
ETTVBridge.php [ETTVBridge] New bridge, first push (#680) 2018-04-30 23:18:39 +02:00
EZTVBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FacebookBridge.php Warn the user when trying to fetch a non-public facebook page. 2018-05-05 13:49:49 +01:00
FB2Bridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FDroidBridge.php [FDroid] minor fixes for Travis CI 2018-04-15 13:21:48 +02:00
FeedExpanderExampleBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FierPandaBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FilterBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FlickrBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FootitoBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FourchanBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FuturaSciencesBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
GBAtempBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
GelbooruBridge.php [GelbooruBridge] Fix bridge not getting tags correctly 2017-08-05 22:38:24 +02:00
GiphyBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
GithubIssueBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
GithubSearchBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
GizmodoBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
GoComicsBridge.php Fix GoComics, website completely changed. Fixes #663 2018-04-14 18:15:44 +01:00
GooglePlusPostBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
GoogleSearchBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
HDWallpapersBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
HentaiHavenBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
IdenticaBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
InstagramBridge.php [InstagramBridge] Fix broken compatibility for media_type parameter 2018-05-29 12:52:31 +02:00
IPBBridge.php [IPBBridge] Use limit for the number of items 2018-04-06 22:25:49 +02:00
IsoHuntBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
JapanExpoBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
KATBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
KernelBugTrackerBridge.php [KernelBugTrackerBridge] Fix too many parameters requesting HTML DOM 2018-04-06 20:42:19 +02:00
KonachanBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
KoreusBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
KununuBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
LeBonCoinBridge.php [LeBonCoinBridge] Fix bridge is marked executable 2017-08-05 22:00:58 +02:00
LegifranceJOBridge.php Update LegifranceJOBridge.php 2018-01-09 14:57:17 +01:00
LeMondeInformatiqueBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
LesJoiesDuCodeBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
LichessBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
LinkedInCompanyBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
LolibooruBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
LWNprevBridge.php [LWNprevBridge] Fix everchanging url 2017-08-05 15:56:35 +02:00
MangareaderBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
MilbooruBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
MixCloudBridge.php Update MixCloudBridge.php 2018-01-11 11:44:51 +00:00
MoebooruBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
MoinMoinBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
MondeDiploBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
MsnMondeBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
MspabooruBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
NasaApodBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
NeuviemeArtBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
NextgovBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
NextInpactBridge.php Updated 4 bridges to use HTTPS (#497) 2017-03-21 20:27:12 +00:00
NiceMatinBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
NotAlwaysBridge.php [NotAlways] Add a bridge for the NotAlways family of sites (#537) 2018-04-15 12:02:37 +01:00
NovelUpdatesBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
OpenClassroomsBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
ParuVenduImmoBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
PcGamerBridge.php apply phpcbf for automatic style fixes 2017-12-24 16:45:56 -05:00
PickyWallpapersBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
PinterestBridge.php Fix Pinterest bridge, remove the old JSON parsing, and return original sized image. 2018-03-06 12:01:48 +00:00
PixivBridge.php Added bridge for Pixiv. 2018-04-14 16:19:35 +01:00
RadioMelodieBridge.php [RadioMelodieBridge] Add new bridge (#640) 2018-03-11 15:38:07 +01:00
RainbowSixSiegeBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
ReadComicsBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
Releases3DSBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
ReporterreBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
RTBFBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
Rue89Bridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
Rule34Bridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
Rule34pahealBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
SafebooruBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
SakugabooruBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
ScmbBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
ScoopItBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
SensCritiqueBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
SexactuBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
ShanaprojectBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
Shimmie2Bridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
SoundcloudBridge.php Changed the API key used for SoundCloud bridge. Should fix #599 2018-04-17 14:24:00 +02:00
SteamBridge.php Fix SteamBridge (#637) (#639) 2018-03-12 09:22:34 +00:00
StripeAPIChangeLogBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
SuperbWallpapersBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
SupInfoBridge.php Add SupInfoBridge, fixes #668 2018-04-18 12:39:45 +02:00
TagBoardBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
TbibBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
TebeoBridge.php fix: TébéoBridge Travis cleanup 2018-02-11 19:08:19 +01:00
TheCodingLoveBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
TheHackerNewsBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
ThePirateBayBridge.php [ThePirateBayBridge] Add instructions 2017-08-28 20:00:00 +02:00
TheTVDBBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
Torrent9Bridge.php Updater torrent9 URI 2017-10-08 19:21:10 +02:00
TwitterBridge.php Fix twitter list filter test #613, fix and change getName() for lists. (#614) 2018-01-12 12:07:40 +00:00
UnsplashBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
UsbekEtRicaBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
ViadeoCompanyBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
VkBridge.php [VkBridge] Fixed image src link generating for photo (#700) 2018-05-29 11:01:54 +02:00
WallpaperStopBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
WebfailBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
WeLiveSecurityBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
WhydBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
WikiLeaksBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
WikipediaBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
WordPressBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
WordPressPluginUpdateBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
WorldOfTanksBridge.php Mise à jour du bridge pour WorldOfTanks (#527) 2018-04-22 12:58:07 +02:00
XbooruBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
YandereBridge.php bridges: Fix coding styles 2017-02-12 15:34:08 +01:00
YGGTorrentBridge.php [YGGTorrentBridge] URL encode the first parts of the requests. 2018-04-26 22:57:18 +01:00
YoutubeBridge.php [YoutubeBridge] Removed duration in titles on search mode 2018-04-19 09:03:29 +05:00
ZDNetBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00