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/javascripts/tiny_mce/plugins/preview/jscripts | |
| 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/javascripts/tiny_mce/plugins/preview/jscripts')
| -rw-r--r-- | public/javascripts/tiny_mce/plugins/preview/jscripts/embed.js | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/public/javascripts/tiny_mce/plugins/preview/jscripts/embed.js b/public/javascripts/tiny_mce/plugins/preview/jscripts/embed.js deleted file mode 100644 index f8dc810..0000000 --- a/public/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +++ /dev/null | |||
| @@ -1,73 +0,0 @@ | |||
| 1 | /** | ||
| 2 | * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose. | ||
| 3 | */ | ||
| 4 | |||
| 5 | function writeFlash(p) { | ||
| 6 | writeEmbed( | ||
| 7 | 'D27CDB6E-AE6D-11cf-96B8-444553540000', | ||
| 8 | 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', | ||
| 9 | 'application/x-shockwave-flash', | ||
| 10 | p | ||
| 11 | ); | ||
| 12 | } | ||
| 13 | |||
| 14 | function writeShockWave(p) { | ||
| 15 | writeEmbed( | ||
| 16 | '166B1BCA-3F9C-11CF-8075-444553540000', | ||
| 17 | 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0', | ||
| 18 | 'application/x-director', | ||
| 19 | p | ||
| 20 | ); | ||
| 21 | } | ||
| 22 | |||
| 23 | function writeQuickTime(p) { | ||
| 24 | writeEmbed( | ||
| 25 | '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', | ||
| 26 | 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0', | ||
| 27 | 'video/quicktime', | ||
| 28 | p | ||
| 29 | ); | ||
| 30 | } | ||
| 31 | |||
| 32 | function writeRealMedia(p) { | ||
| 33 | writeEmbed( | ||
| 34 | 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA', | ||
| 35 | 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', | ||
| 36 | 'audio/x-pn-realaudio-plugin', | ||
| 37 | p | ||
| 38 | ); | ||
| 39 | } | ||
| 40 | |||
| 41 | function writeWindowsMedia(p) { | ||
| 42 | p.url = p.src; | ||
| 43 | writeEmbed( | ||
| 44 | '6BF52A52-394A-11D3-B153-00C04F79FAA6', | ||
| 45 | 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701', | ||
| 46 | 'application/x-mplayer2', | ||
| 47 | p | ||
| 48 | ); | ||
| 49 | } | ||
| 50 | |||
| 51 | function writeEmbed(cls, cb, mt, p) { | ||
| 52 | var h = '', n; | ||
| 53 | |||
| 54 | h += '<object classid="clsid:' + cls + '" codebase="' + cb + '"'; | ||
| 55 | h += typeof(p.id) != "undefined" ? 'id="' + p.id + '"' : ''; | ||
| 56 | h += typeof(p.name) != "undefined" ? 'name="' + p.name + '"' : ''; | ||
| 57 | h += typeof(p.width) != "undefined" ? 'width="' + p.width + '"' : ''; | ||
| 58 | h += typeof(p.height) != "undefined" ? 'height="' + p.height + '"' : ''; | ||
| 59 | h += typeof(p.align) != "undefined" ? 'align="' + p.align + '"' : ''; | ||
| 60 | h += '>'; | ||
| 61 | |||
| 62 | for (n in p) | ||
| 63 | h += '<param name="' + n + '" value="' + p[n] + '">'; | ||
| 64 | |||
| 65 | h += '<embed type="' + mt + '"'; | ||
| 66 | |||
| 67 | for (n in p) | ||
| 68 | h += n + '="' + p[n] + '" '; | ||
| 69 | |||
| 70 | h += '></embed></object>'; | ||
| 71 | |||
| 72 | document.write(h); | ||
| 73 | } | ||
