This commit is contained in:
viehlieb 2023-10-10 16:42:44 +02:00
commit 42a1773a87
9 changed files with 77 additions and 69 deletions

View file

@ -1,7 +1,7 @@
# A sample Gemfile
source 'https://rubygems.org'
gem 'rails', '~> 7.0'
gem 'rails', '~> 7.0', '>=7.0.4.1'
gem 'less-rails'
gem 'sassc-rails'
@ -30,6 +30,8 @@ gem 'ice_cube'
gem 'inherited_resources'
gem 'kaminari'
gem 'mysql2'
gem 'net-ftp'
gem 'net-http'
gem 'prawn'
gem 'prawn-table'
gem 'puma'
@ -38,7 +40,6 @@ gem 'rails-settings-cached', '= 0.4.3' # caching breaks tests until Rails 5 http
gem 'ransack'
gem 'resque'
gem 'ruby-units'
gem 'sd_notify'
gem 'simple_form'
gem 'simple-navigation', '~> 3.14.0' # 3.x for simple_navigation_bootstrap
gem 'simple-navigation-bootstrap'

View file

@ -70,47 +70,47 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actioncable (7.0.4)
actionpack (= 7.0.4)
activesupport (= 7.0.4)
actioncable (7.0.8)
actionpack (= 7.0.8)
activesupport (= 7.0.8)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (7.0.4)
actionpack (= 7.0.4)
activejob (= 7.0.4)
activerecord (= 7.0.4)
activestorage (= 7.0.4)
activesupport (= 7.0.4)
actionmailbox (7.0.8)
actionpack (= 7.0.8)
activejob (= 7.0.8)
activerecord (= 7.0.8)
activestorage (= 7.0.8)
activesupport (= 7.0.8)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.0.4)
actionpack (= 7.0.4)
actionview (= 7.0.4)
activejob (= 7.0.4)
activesupport (= 7.0.4)
actionmailer (7.0.8)
actionpack (= 7.0.8)
actionview (= 7.0.8)
activejob (= 7.0.8)
activesupport (= 7.0.8)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.0)
actionpack (7.0.4)
actionview (= 7.0.4)
activesupport (= 7.0.4)
rack (~> 2.0, >= 2.2.0)
actionpack (7.0.8)
actionview (= 7.0.8)
activesupport (= 7.0.8)
rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (7.0.4)
actionpack (= 7.0.4)
activerecord (= 7.0.4)
activestorage (= 7.0.4)
activesupport (= 7.0.4)
actiontext (7.0.8)
actionpack (= 7.0.8)
activerecord (= 7.0.8)
activestorage (= 7.0.8)
activesupport (= 7.0.8)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.0.4)
activesupport (= 7.0.4)
actionview (7.0.8)
activesupport (= 7.0.8)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
@ -120,22 +120,22 @@ GEM
activemodel (>= 4.1, < 7.1)
case_transform (>= 0.2)
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
activejob (7.0.4)
activesupport (= 7.0.4)
activejob (7.0.8)
activesupport (= 7.0.8)
globalid (>= 0.3.6)
activemodel (7.0.4)
activesupport (= 7.0.4)
activerecord (7.0.4)
activemodel (= 7.0.4)
activesupport (= 7.0.4)
activestorage (7.0.4)
actionpack (= 7.0.4)
activejob (= 7.0.4)
activerecord (= 7.0.4)
activesupport (= 7.0.4)
activemodel (7.0.8)
activesupport (= 7.0.8)
activerecord (7.0.8)
activemodel (= 7.0.8)
activesupport (= 7.0.8)
activestorage (7.0.8)
actionpack (= 7.0.8)
activejob (= 7.0.8)
activerecord (= 7.0.8)
activesupport (= 7.0.8)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (7.0.4)
activesupport (7.0.8)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
@ -332,6 +332,11 @@ GEM
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
mysql2 (0.5.4)
net-ftp (0.2.0)
net-protocol
time
net-http (0.3.2)
uri
net-imap (0.3.4)
date
net-protocol
@ -341,7 +346,7 @@ GEM
timeout
net-smtp (0.3.3)
net-protocol
nio4r (2.5.8)
nio4r (2.5.9)
nokogiri (1.15.2-x86_64-linux)
racc (~> 1.4)
parallel (1.23.0)
@ -364,7 +369,7 @@ GEM
binding_of_caller (~> 1.0)
pry (~> 0.13)
public_suffix (5.0.1)
puma (6.0.2)
puma (6.3.1)
nio4r (~> 2.0)
racc (1.7.0)
rack (2.2.7)
@ -374,20 +379,20 @@ GEM
rack
rack-test (2.1.0)
rack (>= 1.3)
rails (7.0.4)
actioncable (= 7.0.4)
actionmailbox (= 7.0.4)
actionmailer (= 7.0.4)
actionpack (= 7.0.4)
actiontext (= 7.0.4)
actionview (= 7.0.4)
activejob (= 7.0.4)
activemodel (= 7.0.4)
activerecord (= 7.0.4)
activestorage (= 7.0.4)
activesupport (= 7.0.4)
rails (7.0.8)
actioncable (= 7.0.8)
actionmailbox (= 7.0.8)
actionmailer (= 7.0.8)
actionpack (= 7.0.8)
actiontext (= 7.0.8)
actionview (= 7.0.8)
activejob (= 7.0.8)
activemodel (= 7.0.8)
activerecord (= 7.0.8)
activestorage (= 7.0.8)
activesupport (= 7.0.8)
bundler (>= 1.15.0)
railties (= 7.0.4)
railties (= 7.0.8)
rails-assets-listjs (0.2.0.beta.4)
railties (>= 3.1)
rails-dom-testing (2.0.3)
@ -403,9 +408,9 @@ GEM
rails (>= 4.2.0)
rails_tokeninput (1.7.0)
railties (>= 3.1.0)
railties (7.0.4)
actionpack (= 7.0.4)
activesupport (= 7.0.4)
railties (7.0.8)
actionpack (= 7.0.8)
activesupport (= 7.0.8)
method_source
rake (>= 12.2)
thor (~> 1.0)
@ -513,7 +518,6 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
sd_notify (0.1.1)
select2-rails (4.0.13)
simple-navigation (3.14.0)
activesupport (>= 2.3.2)
@ -563,6 +567,8 @@ GEM
rack (>= 1.0.0)
thor (1.2.2)
tilt (2.0.11)
time (0.2.2)
date
timeout (0.3.1)
ttfunk (1.7.0)
twitter-bootstrap-rails (2.2.8)
@ -579,6 +585,7 @@ GEM
unf_ext (0.0.8.2)
unicode-display_width (2.4.2)
uniform_notifier (1.16.0)
uri (0.10.0.2)
web-console (4.2.0)
actionview (>= 6.0.0)
activemodel (>= 6.0.0)
@ -600,7 +607,6 @@ GEM
zeitwerk (2.6.8)
PLATFORMS
ruby
x86_64-linux
DEPENDENCIES
@ -648,13 +654,15 @@ DEPENDENCIES
midi-smtp-server
mime-types
mysql2
net-ftp
net-http
prawn
prawn-table
pry-rescue
pry-stack_explorer
puma
rack-cors
rails (~> 7.0)
rails (~> 7.0, >= 7.0.4.1)
rails-assets-listjs (= 0.2.0.beta.4)
rails-i18n
rails-settings-cached (= 0.4.3)
@ -677,7 +685,6 @@ DEPENDENCIES
ruby-prof
ruby-units
sassc-rails
sd_notify
select2-rails
simple-navigation (~> 3.14.0)
simple-navigation-bootstrap

View file

@ -22,7 +22,7 @@ class SessionsController < ApplicationController
def destroy
logout
if FoodsoftConfig[:logout_redirect_url].present?
redirect_to FoodsoftConfig[:logout_redirect_url]
redirect_to FoodsoftConfig[:logout_redirect_url], allow_other_host: true
else
redirect_to login_url, notice: I18n.t('sessions.logged_out')
end

View file

@ -514,7 +514,7 @@ de:
already_imported: schon importiert
not_found: Keine Artikel gefunden
index:
change_supplier: Lieferant wechseln ...
change_supplier: Lieferant wechseln
download: Artikel herunterladen
edit_all: Alle bearbeiten
ext_db:

View file

@ -514,7 +514,7 @@ en:
already_imported: imported
not_found: No articles found
index:
change_supplier: Change supplier ...
change_supplier: Change supplier
download: Download articles
edit_all: Edit all
ext_db:

View file

@ -514,7 +514,7 @@ es:
already_imported: importado
not_found: No se han encontrado articulos
index:
change_supplier: Cambiar proveedor ...
change_supplier: Cambiar proveedor
download: Descargar artículos
edit_all: Editar todos
ext_db:

View file

@ -347,7 +347,7 @@ fr:
already_imported: déjà importé
not_found: Aucun produit correspondant n'a été trouvé
index:
change_supplier: Changer de fournisseur-e...
change_supplier: Changer de fournisseur-e
edit_all: Tout modifier
ext_db:
import: Rechercher/Importer

View file

@ -514,7 +514,7 @@ nl:
already_imported: geïmporteerd
not_found: Geen artikelen gevonden
index:
change_supplier: Leverancier wisselen
change_supplier: Leverancier wisselen
download: Artikelen downloaden
edit_all: Alles bewerken
ext_db:

View file

@ -514,7 +514,7 @@ tr:
already_imported: içe aktarıldı
not_found: Ürün bulunamadı
index:
change_supplier: Tedarikçi değiştir ...
change_supplier: Tedarikçi değiştir
download: Ürünleri indir
edit_all: Tümünü düzenle
ext_db: