fullstack-ckeditor 0.1.2 → 0.1.3

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 (69) hide show
  1. data/TODO.tasks +14 -0
  2. data/VERSION +1 -1
  3. data/app/assets/javascripts/fullstack/ckeditor.js.coffee +8 -55
  4. data/app/controllers/admin/ckeditor/assets_controller.rb +49 -0
  5. data/app/controllers/admin/ckeditor/attachments_controller.rb +11 -0
  6. data/app/controllers/admin/ckeditor/pictures_controller.rb +10 -0
  7. data/app/views/admin/ckeditor/attachments/index.html.erb +15 -0
  8. data/app/views/admin/ckeditor/pictures/_picture.html.erb +25 -0
  9. data/app/views/admin/ckeditor/pictures/create.js.coffee +8 -0
  10. data/app/views/admin/ckeditor/pictures/destroy.js.coffee +6 -0
  11. data/app/views/admin/ckeditor/pictures/index.html.erb +31 -0
  12. data/config/locales/cs.ckeditor.yml +8 -0
  13. data/config/locales/de.ckeditor.yml +8 -0
  14. data/config/locales/el-GR.cdkeditor.yml +8 -0
  15. data/config/locales/en.ckeditor.yml +8 -0
  16. data/config/locales/es.ckeditor.yml +8 -0
  17. data/config/locales/fr.ckeditor.yml +8 -0
  18. data/config/locales/it.ckeditor.yml +8 -0
  19. data/config/locales/nl.ckeditor.yml +8 -0
  20. data/config/locales/pl.ckeditor.yml +8 -0
  21. data/config/locales/pt-BR.ckeditor.yml +8 -0
  22. data/config/locales/ru.ckeditor.yml +8 -0
  23. data/config/locales/sv-SE.ckeditor.yml +8 -0
  24. data/config/locales/uk.ckeditor.yml +8 -0
  25. data/config/locales/zh-CN.ckeditor.yml +8 -0
  26. data/config/routes.rb +7 -5
  27. data/fullstack-ckeditor.gemspec +25 -40
  28. data/lib/fullstack/ckeditor.rb +28 -0
  29. data/lib/generators/fullstack/ckeditor/install_generator.rb +0 -4
  30. data/lib/generators/fullstack/ckeditor/templates/ckeditor/config.js +2 -3
  31. metadata +26 -41
  32. data/app/controllers/ckeditor/application_controller.rb +0 -32
  33. data/app/controllers/ckeditor/attachment_files_controller.rb +0 -23
  34. data/app/controllers/ckeditor/pictures_controller.rb +0 -23
  35. data/app/models/ckeditor/asset.rb +0 -44
  36. data/app/models/ckeditor/attachment_file.rb +0 -11
  37. data/app/models/ckeditor/picture.rb +0 -13
  38. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/gal_add.jpg +0 -0
  39. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/gal_add.png +0 -0
  40. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/gal_del.png +0 -0
  41. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/gal_more.gif +0 -0
  42. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/preloader.gif +0 -0
  43. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/avi.gif +0 -0
  44. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/ckfnothumb.gif +0 -0
  45. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/doc.gif +0 -0
  46. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/docx.gif +0 -0
  47. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/exe.gif +0 -0
  48. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/gz.gif +0 -0
  49. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/htm.gif +0 -0
  50. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/jpg.gif +0 -0
  51. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/mp3.gif +0 -0
  52. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/mpg.gif +0 -0
  53. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/pdf.gif +0 -0
  54. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/psd.gif +0 -0
  55. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/rar.gif +0 -0
  56. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/swf.gif +0 -0
  57. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/tar.gif +0 -0
  58. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/txt.gif +0 -0
  59. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/unknown.gif +0 -0
  60. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/wmv.gif +0 -0
  61. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/xls.gif +0 -0
  62. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/xlsx.gif +0 -0
  63. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/zip.gif +0 -0
  64. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/javascripts/application.js +0 -221
  65. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/javascripts/fileuploader.js +0 -1301
  66. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/javascripts/jquery.min.js +0 -4
  67. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/javascripts/jquery.tmpl.min.js +0 -10
  68. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/javascripts/rails.js +0 -373
  69. data/lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/stylesheets/uploader.css +0 -118
data/TODO.tasks ADDED
@@ -0,0 +1,14 @@
1
+ Fullstack::Ckeditor.setup must also accept and use an "attachment" parameter
2
+ eg.
3
+
4
+ Fullstack::Ckeditor.setup do |config|
5
+ config.picture_class = Photo
6
+ config.picture_attachment = 'file'
7
+ end
8
+
9
+ So
10
+ - allow `picture_attachment` in config with a default
11
+ - assign the data according with "picture_attachment"
12
+ eg.: `picture_class.new({picture_attachment => params[:data]})`
13
+ - use it to determine available styles
14
+ eg.: picture.send(picture_attachment).styles
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -1,66 +1,19 @@
1
+ #= require jquery
2
+ #= require jquery_ujs
3
+
1
4
  $(document).ready ->
2
- if typeof CKEDITOR is "undefined"
3
-
5
+ if typeof window.CKEDITOR is "undefined"
4
6
  window.CKEDITOR_BASEPATH = '/ckeditor/'
5
7
 
6
8
  $.getScript "/ckeditor/ckeditor.js", ->
7
-
8
- # Integrate Rails CSRF token into file upload dialogs (link, image, attachment and flash)
9
- CKEDITOR.on "dialogDefinition", (ev) ->
10
-
11
- # Take the dialog name and its definition from the event data.
12
- dialogName = ev.data.name
13
- dialogDefinition = ev.data.definition
14
- content = undefined
15
- upload = undefined
16
- if CKEDITOR.tools.indexOf(["link", "image", "attachment", "flash"], dialogName) > -1
17
- content = (dialogDefinition.getContents("Upload") or dialogDefinition.getContents("upload"))
18
- upload = ((if not content? then null else content.get("upload")))
19
- if upload and not upload.filebrowser["params"]?
20
- upload.filebrowser["params"] = config.filebrowserParams()
21
- upload.action = config.addQueryString(upload.action, upload.filebrowser["params"])
22
-
23
-
24
9
  $( 'textarea.markup, textarea.markup-ckeditor' ).each ->
10
+
25
11
  textarea = $(@)
26
12
  id = textarea.attr('id')
27
-
13
+
28
14
  config = {}
15
+ console.log($.extend(config, CKEDITOR.config))
29
16
  config.width = textarea.outerWidth()
30
- config.filebrowserBrowseUrl = "/ckeditor/attachment_files"
31
- config.filebrowserFlashBrowseUrl = "/ckeditor/attachment_files"
32
- config.filebrowserFlashUploadUrl = "/ckeditor/attachment_files"
33
- config.filebrowserImageBrowseLinkUrl = "/ckeditor/pictures"
34
- config.filebrowserImageBrowseUrl = "/ckeditor/pictures"
35
- config.filebrowserImageUploadUrl = "/ckeditor/pictures"
36
- config.filebrowserUploadUrl = "/ckeditor/attachment_files"
37
-
38
- config.filebrowserParams = ->
39
- csrf_token = undefined
40
- csrf_param = undefined
41
- meta = undefined
42
- metas = document.getElementsByTagName("meta")
43
- params = new Object()
44
- i = 0
45
-
46
- while i < metas.length
47
- meta = metas[i]
48
- switch meta.name
49
- when "csrf-token"
50
- csrf_token = meta.content
51
- when "csrf-param"
52
- csrf_param = meta.content
53
- i++
54
- params[csrf_param] = csrf_token if csrf_param isnt `undefined` and csrf_token isnt `undefined`
55
- params
56
-
57
- config.addQueryString = (url, params) ->
58
- queryString = []
59
- unless params
60
- return url
61
- else
62
- for i of params
63
- queryString.push i + "=" + encodeURIComponent(params[i])
64
- url + ((if (url.indexOf("?") isnt -1) then "&" else "?")) + queryString.join("&")
17
+ config.filebrowserBrowseUrl = "/admin/ckeditor/pictures"
65
18
 
66
19
  CKEDITOR.replace( id , config )
@@ -0,0 +1,49 @@
1
+ class Admin::Ckeditor::AssetsController < Admin::BaseController
2
+ layout "admin/dialog"
3
+
4
+ def index
5
+ @assets = current_resource_class_timestamped? ? current_resource_class.unscoped.order("created_at DESC") : current_resource_class.unscoped.order("id DESC")
6
+ @assets = @assets.page(params[:page])
7
+ end
8
+
9
+ def create
10
+ @asset = current_resource_class.new({attachment_name => params[:file]})
11
+ @asset.save!
12
+ render :format => :js
13
+ end
14
+
15
+ def destroy
16
+ # @asset loaded by Admin::BaseController
17
+
18
+ current_resource.destroy
19
+ render :format => :js
20
+ end
21
+
22
+ protected
23
+
24
+ def current_resource_class_timestamped?
25
+ current_resource_class.columns.include?("created_at")
26
+ end
27
+
28
+ def current_resource_attachment
29
+ current_resource.send(attachment_name)
30
+ end
31
+
32
+ helper_method :asset_attachment
33
+ def asset_attachment(asset)
34
+ asset.send(attachment_name)
35
+ end
36
+
37
+ # ====================
38
+ # = Abstract Methods =
39
+ # ====================
40
+
41
+ def current_resource_class
42
+ raise NotImplementedError
43
+ end
44
+
45
+ def attachment_name
46
+ raise NotImplementedError
47
+ end
48
+
49
+ end
@@ -0,0 +1,11 @@
1
+ class Admin::Ckeditor::AttachmentsController
2
+ def current_resource_class
3
+ ::Fullstack::Ckeditor.attachment_class
4
+ end
5
+
6
+ def attachment_name
7
+ ::Fullstack::Ckeditor.attachment_attachment
8
+ end
9
+
10
+
11
+ end
@@ -0,0 +1,10 @@
1
+ class Admin::Ckeditor::PicturesController < Admin::Ckeditor::AssetsController
2
+ def current_resource_class
3
+ ::Fullstack::Ckeditor.picture_class
4
+ end
5
+
6
+ def attachment_name
7
+ ::Fullstack::Ckeditor.picture_attachment
8
+ end
9
+
10
+ end
@@ -0,0 +1,15 @@
1
+ <div id="fileupload" class="gal-holder">
2
+ <div class="gal-item">
3
+ <div class="fileupload-button gal-upload-holder">
4
+ <%= link_to I18n.t(:upload, :scope => [:ckeditor, :buttons]), 'javascript:void(0)', :class => "add" %>
5
+ </div>
6
+ </div>
7
+
8
+ <div class="fileupload-list">
9
+ <%= render :partial => 'ckeditor/shared/asset', :collection => @attachments %>
10
+ </div>
11
+ </div>
12
+
13
+ <script type="text/javascript">
14
+ <%= ::Fullstack::Ckeditor::Utils.js_fileuploader('attachments') %>
15
+ </script>
@@ -0,0 +1,25 @@
1
+ <li class="thumbnail">
2
+ <%= image_tag picture.url(:thumb) %>
3
+
4
+ <div class="thumbnail-toolbar btn-group">
5
+ <%= link_to '#', :'data-tip' => t('fullstack.admin.add', :default => "Add"),:"data-toggle"=>"dropdown", :class => "btn btn-success dropdown-toggle" do %>
6
+ <i class="icon-ok"></i>
7
+ <span class="caret"></span>
8
+
9
+ <% end %>
10
+
11
+ <ul class="dropdown-menu">
12
+ <% asset_attachment(picture).styles.each do |name, style| %>
13
+ <li>
14
+ <%= link_to name.to_s.humanize + " - " + style.geometry,
15
+ "javascript:sendBackToCkeditor('#{picture.url(name)}')" %>
16
+ </li>
17
+ <% end %>
18
+ </ul>
19
+
20
+
21
+ <%= btn '<i class="icon-zoom-in"></i>'.html_safe, picture.url, :rel => "facebox", :'data-tip' => t('fullstack.admin.preview', :default => "Preview") %>
22
+
23
+ <%= btn '', admin_ckeditor_picture_path(picture), :remote => true, :method => :delete, :confirm => t('fullstack.admin.are_you_sure', :default => "Are you sure?"), :icon => :trash, :type => :danger, :icon_color => :white, :'data-tip' => t('fullstack.admin.delete', :default => "Delete") %>
24
+ </div>
25
+ </li>
@@ -0,0 +1,8 @@
1
+ <% if @asset.errors.empty? %>
2
+ new_elem = $('<%=j render(:partial => "picture", :locals => { :picture => @asset }) %>')
3
+ new_elem.hide()
4
+ $("#photos .thumbnails").prepend(new_elem)
5
+ $("#photos .counter").text('<%= @asset.class.count %>').effect("highlight", {}, 1000)
6
+ new_elem.fadeIn('slow')
7
+ <% end %>
8
+
@@ -0,0 +1,6 @@
1
+ <% if current_resource.destroyed? %>
2
+ $("a[data-method='delete']").filter("[href='<%=j request.path %>']").closest(".thumbnail").fadeOut 'slow', -> $(this).remove()
3
+ $("#photos .counter").text('<%= current_resource.class.count %>').effect("highlight", {}, 1000)
4
+ <% else %>
5
+ $.notify.error('<%=j t("flash.error.delete") %>')
6
+ <% end %>
@@ -0,0 +1,31 @@
1
+ <script type="text/javascript" charset="utf-8">
2
+ function sendBackToCkeditor(fileUrl){
3
+ window.opener.CKEDITOR.tools.callFunction( <%= params["CKEditorFuncNum"] %> , fileUrl );
4
+ return window.close();
5
+ }
6
+ </script>
7
+
8
+ <div class="gallery mb1" id="photos">
9
+ <%= link_to "javascript:void(0);", :class => "btn btn-success", :"data-toggle" => "collapse", :"data-target" => "#photo-uploader" do %>
10
+ <i class="icon-upload icon-white"></i> <%= t('fullstack.admin.upload', :default => "Upload") %>
11
+ <% end %>
12
+
13
+ <div id="photo-uploader" class="photo-uploader collapse"
14
+ data-session-key="<%= request.session_options[:key] %>"
15
+ data-session-id="<%= request.session_options[:id] %>"
16
+ data-url="<%= admin_ckeditor_pictures_path %>">
17
+ </div>
18
+
19
+ <h4 class="page-header"><%= t('fullstack.admin.resources.photos', :default => "Photos") %> <span class="badge counter"><%= @assets.size %></span></h4>
20
+
21
+ <ul class="thumbnails">
22
+ <% @assets.each do |asset| %>
23
+ <%= render :partial => "picture", :locals => { :picture => asset } %>
24
+ <% end %>
25
+ </div>
26
+
27
+ </div>
28
+
29
+ <div>
30
+ <%= paginate(@assets) %>
31
+ </div>
@@ -0,0 +1,8 @@
1
+ cs:
2
+ ckeditor:
3
+ page_title: "CKEditor Správce souborů"
4
+ confirm_delete: "Smazat soubor ?"
5
+ buttons:
6
+ cancel: "Zrušit"
7
+ upload: "Nahrát"
8
+ delete: "Smazat"
@@ -0,0 +1,8 @@
1
+ de:
2
+ ckeditor:
3
+ page_title: "CKEditor Dateimanager"
4
+ confirm_delete: "Datei löschen?"
5
+ buttons:
6
+ cancel: "Abbrechen"
7
+ upload: "Hochladen"
8
+ delete: "Löschen"
@@ -0,0 +1,8 @@
1
+ "el-GR":
2
+ ckeditor:
3
+ page_title: "CKEditor Διαχείρηση Αρχείων"
4
+ confirm_delete: "Διαγραφή αρχείου;"
5
+ buttons:
6
+ cancel: "Ακύρωση"
7
+ upload: "Μεταφόρτωση"
8
+ delete: "Διαγραφή"
@@ -0,0 +1,8 @@
1
+ en:
2
+ ckeditor:
3
+ page_title: "CKEditor Files Manager"
4
+ confirm_delete: "Delete file?"
5
+ buttons:
6
+ cancel: "Cancel"
7
+ upload: "Upload"
8
+ delete: "Delete"
@@ -0,0 +1,8 @@
1
+ es:
2
+ ckeditor:
3
+ page_title: "Administrador de Archivos CKEditor"
4
+ confirm_delete: "¿Borrar archivo?"
5
+ buttons:
6
+ cancel: "Cancelar"
7
+ upload: "Subir"
8
+ delete: "Borrar"
@@ -0,0 +1,8 @@
1
+ fr:
2
+ ckeditor:
3
+ page_title: "CKEditor - Gestionnaire de fichiers"
4
+ confirm_delete: "Supprimer le fichier ?"
5
+ buttons:
6
+ cancel: "Annuler"
7
+ upload: "Ajouter"
8
+ delete: "Supprimer"
@@ -0,0 +1,8 @@
1
+ it:
2
+ ckeditor:
3
+ page_title: "CKEditor Files Manager"
4
+ confirm_delete: "Cancellare il file?"
5
+ buttons:
6
+ cancel: "Annulla"
7
+ upload: "Carica"
8
+ delete: "Elimina"
@@ -0,0 +1,8 @@
1
+ nl:
2
+ ckeditor:
3
+ page_title: "CKEditor Files Manager"
4
+ confirm_delete: "Delete file?"
5
+ buttons:
6
+ cancel: "Cancel"
7
+ upload: "Upload"
8
+ delete: "Delete"
@@ -0,0 +1,8 @@
1
+ pl:
2
+ ckeditor:
3
+ page_title: "CKEditor Menadżer Plików"
4
+ confirm_delete: "Usunąć plik?"
5
+ buttons:
6
+ cancel: "Anuluj"
7
+ upload: "Wyślij"
8
+ delete: "Skasuj"
@@ -0,0 +1,8 @@
1
+ "pt-BR":
2
+ ckeditor:
3
+ page_title: "Gerenciador de arquivos do CKEditor"
4
+ confirm_delete: "Apagar arquivo?"
5
+ buttons:
6
+ cancel: "Cancelar"
7
+ upload: "Enviar"
8
+ delete: "Apagar"
@@ -0,0 +1,8 @@
1
+ ru:
2
+ ckeditor:
3
+ page_title: "CKEditor Загрузка файлов"
4
+ confirm_delete: "Удалить файл?"
5
+ buttons:
6
+ cancel: "Отмена"
7
+ upload: "Загрузить"
8
+ delete: "Удалить"
@@ -0,0 +1,8 @@
1
+ "sv-SE":
2
+ ckeditor:
3
+ page_title: "CKEditor filhanterare"
4
+ confirm_delete: "Ta bort fil?"
5
+ buttons:
6
+ cancel: "Avbryt"
7
+ upload: "Ladda upp"
8
+ delete: "Ta bort"
@@ -0,0 +1,8 @@
1
+ uk:
2
+ ckeditor:
3
+ page_title: "CKEditor Завантаження файлів"
4
+ confirm_delete: "Видалити файл?"
5
+ buttons:
6
+ cancel: "Відміна"
7
+ upload: "Завантажити"
8
+ delete: "Видалити"
@@ -0,0 +1,8 @@
1
+ zh-CN:
2
+ ckeditor:
3
+ page_title: "CKEditor - 文件管理"
4
+ confirm_delete: "删除文件?"
5
+ buttons:
6
+ cancel: "取消"
7
+ upload: "上传"
8
+ delete: "删除"
data/config/routes.rb CHANGED
@@ -1,6 +1,8 @@
1
- Rails.application.routes.draw do
2
- namespace :ckeditor do
3
- resources :pictures, :only => [:index, :create, :destroy]
4
- resources :attachment_files, :only => [:index, :create, :destroy]
5
- end
1
+ Rails.application.routes.draw do
2
+ namespace :admin do
3
+ namespace :ckeditor do
4
+ resources :pictures
5
+ resources :attachments
6
+ end
7
+ end
6
8
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fullstack-ckeditor"
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mcasimir"]
12
- s.date = "2013-01-22"
12
+ s.date = "2013-01-23"
13
13
  s.description = "ckeditor gem for fullstack-admin"
14
14
  s.email = "maurizio.cas@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -20,15 +20,32 @@ Gem::Specification.new do |s|
20
20
  "Gemfile.lock",
21
21
  "README.md",
22
22
  "Rakefile",
23
+ "TODO.tasks",
23
24
  "VERSION",
24
25
  "app/assets/javascripts/fullstack/ckeditor.js.coffee",
25
- "app/controllers/ckeditor/application_controller.rb",
26
- "app/controllers/ckeditor/attachment_files_controller.rb",
27
- "app/controllers/ckeditor/pictures_controller.rb",
26
+ "app/controllers/admin/ckeditor/assets_controller.rb",
27
+ "app/controllers/admin/ckeditor/attachments_controller.rb",
28
+ "app/controllers/admin/ckeditor/pictures_controller.rb",
28
29
  "app/inputs/markup_input.rb",
29
- "app/models/ckeditor/asset.rb",
30
- "app/models/ckeditor/attachment_file.rb",
31
- "app/models/ckeditor/picture.rb",
30
+ "app/views/admin/ckeditor/attachments/index.html.erb",
31
+ "app/views/admin/ckeditor/pictures/_picture.html.erb",
32
+ "app/views/admin/ckeditor/pictures/create.js.coffee",
33
+ "app/views/admin/ckeditor/pictures/destroy.js.coffee",
34
+ "app/views/admin/ckeditor/pictures/index.html.erb",
35
+ "config/locales/cs.ckeditor.yml",
36
+ "config/locales/de.ckeditor.yml",
37
+ "config/locales/el-GR.cdkeditor.yml",
38
+ "config/locales/en.ckeditor.yml",
39
+ "config/locales/es.ckeditor.yml",
40
+ "config/locales/fr.ckeditor.yml",
41
+ "config/locales/it.ckeditor.yml",
42
+ "config/locales/nl.ckeditor.yml",
43
+ "config/locales/pl.ckeditor.yml",
44
+ "config/locales/pt-BR.ckeditor.yml",
45
+ "config/locales/ru.ckeditor.yml",
46
+ "config/locales/sv-SE.ckeditor.yml",
47
+ "config/locales/uk.ckeditor.yml",
48
+ "config/locales/zh-CN.ckeditor.yml",
32
49
  "config/routes.rb",
33
50
  "fullstack-ckeditor.gemspec",
34
51
  "lib/fullstack-ckeditor.rb",
@@ -38,38 +55,6 @@ Gem::Specification.new do |s|
38
55
  "lib/generators/fullstack/ckeditor/templates/ckeditor/ckeditor.js",
39
56
  "lib/generators/fullstack/ckeditor/templates/ckeditor/config.js",
40
57
  "lib/generators/fullstack/ckeditor/templates/ckeditor/contents.css",
41
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/gal_add.jpg",
42
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/gal_add.png",
43
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/gal_del.png",
44
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/gal_more.gif",
45
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/preloader.gif",
46
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/avi.gif",
47
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/ckfnothumb.gif",
48
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/doc.gif",
49
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/docx.gif",
50
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/exe.gif",
51
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/gz.gif",
52
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/htm.gif",
53
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/jpg.gif",
54
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/mp3.gif",
55
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/mpg.gif",
56
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/pdf.gif",
57
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/psd.gif",
58
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/rar.gif",
59
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/swf.gif",
60
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/tar.gif",
61
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/txt.gif",
62
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/unknown.gif",
63
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/wmv.gif",
64
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/xls.gif",
65
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/xlsx.gif",
66
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/images/thumbs/zip.gif",
67
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/javascripts/application.js",
68
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/javascripts/fileuploader.js",
69
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/javascripts/jquery.min.js",
70
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/javascripts/jquery.tmpl.min.js",
71
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/javascripts/rails.js",
72
- "lib/generators/fullstack/ckeditor/templates/ckeditor/filebrowser/stylesheets/uploader.css",
73
58
  "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/af.js",
74
59
  "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/ar.js",
75
60
  "lib/generators/fullstack/ckeditor/templates/ckeditor/lang/bg.js",