mongo_session_store 3.0.0 → 3.1.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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +6 -0
  3. data/CHANGELOG.md +6 -2
  4. data/gemfiles/rails-5.0-mongo.gemfile +9 -0
  5. data/gemfiles/rails-5.0-mongoid.gemfile +9 -0
  6. data/lib/mongo_session_store/mongo_store_base.rb +21 -5
  7. data/lib/mongo_session_store/version.rb +1 -1
  8. data/mongo_session_store.gemspec +1 -1
  9. data/spec/lib/mongo_session_store/mongo_store_base_spec.rb +7 -5
  10. data/spec/support/apps/rails_4.0_app/app/controllers/home_controller.rb +1 -3
  11. data/spec/support/apps/rails_4.1_app/app/controllers/home_controller.rb +1 -3
  12. data/spec/support/apps/rails_4.2_app/app/controllers/home_controller.rb +1 -3
  13. data/spec/support/apps/rails_5.0_app/Rakefile +6 -0
  14. data/spec/support/apps/rails_5.0_app/app/controllers/application_controller.rb +3 -0
  15. data/spec/support/apps/rails_5.0_app/app/controllers/home_controller.rb +2 -0
  16. data/spec/support/apps/rails_5.0_app/app/models/application_record.rb +3 -0
  17. data/spec/support/apps/rails_5.0_app/app/models/user.rb +5 -0
  18. data/spec/support/apps/rails_5.0_app/app/views/home/index.html.erb +10 -0
  19. data/spec/support/apps/rails_5.0_app/app/views/layouts/application.html.erb +15 -0
  20. data/spec/support/apps/rails_5.0_app/bin/bundle +3 -0
  21. data/spec/support/apps/rails_5.0_app/bin/rails +4 -0
  22. data/spec/support/apps/rails_5.0_app/bin/rake +4 -0
  23. data/spec/support/apps/rails_5.0_app/bin/setup +34 -0
  24. data/spec/support/apps/rails_5.0_app/bin/update +29 -0
  25. data/spec/support/apps/rails_5.0_app/config.ru +5 -0
  26. data/spec/support/apps/rails_5.0_app/config/application.rb +11 -0
  27. data/spec/support/apps/rails_5.0_app/config/boot.rb +5 -0
  28. data/spec/support/apps/rails_5.0_app/config/database.yml +11 -0
  29. data/spec/support/apps/rails_5.0_app/config/environment.rb +5 -0
  30. data/spec/support/apps/rails_5.0_app/config/environments/development.rb +12 -0
  31. data/spec/support/apps/rails_5.0_app/config/environments/test.rb +19 -0
  32. data/spec/support/apps/rails_5.0_app/config/initializers/devise.rb +254 -0
  33. data/spec/support/apps/rails_5.0_app/config/initializers/session_store.rb +1 -0
  34. data/spec/support/apps/rails_5.0_app/config/locales/en.yml +23 -0
  35. data/spec/support/apps/rails_5.0_app/config/mongo.yml +11 -0
  36. data/spec/support/apps/rails_5.0_app/config/mongoid.yml +13 -0
  37. data/spec/support/apps/rails_5.0_app/config/routes.rb +4 -0
  38. data/spec/support/apps/rails_5.0_app/config/secrets.yml +22 -0
  39. data/spec/support/apps/rails_5.0_app/db/migrate/20140301171212_add_devise_users.rb +11 -0
  40. data/spec/support/apps/rails_5.0_app/db/schema.rb +23 -0
  41. data/spec/support/apps/{rails_4.0_app/public/favicon.ico → rails_5.0_app/log/.keep} +0 -0
  42. metadata +64 -30
  43. data/spec/support/apps/rails_4.0_app/db/seeds.rb +0 -7
  44. data/spec/support/apps/rails_4.0_app/public/404.html +0 -58
  45. data/spec/support/apps/rails_4.0_app/public/422.html +0 -58
  46. data/spec/support/apps/rails_4.0_app/public/500.html +0 -57
  47. data/spec/support/apps/rails_4.0_app/public/robots.txt +0 -5
  48. data/spec/support/apps/rails_4.1_app/db/seeds.rb +0 -7
  49. data/spec/support/apps/rails_4.1_app/public/404.html +0 -67
  50. data/spec/support/apps/rails_4.1_app/public/422.html +0 -67
  51. data/spec/support/apps/rails_4.1_app/public/500.html +0 -66
  52. data/spec/support/apps/rails_4.1_app/public/favicon.ico +0 -0
  53. data/spec/support/apps/rails_4.1_app/public/robots.txt +0 -5
  54. data/spec/support/apps/rails_4.2_app/db/seeds.rb +0 -7
@@ -0,0 +1 @@
1
+ Rails.application.config.session_store :"#{mongo_orm}_store"
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,11 @@
1
+ defaults: &defaults
2
+ host: 127.0.0.1
3
+ port: 27017
4
+
5
+ development:
6
+ <<: *defaults
7
+ database: test_database
8
+
9
+ test:
10
+ <<: *defaults
11
+ database: test_database
@@ -0,0 +1,13 @@
1
+ development:
2
+ clients:
3
+ default:
4
+ database: test_database
5
+ hosts:
6
+ - 127.0.0.1:27017
7
+
8
+ test:
9
+ clients:
10
+ default:
11
+ database: test_database
12
+ hosts:
13
+ - 127.0.0.1:27017
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+ devise_for :users
3
+ root :to => "home#index"
4
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rails secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: cef010831c3c4a0f52653b0a5664ceb8091b9dcfb5feabe3ffcc0e08c006d70414dfb3cd1ba9d1273fe2f49f6b9938a7c22605647e783ce04f08415acc07d887
15
+
16
+ test:
17
+ secret_key_base: a7f1932ee2f6b72991e40ff14bf4ee16030a9f00fe2294054d39a186be297424a69034528966a2ee61ab959131137bcd7f6ba80491684da11a17c8f7af661abb
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,11 @@
1
+ class AddDeviseUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table(:users) do |t|
4
+ t.string :email, :null => false, :default => ""
5
+ t.string :encrypted_password, :null => false, :default => ""
6
+ t.timestamps
7
+ end
8
+
9
+ add_index :users, :email, :unique => true
10
+ end
11
+ end
@@ -0,0 +1,23 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(version: 20140301171212) do
14
+
15
+ create_table "users", force: :cascade do |t|
16
+ t.string "email", default: "", null: false
17
+ t.string "encrypted_password", default: "", null: false
18
+ t.datetime "created_at"
19
+ t.datetime "updated_at"
20
+ t.index ["email"], name: "index_users_on_email", unique: true
21
+ end
22
+
23
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_session_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Bruijn
@@ -12,20 +12,20 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-04-27 00:00:00.000000000 Z
15
+ date: 2017-05-02 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: actionpack
19
19
  requirement: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - "~>"
21
+ - - ">="
22
22
  - !ruby/object:Gem::Version
23
23
  version: '4.0'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - "~>"
28
+ - - ">="
29
29
  - !ruby/object:Gem::Version
30
30
  version: '4.0'
31
31
  - !ruby/object:Gem::Dependency
@@ -135,6 +135,8 @@ files:
135
135
  - gemfiles/rails-4.1-mongoid.gemfile
136
136
  - gemfiles/rails-4.2-mongo.gemfile
137
137
  - gemfiles/rails-4.2-mongoid.gemfile
138
+ - gemfiles/rails-5.0-mongo.gemfile
139
+ - gemfiles/rails-5.0-mongoid.gemfile
138
140
  - lib/mongo_session_store.rb
139
141
  - lib/mongo_session_store/mongo_store.rb
140
142
  - lib/mongo_session_store/mongo_store_base.rb
@@ -178,15 +180,9 @@ files:
178
180
  - spec/support/apps/rails_4.0_app/config/routes.rb
179
181
  - spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb
180
182
  - spec/support/apps/rails_4.0_app/db/schema.rb
181
- - spec/support/apps/rails_4.0_app/db/seeds.rb
182
183
  - spec/support/apps/rails_4.0_app/lib/assets/.keep
183
184
  - spec/support/apps/rails_4.0_app/lib/tasks/.keep
184
185
  - spec/support/apps/rails_4.0_app/log/.keep
185
- - spec/support/apps/rails_4.0_app/public/404.html
186
- - spec/support/apps/rails_4.0_app/public/422.html
187
- - spec/support/apps/rails_4.0_app/public/500.html
188
- - spec/support/apps/rails_4.0_app/public/favicon.ico
189
- - spec/support/apps/rails_4.0_app/public/robots.txt
190
186
  - spec/support/apps/rails_4.1_app/Rakefile
191
187
  - spec/support/apps/rails_4.1_app/app/controllers/application_controller.rb
192
188
  - spec/support/apps/rails_4.1_app/app/controllers/home_controller.rb
@@ -213,15 +209,9 @@ files:
213
209
  - spec/support/apps/rails_4.1_app/config/secrets.yml
214
210
  - spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
215
211
  - spec/support/apps/rails_4.1_app/db/schema.rb
216
- - spec/support/apps/rails_4.1_app/db/seeds.rb
217
212
  - spec/support/apps/rails_4.1_app/lib/assets/.keep
218
213
  - spec/support/apps/rails_4.1_app/lib/tasks/.keep
219
214
  - spec/support/apps/rails_4.1_app/log/.keep
220
- - spec/support/apps/rails_4.1_app/public/404.html
221
- - spec/support/apps/rails_4.1_app/public/422.html
222
- - spec/support/apps/rails_4.1_app/public/500.html
223
- - spec/support/apps/rails_4.1_app/public/favicon.ico
224
- - spec/support/apps/rails_4.1_app/public/robots.txt
225
215
  - spec/support/apps/rails_4.2_app/Rakefile
226
216
  - spec/support/apps/rails_4.2_app/app/controllers/application_controller.rb
227
217
  - spec/support/apps/rails_4.2_app/app/controllers/home_controller.rb
@@ -247,7 +237,35 @@ files:
247
237
  - spec/support/apps/rails_4.2_app/config/secrets.yml
248
238
  - spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
249
239
  - spec/support/apps/rails_4.2_app/db/schema.rb
250
- - spec/support/apps/rails_4.2_app/db/seeds.rb
240
+ - spec/support/apps/rails_5.0_app/Rakefile
241
+ - spec/support/apps/rails_5.0_app/app/controllers/application_controller.rb
242
+ - spec/support/apps/rails_5.0_app/app/controllers/home_controller.rb
243
+ - spec/support/apps/rails_5.0_app/app/models/application_record.rb
244
+ - spec/support/apps/rails_5.0_app/app/models/user.rb
245
+ - spec/support/apps/rails_5.0_app/app/views/home/index.html.erb
246
+ - spec/support/apps/rails_5.0_app/app/views/layouts/application.html.erb
247
+ - spec/support/apps/rails_5.0_app/bin/bundle
248
+ - spec/support/apps/rails_5.0_app/bin/rails
249
+ - spec/support/apps/rails_5.0_app/bin/rake
250
+ - spec/support/apps/rails_5.0_app/bin/setup
251
+ - spec/support/apps/rails_5.0_app/bin/update
252
+ - spec/support/apps/rails_5.0_app/config.ru
253
+ - spec/support/apps/rails_5.0_app/config/application.rb
254
+ - spec/support/apps/rails_5.0_app/config/boot.rb
255
+ - spec/support/apps/rails_5.0_app/config/database.yml
256
+ - spec/support/apps/rails_5.0_app/config/environment.rb
257
+ - spec/support/apps/rails_5.0_app/config/environments/development.rb
258
+ - spec/support/apps/rails_5.0_app/config/environments/test.rb
259
+ - spec/support/apps/rails_5.0_app/config/initializers/devise.rb
260
+ - spec/support/apps/rails_5.0_app/config/initializers/session_store.rb
261
+ - spec/support/apps/rails_5.0_app/config/locales/en.yml
262
+ - spec/support/apps/rails_5.0_app/config/mongo.yml
263
+ - spec/support/apps/rails_5.0_app/config/mongoid.yml
264
+ - spec/support/apps/rails_5.0_app/config/routes.rb
265
+ - spec/support/apps/rails_5.0_app/config/secrets.yml
266
+ - spec/support/apps/rails_5.0_app/db/migrate/20140301171212_add_devise_users.rb
267
+ - spec/support/apps/rails_5.0_app/db/schema.rb
268
+ - spec/support/apps/rails_5.0_app/log/.keep
251
269
  - spec/support/helpers/session_id_helper.rb
252
270
  - spec/support/helpers/test_database_helper.rb
253
271
  homepage: http://github.com/mongoid/mongo_session_store
@@ -311,15 +329,9 @@ test_files:
311
329
  - spec/support/apps/rails_4.0_app/config/routes.rb
312
330
  - spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb
313
331
  - spec/support/apps/rails_4.0_app/db/schema.rb
314
- - spec/support/apps/rails_4.0_app/db/seeds.rb
315
332
  - spec/support/apps/rails_4.0_app/lib/assets/.keep
316
333
  - spec/support/apps/rails_4.0_app/lib/tasks/.keep
317
334
  - spec/support/apps/rails_4.0_app/log/.keep
318
- - spec/support/apps/rails_4.0_app/public/404.html
319
- - spec/support/apps/rails_4.0_app/public/422.html
320
- - spec/support/apps/rails_4.0_app/public/500.html
321
- - spec/support/apps/rails_4.0_app/public/favicon.ico
322
- - spec/support/apps/rails_4.0_app/public/robots.txt
323
335
  - spec/support/apps/rails_4.1_app/Rakefile
324
336
  - spec/support/apps/rails_4.1_app/app/controllers/application_controller.rb
325
337
  - spec/support/apps/rails_4.1_app/app/controllers/home_controller.rb
@@ -346,15 +358,9 @@ test_files:
346
358
  - spec/support/apps/rails_4.1_app/config/secrets.yml
347
359
  - spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
348
360
  - spec/support/apps/rails_4.1_app/db/schema.rb
349
- - spec/support/apps/rails_4.1_app/db/seeds.rb
350
361
  - spec/support/apps/rails_4.1_app/lib/assets/.keep
351
362
  - spec/support/apps/rails_4.1_app/lib/tasks/.keep
352
363
  - spec/support/apps/rails_4.1_app/log/.keep
353
- - spec/support/apps/rails_4.1_app/public/404.html
354
- - spec/support/apps/rails_4.1_app/public/422.html
355
- - spec/support/apps/rails_4.1_app/public/500.html
356
- - spec/support/apps/rails_4.1_app/public/favicon.ico
357
- - spec/support/apps/rails_4.1_app/public/robots.txt
358
364
  - spec/support/apps/rails_4.2_app/Rakefile
359
365
  - spec/support/apps/rails_4.2_app/app/controllers/application_controller.rb
360
366
  - spec/support/apps/rails_4.2_app/app/controllers/home_controller.rb
@@ -380,6 +386,34 @@ test_files:
380
386
  - spec/support/apps/rails_4.2_app/config/secrets.yml
381
387
  - spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
382
388
  - spec/support/apps/rails_4.2_app/db/schema.rb
383
- - spec/support/apps/rails_4.2_app/db/seeds.rb
389
+ - spec/support/apps/rails_5.0_app/Rakefile
390
+ - spec/support/apps/rails_5.0_app/app/controllers/application_controller.rb
391
+ - spec/support/apps/rails_5.0_app/app/controllers/home_controller.rb
392
+ - spec/support/apps/rails_5.0_app/app/models/application_record.rb
393
+ - spec/support/apps/rails_5.0_app/app/models/user.rb
394
+ - spec/support/apps/rails_5.0_app/app/views/home/index.html.erb
395
+ - spec/support/apps/rails_5.0_app/app/views/layouts/application.html.erb
396
+ - spec/support/apps/rails_5.0_app/bin/bundle
397
+ - spec/support/apps/rails_5.0_app/bin/rails
398
+ - spec/support/apps/rails_5.0_app/bin/rake
399
+ - spec/support/apps/rails_5.0_app/bin/setup
400
+ - spec/support/apps/rails_5.0_app/bin/update
401
+ - spec/support/apps/rails_5.0_app/config.ru
402
+ - spec/support/apps/rails_5.0_app/config/application.rb
403
+ - spec/support/apps/rails_5.0_app/config/boot.rb
404
+ - spec/support/apps/rails_5.0_app/config/database.yml
405
+ - spec/support/apps/rails_5.0_app/config/environment.rb
406
+ - spec/support/apps/rails_5.0_app/config/environments/development.rb
407
+ - spec/support/apps/rails_5.0_app/config/environments/test.rb
408
+ - spec/support/apps/rails_5.0_app/config/initializers/devise.rb
409
+ - spec/support/apps/rails_5.0_app/config/initializers/session_store.rb
410
+ - spec/support/apps/rails_5.0_app/config/locales/en.yml
411
+ - spec/support/apps/rails_5.0_app/config/mongo.yml
412
+ - spec/support/apps/rails_5.0_app/config/mongoid.yml
413
+ - spec/support/apps/rails_5.0_app/config/routes.rb
414
+ - spec/support/apps/rails_5.0_app/config/secrets.yml
415
+ - spec/support/apps/rails_5.0_app/db/migrate/20140301171212_add_devise_users.rb
416
+ - spec/support/apps/rails_5.0_app/db/schema.rb
417
+ - spec/support/apps/rails_5.0_app/log/.keep
384
418
  - spec/support/helpers/session_id_helper.rb
385
419
  - spec/support/helpers/test_database_helper.rb
@@ -1,7 +0,0 @@
1
- # This file should contain all the record creation needed to seed the database with its default values.
2
- # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
- #
4
- # Examples:
5
- #
6
- # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
- # Mayor.create(name: 'Emanuel', city: cities.first)
@@ -1,58 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <style>
6
- body {
7
- background-color: #EFEFEF;
8
- color: #2E2F30;
9
- text-align: center;
10
- font-family: arial, sans-serif;
11
- }
12
-
13
- div.dialog {
14
- width: 25em;
15
- margin: 4em auto 0 auto;
16
- border: 1px solid #CCC;
17
- border-right-color: #999;
18
- border-left-color: #999;
19
- border-bottom-color: #BBB;
20
- border-top: #B00100 solid 4px;
21
- border-top-left-radius: 9px;
22
- border-top-right-radius: 9px;
23
- background-color: white;
24
- padding: 7px 4em 0 4em;
25
- }
26
-
27
- h1 {
28
- font-size: 100%;
29
- color: #730E15;
30
- line-height: 1.5em;
31
- }
32
-
33
- body > p {
34
- width: 33em;
35
- margin: 0 auto 1em;
36
- padding: 1em 0;
37
- background-color: #F7F7F7;
38
- border: 1px solid #CCC;
39
- border-right-color: #999;
40
- border-bottom-color: #999;
41
- border-bottom-left-radius: 4px;
42
- border-bottom-right-radius: 4px;
43
- border-top-color: #DADADA;
44
- color: #666;
45
- box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
- }
47
- </style>
48
- </head>
49
-
50
- <body>
51
- <!-- This file lives in public/404.html -->
52
- <div class="dialog">
53
- <h1>The page you were looking for doesn't exist.</h1>
54
- <p>You may have mistyped the address or the page may have moved.</p>
55
- </div>
56
- <p>If you are the application owner check the logs for more information.</p>
57
- </body>
58
- </html>
@@ -1,58 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <style>
6
- body {
7
- background-color: #EFEFEF;
8
- color: #2E2F30;
9
- text-align: center;
10
- font-family: arial, sans-serif;
11
- }
12
-
13
- div.dialog {
14
- width: 25em;
15
- margin: 4em auto 0 auto;
16
- border: 1px solid #CCC;
17
- border-right-color: #999;
18
- border-left-color: #999;
19
- border-bottom-color: #BBB;
20
- border-top: #B00100 solid 4px;
21
- border-top-left-radius: 9px;
22
- border-top-right-radius: 9px;
23
- background-color: white;
24
- padding: 7px 4em 0 4em;
25
- }
26
-
27
- h1 {
28
- font-size: 100%;
29
- color: #730E15;
30
- line-height: 1.5em;
31
- }
32
-
33
- body > p {
34
- width: 33em;
35
- margin: 0 auto 1em;
36
- padding: 1em 0;
37
- background-color: #F7F7F7;
38
- border: 1px solid #CCC;
39
- border-right-color: #999;
40
- border-bottom-color: #999;
41
- border-bottom-left-radius: 4px;
42
- border-bottom-right-radius: 4px;
43
- border-top-color: #DADADA;
44
- color: #666;
45
- box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
- }
47
- </style>
48
- </head>
49
-
50
- <body>
51
- <!-- This file lives in public/422.html -->
52
- <div class="dialog">
53
- <h1>The change you wanted was rejected.</h1>
54
- <p>Maybe you tried to change something you didn't have access to.</p>
55
- </div>
56
- <p>If you are the application owner check the logs for more information.</p>
57
- </body>
58
- </html>
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <style>
6
- body {
7
- background-color: #EFEFEF;
8
- color: #2E2F30;
9
- text-align: center;
10
- font-family: arial, sans-serif;
11
- }
12
-
13
- div.dialog {
14
- width: 25em;
15
- margin: 4em auto 0 auto;
16
- border: 1px solid #CCC;
17
- border-right-color: #999;
18
- border-left-color: #999;
19
- border-bottom-color: #BBB;
20
- border-top: #B00100 solid 4px;
21
- border-top-left-radius: 9px;
22
- border-top-right-radius: 9px;
23
- background-color: white;
24
- padding: 7px 4em 0 4em;
25
- }
26
-
27
- h1 {
28
- font-size: 100%;
29
- color: #730E15;
30
- line-height: 1.5em;
31
- }
32
-
33
- body > p {
34
- width: 33em;
35
- margin: 0 auto 1em;
36
- padding: 1em 0;
37
- background-color: #F7F7F7;
38
- border: 1px solid #CCC;
39
- border-right-color: #999;
40
- border-bottom-color: #999;
41
- border-bottom-left-radius: 4px;
42
- border-bottom-right-radius: 4px;
43
- border-top-color: #DADADA;
44
- color: #666;
45
- box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
- }
47
- </style>
48
- </head>
49
-
50
- <body>
51
- <!-- This file lives in public/500.html -->
52
- <div class="dialog">
53
- <h1>We're sorry, but something went wrong.</h1>
54
- </div>
55
- <p>If you are the application owner check the logs for more information.</p>
56
- </body>
57
- </html>