feat(auto_source): add support for auto_source
feature
#676
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Depends on html2rss/html2rss#202 || v0.14.0
This pull request
auto_source
Further changes include adding required gems, updating documentation, refactoring the codebase.
New Features:
base64
andssrf_filter
to theGemfile
for improved security and functionality. (Gemfile
, GemfileR14-R21)README.md
. (README.md
, README.mdR69-R93)Documentation Updates:
README.md
to include instructions for enabling theauto_source
feature and added new environment variables to the supported list. (README.md
, README.mdL116-L123)Code Refactoring:
app.rb
file to improve readability and maintainability by removing redundant methods and adding constants. (app.rb
, [1] [2] [3] [4]Rack::Timeout
middleware setup to the production environment inconfig.ru
. (config.ru
, [1] [2]Error Handling:
helpers/handle_error.rb
by adding a specific case forHtml2rss::Error
and refactoring the method to improve clarity. (helpers/handle_error.rb
, helpers/handle_error.rbR18-R32)Frontend Improvements:
public/auto_source.css
, [1];public/auto_source.js
, [2]