refinerycms-photo-gallery 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +3 -0
- data/Changelog.md +11 -0
- data/Gemfile +35 -17
- data/Gemfile.lock +301 -0
- data/LICENSE.md +0 -0
- data/README.md +63 -13
- data/Rakefile +3 -2
- data/app/assets/images/refinery/photo_gallery/admin/chosen-sprite.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/album.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/album_add.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/album_edit.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/cog.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/down.gif +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/folder.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/folder_add.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/folder_edit.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/loading.gif +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/page_copy.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/photo.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/photo_add.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/photo_edit.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/icons/up.gif +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/backgrounds.gif +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/buttons-disabled.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/buttons.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/delete.gif +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/done.gif +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/error.gif +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/throbber.gif +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/transp50.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/plupload/jquery.ui.plupload/plupload-bw.png +0 -0
- data/app/assets/images/refinery/photo_gallery/admin/plupload/jquery.ui.plupload/plupload.png +0 -0
- data/app/assets/images/refinery/photo_gallery/fancybox/blank.gif +0 -0
- data/app/assets/images/refinery/photo_gallery/fancybox/fancybox_loading.gif +0 -0
- data/app/assets/images/refinery/photo_gallery/fancybox/fancybox_sprite.png +0 -0
- data/app/assets/images/refinery/photo_gallery/fancybox/helpers/fancybox_buttons.png +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/jquery.chosen.min.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/photo_gallery.js.erb +46 -46
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/Moxie.swf +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/Moxie.xap +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/changelog.txt +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/ar.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/az.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/bg.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/bs.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/ca.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/cs.js +2 -14
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/cy.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/da.js +2 -12
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/de.js +2 -24
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/el.js +2 -14
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/en.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/es.js +2 -25
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/et.js +2 -33
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/fa.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/fi.js +2 -33
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/fr-ca.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/fr.js +2 -25
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/he.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/hr.js +2 -25
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/hu.js +2 -33
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/hy.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/id.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/it.js +2 -24
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/ja.js +2 -37
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/ka.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/kk.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/km.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/ko.js +2 -36
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/ku_IQ.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/lt.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/lv.js +2 -33
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/ms.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/nl.js +2 -21
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/pl.js +2 -24
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/pt-br.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/pt.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/pt_BR.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/ro.js +2 -24
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/ru.js +2 -21
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/sk.js +2 -37
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/sl.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/sq.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/sr.js +2 -14
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/sv.js +2 -12
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/th_TH.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/tr.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/uk_UA.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/vi.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/zh_CN.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/i18n/zh_TW.js +2 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/css/jquery.plupload.queue.css +185 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/img/backgrounds.gif +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/img/buttons-disabled.png +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/img/buttons.png +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/img/delete.gif +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/img/done.gif +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/img/error.gif +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/img/throbber.gif +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/img/transp50.png +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/jquery.plupload.queue.js +428 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.plupload.queue/jquery.plupload.queue.min.js +1 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.ui.plupload.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.ui.plupload/css/jquery.ui.plupload.css +375 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.ui.plupload/img/loading.gif +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.ui.plupload/img/plupload.png +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.ui.plupload/jquery.ui.plupload.js +1343 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/jquery.ui.plupload/jquery.ui.plupload.min.js +1 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/license.txt +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/moxie.js +11158 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/moxie.min.js +16 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.browserplus.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.dev.js +2381 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.flash.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.flash.swf +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.full.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.full.js.default +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.full.min.js +29 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.gears.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.html4.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.html5.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.html5.js.default +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.min.js +13 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.silverlight.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/plupload.silverlight.xap +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/admin/plupload/readme.md +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/fancybox/CHANGELOG.md +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/fancybox/README.md +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/fancybox/helpers/jquery.fancybox-buttons.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/fancybox/helpers/jquery.fancybox-media.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/fancybox/helpers/jquery.fancybox-thumbs.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/fancybox/jquery.fancybox.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/fancybox/jquery.fancybox.pack.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/fancybox/lib/jquery.mousewheel-3.0.6.pack.js +0 -0
- data/app/assets/javascripts/refinery/photo_gallery/photo_gallery.js +0 -0
- data/app/assets/stylesheets/refinery/photo_gallery/admin/chosen.css.scss +262 -262
- data/app/assets/stylesheets/refinery/photo_gallery/admin/photo_gallery.css.scss +1 -13
- data/app/assets/stylesheets/refinery/photo_gallery/admin/plupload/jquery.plupload.queue.css.scss +0 -0
- data/app/assets/stylesheets/refinery/photo_gallery/admin/plupload/jquery.ui.plupload.css.scss +0 -0
- data/app/assets/stylesheets/refinery/photo_gallery/fancybox/helpers/jquery.fancybox-buttons.css.scss +0 -0
- data/app/assets/stylesheets/refinery/photo_gallery/fancybox/helpers/jquery.fancybox-thumbs.css +0 -0
- data/app/assets/stylesheets/refinery/photo_gallery/fancybox/jquery.fancybox.css.scss +0 -0
- data/app/controllers/refinery/photo_gallery/admin/albums_controller.rb +10 -3
- data/app/controllers/refinery/photo_gallery/admin/collections_controller.rb +8 -0
- data/app/controllers/refinery/photo_gallery/admin/photos_controller.rb +19 -8
- data/app/helpers/refinery/photo_gallery/admin/photos_helper.rb +5 -1
- data/app/helpers/refinery/photo_gallery/albums_helper.rb +0 -0
- data/app/helpers/refinery/photo_gallery/photo_gallery_helper.rb +0 -0
- data/app/models/refinery/album_page.rb +0 -1
- data/app/models/refinery/photo_gallery/album.rb +0 -2
- data/app/models/refinery/photo_gallery/collection.rb +0 -2
- data/app/models/refinery/photo_gallery/collection_album.rb +0 -0
- data/app/models/refinery/photo_gallery/photo.rb +14 -16
- data/app/sweepers/refinery/admin/album_page_sweeper.rb +0 -0
- data/app/sweepers/refinery/photo_gallery/admin/album_sweeper.rb +0 -0
- data/app/sweepers/refinery/photo_gallery/admin/photo_sweeper.rb +0 -0
- data/app/uploaders/refinery/photo_gallery/admin/file_uploader.rb +7 -1
- data/app/views/refinery/admin/pages/tabs/_form.html.erb +0 -0
- data/app/views/refinery/admin/pages/tabs/_photo_gallery.html.erb +0 -0
- data/app/views/refinery/admin/pages/tabs/_photo_pages_bar.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/_submenu.html.erb +4 -30
- data/app/views/refinery/photo_gallery/admin/albums/_album.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/albums/_albums.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/albums/_form.html.erb +1 -2
- data/app/views/refinery/photo_gallery/admin/albums/edit.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/albums/index.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/albums/new.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/collections/_collection.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/collections/_collections.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/collections/_form.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/collections/edit.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/collections/index.html.erb +1 -0
- data/app/views/refinery/photo_gallery/admin/collections/new.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/photos/_destroy.js.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/photos/_form.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/photos/_form_actions.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/photos/_form_fields.html.erb +1 -0
- data/app/views/refinery/photo_gallery/admin/photos/_form_fields_actions.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/photos/edit_multiple.html.erb +0 -0
- data/app/views/refinery/photo_gallery/admin/photos/upload.html.erb +4 -3
- data/app/views/refinery/photo_gallery/albums/_photos.html.erb +6 -2
- data/app/views/refinery/photo_gallery/albums/_photos.js.erb +0 -0
- data/app/views/refinery/photo_gallery/albums/_show.html.erb +0 -0
- data/config/initializers/carrierwave.rb +0 -0
- data/config/initializers/form_builder.rb +0 -0
- data/config/initializers/refinery/core.rb +0 -0
- data/config/initializers/s3.rb +0 -0
- data/config/locales/en.yml +2 -2
- data/config/locales/pl.yml +110 -0
- data/config/locales/sk.yml +2 -2
- data/config/routes.rb +0 -0
- data/db/migrate/20120804063842_create_albums.rb +0 -0
- data/db/migrate/20120805131321_create_collections.rb +0 -0
- data/db/migrate/20120805131547_create_collection_albums.rb +0 -0
- data/db/migrate/20120805165238_create_photos.rb +0 -0
- data/db/migrate/20120805222125_add_indexes.rb +2 -2
- data/db/migrate/20120805222126_create_album_pages.rb +0 -0
- data/db/migrate/20130127175559_add_url_to_photos.rb +5 -0
- data/db/migrate/20130128173800_add_css_styles_and_show_original_fields_to_photos.rb +6 -0
- data/db/seeds.rb +0 -0
- data/lib/generators/refinery/photo_gallery_generator.rb +5 -2
- data/lib/generators/refinery/templates/config/initializers/refinery/photo_gallery.rb.erb +3 -2
- data/lib/refinery/photo_gallery.rb +0 -1
- data/lib/refinery/photo_gallery/configuration.rb +7 -1
- data/lib/refinery/photo_gallery/engine.rb +0 -1
- data/lib/refinery/photo_gallery/extensions/pages_controller_extension.rb +0 -0
- data/lib/refinery/photo_gallery/extensions/pages_extension.rb +4 -12
- data/lib/refinery/photo_gallery/version.rb +2 -2
- data/lib/refinerycms-photo-gallery.rb +0 -0
- data/refinerycms-photo-gallery.gemspec +2 -3
- data/spec/factories/album_photos.rb +5 -0
- data/spec/factories/albums.rb +23 -0
- data/spec/factories/collections.rb +6 -0
- data/spec/factories/photos.rb +12 -0
- data/spec/factories/user.rb +27 -0
- data/spec/features/manage_albums_spec.rb +93 -0
- data/spec/features/manage_collections_spec.rb +62 -0
- data/spec/features/manage_photos_spec.rb +47 -0
- data/spec/spec_helper.rb +32 -0
- data/spec/support/images/refinery-logo-trans.png +0 -0
- data/tasks/rspec.rake +6 -0
- data/tasks/testing.rake +8 -0
- metadata +110 -63
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 00fe71a7431c8031c2342d69504077f545a1d750
|
4
|
+
data.tar.gz: 87e7b252e70f8bbba11e8ed41060b10529797d61
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b29a94104225ad70863752e2f104194b7c8c73237e29b9e208be01eb3af8e5f6ec7f604db7112adb8084deeaeb82b332976996f0f2a87aaa0cfbf7525dda4002
|
7
|
+
data.tar.gz: dd0149397b8f11315e03cc47cfd90efab4f13cc757ac3355c0dac1463ba6eb2fdc3f8cf080a1810af46ca6f4f12eaa7318bd19aa145661c951f8d7644f990f62
|
data/.gitignore
ADDED
data/Changelog.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
## 0.2.0 [unreleased]
|
2
|
+
* introduce support for Rails 4.2 and Refinery 3.0
|
3
|
+
* introduce Strong Parameters protection instead of attr_*
|
4
|
+
* change Plupload version from 1.5.9 to 2.1.9 due to JQuery incompatibilities
|
5
|
+
* remove sweepers and observers (caching functionality)
|
6
|
+
* add css_class and preview_type field [jak4]
|
7
|
+
* add url field for photo model [jak4]
|
8
|
+
* added polish locale [szajbus]
|
9
|
+
* add custom url & css class [QEDio]
|
10
|
+
|
11
|
+
|
1
12
|
## 0.1.2 [31 January 2013]
|
2
13
|
* fix issue #3 by changing around_filter to before_filter.
|
3
14
|
* fix issue #2 slide_to JS function don't work in Chrome
|
data/Gemfile
CHANGED
@@ -1,26 +1,44 @@
|
|
1
|
-
source
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gem "refinerycms-authentication-devise", '~> 1.0.4'
|
2
4
|
|
3
5
|
gemspec
|
4
6
|
|
5
|
-
gem 'refinerycms', '~>
|
7
|
+
gem 'refinerycms', '~> 3.0.5'
|
8
|
+
|
9
|
+
group :development, :test do
|
10
|
+
gem 'refinerycms-testing', '~> 3.0.5'
|
11
|
+
end
|
12
|
+
|
13
|
+
# Add the default visual editor, for now.
|
14
|
+
gem 'refinerycms-wymeditor', ['~> 1.0', '>= 1.0.6']
|
6
15
|
|
7
|
-
|
16
|
+
group :test do
|
17
|
+
gem 'pry'
|
18
|
+
gem 'launchy'
|
19
|
+
gem 'poltergeist'
|
20
|
+
gem 'capybara-screenshot'
|
21
|
+
end
|
8
22
|
|
9
|
-
#
|
10
|
-
|
11
|
-
|
23
|
+
# Database Configuration
|
24
|
+
unless ENV['TRAVIS']
|
25
|
+
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
26
|
+
gem 'sqlite3', :platform => :ruby
|
27
|
+
end
|
12
28
|
|
13
|
-
# -- Photo resizing
|
14
|
-
# MiniMagick
|
15
|
-
#gem "mini_magick"
|
16
29
|
|
17
|
-
|
18
|
-
|
30
|
+
if !ENV['TRAVIS'] || ENV['DB'] == 'postgresql'
|
31
|
+
gem 'activerecord-jdbcpostgresql-adapter', :platform => :jruby
|
32
|
+
gem 'pg', :platform => :ruby
|
33
|
+
end
|
19
34
|
|
20
|
-
#
|
21
|
-
|
22
|
-
|
35
|
+
# Refinery/rails should pull in the proper versions of these
|
36
|
+
group :assets do
|
37
|
+
gem 'sass-rails'
|
38
|
+
gem 'coffee-rails'
|
39
|
+
end
|
23
40
|
|
24
|
-
#
|
25
|
-
|
26
|
-
|
41
|
+
# Load local gems according to Refinery developer preference.
|
42
|
+
if File.exist? local_gemfile = File.expand_path('../.gemfile', __FILE__)
|
43
|
+
eval File.read(local_gemfile)
|
44
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,301 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
refinerycms-photo-gallery (0.2.0)
|
5
|
+
carrierwave (= 0.6.2)
|
6
|
+
mime-types
|
7
|
+
mini_exiftool
|
8
|
+
mini_magick
|
9
|
+
refinerycms-core (~> 3.0.5)
|
10
|
+
|
11
|
+
GEM
|
12
|
+
remote: https://rubygems.org/
|
13
|
+
specs:
|
14
|
+
actionmailer (4.2.7.1)
|
15
|
+
actionpack (= 4.2.7.1)
|
16
|
+
actionview (= 4.2.7.1)
|
17
|
+
activejob (= 4.2.7.1)
|
18
|
+
mail (~> 2.5, >= 2.5.4)
|
19
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
20
|
+
actionpack (4.2.7.1)
|
21
|
+
actionview (= 4.2.7.1)
|
22
|
+
activesupport (= 4.2.7.1)
|
23
|
+
rack (~> 1.6)
|
24
|
+
rack-test (~> 0.6.2)
|
25
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
+
actionview (4.2.7.1)
|
28
|
+
activesupport (= 4.2.7.1)
|
29
|
+
builder (~> 3.1)
|
30
|
+
erubis (~> 2.7.0)
|
31
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
33
|
+
activejob (4.2.7.1)
|
34
|
+
activesupport (= 4.2.7.1)
|
35
|
+
globalid (>= 0.3.0)
|
36
|
+
activemodel (4.2.7.1)
|
37
|
+
activesupport (= 4.2.7.1)
|
38
|
+
builder (~> 3.1)
|
39
|
+
activerecord (4.2.7.1)
|
40
|
+
activemodel (= 4.2.7.1)
|
41
|
+
activesupport (= 4.2.7.1)
|
42
|
+
arel (~> 6.0)
|
43
|
+
activesupport (4.2.7.1)
|
44
|
+
i18n (~> 0.7)
|
45
|
+
json (~> 1.7, >= 1.7.7)
|
46
|
+
minitest (~> 5.1)
|
47
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
48
|
+
tzinfo (~> 1.1)
|
49
|
+
acts_as_indexed (0.8.3)
|
50
|
+
addressable (2.5.0)
|
51
|
+
public_suffix (~> 2.0, >= 2.0.2)
|
52
|
+
arel (6.0.3)
|
53
|
+
awesome_nested_set (3.0.3)
|
54
|
+
activerecord (>= 4.0.0, < 5)
|
55
|
+
babosa (1.0.2)
|
56
|
+
bcrypt (3.1.11)
|
57
|
+
builder (3.2.2)
|
58
|
+
capybara (2.4.4)
|
59
|
+
mime-types (>= 1.16)
|
60
|
+
nokogiri (>= 1.3.3)
|
61
|
+
rack (>= 1.0.0)
|
62
|
+
rack-test (>= 0.5.4)
|
63
|
+
xpath (~> 2.0)
|
64
|
+
capybara-screenshot (1.0.14)
|
65
|
+
capybara (>= 1.0, < 3)
|
66
|
+
launchy
|
67
|
+
carrierwave (0.6.2)
|
68
|
+
activemodel (>= 3.2.0)
|
69
|
+
activesupport (>= 3.2.0)
|
70
|
+
cliver (0.3.2)
|
71
|
+
coderay (1.1.1)
|
72
|
+
coffee-rails (4.2.1)
|
73
|
+
coffee-script (>= 2.2.0)
|
74
|
+
railties (>= 4.0.0, < 5.2.x)
|
75
|
+
coffee-script (2.4.1)
|
76
|
+
coffee-script-source
|
77
|
+
execjs
|
78
|
+
coffee-script-source (1.12.2)
|
79
|
+
concurrent-ruby (1.0.3)
|
80
|
+
database_cleaner (1.3.0)
|
81
|
+
decorators (2.0.2)
|
82
|
+
railties (>= 4.0.0, < 5.1)
|
83
|
+
devise (3.5.10)
|
84
|
+
bcrypt (~> 3.0)
|
85
|
+
orm_adapter (~> 0.1)
|
86
|
+
railties (>= 3.2.6, < 5)
|
87
|
+
responders
|
88
|
+
thread_safe (~> 0.1)
|
89
|
+
warden (~> 1.2.3)
|
90
|
+
diff-lcs (1.2.5)
|
91
|
+
diffy (3.1.0)
|
92
|
+
dragonfly (1.0.12)
|
93
|
+
addressable (~> 2.3)
|
94
|
+
multi_json (~> 1.0)
|
95
|
+
rack (>= 1.3.0)
|
96
|
+
erubis (2.7.0)
|
97
|
+
execjs (2.7.0)
|
98
|
+
factory_girl (4.5.0)
|
99
|
+
activesupport (>= 3.0.0)
|
100
|
+
factory_girl_rails (4.6.0)
|
101
|
+
factory_girl (~> 4.5.0)
|
102
|
+
railties (>= 3.0.0)
|
103
|
+
font-awesome-sass (4.7.0)
|
104
|
+
sass (>= 3.2)
|
105
|
+
friendly_id (5.1.0)
|
106
|
+
activerecord (>= 4.0.0)
|
107
|
+
globalid (0.3.7)
|
108
|
+
activesupport (>= 4.1.0)
|
109
|
+
globalize (5.0.1)
|
110
|
+
activemodel (>= 4.2.0, < 4.3)
|
111
|
+
activerecord (>= 4.2.0, < 4.3)
|
112
|
+
i18n (0.7.0)
|
113
|
+
jquery-rails (4.2.1)
|
114
|
+
rails-dom-testing (>= 1, < 3)
|
115
|
+
railties (>= 4.2.0)
|
116
|
+
thor (>= 0.14, < 2.0)
|
117
|
+
jquery-ui-rails (5.0.5)
|
118
|
+
railties (>= 3.2.16)
|
119
|
+
json (1.8.3)
|
120
|
+
launchy (2.4.3)
|
121
|
+
addressable (~> 2.3)
|
122
|
+
loofah (2.0.3)
|
123
|
+
nokogiri (>= 1.5.9)
|
124
|
+
mail (2.6.4)
|
125
|
+
mime-types (>= 1.16, < 4)
|
126
|
+
method_source (0.8.2)
|
127
|
+
mime-types (3.1)
|
128
|
+
mime-types-data (~> 3.2015)
|
129
|
+
mime-types-data (3.2016.0521)
|
130
|
+
mini_exiftool (2.8.0)
|
131
|
+
mini_magick (4.6.0)
|
132
|
+
mini_portile2 (2.1.0)
|
133
|
+
minitest (5.10.1)
|
134
|
+
multi_json (1.12.1)
|
135
|
+
nokogiri (1.6.8.1)
|
136
|
+
mini_portile2 (~> 2.1.0)
|
137
|
+
orm_adapter (0.5.0)
|
138
|
+
pg (0.19.0)
|
139
|
+
poltergeist (1.12.0)
|
140
|
+
capybara (~> 2.1)
|
141
|
+
cliver (~> 0.3.1)
|
142
|
+
websocket-driver (>= 0.2.0)
|
143
|
+
pry (0.10.4)
|
144
|
+
coderay (~> 1.1.0)
|
145
|
+
method_source (~> 0.8.1)
|
146
|
+
slop (~> 3.4)
|
147
|
+
public_suffix (2.0.4)
|
148
|
+
rack (1.6.5)
|
149
|
+
rack-test (0.6.3)
|
150
|
+
rack (>= 1.0)
|
151
|
+
rails-deprecated_sanitizer (1.0.3)
|
152
|
+
activesupport (>= 4.2.0.alpha)
|
153
|
+
rails-dom-testing (1.0.7)
|
154
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
155
|
+
nokogiri (~> 1.6.0)
|
156
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
157
|
+
rails-html-sanitizer (1.0.3)
|
158
|
+
loofah (~> 2.0)
|
159
|
+
rails-i18n (4.0.9)
|
160
|
+
i18n (~> 0.7)
|
161
|
+
railties (~> 4.0)
|
162
|
+
railties (4.2.7.1)
|
163
|
+
actionpack (= 4.2.7.1)
|
164
|
+
activesupport (= 4.2.7.1)
|
165
|
+
rake (>= 0.8.7)
|
166
|
+
thor (>= 0.18.1, < 2.0)
|
167
|
+
rake (12.0.0)
|
168
|
+
refinerycms (3.0.5)
|
169
|
+
refinerycms-core (= 3.0.5)
|
170
|
+
refinerycms-images (= 3.0.5)
|
171
|
+
refinerycms-pages (= 3.0.5)
|
172
|
+
refinerycms-resources (= 3.0.5)
|
173
|
+
refinerycms-authentication-devise (1.0.4)
|
174
|
+
actionmailer (~> 4.2, >= 4.2.0)
|
175
|
+
devise (~> 3.0, >= 3.2.4)
|
176
|
+
friendly_id (~> 5.1.0)
|
177
|
+
refinerycms-core (~> 3.0, >= 3.0.0)
|
178
|
+
refinerycms-core (3.0.5)
|
179
|
+
actionpack (>= 4.2.3, < 5.0)
|
180
|
+
activerecord (>= 4.2.3, < 5.0)
|
181
|
+
awesome_nested_set (~> 3.0.0)
|
182
|
+
coffee-rails (~> 4.0, >= 4.0.0)
|
183
|
+
decorators (~> 2.0.0)
|
184
|
+
font-awesome-sass (>= 4.3.0, < 5.0)
|
185
|
+
jquery-rails (>= 2.3.0)
|
186
|
+
jquery-ui-rails (~> 5.0.0)
|
187
|
+
railties (>= 4.2.3, < 5.0)
|
188
|
+
refinerycms-i18n (~> 3.0.0)
|
189
|
+
sass-rails (>= 4.0, < 5.1)
|
190
|
+
truncate_html (~> 0.9)
|
191
|
+
will_paginate (~> 3.0.2)
|
192
|
+
zilch-authorisation
|
193
|
+
refinerycms-i18n (3.0.1)
|
194
|
+
rails-i18n (~> 4.0.1)
|
195
|
+
routing-filter (>= 0.4.0)
|
196
|
+
refinerycms-images (3.0.5)
|
197
|
+
dragonfly (~> 1.0.0)
|
198
|
+
globalize (>= 4.0.0, < 5.2)
|
199
|
+
refinerycms-core (= 3.0.5)
|
200
|
+
refinerycms-pages (3.0.5)
|
201
|
+
awesome_nested_set (~> 3.0.0)
|
202
|
+
babosa (!= 0.3.6)
|
203
|
+
diffy (~> 3.1.0)
|
204
|
+
friendly_id (>= 5.1.0, < 5.3)
|
205
|
+
globalize (>= 4.0.0, < 5.2)
|
206
|
+
refinerycms-core (= 3.0.5)
|
207
|
+
seo_meta (~> 2.0.0.rc.1)
|
208
|
+
speakingurl-rails (~> 8.0.0)
|
209
|
+
refinerycms-resources (3.0.5)
|
210
|
+
acts_as_indexed (~> 0.8.0)
|
211
|
+
dragonfly (~> 1.0.0)
|
212
|
+
globalize (>= 4.0.0, < 5.2)
|
213
|
+
refinerycms-core (= 3.0.5)
|
214
|
+
refinerycms-testing (3.0.5)
|
215
|
+
capybara (~> 2.4.3)
|
216
|
+
database_cleaner (~> 1.3.0)
|
217
|
+
factory_girl_rails (~> 4.6.0)
|
218
|
+
refinerycms-core (= 3.0.5)
|
219
|
+
rspec-rails (~> 3.0)
|
220
|
+
refinerycms-wymeditor (1.1.0)
|
221
|
+
refinerycms-core (>= 3.0.0, < 5.0)
|
222
|
+
responders (2.3.0)
|
223
|
+
railties (>= 4.2.0, < 5.1)
|
224
|
+
routing-filter (0.6.0)
|
225
|
+
actionpack (>= 4.2, < 5.1)
|
226
|
+
activesupport (>= 4.2, < 5.1)
|
227
|
+
rspec-core (3.5.4)
|
228
|
+
rspec-support (~> 3.5.0)
|
229
|
+
rspec-expectations (3.5.0)
|
230
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
231
|
+
rspec-support (~> 3.5.0)
|
232
|
+
rspec-mocks (3.5.0)
|
233
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
234
|
+
rspec-support (~> 3.5.0)
|
235
|
+
rspec-rails (3.5.2)
|
236
|
+
actionpack (>= 3.0)
|
237
|
+
activesupport (>= 3.0)
|
238
|
+
railties (>= 3.0)
|
239
|
+
rspec-core (~> 3.5.0)
|
240
|
+
rspec-expectations (~> 3.5.0)
|
241
|
+
rspec-mocks (~> 3.5.0)
|
242
|
+
rspec-support (~> 3.5.0)
|
243
|
+
rspec-support (3.5.0)
|
244
|
+
sass (3.4.23)
|
245
|
+
sass-rails (5.0.6)
|
246
|
+
railties (>= 4.0.0, < 6)
|
247
|
+
sass (~> 3.1)
|
248
|
+
sprockets (>= 2.8, < 4.0)
|
249
|
+
sprockets-rails (>= 2.0, < 4.0)
|
250
|
+
tilt (>= 1.1, < 3)
|
251
|
+
seo_meta (2.0.0.rc.1)
|
252
|
+
railties (>= 3.0.0)
|
253
|
+
slop (3.6.0)
|
254
|
+
speakingurl-rails (8.0.2)
|
255
|
+
railties (>= 3.1)
|
256
|
+
sprockets (3.7.1)
|
257
|
+
concurrent-ruby (~> 1.0)
|
258
|
+
rack (> 1, < 3)
|
259
|
+
sprockets-rails (3.2.0)
|
260
|
+
actionpack (>= 4.0)
|
261
|
+
activesupport (>= 4.0)
|
262
|
+
sprockets (>= 3.0.0)
|
263
|
+
sqlite3 (1.3.12)
|
264
|
+
thor (0.19.4)
|
265
|
+
thread_safe (0.3.5)
|
266
|
+
tilt (2.0.5)
|
267
|
+
truncate_html (0.9.3)
|
268
|
+
tzinfo (1.2.2)
|
269
|
+
thread_safe (~> 0.1)
|
270
|
+
warden (1.2.6)
|
271
|
+
rack (>= 1.0)
|
272
|
+
websocket-driver (0.6.4)
|
273
|
+
websocket-extensions (>= 0.1.0)
|
274
|
+
websocket-extensions (0.1.2)
|
275
|
+
will_paginate (3.0.12)
|
276
|
+
xpath (2.0.0)
|
277
|
+
nokogiri (~> 1.3)
|
278
|
+
zilch-authorisation (0.0.1)
|
279
|
+
|
280
|
+
PLATFORMS
|
281
|
+
ruby
|
282
|
+
|
283
|
+
DEPENDENCIES
|
284
|
+
activerecord-jdbcpostgresql-adapter
|
285
|
+
activerecord-jdbcsqlite3-adapter
|
286
|
+
capybara-screenshot
|
287
|
+
coffee-rails
|
288
|
+
launchy
|
289
|
+
pg
|
290
|
+
poltergeist
|
291
|
+
pry
|
292
|
+
refinerycms (~> 3.0.5)
|
293
|
+
refinerycms-authentication-devise (~> 1.0.4)
|
294
|
+
refinerycms-photo-gallery!
|
295
|
+
refinerycms-testing (~> 3.0.5)
|
296
|
+
refinerycms-wymeditor (~> 1.0, >= 1.0.6)
|
297
|
+
sass-rails
|
298
|
+
sqlite3
|
299
|
+
|
300
|
+
BUNDLED WITH
|
301
|
+
1.13.7
|
data/LICENSE.md
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -4,7 +4,9 @@ __Photo gallery engine for Refinery CMS.__
|
|
4
4
|
|
5
5
|
## Requirements
|
6
6
|
|
7
|
-
|
7
|
+
Currently unreleased version 0.2.x in master branch supports Rails 4.2.x and Refinery CMS ~> 3.0.0
|
8
|
+
|
9
|
+
Previous versions of refinerycms-photo-gallery supports Rails 3.2.x and Refinery CMS ~> 2.0.3.
|
8
10
|
|
9
11
|
## Features
|
10
12
|
|
@@ -32,10 +34,6 @@ All screenshots are in branch screenshots
|
|
32
34
|
![Frontend album](https://raw.github.com/Matho/refinerycms-photo-gallery/screenshots/screenshots/12_show_photo_using_fancybox.png)
|
33
35
|
|
34
36
|
|
35
|
-
## Demo
|
36
|
-
|
37
|
-
TODO
|
38
|
-
|
39
37
|
## Options
|
40
38
|
|
41
39
|
* choose runtimes
|
@@ -57,7 +55,7 @@ Client side image resizing with Plupload is possible on Firefox 3.5+ (with fixed
|
|
57
55
|
Safari doesn't support direct data access to the selected files. Opera 12.00 + supports drag&drop and also client side image resizing.
|
58
56
|
|
59
57
|
|
60
|
-
## Installation
|
58
|
+
## Installation for ~> 0.2.0
|
61
59
|
|
62
60
|
Make sure, you [have installed ImageMagick](http://www.imagemagick.org/script/install-source.php#unix) and ImageMagick dev.
|
63
61
|
On Ubuntu 12.04 you can install dev suite with commands:
|
@@ -71,7 +69,12 @@ Instructions for installation you can find under [www.sno.phy.queensu.ca/~phil/e
|
|
71
69
|
|
72
70
|
|
73
71
|
Open up your ``Gemfile`` and add at the bottom this line:
|
72
|
+
-for edge version:
|
73
|
+
```ruby
|
74
|
+
gem 'refinerycms-photo-gallery', '~> 0.2.0', :github=>"Matho/refinerycms-photo-gallery", :branch=>"master"
|
75
|
+
```
|
74
76
|
|
77
|
+
-for latest stable version
|
75
78
|
```ruby
|
76
79
|
gem 'refinerycms-photo-gallery', '~> 0.1.0'
|
77
80
|
```
|
@@ -99,9 +102,49 @@ Seed your database:
|
|
99
102
|
```ruby
|
100
103
|
rake db:seed
|
101
104
|
```
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
+
|
106
|
+
Override pages/show.html file using
|
107
|
+
```ruby
|
108
|
+
rake refinery:override view=pages/show.html.erb
|
109
|
+
```
|
110
|
+
and at the bottom of file append:
|
111
|
+
```ruby
|
112
|
+
<%= render "/refinery/photo_gallery/albums/show" %>
|
113
|
+
```
|
114
|
+
It will ensure album photos will be shown. Change it according your needs.
|
115
|
+
|
116
|
+
|
117
|
+
You have to change list of custom manifest files in your ror app. Copy following values to your app's config/initializers/asset.rb file:
|
118
|
+
```ruby
|
119
|
+
Rails.application.config.assets.precompile += [
|
120
|
+
"refinery/photo_gallery/admin/photo_gallery.css",
|
121
|
+
"refinery/photo_gallery/admin/chosen.css",
|
122
|
+
"refinery/photo_gallery/admin/icons/loading.gif",
|
123
|
+
"refinery/photo_gallery/admin/photo_gallery.js"
|
124
|
+
]
|
125
|
+
```
|
126
|
+
|
127
|
+
Then you need to override PagesController in admin namespace. In your terminal run:
|
128
|
+
```ruby
|
129
|
+
rake refinery:override controller=admin/pages_controller
|
130
|
+
```
|
131
|
+
Then open this overriden file in your app's folder - app/controllers/refinery/admin/pages_controller.rb Look for permitted_page_params method and add check for another attribute:
|
132
|
+
```ruby
|
133
|
+
album_page: [:album_id]
|
134
|
+
```
|
135
|
+
|
136
|
+
It should look like:
|
137
|
+
```ruby
|
138
|
+
def permitted_page_params
|
139
|
+
[
|
140
|
+
:browser_title, :draft, :link_url, :menu_title, :meta_description,
|
141
|
+
:parent_id, :skip_to_first_child, :show_in_menu, :title, :view_template,
|
142
|
+
:layout_template, :custom_slug, parts_attributes: [:id, :title, :slug, :body, :position], album_page: [:album_id]
|
143
|
+
]
|
144
|
+
end
|
145
|
+
```
|
146
|
+
|
147
|
+
## Configurations && Fancybox installation
|
105
148
|
|
106
149
|
You can configure gem in ``your_app_name/config/initializers/refinery/photo_gallery.rb``
|
107
150
|
|
@@ -109,7 +152,7 @@ If you want to use ajaxy pagination, copy ``app/assets/javascripts/refinery/phot
|
|
109
152
|
|
110
153
|
Check, if you have ``jquery.js`` included in your backend.
|
111
154
|
|
112
|
-
If you want to use Fancybox
|
155
|
+
If you want to use Fancybox on frontend, copy ``photo_gallery/app/assets/images/refinery/photo_gallery/fancybox``, ``photo_gallery/app/assets/javascripts/refinery/photo_gallery/fancybox``, ``photo_gallery/app/assets/refinery/photo_gallery/stylesheets/fancybox`` to your
|
113
156
|
refinery cms assets directory.
|
114
157
|
|
115
158
|
Then you need to add fancybox js files to your js manifest file in ``your_app_name/app/javascripts/application.js``:
|
@@ -210,9 +253,16 @@ Remove fancybox init javascript from _javascripts.html.erb file
|
|
210
253
|
|
211
254
|
Remove gem from Gemfile
|
212
255
|
|
256
|
+
## Testing
|
257
|
+
* cd to this engine path
|
258
|
+
* bundle install
|
259
|
+
* rake refinery:testing:dummy_app
|
260
|
+
* rake spec
|
261
|
+
* Probably you will need to set some asset manifest to dummy's app manifest - see console output for errors
|
262
|
+
|
263
|
+
|
213
264
|
## Todo list
|
214
265
|
|
215
|
-
* create app tests
|
216
266
|
* show live links in admin
|
217
267
|
* create pop-up window to upload photos from pages area, like page-images
|
218
268
|
* add checkboxes to delete multiple/all photos in album
|
@@ -235,9 +285,9 @@ file extensions to upload queue. ( But server side validation reject these files
|
|
235
285
|
* album/photo tags using acts_as_taggable ?
|
236
286
|
* show photo location on google maps ?
|
237
287
|
|
238
|
-
## Testing
|
239
288
|
|
240
|
-
|
289
|
+
|
290
|
+
|
241
291
|
|
242
292
|
## License
|
243
293
|
|