mumuki-laboratory 9.1.2 → 9.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/mumuki_laboratory/application/faqs.js +6 -6
  3. data/app/assets/javascripts/mumuki_laboratory/application/profile.js +7 -15
  4. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_breadcrumb.scss +4 -28
  5. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_discussion.scss +0 -25
  6. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_faqs.scss +4 -3
  7. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_kids.scss +0 -1
  8. data/app/controllers/concerns/organizations_controller_template.rb +1 -0
  9. data/app/controllers/exam_authorization_requests_controller.rb +1 -5
  10. data/app/controllers/users_controller.rb +4 -0
  11. data/app/helpers/discussions_helper.rb +10 -2
  12. data/app/helpers/profile_helper.rb +1 -1
  13. data/app/helpers/user_menu_helper.rb +4 -0
  14. data/app/views/discussions/_description_message.html.erb +1 -1
  15. data/app/views/discussions/_message.html.erb +1 -1
  16. data/app/views/discussions/_new_message.html.erb +1 -1
  17. data/app/views/discussions/new.html.erb +1 -1
  18. data/app/views/exam_authorization_requests/_approved.html.erb +1 -0
  19. data/app/views/exam_authorization_requests/_pending.html.erb +4 -0
  20. data/app/views/exam_authorization_requests/_rejected.html.erb +1 -0
  21. data/app/views/exam_registrations/show.html.erb +1 -1
  22. data/app/views/exercises/_read_only.html.erb +3 -3
  23. data/app/views/faqs/index.html.erb +1 -1
  24. data/app/views/layouts/_kids.html.erb +2 -2
  25. data/app/views/layouts/_test_results.html.erb +1 -1
  26. data/app/views/layouts/_user_menu.html.erb +2 -0
  27. data/app/views/layouts/application.html.erb +1 -1
  28. data/app/views/notifications/_exam_authorization_request.html.erb +1 -1
  29. data/app/views/users/activity.html.erb +8 -6
  30. data/app/views/users/exam_authorizations.html.erb +42 -0
  31. data/config/routes.rb +2 -1
  32. data/lib/mumuki/laboratory/locales/en.yml +6 -4
  33. data/lib/mumuki/laboratory/locales/es-CL.yml +6 -4
  34. data/lib/mumuki/laboratory/locales/es.yml +6 -4
  35. data/lib/mumuki/laboratory/locales/pt.yml +6 -4
  36. data/lib/mumuki/laboratory/version.rb +1 -1
  37. data/spec/controllers/exam_authorization_requests_controller_spec.rb +1 -18
  38. data/spec/controllers/organizations_api_controller_spec.rb +3 -1
  39. data/spec/controllers/users_controller_spec.rb +1 -0
  40. data/spec/features/notifications_flow_spec.rb +2 -3
  41. data/spec/features/profile_flow_spec.rb +2 -9
  42. data/spec/features/user_activity_flow_spec.rb +30 -10
  43. data/spec/helpers/with_navigation_spec.rb +37 -0
  44. metadata +119 -116
  45. data/app/views/exam_authorization_requests/show.html.erb +0 -17
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-laboratory
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.1.2
4
+ version: 9.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Bulgarelli
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-30 00:00:00.000000000 Z
11
+ date: 2021-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 9.1.1
33
+ version: 9.4.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 9.1.1
40
+ version: 9.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mumukit-bridge
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -598,7 +598,9 @@ files:
598
598
  - app/views/errors/internal_server_error.html.erb
599
599
  - app/views/errors/not_found.html.erb
600
600
  - app/views/errors/unauthorized.html.erb
601
- - app/views/exam_authorization_requests/show.html.erb
601
+ - app/views/exam_authorization_requests/_approved.html.erb
602
+ - app/views/exam_authorization_requests/_pending.html.erb
603
+ - app/views/exam_authorization_requests/_rejected.html.erb
602
604
  - app/views/exam_registrations/show.html.erb
603
605
  - app/views/exams/show.html.erb
604
606
  - app/views/exercise_solutions/_assistant_rules_box.html.erb
@@ -714,6 +716,7 @@ files:
714
716
  - app/views/users/certificates.html.erb
715
717
  - app/views/users/discussions.html.erb
716
718
  - app/views/users/edit.html.erb
719
+ - app/views/users/exam_authorizations.html.erb
717
720
  - app/views/users/messages.html.erb
718
721
  - app/views/users/show.html.erb
719
722
  - app/views/users/terms.html.erb
@@ -936,7 +939,7 @@ homepage: https://mumuki.io
936
939
  licenses:
937
940
  - AGPL-3.0
938
941
  metadata: {}
939
- post_install_message:
942
+ post_install_message:
940
943
  rdoc_options: []
941
944
  require_paths:
942
945
  - lib
@@ -952,138 +955,138 @@ required_rubygems_version: !ruby/object:Gem::Requirement
952
955
  version: '0'
953
956
  requirements: []
954
957
  rubygems_version: 3.1.2
955
- signing_key:
958
+ signing_key:
956
959
  specification_version: 4
957
960
  summary: Code assement web application for the Mumuki Platform.
958
961
  test_files:
959
- - spec/helpers/exercise_input_helper_spec.rb
960
- - spec/helpers/icons_helper_spec.rb
961
- - spec/helpers/breadcrumbs_helper_spec.rb
962
- - spec/helpers/email_helper_spec.rb
963
- - spec/helpers/avatar_helper_spec.rb
964
- - spec/helpers/application_helper_spec.rb
965
- - spec/helpers/authors_helper_spec.rb
966
- - spec/helpers/certificate_helper_spec.rb
967
- - spec/helpers/page_title_helper_spec.rb
968
- - spec/helpers/with_navigation_spec.rb
969
- - spec/helpers/with_choices_spec.rb
970
- - spec/helpers/user_activity_helper_spec.rb
971
- - spec/helpers/test_results_rendering_spec.rb
972
- - spec/spec_helper.rb
973
- - spec/login_helper.rb
974
- - spec/dummy/config/environments/development.rb
975
- - spec/dummy/config/environments/test.rb
976
- - spec/dummy/config/application.rb
977
- - spec/dummy/config/secrets.yml
978
- - spec/dummy/config/initializers/assets.rb
979
- - spec/dummy/config/initializers/wrap_parameters.rb
980
- - spec/dummy/config/initializers/cookies_serializer.rb
981
- - spec/dummy/config/initializers/filter_parameter_logging.rb
982
- - spec/dummy/config/spring.rb
983
- - spec/dummy/config/boot.rb
984
- - spec/dummy/config/database.yml
985
- - spec/dummy/config/cable.yml
986
- - spec/dummy/config/environment.rb
987
- - spec/dummy/config/routes.rb
988
- - spec/dummy/config/rabbit.yml
989
- - spec/dummy/config/locales/en.yml
990
- - spec/dummy/config/puma.rb
991
- - spec/dummy/public/medal/outline.svg
992
- - spec/dummy/public/error/410.svg
993
- - spec/dummy/public/error/timeout_1.svg
994
- - spec/dummy/public/error/timeout_2.svg
995
- - spec/dummy/public/error/timeout_3.svg
996
- - spec/dummy/public/error/403.svg
997
- - spec/dummy/public/error/401.svg
998
- - spec/dummy/public/error/404.svg
999
- - spec/dummy/public/error/500.svg
1000
- - spec/dummy/public/character/magnifying_glass/apparition.svg
1001
- - spec/dummy/public/character/magnifying_glass/loop.svg
1002
- - spec/dummy/public/character/kibi/failure.svg
1003
- - spec/dummy/public/character/kibi/success2_l.svg
1004
- - spec/dummy/public/character/kibi/jump.svg
1005
- - spec/dummy/public/character/kibi/success_l.svg
1006
- - spec/dummy/public/character/kibi/passed_with_warnings.svg
1007
- - spec/dummy/public/character/kibi/context.svg
1008
- - spec/dummy/public/character/animations.json
1009
- - spec/dummy/Rakefile
1010
- - spec/dummy/config.ru
1011
- - spec/dummy/package.json
1012
- - spec/dummy/db/seeds.rb
1013
- - spec/dummy/db/schema.rb
1014
- - spec/dummy/bin/bundle
1015
- - spec/dummy/bin/update
1016
- - spec/dummy/bin/yarn
1017
- - spec/dummy/bin/setup
1018
- - spec/dummy/bin/rails
1019
- - spec/dummy/bin/rake
1020
- - spec/evaluation_helper.rb
1021
- - spec/capybara_helper.rb
1022
- - spec/controllers/certificates_controller_spec.rb
1023
- - spec/controllers/exam_authorization_requests_controller_spec.rb
1024
- - spec/controllers/discussions_controller_spec.rb
1025
- - spec/controllers/messages_controller_spec.rb
1026
- - spec/controllers/chapters_controller_spec.rb
1027
- - spec/controllers/courses_api_controller_spec.rb
1028
- - spec/controllers/api_clients_controller.rb
1029
- - spec/controllers/students_api_controller_spec.rb
1030
- - spec/controllers/exercise_solutions_controller_spec.rb
1031
- - spec/controllers/discussions_messages_controller_spec.rb
1032
962
  - spec/controllers/users_controller_spec.rb
963
+ - spec/controllers/discussions_messages_controller_spec.rb
964
+ - spec/controllers/exercise_solutions_controller_spec.rb
965
+ - spec/controllers/certificates_controller_spec.rb
1033
966
  - spec/controllers/guide_progress_controller_spec.rb
1034
- - spec/controllers/confirmations_controller_spec.rb
1035
967
  - spec/controllers/users_api_controller_spec.rb
1036
- - spec/controllers/organizations_api_controller_spec.rb
968
+ - spec/controllers/chapters_controller_spec.rb
1037
969
  - spec/controllers/exam_registrations_controller_spec.rb
970
+ - spec/controllers/messages_controller_spec.rb
971
+ - spec/controllers/courses_api_controller_spec.rb
1038
972
  - spec/controllers/invitations_controller_spec.rb
1039
- - spec/teaspoon_env.rb
1040
- - spec/api_helper.rb
1041
- - spec/mailers/user_mailer_spec.rb
973
+ - spec/controllers/exam_authorization_requests_controller_spec.rb
974
+ - spec/controllers/confirmations_controller_spec.rb
975
+ - spec/controllers/api_clients_controller.rb
976
+ - spec/controllers/discussions_controller_spec.rb
977
+ - spec/controllers/organizations_api_controller_spec.rb
978
+ - spec/controllers/students_api_controller_spec.rb
979
+ - spec/capybara_helper.rb
980
+ - spec/evaluation_helper.rb
1042
981
  - spec/mailers/previews/user_mailer_preview.rb
1043
- - spec/features/discussion_flow_spec.rb
1044
- - spec/features/runner_assets_spec.rb
1045
- - spec/features/user_activity_flow_spec.rb
1046
- - spec/features/progressive_tips_spec.rb
1047
- - spec/features/immersive_redirection_spec.rb
1048
- - spec/features/menu_bar_spec.rb
1049
- - spec/features/login_flow_spec.rb
982
+ - spec/mailers/user_mailer_spec.rb
983
+ - spec/spec_helper.rb
984
+ - spec/api_helper.rb
1050
985
  - spec/features/not_found_public_flow_spec.rb
1051
- - spec/features/profile_flow_spec.rb
986
+ - spec/features/invitations_flow_spec.rb
987
+ - spec/features/immersive_redirection_spec.rb
988
+ - spec/features/runner_assets_spec.rb
1052
989
  - spec/features/certificate_programs_flow_spec.rb
1053
- - spec/features/lessons_flow_spec.rb
990
+ - spec/features/chapters_flow_spec.rb
991
+ - spec/features/links_flow_spec.rb
992
+ - spec/features/login_flow_spec.rb
1054
993
  - spec/features/standard_flow_spec.rb
994
+ - spec/features/complements_flow_spec.rb
995
+ - spec/features/profile_flow_spec.rb
996
+ - spec/features/progressive_tips_spec.rb
997
+ - spec/features/exams_flow_spec.rb
1055
998
  - spec/features/guide_reset_spec.rb
1056
- - spec/features/guides_flow_spec.rb
1057
999
  - spec/features/disable_user_flow_spec.rb
1000
+ - spec/features/discussion_flow_spec.rb
1001
+ - spec/features/home_private_flow_spec.rb
1002
+ - spec/features/menu_bar_spec.rb
1003
+ - spec/features/exercise_flow_spec.rb
1004
+ - spec/features/topic_flow_spec.rb
1005
+ - spec/features/disabled_organization_flow_spec.rb
1058
1006
  - spec/features/notifications_flow_spec.rb
1007
+ - spec/features/user_activity_flow_spec.rb
1059
1008
  - spec/features/terms_flow_spec.rb
1060
- - spec/features/topic_flow_spec.rb
1009
+ - spec/features/guides_flow_spec.rb
1010
+ - spec/features/lessons_flow_spec.rb
1061
1011
  - spec/features/home_public_flow_spec.rb
1062
- - spec/features/exams_flow_spec.rb
1063
- - spec/features/home_private_flow_spec.rb
1064
- - spec/features/invitations_flow_spec.rb
1065
- - spec/features/links_flow_spec.rb
1066
- - spec/features/dynamic_exam_spec.rb
1067
1012
  - spec/features/not_found_private_flow_spec.rb
1068
- - spec/features/complements_flow_spec.rb
1069
- - spec/features/disabled_organization_flow_spec.rb
1070
- - spec/features/exercise_flow_spec.rb
1071
- - spec/features/chapters_flow_spec.rb
1013
+ - spec/features/dynamic_exam_spec.rb
1072
1014
  - spec/javascripts/spec-helper.js
1073
- - spec/javascripts/global-spec.js
1074
- - spec/javascripts/kids-button-spec.js
1075
- - spec/javascripts/gamification-spec.js
1015
+ - spec/javascripts/results-renderers-spec.js
1076
1016
  - spec/javascripts/i18n-spec.js
1077
- - spec/javascripts/sync-mode-spec.js
1078
1017
  - spec/javascripts/timeout-spec.js
1018
+ - spec/javascripts/global-spec.js
1019
+ - spec/javascripts/csrf-token-spec.js
1079
1020
  - spec/javascripts/submissions-store-spec.js
1021
+ - spec/javascripts/events-spec.js
1022
+ - spec/javascripts/gamification-spec.js
1023
+ - spec/javascripts/sync-mode-spec.js
1024
+ - spec/javascripts/elipsis-spec.js
1025
+ - spec/javascripts/kids-button-spec.js
1080
1026
  - spec/javascripts/upload-spec.js
1081
- - spec/javascripts/results-renderers-spec.js
1082
- - spec/javascripts/exercise-spec.js
1083
- - spec/javascripts/csrf-token-spec.js
1084
1027
  - spec/javascripts/editors-spec.js
1085
- - spec/javascripts/elipsis-spec.js
1086
- - spec/javascripts/speech-bubble-renderer-spec.js
1087
- - spec/javascripts/events-spec.js
1088
1028
  - spec/javascripts/bridge-spec.js
1029
+ - spec/javascripts/exercise-spec.js
1089
1030
  - spec/javascripts/timer-spec.js
1031
+ - spec/javascripts/speech-bubble-renderer-spec.js
1032
+ - spec/helpers/breadcrumbs_helper_spec.rb
1033
+ - spec/helpers/email_helper_spec.rb
1034
+ - spec/helpers/authors_helper_spec.rb
1035
+ - spec/helpers/avatar_helper_spec.rb
1036
+ - spec/helpers/with_choices_spec.rb
1037
+ - spec/helpers/icons_helper_spec.rb
1038
+ - spec/helpers/with_navigation_spec.rb
1039
+ - spec/helpers/exercise_input_helper_spec.rb
1040
+ - spec/helpers/page_title_helper_spec.rb
1041
+ - spec/helpers/application_helper_spec.rb
1042
+ - spec/helpers/user_activity_helper_spec.rb
1043
+ - spec/helpers/certificate_helper_spec.rb
1044
+ - spec/helpers/test_results_rendering_spec.rb
1045
+ - spec/dummy/db/schema.rb
1046
+ - spec/dummy/db/seeds.rb
1047
+ - spec/dummy/config.ru
1048
+ - spec/dummy/bin/yarn
1049
+ - spec/dummy/bin/update
1050
+ - spec/dummy/bin/rake
1051
+ - spec/dummy/bin/setup
1052
+ - spec/dummy/bin/bundle
1053
+ - spec/dummy/bin/rails
1054
+ - spec/dummy/config/rabbit.yml
1055
+ - spec/dummy/config/spring.rb
1056
+ - spec/dummy/config/puma.rb
1057
+ - spec/dummy/config/routes.rb
1058
+ - spec/dummy/config/boot.rb
1059
+ - spec/dummy/config/initializers/assets.rb
1060
+ - spec/dummy/config/initializers/wrap_parameters.rb
1061
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
1062
+ - spec/dummy/config/initializers/cookies_serializer.rb
1063
+ - spec/dummy/config/locales/en.yml
1064
+ - spec/dummy/config/secrets.yml
1065
+ - spec/dummy/config/cable.yml
1066
+ - spec/dummy/config/environment.rb
1067
+ - spec/dummy/config/environments/development.rb
1068
+ - spec/dummy/config/environments/test.rb
1069
+ - spec/dummy/config/database.yml
1070
+ - spec/dummy/config/application.rb
1071
+ - spec/dummy/package.json
1072
+ - spec/dummy/Rakefile
1073
+ - spec/dummy/public/character/kibi/failure.svg
1074
+ - spec/dummy/public/character/kibi/jump.svg
1075
+ - spec/dummy/public/character/kibi/success_l.svg
1076
+ - spec/dummy/public/character/kibi/passed_with_warnings.svg
1077
+ - spec/dummy/public/character/kibi/success2_l.svg
1078
+ - spec/dummy/public/character/kibi/context.svg
1079
+ - spec/dummy/public/character/magnifying_glass/apparition.svg
1080
+ - spec/dummy/public/character/magnifying_glass/loop.svg
1081
+ - spec/dummy/public/character/animations.json
1082
+ - spec/dummy/public/error/timeout_1.svg
1083
+ - spec/dummy/public/error/timeout_2.svg
1084
+ - spec/dummy/public/error/500.svg
1085
+ - spec/dummy/public/error/403.svg
1086
+ - spec/dummy/public/error/401.svg
1087
+ - spec/dummy/public/error/timeout_3.svg
1088
+ - spec/dummy/public/error/404.svg
1089
+ - spec/dummy/public/error/410.svg
1090
+ - spec/dummy/public/medal/outline.svg
1091
+ - spec/teaspoon_env.rb
1092
+ - spec/login_helper.rb
@@ -1,17 +0,0 @@
1
- <%= content_for :breadcrumbs do %>
2
- <%= breadcrumbs @authorization_request %>
3
- <% end %>
4
-
5
- <div class="row">
6
- <div class="mu-inline-block-left">
7
- <h1>
8
- <%= t :exam_registration_to, description: @authorization_request.exam_registration.description %>
9
- </h1>
10
- </div>
11
- </div>
12
-
13
- <% if @authorization_request.approved? %>
14
- <%= t :exam_authorization_request_approved_html, date: l(@authorization_request.exam.start_time, format: :long) %>
15
- <% else %>
16
- <%= t :exam_authorization_request_rejected %>
17
- <% end %>