* New Bridge for Twitter using v2 API
* Top comment block, tweaks to match contributing guide
* [TwitterV2Bridge] new Bridge (sort of)
* Discovered the point of, and re-added, no image scaling option
* Fix the phpcs sniff violations (I hope)
* More linter fixes, I figured out how to use phpcs locally
* Removed unnecessary custom version of getContents function
* Limit query to 100 tweets, valid example query, improved error handling
* Added config doc (correctly, I hope) with link from DESCRIPTION
* little tweak to doc
* Fixup deprecations on PHP 8
Fix#2448
* Configure a default fallback for getInput function
* Appease phpcs
* Avoid changing getInput function
Revert "Configure a default fallback for getInput function"
This reverts commit 94004c5104de6b84bd4c72356806d994c05a0119.
Some timeline items, like review threads and the first comment on PRs,
have no header, so this handles the first comment and adds a generic
title if that doesn't work.
* [CourrierInternationalBridge] fix: skip unusual feed items #2570
This skips feed items who don't have content.
The one I encountered was a horoscope.
This change makes sure the bridge dont errors out.
* [GithubTrendingBridge] Fix bridge: not all languages worked
Languages with more than one word (like "Common Lisp") were not working. Looks like GitHub changed the parameter format: white space is encoded with dashes.
This prompted me to update all languages while I was at it. This also fixed the bug that the C# & F# languages were not working, because the # has to be URL encoded, which is now done in the parameter value. The language "Ren'Py" was commented out. Probably because the single quote was not escaped? I also fixed that.
* [GithubTrendingBridge] Fix PHP notice.
A repo owner can leave the repo description empty, which means the HTML element isn't there. In this case the code produced a PHP notice. This is fixed by checking for null.
* Changed getName() to retrieve the language name directly from the PARAMETERS.
Co-authored-by: dag <me@dvikan.no>