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...
Trim and others added 16 commits November 4, 2024 22:43
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.
The model specifies a max length of 160 for the title column, but the
form template specified a max length of 100 for the title field.

Indeed, if you look in db/schema.rb you'll find:

    t.string "title", limit: 160, null: false
@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
@Trim
Copy link
Member

Trim commented Jan 14, 2026

J'ai fusionné à la main la branch echarp:rails8 dans linuxfrorg:rails7 parce que j'ai cassé en début de semaine le workflow prévu par Github (j'avais fait un rebase de linuxfrorg:rails7 sur linuxfrorg:master pour simplifier cette fusion, mais ça a empiré la situation).

@Trim Trim closed this Jan 14, 2026
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