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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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