spina 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spina might be problematic. Click here for more details.

Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -4
  3. data/app/assets/fonts/spina/ics_spina.eot +0 -0
  4. data/app/assets/fonts/spina/ics_spina.svg +356 -0
  5. data/app/assets/fonts/spina/ics_spina.ttf +0 -0
  6. data/app/assets/fonts/spina/ics_spina.woff +0 -0
  7. data/app/assets/icons/spina/barchart.svg +10 -0
  8. data/app/assets/icons/spina/bars.svg +1 -0
  9. data/app/assets/icons/spina/bold.svg +1 -0
  10. data/app/assets/icons/spina/brush.svg +10 -0
  11. data/app/assets/icons/spina/camera.svg +10 -0
  12. data/app/assets/icons/spina/caret-down.svg +1 -0
  13. data/app/assets/icons/spina/caret-left.svg +1 -0
  14. data/app/assets/icons/spina/caret-right.svg +1 -0
  15. data/app/assets/icons/spina/caret-up.svg +1 -0
  16. data/app/assets/icons/spina/cart.svg +10 -0
  17. data/app/assets/icons/spina/chart-outline.svg +10 -0
  18. data/app/assets/icons/spina/check.svg +10 -0
  19. data/app/assets/icons/spina/chevron-down.svg +1 -0
  20. data/app/assets/icons/spina/chevron-left.svg +1 -0
  21. data/app/assets/icons/spina/chevron-right.svg +1 -0
  22. data/app/assets/icons/spina/chevron-up.svg +1 -0
  23. data/app/assets/icons/spina/code.svg +1 -0
  24. data/app/assets/icons/spina/cog-outline.svg +10 -0
  25. data/app/assets/icons/spina/cog.svg +10 -0
  26. data/app/assets/icons/spina/comment.svg +1 -0
  27. data/app/assets/icons/spina/cross.svg +10 -0
  28. data/app/assets/icons/spina/customer-outline.svg +10 -0
  29. data/app/assets/icons/spina/document.svg +10 -0
  30. data/app/assets/icons/spina/dots.svg +10 -0
  31. data/app/assets/icons/spina/exclamation.svg +13 -0
  32. data/app/assets/icons/spina/eye.svg +1 -0
  33. data/app/assets/icons/spina/filter.svg +10 -0
  34. data/app/assets/icons/spina/home.svg +1 -0
  35. data/app/assets/icons/spina/image.svg +10 -0
  36. data/app/assets/icons/spina/inbox-outline.svg +10 -0
  37. data/app/assets/icons/spina/info.svg +13 -0
  38. data/app/assets/icons/spina/italic.svg +1 -0
  39. data/app/assets/icons/spina/large-check.svg +10 -0
  40. data/app/assets/icons/spina/link.svg +1 -0
  41. data/app/assets/icons/spina/list-ul.svg +1 -0
  42. data/app/assets/icons/spina/mail-outline.svg +10 -0
  43. data/app/assets/icons/spina/mail.svg +10 -0
  44. data/app/assets/icons/spina/media-library.svg +10 -0
  45. data/app/assets/icons/spina/megaphone.svg +10 -0
  46. data/app/assets/icons/spina/min.svg +14 -0
  47. data/app/assets/icons/spina/pages.svg +10 -0
  48. data/app/assets/icons/spina/pencil-outline.svg +10 -0
  49. data/app/assets/icons/spina/pencil.svg +16 -0
  50. data/app/assets/icons/spina/picture-o.svg +1 -0
  51. data/app/assets/icons/spina/plus.svg +10 -0
  52. data/app/assets/icons/spina/power-off.svg +10 -0
  53. data/app/assets/icons/spina/preview/icons_spina-preview.html +1043 -0
  54. data/app/assets/icons/spina/preview/ics_spina-preview.html +1043 -0
  55. data/app/assets/icons/spina/preview.svg +10 -0
  56. data/app/assets/icons/spina/product-outline.svg +10 -0
  57. data/app/assets/icons/spina/random.svg +10 -0
  58. data/app/assets/icons/spina/refresh.svg +13 -0
  59. data/app/assets/icons/spina/search.svg +10 -0
  60. data/app/assets/icons/spina/shop.svg +12 -0
  61. data/app/assets/icons/spina/social-outline.svg +10 -0
  62. data/app/assets/icons/spina/trash.svg +10 -0
  63. data/app/assets/icons/spina/upload-outline.svg +14 -0
  64. data/app/assets/icons/spina/users-outline.svg +10 -0
  65. data/app/assets/images/spina/arrow-left.png +0 -0
  66. data/app/assets/images/spina/arrow-right.png +0 -0
  67. data/app/assets/images/spina/danger-zone-ribbon.png +0 -0
  68. data/app/assets/images/spina/datepicker.png +0 -0
  69. data/app/assets/images/spina/divider.png +0 -0
  70. data/app/assets/images/spina/marker.png +0 -0
  71. data/app/assets/images/spina/mask.png +0 -0
  72. data/app/assets/images/spina/spina.png +0 -0
  73. data/app/assets/images/spina/spina_small.png +0 -0
  74. data/app/assets/images/spina/wheel.png +0 -0
  75. data/app/assets/javascripts/spina/admin/{account.js.coffee → account.coffee} +0 -0
  76. data/app/assets/javascripts/spina/admin/application.coffee.erb +152 -0
  77. data/app/assets/javascripts/spina/admin/{confirm_delete.js.coffee.erb → confirm_delete.coffee.erb} +0 -0
  78. data/app/assets/javascripts/spina/admin/dropdown.coffee +75 -0
  79. data/app/assets/javascripts/spina/admin/forms.coffee +7 -0
  80. data/app/assets/javascripts/spina/admin/galleryselect.coffee +20 -0
  81. data/app/assets/javascripts/spina/admin/{spina.infinite_scroll.coffee → infinite_scroll.coffee} +1 -0
  82. data/app/assets/javascripts/spina/admin/modal.coffee +54 -0
  83. data/app/assets/javascripts/spina/admin/navigation.coffee +38 -0
  84. data/app/assets/javascripts/spina/admin/notifications.coffee +7 -0
  85. data/app/assets/javascripts/spina/admin/{pages.js.coffee.erb → pages.coffee.erb} +11 -2
  86. data/app/assets/javascripts/spina/admin/switch.coffee +43 -0
  87. data/app/assets/javascripts/spina/admin/tabs.coffee +13 -0
  88. data/app/assets/javascripts/spina/admin/{spina.trix.js.coffee.erb → trix.coffee.erb} +26 -25
  89. data/app/assets/javascripts/spina/admin/uploads.coffee +35 -0
  90. data/app/assets/stylesheets/spina/_admin_editing.sass +25 -0
  91. data/app/assets/stylesheets/spina/_buttons.sass +367 -0
  92. data/app/assets/stylesheets/spina/_cards.sass +54 -0
  93. data/app/assets/stylesheets/spina/_configuration.sass +15 -0
  94. data/app/assets/stylesheets/spina/_custom_animations.sass +61 -0
  95. data/app/assets/stylesheets/spina/_farbtastic.sass +37 -0
  96. data/app/assets/stylesheets/spina/_fonts.sass +18 -0
  97. data/app/assets/stylesheets/spina/_forms.sass +806 -0
  98. data/app/assets/stylesheets/spina/_gallery.sass +249 -0
  99. data/app/assets/stylesheets/spina/_ics_spina.scss +60 -0
  100. data/app/assets/stylesheets/spina/_labels.sass +30 -0
  101. data/app/assets/stylesheets/spina/_login.sass +46 -0
  102. data/app/assets/stylesheets/spina/_modal.sass +162 -0
  103. data/app/assets/stylesheets/spina/_notifications.sass +62 -0
  104. data/app/assets/stylesheets/spina/_sortable_lists.sass +177 -0
  105. data/app/assets/stylesheets/spina/_tables.sass +301 -0
  106. data/app/assets/stylesheets/spina/_trix.sass +99 -0
  107. data/app/assets/stylesheets/spina/_wizard.sass +122 -0
  108. data/app/assets/stylesheets/spina/_wysihtml5.sass +79 -0
  109. data/app/assets/stylesheets/spina/application.sass +0 -1
  110. data/app/assets/stylesheets/spina/wysihtml5_textarea.sass +14 -0
  111. data/app/assets/stylesheets/spina.sass +564 -0
  112. data/app/controllers/concerns/spina/frontend.rb +59 -0
  113. data/app/controllers/spina/admin/navigations_controller.rb +60 -0
  114. data/app/controllers/spina/admin/pages_controller.rb +7 -6
  115. data/app/controllers/spina/admin/photos_controller.rb +18 -7
  116. data/app/controllers/spina/application_controller.rb +2 -2
  117. data/app/controllers/spina/pages_controller.rb +4 -49
  118. data/app/helpers/spina/admin/pages_helper.rb +12 -7
  119. data/app/helpers/spina/application_helper.rb +0 -29
  120. data/app/models/concerns/spina/part.rb +1 -1
  121. data/app/models/spina/navigation.rb +11 -0
  122. data/app/models/spina/navigation_item.rb +17 -0
  123. data/app/models/spina/page.rb +11 -0
  124. data/app/models/spina/page_part.rb +1 -1
  125. data/app/models/spina/photo_collection.rb +6 -1
  126. data/app/models/spina/structure.rb +4 -0
  127. data/app/models/spina/structure_item.rb +5 -1
  128. data/app/models/spina/structure_part.rb +16 -3
  129. data/app/views/layouts/spina/admin/admin.html.haml +8 -1
  130. data/app/views/layouts/spina/admin/pages.html.haml +30 -0
  131. data/app/views/spina/admin/accounts/_form.html.haml +1 -1
  132. data/app/views/spina/admin/accounts/analytics.html.haml +1 -1
  133. data/app/views/spina/admin/accounts/social.html.haml +1 -1
  134. data/app/views/spina/admin/accounts/style.html.haml +1 -1
  135. data/app/views/spina/admin/navigations/_navigation_item_nested_list.html.haml +7 -0
  136. data/app/views/spina/admin/navigations/_page.html.haml +8 -0
  137. data/app/views/spina/admin/navigations/edit.html.haml +22 -0
  138. data/app/views/spina/admin/navigations/show.html.haml +7 -0
  139. data/app/views/spina/admin/page_partables/attachment_collections/_form.html.haml +1 -1
  140. data/app/views/spina/admin/page_partables/attachments/_form.html.haml +1 -1
  141. data/app/views/spina/admin/page_partables/photo_collections/_form.html.haml +1 -1
  142. data/app/views/spina/admin/page_partables/photos/_form.html.haml +1 -1
  143. data/app/views/spina/admin/page_partables/structures/_form.html.haml +1 -1
  144. data/app/views/spina/admin/pages/_form.html.haml +12 -5
  145. data/app/views/spina/admin/pages/_page.html.haml +12 -18
  146. data/app/views/spina/admin/pages/_page_nested_list.html.haml +7 -0
  147. data/app/views/spina/admin/pages/create.js.coffee +0 -0
  148. data/app/views/spina/admin/pages/index.html.haml +24 -42
  149. data/app/views/spina/admin/pages/update.js.coffee +1 -3
  150. data/app/views/spina/admin/photos/_photo.html.haml +2 -0
  151. data/app/views/spina/admin/photos/_photo_collection_select.html.haml +1 -1
  152. data/app/views/spina/admin/photos/_photo_select.html.haml +2 -2
  153. data/app/views/spina/admin/photos/_wysihtml5_select.html.haml +1 -1
  154. data/app/views/spina/admin/photos/create_multiple.js.erb +4 -0
  155. data/app/views/spina/admin/photos/index.html.haml +1 -1
  156. data/app/views/spina/admin/photos/single_picker_infinite_scroll.js.erb +1 -1
  157. data/app/views/spina/admin/sessions/new.html.haml +8 -5
  158. data/app/views/spina/admin/shared/_notifications.html.haml +3 -1
  159. data/app/views/spina/admin/shared/_primary_navigation.html.haml +4 -3
  160. data/app/views/spina/admin/shared/_rich_text_field.html.haml +16 -16
  161. data/app/views/spina/admin/structure_items/_fields.html.haml +7 -8
  162. data/app/views/spina/admin/structure_partables/photo_collections/_form.html.haml +14 -0
  163. data/app/views/spina/admin/structure_partables/photos/_form.html.haml +1 -1
  164. data/app/views/spina/shared/_google_site_verification.html.haml +1 -0
  165. data/config/fontcustom.yml +95 -0
  166. data/config/locales/en.yml +11 -0
  167. data/config/locales/nl.yml +13 -3
  168. data/config/locales/pt-BR.yml +11 -1
  169. data/config/routes.rb +14 -8
  170. data/db/migrate/1_create_spina_tables.rb +0 -7
  171. data/db/migrate/2_create_spina_translation_tables.rb +26 -7
  172. data/db/migrate/3_create_spina_navigations.rb +21 -0
  173. data/lib/generators/spina/templates/config/initializers/carrierwave.rb +1 -1
  174. data/lib/spina/engine.rb +1 -2
  175. data/lib/spina/fontcustom/_ics_spina.scss +5 -0
  176. data/lib/spina/version.rb +1 -1
  177. data/lib/spina.rb +3 -1
  178. metadata +146 -45
  179. data/app/assets/images/spina/admin/logo@2x.png +0 -0
  180. data/app/assets/javascripts/spina/admin/application.js +0 -10
  181. data/app/assets/javascripts/spina/admin/spina.scaffold.coffee +0 -15
  182. data/app/assets/javascripts/spina/application.js +0 -15
  183. data/app/assets/stylesheets/spina/_mixins.scss +0 -34
@@ -13,9 +13,10 @@ pt-BR:
13
13
  ago: atrás
14
14
  edit_website: Editar seu site
15
15
  logout: Sair
16
+ main_menu: Menu principal
16
17
 
17
18
  modal:
18
- agree: "Sim, Tenho certeza"
19
+ agree: "Sim, tenho certeza"
19
20
  cancel: "Não, cancelar"
20
21
 
21
22
  notifications:
@@ -51,6 +52,8 @@ pt-BR:
51
52
  skip_to_first_child: encaminhar para a primeira página filha
52
53
  invisible_to_search_engines: Seu site não está visível para os sistemas de busca
53
54
  invisible_to_search_engines_description: Vá para as preferências para ativar os sistemas de busca
55
+ rebuild_materialized_path: Reconstruir caminho materializado
56
+ materialize_path_confirmation: "Você está certo que quer reconstruir o caminho para esta página?"
54
57
 
55
58
  users:
56
59
  new: Novo usuário
@@ -61,6 +64,7 @@ pt-BR:
61
64
  photos:
62
65
  delete_confirmation: "Tem certeza que deseja remover esta <strong>imagem</strong>?"
63
66
  insert_photos: Inserir imagens
67
+ choose_images: Escolher imagens
64
68
  insert_photo: Inserir imagem
65
69
  link: "URL da sua imagem:"
66
70
  cannot_be_created: "Imagem não pode ser processada:"
@@ -161,6 +165,8 @@ pt-BR:
161
165
  menu_title: Título do menu
162
166
  menu_title_placeholder: Deixe vazio para utilizar o título da página
163
167
  view_template: Modelo de página
168
+ ancestry: Página pai
169
+ no_parent: Nenhum pai
164
170
 
165
171
  spina/user:
166
172
  email: Email
@@ -183,3 +189,7 @@ pt-BR:
183
189
  zero: "0 novas mensagens"
184
190
  one: "1 nova mensagem"
185
191
  other: "%{count} novas mensagens"
192
+
193
+ languages:
194
+ en: Inglês
195
+ nl: Neerlandês
data/config/routes.rb CHANGED
@@ -26,6 +26,10 @@ Spina::Engine.routes.draw do
26
26
  post :sort, on: :collection
27
27
  end
28
28
 
29
+ resources :navigations do
30
+ post :sort, on: :member
31
+ end
32
+
29
33
  resources :page_parts do
30
34
  collection do
31
35
  get 'wysihtml5_link/:object_id' => 'page_parts#wysihtml5_link', as: :wysihtml5_link
@@ -64,14 +68,16 @@ Spina::Engine.routes.draw do
64
68
  # Robots.txt
65
69
  get '/robots', to: 'pages#robots', constraints: { format: 'txt' }
66
70
 
67
- # Frontend
68
- root to: "pages#homepage"
71
+ unless Spina.config.disable_frontend_routes
72
+ # Frontend
73
+ root to: "pages#homepage"
69
74
 
70
- # Pages
71
- get '/:locale/*id' => 'pages#show', constraints: {locale: /#{Spina.config.locales.join('|')}/ }
72
- get '/:locale/' => 'pages#homepage', constraints: {locale: /#{Spina.config.locales.join('|')}/ }
73
- get '/*id' => 'pages#show', as: "page", controller: 'pages', constraints: lambda { |request|
74
- !(Rails.env.development? && request.env['PATH_INFO'].starts_with?('/rails/') || request.env['PATH_INFO'].starts_with?('/attachments/'))
75
- }
75
+ # Pages
76
+ get '/:locale/*id' => 'pages#show', constraints: {locale: /#{Spina.config.locales.join('|')}/ }
77
+ get '/:locale/' => 'pages#homepage', constraints: {locale: /#{Spina.config.locales.join('|')}/ }
78
+ get '/*id' => 'pages#show', as: "page", controller: 'pages', constraints: lambda { |request|
79
+ !(Rails.env.development? && request.env['PATH_INFO'].starts_with?('/rails/') || request.env['PATH_INFO'].starts_with?("/#{Spina.config.backend_path}") || request.env['PATH_INFO'].starts_with?('/attachments/'))
80
+ }
81
+ end
76
82
 
77
83
  end
@@ -49,7 +49,6 @@ class CreateSpinaTables < ActiveRecord::Migration
49
49
  end
50
50
 
51
51
  create_table "spina_lines", force: :cascade do |t|
52
- t.string "content"
53
52
  t.datetime "created_at"
54
53
  t.datetime "updated_at"
55
54
  end
@@ -65,16 +64,12 @@ class CreateSpinaTables < ActiveRecord::Migration
65
64
  end
66
65
 
67
66
  create_table "spina_pages", force: :cascade do |t|
68
- t.string "title"
69
- t.string "menu_title"
70
- t.string "description"
71
67
  t.boolean "show_in_menu", default: true
72
68
  t.string "slug"
73
69
  t.boolean "deletable", default: true
74
70
  t.datetime "created_at", null: false
75
71
  t.datetime "updated_at", null: false
76
72
  t.string "name"
77
- t.string "seo_title"
78
73
  t.boolean "skip_to_first_child", default: false
79
74
  t.string "view_template"
80
75
  t.string "layout_template"
@@ -82,7 +77,6 @@ class CreateSpinaTables < ActiveRecord::Migration
82
77
  t.string "link_url"
83
78
  t.string "ancestry"
84
79
  t.integer "position"
85
- t.string "materialized_path"
86
80
  t.boolean "active", default: true
87
81
  end
88
82
 
@@ -131,7 +125,6 @@ class CreateSpinaTables < ActiveRecord::Migration
131
125
  end
132
126
 
133
127
  create_table "spina_texts", force: :cascade do |t|
134
- t.text "content"
135
128
  t.datetime "created_at"
136
129
  t.datetime "updated_at"
137
130
  end
@@ -1,13 +1,32 @@
1
1
  class CreateSpinaTranslationTables < ActiveRecord::Migration
2
2
  def up
3
- Spina::Page.create_translation_table! title: :string, menu_title: :string, description: :string, seo_title: :string, materialized_path: :string
4
- Spina::Text.create_translation_table! content: :text
5
- Spina::Line.create_translation_table! content: :string
3
+ Spina::Page.create_translation_table!({
4
+ title: :string,
5
+ menu_title: :string,
6
+ description: :string,
7
+ seo_title: :string,
8
+ materialized_path: :string
9
+ }, {
10
+ migrate_data: true,
11
+ remove_source_columns: true
12
+ })
13
+ Spina::Text.create_translation_table!({
14
+ content: :text
15
+ }, {
16
+ migrate_data: true,
17
+ remove_source_columns: true
18
+ })
19
+ Spina::Line.create_translation_table!({
20
+ content: :string
21
+ }, {
22
+ migrate_data: true,
23
+ remove_source_columns: true
24
+ })
6
25
  end
7
26
 
8
27
  def down
9
- Spina::Page.drop_translation_table!
10
- Spina::Text.drop_translation_table!
11
- Spina::Line.drop_translation_table!
28
+ Spina::Page.drop_translation_table! migrate_data: true
29
+ Spina::Text.drop_translation_table! migrate_data: true
30
+ Spina::Line.drop_translation_table! migrate_data: true
12
31
  end
13
- end
32
+ end
@@ -0,0 +1,21 @@
1
+ class CreateSpinaNavigations < ActiveRecord::Migration
2
+ def change
3
+ create_table "spina_navigations", force: :cascade do |t|
4
+ t.string "name", null: false
5
+ t.string "label", null: false
6
+ t.boolean "auto_add_pages", null: false, default: false
7
+ t.integer "position", default: 0, null: false
8
+ t.timestamps
9
+ t.index ["name"], name: "index_spina_navigations_on_name", unique: true, using: :btree
10
+ end
11
+
12
+ create_table "spina_navigation_items", force: :cascade do |t|
13
+ t.integer "page_id", null: false
14
+ t.integer "navigation_id", null: false
15
+ t.integer "position", default: 0, null: false
16
+ t.string "ancestry"
17
+ t.timestamps
18
+ t.index ["page_id", "navigation_id"], name: "index_spina_navigation_items_on_page_id_and_navigation_id", unique: true, using: :btree
19
+ end
20
+ end
21
+ end
@@ -2,13 +2,13 @@ CarrierWave.configure do |config|
2
2
  config.storage = :file
3
3
 
4
4
  # Use S3 if you want
5
- # config.storage = :fog
6
5
  # config.fog_credentials = {
7
6
  # provider: 'AWS',
8
7
  # region: '',
9
8
  # aws_access_key_id: '',
10
9
  # aws_secret_access_key: ''
11
10
  # }
11
+ # config.storage = :fog
12
12
  # config.fog_directory = ''
13
13
  # config.fog_public = true
14
14
  # config.fog_attributes = { 'Cache-Control' => 'max-age=315576000' }
data/lib/spina/engine.rb CHANGED
@@ -8,8 +8,7 @@ require 'jquery-fileupload-rails'
8
8
  require 'turbolinks'
9
9
  require 'carrierwave'
10
10
  require 'mini_magick'
11
- require 'cancan'
12
- require 'filters_spam'
11
+ require 'cancancan'
13
12
  require 'ancestry'
14
13
  require 'breadcrumbs_on_rails'
15
14
  require 'kaminari'
@@ -0,0 +1,5 @@
1
+ //
2
+ // Icon Font: <%= font_name %>
3
+ //
4
+
5
+ <%= glyphs %>
data/lib/spina/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Spina
2
- VERSION = "0.10.0"
2
+ VERSION = "0.11.0"
3
3
  end
data/lib/spina.rb CHANGED
@@ -10,10 +10,12 @@ module Spina
10
10
  PLUGINS = []
11
11
  THEMES = []
12
12
 
13
- config_accessor :backend_path, :storage, :max_page_depth, :locales
13
+ config_accessor :backend_path, :disable_frontend_routes, :storage, :max_page_depth, :locales
14
14
 
15
15
  self.backend_path = 'admin'
16
16
 
17
+ self.disable_frontend_routes = false
18
+
17
19
  self.storage = :file
18
20
 
19
21
  self.max_page_depth = 5
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bram Jetten
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-05 00:00:00.000000000 Z
12
+ date: 2017-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -152,7 +152,7 @@ dependencies:
152
152
  - !ruby/object:Gem::Version
153
153
  version: '0'
154
154
  - !ruby/object:Gem::Dependency
155
- name: filters_spam
155
+ name: ancestry
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - ">="
@@ -166,7 +166,7 @@ dependencies:
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  - !ruby/object:Gem::Dependency
169
- name: ancestry
169
+ name: breadcrumbs_on_rails
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
172
  - - ">="
@@ -180,21 +180,21 @@ dependencies:
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  - !ruby/object:Gem::Dependency
183
- name: breadcrumbs_on_rails
183
+ name: turbolinks
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - ">="
186
+ - - "~>"
187
187
  - !ruby/object:Gem::Version
188
- version: '0'
188
+ version: '5'
189
189
  type: :runtime
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - ">="
193
+ - - "~>"
194
194
  - !ruby/object:Gem::Version
195
- version: '0'
195
+ version: '5'
196
196
  - !ruby/object:Gem::Dependency
197
- name: spina-template
197
+ name: kaminari
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
200
  - - ">="
@@ -208,35 +208,35 @@ dependencies:
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  - !ruby/object:Gem::Dependency
211
- name: turbolinks
211
+ name: globalize
212
212
  requirement: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - "~>"
215
215
  - !ruby/object:Gem::Version
216
- version: '5'
216
+ version: 5.1.0.beta1
217
217
  type: :runtime
218
218
  prerelease: false
219
219
  version_requirements: !ruby/object:Gem::Requirement
220
220
  requirements:
221
221
  - - "~>"
222
222
  - !ruby/object:Gem::Version
223
- version: '5'
223
+ version: 5.1.0.beta1
224
224
  - !ruby/object:Gem::Dependency
225
- name: kaminari
225
+ name: rack-rewrite
226
226
  requirement: !ruby/object:Gem::Requirement
227
227
  requirements:
228
- - - ">="
228
+ - - "~>"
229
229
  - !ruby/object:Gem::Version
230
- version: '0'
230
+ version: 1.5.0
231
231
  type: :runtime
232
232
  prerelease: false
233
233
  version_requirements: !ruby/object:Gem::Requirement
234
234
  requirements:
235
- - - ">="
235
+ - - "~>"
236
236
  - !ruby/object:Gem::Version
237
- version: '0'
237
+ version: 1.5.0
238
238
  - !ruby/object:Gem::Dependency
239
- name: globalize
239
+ name: bourbon
240
240
  requirement: !ruby/object:Gem::Requirement
241
241
  requirements:
242
242
  - - ">="
@@ -250,7 +250,7 @@ dependencies:
250
250
  - !ruby/object:Gem::Version
251
251
  version: '0'
252
252
  - !ruby/object:Gem::Dependency
253
- name: activemodel-serializers-xml
253
+ name: neat
254
254
  requirement: !ruby/object:Gem::Requirement
255
255
  requirements:
256
256
  - - ">="
@@ -263,20 +263,6 @@ dependencies:
263
263
  - - ">="
264
264
  - !ruby/object:Gem::Version
265
265
  version: '0'
266
- - !ruby/object:Gem::Dependency
267
- name: rack-rewrite
268
- requirement: !ruby/object:Gem::Requirement
269
- requirements:
270
- - - "~>"
271
- - !ruby/object:Gem::Version
272
- version: 1.5.0
273
- type: :runtime
274
- prerelease: false
275
- version_requirements: !ruby/object:Gem::Requirement
276
- requirements:
277
- - - "~>"
278
- - !ruby/object:Gem::Version
279
- version: 1.5.0
280
266
  description: CMS
281
267
  email:
282
268
  - bram@denkgroot.com
@@ -287,23 +273,123 @@ extra_rdoc_files: []
287
273
  files:
288
274
  - README.md
289
275
  - Rakefile
290
- - app/assets/images/spina/admin/logo@2x.png
276
+ - app/assets/fonts/spina/ics_spina.eot
277
+ - app/assets/fonts/spina/ics_spina.svg
278
+ - app/assets/fonts/spina/ics_spina.ttf
279
+ - app/assets/fonts/spina/ics_spina.woff
280
+ - app/assets/icons/spina/barchart.svg
281
+ - app/assets/icons/spina/bars.svg
282
+ - app/assets/icons/spina/bold.svg
283
+ - app/assets/icons/spina/brush.svg
284
+ - app/assets/icons/spina/camera.svg
285
+ - app/assets/icons/spina/caret-down.svg
286
+ - app/assets/icons/spina/caret-left.svg
287
+ - app/assets/icons/spina/caret-right.svg
288
+ - app/assets/icons/spina/caret-up.svg
289
+ - app/assets/icons/spina/cart.svg
290
+ - app/assets/icons/spina/chart-outline.svg
291
+ - app/assets/icons/spina/check.svg
292
+ - app/assets/icons/spina/chevron-down.svg
293
+ - app/assets/icons/spina/chevron-left.svg
294
+ - app/assets/icons/spina/chevron-right.svg
295
+ - app/assets/icons/spina/chevron-up.svg
296
+ - app/assets/icons/spina/code.svg
297
+ - app/assets/icons/spina/cog-outline.svg
298
+ - app/assets/icons/spina/cog.svg
299
+ - app/assets/icons/spina/comment.svg
300
+ - app/assets/icons/spina/cross.svg
301
+ - app/assets/icons/spina/customer-outline.svg
302
+ - app/assets/icons/spina/document.svg
303
+ - app/assets/icons/spina/dots.svg
304
+ - app/assets/icons/spina/exclamation.svg
305
+ - app/assets/icons/spina/eye.svg
306
+ - app/assets/icons/spina/filter.svg
307
+ - app/assets/icons/spina/home.svg
308
+ - app/assets/icons/spina/image.svg
309
+ - app/assets/icons/spina/inbox-outline.svg
310
+ - app/assets/icons/spina/info.svg
311
+ - app/assets/icons/spina/italic.svg
312
+ - app/assets/icons/spina/large-check.svg
313
+ - app/assets/icons/spina/link.svg
314
+ - app/assets/icons/spina/list-ul.svg
315
+ - app/assets/icons/spina/mail-outline.svg
316
+ - app/assets/icons/spina/mail.svg
317
+ - app/assets/icons/spina/media-library.svg
318
+ - app/assets/icons/spina/megaphone.svg
319
+ - app/assets/icons/spina/min.svg
320
+ - app/assets/icons/spina/pages.svg
321
+ - app/assets/icons/spina/pencil-outline.svg
322
+ - app/assets/icons/spina/pencil.svg
323
+ - app/assets/icons/spina/picture-o.svg
324
+ - app/assets/icons/spina/plus.svg
325
+ - app/assets/icons/spina/power-off.svg
326
+ - app/assets/icons/spina/preview.svg
327
+ - app/assets/icons/spina/preview/icons_spina-preview.html
328
+ - app/assets/icons/spina/preview/ics_spina-preview.html
329
+ - app/assets/icons/spina/product-outline.svg
330
+ - app/assets/icons/spina/random.svg
331
+ - app/assets/icons/spina/refresh.svg
332
+ - app/assets/icons/spina/search.svg
333
+ - app/assets/icons/spina/shop.svg
334
+ - app/assets/icons/spina/social-outline.svg
335
+ - app/assets/icons/spina/trash.svg
336
+ - app/assets/icons/spina/upload-outline.svg
337
+ - app/assets/icons/spina/users-outline.svg
291
338
  - app/assets/images/spina/admin/spina.png
292
- - app/assets/javascripts/spina/admin/account.js.coffee
293
- - app/assets/javascripts/spina/admin/application.js
294
- - app/assets/javascripts/spina/admin/confirm_delete.js.coffee.erb
295
- - app/assets/javascripts/spina/admin/pages.js.coffee.erb
296
- - app/assets/javascripts/spina/admin/spina.infinite_scroll.coffee
297
- - app/assets/javascripts/spina/admin/spina.scaffold.coffee
298
- - app/assets/javascripts/spina/admin/spina.trix.js.coffee.erb
299
- - app/assets/javascripts/spina/application.js
300
- - app/assets/stylesheets/spina/_mixins.scss
339
+ - app/assets/images/spina/arrow-left.png
340
+ - app/assets/images/spina/arrow-right.png
341
+ - app/assets/images/spina/danger-zone-ribbon.png
342
+ - app/assets/images/spina/datepicker.png
343
+ - app/assets/images/spina/divider.png
344
+ - app/assets/images/spina/marker.png
345
+ - app/assets/images/spina/mask.png
346
+ - app/assets/images/spina/spina.png
347
+ - app/assets/images/spina/spina_small.png
348
+ - app/assets/images/spina/wheel.png
349
+ - app/assets/javascripts/spina/admin/account.coffee
350
+ - app/assets/javascripts/spina/admin/application.coffee.erb
351
+ - app/assets/javascripts/spina/admin/confirm_delete.coffee.erb
352
+ - app/assets/javascripts/spina/admin/dropdown.coffee
353
+ - app/assets/javascripts/spina/admin/forms.coffee
354
+ - app/assets/javascripts/spina/admin/galleryselect.coffee
355
+ - app/assets/javascripts/spina/admin/infinite_scroll.coffee
356
+ - app/assets/javascripts/spina/admin/modal.coffee
357
+ - app/assets/javascripts/spina/admin/navigation.coffee
358
+ - app/assets/javascripts/spina/admin/notifications.coffee
359
+ - app/assets/javascripts/spina/admin/pages.coffee.erb
360
+ - app/assets/javascripts/spina/admin/switch.coffee
361
+ - app/assets/javascripts/spina/admin/tabs.coffee
362
+ - app/assets/javascripts/spina/admin/trix.coffee.erb
363
+ - app/assets/javascripts/spina/admin/uploads.coffee
364
+ - app/assets/stylesheets/spina.sass
365
+ - app/assets/stylesheets/spina/_admin_editing.sass
366
+ - app/assets/stylesheets/spina/_buttons.sass
367
+ - app/assets/stylesheets/spina/_cards.sass
368
+ - app/assets/stylesheets/spina/_configuration.sass
369
+ - app/assets/stylesheets/spina/_custom_animations.sass
370
+ - app/assets/stylesheets/spina/_farbtastic.sass
371
+ - app/assets/stylesheets/spina/_fonts.sass
372
+ - app/assets/stylesheets/spina/_forms.sass
373
+ - app/assets/stylesheets/spina/_gallery.sass
374
+ - app/assets/stylesheets/spina/_ics_spina.scss
375
+ - app/assets/stylesheets/spina/_labels.sass
376
+ - app/assets/stylesheets/spina/_login.sass
377
+ - app/assets/stylesheets/spina/_modal.sass
301
378
  - app/assets/stylesheets/spina/_normalize.scss
379
+ - app/assets/stylesheets/spina/_notifications.sass
380
+ - app/assets/stylesheets/spina/_sortable_lists.sass
381
+ - app/assets/stylesheets/spina/_tables.sass
382
+ - app/assets/stylesheets/spina/_trix.sass
383
+ - app/assets/stylesheets/spina/_wizard.sass
384
+ - app/assets/stylesheets/spina/_wysihtml5.sass
302
385
  - app/assets/stylesheets/spina/admin/application.sass
303
386
  - app/assets/stylesheets/spina/application.sass
387
+ - app/assets/stylesheets/spina/wysihtml5_textarea.sass
388
+ - app/controllers/concerns/spina/frontend.rb
304
389
  - app/controllers/spina/admin/accounts_controller.rb
305
390
  - app/controllers/spina/admin/admin_controller.rb
306
391
  - app/controllers/spina/admin/attachments_controller.rb
392
+ - app/controllers/spina/admin/navigations_controller.rb
307
393
  - app/controllers/spina/admin/page_parts_controller.rb
308
394
  - app/controllers/spina/admin/pages_controller.rb
309
395
  - app/controllers/spina/admin/photos_controller.rb
@@ -325,6 +411,8 @@ files:
325
411
  - app/models/spina/color.rb
326
412
  - app/models/spina/layout_part.rb
327
413
  - app/models/spina/line.rb
414
+ - app/models/spina/navigation.rb
415
+ - app/models/spina/navigation_item.rb
328
416
  - app/models/spina/page.rb
329
417
  - app/models/spina/page_part.rb
330
418
  - app/models/spina/photo.rb
@@ -344,6 +432,7 @@ files:
344
432
  - app/uploaders/spina/photo_uploader.rb
345
433
  - app/views/layouts/spina/admin/admin.html.haml
346
434
  - app/views/layouts/spina/admin/media_library.html.haml
435
+ - app/views/layouts/spina/admin/pages.html.haml
347
436
  - app/views/layouts/spina/email.html.erb
348
437
  - app/views/layouts/spina/login.html.haml
349
438
  - app/views/spina/admin/accounts/_form.html.haml
@@ -364,6 +453,10 @@ files:
364
453
  - app/views/spina/admin/attachments/select_collection.js.erb
365
454
  - app/views/spina/admin/layout_partables/colors/_form.html.haml
366
455
  - app/views/spina/admin/layout_partables/lines/_form.html.haml
456
+ - app/views/spina/admin/navigations/_navigation_item_nested_list.html.haml
457
+ - app/views/spina/admin/navigations/_page.html.haml
458
+ - app/views/spina/admin/navigations/edit.html.haml
459
+ - app/views/spina/admin/navigations/show.html.haml
367
460
  - app/views/spina/admin/page_partables/attachment_collections/_form.html.haml
368
461
  - app/views/spina/admin/page_partables/attachments/_form.html.haml
369
462
  - app/views/spina/admin/page_partables/colors/_form.html.haml
@@ -380,6 +473,8 @@ files:
380
473
  - app/views/spina/admin/pages/_form_page_content.html.haml
381
474
  - app/views/spina/admin/pages/_form_page_seo.html.haml
382
475
  - app/views/spina/admin/pages/_page.html.haml
476
+ - app/views/spina/admin/pages/_page_nested_list.html.haml
477
+ - app/views/spina/admin/pages/create.js.coffee
383
478
  - app/views/spina/admin/pages/edit.html.haml
384
479
  - app/views/spina/admin/pages/index.html.haml
385
480
  - app/views/spina/admin/pages/new.html.haml
@@ -395,6 +490,7 @@ files:
395
490
  - app/views/spina/admin/photos/_wysihtml5_select.html.haml
396
491
  - app/views/spina/admin/photos/create.js.erb
397
492
  - app/views/spina/admin/photos/create_and_select.js.erb
493
+ - app/views/spina/admin/photos/create_multiple.js.erb
398
494
  - app/views/spina/admin/photos/index.html.haml
399
495
  - app/views/spina/admin/photos/index.js.erb
400
496
  - app/views/spina/admin/photos/insert_photo.js.erb
@@ -414,6 +510,7 @@ files:
414
510
  - app/views/spina/admin/shared/_rich_text_field.html.haml
415
511
  - app/views/spina/admin/structure_items/_fields.html.haml
416
512
  - app/views/spina/admin/structure_partables/lines/_form.html.haml
513
+ - app/views/spina/admin/structure_partables/photo_collections/_form.html.haml
417
514
  - app/views/spina/admin/structure_partables/photos/_form.html.haml
418
515
  - app/views/spina/admin/structure_partables/texts/_form.html.haml
419
516
  - app/views/spina/admin/users/_form.html.haml
@@ -423,9 +520,11 @@ files:
423
520
  - app/views/spina/pages/robots.text.erb
424
521
  - app/views/spina/shared/_admin_bar.html.haml
425
522
  - app/views/spina/shared/_analytics.html.erb
523
+ - app/views/spina/shared/_google_site_verification.html.haml
426
524
  - app/views/spina/shared/_navigation.html.haml
427
525
  - app/views/spina/shared/_social.html.haml
428
526
  - app/views/spina/sitemaps/show.xml.builder
527
+ - config/fontcustom.yml
429
528
  - config/initializers/assets.rb
430
529
  - config/initializers/spina.rb
431
530
  - config/initializers/time_formats.rb
@@ -442,6 +541,7 @@ files:
442
541
  - config/routes.rb
443
542
  - db/migrate/1_create_spina_tables.rb
444
543
  - db/migrate/2_create_spina_translation_tables.rb
544
+ - db/migrate/3_create_spina_navigations.rb
445
545
  - db/seeds.rb
446
546
  - lib/generators/spina/install_generator.rb
447
547
  - lib/generators/spina/templates/app/assets/stylesheets/default/application.css.sass
@@ -462,6 +562,7 @@ files:
462
562
  - lib/generators/spina/templates/config/initializers/themes/demo.rb
463
563
  - lib/spina.rb
464
564
  - lib/spina/engine.rb
565
+ - lib/spina/fontcustom/_ics_spina.scss
465
566
  - lib/spina/plugin.rb
466
567
  - lib/spina/railtie.rb
467
568
  - lib/spina/theme.rb
@@ -487,7 +588,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
487
588
  version: '0'
488
589
  requirements: []
489
590
  rubyforge_project:
490
- rubygems_version: 2.5.1
591
+ rubygems_version: 2.5.2
491
592
  signing_key:
492
593
  specification_version: 4
493
594
  summary: Spina
@@ -1,10 +0,0 @@
1
- //= require jquery
2
- //= require jquery_ujs
3
- //= require turbolinks
4
- //= require spina
5
- //= require ./account
6
- //= require ./confirm_delete
7
- //= require ./pages
8
- //= require ./spina.trix
9
- //= require ./spina.infinite_scroll
10
- //= require ./spina.scaffold
@@ -1,15 +0,0 @@
1
- class Spina.Scaffold
2
-
3
- @init = ->
4
- $(document).enhance()
5
-
6
- @enhance = (el) ->
7
- $el = $(el)
8
-
9
- $el.find('.infinite-pagination').infiniteScroll()
10
-
11
- $.fn.enhance = () ->
12
- Spina.Scaffold.enhance(this)
13
-
14
- $(document).on 'turbolinks:load', ->
15
- Spina.Scaffold.init()
@@ -1,15 +0,0 @@
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 vendor/assets/javascripts of plugins, if any, 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
- // the compiled file.
9
- //
10
- // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
- // GO AFTER THE REQUIRES BELOW.
12
- //
13
- //= require jquery
14
- //= require jquery_ujs
15
- //= require_directory .