voluntary_feedback 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/CHANGELOG.md +16 -0
- data/README.md +3 -2
- data/app/assets/javascripts/voluntary_feedback/app.js.coffee +9 -0
- data/app/assets/javascripts/voluntary_feedback/application.js +3 -0
- data/app/assets/javascripts/voluntary_feedback/components/reply_cell_component.js.coffee +44 -0
- data/app/assets/javascripts/voluntary_feedback/components/reply_comments_component.js.coffee +17 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/categories_controller.js.coffee +5 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/category_controller.js.coffee +1 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/communities_controller.js.coffee +5 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/community_controller.js.coffee +2 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/edit_category_controller.js.coffee +2 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/edit_community_controller.js.coffee +2 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/edit_feedback_controller.js.coffee +2 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/feedback_controller.js.coffee +25 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/feedbacks_controller.js.coffee +11 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/new_category_controller.js.coffee +2 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/new_community_controller.js.coffee +2 -0
- data/app/assets/javascripts/voluntary_feedback/controllers/community/new_feedback_controller.js.coffee +2 -0
- data/app/assets/javascripts/voluntary_feedback/helpers/mood_icon_helper.js.coffee +11 -0
- data/app/assets/javascripts/voluntary_feedback/mixins/community_category_persistence.js.coffee +29 -0
- data/app/assets/javascripts/voluntary_feedback/mixins/community_persistence.js.coffee +33 -0
- data/app/assets/javascripts/voluntary_feedback/mixins/feedback_persistence.js.coffee +39 -0
- data/app/assets/javascripts/voluntary_feedback/mixins/pagination_controller.js.coffee +56 -0
- data/app/assets/javascripts/voluntary_feedback/models/community.js.coffee +7 -0
- data/app/assets/javascripts/voluntary_feedback/models/community_category.js.coffee +4 -0
- data/app/assets/javascripts/voluntary_feedback/models/feedback.js.coffee +12 -0
- data/app/assets/javascripts/voluntary_feedback/models/reply.js.coffee +6 -0
- data/app/assets/javascripts/voluntary_feedback/models/user.js.coffee +18 -0
- data/app/assets/javascripts/voluntary_feedback/router.js.coffee +34 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/categories_route.js.coffee +10 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/category_route.js.coffee +7 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/communities_route.js.coffee +9 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/community_route.js.coffee +4 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/edit_category_route.js.coffee +9 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/edit_community_route.js.coffee +16 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/edit_feedback_route.js.coffee +29 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/feedback_route.js.coffee +28 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/feedbacks_route.js.coffee +42 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/new_category_route.js.coffee +3 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/new_community_route.js.coffee +7 -0
- data/app/assets/javascripts/voluntary_feedback/routes/community/new_feedback_route.js.coffee +8 -0
- data/app/assets/javascripts/voluntary_feedback/templates/application.handlebars.erb +20 -0
- data/app/assets/javascripts/voluntary_feedback/templates/category_form.js.handlebars +13 -0
- data/app/assets/javascripts/voluntary_feedback/templates/communities.js.handlebars +32 -0
- data/app/assets/javascripts/voluntary_feedback/templates/community.js.handlebars +24 -0
- data/app/assets/javascripts/voluntary_feedback/templates/community/categories.js.handlebars +32 -0
- data/app/assets/javascripts/voluntary_feedback/templates/community/category.js.handlebars +11 -0
- data/app/assets/javascripts/voluntary_feedback/templates/community/edit_category.js.handlebars +3 -0
- data/app/assets/javascripts/voluntary_feedback/templates/community/edit_feedback.js.handlebars +3 -0
- data/app/assets/javascripts/voluntary_feedback/templates/community/feedback.js.handlebars +68 -0
- data/app/assets/javascripts/voluntary_feedback/templates/community/feedbacks.js.handlebars +51 -0
- data/app/assets/javascripts/voluntary_feedback/templates/community/new_category.js.handlebars +3 -0
- data/app/assets/javascripts/voluntary_feedback/templates/community/new_feedback.js.handlebars +3 -0
- data/app/assets/javascripts/voluntary_feedback/templates/community_form.js.handlebars +29 -0
- data/app/assets/javascripts/voluntary_feedback/templates/components/reply-cell.js.handlebars +34 -0
- data/app/assets/javascripts/voluntary_feedback/templates/components/reply-comments.js.handlebars +27 -0
- data/app/assets/javascripts/voluntary_feedback/templates/edit_community.js.handlebars +3 -0
- data/app/assets/javascripts/voluntary_feedback/templates/feedback_form.js.handlebars +91 -0
- data/app/assets/javascripts/voluntary_feedback/templates/navigation.js.handlebars +28 -0
- data/app/assets/javascripts/voluntary_feedback/templates/new_community.js.handlebars +3 -0
- data/app/assets/javascripts/voluntary_feedback/templates/shared/_pagination.js.handlebars +23 -0
- data/app/assets/stylesheets/voluntary_feedback/application.css +15 -0
- data/app/controllers/product/feedback_controller.rb +16 -0
- data/app/controllers/voluntary/api/v1/communities_controller.rb +67 -0
- data/app/controllers/voluntary/api/v1/community_categories_controller.rb +87 -0
- data/app/controllers/voluntary/api/v1/feedbacks_controller.rb +83 -0
- data/app/controllers/voluntary/api/v1/replies_controller.rb +91 -0
- data/app/models/community.rb +21 -0
- data/app/models/community_category.rb +21 -0
- data/app/models/community_category_feedback.rb +7 -0
- data/app/models/feedback.rb +54 -0
- data/app/models/product/feedback.rb +2 -0
- data/app/models/reply.rb +16 -0
- data/app/serializers/community_category_serializer.rb +3 -0
- data/app/serializers/community_serializer.rb +11 -0
- data/app/serializers/feedback_serializer.rb +11 -0
- data/app/serializers/reply_serializer.rb +19 -0
- data/app/views/product/feedback/index.html.erb +0 -0
- data/config/locales/resources/community/en.yml +36 -0
- data/config/locales/resources/community_category/en.yml +26 -0
- data/config/locales/resources/feedback/en.yml +42 -0
- data/config/locales/resources/reply/en.yml +29 -0
- data/config/routes.rb +11 -1
- data/db/migrate/20150825160004_add_feedback_product.rb +79 -0
- data/lib/voluntary_feedback.rb +3 -1
- data/lib/voluntary_feedback/concerns/model/organization/has_communities.rb +15 -0
- data/lib/voluntary_feedback/concerns/model/user/has_communities.rb +15 -0
- data/lib/voluntary_feedback/engine.rb +13 -0
- data/lib/voluntary_feedback/version.rb +2 -2
- metadata +353 -20
- data/MIT-LICENSE +0 -20
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright 2015 Mathias Gawlista
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|