sibu 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/sibu/empty.png +0 -0
  3. data/app/assets/javascripts/cropper/cropper.js +3695 -0
  4. data/app/assets/javascripts/sibu/sibu.js.erb +25 -0
  5. data/app/assets/stylesheets/cropper/cropper.css +305 -0
  6. data/app/assets/stylesheets/sibu/sibu.css +1 -0
  7. data/app/controllers/sibu/application_controller.rb +4 -0
  8. data/app/controllers/sibu/images_controller.rb +7 -11
  9. data/app/controllers/sibu/pages_controller.rb +14 -4
  10. data/app/controllers/sibu/sites_controller.rb +13 -3
  11. data/app/helpers/sibu/application_helper.rb +4 -0
  12. data/app/helpers/sibu/pages_helper.rb +1 -9
  13. data/app/helpers/sibu/sites_helper.rb +8 -4
  14. data/app/models/concerns/sibu/image_uploader.rb +2 -2
  15. data/app/models/concerns/sibu/user_concern.rb +9 -0
  16. data/app/models/sibu/image.rb +12 -4
  17. data/app/models/sibu/page.rb +12 -1
  18. data/app/models/sibu/site.rb +19 -2
  19. data/app/views/sibu/images/_edit_form.html.erb +4 -4
  20. data/app/views/sibu/images/_form.html.erb +2 -2
  21. data/app/views/sibu/images/index.html.erb +3 -3
  22. data/app/views/sibu/images/new.html.erb +4 -0
  23. data/app/views/sibu/pages/_form.html.erb +0 -7
  24. data/app/views/sibu/pages/_media_edit_panel.html.erb +24 -12
  25. data/app/views/sibu/pages/edit_element.js.erb +54 -39
  26. data/app/views/sibu/pages/index.html.erb +1 -0
  27. data/app/views/sibu/pages/update_element.js.erb +1 -1
  28. data/app/views/sibu/sites/_form.html.erb +35 -13
  29. data/app/views/sibu/sites/edit.html.erb +1 -0
  30. data/app/views/sibu/sites/index.html.erb +4 -1
  31. data/config/routes.rb +4 -2
  32. data/db/migrate/20180321144021_move_images_to_user_level.rb +7 -0
  33. data/db/migrate/20180321170310_add_version_to_sibu_sites.rb +7 -0
  34. data/lib/sibu/version.rb +1 -1
  35. metadata +8 -3
  36. data/app/views/sibu/pages/_custom_styles.html.erb +0 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f21c0e57d197aef9ccc58d6550ec76528dae4734
4
- data.tar.gz: 2eb5f3f77327aa5033975dfa7bf97d78d4688789
3
+ metadata.gz: 6c6f5a167c25ae09399fc380a29a3b28b5779b64
4
+ data.tar.gz: 3d81f0ccfc1dcfc94187059384e84a043344a6ca
5
5
  SHA512:
6
- metadata.gz: d1043883196cda560f8ae664d68543c5f4489b10d14274ac3a9a99f89775f906a0c7a119c3d27e9192a9716fe821ce97b3eb8da92d0cd465c3795e9951fbb4d8
7
- data.tar.gz: 2f7447ce56ee95d3e4fd8f888ee1e487195778d25d6427f47af6557eed1007eb58c8eb2768b72a4a3950ff7a8516f2ad13bdbe2baf194987bf8043eea915fbd3
6
+ metadata.gz: a7154da111bf85b4eb8062dfa7197c7f1eb1d2009ad92d5ed57925b530a5e4a868a529ec0a4e7b42eba5392102c44d5e7cf942131c17de21d0170545e3977c21
7
+ data.tar.gz: 3c0d4ebba40926d6ea7e320b68acc32e44121e484e2671665d433dd2162a868ca98cf81803ee7b77eda70eb394b5b04391977060d1ab987b83e9c755e582a9e6
Binary file