Skip to content

Conversation

@echarp
Copy link
Member

@echarp echarp commented Jan 4, 2026

No description provided.

echarp added 30 commits March 24, 2024 16:49
Dépendant de la gemme rails-sass-images qui n'est plus développée
Ajout de "optional: true" pour les modèles qui permettent une valeur "null".

Document du comportement belongs_to:
https://sipsandbits.com/2015/09/21/whats-new-in-rails-5/#belongs_toisrequiredbydefault
Il y avait deux classes pour dynamiquement chercher des templates entre
les espaces de rédaction et modération, après tests et recherches il
semble que ça ne soit pas (ou plus?) nécessaire.
Tests et validations nécessaires, mais en pause car migration vers 7 prévue
La méthode est maintenant nommée File.exist?
(en tous cas du code testé d'après la gemme simplecov...)
Il pourrait y avoir d'autres cas, cela vient de la simplification de
recherche des chemins de partiaux, suite (ou grâce) à la migration à rails 7
Il manque les contrôleurs d'API dans cette couverture...
echarp and others added 25 commits April 1, 2024 15:23
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
Still maintained, will require an upgrade to dart-sass at some point.
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.
feat: Update gem dependencies and sitemap generator
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.
allow to use custom HTTP public port to permit rootless run
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.
@echarp echarp marked this pull request as draft January 11, 2026 16:22
- Target Debian Trixie (stable)
- Update MySQL/MariaDB package names
- Simplify Bundler installation (now included with Ruby)
- Improve document structure and add syntax highlighting
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.

4 participants