Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.1.2 #17

Merged
merged 7 commits into from
Jan 11, 2024
Merged

Release 1.1.2 #17

merged 7 commits into from
Jan 11, 2024

Conversation

aledeg
Copy link
Owner

@aledeg aledeg commented Jan 11, 2024

No description provided.

PHPstan is used on every PHP files of the extension. The composer file
had to be updated to include freshrss as dependency of the project to
be able to validate type-hints.
The PSR12 coding standard has been enforce by using php-cs-fixer.
All commands used in the pipeline have been added to a Makefile in order
to reproduce the same behavior locally without fiddling with parameters.
This is needed since Reddit API imposed a request rate limit recently.
Without this delay between queries, feeds are marked as failing and pictures
and videos might not be retrieved. Adding a 1-second (default) delay fixes
90% of the errors. Adding a 2-second delay fixes 100% of the errors with a lot
of feeds (about 125 reddit feeds). If you have more feeds, you might consider
a longer delay.
Gfycat was discontinued on September, 1st 2023. There is no need to keep that
code alive.

See https://en.wikipedia.org/wiki/Gfycat
Redgifs requires some kind of token to display images so we can not rely on
the URL to access the image. The token is short lived so it needs to be handled
differently.
@aledeg aledeg merged commit b2aaf6b into main Jan 11, 2024
2 checks passed
@aledeg aledeg deleted the release/1.1.2 branch January 11, 2024 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant