author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
701,848
22.07.2020 09:35:37
-43,200
fae6bb735a9032bf1f5c109e87d1e722e1d1db13
Updates to the editor information panel Remove link to unplugged lesson Remove learning outcomes Remove link to solution in hints Make the h1 challenge headings a smaller font size Remove 'Requirement' heading
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/programming-editor.scss", "new_path": "csunplugged/static/scss/programming-editor.scss", "diff": "@@ -94,10 +94,14 @@ body {\nwidth: 100%;\nborder: 1px solid grey;\nborder-radius: 15px;\n+\n+ h1 {\n+ font-size: 2.0rem;\n+ }\n}\n// Remov...
Python
MIT License
uccser/cs-unplugged
Updates to the editor information panel - Remove link to unplugged lesson - Remove learning outcomes - Remove link to solution in hints - Make the h1 challenge headings a smaller font size - Remove 'Requirement' heading
701,848
22.07.2020 09:35:45
-43,200
6d647cd2df69cfc67fed3f475a75139e1209c075
Remove redundant 'Plugging it in' breadcrumb
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/index.html", "new_path": "csunplugged/templates/plugging_it_in/index.html", "diff": "{% trans \"Plugging It In\" %}\n{% endblock title %}\n-{% block breadcrumbs %}\n- {% breadcrumb \"Plugging it in\" \"plugging-it-in:index\...
Python
MIT License
uccser/cs-unplugged
Remove redundant 'Plugging it in' breadcrumb
701,848
22.07.2020 10:21:59
-43,200
6471fc4c4e3bf41ff0d7f06a654b30504c33d7ff
Add unit tests for pii topic view
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/tests/plugging_it_in/views/test_topic_view.py", "diff": "+from http import HTTPStatus\n+from django.urls import reverse\n+from tests.BaseTestWithDB import BaseTestWithDB\n+from tests.topics.TopicsTestDataGenerator import TopicsTestDa...
Python
MIT License
uccser/cs-unplugged
Add unit tests for pii topic view
701,848
22.07.2020 20:08:48
-43,200
7ea336df73fd0790021cca2ed48ca666c522fb72
Modify editor top header to be full width
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/programming-editor.scss", "new_path": "csunplugged/static/scss/programming-editor.scss", "diff": "@@ -15,6 +15,14 @@ body {\nwidth: 100%;\n}\n+.navbar-student {\n+ .container {\n+ max-width: 100%;\n+ padding-left: 20px !important;\n+ pa...
Python
MIT License
uccser/cs-unplugged
Modify editor top header to be full width
701,848
22.07.2020 21:10:46
-43,200
64c2e023adf28b409b54185d3223061b6af72a02
Simplifying the bottom nav bar Remove lesson name Remove hamburger menu (and font awesome icons) Remove challenge name Progress label is made larger with more information and option to open the challenge navigation
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/editor-options-menu.js", "new_path": "csunplugged/static/js/editor-options-menu.js", "diff": "@@ -61,7 +61,8 @@ function setupLessonNav() {\nconst isCurrentChallengeIndex = (element) => element.slug == current_challenge_slug;\ncurrentChal...
Python
MIT License
uccser/cs-unplugged
Simplifying the bottom nav bar - Remove lesson name - Remove hamburger menu (and font awesome icons) - Remove challenge name - Progress label is made larger with more information and option to open the challenge navigation
701,848
23.07.2020 16:49:04
-43,200
4224a52e76247b7f73e4d33dcb5c1f92a2b41da2
Add headings to the editor and output blocks.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/programming-editor.scss", "new_path": "csunplugged/static/scss/programming-editor.scss", "diff": "@@ -142,12 +142,21 @@ body {\n}\n}\n+.pii-block-heading {\n+ color: #292b2c;\n+ font-size: 1.1em;\n+ font-weight: bolder;\n+ font-family: ...
Python
MIT License
uccser/cs-unplugged
Add headings to the editor and output blocks.
701,848
23.07.2020 19:18:21
-43,200
d2c923b9680fed8be095738e3bbab2a78cb487f8
Update editor button style Make button text lowercase Make download button an outline style Equal sizes for both buttons
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/programming-editor.scss", "new_path": "csunplugged/static/scss/programming-editor.scss", "diff": "@@ -184,11 +184,19 @@ body {\nmargin: 0px 10px;\nborder-radius: 20px;\ntransition: ease-in;\n+ min-width: 100px;\n}\n- .editor_button:hove...
Python
MIT License
uccser/cs-unplugged
Update editor button style - Make button text lowercase - Make download button an outline style - Equal sizes for both buttons
701,848
23.07.2020 20:11:22
-43,200
12cdb42d77531af18d5d6d7d56a6d6b7d372d9d0
Sidedrawer update Link to unplugged lesson (jump to unplugged) Link to plugging it in lesson Link to plugging it in topic Keep top header visible when sidebar open Switch around the topic and lesson display at the top of the side drawer
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/editor-options-menu.js", "new_path": "csunplugged/static/js/editor-options-menu.js", "diff": "*/\nfunction openNav() {\ndocument.getElementById(\"my_sidenav\").style.width = \"800px\";\n- document.getElementById(\"sidebar_overlay\").style...
Python
MIT License
uccser/cs-unplugged
Sidedrawer update -Link to unplugged lesson (jump to unplugged) -Link to plugging it in lesson -Link to plugging it in topic -Keep top header visible when sidebar open -Switch around the topic and lesson display at the top of the side drawer
701,848
23.07.2020 20:29:28
-43,200
489f9170b78c5f8bcc42b047572a412624b896b7
Filter exercises by language on editor screen
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -147,9 +147,9 @@ class ProgrammingChallengeView(generic.DetailView):\nfor lesson in lessons:\nif lesson.slug == self.kwargs.get(\"lesson_slug\", None):\ncontex...
Python
MIT License
uccser/cs-unplugged
Filter exercises by language on editor screen
701,848
23.07.2020 20:48:01
-43,200
fa4c925338d5c447b688b0a118c8e31970cd7256
Update programming challenge languages query to return objects
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/lessons-table.html", "new_path": "csunplugged/templates/plugging_it_in/lessons-table.html", "diff": "</a>\n</td>\n<td class=\"text-center\" style=\"width:20%\">\n- {% for language_icon in lesson.challenge_language_icons %}\...
Python
MIT License
uccser/cs-unplugged
Update programming challenge languages query to return objects
701,848
23.07.2020 22:06:14
-43,200
ff24e3961749603945456147f2860a129f8da1aa
Add language tabs for lesson challenges
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/lesson.html", "new_path": "csunplugged/templates/plugging_it_in/lesson.html", "diff": "{% block content %}\n{% if programming_challenges %}\n- {% include \"plugging_it_in/programming-challenges-table.html\" %}\n+ <nav>\n+ <...
Python
MIT License
uccser/cs-unplugged
Add language tabs for lesson challenges
701,848
25.07.2020 09:27:50
-43,200
f1b1e488aebae2a60ad159cad87152735147dbe8
Add extra unit plan view test for cover all conditional cases for grouped lessons
[ { "change_type": "MODIFY", "old_path": "csunplugged/tests/topics/views/test_unit_plan_view.py", "new_path": "csunplugged/tests/topics/views/test_unit_plan_view.py", "diff": "@@ -140,6 +140,51 @@ class UnitPlanViewTest(BaseTestWithDB):\n)\ni += 1\n+ def test_unit_plan_view_lessons_with_programming_ex...
Python
MIT License
uccser/cs-unplugged
Add extra unit plan view test for cover all conditional cases for grouped lessons
701,848
25.07.2020 11:06:24
-43,200
a2c8d3d9ffe153b7b42fc92dd2c56da48d06ac75
Add init files to the plugging it in test package.
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/tests/plugging_it_in/__init__.py", "diff": "+\"\"\"Module for tests of the plugging it in application.\"\"\"\n" }, { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/tests/plugging_it_in/views/__init__...
Python
MIT License
uccser/cs-unplugged
Add init files to the plugging it in test package.
701,848
25.07.2020 12:07:09
-43,200
5970ae8a5c19c251f7e73ac460be263f606516f8
Add addtional tests to the lessons model test_get_filtered_programming_exercises_by_lanaguge test_get_programming_exercises_without_filter test_get_available_languages
[ { "change_type": "MODIFY", "old_path": "csunplugged/tests/topics/models/test_lesson.py", "new_path": "csunplugged/tests/topics/models/test_lesson.py", "diff": "@@ -46,3 +46,126 @@ class LessonModelTest(BaseTestWithDB):\nlesson.get_absolute_url(),\n\"/en/topics/topic-1/unit-plan-1/lesson-1/\"\n)\n+\n...
Python
MIT License
uccser/cs-unplugged
Add addtional tests to the lessons model - test_get_filtered_programming_exercises_by_lanaguge - test_get_programming_exercises_without_filter - test_get_available_languages
701,848
25.07.2020 17:31:24
-43,200
26b99b162fff0d649ed2f2e36f7569ada284b3d5
Remove redundant editor context
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -151,17 +151,6 @@ class ProgrammingChallengeView(generic.DetailView):\ncontext[\"programming_exercises_json\"] = json.dumps(\nlist(lesson.retrieve_related_prog...
Python
MIT License
uccser/cs-unplugged
Remove redundant editor context
701,848
30.07.2020 11:31:57
-43,200
8f0e5de835e5c07a0cb3c77ceaeacf7b03ce1756
Editor button UI adjustments Changed the outline to the be the same colour as the check button Added a border to the check button so both buttons are the same size
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/programming-editor.scss", "new_path": "csunplugged/static/scss/programming-editor.scss", "diff": "@@ -183,6 +183,7 @@ body {\n.editor_button {\nborder: none;\nbackground-color: #5a9fffff;\n+ border: 2px solid #5a9fffff;\ncolor: white;\n...
Python
MIT License
uccser/cs-unplugged
Editor button UI adjustments - Changed the outline to the be the same colour as the check button - Added a border to the check button so both buttons are the same size
701,848
30.07.2020 11:37:20
-43,200
eefa3af2ea27e7942293dd27a01c76e30a2aaad0
Lesson challenges tabs adjustments Disabled Scratch tab Reordered tabs alphabetically by name so Python appears as the first tab
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/lesson.html", "new_path": "csunplugged/templates/plugging_it_in/lesson.html", "diff": "<nav>\n<div class=\"nav nav-tabs mt-2\" id=\"nav-tab\" role=\"tablist\">\n{% for language in lesson.challenge_languages %}\n- <a class=\...
Python
MIT License
uccser/cs-unplugged
Lesson challenges tabs adjustments - Disabled Scratch tab - Reordered tabs alphabetically by name so Python appears as the first tab
701,848
30.07.2020 11:53:14
-43,200
608538826e1826d6705f62e94ee27e9e8e0fb83e
Fix plugging-it-in URL bug
[ { "change_type": "MODIFY", "old_path": "csunplugged/config/urls.py", "new_path": "csunplugged/config/urls.py", "diff": "@@ -25,9 +25,9 @@ urlpatterns += [\n]\nif not env(\"DEPLOYMENT\", default=None) == \"prod\":\n- urlpatterns += [\n+ urlpatterns += i18n_patterns(\npath('plugging-it-in/', include('...
Python
MIT License
uccser/cs-unplugged
Fix plugging-it-in URL bug
701,848
04.08.2020 20:20:25
-43,200
2a377a2ee1933e43bd41b507b2d86b903fa2a667
Renaming various plugging it in views
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/urls.py", "new_path": "csunplugged/plugging_it_in/urls.py", "diff": "@@ -14,12 +14,12 @@ urlpatterns = [\n),\nurl(\nr\"^(?P<topic_slug>[-\\w]+)/$\",\n- views.TopicView.as_view(),\n+ views.LessonsView.as_view(),\nname=\"topic\"\n),\nu...
Python
MIT License
uccser/cs-unplugged
Renaming various plugging it in views
701,848
05.08.2020 11:26:25
-43,200
6707152b3c882aae6cd60734bfcdd7495fdc4c54
Various review fixes Adding translation Adding an extra line to the end of some js files Fixing some comments FIxing indentation Adding in breakpoint mixin to editor styles
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -80,7 +80,7 @@ function updateResultsTable(results) {\n/**\n* Downloads text to a file.\n* @param {String} filename The filename of the file to be downloaded...
Python
MIT License
uccser/cs-unplugged
Various review fixes - Adding translation - Adding an extra line to the end of some js files - Fixing some comments - FIxing indentation - Adding in breakpoint mixin to editor styles
701,848
03.08.2020 19:12:47
-43,200
0ad861976366ac1b83e5ac579debfd44da4cf4fe
Add code attempt persistance using sessions.
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/urls.py", "new_path": "csunplugged/plugging_it_in/urls.py", "diff": "@@ -32,4 +32,9 @@ urlpatterns = [\nviews.JobeProxyView.as_view(),\nname=\"jobe_proxy\"\n),\n+ url(\n+ r\"^save_attempt$\",\n+ views.SaveAttemptView.as_view(),\n+ na...
Python
MIT License
uccser/cs-unplugged
Add code attempt persistance using sessions.
701,848
03.08.2020 21:16:42
-43,200
81e616e41518631368ff7e282c889415b9d68631
Add code attempt status and display in side drawer.
[ { "change_type": "MODIFY", "old_path": "csunplugged/config/settings/base.py", "new_path": "csunplugged/config/settings/base.py", "diff": "@@ -229,6 +229,7 @@ TEMPLATES = [\n\"render_html_field\": \"config.templatetags.render_html_field\",\n\"translate_url\": \"config.templatetags.translate_url\",\n\...
Python
MIT License
uccser/cs-unplugged
Add code attempt status and display in side drawer.
701,848
03.08.2020 21:52:44
-43,200
e691445ce6cb58c849828fecabc6f2901fbe6d19
Add started code attempt status and saving on next, prev and nav open.
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -193,9 +193,13 @@ class SaveAttemptView(View):\nbody = json.loads(body_unicode)\nrequest.session['saved_attempts'] = request.session.get('saved_attempts', {})\...
Python
MIT License
uccser/cs-unplugged
Add started code attempt status and saving on next, prev and nav open.
701,848
05.08.2020 19:12:18
-43,200
d23c1f69080d299ce466df02a91d9078278f4efe
Adding status badges to the nav bar
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/programming-editor.scss", "new_path": "csunplugged/static/scss/programming-editor.scss", "diff": "@@ -351,3 +351,40 @@ body {\noverflow-x: hidden;\ntransition: opacity 0.5s;\n}\n+\n+.nav-row-info {\n+ padding: 0px;\n+ padding-left: 30px...
Python
MIT License
uccser/cs-unplugged
Adding status badges to the nav bar
701,848
05.08.2020 20:21:32
-43,200
9690d52d14cdf21f8b5100122237786fefc29948
Fix attempt not saving when page reloads too fast. Importing editor-options-menu js into the jobe editor file
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/editor-options-menu.js", "new_path": "csunplugged/static/js/editor-options-menu.js", "diff": "@@ -19,35 +19,40 @@ function closeNav() {\ndocument.getElementById(\"sidebar_overlay\").style.opacity = \"0\";\n}\n-// Setting up event listener...
Python
MIT License
uccser/cs-unplugged
Fix attempt not saving when page reloads too fast. - Importing editor-options-menu js into the jobe editor file
701,848
06.08.2020 12:37:25
-43,200
c731a47e578073af1c54304f8b5ab8fab2ea3641
Fix style check issues
[ { "change_type": "MODIFY", "old_path": "csunplugged/config/templatetags/custom_tags.py", "new_path": "csunplugged/config/templatetags/custom_tags.py", "diff": "+\"\"\"Module for the custom dictionary look up template tag.\"\"\"\n+\nfrom django.template.defaulttags import register\n+\n@register.filte...
Python
MIT License
uccser/cs-unplugged
Fix style check issues
701,848
06.08.2020 16:58:02
-43,200
34ee3cae5b441012436a557c5cbcb5a48dce1b57
Enable Scratch tab and add a warning message for users.
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/lesson.html", "new_path": "csunplugged/templates/plugging_it_in/lesson.html", "diff": "<nav>\n<div class=\"nav nav-tabs mt-2\" id=\"nav-tab\" role=\"tablist\">\n{% for language in lesson.challenge_languages %}\n- <a class=\...
Python
MIT License
uccser/cs-unplugged
Enable Scratch tab and add a warning message for users.
701,848
06.08.2020 17:24:58
-43,200
0e5ab9af3b7a456f79826c430bd4e9f054430206
Update Kidbots Q6.1 so test cases are consistent with the solution.
[ { "change_type": "MODIFY", "old_path": "csunplugged/topics/content/en/kidbots/programming-challenges/modulo-add-video-timings/modulo-add-video-timings.md", "new_path": "csunplugged/topics/content/en/kidbots/programming-challenges/modulo-add-video-timings/modulo-add-video-timings.md", "diff": "Remix ...
Python
MIT License
uccser/cs-unplugged
Update Kidbots Q6.1 so test cases are consistent with the solution.
701,848
06.08.2020 18:16:36
-43,200
370ed9da015a04d00bd7776eef22ec236ba5690b
Update responsiveness for the bottom options bar.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/programming-editor.scss", "new_path": "csunplugged/static/scss/programming-editor.scss", "diff": "@@ -28,7 +28,6 @@ body {\n}\n.programming__options {\n- height: 70px;\nbackground-color: $student-colour;\ncolor: white;\nmargin-left: 0px...
Python
MIT License
uccser/cs-unplugged
Update responsiveness for the bottom options bar.
701,848
06.08.2020 23:05:09
-43,200
af7c7696de981057866402f79bd27441f9d73bd5
Adding help pop ups for test case output status.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -52,20 +52,25 @@ function sendCodeToJobe() {\nfunction updateResultsTable(results) {\nfor (result of results) {\n// Update status cell\n- let status_element ...
Python
MIT License
uccser/cs-unplugged
Adding help pop ups for test case output status.
701,848
06.08.2020 23:53:00
-43,200
e7fa732c6d4645e7387ef402ad430df677853a8c
Add static programming syntax hints Add highlight.js import for code highlighting
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "new_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "diff": "<strong>{% trans \"Programming Reminders\" %}</strong>\n</summary>\n<div class=\"boxed-text-content\">\n- ...
Python
MIT License
uccser/cs-unplugged
Add static programming syntax hints - Add highlight.js import for code highlighting
701,848
25.07.2020 14:01:05
-43,200
a8609d1f1e74f31a06fa430dbe0762aa1de0b25b
Add collapsible learning outcomes to the topics programming challenges table.
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/topics/programming-challenges-table.html", "new_path": "csunplugged/templates/topics/programming-challenges-table.html", "diff": "</thead>\n<tbody>\n{% for programming_challenge in programming_challenges %}\n- <tr class=\"align-middle{% i...
Python
MIT License
uccser/cs-unplugged
Add collapsible learning outcomes to the topics programming challenges table.
701,848
25.07.2020 15:29:06
-43,200
8607e371ac7ab52a9ee5321adda436a35609b2dc
Add solution links to the programming challenges table collapsible area.
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/topics/programming-challenges-table.html", "new_path": "csunplugged/templates/topics/programming-challenges-table.html", "diff": "</ul>\n</div>\n{% endif %}\n+\n+ {% if programming_challenge.ordered_implementations %}\n+ <strong>{% trans ...
Python
MIT License
uccser/cs-unplugged
Add solution links to the programming challenges table collapsible area.
701,848
25.07.2020 15:58:21
-43,200
5f29bbb2a00b45d86732fa89fe75f904cc7127f1
Adding docstring to the get_learning_outcomes method.
[ { "change_type": "MODIFY", "old_path": "csunplugged/topics/models.py", "new_path": "csunplugged/topics/models.py", "diff": "@@ -231,6 +231,11 @@ class ProgrammingChallenge(TranslatableModel):\nreturn reverse(\"topics:programming_challenge\", kwargs=kwargs)\ndef get_learning_outcomes(self):\n+ \"\"\"...
Python
MIT License
uccser/cs-unplugged
Adding docstring to the get_learning_outcomes method.
701,848
04.08.2020 20:01:49
-43,200
751c1e009f84dbe3caeb290560107e137ea65a6c
Adjustments to the collapsable areas for the programming table Added a badge/button to toggle collapsable content Added a checkbox toggle showing/hiding all expandable content.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/website.scss", "new_path": "csunplugged/static/scss/website.scss", "diff": "@@ -844,3 +844,12 @@ button:hover .icon-search {\nmax-height: 60vh;\nobject-fit: contain;\n}\n+.badge-outline {\n+ color: #3366ff;\n+ background-color: transpar...
Python
MIT License
uccser/cs-unplugged
Adjustments to the collapsable areas for the programming table - Added a badge/button to toggle collapsable content - Added a checkbox toggle showing/hiding all expandable content.
701,848
07.08.2020 16:01:13
-43,200
cc5d39ca60e33c6db4974671a965b1f7c15eaacb
Fix error server error when saving an attempt when opening the nav.
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -196,7 +196,7 @@ class SaveAttemptView(View):\n# To stop a \"passed\" or \"failed\" status being overridden by \"started\"\nif (not (body[\"status\"] == \"star...
Python
MIT License
uccser/cs-unplugged
Fix error server error when saving an attempt when opening the nav.
701,848
07.08.2020 16:16:05
-43,200
fb5800067b8edd57ee38ff44430bae221f04565e
Add translations for challenge status
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "new_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "diff": "<div class='col-2 d-flex align-items-center justify-content-center'>\n{% if programming_challenge_item.slu...
Python
MIT License
uccser/cs-unplugged
Add translations for challenge status
701,848
07.08.2020 16:17:26
-43,200
a4cd00bce666e84a018357c8ed1a4066e1621bdc
Hide next/prev buttons if no challenge available
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/editor-options-menu.js", "new_path": "csunplugged/static/js/editor-options-menu.js", "diff": "@@ -74,6 +74,14 @@ function setupLessonNav() {\n// Add testing examples info to the requirements block (temporary)\nconst static_requirement_inf...
Python
MIT License
uccser/cs-unplugged
Hide next/prev buttons if no challenge available
701,848
07.08.2020 16:44:00
-43,200
9c661c51b8f7e85dc1e9506bcee169b0bf4ec06f
Review fixes Updating translations Updating text when content is open Full width table New challenges-list css file
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/static/scss/challenges-list.scss", "diff": "+.educators-programming-challenge-number {\n+ font-size: 1.2rem;\n+}\n+ .acc-programming-challenge {\n+ padding: 0.75rem;\n+}\n+.badge-outline {\n+ color: #3366ff;\n+ background-color: tran...
Python
MIT License
uccser/cs-unplugged
Review fixes - Updating translations - Updating text when content is open - Full width table - New challenges-list css file
701,848
07.08.2020 21:27:02
-43,200
f553ceae17b7da67dd5d127878265b56410cdd20
More review fixes Updated working for how to I teach unplugged Adding translations Adding a comment to syntax reminders Remove inline styles
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -57,7 +57,7 @@ function updateResultsTable(results) {\n// Update help modal\n$(`#test-case-${result.id}-help-title`).text(result.status)\n$(`#test-case-${res...
Python
MIT License
uccser/cs-unplugged
More review fixes - Updated working for how to I teach unplugged - Adding translations - Adding a comment to syntax reminders - Remove inline styles
701,848
07.08.2020 21:28:30
-43,200
e9eb9f5599b764d3243d3ff5ac2176cc42251421
Add in unit test for custom dictionary tag
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/tests/general/templatetags/test_custom_tags.py", "diff": "+from django import template\n+from django.test import override_settings\n+\n+from tests.BaseTest import BaseTest\n+\n+AVAILABLE_LANGUAGES_EN = (\n+ (\"en\", \"English\"),\n+)...
Python
MIT License
uccser/cs-unplugged
Add in unit test for custom dictionary tag
701,848
07.08.2020 21:32:30
-43,200
4148f1f3578be8fb1140838799aaa8dc3c76ef9b
Removing duplicate queries in the editor view.
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -146,13 +146,15 @@ class ProgrammingChallengeView(generic.DetailView):\nfor lesson in lessons:\nif lesson.slug == self.kwargs.get(\"lesson_slug\", None):\ncont...
Python
MIT License
uccser/cs-unplugged
Removing duplicate queries in the editor view.
701,848
08.08.2020 10:56:05
-43,200
5909a6bd4e82cc704348e56b82e3662238f5d4b1
Change Educators Guide to Educators' Guide
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/about.html", "new_path": "csunplugged/templates/plugging_it_in/about.html", "diff": "{% load django_bootstrap_breadcrumbs %}\n{% block title %}\n- {% trans \"Educators Guide to Plugging It In\" %}\n+ {% trans \"Educators' G...
Python
MIT License
uccser/cs-unplugged
Change Educators Guide to Educators' Guide
701,848
08.08.2020 13:11:43
-43,200
a43e96c9543d285ff0e4cbf2292cf5375c438735
Navigate to language tab from index
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/static/js/plugging-it-in-challenges.js", "diff": "+// Navigates to a specific tab when page loads based on the hash\n+// The hash does not match the exact id to prevent scrolling\n+$(document).ready(() => {\n+ let selectedTab = windo...
Python
MIT License
uccser/cs-unplugged
Navigate to language tab from index
701,848
08.08.2020 14:09:24
-43,200
d11d928e9b38748534885060f62b4a956c9be4ba
Add unit test for new index page
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/tests/plugging_it_in/views/test_index_view.py", "diff": "+from http import HTTPStatus\n+from django.urls import reverse\n+from tests.BaseTestWithDB import BaseTestWithDB\n+from tests.topics.TopicsTestDataGenerator import TopicsTestDa...
Python
MIT License
uccser/cs-unplugged
Add unit test for new index page
701,848
08.08.2020 14:49:49
-43,200
0701c48dee7a0cbe03f640ff05e32e0a6786b126
Fix editor initial display issues
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/programming-editor.scss", "new_path": "csunplugged/static/scss/programming-editor.scss", "diff": "@@ -19,6 +19,13 @@ body {\npadding-bottom: 70px;\n}\n+// Apply similar styles to the base text area while it loads\n+#codemirror_editor {\...
Python
MIT License
uccser/cs-unplugged
Fix editor initial display issues
701,848
08.08.2020 15:42:24
-43,200
208bf1431758605ad5e074046da549d32bc8be8f
Fix some performance issues related to challenge queries
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -84,7 +84,8 @@ class ProgrammingChallengeListView(generic.DetailView):\ncontext[\"lesson\"] = self.object\n# Add in a QuerySet of all the connected programming...
Python
MIT License
uccser/cs-unplugged
Fix some performance issues related to challenge queries
701,848
08.08.2020 15:51:01
-43,200
864b04d4ee6d5fd89b0120ca647fda54194e8554
Update challenges list styles
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/challenges-list.scss", "new_path": "csunplugged/static/scss/challenges-list.scss", "diff": "background-color: #3366ff;\ncursor: pointer;\n}\n+.nav-item:hover {\n+ cursor: pointer;\n+}\n" }, { "change_type": "MODIFY", "old_pa...
Python
MIT License
uccser/cs-unplugged
Update challenges list styles
701,848
01.09.2020 17:26:39
-43,200
9aa8f47c1d35da9408e02c9a599aa4b08124392e
Change Q4.5 input to be on one line.
[ { "change_type": "MODIFY", "old_path": "csunplugged/topics/content/en/binary-numbers/programming-challenges/count-bw-one-input-using-loop/test-cases/test-case-1-input.txt", "new_path": "csunplugged/topics/content/en/binary-numbers/programming-challenges/count-bw-one-input-using-loop/test-cases/test-case...
Python
MIT License
uccser/cs-unplugged
Change Q4.5 input to be on one line.
701,848
01.09.2020 19:15:11
-43,200
e25e651e7ae7b91c039faa1e6f9ab631f900f9fb
Updating expected output for Q7.1 to display 5 binary cards.
[ { "change_type": "MODIFY", "old_path": "csunplugged/topics/content/en/binary-numbers/programming-challenges/binary-cards-representing-number/test-cases/test-case-1-output.txt", "new_path": "csunplugged/topics/content/en/binary-numbers/programming-challenges/binary-cards-representing-number/test-cases/te...
Python
MIT License
uccser/cs-unplugged
Updating expected output for Q7.1 to display 5 binary cards.
701,848
14.09.2020 22:10:21
-43,200
ac8e013738fe68d62274be1dc462ceec560d737d
Add url unit tests for plugging it in
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/tests/plugging_it_in/urls/__init__.py", "diff": "+\"\"\"Module for tests of the urls in the plugging it in application.\"\"\"\n" }, { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/tests/plugging_it_...
Python
MIT License
uccser/cs-unplugged
Add url unit tests for plugging it in
701,848
14.09.2020 22:34:37
-43,200
2ebd8c3122fbeed90f445bc75a101d3e63d74845
Add plugging it in models tests
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/tests/plugging_it_in/models/__init__.py", "diff": "+\"\"\"Module for tests of the models in the plugging it in application.\"\"\"\n" }, { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/tests/plugging...
Python
MIT License
uccser/cs-unplugged
Add plugging it in models tests
701,848
14.09.2020 22:45:16
-43,200
25ba3579f13f9f4b93a086c3da1e96c2363c2663
Fixes to plugging it in views
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "\"\"\"Views for the plugging_it_in application.\"\"\"\nfrom django.http import HttpResponse\n+from django.http import Http404\nimport json\nimport requests\n@@ -6...
Python
MIT License
uccser/cs-unplugged
Fixes to plugging it in views
701,848
14.09.2020 22:45:47
-43,200
81a16ec0a7a75812c0b593debfebf08ddbf77e1b
Add unit tests for plugging it in views (unfinished)
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/tests/plugging_it_in/views/test_about_view.py", "diff": "+from tests.BaseTestWithDB import BaseTestWithDB\n+from django.urls import reverse\n+from http import HTTPStatus\n+\n+\n+class AboutViewTest(BaseTestWithDB):\n+\n+ def __init__...
Python
MIT License
uccser/cs-unplugged
Add unit tests for plugging it in views (unfinished)
701,848
15.09.2020 14:34:37
-43,200
7296cdaf0adb30100eb28646d7ff3e5631a5c6ed
Fix TestCase ID assertion Fixes: test_programming_challenge_related_test_cases
[ { "change_type": "MODIFY", "old_path": "csunplugged/tests/topics/models/test_programming_challenge.py", "new_path": "csunplugged/tests/topics/models/test_programming_challenge.py", "diff": "@@ -52,13 +52,13 @@ class ProgrammingChallengeModelTest(BaseTestWithDB):\ntopic = self.test_data.create_topic(...
Python
MIT License
uccser/cs-unplugged
Fix TestCase ID assertion Fixes: test_programming_challenge_related_test_cases
701,848
15.09.2020 19:33:25
-43,200
ba3abd56e60c49b47f3fec42ec3ae791369008e9
Fix plugging it in programming_challenge_view tests. Added in 3 commented out assertion statements for view contexts
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -145,8 +145,8 @@ class ProgrammingChallengeView(generic.DetailView):\ncontext[\"implementations\"] = self.object.ordered_implementations()\n- related_test_case...
Python
MIT License
uccser/cs-unplugged
Fix plugging it in programming_challenge_view tests. - Added in 3 commented out assertion statements for view contexts
701,848
16.09.2020 20:49:03
-43,200
fb856f6ad05dfb0778e9a9f1b614a0c96ea58b26
Add jobe proxy test for plugging it in
[ { "change_type": "MODIFY", "old_path": "csunplugged/tests/plugging_it_in/views/test_jobe_proxy_view.py", "new_path": "csunplugged/tests/plugging_it_in/views/test_jobe_proxy_view.py", "diff": "+import json\n+from unittest import mock\n+\n+from django.urls import reverse\nfrom tests.BaseTestWithDB imp...
Python
MIT License
uccser/cs-unplugged
Add jobe proxy test for plugging it in
701,848
16.09.2020 21:28:04
-43,200
902e4ce0848cc2c3afa7192a85d413ed2919c798
Fix models unit test for plugging it in
[ { "change_type": "MODIFY", "old_path": "csunplugged/tests/plugging_it_in/models/test_testcase.py", "new_path": "csunplugged/tests/plugging_it_in/models/test_testcase.py", "diff": "-from plugging_it_in.models import TestCase\n-\nfrom tests.BaseTestWithDB import BaseTestWithDB\nfrom tests.topics.Topic...
Python
MIT License
uccser/cs-unplugged
Fix models unit test for plugging it in
701,848
21.09.2020 11:44:41
-43,200
1b2105b968b733c0cf0b69f457152766e043780c
Adjusting the lesson retrieval method in the ProgrammingChallengeView.
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -11,8 +11,10 @@ from django.views import generic\nfrom django.views import View\nfrom django.urls import reverse\nfrom django.conf import settings\n+from djang...
Python
MIT License
uccser/cs-unplugged
Adjusting the lesson retrieval method in the ProgrammingChallengeView.
701,849
21.10.2020 13:58:21
-46,800
f2c469b572e4806dace39192613448253c832ed2
use django docs method for csrf token
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "new_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "diff": "{% endblock body_container %}\n{% block scripts %}\n+ {% csrf_token %}\n<script type=\"text/javascript\">\...
Python
MIT License
uccser/cs-unplugged
use django docs method for csrf token
701,850
13.08.2021 14:11:36
-43,200
133e76349a199fab63a71e13b9a9c8cb28236417
Added an interactive Blockly editor. Can run blockly program in the browser (converted to JS firs), can send blockly program to the jobe server (converted to Python first). and can also download the python version of the blockly program. Have also added 'Recommended Blocks' if the Blockly editor is getting shown.
[ { "change_type": "MODIFY", "old_path": "csunplugged/package.json", "new_path": "csunplugged/package.json", "diff": "\"browserify\": \"17.0.0\",\n\"child_process\": \"1.0.2\",\n\"codemirror\": \"5.61.0\",\n+ \"blockly\": \"6.20210701.0\",\n\"cssnano\": \"4.1.10\",\n\"details-element-polyfill\": \"2.4...
Python
MIT License
uccser/cs-unplugged
Added an interactive Blockly editor. Can run blockly program in the browser (converted to JS firs), can send blockly program to the jobe server (converted to Python first). and can also download the python version of the blockly program. Have also added 'Recommended Blocks' if the Blockly editor is getting shown.
701,850
13.08.2021 16:08:30
-43,200
25e0e20d1ae0519085bce935f3050d64a3abd64e
Added saved functionality for Blockly coding attempt. Blockly attempt and Python attempt for the same question are also saved separately.
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -204,13 +204,15 @@ class SaveAttemptView(View):\nrequest.session['saved_attempts'] = request.session.get('saved_attempts', {})\n# To stop a \"passed\" or \"fai...
Python
MIT License
uccser/cs-unplugged
Added saved functionality for Blockly coding attempt. Blockly attempt and Python attempt for the same question are also saved separately.
701,850
14.08.2021 17:47:22
-43,200
69d81d5fe9d6bfb3e2e8e473b80de3eecedaebc6
Fixed problem with code attempt not getting saved properly, and not being retrieved properly. Should be working now.
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -160,7 +160,8 @@ class ProgrammingChallengeView(generic.DetailView):\ncontext[\"jobe_proxy_url\"] = reverse('plugging_it_in:jobe_proxy')\ncontext[\"saved_attem...
Python
MIT License
uccser/cs-unplugged
Fixed problem with code attempt not getting saved properly, and not being retrieved properly. Should be working now.
701,850
15.08.2021 03:08:42
-43,200
550960a49ec7c8691c2ec72937b735ed4c4066ed
Started adding custom blocks. Firstly, added a custom modulo block to fix the default remainder block outputting a negative a number instead of a positive number. Added a multiplcation block.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -16,6 +16,17 @@ require('blockly/javascript');\nconst En = require('blockly/msg/en');\nBlockly.setLocale(En);\n+// Change default text of default blocks\n+ c...
Python
MIT License
uccser/cs-unplugged
Started adding custom blocks. Firstly, added a custom modulo block to fix the default remainder block outputting a negative a number instead of a positive number. Added a multiplcation block.
701,850
15.08.2021 13:36:37
-43,200
4c195b4b9e2acf00499fd4acb630cdaab8cb4904
Changed Math category to Operators category, and created custom operators blocks similar to Scratch blocks.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -58,9 +58,35 @@ if (programming_lang == \"python\") {\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n// Custom Blockly blocks to look and ac...
Python
MIT License
uccser/cs-unplugged
Changed Math category to Operators category, and created custom operators blocks similar to Scratch blocks.
701,850
15.08.2021 14:28:21
-43,200
e69fd0d21de8aa164887f2891aae3760057a4955
Changed colours of categories, Controls and Operators, to look like Scratch
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "new_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "diff": "<p class='pii-block-heading'>{% trans \"Create your program in the editor below\" %}</p>\n<div id=\"blockl...
Python
MIT License
uccser/cs-unplugged
Changed colours of categories, Controls and Operators, to look like Scratch
701,850
15.08.2021 14:36:48
-43,200
294f4c7418e9baa9e737a3fe3a18b6197ee3367c
Added more block categories similar to Scratch
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "new_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "diff": "<p class='pii-block-heading'>{% trans \"Create your program in the editor below\" %}</p>\n<div id=\"blockl...
Python
MIT License
uccser/cs-unplugged
Added more block categories similar to Scratch
701,850
15.08.2021 14:54:57
-43,200
2e2aac1d27245bd12b2d1ec1eeff969e3e874a8c
Added the ask and wait block in the Sensing category
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -261,9 +261,45 @@ if (programming_lang == \"python\") {\n\"colour\": 120,\n\"tooltip\": \"Returns true if the second string is in the first string.\",\n\"hel...
Python
MIT License
uccser/cs-unplugged
Added the ask and wait block in the Sensing category
701,850
15.08.2021 14:59:05
-43,200
ad287685ebc680a43b3299de4021b9d81884bb46
Moved the say/print block to the Looks category. This makes it similar to Scratch.
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "new_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "diff": "<div id=\"blocklyDiv\" style=\"height: 100%; \"></div>\n<xml xmlns=\"https://developers.google.com/blockly...
Python
MIT License
uccser/cs-unplugged
Moved the say/print block to the Looks category. This makes it similar to Scratch.
701,850
15.08.2021 15:16:11
-43,200
e98a8e41d9ce998336e968c7b330818b8f8b3fd0
Cleaned up the Control category, and removed unncessary blocks
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "new_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "diff": "</block>\n</category>\n<category name=\"Control\" colour=\"#ffab19\">\n- <block type=\"controls_if\"></blo...
Python
MIT License
uccser/cs-unplugged
Cleaned up the Control category, and removed unncessary blocks
701,850
15.08.2021 15:31:59
-43,200
102e24d7b918e8c59beffb9d0d7d94a93f6cb827
Added the stop block, similar to a break in JavaScript or Python.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -281,9 +281,30 @@ if (programming_lang == \"python\") {\n\"colour\": 180,\n\"tooltip\": \"Ask user for some text.\",\n\"helpUrl\": \"\"\n- }\n+ },\n+ // Cont...
Python
MIT License
uccser/cs-unplugged
Added the stop block, similar to a break in JavaScript or Python.
701,850
15.08.2021 16:02:44
-43,200
3692eaf072c752f87558a59348ff9744971ec65c
Replaced the default and/or dropdown block, with separated 'and' & 'or' block. This is the same as the and/or blocks in Scratch.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -262,6 +262,54 @@ if (programming_lang == \"python\") {\n\"tooltip\": \"Returns true if the second string is in the first string.\",\n\"helpUrl\": \"\"\n},\n...
Python
MIT License
uccser/cs-unplugged
Replaced the default and/or dropdown block, with separated 'and' & 'or' block. This is the same as the and/or blocks in Scratch.
701,850
15.08.2021 16:38:54
-43,200
0b65ee368657ab08ed621c839fe4f0c254e24adf
Replaced the default Blockly dropdown round block, with new round block that is similar to the Scratch round block.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -109,7 +109,6 @@ if (programming_lang == \"python\") {\n\"tooltip\": \"Return the product of the two numbers.\",\n\"helpUrl\": \"\"\n},\n- ,\n// Operators di...
Python
MIT License
uccser/cs-unplugged
Replaced the default Blockly dropdown round block, with new round block that is similar to the Scratch round block.
701,850
15.08.2021 16:46:32
-43,200
8066aa67551d1adddbc4dc2dadee929a3caabe72
Removed the Blockly Text category
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "new_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "diff": "</block>\n<block type=\"math_random_float\"></block> -->\n</category>\n- <category name=\"Text\" colour=\"...
Python
MIT License
uccser/cs-unplugged
Removed the Blockly Text category
701,850
15.08.2021 16:51:22
-43,200
52e9ecdd89a0950282257a3b423e52cc2f9332f4
Removed the Blockly List category.
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "new_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "diff": "</block>\n<block type=\"math_random_float\"></block> -->\n</category>\n- <category name=\"Lists\" colour=\...
Python
MIT License
uccser/cs-unplugged
Removed the Blockly List category.
701,850
15.08.2021 17:53:29
-43,200
fe95766452a2af6ba9aa7e93c5b34db1e7ab9697
Replaced the Blockly print block, with the custom say block
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -19,8 +19,6 @@ Blockly.setLocale(En);\n// Change default text of default blocks\nconst CustomEs = {\nTEXT_PRINT_TITLE: \"say %1\",\n- TEXT_JOIN_TITLE_CREATEW...
Python
MIT License
uccser/cs-unplugged
Replaced the Blockly print block, with the custom say block
701,850
15.08.2021 19:41:31
-43,200
02771ee468e97fd8b0b559e45e4de99c370e2d50
Replaced the Blockly default 'if, do' block, with the Scratch 'if, then' block and 'if, then, else' block. Also fixed code generators, so that code is converted to Python/JS properly
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -367,6 +367,61 @@ if (programming_lang == \"python\") {\n\"tooltip\": \"Ask user for some text.\",\n\"helpUrl\": \"\"\n},\n+ // Controls if, then block\n+ {\...
Python
MIT License
uccser/cs-unplugged
Replaced the Blockly default 'if, do' block, with the Scratch 'if, then' block and 'if, then, else' block. Also fixed code generators, so that code is converted to Python/JS properly
701,850
15.08.2021 20:32:18
-43,200
38a921e043d8f007263cee3b2fabd948b562a8b3
Replaced the default Blockly repeat block, with new Scratch repeat block.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -431,8 +431,57 @@ if (programming_lang == \"python\") {\n\"tooltip\": \"Stops the containing loop.\",\n\"helpUrl\": \"\"\n},\n+ // Controls repeat block\n+ {...
Python
MIT License
uccser/cs-unplugged
Replaced the default Blockly repeat block, with new Scratch repeat block.
701,850
15.08.2021 22:17:53
-43,200
fba9a96580c8fc756b91d777e4227892b6c9f7e4
Replaced the defauly Blockly 'repeat until' block with Scratch 'repeat until' block
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -459,9 +459,44 @@ if (programming_lang == \"python\") {\n\"colour\": 45,\n\"tooltip\": \"Do some statements several times.\",\n\"helpUrl\": \"\"\n+ },\n+ // ...
Python
MIT License
uccser/cs-unplugged
Replaced the defauly Blockly 'repeat until' block with Scratch 'repeat until' block
701,850
15.08.2021 22:25:42
-43,200
db2443234d4bb6b4150942b945257d4154139399
Fixed the custom repeat block by changing the block input type.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -434,16 +434,12 @@ if (programming_lang == \"python\") {\n// Controls repeat block\n{\n\"type\": \"controls_repeat_num_times\",\n- \"message0\": \"repeat %1 ...
Python
MIT License
uccser/cs-unplugged
Fixed the custom repeat block by changing the block input type.
701,850
15.08.2021 23:43:12
-43,200
60eda49d68a7a967bcc895b88b9cc4c1788d82d3
Fixed the look of the repeat block.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -434,13 +434,17 @@ if (programming_lang == \"python\") {\n// Controls repeat block\n{\n\"type\": \"controls_repeat_num_times\",\n- \"message0\": \"repeat %1 ...
Python
MIT License
uccser/cs-unplugged
Fixed the look of the repeat block.
701,850
16.08.2021 00:40:11
-43,200
ce63e4b7d96979d9fecd90f6f158299e69c438ee
Replaced the default Blockly 'pick random number' block, with Scratch version of it'
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -16,15 +16,6 @@ require('blockly/javascript');\nconst En = require('blockly/msg/en');\nBlockly.setLocale(En);\n-// Change default text of default blocks\n- c...
Python
MIT License
uccser/cs-unplugged
Replaced the default Blockly 'pick random number' block, with Scratch version of it'
701,850
16.08.2021 01:49:26
-43,200
2fedb3a5bc6b4b882d7d17be79e9c6022738ec17
Replaced default Blockly 'single operand' block with the Scratch 'math single operand' block.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -318,6 +318,22 @@ if (programming_lang == \"python\") {\n\"tooltip\": \"Returns true if at least one of the inputs is true.\",\n\"helpUrl\": \"\"\n},\n+ // O...
Python
MIT License
uccser/cs-unplugged
Replaced default Blockly 'single operand' block with the Scratch 'math single operand' block.
701,850
16.08.2021 02:17:48
-43,200
04d00d43951726257d36468f67a54b30393d019f
Replaced default Blockly 'compare' block and added 'greater than', 'less than', 'equality' blocks.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -460,6 +460,74 @@ if (programming_lang == \"python\") {\n\"tooltip\": \"Block for advanced math operators with single operand.\",\n\"helpUrl\": \"\"\n},\n+ /...
Python
MIT License
uccser/cs-unplugged
Replaced default Blockly 'compare' block and added 'greater than', 'less than', 'equality' blocks.
701,850
16.08.2021 09:21:41
-43,200
21b48b9c09a19a2a0dac75e4eb66476a8f258b60
Changed colour of blocks to match with Scratch blocks. Also added text, and number block so that the colour can be modified.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/editor-options-menu.js", "new_path": "csunplugged/static/js/editor-options-menu.js", "diff": "@@ -78,8 +78,6 @@ function setupLessonNav() {\n// Hides the next/prev challenge buttons if there is no challenge available in that direction.\nc...
Python
MIT License
uccser/cs-unplugged
Changed colour of blocks to match with Scratch blocks. Also added text, and number block so that the colour can be modified.
701,850
18.08.2021 06:57:07
-43,200
821d9acb7e75c317a0dc2017cfb1d76565ad3cea
Fixed comment and colour of sensing blocks.
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -135,7 +135,7 @@ class ProgrammingChallengeView(generic.DetailView):\ntry:\nprogramming_lang_slug = self.kwargs.get(\"programming_lang_slug\", None)\n- context...
Python
MIT License
uccser/cs-unplugged
Fixed comment and colour of sensing blocks.
701,850
18.08.2021 11:46:49
-43,200
aaee5dadefab954c065edd05b1e0d5f74d50b0d4
Moved the xml toolbar from the programming-challenge.html to a separate xml file.
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/templates/plugging_it_in/block-based-toolbox.xml", "diff": "+<xml xmlns=\"https://developers.google.com/blockly/xml\" id=\"toolbox\" style=\"display: none\">\n+ <category name=\"Values\" colour=\"#4c97ff\">\n+ <block type=\"operators...
Python
MIT License
uccser/cs-unplugged
Moved the xml toolbar from the programming-challenge.html to a separate xml file.
701,850
18.08.2021 16:25:52
-43,200
cc57b7440a696a81074f1ab960f433270d17013e
Modify Blockly editor zoom controls
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -67,9 +67,9 @@ if (programming_lang == \"python\") {\nzoom : {\ncontrols : true,\nwheel : true,\n- startScale : 1,\n- maxScale : 3,\n- minScale : 0.3,\n+ sta...
Python
MIT License
uccser/cs-unplugged
Modify Blockly editor zoom controls
701,850
19.08.2021 21:23:58
-43,200
cccdbdd786325b7b80c8d0a4b7022fc00ce342e8
Add boolean block in Values category and abstracted colour of Values block
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/custom-blockly-blocks.js", "new_path": "csunplugged/static/js/custom-blockly-blocks.js", "diff": "+const VALUES_BLOCKS_COLOUR = '#4c97ff'\nconst LOOKS_BLOCKS_COLOUR = '#9966ff'\nconst CONTROL_BLOCKS_COLOUR = '#ffab19'\nconst SENSING_BLOCK...
Python
MIT License
uccser/cs-unplugged
Add boolean block in Values category and abstracted colour of Values block
701,850
20.08.2021 14:09:56
-43,200
1c5d0b57ce5a8ddeae517e8fd53c9652b3e007f5
Replace 'ask and wait' block with 'ask and wait for text' block and 'ask and wait for number' block.'
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/custom-blockly-blocks.js", "new_path": "csunplugged/static/js/custom-blockly-blocks.js", "diff": "@@ -572,10 +572,10 @@ Blockly.defineBlocksWithJsonArray([\n\"tooltip\": \"Return true if both inputs equal each other.\",\n\"helpUrl\": \"\"...
Python
MIT License
uccser/cs-unplugged
Replace 'ask and wait' block with 'ask and wait for text' block and 'ask and wait for number' block.'
701,850
20.08.2021 17:11:55
-43,200
99ac885d6e9656755448c574296dcce9634aea42
Add Block-based to a couple more questions
[ { "change_type": "ADD", "old_path": null, "new_path": "csunplugged/topics/content/en/binary-numbers/programming-challenges/binary-numbers-using-variable-operator-repeat/block-based-expected.md", "diff": "+```scratch\n+when green flag clicked\n+\n+set [number of dots v] to [1]\n+\n+repeat (5)\n+end\n...
Python
MIT License
uccser/cs-unplugged
Add Block-based to a couple more questions
701,850
20.08.2021 21:49:39
-43,200
8549d6023fc56d64d7e36d8ea7f5a63b114213e3
Fix bug of code attempts not getting saved
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -161,7 +161,7 @@ class ProgrammingChallengeView(generic.DetailView):\ncontext[\"saved_attempts\"] = self.request.session.get('saved_attempts', {})\ntry:\n# Ret...
Python
MIT License
uccser/cs-unplugged
Fix bug of code attempts not getting saved
701,850
21.08.2021 14:37:55
-43,200
66f88f03fe0db605cf3807b43ac2a99b69d6589a
Updated the information alert box of the Block-based language.
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/lesson.html", "new_path": "csunplugged/templates/plugging_it_in/lesson.html", "diff": "</div>\n{% elif language.slug == \"block-based\" %}\n<div class=\"alert alert-info my-3\" role=\"alert\">\n- {% trans \"The following ch...
Python
MIT License
uccser/cs-unplugged
Updated the information alert box of the Block-based language.
701,850
21.08.2021 17:44:36
-43,200
44f221aae03a7b80e0e06d4abbe54e62a7dde79b
Fixed two problems regarding the save coding attempt functionality for both Python & Block-based challenges. Fixed the problem with coding attempt not being saved properly when they attempt a second challenge. Fixed another problem where Python coding attempt with '\n' was causing an error in the programming-challenge.html
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/views.py", "new_path": "csunplugged/plugging_it_in/views.py", "diff": "@@ -161,9 +161,13 @@ class ProgrammingChallengeView(generic.DetailView):\ncontext[\"saved_attempts\"] = self.request.session.get('saved_attempts', {})\ntry:\n# Re...
Python
MIT License
uccser/cs-unplugged
Fixed two problems regarding the save coding attempt functionality for both Python & Block-based challenges. Fixed the problem with coding attempt not being saved properly when they attempt a second challenge. Fixed another problem where Python coding attempt with '\n' was causing an error in the programming-challenge.html
701,850
22.08.2021 11:33:40
-43,200
1f3ca30e469faea498ecd941446b8469b67b2849
Fixed coding style to pass the cs unplugged style check Also removed duplicated URL pattern
[ { "change_type": "MODIFY", "old_path": "csunplugged/plugging_it_in/urls.py", "new_path": "csunplugged/plugging_it_in/urls.py", "diff": "@@ -23,12 +23,7 @@ urlpatterns = [\nname=\"lesson\"\n),\nurl(\n- r\"^(?P<topic_slug>[-\\w]+)/(?P<lesson_slug>[-\\w]+)/(?P<programming_challenge_slug>[-\\w]+)/$\",\n...
Python
MIT License
uccser/cs-unplugged
Fixed coding style to pass the cs unplugged style check - Also removed duplicated URL pattern
701,850
28.08.2021 01:43:11
-43,200
14119bf47bb5d57cc8758d2cafbeecbf4d0a5e02
Replaced the Shadow blocks with real Values blocks, and moved the position of the Values category to the bottom of the toolbar.
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/block-based-toolbox.xml", "new_path": "csunplugged/templates/plugging_it_in/block-based-toolbox.xml", "diff": "<xml xmlns=\"https://developers.google.com/blockly/xml\" id=\"toolbox\" style=\"display: none\">\n- <category na...
Python
MIT License
uccser/cs-unplugged
Replaced the Shadow blocks with real Values blocks, and moved the position of the Values category to the bottom of the toolbar.
701,850
09.09.2021 06:38:03
-43,200
3ad460bf08bb05361026107844d7ee59d3dd3eed
Changed the Run button colour to be the same as Scratch's green flag colour.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/scss/programming-editor.scss", "new_path": "csunplugged/static/scss/programming-editor.scss", "diff": "@import \"node_modules/bootstrap/scss/mixins\";\n$student-colour: #3044b3;\n-$student-colour-light: #5a9fffff;;\n+$student-colour-light: #...
Python
MIT License
uccser/cs-unplugged
Changed the Run button colour to be the same as Scratch's green flag colour.
701,850
09.09.2021 06:40:06
-43,200
e1c5ce8e637ef0f51bb0da71f958e4c574d6ef0c
Changed the text of the Check button to "Submit".
[ { "change_type": "MODIFY", "old_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "new_path": "csunplugged/templates/plugging_it_in/programming-challenge.html", "diff": "<div class=\"programming__submit d-flex justify-content-between align-items-center\">\n<div class=\"progra...
Python
MIT License
uccser/cs-unplugged
Changed the text of the Check button to "Submit".
701,850
11.09.2021 18:19:56
-43,200
819b9503fdbd4e97163a05f9edfc4db88060380a
Added the zelos renderer to make the Block-based look like Scratch Zelos renderer changes the shapes of the blocks to be like Scratch.
[ { "change_type": "MODIFY", "old_path": "csunplugged/static/js/jobe-editor.js", "new_path": "csunplugged/static/js/jobe-editor.js", "diff": "@@ -158,6 +158,7 @@ if (programming_lang == \"python\") {\n/* Workspace configurations */\nvar options = {\ntheme: blocklyTheme,\n+ renderer: 'zelos',\ntoolbox ...
Python
MIT License
uccser/cs-unplugged
Added the zelos renderer to make the Block-based look like Scratch - Zelos renderer changes the shapes of the blocks to be like Scratch.
701,850
11.09.2021 18:22:20
-43,200
5bfaf3934688492762e27641a69e55e2dc23bdf5
Added the Programming Reminders for the Block-based system which includes screenshots of the blocks
[ { "change_type": "ADD", "old_path": "csunplugged/static/img/plugging-it-in/programming-reminders-block-based/add-one-to-value.png", "new_path": "csunplugged/static/img/plugging-it-in/programming-reminders-block-based/add-one-to-value.png", "diff": "Binary files /dev/null and b/csunplugged/static/img...
Python
MIT License
uccser/cs-unplugged
Added the Programming Reminders for the Block-based system which includes screenshots of the blocks