mumuki-laboratory 9.1.1 → 9.3.1

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 +1 -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 +122 -119
  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.1
4
+ version: 9.3.1
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-05-13 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.3.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.3.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/mailers/user_mailer_spec.rb
963
+ - spec/mailers/previews/user_mailer_preview.rb
964
+ - spec/spec_helper.rb
962
965
  - 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
966
  - spec/helpers/page_title_helper_spec.rb
968
- - spec/helpers/with_navigation_spec.rb
967
+ - spec/helpers/application_helper_spec.rb
968
+ - spec/helpers/test_results_rendering_spec.rb
969
969
  - spec/helpers/with_choices_spec.rb
970
+ - spec/helpers/exercise_input_helper_spec.rb
971
+ - spec/helpers/avatar_helper_spec.rb
972
+ - spec/helpers/with_navigation_spec.rb
973
+ - spec/helpers/certificate_helper_spec.rb
974
+ - spec/helpers/icons_helper_spec.rb
975
+ - spec/helpers/authors_helper_spec.rb
976
+ - spec/helpers/breadcrumbs_helper_spec.rb
970
977
  - 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
- - spec/controllers/users_controller_spec.rb
1033
- - spec/controllers/guide_progress_controller_spec.rb
1034
- - spec/controllers/confirmations_controller_spec.rb
1035
- - spec/controllers/users_api_controller_spec.rb
1036
- - spec/controllers/organizations_api_controller_spec.rb
1037
- - spec/controllers/exam_registrations_controller_spec.rb
1038
- - spec/controllers/invitations_controller_spec.rb
1039
- - spec/teaspoon_env.rb
1040
- - spec/api_helper.rb
1041
- - spec/mailers/user_mailer_spec.rb
1042
- - spec/mailers/previews/user_mailer_preview.rb
1043
- - spec/features/discussion_flow_spec.rb
978
+ - spec/features/guide_reset_spec.rb
1044
979
  - 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
1050
- - spec/features/not_found_public_flow_spec.rb
1051
- - spec/features/profile_flow_spec.rb
980
+ - spec/features/disable_user_flow_spec.rb
981
+ - spec/features/topic_flow_spec.rb
982
+ - spec/features/complements_flow_spec.rb
1052
983
  - spec/features/certificate_programs_flow_spec.rb
1053
- - spec/features/lessons_flow_spec.rb
984
+ - spec/features/not_found_private_flow_spec.rb
985
+ - spec/features/user_activity_flow_spec.rb
1054
986
  - spec/features/standard_flow_spec.rb
1055
- - spec/features/guide_reset_spec.rb
1056
- - spec/features/guides_flow_spec.rb
1057
- - spec/features/disable_user_flow_spec.rb
1058
987
  - spec/features/notifications_flow_spec.rb
988
+ - spec/features/exercise_flow_spec.rb
989
+ - spec/features/chapters_flow_spec.rb
990
+ - spec/features/links_flow_spec.rb
1059
991
  - spec/features/terms_flow_spec.rb
1060
- - spec/features/topic_flow_spec.rb
1061
992
  - spec/features/home_public_flow_spec.rb
1062
- - spec/features/exams_flow_spec.rb
993
+ - spec/features/progressive_tips_spec.rb
1063
994
  - spec/features/home_private_flow_spec.rb
1064
- - spec/features/invitations_flow_spec.rb
1065
- - spec/features/links_flow_spec.rb
995
+ - spec/features/discussion_flow_spec.rb
1066
996
  - spec/features/dynamic_exam_spec.rb
1067
- - spec/features/not_found_private_flow_spec.rb
1068
- - spec/features/complements_flow_spec.rb
997
+ - spec/features/invitations_flow_spec.rb
998
+ - spec/features/menu_bar_spec.rb
1069
999
  - spec/features/disabled_organization_flow_spec.rb
1070
- - spec/features/exercise_flow_spec.rb
1071
- - spec/features/chapters_flow_spec.rb
1072
- - spec/javascripts/spec-helper.js
1000
+ - spec/features/lessons_flow_spec.rb
1001
+ - spec/features/login_flow_spec.rb
1002
+ - spec/features/guides_flow_spec.rb
1003
+ - spec/features/exams_flow_spec.rb
1004
+ - spec/features/profile_flow_spec.rb
1005
+ - spec/features/immersive_redirection_spec.rb
1006
+ - spec/features/not_found_public_flow_spec.rb
1007
+ - spec/login_helper.rb
1008
+ - spec/teaspoon_env.rb
1009
+ - spec/evaluation_helper.rb
1010
+ - spec/api_helper.rb
1011
+ - spec/capybara_helper.rb
1012
+ - spec/controllers/exercise_solutions_controller_spec.rb
1013
+ - spec/controllers/users_controller_spec.rb
1014
+ - spec/controllers/discussions_messages_controller_spec.rb
1015
+ - spec/controllers/organizations_api_controller_spec.rb
1016
+ - spec/controllers/courses_api_controller_spec.rb
1017
+ - spec/controllers/exam_authorization_requests_controller_spec.rb
1018
+ - spec/controllers/users_api_controller_spec.rb
1019
+ - spec/controllers/api_clients_controller.rb
1020
+ - spec/controllers/certificates_controller_spec.rb
1021
+ - spec/controllers/invitations_controller_spec.rb
1022
+ - spec/controllers/confirmations_controller_spec.rb
1023
+ - spec/controllers/guide_progress_controller_spec.rb
1024
+ - spec/controllers/messages_controller_spec.rb
1025
+ - spec/controllers/discussions_controller_spec.rb
1026
+ - spec/controllers/chapters_controller_spec.rb
1027
+ - spec/controllers/students_api_controller_spec.rb
1028
+ - spec/controllers/exam_registrations_controller_spec.rb
1029
+ - spec/dummy/bin/yarn
1030
+ - spec/dummy/bin/update
1031
+ - spec/dummy/bin/bundle
1032
+ - spec/dummy/bin/setup
1033
+ - spec/dummy/bin/rake
1034
+ - spec/dummy/bin/rails
1035
+ - spec/dummy/config.ru
1036
+ - spec/dummy/package.json
1037
+ - spec/dummy/public/character/animations.json
1038
+ - spec/dummy/public/character/kibi/jump.svg
1039
+ - spec/dummy/public/character/kibi/success_l.svg
1040
+ - spec/dummy/public/character/kibi/failure.svg
1041
+ - spec/dummy/public/character/kibi/passed_with_warnings.svg
1042
+ - spec/dummy/public/character/kibi/context.svg
1043
+ - spec/dummy/public/character/kibi/success2_l.svg
1044
+ - spec/dummy/public/character/magnifying_glass/apparition.svg
1045
+ - spec/dummy/public/character/magnifying_glass/loop.svg
1046
+ - spec/dummy/public/medal/outline.svg
1047
+ - spec/dummy/public/error/timeout_2.svg
1048
+ - spec/dummy/public/error/401.svg
1049
+ - spec/dummy/public/error/404.svg
1050
+ - spec/dummy/public/error/410.svg
1051
+ - spec/dummy/public/error/timeout_1.svg
1052
+ - spec/dummy/public/error/timeout_3.svg
1053
+ - spec/dummy/public/error/403.svg
1054
+ - spec/dummy/public/error/500.svg
1055
+ - spec/dummy/db/schema.rb
1056
+ - spec/dummy/db/seeds.rb
1057
+ - spec/dummy/Rakefile
1058
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
1059
+ - spec/dummy/config/initializers/wrap_parameters.rb
1060
+ - spec/dummy/config/initializers/assets.rb
1061
+ - spec/dummy/config/initializers/cookies_serializer.rb
1062
+ - spec/dummy/config/secrets.yml
1063
+ - spec/dummy/config/database.yml
1064
+ - spec/dummy/config/boot.rb
1065
+ - spec/dummy/config/locales/en.yml
1066
+ - spec/dummy/config/environment.rb
1067
+ - spec/dummy/config/application.rb
1068
+ - spec/dummy/config/spring.rb
1069
+ - spec/dummy/config/environments/development.rb
1070
+ - spec/dummy/config/environments/test.rb
1071
+ - spec/dummy/config/routes.rb
1072
+ - spec/dummy/config/puma.rb
1073
+ - spec/dummy/config/cable.yml
1074
+ - spec/dummy/config/rabbit.yml
1075
+ - spec/javascripts/bridge-spec.js
1073
1076
  - spec/javascripts/global-spec.js
1074
- - spec/javascripts/kids-button-spec.js
1075
1077
  - spec/javascripts/gamification-spec.js
1076
- - spec/javascripts/i18n-spec.js
1077
- - spec/javascripts/sync-mode-spec.js
1078
- - spec/javascripts/timeout-spec.js
1078
+ - spec/javascripts/spec-helper.js
1079
+ - spec/javascripts/exercise-spec.js
1079
1080
  - spec/javascripts/submissions-store-spec.js
1080
1081
  - spec/javascripts/upload-spec.js
1081
1082
  - spec/javascripts/results-renderers-spec.js
1082
- - spec/javascripts/exercise-spec.js
1083
- - spec/javascripts/csrf-token-spec.js
1084
- - spec/javascripts/editors-spec.js
1085
- - spec/javascripts/elipsis-spec.js
1086
- - spec/javascripts/speech-bubble-renderer-spec.js
1083
+ - spec/javascripts/kids-button-spec.js
1087
1084
  - spec/javascripts/events-spec.js
1088
- - spec/javascripts/bridge-spec.js
1085
+ - spec/javascripts/speech-bubble-renderer-spec.js
1086
+ - spec/javascripts/editors-spec.js
1087
+ - spec/javascripts/sync-mode-spec.js
1089
1088
  - spec/javascripts/timer-spec.js
1089
+ - spec/javascripts/csrf-token-spec.js
1090
+ - spec/javascripts/i18n-spec.js
1091
+ - spec/javascripts/elipsis-spec.js
1092
+ - spec/javascripts/timeout-spec.js
@@ -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 %>