Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
portalmec
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
PortalMEC
portalmec
Commits
0fe9f3f8
Commit
0fe9f3f8
authored
Jul 06, 2017
by
bfs15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added agpl headers
parent
c677e1f7
Changes
517
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
517 changed files
with
9823 additions
and
0 deletions
+9823
-0
app/builders/learning_object_builder.rb
app/builders/learning_object_builder.rb
+19
-0
app/controllers/application_controller.rb
app/controllers/application_controller.rb
+19
-0
app/controllers/concerns/deleted_objects_controller.rb
app/controllers/concerns/deleted_objects_controller.rb
+19
-0
app/controllers/concerns/downloadable_controller.rb
app/controllers/concerns/downloadable_controller.rb
+19
-0
app/controllers/concerns/followable_controller.rb
app/controllers/concerns/followable_controller.rb
+19
-0
app/controllers/concerns/highlights_controller.rb
app/controllers/concerns/highlights_controller.rb
+19
-0
app/controllers/concerns/paginator.rb
app/controllers/concerns/paginator.rb
+19
-0
app/controllers/concerns/publisher_controller.rb
app/controllers/concerns/publisher_controller.rb
+19
-0
app/controllers/concerns/resource_model.rb
app/controllers/concerns/resource_model.rb
+19
-0
app/controllers/concerns/reviewable_controller.rb
app/controllers/concerns/reviewable_controller.rb
+19
-0
app/controllers/concerns/sociable_controller.rb
app/controllers/concerns/sociable_controller.rb
+19
-0
app/controllers/concerns/stageable_controller.rb
app/controllers/concerns/stageable_controller.rb
+19
-0
app/controllers/concerns/subjectable_controller.rb
app/controllers/concerns/subjectable_controller.rb
+19
-0
app/controllers/concerns/taggable_controller.rb
app/controllers/concerns/taggable_controller.rb
+19
-0
app/controllers/v1/activities_controller.rb
app/controllers/v1/activities_controller.rb
+19
-0
app/controllers/v1/collections_controller.rb
app/controllers/v1/collections_controller.rb
+19
-0
app/controllers/v1/complaints_controller.rb
app/controllers/v1/complaints_controller.rb
+19
-0
app/controllers/v1/contacts_controller.rb
app/controllers/v1/contacts_controller.rb
+19
-0
app/controllers/v1/educational_stages_controller.rb
app/controllers/v1/educational_stages_controller.rb
+19
-0
app/controllers/v1/feed_controller.rb
app/controllers/v1/feed_controller.rb
+19
-0
app/controllers/v1/institutions_controller.rb
app/controllers/v1/institutions_controller.rb
+19
-0
app/controllers/v1/languages_controller.rb
app/controllers/v1/languages_controller.rb
+19
-0
app/controllers/v1/learning_objects/attachment_controller.rb
app/controllers/v1/learning_objects/attachment_controller.rb
+19
-0
app/controllers/v1/learning_objects/chunks_controller.rb
app/controllers/v1/learning_objects/chunks_controller.rb
+19
-0
app/controllers/v1/learning_objects/publishes_controller.rb
app/controllers/v1/learning_objects/publishes_controller.rb
+19
-0
app/controllers/v1/learning_objects/uploads_controller.rb
app/controllers/v1/learning_objects/uploads_controller.rb
+19
-0
app/controllers/v1/learning_objects_controller.rb
app/controllers/v1/learning_objects_controller.rb
+19
-0
app/controllers/v1/licenses_controller.rb
app/controllers/v1/licenses_controller.rb
+19
-0
app/controllers/v1/mime_types_controller.rb
app/controllers/v1/mime_types_controller.rb
+19
-0
app/controllers/v1/object_types_controller.rb
app/controllers/v1/object_types_controller.rb
+19
-0
app/controllers/v1/omniauth_callbacks_controller.rb
app/controllers/v1/omniauth_callbacks_controller.rb
+19
-0
app/controllers/v1/packages_controller.rb
app/controllers/v1/packages_controller.rb
+19
-0
app/controllers/v1/ratings_controller.rb
app/controllers/v1/ratings_controller.rb
+19
-0
app/controllers/v1/reviews_controller.rb
app/controllers/v1/reviews_controller.rb
+19
-0
app/controllers/v1/roles_controller.rb
app/controllers/v1/roles_controller.rb
+19
-0
app/controllers/v1/scores_controller.rb
app/controllers/v1/scores_controller.rb
+19
-0
app/controllers/v1/search_controller.rb
app/controllers/v1/search_controller.rb
+19
-0
app/controllers/v1/statistics_controller.rb
app/controllers/v1/statistics_controller.rb
+19
-0
app/controllers/v1/subjects_controller.rb
app/controllers/v1/subjects_controller.rb
+19
-0
app/controllers/v1/suggestions_controller.rb
app/controllers/v1/suggestions_controller.rb
+19
-0
app/controllers/v1/users/bookmarks_controller.rb
app/controllers/v1/users/bookmarks_controller.rb
+19
-0
app/controllers/v1/users_controller.rb
app/controllers/v1/users_controller.rb
+19
-0
app/controllers/v1/versions_controller.rb
app/controllers/v1/versions_controller.rb
+19
-0
app/jobs/application_job.rb
app/jobs/application_job.rb
+19
-0
app/mailers/application_mailer.rb
app/mailers/application_mailer.rb
+19
-0
app/mailers/contacts_mailer.rb
app/mailers/contacts_mailer.rb
+19
-0
app/mailers/suggestions_mailer.rb
app/mailers/suggestions_mailer.rb
+19
-0
app/models/application.rb
app/models/application.rb
+19
-0
app/models/application_record.rb
app/models/application_record.rb
+19
-0
app/models/bookmark.rb
app/models/bookmark.rb
+19
-0
app/models/bug.rb
app/models/bug.rb
+19
-0
app/models/carousel.rb
app/models/carousel.rb
+19
-0
app/models/collection.rb
app/models/collection.rb
+19
-0
app/models/collection_item.rb
app/models/collection_item.rb
+19
-0
app/models/complaint.rb
app/models/complaint.rb
+19
-0
app/models/complaint_reason.rb
app/models/complaint_reason.rb
+19
-0
app/models/concerns/complainable.rb
app/models/concerns/complainable.rb
+19
-0
app/models/concerns/downloadable.rb
app/models/concerns/downloadable.rb
+19
-0
app/models/concerns/followable.rb
app/models/concerns/followable.rb
+19
-0
app/models/concerns/highlights.rb
app/models/concerns/highlights.rb
+19
-0
app/models/concerns/metadatable.rb
app/models/concerns/metadatable.rb
+19
-0
app/models/concerns/publisher.rb
app/models/concerns/publisher.rb
+19
-0
app/models/concerns/reputationable.rb
app/models/concerns/reputationable.rb
+19
-0
app/models/concerns/reviewable.rb
app/models/concerns/reviewable.rb
+19
-0
app/models/concerns/scoreable.rb
app/models/concerns/scoreable.rb
+19
-0
app/models/concerns/sociable.rb
app/models/concerns/sociable.rb
+19
-0
app/models/concerns/stageable.rb
app/models/concerns/stageable.rb
+19
-0
app/models/concerns/stateful.rb
app/models/concerns/stateful.rb
+19
-0
app/models/concerns/subjectable.rb
app/models/concerns/subjectable.rb
+19
-0
app/models/concerns/taggable.rb
app/models/concerns/taggable.rb
+19
-0
app/models/concerns/tagger.rb
app/models/concerns/tagger.rb
+19
-0
app/models/concerns/thumbnailable.rb
app/models/concerns/thumbnailable.rb
+19
-0
app/models/concerns/trackable.rb
app/models/concerns/trackable.rb
+19
-0
app/models/contact.rb
app/models/contact.rb
+19
-0
app/models/download.rb
app/models/download.rb
+19
-0
app/models/educational_stage.rb
app/models/educational_stage.rb
+19
-0
app/models/follow.rb
app/models/follow.rb
+19
-0
app/models/institution.rb
app/models/institution.rb
+19
-0
app/models/language.rb
app/models/language.rb
+19
-0
app/models/learning_object.rb
app/models/learning_object.rb
+19
-0
app/models/learning_object/attachment.rb
app/models/learning_object/attachment.rb
+19
-0
app/models/license.rb
app/models/license.rb
+19
-0
app/models/like.rb
app/models/like.rb
+19
-0
app/models/mime_type.rb
app/models/mime_type.rb
+19
-0
app/models/object_type.rb
app/models/object_type.rb
+19
-0
app/models/package.rb
app/models/package.rb
+19
-0
app/models/package_item.rb
app/models/package_item.rb
+19
-0
app/models/rate.rb
app/models/rate.rb
+19
-0
app/models/rating.rb
app/models/rating.rb
+19
-0
app/models/review.rb
app/models/review.rb
+19
-0
app/models/review_rating.rb
app/models/review_rating.rb
+19
-0
app/models/role.rb
app/models/role.rb
+19
-0
app/models/score.rb
app/models/score.rb
+19
-0
app/models/score_user_category.rb
app/models/score_user_category.rb
+19
-0
app/models/search.rb
app/models/search.rb
+19
-0
app/models/share.rb
app/models/share.rb
+19
-0
app/models/stage_relation.rb
app/models/stage_relation.rb
+19
-0
app/models/subject.rb
app/models/subject.rb
+19
-0
app/models/subject_relation.rb
app/models/subject_relation.rb
+19
-0
app/models/suggestion.rb
app/models/suggestion.rb
+19
-0
app/models/tag.rb
app/models/tag.rb
+19
-0
app/models/tagging.rb
app/models/tagging.rb
+19
-0
app/models/user.rb
app/models/user.rb
+19
-0
app/models/user_category.rb
app/models/user_category.rb
+19
-0
app/models/view.rb
app/models/view.rb
+19
-0
app/policies/activity_policy.rb
app/policies/activity_policy.rb
+19
-0
app/policies/application_policy.rb
app/policies/application_policy.rb
+19
-0
app/policies/bookmark_policy.rb
app/policies/bookmark_policy.rb
+19
-0
app/policies/collection_policy.rb
app/policies/collection_policy.rb
+19
-0
app/policies/complaint_policy.rb
app/policies/complaint_policy.rb
+19
-0
app/policies/followable_policy.rb
app/policies/followable_policy.rb
+19
-0
app/policies/institution_policy.rb
app/policies/institution_policy.rb
+19
-0
app/policies/language_policy.rb
app/policies/language_policy.rb
+19
-0
app/policies/learning_object_policy.rb
app/policies/learning_object_policy.rb
+19
-0
app/policies/license_policy.rb
app/policies/license_policy.rb
+19
-0
app/policies/mime_type_policy.rb
app/policies/mime_type_policy.rb
+19
-0
app/policies/object_type_policy.rb
app/policies/object_type_policy.rb
+19
-0
app/policies/publisher_policy.rb
app/policies/publisher_policy.rb
+19
-0
app/policies/rating_policy.rb
app/policies/rating_policy.rb
+19
-0
app/policies/reportable_policy.rb
app/policies/reportable_policy.rb
+19
-0
app/policies/review_policy.rb
app/policies/review_policy.rb
+19
-0
app/policies/role_policy.rb
app/policies/role_policy.rb
+19
-0
app/policies/search_policy.rb
app/policies/search_policy.rb
+19
-0
app/policies/sociable_policy.rb
app/policies/sociable_policy.rb
+19
-0
app/policies/stageable_policy.rb
app/policies/stageable_policy.rb
+19
-0
app/policies/subjectable_policy.rb
app/policies/subjectable_policy.rb
+19
-0
app/policies/taggable_policy.rb
app/policies/taggable_policy.rb
+19
-0
app/policies/user_policy.rb
app/policies/user_policy.rb
+19
-0
app/policies/welcome_policy.rb
app/policies/welcome_policy.rb
+19
-0
app/serializers/array_serializer.rb
app/serializers/array_serializer.rb
+19
-0
app/serializers/collection_item_serializer.rb
app/serializers/collection_item_serializer.rb
+19
-0
app/serializers/collection_min_serializer.rb
app/serializers/collection_min_serializer.rb
+19
-0
app/serializers/collection_serializer.rb
app/serializers/collection_serializer.rb
+19
-0
app/serializers/contact_serializer.rb
app/serializers/contact_serializer.rb
+19
-0
app/serializers/follow_serializer.rb
app/serializers/follow_serializer.rb
+19
-0
app/serializers/institution_serializer.rb
app/serializers/institution_serializer.rb
+19
-0
app/serializers/language_serializer.rb
app/serializers/language_serializer.rb
+19
-0
app/serializers/learning_object/attachment_serializer.rb
app/serializers/learning_object/attachment_serializer.rb
+19
-0
app/serializers/learning_object_obaa_serializer.rb
app/serializers/learning_object_obaa_serializer.rb
+19
-0
app/serializers/learning_object_serializer.rb
app/serializers/learning_object_serializer.rb
+19
-0
app/serializers/license_serializer.rb
app/serializers/license_serializer.rb
+19
-0
app/serializers/mime_type_serializer.rb
app/serializers/mime_type_serializer.rb
+19
-0
app/serializers/object_type_serializer.rb
app/serializers/object_type_serializer.rb
+19
-0
app/serializers/paper_trail/version_serializer.rb
app/serializers/paper_trail/version_serializer.rb
+19
-0
app/serializers/public_activity/activity_serializer.rb
app/serializers/public_activity/activity_serializer.rb
+19
-0
app/serializers/rate_serializer.rb
app/serializers/rate_serializer.rb
+19
-0
app/serializers/review_rating_serializer.rb
app/serializers/review_rating_serializer.rb
+19
-0
app/serializers/review_serializer.rb
app/serializers/review_serializer.rb
+19
-0
app/serializers/role_serializer.rb
app/serializers/role_serializer.rb
+19
-0
app/serializers/score_serializer.rb
app/serializers/score_serializer.rb
+19
-0
app/serializers/suggestion_serializer.rb
app/serializers/suggestion_serializer.rb
+19
-0
app/serializers/tag_serializer.rb
app/serializers/tag_serializer.rb
+19
-0
app/serializers/user_devise_serializer.rb
app/serializers/user_devise_serializer.rb
+19
-0
app/serializers/user_serializer.rb
app/serializers/user_serializer.rb
+19
-0
app/services/activities_filter_service.rb
app/services/activities_filter_service.rb
+19
-0
app/services/application_creation_service.rb
app/services/application_creation_service.rb
+19
-0
app/services/applications/app_id_generate_service.rb
app/services/applications/app_id_generate_service.rb
+19
-0
app/services/attachment_cache_service.rb
app/services/attachment_cache_service.rb
+19
-0
app/services/dspace/attachment_mapper.rb
app/services/dspace/attachment_mapper.rb
+19
-0
app/services/dspace/learning_object_importer.rb
app/services/dspace/learning_object_importer.rb
+19
-0
app/services/dspace_service.rb
app/services/dspace_service.rb
+19
-0
app/services/feedback_service.rb
app/services/feedback_service.rb
+19
-0
app/services/gitlab_bugreporter_service.rb
app/services/gitlab_bugreporter_service.rb
+19
-0
app/services/institution_importer.rb
app/services/institution_importer.rb
+19
-0
app/services/learning_object_publisher.rb
app/services/learning_object_publisher.rb
+19
-0
app/services/package_service.rb
app/services/package_service.rb
+19
-0
app/services/package_service/generator.rb
app/services/package_service/generator.rb
+19
-0
app/services/package_service/link.rb
app/services/package_service/link.rb
+19
-0
app/services/reviews/create_review_service.rb
app/services/reviews/create_review_service.rb
+19
-0
app/services/safe_object_type_destroy_service.rb
app/services/safe_object_type_destroy_service.rb
+19
-0
app/services/sanitization_service.rb
app/services/sanitization_service.rb
+19
-0
app/services/score_calculator_service.rb
app/services/score_calculator_service.rb
+19
-0
app/services/search_service.rb
app/services/search_service.rb
+19
-0
app/services/search_service/collection.rb
app/services/search_service/collection.rb
+19
-0
app/services/search_service/learning_object.rb
app/services/search_service/learning_object.rb
+19
-0
app/services/search_service/model.rb
app/services/search_service/model.rb
+19
-0
app/services/search_service/user.rb
app/services/search_service/user.rb
+19
-0
app/services/tags_importer.rb
app/services/tags_importer.rb
+19
-0
app/services/thumbnail_service.rb
app/services/thumbnail_service.rb
+19
-0
app/workers/attachment_cache_worker.rb
app/workers/attachment_cache_worker.rb
+19
-0
app/workers/bitstream_mime_worker.rb
app/workers/bitstream_mime_worker.rb
+19
-0
app/workers/convert_video_worker.rb
app/workers/convert_video_worker.rb
+19
-0
app/workers/delete_bitstream_worker.rb
app/workers/delete_bitstream_worker.rb
+19
-0
app/workers/dspace_upload_worker.rb
app/workers/dspace_upload_worker.rb
+19
-0
app/workers/package_worker.rb
app/workers/package_worker.rb
+19
-0
app/workers/review_average_calculator_worker.rb
app/workers/review_average_calculator_worker.rb
+19
-0
app/workers/score_calculator_worker.rb
app/workers/score_calculator_worker.rb
+19
-0
app/workers/thumbnail_generate_worker.rb
app/workers/thumbnail_generate_worker.rb
+19
-0
config.ru
config.ru
+19
-0
config/application.rb
config/application.rb
+19
-0
config/boot.rb
config/boot.rb
+19
-0
config/cable.yml
config/cable.yml
+19
-0
config/deploy.rb
config/deploy.rb
+19
-0
config/docker/database.yml
config/docker/database.yml
+19
-0
config/docker/sidekiq.yml
config/docker/sidekiq.yml
+19
-0
config/dspace.yml
config/dspace.yml
+19
-0
config/env_vars.sh
config/env_vars.sh
+19
-0
config/environment.rb
config/environment.rb
+19
-0
config/environments/development.rb
config/environments/development.rb
+19
-0
config/environments/production.rb
config/environments/production.rb
+19
-0
config/environments/test.rb
config/environments/test.rb
+19
-0
config/feature.yml
config/feature.yml
+19
-0
config/initializers/active_record_belongs_to_required_by_default.rb
...tializers/active_record_belongs_to_required_by_default.rb
+19
-0
config/initializers/application_controller_renderer.rb
config/initializers/application_controller_renderer.rb
+19
-0
config/initializers/assets.rb
config/initializers/assets.rb
+19
-0
config/initializers/backtrace_silencers.rb
config/initializers/backtrace_silencers.rb
+19
-0
config/initializers/callback_terminator.rb
config/initializers/callback_terminator.rb
+19
-0
config/initializers/cookies_serializer.rb
config/initializers/cookies_serializer.rb
+19
-0
config/initializers/devise.rb
config/initializers/devise.rb
+19
-0
config/initializers/devise_token_auth.rb
config/initializers/devise_token_auth.rb
+19
-0
config/initializers/eager_load.rb
config/initializers/eager_load.rb
+19
-0
config/initializers/elasticsearch.rb
config/initializers/elasticsearch.rb
+19
-0
config/initializers/feature.rb
config/initializers/feature.rb
+19
-0
config/initializers/filter_parameter_logging.rb
config/initializers/filter_parameter_logging.rb
+19
-0
config/initializers/gitlab.rb
config/initializers/gitlab.rb
+19
-0
config/initializers/inflections.rb
config/initializers/inflections.rb
+19
-0
config/initializers/mime_types.rb
config/initializers/mime_types.rb
+19
-0
config/initializers/new_framework_defaults.rb
config/initializers/new_framework_defaults.rb
+19
-0
config/initializers/omniauth.rb
config/initializers/omniauth.rb
+19
-0
config/initializers/paper_trail.rb
config/initializers/paper_trail.rb
+19
-0
config/initializers/postgresql_database_tasks.rb
config/initializers/postgresql_database_tasks.rb
+19
-0
config/initializers/rack-attack.rb
config/initializers/rack-attack.rb
+19
-0
config/initializers/session_store.rb
config/initializers/session_store.rb
+19
-0
config/initializers/sidekiq.rb
config/initializers/sidekiq.rb
+19
-0
config/initializers/wrap_parameters.rb
config/initializers/wrap_parameters.rb
+19
-0
config/locales/activerecord.pt-BR.yml
config/locales/activerecord.pt-BR.yml
+19
-0
config/locales/devise.en.yml
config/locales/devise.en.yml
+19
-0
config/locales/devise.pt-BR.yml
config/locales/devise.pt-BR.yml
+19
-0
config/locales/en.yml
config/locales/en.yml
+19
-0
config/locales/pt-BR.yml
config/locales/pt-BR.yml
+19
-0
config/puma.rb
config/puma.rb
+19
-0
config/routes.rb
config/routes.rb
+19
-0
config/schedule.rb
config/schedule.rb
+19
-0
config/secrets.yml
config/secrets.yml
+19
-0
config/sidekiq.yml
config/sidekiq.yml
+19
-0
config/spring.rb
config/spring.rb
+19
-0
db/migrate/20150731225848_devise_create_users.rb
db/migrate/20150731225848_devise_create_users.rb
+19
-0
db/migrate/20150828140933_devise_token_auth_create_users.rb
db/migrate/20150828140933_devise_token_auth_create_users.rb
+19
-0
db/migrate/20150904134929_create_roles.rb
db/migrate/20150904134929_create_roles.rb
+19
-0
db/migrate/20150904141558_create_join_table_users_roles.rb
db/migrate/20150904141558_create_join_table_users_roles.rb
+19
-0
db/migrate/20150909135745_add_name_column_to_users.rb
db/migrate/20150909135745_add_name_column_to_users.rb
+19
-0
db/migrate/20150921132848_add_attachment_avatar_to_users.rb
db/migrate/20150921132848_add_attachment_avatar_to_users.rb
+19
-0
db/migrate/20150922141008_create_carousels.rb
db/migrate/20150922141008_create_carousels.rb
+19
-0
db/migrate/20150922141009_add_image_column_to_carousels.rb
db/migrate/20150922141009_add_image_column_to_carousels.rb
+19
-0
db/migrate/20160124114036_create_languages.rb
db/migrate/20160124114036_create_languages.rb
+19
-0
db/migrate/20160124145100_create_object_types.rb
db/migrate/20160124145100_create_object_types.rb
+19
-0
db/migrate/20160125120915_create_learning_objects.rb
db/migrate/20160125120915_create_learning_objects.rb
+19
-0
db/migrate/20160125121603_create_topics.rb
db/migrate/20160125121603_create_topics.rb
+19
-0
db/migrate/20160125122642_learning_objects_topics.rb
db/migrate/20160125122642_learning_objects_topics.rb
+19
-0
db/migrate/20160125122943_create_institutions.rb
db/migrate/20160125122943_create_institutions.rb
+19
-0
db/migrate/20160125123423_create_collections.rb
db/migrate/20160125123423_create_collections.rb
+19
-0
db/migrate/20160125124125_institutions_users.rb
db/migrate/20160125124125_institutions_users.rb
+19
-0
db/migrate/20160125124500_create_complaint_reasons.rb
db/migrate/20160125124500_create_complaint_reasons.rb
+19
-0
db/migrate/20160125124508_create_complaints.rb
db/migrate/20160125124508_create_complaints.rb
+19
-0
db/migrate/20160125132447_create_bookmarks.rb
db/migrate/20160125132447_create_bookmarks.rb
+19
-0
db/migrate/20160127135807_create_reviews.rb
db/migrate/20160127135807_create_reviews.rb
+19
-0
db/migrate/20160128115107_create_views.rb
db/migrate/20160128115107_create_views.rb
+19
-0
db/migrate/20160128115428_create_downloads.rb
db/migrate/20160128115428_create_downloads.rb
+19
-0
db/migrate/20160128115555_create_likes.rb
db/migrate/20160128115555_create_likes.rb
+19
-0
db/migrate/20160128115721_create_shares.rb
db/migrate/20160128115721_create_shares.rb
+19
-0
db/migrate/20160128122557_create_ratings.rb
db/migrate/20160128122557_create_ratings.rb
+19
-0
db/migrate/20160128123028_create_review_ratings.rb
db/migrate/20160128123028_create_review_ratings.rb
+19
-0
db/migrate/20160128123901_create_follows.rb
db/migrate/20160128123901_create_follows.rb
+19
-0
db/migrate/20160128125336_create_collection_items.rb
db/migrate/20160128125336_create_collection_items.rb
+19
-0
db/migrate/20160129191739_create_topic_highlights.rb
db/migrate/20160129191739_create_topic_highlights.rb
+19
-0
db/migrate/20160130191533_create_topic_relationships.rb
db/migrate/20160130191533_create_topic_relationships.rb
+19
-0
db/migrate/20160131115733_add_counter_to_view_like_share_download.rb
...20160131115733_add_counter_to_view_like_share_download.rb
+19
-0
db/migrate/20160201135415_create_learning_object_attachments.rb
...rate/20160201135415_create_learning_object_attachments.rb
+19
-0
db/migrate/20160201140345_remove_bitstreams_column_from_learning_objects.rb
...1140345_remove_bitstreams_column_from_learning_objects.rb
+19
-0
db/migrate/20160202121737_add_state_column_for_learning_objects.rb
...e/20160202121737_add_state_column_for_learning_objects.rb
+19
-0
db/migrate/20160202134938_add_id_dspace_column_for_attachments.rb
...te/20160202134938_add_id_dspace_column_for_attachments.rb
+19
-0
db/migrate/20160215113900_add_description_column_for_ratings.rb
...rate/20160215113900_add_description_column_for_ratings.rb
+19
-0
db/migrate/20160217111317_create_rates.rb
db/migrate/20160217111317_create_rates.rb
+19
-0
db/migrate/20160217122253_create_default_column_for_topics.rb
...igrate/20160217122253_create_default_column_for_topics.rb
+19
-0
db/migrate/20160218100700_add_counter_to_rate.rb
db/migrate/20160218100700_add_counter_to_rate.rb
+19
-0
db/migrate/20160219132305_remove_string_thumbnail.rb
db/migrate/20160219132305_remove_string_thumbnail.rb
+19
-0
db/migrate/20160219132533_add_paperclip_thumbnail.rb
db/migrate/20160219132533_add_paperclip_thumbnail.rb
+19
-0
db/migrate/20160222102900_create_code_column_for_languages.rb
...igrate/20160222102900_create_code_column_for_languages.rb
+19
-0
db/migrate/20160222144157_create_scores.rb
db/migrate/20160222144157_create_scores.rb
+19
-0
db/migrate/20160222144216_create_user_categories.rb
db/migrate/20160222144216_create_user_categories.rb
+19
-0
db/migrate/20160222144259_create_score_user_categories.rb
db/migrate/20160222144259_create_score_user_categories.rb
+19
-0
db/migrate/20160225101700_change_users_add_score.rb
db/migrate/20160225101700_change_users_add_score.rb
+19
-0
db/migrate/20160229164600_change_users_add_score_foreign_key.rb
...rate/20160229164600_change_users_add_score_foreign_key.rb
+19
-0
db/migrate/20160229205701_add_keys.rb
db/migrate/20160229205701_add_keys.rb
+19
-0
db/migrate/20160301103500_change_collections_add_score.rb
db/migrate/20160301103500_change_collections_add_score.rb
+19
-0
db/migrate/20160301103501_add_paperclip_to_attachments.rb
db/migrate/20160301103501_add_paperclip_to_attachments.rb
+19
-0
db/migrate/20160302102500_change_scores_add_score_type.rb
db/migrate/20160302102500_change_scores_add_score_type.rb
+19
-0
db/migrate/20160303120433_add_counter_to_user_collection.rb
db/migrate/20160303120433_add_counter_to_user_collection.rb
+19
-0
db/migrate/20160303181501_add_column_mime_type_for_object_types.rb
...e/20160303181501_add_column_mime_type_for_object_types.rb
+19
-0
db/migrate/20160304100533_change_learning_object_score.rb
db/migrate/20160304100533_change_learning_object_score.rb
+19
-0
db/migrate/20160304102333_add_thumbnail_for_collections.rb
db/migrate/20160304102333_add_thumbnail_for_collections.rb
+19
-0
db/migrate/20160309101900_add_attachment_for_learning_objects.rb
...ate/20160309101900_add_attachment_for_learning_objects.rb
+19
-0
db/migrate/20160310121839_create_mime_types.rb
db/migrate/20160310121839_create_mime_types.rb
+19
-0
db/migrate/20160310124058_remove_mime_types_from_object_types.rb
...ate/20160310124058_remove_mime_types_from_object_types.rb
+19
-0
db/migrate/20160310124059_add_associations_to_object_types_and_mime_types.rb
...124059_add_associations_to_object_types_and_mime_types.rb
+19
-0
db/migrate/20160313192800_add_cache_link_to_attachment.rb
db/migrate/20160313192800_add_cache_link_to_attachment.rb
+19
-0
db/migrate/20160415004548_drop_table_topics.rb
db/migrate/20160415004548_drop_table_topics.rb
+19
-0
db/migrate/20160415004803_drop_table_topic_relationships.rb
db/migrate/20160415004803_drop_table_topic_relationships.rb
+19
-0
db/migrate/20160415005006_drop_table_topic_highlights.rb
db/migrate/20160415005006_drop_table_topic_highlights.rb
+19
-0
db/migrate/20160426144714_create_tags.rb
db/migrate/20160426144714_create_tags.rb
+19
-0
db/migrate/20160426144833_create_taggings.rb
db/migrate/20160426144833_create_taggings.rb
+19
-0
db/migrate/20160503140557_create_activities.rb
db/migrate/20160503140557_create_activities.rb
+19
-0
db/migrate/20160512135942_add_deleted_at_to_learning_objects.rb
...rate/20160512135942_add_deleted_at_to_learning_objects.rb
+19
-0
db/migrate/20160512140101_add_deleted_at_to_collections.rb
db/migrate/20160512140101_add_deleted_at_to_collections.rb
+19
-0
db/migrate/20160512140142_add_deleted_at_to_complaints.rb
db/migrate/20160512140142_add_deleted_at_to_complaints.rb
+19
-0
db/migrate/20160512140201_add_deleted_at_to_institutions.rb
db/migrate/20160512140201_add_deleted_at_to_institutions.rb
+19
-0
db/migrate/20160512140234_add_deleted_at_to_reviews.rb
db/migrate/20160512140234_add_deleted_at_to_reviews.rb
+19
-0
db/migrate/20160512140321_add_deleted_at_to_users.rb
db/migrate/20160512140321_add_deleted_at_to_users.rb
+19
-0
db/migrate/20160512140322_ensure_versions_table_is_deleted.rb
...igrate/20160512140322_ensure_versions_table_is_deleted.rb
+19
-0
db/migrate/20160512143532_create_versions.rb
db/migrate/20160512143532_create_versions.rb
+19
-0
db/migrate/20160516125724_create_licenses.rb
db/migrate/20160516125724_create_licenses.rb
+19
-0
db/migrate/20160516125800_add_license_to_learning_objects.rb
db/migrate/20160516125800_add_license_to_learning_objects.rb
+19
-0
db/migrate/20160517140326_create_applications.rb
db/migrate/20160517140326_create_applications.rb
+19
-0
db/migrate/20160519122525_change_state_type_in_learning_objects.rb
...e/20160519122525_change_state_type_in_learning_objects.rb
+19
-0
db/migrate/20161018123459_add_index_to_collection.rb
db/migrate/20161018123459_add_index_to_collection.rb
+19
-0
db/migrate/20161024160053_create_subjects.rb
db/migrate/20161024160053_create_subjects.rb
+19
-0
db/migrate/20161024160126_create_educational_stages.rb
db/migrate/20161024160126_create_educational_stages.rb
+19
-0
db/migrate/20161026114123_change_complaints_columns_names.rb
db/migrate/20161026114123_change_complaints_columns_names.rb
+19
-0
db/migrate/20161026134028_create_subject_relations.rb
db/migrate/20161026134028_create_subject_relations.rb
+19
-0
db/migrate/20161026163027_change_learning_object.rb
db/migrate/20161026163027_change_learning_object.rb
+19
-0
db/migrate/20161027134827_add_index_to_taggings.rb
db/migrate/20161027134827_add_index_to_taggings.rb
+19
-0
db/migrate/20161027141322_create_stage_relations.rb
db/migrate/20161027141322_create_stage_relations.rb
+19
-0
db/migrate/20161107130535_add_description_column_to_users.rb
db/migrate/20161107130535_add_description_column_to_users.rb
+19
-0
db/migrate/20161121115115_add_review_average_to_learning_object.rb
...e/20161121115115_add_review_average_to_learning_object.rb
+19
-0
db/migrate/20161123114102_add_privacy_to_activities.rb
db/migrate/20161123114102_add_privacy_to_activities.rb
+19
-0
db/migrate/20161125134057_add_counts_to_user.rb
db/migrate/20161125134057_add_counts_to_user.rb
+19
-0
db/migrate/20161125153200_add_review_average_to_collection.rb
...igrate/20161125153200_add_review_average_to_collection.rb
+19
-0
db/migrate/20161128122731_change_collection_item_column_name.rb
...rate/20161128122731_change_collection_item_column_name.rb
+19
-0
db/migrate/20170109133754_add_nickname_to_user.rb
db/migrate/20170109133754_add_nickname_to_user.rb
+19
-0
db/migrate/20170207122721_create_contacts.rb
db/migrate/20170207122721_create_contacts.rb
+19
-0
db/migrate/20170208111714_create_suggestions.rb
db/migrate/20170208111714_create_suggestions.rb
+19
-0
db/migrate/20170215113455_add_ip_to_downloads.rb
db/migrate/20170215113455_add_ip_to_downloads.rb
+19
-0
db/migrate/20170215121042_add_index_to_downloads.rb
db/migrate/20170215121042_add_index_to_downloads.rb
+19
-0
db/migrate/20170223132327_create_packages.rb
db/migrate/20170223132327_create_packages.rb
+19
-0
db/migrate/20170223132838_create_package_items.rb
db/migrate/20170223132838_create_package_items.rb
+19
-0
db/migrate/20170224145548_add_filepath_to_package.rb
db/migrate/20170224145548_add_filepath_to_package.rb
+19
-0
db/migrate/20170307133059_add_attachment_cover_to_users.rb
db/migrate/20170307133059_add_attachment_cover_to_users.rb
+19
-0
db/migrate/20170307133405_add_education_to_users.rb
db/migrate/20170307133405_add_education_to_users.rb
+19
-0
db/migrate/20170503134230_add_attachment_avatar_to_institutions.rb
...e/20170503134230_add_attachment_avatar_to_institutions.rb
+19
-0
db/migrate/20170511161146_add_curator_to_learning_object.rb
db/migrate/20170511161146_add_curator_to_learning_object.rb
+19
-0
db/migrate/20170512092359_add_magnetlink_to_learning_object.rb
...grate/20170512092359_add_magnetlink_to_learning_object.rb
+19
-0
db/migrate/20170516111857_add_deleted_at_to_collection_items.rb
...rate/20170516111857_add_deleted_at_to_collection_items.rb
+19
-0
db/migrate/20170518120936_add_curator_to_collection.rb
db/migrate/20170518120936_add_curator_to_collection.rb
+19
-0
db/migrate/20170525120237_add_learning_objects_count_to_institutions.rb
...70525120237_add_learning_objects_count_to_institutions.rb
+19
-0
db/seeds.rb
db/seeds.rb
+19
-0
db/seeds/complaints.rb
db/seeds/complaints.rb
+19
-0
db/seeds/educational_stages.rb
db/seeds/educational_stages.rb
+19
-0
db/seeds/institutions.rb
db/seeds/institutions.rb
+19
-0
db/seeds/languages.rb
db/seeds/languages.rb
+19
-0
db/seeds/licenses.rb
db/seeds/licenses.rb
+19
-0
db/seeds/object_types.rb
db/seeds/object_types.rb
+19
-0
db/seeds/ratings.rb
db/seeds/ratings.rb
+19
-0
db/seeds/scores.rb
db/seeds/scores.rb
+19
-0
db/seeds/subjects.rb
db/seeds/subjects.rb
+19
-0
docker-compose.yml
docker-compose.yml
+19
-0
insert_header.rb
insert_header.rb
+19
-0
lib/log/database_logger.rb
lib/log/database_logger.rb
+19
-0
lib/log/logging.rb
lib/log/logging.rb
+19
-0
lib/portalmec/sociable_tests.rb
lib/portalmec/sociable_tests.rb
+19
-0
lib/string.rb
lib/string.rb
+19
-0
lib/tasks/attachment.rake
lib/tasks/attachment.rake
+19
-0
lib/tasks/attachment_maintaining_service.rake
lib/tasks/attachment_maintaining_service.rake
+19
-0
lib/tasks/attachments.rake
lib/tasks/attachments.rake
+19
-0
lib/tasks/convert_video.rake
lib/tasks/convert_video.rake
+19
-0
lib/tasks/db.rake
lib/tasks/db.rake
+19
-0
lib/tasks/import/educational_stage.rake
lib/tasks/import/educational_stage.rake
+19
-0
lib/tasks/import/institutions.rake
lib/tasks/import/institutions.rake
+19
-0
lib/tasks/import/learning_objects.rake
lib/tasks/import/learning_objects.rake
+19
-0
lib/tasks/import/subject.rake
lib/tasks/import/subject.rake
+19
-0
lib/tasks/import/tags.rake
lib/tasks/import/tags.rake
+19
-0
lib/tasks/language.rake
lib/tasks/language.rake
+19
-0
lib/tasks/object_type.rake
lib/tasks/object_type.rake
+19
-0
lib/tasks/portalmec.rake
lib/tasks/portalmec.rake
+19
-0
lib/tasks/score.rake
lib/tasks/score.rake
+19
-0
lib/tasks/tags.rake
lib/tasks/tags.rake
+19
-0
lib/tasks/thumbnail.rake
lib/tasks/thumbnail.rake
+19
-0
lib/thumbnail/generatable_strategy.rb
lib/thumbnail/generatable_strategy.rb
+19
-0
lib/thumbnail/strategies/image_thumbnail_generator.rb
lib/thumbnail/strategies/image_thumbnail_generator.rb
+19
-0
lib/thumbnail/strategies/pdf_thumbnail_generator.rb
lib/thumbnail/strategies/pdf_thumbnail_generator.rb
+19
-0
lib/thumbnail/strategies/url_thumbnail_generator.rb
lib/thumbnail/strategies/url_thumbnail_generator.rb
+19
-0
lib/thumbnail/strategies/video_thumbnail_generator.rb
lib/thumbnail/strategies/video_thumbnail_generator.rb
+19
-0
puma.sh
puma.sh
+19
-0
sidekiq.sh
sidekiq.sh
+19
-0
spec/acceptance/activities_spec.rb
spec/acceptance/activities_spec.rb
+19
-0
spec/acceptance/bookmarks_spec.rb
spec/acceptance/bookmarks_spec.rb
+19
-0
spec/acceptance/collections_spec.rb
spec/acceptance/collections_spec.rb
+19
-0
spec/acceptance/complaints_spec.rb
spec/acceptance/complaints_spec.rb
+19
-0
spec/acceptance/contacts_spec.rb
spec/acceptance/contacts_spec.rb
+19
-0
spec/acceptance/downloads_spec.rb
spec/acceptance/downloads_spec.rb
+19
-0
spec/acceptance/educational_stages_spec.rb
spec/acceptance/educational_stages_spec.rb
+19
-0
spec/acceptance/follows_spec.rb
spec/acceptance/follows_spec.rb
+19
-0
spec/acceptance/institutions_spec.rb
spec/acceptance/institutions_spec.rb
+19
-0
spec/acceptance/languages_spec.rb
spec/acceptance/languages_spec.rb
+19
-0
spec/acceptance/learning_objects_spec.rb
spec/acceptance/learning_objects_spec.rb
+19
-0
spec/acceptance/mime_types_spec.rb
spec/acceptance/mime_types_spec.rb
+19
-0
spec/acceptance/object_types_spec.rb
spec/acceptance/object_types_spec.rb
+19
-0
spec/acceptance/reviews_spec.rb
spec/acceptance/reviews_spec.rb
+19
-0
spec/acceptance/searches_spec.rb
spec/acceptance/searches_spec.rb
+19
-0
spec/acceptance/statistics_spec.rb
spec/acceptance/statistics_spec.rb
+19
-0
spec/acceptance/subjects_spec.rb
spec/acceptance/subjects_spec.rb
+19
-0
spec/acceptance/suggestions_spec.rb
spec/acceptance/suggestions_spec.rb
+19
-0
spec/acceptance/tags_spec.rb
spec/acceptance/tags_spec.rb
+19
-0
spec/acceptance/users_spec.rb
spec/acceptance/users_spec.rb
+19
-0
spec/acceptance_helpers.rb
spec/acceptance_helpers.rb
+19
-0
spec/controller_helpers.rb
spec/controller_helpers.rb
+19
-0
spec/controllers/v1/collections_controller_spec.rb
spec/controllers/v1/collections_controller_spec.rb
+19
-0
spec/controllers/v1/omniauth_callbacks_controller_spec.rb
spec/controllers/v1/omniauth_callbacks_controller_spec.rb
+19
-0
spec/controllers/v1/statistics_controller_spec.rb
spec/controllers/v1/statistics_controller_spec.rb
+19
-0
spec/factories/applications.rb
spec/factories/applications.rb
+19
-0
spec/factories/attachments.rb
spec/factories/attachments.rb
+19
-0
spec/factories/bookmarks.rb
spec/factories/bookmarks.rb
+19
-0
spec/factories/collection_items.rb
spec/factories/collection_items.rb
+19
-0
spec/factories/collections.rb
spec/factories/collections.rb
+19
-0
spec/factories/complaint_reasons.rb
spec/factories/complaint_reasons.rb
+19
-0
spec/factories/complaints.rb
spec/factories/complaints.rb
+19
-0
spec/factories/contacts.rb
spec/factories/contacts.rb
+19
-0
spec/factories/downloads.rb
spec/factories/downloads.rb
+19
-0
spec/factories/educational_stages.rb
spec/factories/educational_stages.rb
+19
-0
spec/factories/follows.rb
spec/factories/follows.rb
+19
-0
spec/factories/institutions.rb
spec/factories/institutions.rb
+19
-0
spec/factories/languages.rb
spec/factories/languages.rb
+19
-0
spec/factories/learning_objects.rb
spec/factories/learning_objects.rb
+19
-0
spec/factories/likes.rb
spec/factories/likes.rb
+19
-0
spec/factories/mime_types.rb
spec/factories/mime_types.rb
+19
-0
spec/factories/object_types.rb
spec/factories/object_types.rb
+19
-0
spec/factories/ratings.rb
spec/factories/ratings.rb
+19
-0
spec/factories/review_ratings.rb
spec/factories/review_ratings.rb
+19
-0
spec/factories/reviews.rb
spec/factories/reviews.rb
+19
-0
spec/factories/roles.rb
spec/factories/roles.rb
+19
-0
spec/factories/stages_relation.rb
spec/factories/stages_relation.rb
+19
-0
spec/factories/subjects.rb
spec/factories/subjects.rb
+19
-0
spec/factories/subjects_relation.rb
spec/factories/subjects_relation.rb
+19
-0
spec/factories/suggestions.rb
spec/factories/suggestions.rb
+19
-0
spec/factories/taggings.rb
spec/factories/taggings.rb
+19
-0
spec/factories/tags.rb
spec/factories/tags.rb
+19
-0
spec/factories/users.rb
spec/factories/users.rb
+19
-0
spec/models/application_spec.rb
spec/models/application_spec.rb
+19
-0
spec/rails_helper.rb
spec/rails_helper.rb
+19
-0
spec/shared/contexts.rb
spec/shared/contexts.rb
+19
-0
spec/shared/examples.rb
spec/shared/examples.rb
+19
-0
spec/spec_helper.rb
spec/spec_helper.rb
+19
-0
start_puma.sh
start_puma.sh
+19
-0
stop_puma.sh
stop_puma.sh
+19
-0
test/controllers/v1/collections_controller_test.rb
test/controllers/v1/collections_controller_test.rb
+19
-0
test/controllers/v1/complaints_controller_test.rb
test/controllers/v1/complaints_controller_test.rb
+19
-0
test/controllers/v1/feed_controller_test.rb
test/controllers/v1/feed_controller_test.rb
+19
-0
test/controllers/v1/institutions_controller_test.rb
test/controllers/v1/institutions_controller_test.rb
+19
-0
test/controllers/v1/languages_controller_test.rb
test/controllers/v1/languages_controller_test.rb
+19
-0
test/controllers/v1/learning_objects_controller_test.rb
test/controllers/v1/learning_objects_controller_test.rb
+19
-0
test/controllers/v1/licenses_controller_test.rb
test/controllers/v1/licenses_controller_test.rb
+19
-0
test/controllers/v1/mime_types_controller_test.rb
test/controllers/v1/mime_types_controller_test.rb
+19
-0
test/controllers/v1/object_types_controller_test.rb
test/controllers/v1/object_types_controller_test.rb
+19
-0
test/controllers/v1/ratings_controller_test.rb
test/controllers/v1/ratings_controller_test.rb
+19
-0
test/controllers/v1/reviews_controller_test.rb
test/controllers/v1/reviews_controller_test.rb
+19
-0
test/controllers/v1/scores_controller_test.rb
test/controllers/v1/scores_controller_test.rb
+19
-0
test/controllers/v1/search_controller_test.rb
test/controllers/v1/search_controller_test.rb
+19
-0
test/controllers/v1/users/bookmarks_controller_test.rb
test/controllers/v1/users/bookmarks_controller_test.rb
+19
-0
test/controllers/v1/users_controller_test.rb
test/controllers/v1/users_controller_test.rb
+19
-0
test/fixtures/applications.yml
test/fixtures/applications.yml
+19
-0
test/fixtures/collection_item.yml
test/fixtures/collection_item.yml
+19
-0
test/fixtures/collections.yml
test/fixtures/collections.yml
+19
-0
test/fixtures/complaint_reasons.yml
test/fixtures/complaint_reasons.yml
+19
-0
test/fixtures/educational_stages.yml
test/fixtures/educational_stages.yml
+19
-0
test/fixtures/institutions.yml
test/fixtures/institutions.yml
+19
-0
test/fixtures/languages.yml
test/fixtures/languages.yml
+19
-0
test/fixtures/learning_objects.yml
test/fixtures/learning_objects.yml
+19
-0
test/fixtures/licenses.yml
test/fixtures/licenses.yml
+19
-0
test/fixtures/mime_types.yml
test/fixtures/mime_types.yml
+19
-0
test/fixtures/object_types.yml
test/fixtures/object_types.yml
+19
-0
test/fixtures/ratings.yml
test/fixtures/ratings.yml
+19
-0
test/fixtures/review_ratings.yml
test/fixtures/review_ratings.yml
+19
-0
test/fixtures/reviews.yml
test/fixtures/reviews.yml
+19
-0
test/fixtures/roles.yml
test/fixtures/roles.yml
+19
-0
test/fixtures/score_user_categories.yml
test/fixtures/score_user_categories.yml
+19
-0
test/fixtures/scores.yml
test/fixtures/scores.yml
+19
-0
test/fixtures/subjects.yml
test/fixtures/subjects.yml
+19
-0
test/fixtures/taggings.yml
test/fixtures/taggings.yml
+19
-0
test/fixtures/tags.yml
test/fixtures/tags.yml
+19
-0
test/fixtures/user_categories.yml
test/fixtures/user_categories.yml
+19
-0
test/fixtures/users.yml
test/fixtures/users.yml
+19
-0
test/models/application_test.rb
test/models/application_test.rb
+19
-0
test/models/bookmark_test.rb
test/models/bookmark_test.rb
+19
-0
test/models/carousel_test.rb
test/models/carousel_test.rb
+19
-0
test/models/collection_item_test.rb
test/models/collection_item_test.rb
+19
-0
test/models/collection_test.rb
test/models/collection_test.rb
+19
-0
test/models/complaint_reason_test.rb
test/models/complaint_reason_test.rb
+19
-0
test/models/complaint_test.rb
test/models/complaint_test.rb
+19
-0
test/models/download_test.rb
test/models/download_test.rb
+19
-0
test/models/follow_test.rb
test/models/follow_test.rb
+19
-0
test/models/institution_test.rb
test/models/institution_test.rb
+19
-0
test/models/language_test.rb
test/models/language_test.rb
+19
-0
test/models/learning_object/attachment_test.rb
test/models/learning_object/attachment_test.rb
+19
-0
test/models/learning_object_test.rb
test/models/learning_object_test.rb
+19
-0
test/models/license_test.rb
test/models/license_test.rb
+19
-0
test/models/like_test.rb
test/models/like_test.rb
+19
-0
test/models/object_type_test.rb
test/models/object_type_test.rb
+19
-0
test/models/rate_test.rb
test/models/rate_test.rb
+19
-0
test/models/rating_test.rb
test/models/rating_test.rb
+19
-0
test/models/review_rating_test.rb
test/models/review_rating_test.rb
+19
-0
test/models/review_test.rb
test/models/review_test.rb
+19
-0
test/models/role_test.rb
test/models/role_test.rb
+19
-0
test/models/score_test.rb
test/models/score_test.rb
+19
-0
test/models/score_user_category_test.rb
test/models/score_user_category_test.rb
+19
-0
test/models/search_test.rb
test/models/search_test.rb
+19
-0
test/models/share_test.rb
test/models/share_test.rb
+19
-0
test/models/stage_relation_test.rb
test/models/stage_relation_test.rb
+19
-0
test/models/subject_test.rb
test/models/subject_test.rb
+19
-0
test/models/tag_test.rb
test/models/tag_test.rb
+19
-0
test/models/tagging_test.rb
test/models/tagging_test.rb
+19
-0
test/models/user_category_test.rb
test/models/user_category_test.rb
+19
-0
test/models/user_test.rb
test/models/user_test.rb
+19
-0
test/models/view_test.rb
test/models/view_test.rb
+19
-0
test/services/feedback_service_test.rb
test/services/feedback_service_test.rb
+19
-0
test/services/institution_importer_test.rb
test/services/institution_importer_test.rb
+19
-0
test/services/score_calculator_service_test.rb
test/services/score_calculator_service_test.rb
+19
-0
test/services/search_service_test.rb
test/services/search_service_test.rb
+19
-0
test/test_helper.rb
test/test_helper.rb
+19
-0
No files found.
app/builders/learning_object_builder.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
class
LearningObjectBuilder
def
self
.
build_from_dspace
(
item
)
lo
=
LearningObject
.
new
(
...
...
app/controllers/application_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
class
ApplicationController
<
ActionController
::
API
include
ActionController
::
Serialization
include
DeviseTokenAuth
::
Concerns
::
SetUserByToken
...
...
app/controllers/concerns/deleted_objects_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
module
DeletedObjectsController
extend
ActiveSupport
::
Concern
...
...
app/controllers/concerns/downloadable_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
module
DownloadableController
extend
ActiveSupport
::
Concern
...
...
app/controllers/concerns/followable_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
## This concern has +follow+ and +unfollow+ controller actions
## When you use it, be sure that +set_followable+ method is implemented in your controller, otherwise an fatal error will raise.
module
FollowableController
...
...
app/controllers/concerns/highlights_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
module
HighlightsController
extend
ActiveSupport
::
Concern
...
...
app/controllers/concerns/paginator.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
module
Paginator
extend
ActiveSupport
::
Concern
...
...
app/controllers/concerns/publisher_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
module
PublisherController
extend
ActiveSupport
::
Concern
...
...
app/controllers/concerns/resource_model.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
module
ResourceModel
extend
ActiveSupport
::
Concern
...
...
app/controllers/concerns/reviewable_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
## This concern has all default resource methods for CRUD operations
## When you use it, be sure that +reviewable+ method is implemented in your controller, otherwise an fatal error will raise.
module
ReviewableController
...
...
app/controllers/concerns/sociable_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
## This concern has +like+, +unlike+ controller actions
## When you use it, be sure that +set_sociable+ method is implemented in your controller, otherwise an fatal error will raise.
module
SociableController
...
...
app/controllers/concerns/stageable_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
module
StageableController
extend
ActiveSupport
::
Concern
...
...
app/controllers/concerns/subjectable_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
module
SubjectableController
extend
ActiveSupport
::
Concern
...
...
app/controllers/concerns/taggable_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
module
TaggableController
extend
ActiveSupport
::
Concern
...
...
app/controllers/v1/activities_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
class
V1::ActivitiesController
<
ApplicationController
include
::
ResourceModel
include
::
Paginator
...
...
app/controllers/v1/collections_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
class
V1::CollectionsController
<
ApplicationController
include
::
SociableController
include
::
DownloadableController
...
...
app/controllers/v1/complaints_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
class
V1::ComplaintsController
<
ApplicationController
include
::
DeletedObjectsController
include
::
Paginator
...
...
app/controllers/v1/contacts_controller.rb
View file @
0fe9f3f8
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
# This file is part of portalmec.
#
# portalmec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# portalmec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with portalmec. If not, see <http://www.gnu.org/licenses/>.
class
V1::ContactsController
<
ApplicationController
include
::
Paginator
...
...
app/controllers/v1/educational_stages_controller.rb
View file @
0fe9f3f8