diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-27 16:58:53 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-27 16:58:53 +0200 |
| commit | 420506e58fdfc84f1a5bede0a01dedf0af3bb4f3 (patch) | |
| tree | 57726b40e8aa9ccf80f874f39d3facefc0331420 /public/406-unsupported-browser.html | |
| parent | 241d5e91b2b6716e2861cc77d319c3d3568343a8 (diff) | |
Stage 7: Rails 7.2 → 8.1 on Ruby 3.2.11
- Bump Rails to 8.1.3 (Ruby unchanged at 3.2.11, new gemset rails8-upgrade)
- config.load_defaults 8.1; merge app:update diffs for all environment files
- Remove routing-filter 0.7.0; replace with native scope '(:locale)' in
routes.rb and default_url_options in ApplicationController
- Delete config/initializers/routing_filter_rails71_patch.rb
- Replace vendored TinyMCE 3.x (~200 files) with tinymce-rails ~> 8.3;
migrate admin_interface.js from jQuery .tinymce()/advanced theme to
tinymce.init(); add config/tinymce.yml; note: TinyMCE 7+ is GPL
- rails-i18n ~> 8.0 added explicitly (previously indirect dependency)
- awesome_nested_set, acts-as-taggable-on pinned to git main/master
(gemspec activerecord < 8.1 ceiling; no functional incompatibility;
repin to version once upstream releases updated gemspecs)
- globalize ~> 7.0, libxml-ruby ~> 5.0, nokogiri ~> 1.18, pg ~> 1.5
- sass-rails, coffee-rails, uglifier moved from :assets group to main
(Sprockets 4 convention; :assets group no longer meaningful)
- Node: head, draft, lock_owner marked belongs_to optional: true
- Page: node, user, editor marked belongs_to optional: true
- Static assets in public/images/ and public/javascripts/ referenced via
plain HTML tags; Rails 8 load_defaults raises on pipeline helpers for
undeclared assets
- sessions_controller_test.rb: remove stale require and dead rescue_action
- users_controller_test.rb: assert button[type=submit] not input[type=submit]
(Rails 8 button_to renders <button> not <input>)
- test_helper.rb: node.reload after children.create! (awesome_nested_set
3.9.0 does not refresh parent in memory after callback)
- 129 runs, 339 assertions, 3 failures, 0 errors — identical baseline to 7.2
Diffstat (limited to 'public/406-unsupported-browser.html')
| -rw-r--r-- | public/406-unsupported-browser.html | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/public/406-unsupported-browser.html b/public/406-unsupported-browser.html new file mode 100644 index 00000000..43d2811e --- /dev/null +++ b/public/406-unsupported-browser.html | |||
| @@ -0,0 +1,135 @@ | |||
| 1 | <!doctype html> | ||
| 2 | |||
| 3 | <html lang="en"> | ||
| 4 | |||
| 5 | <head> | ||
| 6 | |||
| 7 | <title>Your browser is not supported (406 Not Acceptable)</title> | ||
| 8 | |||
| 9 | <meta charset="utf-8"> | ||
| 10 | <meta name="viewport" content="initial-scale=1, width=device-width"> | ||
| 11 | <meta name="robots" content="noindex, nofollow"> | ||
| 12 | |||
| 13 | <style> | ||
| 14 | |||
| 15 | *, *::before, *::after { | ||
| 16 | box-sizing: border-box; | ||
| 17 | } | ||
| 18 | |||
| 19 | * { | ||
| 20 | margin: 0; | ||
| 21 | } | ||
| 22 | |||
| 23 | html { | ||
| 24 | font-size: 16px; | ||
| 25 | } | ||
| 26 | |||
| 27 | body { | ||
| 28 | background: #FFF; | ||
| 29 | color: #261B23; | ||
| 30 | display: grid; | ||
| 31 | font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | ||
| 32 | font-size: clamp(1rem, 2.5vw, 2rem); | ||
| 33 | -webkit-font-smoothing: antialiased; | ||
| 34 | font-style: normal; | ||
| 35 | font-weight: 400; | ||
| 36 | letter-spacing: -0.0025em; | ||
| 37 | line-height: 1.4; | ||
| 38 | min-height: 100dvh; | ||
| 39 | place-items: center; | ||
| 40 | text-rendering: optimizeLegibility; | ||
| 41 | -webkit-text-size-adjust: 100%; | ||
| 42 | } | ||
| 43 | |||
| 44 | #error-description { | ||
| 45 | fill: #d30001; | ||
| 46 | } | ||
| 47 | |||
| 48 | #error-id { | ||
| 49 | fill: #f0eff0; | ||
| 50 | } | ||
| 51 | |||
| 52 | @media (prefers-color-scheme: dark) { | ||
| 53 | body { | ||
| 54 | background: #101010; | ||
| 55 | color: #e0e0e0; | ||
| 56 | } | ||
| 57 | |||
| 58 | #error-description { | ||
| 59 | fill: #FF6161; | ||
| 60 | } | ||
| 61 | |||
| 62 | #error-id { | ||
| 63 | fill: #2c2c2c; | ||
| 64 | } | ||
| 65 | } | ||
| 66 | |||
| 67 | a { | ||
| 68 | color: inherit; | ||
| 69 | font-weight: 700; | ||
| 70 | text-decoration: underline; | ||
| 71 | text-underline-offset: 0.0925em; | ||
| 72 | } | ||
| 73 | |||
| 74 | b, strong { | ||
| 75 | font-weight: 700; | ||
| 76 | } | ||
| 77 | |||
| 78 | i, em { | ||
| 79 | font-style: italic; | ||
| 80 | } | ||
| 81 | |||
| 82 | main { | ||
| 83 | display: grid; | ||
| 84 | gap: 1em; | ||
| 85 | padding: 2em; | ||
| 86 | place-items: center; | ||
| 87 | text-align: center; | ||
| 88 | } | ||
| 89 | |||
| 90 | main header { | ||
| 91 | width: min(100%, 12em); | ||
| 92 | } | ||
| 93 | |||
| 94 | main header svg { | ||
| 95 | height: auto; | ||
| 96 | max-width: 100%; | ||
| 97 | width: 100%; | ||
| 98 | } | ||
| 99 | |||
| 100 | main article { | ||
| 101 | width: min(100%, 30em); | ||
| 102 | } | ||
| 103 | |||
| 104 | main article p { | ||
| 105 | font-size: 75%; | ||
| 106 | } | ||
| 107 | |||
| 108 | main article br { | ||
| 109 | display: none; | ||
| 110 | |||
| 111 | @media(min-width: 48em) { | ||
| 112 | display: inline; | ||
| 113 | } | ||
| 114 | } | ||
| 115 | |||
| 116 | </style> | ||
| 117 | |||
| 118 | </head> | ||
| 119 | |||
| 120 | <body> | ||
| 121 | |||
| 122 | <!-- This file lives in public/406-unsupported-browser.html --> | ||
| 123 | |||
| 124 | <main> | ||
| 125 | <header> | ||
| 126 | <svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m124.48 3.00509-45.6889 100.02991h26.2239v-28.1168h38.119v28.1168h21.628v35.145h-21.628v30.82h-37.308v-30.82h-72.1833v-31.901l50.2851-103.27391zm115.583 168.69891c-40.822 0-64.884-35.146-64.884-85.7015 0-50.5554 24.062-85.700907 64.884-85.700907 40.823 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.061 85.7015-64.884 85.7015zm0-133.2831c-17.572 0-22.709 21.8984-22.709 47.5816 0 25.6835 5.137 47.5815 22.709 47.5815 17.303 0 22.71-21.898 22.71-47.5815 0-25.6832-5.407-47.5816-22.71-47.5816zm202.906 9.7326h-41.093c-2.433-7.2994-7.84-12.4361-17.302-12.4361-16.221 0-25.413 17.5728-25.954 34.8752v1.3517c5.137-7.0291 16.221-12.4361 30.82-12.4361 33.524 0 54.881 24.0612 54.881 53.7998 0 33.253-23.791 58.396-61.64 58.396-21.628 0-39.741-10.003-50.825-27.576-9.733-14.599-13.788-32.442-13.788-54.3406 0-51.9072 24.331-89.485807 66.236-89.485807 32.712 0 53.258 18.654107 58.665 47.851907zm-82.727 66.2355c0 13.247 9.463 22.439 22.71 22.439 12.977 0 22.439-9.192 22.439-22.439 0-13.517-9.462-22.7091-22.439-22.7091-13.247 0-22.71 9.1921-22.71 22.7091z" id="error-id"/><path d="m100.761 68.9967v34.0033h-7.1991l-14.2326-19.8814v19.8814h-8.5839v-34.0033h8.307l13.125 18.7184v-18.7184zm28.454 21.5428c0 7.6978-5.15 13.0145-12.737 13.0145-7.532 0-12.738-5.3167-12.738-13.0145s5.206-13.0143 12.738-13.0143c7.587 0 12.737 5.3165 12.737 13.0143zm-8.529 0c0-3.4336-1.495-5.8703-4.208-5.8703-2.659 0-4.154 2.4367-4.154 5.8703s1.495 5.8149 4.154 5.8149c2.713 0 4.208-2.3813 4.208-5.8149zm13.185 3.8766v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.205v6.7564h-5.205v8.307c0 1.9383.941 2.769 2.658 2.769.941 0 1.994-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.87 0-9.193-2.769-9.193-9.0819zm39.02-25.4194h9.083l12.958 34.0033h-9.027l-2.436-6.5902h-12.35l-2.381 6.5902h-8.806zm4.431 10.5222-3.489 9.5807h6.978zm17.44 11.0206c0-7.6978 5.095-13.0143 12.572-13.0143 6.701 0 10.854 3.9874 11.574 9.8023h-8.418c-.221-1.4953-1.384-2.6029-3.156-2.6029-2.437 0-3.988 2.2706-3.988 5.8149s1.551 5.7595 3.988 5.7595c1.772 0 2.935-1.0522 3.156-2.5475h8.418c-.72 5.7596-4.873 9.8025-11.574 9.8025-7.477 0-12.572-5.3167-12.572-13.0145zm25.676 0c0-7.6978 5.095-13.0143 12.572-13.0143 6.701 0 10.854 3.9874 11.574 9.8023h-8.418c-.221-1.4953-1.384-2.6029-3.156-2.6029-2.437 0-3.988 2.2706-3.988 5.8149s1.551 5.7595 3.988 5.7595c1.772 0 2.935-1.0522 3.156-2.5475h8.418c-.72 5.7596-4.873 9.8025-11.574 9.8025-7.477 0-12.572-5.3167-12.572-13.0145zm42.013 3.7658h8.031c-.887 5.7597-5.206 9.2487-11.686 9.2487-7.642 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.317-13.0143 12.516-13.0143 7.643 0 11.962 5.095 11.962 12.5159v2.1598h-16.115c.277 2.9905 1.827 4.5965 4.319 4.5965 1.773 0 3.157-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm23.4 16.7244v10.799h-8.694v-33.726h8.694v1.9937c1.163-1.3291 3.6-2.5475 6.148-2.5475 7.199 0 11.131 5.8703 11.131 13.0143 0 7.0886-3.932 13.0145-11.131 13.0145-2.548 0-4.985-1.219-6.148-2.548zm0-13.7893v6.5902c.665 1.3845 2.16 2.326 3.822 2.326 2.99 0 4.762-2.3814 4.762-5.5934s-1.772-5.6488-4.762-5.6488c-1.717 0-3.157.9969-3.822 2.326zm21.892 7.1994v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.206v6.7564h-5.206v8.307c0 1.9383.941 2.769 2.658 2.769.942 0 1.994-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.87 0-9.193-2.769-9.193-9.0819zm39.458 8.5839h-8.363v-1.274c-.83.831-3.322 1.717-5.981 1.717-4.928 0-9.082-2.769-9.082-8.0301 0-4.818 4.154-7.9193 9.581-7.9193 2.049 0 4.486.6646 5.482 1.3845v-1.606c0-1.606-.941-2.9905-3.045-2.9905-1.606 0-2.548.7199-2.936 1.8275h-8.196c.72-4.8181 4.984-8.6393 11.408-8.6393 7.089 0 11.132 3.7659 11.132 10.2453zm-8.363-6.9779v-1.4399c-.553-1.0522-2.049-1.7167-3.655-1.7167-1.716 0-3.433.7199-3.433 2.3813 0 1.7168 1.717 2.4367 3.433 2.4367 1.606 0 3.102-.6645 3.655-1.6614zm20.742 4.9839v1.994h-8.694v-35.997h8.694v13.0697c1.163-1.3291 3.6-2.5475 6.148-2.5475 7.199 0 11.131 5.8149 11.131 13.0143s-3.932 13.0145-11.131 13.0145c-2.548 0-4.985-1.219-6.148-2.548zm0-13.7893v6.5902c.665 1.3845 2.105 2.326 3.822 2.326 2.99 0 4.762-2.3814 4.762-5.5934s-1.772-5.6488-4.762-5.6488c-1.662 0-3.157.9969-3.822 2.326zm28.759-20.2137v35.997h-8.695v-35.997zm19.172 27.3023h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.516-13.0143 7.642 0 11.962 5.095 11.962 12.5159v2.1598h-16.116c.277 2.9905 1.828 4.5965 4.32 4.5965 1.772 0 3.157-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.434 1.2737-3.988 3.5997h7.532c-.111-2.0491-1.384-3.5997-3.544-3.5997z" id="error-description"/></svg> | ||
| 127 | </header> | ||
| 128 | <article> | ||
| 129 | <p><strong>Your browser is not supported.</strong><br> Please upgrade your browser to continue.</p> | ||
| 130 | </article> | ||
| 131 | </main> | ||
| 132 | |||
| 133 | </body> | ||
| 134 | |||
| 135 | </html> | ||
