marked this pull request as draft
March 8, 2024 19:43
Trim
mentioned this pull request
Merged
Trim
mentioned this pull request
Merged
Trim
changed the title
Draft: Prochaine version de LinuxFr avec Rails7
Draft: Prochaine version de LinuxFr avec Rails8
Trim
mentioned this pull request
Closed
Trim and others added 14 commits
January 16, 2026 08:30The minimization of JavaScript files is useful, because LinuxFr.org includes jQuery and jQeury UI and certainly don't use all the tools provided by them. The decaffeinate process to build JavaScript files from old coffee script files has built EcmaScript 6 files. As uglifier is not compatible with EcmaScript 6, it has been replaced by terser which is recommended by the uglifier project itself.
La nouvelle version supprime quelques helper, dont `list_of` qui était utilisée ici et là et qui est maintenant rajoutée dans `application_helper`. Méthodes supprimées: block_is_haml?, capture_haml, escape_once, find_and_preserve, flatten, haml_concat, haml_indent, haml_tag, haml_tag_if, html_attrs, html_escape, init_haml_helpers, is_haml?, list_of, non_haml, precede, succeed, surround, tab_down, tab_up, with_tabs Référence: https://github.com/haml/haml/releases/tag/v6.0.0
This commit updates several gem dependencies in the Gemfile and Gemfile.lock, including Rails and related gems. The version constraint for the sitemap_generator gem has been removed, allowing the latest version to be used. The sitemap configuration has been updated to match the new usage of sitemap_generator. The encoding comment and an extra line have been removed, and the `add_links` method has been replaced with `create`. Extra lines have been added before `sitemap.add` calls for readability.
This commit introduces two new global constants MY_PUBLIC_URL and IMG_PUBLIC_URL which should be used now to build URLs. For alpha and production Ruby environments, they are fixed with their real values directly in the `config/environments/*.rb` files. For the development Ruby environment, they are defined by default to `http://dlfp.lo` and `http://image.dlfp.lo`. You can customize either by updating the `config/environments/development.rb` file or by setting the *process* environment variables `DOMAIN`, `DOMAIN_HTTP_PORT`, `IMAGE_DOMAIN` and `IMAGE_DOMAIN_HTTP_PORT`. For containers, you can set these variables in the `deployment/default.env` file.
- Upgraded Rails from 7.1 to 7.2 in Gemfile and related files. - Updated config/initializers/secrets.rb to load secrets from environment variables if present, falling back to credentials if not. - Ensured that `secret_key_base`, `push_secret`, and `devise_pepper` are loaded securely. - Updated config/secrets.yml.sample to reflect the changes.
- Target Debian Trixie (stable) - Update MySQL/MariaDB package names - Simplify Bundler installation (now included with Ruby) - Improve document structure and add syntax highlighting
This was referenced
Jan 16, 2026Closed
Closed
Trim and others added 3 commits
January 24, 2026 17:43Oumph changed the base branch from master to main
February 15, 2026 17:52Conflicts:
app/assets/javascripts/chat.coffee
Resolve conflicts by applying fix of commit
52ac119 which has been made on
coffeescript to the corresponding JavaScript code.