mumuki-laboratory 8.3.0 → 8.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 222bd258be2916956f315e5195ed53f60ff730f176852e7d52ae17194e789f06
4
- data.tar.gz: d3e1701ba286cdfa8d7b44ad529c85df6b9b6fdbe3912fa77dfafab35f9a4545
3
+ metadata.gz: a5768156d24f254cf945c99755c091bc65af815819018e30c862ca29c3c5f853
4
+ data.tar.gz: d6e5afe45c48ff78d0fb091f50474c2c2b26ea1862eedf1c10989d6b931f73ea
5
5
  SHA512:
6
- metadata.gz: fb75e14d8e9da062677b7cfb5595ece2717f9b226f085c3432379c87a63acf80e905fda9d890a85bc3afd970d623029d729c86ffff35781fe5b6f1fc938ff92e
7
- data.tar.gz: 531e671791fec8e27fb3694a7315eb444d1e3d790ba3186789616562b2b7d6ad609bb7bc1221c94a741c207f2a573aeae9427a1e68aa3d4e3d272ae6f3ce3480
6
+ metadata.gz: 8d8948197c3172881c4e633432bf60f87228085c7154c458c3169fe4762a789ec6a1c5ecac5def061059d545ed52d3f3a2f9d72415c9b2fce15e24b3c5cb3683
7
+ data.tar.gz: 4da96aac20c1f2b16f87dbf87d117d3845c30b58f17c3e8a6b16bd6a7bd18a644ccce006a591b47a9e3c5fbb07f9013472bd3dab6171ab4d17f347bdff934eba
@@ -62,7 +62,7 @@ mumuki.page.editors = [];
62
62
 
63
63
  function setEditorLanguage(editor, language) {
64
64
  editor.setOption("mode", language);
65
- editor.setOption('theme', 'default ' + language);
65
+ editor.setOption('theme', 'mu-light ' + language);
66
66
  }
67
67
 
68
68
  function syncContent(){
@@ -15,3 +15,4 @@ $da-font-path: asset-path('assets');
15
15
  @import "application/modules";
16
16
  @import "application/errors";
17
17
  @import "application/alerts";
18
+ @import "application/codemirror-themes";
@@ -0,0 +1 @@
1
+ @import "codemirror-themes/mu-light";
@@ -0,0 +1,3 @@
1
+ .cm-s-mu-light .CodeMirror-code {
2
+ padding-right: 25px;
3
+ }
@@ -1,10 +1,10 @@
1
1
  module OverlappedButtonsHelper
2
2
  def expand_icon
3
- overlapped_button_icon :fullscreen, :expand, " (F11)"
3
+ overlapped_button_icon :fullscreen, :expand
4
4
  end
5
5
 
6
- def restart_icon
7
- overlapped_button_icon :restart, :undo
6
+ def restart_icon(data_placement='left')
7
+ overlapped_button_icon :restart, :undo, data_placement
8
8
  end
9
9
 
10
10
  def format_icon
@@ -12,10 +12,14 @@ module OverlappedButtonsHelper
12
12
  end
13
13
 
14
14
  def restart_guide_link(guide)
15
- link_to restart_icon, guide_progress_path(guide), class: 'mu-content-toolbar-item mu-restart-guide', data: {confirm: t(:confirm_restart)}, method: :delete
15
+ link_to restart_icon('top'),
16
+ guide_progress_path(guide),
17
+ class: 'mu-content-toolbar-item mu-restart-guide',
18
+ data: {confirm: t(:confirm_restart)},
19
+ method: :delete
16
20
  end
17
21
 
18
- def overlapped_button_icon(key, icon, extra_title='')
19
- fa_icon(icon, title: t(key) + extra_title, class: 'fa-fw', role: 'button', 'aria-label': t(key), 'data-placement': 'left')
22
+ def overlapped_button_icon(key, icon, data_placement='left')
23
+ fa_icon(icon, title: t(key), class: 'fa-fw', role: 'button', 'aria-label': t(key), 'data-placement': data_placement)
20
24
  end
21
25
  end
@@ -108,7 +108,7 @@ en:
108
108
  forum: Forum
109
109
  forum_terms: Forum rules
110
110
  forum_terms_link: If you have any questions, please check %{terms_link}
111
- fullscreen: "Fullscreen"
111
+ fullscreen: "Fullscreen (F11)"
112
112
  gender: Gender
113
113
  get_messages: "View messages"
114
114
  go_to: 'Go to %{organization}'
@@ -104,7 +104,7 @@ es-CL:
104
104
  forbidden_explanation: ¿Puede que hayas ingresado con una cuenta incorrecta?
105
105
  format: Dar formato
106
106
  forum_terms_link: No olvides que al participar debes cumplir las %{terms_link}
107
- fullscreen: "Pantalla completa"
107
+ fullscreen: "Pantalla completa (F11)"
108
108
  gender: Género
109
109
  get_messages: "Ver mensajes"
110
110
  go_to: 'Ir a %{organization}'
@@ -114,7 +114,7 @@ es:
114
114
  forum: Espacio de Consultas
115
115
  forum_terms: Reglas del Espacio de Consultas
116
116
  forum_terms_link: No olvides que al participar debés cumplir las %{terms_link}
117
- fullscreen: "Pantalla completa"
117
+ fullscreen: "Pantalla completa (F11)"
118
118
  gender: Género
119
119
  get_messages: "Ver mensajes"
120
120
  go_to: 'Ir a %{organization}'
@@ -110,7 +110,7 @@ pt:
110
110
  forum: Espaço de Consulta
111
111
  forum_terms: Regras do Espaço de Consulta
112
112
  forum_terms_link: Se você tiver alguma dúvida, consulte as %{terms_link}
113
- fullscreen: Tela completa
113
+ fullscreen: Tela cheia (F11)
114
114
  gender: Gênero
115
115
  get_messages: Ver mensagens
116
116
  go_to: Vá para %{organization}
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Laboratory
3
- VERSION = '8.3.0'
3
+ VERSION = '8.4.0'
4
4
  end
5
5
  end
@@ -482,6 +482,7 @@ ActiveRecord::Schema.define(version: 20210119190204) do
482
482
  t.datetime "legal_terms_accepted_at"
483
483
  t.datetime "forum_terms_accepted_at"
484
484
  t.boolean "banned_from_forum"
485
+ t.boolean "uppercase_mode"
485
486
  t.index ["avatar_type", "avatar_id"], name: "index_users_on_avatar_type_and_avatar_id"
486
487
  t.index ["disabled_at"], name: "index_users_on_disabled_at"
487
488
  t.index ["last_organization_id"], name: "index_users_on_last_organization_id"
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: 8.3.0
4
+ version: 8.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-21 00:00:00.000000000 Z
11
+ date: 2021-01-29 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: 8.3.0
33
+ version: 8.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: 8.3.0
40
+ version: 8.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mumukit-bridge
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -399,6 +399,7 @@ files:
399
399
  - app/assets/javascripts/mumuki_laboratory/application/user.js
400
400
  - app/assets/stylesheets/mumuki_laboratory/application.scss
401
401
  - app/assets/stylesheets/mumuki_laboratory/application/_alerts.scss
402
+ - app/assets/stylesheets/mumuki_laboratory/application/_codemirror-themes.scss
402
403
  - app/assets/stylesheets/mumuki_laboratory/application/_errors.scss
403
404
  - app/assets/stylesheets/mumuki_laboratory/application/_fonts.scss
404
405
  - app/assets/stylesheets/mumuki_laboratory/application/_invitations.scss
@@ -408,6 +409,7 @@ files:
408
409
  - app/assets/stylesheets/mumuki_laboratory/application/_modules.scss
409
410
  - app/assets/stylesheets/mumuki_laboratory/application/_tooltip.scss
410
411
  - app/assets/stylesheets/mumuki_laboratory/application/_vendor.scss
412
+ - app/assets/stylesheets/mumuki_laboratory/application/codemirror-themes/_mu-light.scss
411
413
  - app/assets/stylesheets/mumuki_laboratory/application/hovers.scss
412
414
  - app/assets/stylesheets/mumuki_laboratory/application/modules/_avatar.scss
413
415
  - app/assets/stylesheets/mumuki_laboratory/application/modules/_book_header.scss
@@ -866,125 +868,125 @@ signing_key:
866
868
  specification_version: 4
867
869
  summary: Code assement web application for the Mumuki Platform.
868
870
  test_files:
869
- - spec/spec_helper.rb
870
- - spec/teaspoon_env.rb
871
- - spec/dummy/package.json
872
- - spec/dummy/config.ru
873
- - spec/dummy/db/seeds.rb
874
- - spec/dummy/db/schema.rb
875
- - spec/dummy/public/medal/outline.svg
876
- - spec/dummy/public/error/404.svg
877
- - spec/dummy/public/error/500.svg
878
- - spec/dummy/public/error/timeout_2.svg
879
- - spec/dummy/public/error/401.svg
880
- - spec/dummy/public/error/timeout_1.svg
881
- - spec/dummy/public/error/timeout_3.svg
882
- - spec/dummy/public/error/403.svg
883
- - spec/dummy/public/error/410.svg
884
- - spec/dummy/public/character/magnifying_glass/loop.svg
885
- - spec/dummy/public/character/magnifying_glass/apparition.svg
886
- - spec/dummy/public/character/kibi/passed_with_warnings.svg
887
- - spec/dummy/public/character/kibi/success_l.svg
888
- - spec/dummy/public/character/kibi/success2_l.svg
889
- - spec/dummy/public/character/kibi/jump.svg
890
- - spec/dummy/public/character/kibi/context.svg
891
- - spec/dummy/public/character/kibi/failure.svg
892
- - spec/dummy/public/character/animations.json
893
- - spec/dummy/config/environment.rb
871
+ - spec/mailers/user_mailer_spec.rb
872
+ - spec/mailers/previews/user_mailer_preview.rb
873
+ - spec/api_helper.rb
874
+ - spec/dummy/config/boot.rb
894
875
  - spec/dummy/config/secrets.yml
895
876
  - spec/dummy/config/puma.rb
896
- - spec/dummy/config/application.rb
877
+ - spec/dummy/config/initializers/wrap_parameters.rb
897
878
  - spec/dummy/config/initializers/cookies_serializer.rb
898
879
  - spec/dummy/config/initializers/filter_parameter_logging.rb
899
880
  - spec/dummy/config/initializers/assets.rb
900
- - spec/dummy/config/initializers/wrap_parameters.rb
901
- - spec/dummy/config/cable.yml
902
- - spec/dummy/config/routes.rb
903
- - spec/dummy/config/database.yml
881
+ - spec/dummy/config/application.rb
882
+ - spec/dummy/config/environment.rb
883
+ - spec/dummy/config/locales/en.yml
904
884
  - spec/dummy/config/spring.rb
885
+ - spec/dummy/config/rabbit.yml
905
886
  - spec/dummy/config/environments/test.rb
906
887
  - spec/dummy/config/environments/development.rb
907
- - spec/dummy/config/boot.rb
908
- - spec/dummy/config/rabbit.yml
909
- - spec/dummy/config/locales/en.yml
888
+ - spec/dummy/config/cable.yml
889
+ - spec/dummy/config/routes.rb
890
+ - spec/dummy/config/database.yml
891
+ - spec/dummy/db/seeds.rb
892
+ - spec/dummy/db/schema.rb
910
893
  - spec/dummy/Rakefile
911
894
  - spec/dummy/bin/rake
912
- - spec/dummy/bin/setup
913
- - spec/dummy/bin/bundle
914
895
  - spec/dummy/bin/rails
915
896
  - spec/dummy/bin/yarn
897
+ - spec/dummy/bin/bundle
916
898
  - spec/dummy/bin/update
917
- - spec/mailers/user_mailer_spec.rb
918
- - spec/mailers/previews/user_mailer_preview.rb
919
- - spec/api_helper.rb
920
- - spec/features/runner_assets_spec.rb
921
- - spec/features/links_flow_spec.rb
899
+ - spec/dummy/bin/setup
900
+ - spec/dummy/public/character/magnifying_glass/apparition.svg
901
+ - spec/dummy/public/character/magnifying_glass/loop.svg
902
+ - spec/dummy/public/character/kibi/success2_l.svg
903
+ - spec/dummy/public/character/kibi/context.svg
904
+ - spec/dummy/public/character/kibi/success_l.svg
905
+ - spec/dummy/public/character/kibi/failure.svg
906
+ - spec/dummy/public/character/kibi/jump.svg
907
+ - spec/dummy/public/character/kibi/passed_with_warnings.svg
908
+ - spec/dummy/public/character/animations.json
909
+ - spec/dummy/public/medal/outline.svg
910
+ - spec/dummy/public/error/timeout_3.svg
911
+ - spec/dummy/public/error/timeout_1.svg
912
+ - spec/dummy/public/error/403.svg
913
+ - spec/dummy/public/error/410.svg
914
+ - spec/dummy/public/error/timeout_2.svg
915
+ - spec/dummy/public/error/404.svg
916
+ - spec/dummy/public/error/401.svg
917
+ - spec/dummy/public/error/500.svg
918
+ - spec/dummy/config.ru
919
+ - spec/dummy/package.json
920
+ - spec/capybara_helper.rb
921
+ - spec/controllers/discussions_controller_spec.rb
922
+ - spec/controllers/courses_api_controller_spec.rb
923
+ - spec/controllers/organizations_api_controller_spec.rb
924
+ - spec/controllers/discussions_messages_controller_spec.rb
925
+ - spec/controllers/exercise_solutions_controller_spec.rb
926
+ - spec/controllers/api_clients_controller.rb
927
+ - spec/controllers/chapters_controller_spec.rb
928
+ - spec/controllers/students_api_controller_spec.rb
929
+ - spec/controllers/users_controller_spec.rb
930
+ - spec/controllers/guide_progress_controller_spec.rb
931
+ - spec/controllers/invitations_controller_spec.rb
932
+ - spec/controllers/users_api_controller_spec.rb
933
+ - spec/controllers/messages_controller_spec.rb
934
+ - spec/controllers/confirmations_controller_spec.rb
935
+ - spec/spec_helper.rb
936
+ - spec/features/exercise_flow_spec.rb
922
937
  - spec/features/not_found_private_flow_spec.rb
923
- - spec/features/progressive_tips_spec.rb
924
- - spec/features/disabled_organization_flow_spec.rb
925
- - spec/features/complements_flow_spec.rb
926
- - spec/features/profile_flow_spec.rb
938
+ - spec/features/home_private_flow_spec.rb
927
939
  - spec/features/guide_reset_spec.rb
928
- - spec/features/menu_bar_spec.rb
929
- - spec/features/guides_flow_spec.rb
930
- - spec/features/exams_flow_spec.rb
931
- - spec/features/dynamic_exam_spec.rb
932
- - spec/features/discussion_flow_spec.rb
933
- - spec/features/chapters_flow_spec.rb
940
+ - spec/features/profile_flow_spec.rb
941
+ - spec/features/terms_flow_spec.rb
942
+ - spec/features/links_flow_spec.rb
943
+ - spec/features/invitations_flow_spec.rb
944
+ - spec/features/standard_flow_spec.rb
934
945
  - spec/features/login_flow_spec.rb
946
+ - spec/features/progressive_tips_spec.rb
947
+ - spec/features/lessons_flow_spec.rb
935
948
  - spec/features/disable_user_flow_spec.rb
949
+ - spec/features/runner_assets_spec.rb
936
950
  - spec/features/home_public_flow_spec.rb
937
- - spec/features/home_private_flow_spec.rb
938
- - spec/features/terms_flow_spec.rb
939
- - spec/features/lessons_flow_spec.rb
951
+ - spec/features/not_found_public_flow_spec.rb
952
+ - spec/features/guides_flow_spec.rb
953
+ - spec/features/disabled_organization_flow_spec.rb
954
+ - spec/features/dynamic_exam_spec.rb
955
+ - spec/features/exams_flow_spec.rb
940
956
  - spec/features/topic_flow_spec.rb
941
- - spec/features/standard_flow_spec.rb
957
+ - spec/features/chapters_flow_spec.rb
958
+ - spec/features/discussion_flow_spec.rb
959
+ - spec/features/menu_bar_spec.rb
942
960
  - spec/features/immersive_redirection_spec.rb
943
- - spec/features/not_found_public_flow_spec.rb
944
- - spec/features/exercise_flow_spec.rb
945
- - spec/features/invitations_flow_spec.rb
946
- - spec/capybara_helper.rb
961
+ - spec/features/complements_flow_spec.rb
962
+ - spec/login_helper.rb
963
+ - spec/teaspoon_env.rb
947
964
  - spec/evaluation_helper.rb
948
- - spec/javascripts/submissions-store-spec.js
949
- - spec/javascripts/exercise-spec.js
965
+ - spec/helpers/icons_helper_spec.rb
966
+ - spec/helpers/with_navigation_spec.rb
967
+ - spec/helpers/with_choices_spec.rb
968
+ - spec/helpers/avatar_helper_spec.rb
969
+ - spec/helpers/email_helper_spec.rb
970
+ - spec/helpers/exercise_input_helper_spec.rb
971
+ - spec/helpers/breadcrumbs_helper_spec.rb
972
+ - spec/helpers/test_results_rendering_spec.rb
973
+ - spec/helpers/page_title_helper_spec.rb
974
+ - spec/helpers/authors_helper_spec.rb
975
+ - spec/helpers/application_helper_spec.rb
976
+ - spec/javascripts/events-spec.js
977
+ - spec/javascripts/editors-spec.js
978
+ - spec/javascripts/kids-button-spec.js
979
+ - spec/javascripts/timer-spec.js
950
980
  - spec/javascripts/spec-helper.js
981
+ - spec/javascripts/global-spec.js
982
+ - spec/javascripts/submissions-store-spec.js
951
983
  - spec/javascripts/results-renderers-spec.js
984
+ - spec/javascripts/speech-bubble-renderer-spec.js
985
+ - spec/javascripts/csrf-token-spec.js
986
+ - spec/javascripts/sync-mode-spec.js
987
+ - spec/javascripts/bridge-spec.js
952
988
  - spec/javascripts/i18n-spec.js
953
- - spec/javascripts/timer-spec.js
954
989
  - spec/javascripts/elipsis-spec.js
955
- - spec/javascripts/gamification-spec.js
956
- - spec/javascripts/bridge-spec.js
990
+ - spec/javascripts/exercise-spec.js
957
991
  - spec/javascripts/timeout-spec.js
958
- - spec/javascripts/events-spec.js
959
- - spec/javascripts/editors-spec.js
960
- - spec/javascripts/sync-mode-spec.js
961
- - spec/javascripts/speech-bubble-renderer-spec.js
962
- - spec/javascripts/global-spec.js
963
- - spec/javascripts/kids-button-spec.js
964
- - spec/javascripts/csrf-token-spec.js
965
- - spec/controllers/users_controller_spec.rb
966
- - spec/controllers/messages_controller_spec.rb
967
- - spec/controllers/students_api_controller_spec.rb
968
- - spec/controllers/chapters_controller_spec.rb
969
- - spec/controllers/confirmations_controller_spec.rb
970
- - spec/controllers/courses_api_controller_spec.rb
971
- - spec/controllers/api_clients_controller.rb
972
- - spec/controllers/discussions_controller_spec.rb
973
- - spec/controllers/invitations_controller_spec.rb
974
- - spec/controllers/users_api_controller_spec.rb
975
- - spec/controllers/discussions_messages_controller_spec.rb
976
- - spec/controllers/exercise_solutions_controller_spec.rb
977
- - spec/controllers/organizations_api_controller_spec.rb
978
- - spec/controllers/guide_progress_controller_spec.rb
979
- - spec/login_helper.rb
980
- - spec/helpers/page_title_helper_spec.rb
981
- - spec/helpers/icons_helper_spec.rb
982
- - spec/helpers/breadcrumbs_helper_spec.rb
983
- - spec/helpers/test_results_rendering_spec.rb
984
- - spec/helpers/application_helper_spec.rb
985
- - spec/helpers/avatar_helper_spec.rb
986
- - spec/helpers/authors_helper_spec.rb
987
- - spec/helpers/with_choices_spec.rb
988
- - spec/helpers/exercise_input_helper_spec.rb
989
- - spec/helpers/with_navigation_spec.rb
990
- - spec/helpers/email_helper_spec.rb
992
+ - spec/javascripts/gamification-spec.js