[Enhancement] Add setting to restrict filenames to ASCII characters (#660)

* Added a new column for restricting filenames

* Adds restrict-filenames to command runner

* Added UI to settings form
This commit is contained in:
Kieran 2025-03-17 14:58:25 -07:00 committed by GitHub
parent ee2db3e9b7
commit 030f5fbdfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 57 additions and 17 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 503 KiB

After

Width:  |  Height:  |  Size: 506 KiB

Before After
Before After

View file

@ -0,0 +1,9 @@
defmodule Pinchflat.Repo.Migrations.AddRestrictFilenamesToSettings do
use Ecto.Migration
def change do
alter table(:settings) do
add :restrict_filenames, :boolean, default: false
end
end
end