spina 1.1.0 → 1.2.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 (83) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -244
  3. data/app/assets/fonts/spina/Metropolis-Black.woff2 +0 -0
  4. data/app/assets/fonts/spina/Metropolis-BlackItalic.woff2 +0 -0
  5. data/app/assets/fonts/spina/Metropolis-Bold.woff2 +0 -0
  6. data/app/assets/fonts/spina/Metropolis-BoldItalic.woff2 +0 -0
  7. data/app/assets/fonts/spina/Metropolis-ExtraBold.woff2 +0 -0
  8. data/app/assets/fonts/spina/Metropolis-ExtraBoldItalic.woff2 +0 -0
  9. data/app/assets/fonts/spina/Metropolis-ExtraLight.woff2 +0 -0
  10. data/app/assets/fonts/spina/Metropolis-ExtraLightItalic.woff2 +0 -0
  11. data/app/assets/fonts/spina/Metropolis-Light.woff2 +0 -0
  12. data/app/assets/fonts/spina/Metropolis-LightItalic.woff2 +0 -0
  13. data/app/assets/fonts/spina/Metropolis-Medium.woff2 +0 -0
  14. data/app/assets/fonts/spina/Metropolis-MediumItalic.woff2 +0 -0
  15. data/app/assets/fonts/spina/Metropolis-Regular.woff2 +0 -0
  16. data/app/assets/fonts/spina/Metropolis-RegularItalic.woff2 +0 -0
  17. data/app/assets/fonts/spina/Metropolis-SemiBold.woff2 +0 -0
  18. data/app/assets/fonts/spina/Metropolis-SemiBoldItalic.woff2 +0 -0
  19. data/app/assets/fonts/spina/Metropolis-Thin.woff2 +0 -0
  20. data/app/assets/fonts/spina/Metropolis-ThinItalic.woff2 +0 -0
  21. data/app/assets/fonts/spina/ics_spina.eot +0 -0
  22. data/app/assets/fonts/spina/ics_spina.svg +285 -267
  23. data/app/assets/fonts/spina/ics_spina.ttf +0 -0
  24. data/app/assets/fonts/spina/ics_spina.woff +0 -0
  25. data/app/assets/fonts/spina/ics_spina.woff2 +0 -0
  26. data/app/assets/icons/spina/bold.svg +1 -1
  27. data/app/assets/icons/spina/code.svg +1 -1
  28. data/app/assets/icons/spina/image.svg +1 -10
  29. data/app/assets/icons/spina/indent.svg +1 -0
  30. data/app/assets/icons/spina/italic.svg +1 -1
  31. data/app/assets/icons/spina/link.svg +1 -1
  32. data/app/assets/icons/spina/list-ol.svg +1 -0
  33. data/app/assets/icons/spina/list.svg +1 -0
  34. data/app/assets/icons/spina/outdent.svg +1 -0
  35. data/app/assets/icons/spina/preview/ics_spina-preview.html +121 -1
  36. data/app/assets/icons/spina/quote-right.svg +1 -0
  37. data/app/assets/icons/spina/redo.svg +1 -0
  38. data/app/assets/icons/spina/strikethrough.svg +1 -0
  39. data/app/assets/icons/spina/undo.svg +1 -0
  40. data/app/assets/stylesheets/spina.sass +0 -2
  41. data/app/assets/stylesheets/spina/_buttons.sass +1 -1
  42. data/app/assets/stylesheets/spina/_configuration.sass.erb +2 -2
  43. data/app/assets/stylesheets/spina/_fonts.sass +32 -0
  44. data/app/assets/stylesheets/spina/_forms.sass +6 -3
  45. data/app/assets/stylesheets/spina/_gallery.sass +4 -2
  46. data/app/assets/stylesheets/spina/_ics_spina.scss +8 -0
  47. data/app/assets/stylesheets/spina/_tables.sass +7 -4
  48. data/app/assets/stylesheets/spina/_trix_custom.sass +14 -27
  49. data/app/controllers/spina/admin/media_folders_controller.rb +10 -0
  50. data/app/controllers/spina/admin/pages_controller.rb +2 -2
  51. data/app/helpers/spina/images_helper.rb +8 -1
  52. data/app/models/spina/image.rb +5 -1
  53. data/app/models/spina/page.rb +14 -7
  54. data/app/models/spina/resource.rb +1 -13
  55. data/app/views/spina/admin/media_folders/_form.html.haml +5 -2
  56. data/app/views/spina/admin/media_folders/edit.js.erb +1 -0
  57. data/app/views/spina/admin/media_folders/show.html.haml +2 -1
  58. data/app/views/spina/admin/pages/_form.html.haml +2 -2
  59. data/app/views/spina/admin/pages/_form_advanced.html.haml +14 -12
  60. data/app/views/spina/admin/pages/_form_page_seo.html.haml +7 -0
  61. data/app/views/spina/admin/resources/edit.html.haml +0 -7
  62. data/app/views/spina/admin/resources/show.html.haml +1 -1
  63. data/config/locales/TH.yml +220 -205
  64. data/config/locales/bg.yml +219 -211
  65. data/config/locales/de.yml +218 -190
  66. data/config/locales/en.yml +218 -208
  67. data/config/locales/es.yml +219 -206
  68. data/config/locales/fr.yml +219 -190
  69. data/config/locales/id.yml +219 -189
  70. data/config/locales/it.yml +225 -152
  71. data/config/locales/nl.yml +220 -197
  72. data/config/locales/pl.yml +218 -185
  73. data/config/locales/pt-BR.yml +218 -205
  74. data/config/locales/ro.yml +258 -225
  75. data/config/locales/ru.yml +231 -171
  76. data/config/locales/sv.yml +218 -183
  77. data/config/locales/tr.yml +224 -151
  78. data/config/locales/zh-CN.yml +225 -175
  79. data/db/migrate/11_create_spina_resources.rb +0 -2
  80. data/db/migrate/12_add_url_title_to_spina_page_translations.rb +5 -0
  81. data/lib/spina/engine.rb +0 -1
  82. data/lib/spina/version.rb +1 -1
  83. metadata +33 -19
@@ -4,12 +4,10 @@ class CreateSpinaResources < ActiveRecord::Migration[5.1]
4
4
  t.string :name, null: false, unique: true
5
5
  t.string :label
6
6
  t.string :view_template
7
- t.integer :parent_page_id
8
7
  t.string :order_by
9
8
  t.timestamps
10
9
  end
11
10
  add_column :spina_pages, :resource_id, :integer, null: true
12
11
  add_index :spina_pages, :resource_id
13
- add_index :spina_resources, :parent_page_id
14
12
  end
15
13
  end
@@ -0,0 +1,5 @@
1
+ class AddUrlTitleToSpinaPageTranslations < ActiveRecord::Migration[6.0]
2
+ def change
3
+ add_column :spina_page_translations, :url_title, :string
4
+ end
5
+ end
@@ -11,7 +11,6 @@ require 'kaminari'
11
11
  require 'mobility'
12
12
  require 'rack-rewrite'
13
13
  require 'jsonb_accessor'
14
- require 'font_awesome5_rails'
15
14
 
16
15
  module Spina
17
16
  class Engine < ::Rails::Engine
@@ -1,3 +1,3 @@
1
1
  module Spina
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bram Jetten
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-03 00:00:00.000000000 Z
11
+ date: 2020-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '6.0'
19
+ version: '5.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '6.0'
26
+ version: '5.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pg
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -220,20 +220,6 @@ dependencies:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: 1.0.0
223
- - !ruby/object:Gem::Dependency
224
- name: font_awesome5_rails
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - ">="
228
- - !ruby/object:Gem::Version
229
- version: '0'
230
- type: :runtime
231
- prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - ">="
235
- - !ruby/object:Gem::Version
236
- version: '0'
237
223
  description: CMS
238
224
  email:
239
225
  - bram@denkgroot.com
@@ -245,6 +231,24 @@ files:
245
231
  - Rakefile
246
232
  - app/assets/config/spina/manifest.js
247
233
  - app/assets/config/spina_manifest.js
234
+ - app/assets/fonts/spina/Metropolis-Black.woff2
235
+ - app/assets/fonts/spina/Metropolis-BlackItalic.woff2
236
+ - app/assets/fonts/spina/Metropolis-Bold.woff2
237
+ - app/assets/fonts/spina/Metropolis-BoldItalic.woff2
238
+ - app/assets/fonts/spina/Metropolis-ExtraBold.woff2
239
+ - app/assets/fonts/spina/Metropolis-ExtraBoldItalic.woff2
240
+ - app/assets/fonts/spina/Metropolis-ExtraLight.woff2
241
+ - app/assets/fonts/spina/Metropolis-ExtraLightItalic.woff2
242
+ - app/assets/fonts/spina/Metropolis-Light.woff2
243
+ - app/assets/fonts/spina/Metropolis-LightItalic.woff2
244
+ - app/assets/fonts/spina/Metropolis-Medium.woff2
245
+ - app/assets/fonts/spina/Metropolis-MediumItalic.woff2
246
+ - app/assets/fonts/spina/Metropolis-Regular.woff2
247
+ - app/assets/fonts/spina/Metropolis-RegularItalic.woff2
248
+ - app/assets/fonts/spina/Metropolis-SemiBold.woff2
249
+ - app/assets/fonts/spina/Metropolis-SemiBoldItalic.woff2
250
+ - app/assets/fonts/spina/Metropolis-Thin.woff2
251
+ - app/assets/fonts/spina/Metropolis-ThinItalic.woff2
248
252
  - app/assets/fonts/spina/ics_spina.eot
249
253
  - app/assets/fonts/spina/ics_spina.svg
250
254
  - app/assets/fonts/spina/ics_spina.ttf
@@ -281,17 +285,21 @@ files:
281
285
  - app/assets/icons/spina/home.svg
282
286
  - app/assets/icons/spina/image.svg
283
287
  - app/assets/icons/spina/inbox-outline.svg
288
+ - app/assets/icons/spina/indent.svg
284
289
  - app/assets/icons/spina/info.svg
285
290
  - app/assets/icons/spina/italic.svg
286
291
  - app/assets/icons/spina/large-check.svg
287
292
  - app/assets/icons/spina/link.svg
293
+ - app/assets/icons/spina/list-ol.svg
288
294
  - app/assets/icons/spina/list-ul.svg
295
+ - app/assets/icons/spina/list.svg
289
296
  - app/assets/icons/spina/lock.svg
290
297
  - app/assets/icons/spina/mail-outline.svg
291
298
  - app/assets/icons/spina/mail.svg
292
299
  - app/assets/icons/spina/media-library.svg
293
300
  - app/assets/icons/spina/megaphone.svg
294
301
  - app/assets/icons/spina/min.svg
302
+ - app/assets/icons/spina/outdent.svg
295
303
  - app/assets/icons/spina/pages.svg
296
304
  - app/assets/icons/spina/pencil-outline.svg
297
305
  - app/assets/icons/spina/pencil.svg
@@ -302,12 +310,16 @@ files:
302
310
  - app/assets/icons/spina/preview/icons_spina-preview.html
303
311
  - app/assets/icons/spina/preview/ics_spina-preview.html
304
312
  - app/assets/icons/spina/product-outline.svg
313
+ - app/assets/icons/spina/quote-right.svg
305
314
  - app/assets/icons/spina/random.svg
315
+ - app/assets/icons/spina/redo.svg
306
316
  - app/assets/icons/spina/refresh.svg
307
317
  - app/assets/icons/spina/search.svg
308
318
  - app/assets/icons/spina/shop.svg
309
319
  - app/assets/icons/spina/social-outline.svg
320
+ - app/assets/icons/spina/strikethrough.svg
310
321
  - app/assets/icons/spina/trash.svg
322
+ - app/assets/icons/spina/undo.svg
311
323
  - app/assets/icons/spina/upload-outline.svg
312
324
  - app/assets/icons/spina/users-outline.svg
313
325
  - app/assets/images/spina/arrow-left.svg
@@ -442,6 +454,7 @@ files:
442
454
  - app/views/spina/admin/layout_partables/lines/_form.html.haml
443
455
  - app/views/spina/admin/media_folders/_form.html.haml
444
456
  - app/views/spina/admin/media_folders/_media_folder.html.haml
457
+ - app/views/spina/admin/media_folders/edit.js.erb
445
458
  - app/views/spina/admin/media_folders/new.js.erb
446
459
  - app/views/spina/admin/media_folders/show.html.haml
447
460
  - app/views/spina/admin/media_picker/_modal.html.haml
@@ -523,6 +536,7 @@ files:
523
536
  - config/routes.rb
524
537
  - db/migrate/10_create_spina_image_collections.rb
525
538
  - db/migrate/11_create_spina_resources.rb
539
+ - db/migrate/12_add_url_title_to_spina_page_translations.rb
526
540
  - db/migrate/1_create_spina_tables.rb
527
541
  - db/migrate/2_create_spina_translation_tables.rb
528
542
  - db/migrate/3_create_spina_navigations.rb
@@ -586,7 +600,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
586
600
  - !ruby/object:Gem::Version
587
601
  version: '0'
588
602
  requirements: []
589
- rubygems_version: 3.0.1
603
+ rubygems_version: 3.0.3
590
604
  signing_key:
591
605
  specification_version: 4
592
606
  summary: Spina