preserve 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/{MIT-LICENSE → LICENSE} +0 -0
- data/README.md +50 -32
- data/Rakefile +1 -1
- data/lib/preserve.rb +6 -29
- data/lib/preserve/callback.rb +72 -0
- data/lib/preserve/compatibility.rb +18 -0
- data/lib/preserve/extension.rb +16 -0
- data/lib/preserve/session_key.rb +27 -0
- data/lib/preserve/version.rb +1 -1
- data/spec/dummy/common/app/controllers/admin/parameters_controller.rb +7 -0
- data/spec/dummy/common/app/controllers/application_controller.rb +7 -0
- data/spec/dummy/common/app/controllers/parameters_controller.rb +9 -0
- data/spec/dummy/common/config/routes.rb +7 -0
- data/spec/dummy/rails-3/README.rdoc +261 -0
- data/spec/dummy/rails-3/Rakefile +7 -0
- data/spec/dummy/rails-3/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/rails-3/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/rails-3/app/controllers/admin/parameters_controller.rb +1 -0
- data/spec/dummy/rails-3/app/controllers/application_controller.rb +1 -0
- data/spec/dummy/rails-3/app/controllers/parameters_controller.rb +1 -0
- data/spec/dummy/{app → rails-3/app}/helpers/application_helper.rb +0 -0
- data/spec/dummy/rails-3/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/rails-3/config.ru +4 -0
- data/spec/dummy/rails-3/config/application.rb +65 -0
- data/spec/dummy/rails-3/config/boot.rb +10 -0
- data/spec/dummy/rails-3/config/database.yml +25 -0
- data/spec/dummy/rails-3/config/environment.rb +5 -0
- data/spec/dummy/rails-3/config/environments/development.rb +37 -0
- data/spec/dummy/rails-3/config/environments/production.rb +67 -0
- data/spec/dummy/rails-3/config/environments/test.rb +37 -0
- data/spec/dummy/{config → rails-3/config}/initializers/backtrace_silencers.rb +0 -0
- data/spec/dummy/rails-3/config/initializers/inflections.rb +15 -0
- data/spec/dummy/rails-3/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/rails-3/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/rails-3/config/initializers/session_store.rb +8 -0
- data/spec/dummy/rails-3/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/rails-3/config/locales/en.yml +5 -0
- data/spec/dummy/rails-3/config/routes.rb +1 -0
- data/spec/dummy/{db → rails-3/db}/test.sqlite3 +0 -0
- data/spec/dummy/rails-3/log/development.log +5 -0
- data/spec/dummy/rails-3/log/test.log +7777 -0
- data/spec/dummy/rails-3/public/404.html +26 -0
- data/spec/dummy/rails-3/public/422.html +26 -0
- data/spec/dummy/rails-3/public/500.html +25 -0
- data/spec/dummy/{public → rails-3/public}/favicon.ico +0 -0
- data/spec/dummy/rails-3/script/rails +6 -0
- data/spec/dummy/{README.rdoc → rails-4/README.rdoc} +0 -0
- data/spec/dummy/{Rakefile → rails-4/Rakefile} +0 -0
- data/spec/dummy/{app → rails-4/app}/assets/javascripts/application.js +0 -0
- data/spec/dummy/{app → rails-4/app}/assets/stylesheets/application.css +0 -0
- data/spec/dummy/rails-4/app/controllers/admin/parameters_controller.rb +1 -0
- data/spec/dummy/rails-4/app/controllers/application_controller.rb +1 -0
- data/spec/dummy/rails-4/app/controllers/parameters_controller.rb +1 -0
- data/spec/dummy/rails-4/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/{app → rails-4/app}/views/layouts/application.html.erb +0 -0
- data/spec/dummy/{bin → rails-4/bin}/bundle +0 -0
- data/spec/dummy/{bin → rails-4/bin}/rails +0 -0
- data/spec/dummy/{bin → rails-4/bin}/rake +0 -0
- data/spec/dummy/{bin → rails-4/bin}/setup +0 -0
- data/spec/dummy/{config.ru → rails-4/config.ru} +0 -0
- data/spec/dummy/{config → rails-4/config}/application.rb +1 -0
- data/spec/dummy/{config → rails-4/config}/boot.rb +0 -0
- data/spec/dummy/{config → rails-4/config}/database.yml +0 -0
- data/spec/dummy/{config → rails-4/config}/environment.rb +0 -0
- data/spec/dummy/{config → rails-4/config}/environments/development.rb +0 -0
- data/spec/dummy/{config → rails-4/config}/environments/production.rb +0 -0
- data/spec/dummy/{config → rails-4/config}/environments/test.rb +0 -0
- data/spec/dummy/{config → rails-4/config}/initializers/assets.rb +0 -0
- data/spec/dummy/rails-4/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/{config → rails-4/config}/initializers/cookies_serializer.rb +0 -0
- data/spec/dummy/{config → rails-4/config}/initializers/filter_parameter_logging.rb +0 -0
- data/spec/dummy/{config → rails-4/config}/initializers/inflections.rb +0 -0
- data/spec/dummy/{config → rails-4/config}/initializers/mime_types.rb +0 -0
- data/spec/dummy/{config → rails-4/config}/initializers/session_store.rb +0 -0
- data/spec/dummy/rails-4/config/initializers/to_time_preserves_timezone.rb +10 -0
- data/spec/dummy/{config → rails-4/config}/initializers/wrap_parameters.rb +0 -0
- data/spec/dummy/{config → rails-4/config}/locales/en.yml +0 -0
- data/spec/dummy/rails-4/config/routes.rb +1 -0
- data/spec/dummy/{config → rails-4/config}/secrets.yml +2 -2
- data/spec/dummy/{public → rails-4/public}/404.html +0 -0
- data/spec/dummy/{public → rails-4/public}/422.html +0 -0
- data/spec/dummy/{public → rails-4/public}/500.html +0 -0
- data/spec/dummy/rails-4/public/favicon.ico +0 -0
- data/spec/dummy/rails-5/Rakefile +6 -0
- data/spec/dummy/rails-5/app/assets/config/manifest.js +3 -0
- data/spec/dummy/rails-5/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/rails-5/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/rails-5/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/rails-5/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/rails-5/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/rails-5/app/controllers/admin/parameters_controller.rb +1 -0
- data/spec/dummy/rails-5/app/controllers/application_controller.rb +1 -0
- data/spec/dummy/rails-5/app/controllers/parameters_controller.rb +1 -0
- data/spec/dummy/rails-5/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/rails-5/app/jobs/application_job.rb +2 -0
- data/spec/dummy/rails-5/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/rails-5/app/models/application_record.rb +3 -0
- data/spec/dummy/rails-5/app/views/layouts/application.html.erb +15 -0
- data/spec/dummy/rails-5/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/rails-5/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/rails-5/bin/bundle +3 -0
- data/spec/dummy/rails-5/bin/rails +4 -0
- data/spec/dummy/rails-5/bin/rake +4 -0
- data/spec/dummy/rails-5/bin/setup +36 -0
- data/spec/dummy/rails-5/bin/update +31 -0
- data/spec/dummy/rails-5/bin/yarn +11 -0
- data/spec/dummy/rails-5/config.ru +5 -0
- data/spec/dummy/rails-5/config/application.rb +19 -0
- data/spec/dummy/rails-5/config/boot.rb +5 -0
- data/spec/dummy/rails-5/config/cable.yml +10 -0
- data/spec/dummy/rails-5/config/database.yml +25 -0
- data/spec/dummy/rails-5/config/environment.rb +5 -0
- data/spec/dummy/rails-5/config/environments/development.rb +61 -0
- data/spec/dummy/rails-5/config/environments/production.rb +94 -0
- data/spec/dummy/rails-5/config/environments/test.rb +46 -0
- data/spec/dummy/rails-5/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/rails-5/config/initializers/assets.rb +14 -0
- data/spec/dummy/rails-5/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/rails-5/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/rails-5/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/rails-5/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/rails-5/config/initializers/inflections.rb +16 -0
- data/spec/dummy/rails-5/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/rails-5/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/rails-5/config/locales/en.yml +33 -0
- data/spec/dummy/rails-5/config/puma.rb +37 -0
- data/spec/dummy/rails-5/config/routes.rb +1 -0
- data/spec/dummy/rails-5/config/spring.rb +6 -0
- data/spec/dummy/rails-5/config/storage.yml +34 -0
- data/spec/dummy/rails-5/db/test.sqlite3 +0 -0
- data/spec/dummy/rails-5/log/test.log +119 -0
- data/spec/dummy/rails-5/package.json +5 -0
- data/spec/dummy/rails-5/public/404.html +67 -0
- data/spec/dummy/rails-5/public/422.html +67 -0
- data/spec/dummy/rails-5/public/500.html +66 -0
- data/spec/dummy/rails-5/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/rails-5/public/apple-touch-icon.png +0 -0
- data/spec/dummy/rails-5/public/favicon.ico +0 -0
- data/spec/dummy/rails-5/tmp/development_secret.txt +1 -0
- data/spec/dummy/rails-6/Rakefile +6 -0
- data/spec/dummy/rails-6/app/assets/config/manifest.js +2 -0
- data/spec/dummy/rails-6/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/rails-6/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/rails-6/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/rails-6/app/controllers/admin/parameters_controller.rb +1 -0
- data/spec/dummy/rails-6/app/controllers/application_controller.rb +1 -0
- data/spec/dummy/rails-6/app/controllers/parameters_controller.rb +1 -0
- data/spec/dummy/rails-6/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/rails-6/app/javascript/packs/application.js +15 -0
- data/spec/dummy/rails-6/app/jobs/application_job.rb +7 -0
- data/spec/dummy/rails-6/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/rails-6/app/models/application_record.rb +3 -0
- data/spec/dummy/rails-6/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/rails-6/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/rails-6/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/rails-6/bin/rails +4 -0
- data/spec/dummy/rails-6/bin/rake +4 -0
- data/spec/dummy/rails-6/bin/setup +33 -0
- data/spec/dummy/rails-6/config.ru +5 -0
- data/spec/dummy/rails-6/config/application.rb +19 -0
- data/spec/dummy/rails-6/config/boot.rb +5 -0
- data/spec/dummy/rails-6/config/cable.yml +10 -0
- data/spec/dummy/rails-6/config/database.yml +25 -0
- data/spec/dummy/rails-6/config/environment.rb +5 -0
- data/spec/dummy/rails-6/config/environments/development.rb +62 -0
- data/spec/dummy/rails-6/config/environments/production.rb +112 -0
- data/spec/dummy/rails-6/config/environments/test.rb +49 -0
- data/spec/dummy/rails-6/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/rails-6/config/initializers/assets.rb +12 -0
- data/spec/dummy/rails-6/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/rails-6/config/initializers/content_security_policy.rb +28 -0
- data/spec/dummy/rails-6/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/rails-6/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/rails-6/config/initializers/inflections.rb +16 -0
- data/spec/dummy/rails-6/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/rails-6/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/rails-6/config/locales/en.yml +33 -0
- data/spec/dummy/rails-6/config/puma.rb +38 -0
- data/spec/dummy/rails-6/config/routes.rb +1 -0
- data/spec/dummy/rails-6/config/spring.rb +6 -0
- data/spec/dummy/rails-6/config/storage.yml +34 -0
- data/spec/dummy/rails-6/db/development.sqlite3 +0 -0
- data/spec/dummy/rails-6/db/test.sqlite3 +0 -0
- data/spec/dummy/rails-6/log/development.log +2332 -0
- data/spec/dummy/rails-6/log/test.log +16735 -0
- data/spec/dummy/rails-6/public/404.html +67 -0
- data/spec/dummy/rails-6/public/422.html +67 -0
- data/spec/dummy/rails-6/public/500.html +66 -0
- data/spec/dummy/rails-6/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/rails-6/public/apple-touch-icon.png +0 -0
- data/spec/dummy/rails-6/public/favicon.ico +0 -0
- data/spec/dummy/rails-6/tmp/development_secret.txt +1 -0
- data/spec/preserve/session_key_spec.rb +31 -0
- data/spec/preserve_spec.rb +78 -20
- data/spec/spec_helper.rb +11 -5
- data/spec/support/legacy_helpers.rb +7 -0
- data/spec/support/request_helpers.rb +14 -2
- metadata +425 -83
- data/spec/dummy/app/controllers/application_controller.rb +0 -5
- data/spec/dummy/app/controllers/parameters_controller.rb +0 -19
- data/spec/dummy/config/routes.rb +0 -3
- data/spec/dummy/log/test.log +0 -6954
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../common/config/routes.rb
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
test:
|
|
2
|
+
service: Disk
|
|
3
|
+
root: <%= Rails.root.join("tmp/storage") %>
|
|
4
|
+
|
|
5
|
+
local:
|
|
6
|
+
service: Disk
|
|
7
|
+
root: <%= Rails.root.join("storage") %>
|
|
8
|
+
|
|
9
|
+
# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
|
|
10
|
+
# amazon:
|
|
11
|
+
# service: S3
|
|
12
|
+
# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
|
|
13
|
+
# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
|
|
14
|
+
# region: us-east-1
|
|
15
|
+
# bucket: your_own_bucket
|
|
16
|
+
|
|
17
|
+
# Remember not to checkin your GCS keyfile to a repository
|
|
18
|
+
# google:
|
|
19
|
+
# service: GCS
|
|
20
|
+
# project: your_project
|
|
21
|
+
# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
|
|
22
|
+
# bucket: your_own_bucket
|
|
23
|
+
|
|
24
|
+
# Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
|
|
25
|
+
# microsoft:
|
|
26
|
+
# service: AzureStorage
|
|
27
|
+
# storage_account_name: your_account_name
|
|
28
|
+
# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
|
|
29
|
+
# container: your_container_name
|
|
30
|
+
|
|
31
|
+
# mirror:
|
|
32
|
+
# service: Mirror
|
|
33
|
+
# primary: local
|
|
34
|
+
# mirrors: [ amazon, google, microsoft ]
|
|
File without changes
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
Started GET "/parameters?per_page=20" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
2
|
+
Processing by ParametersController#index as HTML
|
|
3
|
+
Parameters: {"per_page"=>"20"}
|
|
4
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
5
|
+
Started GET "/parameters" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
6
|
+
Processing by ParametersController#index as HTML
|
|
7
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
8
|
+
Started GET "/parameters?order=created_at" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
9
|
+
Processing by ParametersController#index as HTML
|
|
10
|
+
Parameters: {"order"=>"created_at"}
|
|
11
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
12
|
+
Started GET "/parameters?status=active" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
13
|
+
Processing by ParametersController#index as HTML
|
|
14
|
+
Parameters: {"status"=>"active"}
|
|
15
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
16
|
+
Started GET "/parameters?status=" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
17
|
+
Processing by ParametersController#index as HTML
|
|
18
|
+
Parameters: {"status"=>""}
|
|
19
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
20
|
+
Started GET "/parameters?per_page=20" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
21
|
+
Processing by ParametersController#index as HTML
|
|
22
|
+
Parameters: {"per_page"=>"20"}
|
|
23
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
24
|
+
Started GET "/parameters?per_page=10" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
25
|
+
Processing by ParametersController#index as HTML
|
|
26
|
+
Parameters: {"per_page"=>"10"}
|
|
27
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
28
|
+
Started GET "/parameters?page=5&per_page=20" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
29
|
+
Processing by ParametersController#index as HTML
|
|
30
|
+
Parameters: {"page"=>"5", "per_page"=>"20"}
|
|
31
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
32
|
+
Started GET "/parameters" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
33
|
+
Processing by ParametersController#index as HTML
|
|
34
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
35
|
+
Started POST "/parameters" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
36
|
+
Processing by ParametersController#create as HTML
|
|
37
|
+
Parameters: {"per_page"=>"20"}
|
|
38
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
39
|
+
Started POST "/parameters" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
40
|
+
Processing by ParametersController#create as HTML
|
|
41
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
42
|
+
Started GET "/parameters?locale=en" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
43
|
+
Processing by ParametersController#index as HTML
|
|
44
|
+
Parameters: {"locale"=>"en"}
|
|
45
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
46
|
+
Started GET "/parameters" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
|
|
47
|
+
Processing by ParametersController#index as HTML
|
|
48
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
49
|
+
Started GET "/parameters?sort[column]=name&sort[direction]=desc" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
50
|
+
Processing by ParametersController#index as HTML
|
|
51
|
+
Parameters: {"sort"=>{"column"=>"name", "direction"=>"desc"}}
|
|
52
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
53
|
+
Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
54
|
+
Processing by ParametersController#index as HTML
|
|
55
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
56
|
+
Started GET "/admin/parameters?status=active" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
57
|
+
Processing by Admin::ParametersController#index as HTML
|
|
58
|
+
Parameters: {"status"=>"active"}
|
|
59
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
60
|
+
Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
61
|
+
Processing by ParametersController#index as HTML
|
|
62
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
63
|
+
Started GET "/parameters?status=active" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
64
|
+
Processing by ParametersController#index as HTML
|
|
65
|
+
Parameters: {"status"=>"active"}
|
|
66
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
67
|
+
Started GET "/parameters?status=inactive" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
68
|
+
Processing by ParametersController#index as HTML
|
|
69
|
+
Parameters: {"status"=>"inactive"}
|
|
70
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
71
|
+
Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
72
|
+
Processing by ParametersController#index as HTML
|
|
73
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
74
|
+
Started GET "/parameters?status=active" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
75
|
+
Processing by ParametersController#index as HTML
|
|
76
|
+
Parameters: {"status"=>"active"}
|
|
77
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
78
|
+
Started GET "/parameters?status=" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
79
|
+
Processing by ParametersController#index as HTML
|
|
80
|
+
Parameters: {"status"=>""}
|
|
81
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
82
|
+
Started GET "/parameters?page=2&per_page=20" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
83
|
+
Processing by ParametersController#index as HTML
|
|
84
|
+
Parameters: {"page"=>"2", "per_page"=>"20"}
|
|
85
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
86
|
+
Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
87
|
+
Processing by ParametersController#index as HTML
|
|
88
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
89
|
+
Started GET "/parameters?status=active" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
90
|
+
Processing by ParametersController#index as HTML
|
|
91
|
+
Parameters: {"status"=>"active"}
|
|
92
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
93
|
+
Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
94
|
+
Processing by ParametersController#index as HTML
|
|
95
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
96
|
+
Started GET "/parameters?locale=en" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
97
|
+
Processing by ParametersController#index as HTML
|
|
98
|
+
Parameters: {"locale"=>"en"}
|
|
99
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
100
|
+
Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
101
|
+
Processing by ParametersController#index as HTML
|
|
102
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
103
|
+
Started GET "/admin/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
104
|
+
Processing by Admin::ParametersController#index as HTML
|
|
105
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
106
|
+
Started POST "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
107
|
+
Processing by ParametersController#create as HTML
|
|
108
|
+
Parameters: {"status"=>"active"}
|
|
109
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
110
|
+
Started POST "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
111
|
+
Processing by ParametersController#create as HTML
|
|
112
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
113
|
+
Started GET "/parameters?status=active" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
114
|
+
Processing by ParametersController#index as HTML
|
|
115
|
+
Parameters: {"status"=>"active"}
|
|
116
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
117
|
+
Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
|
|
118
|
+
Processing by ParametersController#index as HTML
|
|
119
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<style>
|
|
7
|
+
.rails-default-error-page {
|
|
8
|
+
background-color: #EFEFEF;
|
|
9
|
+
color: #2E2F30;
|
|
10
|
+
text-align: center;
|
|
11
|
+
font-family: arial, sans-serif;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rails-default-error-page div.dialog {
|
|
16
|
+
width: 95%;
|
|
17
|
+
max-width: 33em;
|
|
18
|
+
margin: 4em auto 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rails-default-error-page div.dialog > div {
|
|
22
|
+
border: 1px solid #CCC;
|
|
23
|
+
border-right-color: #999;
|
|
24
|
+
border-left-color: #999;
|
|
25
|
+
border-bottom-color: #BBB;
|
|
26
|
+
border-top: #B00100 solid 4px;
|
|
27
|
+
border-top-left-radius: 9px;
|
|
28
|
+
border-top-right-radius: 9px;
|
|
29
|
+
background-color: white;
|
|
30
|
+
padding: 7px 12% 0;
|
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.rails-default-error-page h1 {
|
|
35
|
+
font-size: 100%;
|
|
36
|
+
color: #730E15;
|
|
37
|
+
line-height: 1.5em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.rails-default-error-page div.dialog > p {
|
|
41
|
+
margin: 0 0 1em;
|
|
42
|
+
padding: 1em;
|
|
43
|
+
background-color: #F7F7F7;
|
|
44
|
+
border: 1px solid #CCC;
|
|
45
|
+
border-right-color: #999;
|
|
46
|
+
border-left-color: #999;
|
|
47
|
+
border-bottom-color: #999;
|
|
48
|
+
border-bottom-left-radius: 4px;
|
|
49
|
+
border-bottom-right-radius: 4px;
|
|
50
|
+
border-top-color: #DADADA;
|
|
51
|
+
color: #666;
|
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
|
|
57
|
+
<body class="rails-default-error-page">
|
|
58
|
+
<!-- This file lives in public/404.html -->
|
|
59
|
+
<div class="dialog">
|
|
60
|
+
<div>
|
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
|
63
|
+
</div>
|
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
65
|
+
</div>
|
|
66
|
+
</body>
|
|
67
|
+
</html>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<style>
|
|
7
|
+
.rails-default-error-page {
|
|
8
|
+
background-color: #EFEFEF;
|
|
9
|
+
color: #2E2F30;
|
|
10
|
+
text-align: center;
|
|
11
|
+
font-family: arial, sans-serif;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rails-default-error-page div.dialog {
|
|
16
|
+
width: 95%;
|
|
17
|
+
max-width: 33em;
|
|
18
|
+
margin: 4em auto 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rails-default-error-page div.dialog > div {
|
|
22
|
+
border: 1px solid #CCC;
|
|
23
|
+
border-right-color: #999;
|
|
24
|
+
border-left-color: #999;
|
|
25
|
+
border-bottom-color: #BBB;
|
|
26
|
+
border-top: #B00100 solid 4px;
|
|
27
|
+
border-top-left-radius: 9px;
|
|
28
|
+
border-top-right-radius: 9px;
|
|
29
|
+
background-color: white;
|
|
30
|
+
padding: 7px 12% 0;
|
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.rails-default-error-page h1 {
|
|
35
|
+
font-size: 100%;
|
|
36
|
+
color: #730E15;
|
|
37
|
+
line-height: 1.5em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.rails-default-error-page div.dialog > p {
|
|
41
|
+
margin: 0 0 1em;
|
|
42
|
+
padding: 1em;
|
|
43
|
+
background-color: #F7F7F7;
|
|
44
|
+
border: 1px solid #CCC;
|
|
45
|
+
border-right-color: #999;
|
|
46
|
+
border-left-color: #999;
|
|
47
|
+
border-bottom-color: #999;
|
|
48
|
+
border-bottom-left-radius: 4px;
|
|
49
|
+
border-bottom-right-radius: 4px;
|
|
50
|
+
border-top-color: #DADADA;
|
|
51
|
+
color: #666;
|
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
|
|
57
|
+
<body class="rails-default-error-page">
|
|
58
|
+
<!-- This file lives in public/422.html -->
|
|
59
|
+
<div class="dialog">
|
|
60
|
+
<div>
|
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
|
63
|
+
</div>
|
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
65
|
+
</div>
|
|
66
|
+
</body>
|
|
67
|
+
</html>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<style>
|
|
7
|
+
.rails-default-error-page {
|
|
8
|
+
background-color: #EFEFEF;
|
|
9
|
+
color: #2E2F30;
|
|
10
|
+
text-align: center;
|
|
11
|
+
font-family: arial, sans-serif;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rails-default-error-page div.dialog {
|
|
16
|
+
width: 95%;
|
|
17
|
+
max-width: 33em;
|
|
18
|
+
margin: 4em auto 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rails-default-error-page div.dialog > div {
|
|
22
|
+
border: 1px solid #CCC;
|
|
23
|
+
border-right-color: #999;
|
|
24
|
+
border-left-color: #999;
|
|
25
|
+
border-bottom-color: #BBB;
|
|
26
|
+
border-top: #B00100 solid 4px;
|
|
27
|
+
border-top-left-radius: 9px;
|
|
28
|
+
border-top-right-radius: 9px;
|
|
29
|
+
background-color: white;
|
|
30
|
+
padding: 7px 12% 0;
|
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.rails-default-error-page h1 {
|
|
35
|
+
font-size: 100%;
|
|
36
|
+
color: #730E15;
|
|
37
|
+
line-height: 1.5em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.rails-default-error-page div.dialog > p {
|
|
41
|
+
margin: 0 0 1em;
|
|
42
|
+
padding: 1em;
|
|
43
|
+
background-color: #F7F7F7;
|
|
44
|
+
border: 1px solid #CCC;
|
|
45
|
+
border-right-color: #999;
|
|
46
|
+
border-left-color: #999;
|
|
47
|
+
border-bottom-color: #999;
|
|
48
|
+
border-bottom-left-radius: 4px;
|
|
49
|
+
border-bottom-right-radius: 4px;
|
|
50
|
+
border-top-color: #DADADA;
|
|
51
|
+
color: #666;
|
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
|
|
57
|
+
<body class="rails-default-error-page">
|
|
58
|
+
<!-- This file lives in public/500.html -->
|
|
59
|
+
<div class="dialog">
|
|
60
|
+
<div>
|
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
|
62
|
+
</div>
|
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
64
|
+
</div>
|
|
65
|
+
</body>
|
|
66
|
+
</html>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c5487cc1f926aeaf2b0ca7bb49d03782e85603c1e87346a9fd08eb5eea43461847f32a81644df78e2740df6480ebcfb15cb0ecdd7ddd5c30c2b878ab3f076894
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
3
|
+
* listed below.
|
|
4
|
+
*
|
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
|
7
|
+
*
|
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
|
11
|
+
* It is generally better to create a new file per style scope.
|
|
12
|
+
*
|
|
13
|
+
*= require_tree .
|
|
14
|
+
*= require_self
|
|
15
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../../common/app/controllers/admin/parameters_controller.rb
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../common/app/controllers/application_controller.rb
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../../common/app/controllers/parameters_controller.rb
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
2
|
+
// listed below.
|
|
3
|
+
//
|
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
5
|
+
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
|
6
|
+
//
|
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
|
+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
|
9
|
+
//
|
|
10
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
|
11
|
+
// about supported directives.
|
|
12
|
+
//
|
|
13
|
+
//= require rails-ujs
|
|
14
|
+
//= require activestorage
|
|
15
|
+
//= require_tree .
|