Further changes include adding required gems, updating documentation, refactoring the codebase.
New Features:
Added new gems base64 and ssrf_filter to the Gemfile for improved security and functionality. (Gemfile, GemfileR14-R21)
Introduced the automatic feed generation feature with detailed instructions in the README.md. (README.md, README.mdR69-R93)
Documentation Updates:
Updated the README.md to include instructions for enabling the auto_source feature and added new environment variables to the supported list. (README.md, README.mdL116-L123)
Code Refactoring:
Refactored the app.rb file to improve readability and maintainability by removing redundant methods and adding constants. (app.rb, [1][2][3][4]
Moved Rack::Timeout middleware setup to the production environment in config.ru. (config.ru, [1][2]
Error Handling:
Enhanced error handling in helpers/handle_error.rb by adding a specific case for Html2rss::Error and refactoring the method to improve clarity. (helpers/handle_error.rb, helpers/handle_error.rbR18-R32)
Frontend Improvements:
Added new CSS and JavaScript files to support the auto-source feature, enhancing the user interface and experience. (public/auto_source.css, [1]; public/auto_source.js, [2]
Depends on https://github.com/html2rss/html2rss/pull/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]