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,850 | 11.09.2021 20:57:16 | -43,200 | 3c3710d24c22bf2dd8d50213f8e6ba81065241bd | Fixed the Modulo and Not block if their input is left blank.
Added a default input in the modulo block and Not block so that it does not throw an error when the program is sent to Jobe server | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/js/custom-blockly-blocks.js",
"new_path": "csunplugged/static/js/custom-blockly-blocks.js",
"diff": "@@ -1002,7 +1002,7 @@ Blockly.JavaScript['operators_not'] = function(block) {\nreturn [code, Blockly.JavaScript.ORDER_LOGICAL_NOT];\n};\nBlo... | Python | MIT License | uccser/cs-unplugged | Fixed the Modulo and Not block if their input is left blank.
- Added a default input in the modulo block and Not block so that it does not throw an error when the program is sent to Jobe server |
701,850 | 12.09.2021 16:37:18 | -43,200 | 6ca52b21739844657f55038cb13f5a93a00bc021 | Modified the zoom controls of the Block-based editor.
Starting zoom level is further
Disabled the wheel control to change the zoom level | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/js/jobe-editor.js",
"new_path": "csunplugged/static/js/jobe-editor.js",
"diff": "@@ -175,8 +175,7 @@ if (programming_lang == \"python\") {\noneBasedIndex : true,\nzoom : {\ncontrols : true,\n- wheel : true,\n- startScale : 0.9,\n+ startScale... | Python | MIT License | uccser/cs-unplugged | Modified the zoom controls of the Block-based editor.
- Starting zoom level is further
- Disabled the wheel control to change the zoom level |
701,850 | 12.09.2021 19:03:28 | -43,200 | 16f5c1b4555d2d4d1d303c55e188b30001a1f144 | Fixed the Check button not getting disabled when clicked. Added the hover animation on the Run button. | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/js/jobe-editor.js",
"new_path": "csunplugged/static/js/jobe-editor.js",
"diff": "@@ -213,7 +213,7 @@ function sendCodeToJobe() {\nconsole.log(\"SEND CODE TO JOBE\")\nconsole.log(code)\n- $(\"#editor_run_button\").prop(\"disabled\", true);\n+... | Python | MIT License | uccser/cs-unplugged | Fixed the Check button not getting disabled when clicked. Added the hover animation on the Run button. |
701,850 | 13.09.2021 14:09:23 | -43,200 | 64ada4ed9ed1d4a4f8c8a81d2d79eca86709e191 | Added a border and made the corner of the block-based editor to be rounded. | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/scss/programming-editor.scss",
"new_path": "csunplugged/static/scss/programming-editor.scss",
"diff": "@@ -454,6 +454,8 @@ body {\n}\n}\n-.introjs-fixParent{\n- position: absolute !important;\n+// Customise the Block-based editor to have rou... | Python | MIT License | uccser/cs-unplugged | Added a border and made the corner of the block-based editor to be rounded. |
701,850 | 14.09.2021 18:22:35 | -43,200 | 4679f6cd67ebe04dd4dfcea5c4ee49ecefdca5a9 | Fixed the Recommended blocks section for the 3 questions that the Block-based is currently implemented in. | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/topics/content/en/binary-numbers/programming-challenges/binary-numbers-using-variable-operator-repeat/block-based-expected.md",
"new_path": "csunplugged/topics/content/en/binary-numbers/programming-challenges/binary-numbers-using-variable-operator-repe... | Python | MIT License | uccser/cs-unplugged | Fixed the Recommended blocks section for the 3 questions that the Block-based is currently implemented in. |
701,850 | 15.09.2021 12:22:25 | -43,200 | ec8d5ef99ad298d8498472191214c4c6fa078137 | Modified Python code generator for the 'Ask and Wait Block for Number' block to return either a Float or a Number depending whether the user input has a '.' or not
If there is a '.' then convert user input to float
Else convert user input to int | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/js/custom-blockly-blocks.js",
"new_path": "csunplugged/static/js/custom-blockly-blocks.js",
"diff": "@@ -1208,9 +1208,14 @@ Blockly.Python['sensing_ask_and_wait_number'] = function(block) {\n'text_prompt',\n['def ' + Blockly.Python.FUNCTION_... | Python | MIT License | uccser/cs-unplugged | Modified Python code generator for the 'Ask and Wait Block for Number' block to return either a Float or a Number depending whether the user input has a '.' or not
- If there is a '.' then convert user input to float
- Else convert user input to int |
701,850 | 15.09.2021 12:24:16 | -43,200 | bb0625803b796ca2bd674a951b4e36f9c3a4544e | Added back the CSS styling for introjs-fixParent, because it was accidentally deleted from a previous commit | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/scss/programming-editor.scss",
"new_path": "csunplugged/static/scss/programming-editor.scss",
"diff": "@@ -462,6 +462,10 @@ body {\n}\n}\n+.introjs-fixParent{\n+ position: absolute !important;\n+}\n+\n// Customise the Block-based editor to h... | Python | MIT License | uccser/cs-unplugged | Added back the CSS styling for introjs-fixParent, because it was accidentally deleted from a previous commit |
701,850 | 15.09.2021 12:38:24 | -43,200 | 794155117747fd770322a45c0b454315402c0cc4 | Changed language name to language slug | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/templates/plugging_it_in/lesson.html",
"new_path": "csunplugged/templates/plugging_it_in/lesson.html",
"diff": "{% trans \"The following challenges use Blockly, which have been adapted to look like Scratch and contains an interactive editor. To fin... | Python | MIT License | uccser/cs-unplugged | Changed language name to language slug |
701,850 | 15.09.2021 15:18:41 | -43,200 | 3b3ce65ea36b3875a445fb1f26bc6457e457f27a | Optimised the number of SQL queries getting called in the lists page | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/plugging_it_in/views.py",
"new_path": "csunplugged/plugging_it_in/views.py",
"diff": "@@ -99,7 +99,7 @@ class ProgrammingChallengeListView(generic.DetailView):\n# Add in a QuerySet of all the connected programming exercises for this topic\ncontext[... | Python | MIT License | uccser/cs-unplugged | Optimised the number of SQL queries getting called in the lists page |
701,850 | 15.09.2021 15:35:20 | -43,200 | 377b35469d02d702a6432ce289d94b6501d5b139 | [WIP] Added the information page displaying the differences between the new Block-based system and Scratch
Will need to update the content later... | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/plugging_it_in/urls.py",
"new_path": "csunplugged/plugging_it_in/urls.py",
"diff": "@@ -17,6 +17,11 @@ urlpatterns = [\nviews.AboutView.as_view(),\nname=\"about\"\n),\n+ path(\n+ 'block-based-vs-scratch/',\n+ views.BlockBasedAndScratchView.as_view(... | Python | MIT License | uccser/cs-unplugged | [WIP] Added the information page displaying the differences between the new Block-based system and Scratch
- Will need to update the content later... |
701,850 | 15.09.2021 15:36:03 | -43,200 | 751519ea641185343d3f7bae1a1b3b04e9b52c9c | Added borders to the Results table and Console to match the colours of the Submit and Check button respectively | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/scss/programming-editor.scss",
"new_path": "csunplugged/static/scss/programming-editor.scss",
"diff": "@@ -160,7 +160,7 @@ body {\npadding-right: 20px !important;\n.results-table {\n- border: 1px solid grey;\n+ border: 1px solid #1b7bffff;\n... | Python | MIT License | uccser/cs-unplugged | Added borders to the Results table and Console to match the colours of the Submit and Check button respectively |
701,850 | 15.09.2021 15:36:38 | -43,200 | 575b04502e02062f8539c6f3fc3f60ec3c564e2a | Fixed the programming challenge page in the topics application to display the new Block-based system | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/templates/topics/programming-challenge.html",
"new_path": "csunplugged/templates/topics/programming-challenge.html",
"diff": "<!-- Case where there is more than one lesson doesn't exist and this page is going to be removed in the near future -->\n{... | Python | MIT License | uccser/cs-unplugged | Fixed the programming challenge page in the topics application to display the new Block-based system |
701,850 | 15.09.2021 23:02:55 | -43,200 | 6af27b30b041ebee75b5f97e39f794b2978c001f | Fixed the 'How does this page work?' button to work for the Block-based system. Also fixed failing style checks | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/plugging_it_in/views.py",
"new_path": "csunplugged/plugging_it_in/views.py",
"diff": "@@ -65,6 +65,7 @@ class AboutView(generic.TemplateView):\ntemplate_name = \"plugging_it_in/about.html\"\n+\nclass BlockBasedAndScratchView(generic.TemplateView):\... | Python | MIT License | uccser/cs-unplugged | Fixed the 'How does this page work?' button to work for the Block-based system. Also fixed failing style checks |
701,850 | 20.09.2021 15:46:33 | -43,200 | 4fe003087b1c7baf5a64f2a1e3e098bccd83e0e8 | Moved the 'How does this page work?' button underneath the Console | [
{
"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-12 col-md-3 programming__results\">\n<p class=\"pii-block-heading d-inline\">{% trans \"Y... | Python | MIT License | uccser/cs-unplugged | Moved the 'How does this page work?' button underneath the Console |
701,850 | 26.09.2021 11:21:52 | -43,200 | 89bfa0e20c4b13292d26ee65c2f10bea40f9cd7a | Fixed Python code generator for the Divide block where it returns a float number if the output is e.g., 13.0. This should return a 13 instead to match the test cases when the user's program is sent to the jobe server. | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/js/custom-blockly-blocks.js",
"new_path": "csunplugged/static/js/custom-blockly-blocks.js",
"diff": "@@ -1365,7 +1365,11 @@ Blockly.JavaScript['operators_divide'] = function(block) {\nBlockly.Python['operators_divide'] = function(block) {\nv... | Python | MIT License | uccser/cs-unplugged | Fixed Python code generator for the Divide block where it returns a float number if the output is e.g., 13.0. This should return a 13 instead to match the test cases when the user's program is sent to the jobe server. |
701,850 | 26.09.2021 17:45:02 | -46,800 | f94b52c182086bda1ac9e0f8c7d617c5ba96da49 | Made some minor UI changes
Changed colour of the number when displayed in the Console
Made colour of Run button greener on hover
Add explanation on the How does this page work information saying that the colours displayed in the Console depends on the data types being displayed. | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/js/plugging-it-in-walkthrough.js",
"new_path": "csunplugged/static/js/plugging-it-in-walkthrough.js",
"diff": "@@ -139,7 +139,7 @@ $(document).ready(function () {\n},\n{\nelement: \".block-based-console\",\n- intro: \"This is where the outpu... | Python | MIT License | uccser/cs-unplugged | Made some minor UI changes
- Changed colour of the number when displayed in the Console
- Made colour of Run button greener on hover
- Add explanation on the How does this page work information saying that the colours displayed in the Console depends on the data types being displayed. |
701,850 | 28.09.2021 13:12:17 | -46,800 | 07cdda1a067d7c614464647cc2d7d47d70a3f7a3 | Removed coloured borders of results table and the Console. | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/scss/programming-editor.scss",
"new_path": "csunplugged/static/scss/programming-editor.scss",
"diff": "@@ -160,7 +160,7 @@ body {\npadding-right: 20px !important;\n.results-table {\n- border: 1px solid #1b7bffff;\n+ border: 1px solid gray;\n... | Python | MIT License | uccser/cs-unplugged | Removed coloured borders of results table and the Console. |
701,850 | 16.10.2021 16:18:13 | -46,800 | 05c91ebbca5a1728d297ccfcafd79b40bd2f1f63 | Added an empty say block to the Looks category | [
{
"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 name... | Python | MIT License | uccser/cs-unplugged | Added an empty say block to the Looks category |
701,850 | 25.10.2021 23:32:51 | -46,800 | c7b5a364b2f333bec1db8728417da15c3b02807a | Added in-code documentation and remove print statements as well as unused code | [
{
"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'\n-const LOOKS_BLOCKS_COLOUR = '#9966ff'\n-const CONTROL_BLOCKS_COLOUR = '#ffab19'\n-const SENSING_BL... | Python | MIT License | uccser/cs-unplugged | Added in-code documentation and remove print statements as well as unused code |
701,850 | 26.10.2021 11:22:36 | -46,800 | 386bab929121bfa2797535aecf8f23adb28a60fb | Fixed bug when end of URL is not /python or /block-based. Now returns 404 error if language is not of the two | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/plugging_it_in/views.py",
"new_path": "csunplugged/plugging_it_in/views.py",
"diff": "@@ -147,11 +147,12 @@ class ProgrammingChallengeView(generic.DetailView):\nlesson = Lesson.objects.get(slug=lesson_slug)\ncontext[\"lesson\"] = lesson\n- # Get Py... | Python | MIT License | uccser/cs-unplugged | Fixed bug when end of URL is not /python or /block-based. Now returns 404 error if language is not of the two |
701,850 | 26.10.2021 11:23:38 | -46,800 | 99d841c23915feedf4612ef13c431a302e6cb166 | Add tests for the new block-based system | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "csunplugged/tests/plugging_it_in/urls/test_block_based_vs_scratch.py",
"diff": "+from http import HTTPStatus\n+from tests.BaseTestWithDB import BaseTestWithDB\n+from django.urls import reverse\n+\n+\n+class AboutURLTest(BaseTestWithDB):\n+\n+ de... | Python | MIT License | uccser/cs-unplugged | Add tests for the new block-based system |
701,850 | 26.10.2021 11:41:49 | -46,800 | 48f7461f812eaf8ebe9f0b3f5e8253db6880e66b | Added test for programming language context passed to the template | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/tests/plugging_it_in/views/test_programming_challenge_view.py",
"new_path": "csunplugged/tests/plugging_it_in/views/test_programming_challenge_view.py",
"diff": "@@ -315,3 +315,18 @@ class ProgrammingChallengeViewTest(BaseTestWithDB):\nresponse.con... | Python | MIT License | uccser/cs-unplugged | Added test for programming language context passed to the template |
701,850 | 28.10.2021 22:33:06 | -46,800 | d2348188cc95883459c55809b13c6a7c758c7d11 | Added missing tooltip to blocks | [
{
"change_type": "MODIFY",
"old_path": "csunplugged/static/js/custom-blockly-blocks.js",
"new_path": "csunplugged/static/js/custom-blockly-blocks.js",
"diff": "@@ -619,7 +619,7 @@ Blockly.defineBlocksWithJsonArray([\n\"previousStatement\": null,\n\"nextStatement\": null,\n\"style\": \"control_blocks... | Python | MIT License | uccser/cs-unplugged | Added missing tooltip to blocks |
332,109 | 02.01.2017 14:39:51 | -19,080 | 5e21aefb345d77a8a0a1c88111659e605fce4f38 | refs Added pagination option when fetching branches of a repository. | [
{
"change_type": "MODIFY",
"old_path": "app/models/commits_fetcher.rb",
"new_path": "app/models/commits_fetcher.rb",
"diff": "@@ -9,7 +9,7 @@ class CommitsFetcher\nend\ndef fetch(type = :daily)\n- user.gh_client.repos.branches(user: repo.owner, repo: repo.name).each do |branch|\n+ user.gh_client.rep... | Ruby | MIT License | joshsoftware/code-curiosity | refs #236 Added pagination option when fetching branches of a repository. |
332,109 | 16.01.2017 12:24:02 | -19,080 | 3a8419f235095dd656891208c530951287a09c5e | Updated Commit#info
Request the commit info from Github only if the commit's repo is
present. We delete the repository in Jobs if the repo is not found. | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit.rb",
"new_path": "app/models/commit.rb",
"diff": "@@ -41,7 +41,7 @@ class Commit\nend\ndef info\n- @info ||= user.gh_client.repos.commits.get(repository.owner, repository.name, sha) #rescue nil\n+ @info ||= repository ? user.gh_client.repos.c... | Ruby | MIT License | joshsoftware/code-curiosity | Updated Commit#info
Request the commit info from Github only if the commit's repo is
present. We delete the repository in Jobs if the repo is not found. |
332,109 | 16.01.2017 12:42:02 | -19,080 | 7f61b53751fd8f03bef41679b8b8847e7c64a3d3 | Added test for Commit#info | [
{
"change_type": "MODIFY",
"old_path": "test/models/commit_test.rb",
"new_path": "test/models/commit_test.rb",
"diff": "@@ -44,6 +44,9 @@ class CommitTest < ActiveSupport::TestCase\ndef test_commit_info\ncommit = create(:commit, message: Faker::Lorem.sentences, sha: 'eb0df748bbf084ca522f5ce4ebcf508d... | Ruby | MIT License | joshsoftware/code-curiosity | Added test for Commit#info |
332,099 | 08.02.2017 19:08:23 | -19,080 | 2790c0eb8d35d16a23e653ab11db0a251a64a945 | refs Fixed the pagination issue on users table
for the filtered users as well as for the filtered ignored files | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/ignored_files_controller.rb",
"new_path": "app/controllers/admin/ignored_files_controller.rb",
"diff": "@@ -51,8 +51,7 @@ class Admin::IgnoredFilesController < ApplicationController\nend\n@ignored_files = FileToBeIgnored.any_of({name: /#{... | Ruby | MIT License | joshsoftware/code-curiosity | refs #248 Fixed the pagination issue on users table
for the filtered users as well as for the filtered ignored files |
332,099 | 10.02.2017 15:48:32 | -19,080 | f46f317c422a8e55ccf955dc82e52a90ed1f04c2 | Added user's email on the admin redeem_requests page | [
{
"change_type": "MODIFY",
"old_path": "app/views/admin/redeem_requests/_redeem_request.html.haml",
"new_path": "app/views/admin/redeem_requests/_redeem_request.html.haml",
"diff": "%tr\n- %td= link_to redeem_request.user.github_handle, user_path(redeem_request.user), target: '_blank'\n+ %td= link_t... | Ruby | MIT License | joshsoftware/code-curiosity | Added user's email on the admin redeem_requests page |
332,099 | 13.02.2017 14:31:35 | -19,080 | 8342557e33b39a37fd11b910dc91fa80c2ca41b9 | Fixed code to avoid creation of duplicate IgnoredFiles
During bugspots_scoring avoid creation of duplicate IgnoredFiles
. | [
{
"change_type": "MODIFY",
"old_path": "app/models/scoring_engine.rb",
"new_path": "app/models/scoring_engine.rb",
"diff": "@@ -120,6 +120,7 @@ class ScoringEngine\n# include changes of ignored_files for this commit\ntotal_score = commit.info.files.inject(0) do |result, file|\n+\nfile_name = bugspot... | Ruby | MIT License | joshsoftware/code-curiosity | Fixed code to avoid creation of duplicate IgnoredFiles
During bugspots_scoring avoid creation of duplicate IgnoredFiles
. |
332,099 | 15.02.2017 13:41:08 | -19,080 | 8f4da2c8af4234b97841212aa69062d977bf65c0 | refs Fixed homepage and dashboard view on smartphones
Also fixed the footer | [
{
"change_type": "MODIFY",
"old_path": "app/views/dashboard/index.html.haml",
"new_path": "app/views/dashboard/index.html.haml",
"diff": "= render 'celebrity_box' if current_user && current_user.celebrity\n%section.content\n.row\n- .col-lg-3.col-xs-6\n+ .col-lg-3.col-xs-4\n.small-box.bg-aqua\n.inner... | Ruby | MIT License | joshsoftware/code-curiosity | refs #180 Fixed homepage and dashboard view on smartphones
Also fixed the footer |
332,099 | 08.02.2017 16:38:52 | -19,080 | 8945f23c41160268fbe53f8aada20f399dace099 | Fixed redemption issue
As previously we were not considering 500 royalty_points redemption specific to particular round.
Now we are checking for the round based on the redeem_request created_at.
Added new model redemption_transaction for keeping track of redeemed_royalty_points and redeemed_round_points.
Also added testcases for the same. | [
{
"change_type": "MODIFY",
"old_path": "app/models/redeem_request.rb",
"new_path": "app/models/redeem_request.rb",
"diff": "@@ -68,26 +68,25 @@ class RedeemRequest\nend\ndef redemption_points_validations\n- royalty_bonus = self.user.royalty_bonus_transaction\n+ royalty_points = total_royalty_points\... | Ruby | MIT License | joshsoftware/code-curiosity | Fixed redemption issue
As previously we were not considering 500 royalty_points redemption specific to particular round.
Now we are checking for the round based on the redeem_request created_at.
Added new model redemption_transaction for keeping track of redeemed_royalty_points and redeemed_round_points.
Also added testcases for the same. |
332,099 | 20.02.2017 15:16:20 | -19,080 | 98217506540bf561a541b27d4f129205dcd276f4 | Added ContactUs link in the footer section | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_footer.html.haml",
"new_path": "app/views/application/_footer.html.haml",
"diff": "%strong\nPowered by\n%a{:href => 'http://joshsoftware.com', target: '_blank'} JoshSoftware\n-\n+%span.contact\n+ %a{:href => \"mailto:info@codecuriosity.o... | Ruby | MIT License | joshsoftware/code-curiosity | Added ContactUs link in the footer section |
332,099 | 20.02.2017 18:55:23 | -19,080 | 4adb6a23fde0aa3c72a2332414b4cd2b5bd7599b | refs Fixed user profile page view on smartphone
Also fixed the navigation toggle and the admin dashboard | [
{
"change_type": "MODIFY",
"old_path": "app/views/admin/dashboard/index.html.haml",
"new_path": "app/views/admin/dashboard/index.html.haml",
"diff": "= render partial: 'info_box', locals: { title: 'Total points(before redemption)', value: Transaction.total_points_before_redemption, info_box_bg: 'bg-... | Ruby | MIT License | joshsoftware/code-curiosity | refs #180 Fixed user profile page view on smartphone
Also fixed the navigation toggle and the admin dashboard |
332,099 | 22.02.2017 17:15:32 | -19,080 | ff5e9510ca6afcba4b55ba7a2912262ac97b0bfe | Added rake task to populate user's redeemed transactions
on the basis of redeemed royalty points and round points. | [
{
"change_type": "MODIFY",
"old_path": "lib/tasks/utils.rake",
"new_path": "lib/tasks/utils.rake",
"diff": "@@ -72,4 +72,29 @@ namespace :utils do\nend\nend\n+ desc \"Update user redeemed points transactions\"\n+ task update_user_redemed_points: :environment do\n+ User.contestants.each do |user|\n+ ... | Ruby | MIT License | joshsoftware/code-curiosity | Added rake task to populate user's redeemed transactions
on the basis of redeemed royalty points and round points. |
332,099 | 22.02.2017 20:33:27 | -19,080 | 77fdb851d82d33ba2dcbe366a35d733e56806580 | Modified redemption transaction to consider GoalBonus
During redemption points calculation considere GoalBonus points also. | [
{
"change_type": "MODIFY",
"old_path": "app/models/redeem_request.rb",
"new_path": "app/models/redeem_request.rb",
"diff": "@@ -165,7 +165,7 @@ class RedeemRequest\nend\ndef total_round_points\n- self.user.transactions.where(transaction_type: 'Round').sum(:points)\n+ self.user.transactions.where(:tr... | Ruby | MIT License | joshsoftware/code-curiosity | Modified redemption transaction to consider GoalBonus
During redemption points calculation considere GoalBonus points also. |
332,099 | 23.02.2017 13:17:29 | -19,080 | 11d209a119e28dfa88803468376fee59f0350fd0 | refs Fixed UI search_box on the admin users and ignored files for the mobile
Also fixed UI of contributions info section | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/style.scss",
"new_path": "app/assets/stylesheets/style.scss",
"diff": "@@ -142,9 +142,9 @@ td.score.commit{\n}\n.scoring-color-info{\n- margin-right: 20px !important;\n+ margin-right: 7px !important;\nborder-bottom: 1px solid #000;\n- pa... | Ruby | MIT License | joshsoftware/code-curiosity | refs #180 Fixed UI search_box on the admin users and ignored files for the mobile
Also fixed UI of contributions info section |
332,099 | 23.02.2017 17:02:01 | -19,080 | b19c200ed78717ec5762615980355bd1c81e77e2 | Added search box on the admin repositories page
. | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/repositories_controller.rb",
"new_path": "app/controllers/admin/repositories_controller.rb",
"diff": "@@ -16,4 +16,15 @@ class Admin::RepositoriesController < ApplicationController\n@repo.judges = User.find(params[:judges])\n@repo.save\ne... | Ruby | MIT License | joshsoftware/code-curiosity | Added search box on the admin repositories page
. |
332,099 | 02.03.2017 18:31:35 | -19,080 | 6c0177c0df1b052208957445468063cc2b624f05 | Fixed Redemption issue for 'other' type retailer
For 'other' type retailer redemption request is created even though user total points is 0. | [
{
"change_type": "MODIFY",
"old_path": "app/models/redeem_request.rb",
"new_path": "app/models/redeem_request.rb",
"diff": "@@ -24,6 +24,7 @@ class RedeemRequest\nvalidate :check_sufficient_balance, unless: :retailer_other?, on: :create\nvalidate :points_validations, unless: :retailer_other?\nvalida... | Ruby | MIT License | joshsoftware/code-curiosity | Fixed Redemption issue for 'other' type retailer
For 'other' type retailer redemption request is created even though user total points is 0. |
332,099 | 20.03.2017 14:56:40 | -19,080 | f8bda39fb4c7c641aef5623c3fa2226b2e7f7415 | refs Fixed show more link on the activities page | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/activities.js",
"new_path": "app/assets/javascripts/activities.js",
"diff": "$(document).on('page:change', function(event) {\n+ initialize_shorten();\n+});\n+var initialize_shorten = function(){\n$(\".shorten_read\").shorten({\nshowChars... | Ruby | MIT License | joshsoftware/code-curiosity | refs #266 Fixed show more link on the activities page |
332,108 | 08.04.2017 01:52:40 | -19,080 | 7619a2542add2740f206fa686aa6100c33a20f72 | minor fix: changed contact us icon | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_footer.html.haml",
"new_path": "app/views/application/_footer.html.haml",
"diff": "%a{:href => 'http://joshsoftware.com', target: '_blank'} JoshSoftware\n%span.contact\n%a{:href => \"mailto:info@codecuriosity.org?Subject=CodeCuriosity%20... | Ruby | MIT License | joshsoftware/code-curiosity | minor fix: changed contact us icon |
332,103 | 17.04.2017 17:03:17 | -19,080 | 58414b0c70f55134fc7458fdc002ab6618224ec9 | == already return boolean
refactored code as `==` already returns bool no need to explicitly use ternary operator. Also remove extra variable as it not use more that one. | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/ignored_files_controller.rb",
"new_path": "app/controllers/admin/ignored_files_controller.rb",
"diff": "@@ -63,10 +63,7 @@ class Admin::IgnoredFilesController < ApplicationController\ndef update_ignore_field\n@ignored_file = FileToBeIgnor... | Ruby | MIT License | joshsoftware/code-curiosity | == already return boolean
refactored code as `==` already returns bool no need to explicitly use ternary operator. Also remove extra variable as it not use more that one. |
332,092 | 13.06.2017 20:39:43 | -19,080 | 4bd8e53d01a48410e9f0f16c76863f333955075c | Retries job after 5 minutes if exception is raised | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/activity_job.rb",
"new_path": "app/jobs/activity_job.rb",
"diff": "@@ -22,11 +22,11 @@ class ActivityJob < ActiveJob::Base\n# Refresh the gh_client because it's using a stale auth_token.\n# Here we use the App auth_token instead of user auth_token\nus... | Ruby | MIT License | joshsoftware/code-curiosity | Retries job after 5 minutes if exception is raised |
332,092 | 14.06.2017 17:06:09 | -19,080 | 4c03e73176ac29afe7e78ba7ded70a4503ea4f64 | Retries the failed job for a specific no of attempts | [
{
"change_type": "MODIFY",
"old_path": "Gemfile.lock",
"new_path": "Gemfile.lock",
"diff": "@@ -439,4 +439,4 @@ RUBY VERSION\nruby 2.3.0p0\nBUNDLED WITH\n- 1.13.6\n+ 1.15.1\n"
},
{
"change_type": "MODIFY",
"old_path": "app/jobs/activity_job.rb",
"new_path": "app/jobs/activity_job.rb"... | Ruby | MIT License | joshsoftware/code-curiosity | Retries the failed job for a specific no of attempts |
332,092 | 16.06.2017 10:39:41 | -19,080 | 54678d7d3fe0553533429c25c8c0888233d73da4 | Schedules rake task to delete large repositories
Runs the rake task once in 3 days to delete large repositories which are cloned into
project directory. | [
{
"change_type": "MODIFY",
"old_path": "config/code_curiosity_config.yml",
"new_path": "config/code_curiosity_config.yml",
"diff": "@@ -14,6 +14,7 @@ round:\nrepository:\npopular:\nstars: 25\n+ max_size: 50\nuser:\n:royalty_points_threshold: 50_000\n@@ -46,3 +47,4 @@ redeem:\n- amazon.com\n- amazon.... | Ruby | MIT License | joshsoftware/code-curiosity | Schedules rake task to delete large repositories
Runs the rake task once in 3 days to delete large repositories which are cloned into
project directory. |
332,094 | 20.06.2017 09:27:03 | -36,000 | a8b477fbe7db6a28955957c0f2f9d60fd194f1d0 | Use Unicode point for TM instead of ASCII
Github renders using Unicode, so switch to using the Unicode codepoint for the "Trademark" symbol rather than the ASCII version that renders to the replacement character when mapped to Unicode | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "**What can be measured, can be improved!**\n-Everyone knows that running is a great exercise. However, by using a wearable like the Fitbit™ to measure your activity, it has motivated people to run regularly.\... | Ruby | MIT License | joshsoftware/code-curiosity | Use Unicode point for TM instead of ASCII
Github renders using Unicode, so switch to using the Unicode codepoint for the "Trademark" symbol rather than the ASCII version that renders to the replacement character when mapped to Unicode |
332,092 | 28.06.2017 11:50:16 | -19,080 | 6c15775d7e3860c29ad6e870c8d30ff81f8c22dc | Adds sidekiq logger statements in every job | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/activity_job.rb",
"new_path": "app/jobs/activity_job.rb",
"diff": "@@ -4,19 +4,23 @@ class ActivityJob < ActiveJob::Base\ndef perform(user, duration, round = nil)\nround = Round.opened unless round\n-\n+ Sidekiq.logger.info \"******************* Activ... | Ruby | MIT License | joshsoftware/code-curiosity | Adds sidekiq logger statements in every job |
332,092 | 28.06.2017 12:10:57 | -19,080 | c57fd56e200412a51c55e9c07671fc3dc9eccafa | Minor fix in scoring engine | [
{
"change_type": "MODIFY",
"old_path": "app/models/scoring_engine.rb",
"new_path": "app/models/scoring_engine.rb",
"diff": "@@ -85,7 +85,7 @@ class ScoringEngine\n# get the current git branch incase the commit is not found in any of the branches.\n# remotes/origin/skip-merge-branch-commit-scoring\n-... | Ruby | MIT License | joshsoftware/code-curiosity | Minor fix in scoring engine |
332,092 | 28.06.2017 18:45:24 | -19,080 | 86ce1db080c260f2fc6c39b0c3d8a7cb8460006a | Minor changes to fix ActiveJob DeserializationError
passes the id instead of the whole object | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/scoring_job.rb",
"new_path": "app/jobs/scoring_job.rb",
"diff": "class ScoringJob < ActiveJob::Base\nqueue_as :git\n- def perform(repository, round, type)\n+ def perform(repository_id, round_id, type)\n+ repository = Repository.find(repository_id)\n+ ... | Ruby | MIT License | joshsoftware/code-curiosity | Minor changes to fix ActiveJob DeserializationError
passes the id instead of the whole object |
332,092 | 29.06.2017 17:12:14 | -19,080 | 20856ec511e03b56fea508bf5dcaa73ab02a43a5 | Passes id of instead of whole object to CommitJob
minor fix to handle deserialization error while executing job | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/repositories_controller.rb",
"new_path": "app/controllers/repositories_controller.rb",
"diff": "@@ -37,7 +37,7 @@ class RepositoriesController < ApplicationController\ndef sync\nunless current_user.gh_data_syncing?\n- CommitJob.perform_later(cu... | Ruby | MIT License | joshsoftware/code-curiosity | Passes id of instead of whole object to CommitJob
minor fix to handle deserialization error while executing job |
332,092 | 29.06.2017 17:15:44 | -19,080 | ed68b4bf1fc28595626964b859f2a93a57bc3799 | Retries the job if mongo socket error is raised | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/commit_job.rb",
"new_path": "app/jobs/commit_job.rb",
"diff": "@@ -33,6 +33,8 @@ class CommitJob < ActiveJob::Base\nSidekiq.logger.info \"Raised Github::Error::Forbidden Exception\"\nuser.refresh_gh_client\nretry_job wait: 5.minutes if @retries_count ... | Ruby | MIT License | joshsoftware/code-curiosity | Retries the job if mongo socket error is raised |
332,092 | 29.06.2017 17:18:13 | -19,080 | 5ca450b3f9e35f557ee0283c37063f5dc15fe102 | Minor fix in scoring engine
Handles GitExecuteError when tried to checkout the branch having
uncommitted changes | [
{
"change_type": "MODIFY",
"old_path": "app/models/scoring_engine.rb",
"new_path": "app/models/scoring_engine.rb",
"diff": "@@ -18,13 +18,13 @@ class ScoringEngine\nself.git = Git.open(repo_dir)\nSidekiq.logger.info \"#{self.git}\"\nSidekiq.logger.info \"#{self.git.branch}\"\n+ begin\nself.git.fetch... | Ruby | MIT License | joshsoftware/code-curiosity | Minor fix in scoring engine
Handles GitExecuteError when tried to checkout the branch having
uncommitted changes |
332,092 | 30.06.2017 14:29:24 | -19,080 | c8d333b897d5c6a531fa0c1a98d3bd1193e5a1b8 | Schedules rake task to delete large repositories daily
Deletes the repositories greater than 100MB every day | [
{
"change_type": "MODIFY",
"old_path": "config/code_curiosity_config.yml",
"new_path": "config/code_curiosity_config.yml",
"diff": "@@ -14,7 +14,7 @@ round:\nrepository:\npopular:\nstars: 25\n- max_size: 50\n+ max_size: 100\nuser:\n:royalty_points_threshold: 50_000\n"
},
{
"change_type": "MO... | Ruby | MIT License | joshsoftware/code-curiosity | Schedules rake task to delete large repositories daily
Deletes the repositories greater than 100MB every day |
332,092 | 30.06.2017 14:34:02 | -19,080 | e1786e85ffab7894b7031bec6029f05c75447340 | Passes id to every job instead of whole object | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/github/repos_controller.rb",
"new_path": "app/controllers/github/repos_controller.rb",
"diff": "@@ -3,7 +3,7 @@ class Github::ReposController < ApplicationController\ndef sync\nunless current_user.repo_syncing?\n- UserReposJob.perform_later(cur... | Ruby | MIT License | joshsoftware/code-curiosity | Passes id to every job instead of whole object |
332,092 | 30.06.2017 14:42:12 | -19,080 | 4b69a861afe42a3481c6b9ed551e1bb7d2b1cdb1 | Removed binding.pry statement | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/activity_job.rb",
"new_path": "app/jobs/activity_job.rb",
"diff": "@@ -8,7 +8,7 @@ class ActivityJob < ActiveJob::Base\nelse\nround = Round.opened\nend\n- binding.pry\n+\nuser = User.find(user_id)\nSidekiq.logger.info \"******************* Activity Jo... | Ruby | MIT License | joshsoftware/code-curiosity | Removed binding.pry statement |
332,092 | 30.06.2017 16:07:23 | -19,080 | 72391eb226ec7a570feb6336a1ef24add0860eca | Fixes failure of UserReposJob testcases | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/user_repos_job.rb",
"new_path": "app/jobs/user_repos_job.rb",
"diff": "@@ -8,7 +8,6 @@ class UserReposJob < ActiveJob::Base\nend\ndef perform(user_id)\n-\nuser = User.find(user_id)\nreturn if user.repo_syncing?\n"
},
{
"change_type": "MODIFY",... | Ruby | MIT License | joshsoftware/code-curiosity | Fixes failure of UserReposJob testcases |
332,093 | 12.07.2017 15:14:56 | -19,080 | 6a2b547f04c23a2dcf62a6668087ffcc7f384d12 | One can download the Requests which are active and inactive
A route added to redeem request with a method download in the controller to download requests in csv format. | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/admin/redeem_requests.scss",
"new_path": "app/assets/stylesheets/admin/redeem_requests.scss",
"diff": ".slide{\nfloat: right;\n}\n+\n+.btn-group{\n+ float: right;\n+}\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",... | Ruby | MIT License | joshsoftware/code-curiosity | One can download the Requests which are active and inactive
A route added to redeem request with a method download in the controller to download requests in csv format. |
332,093 | 12.07.2017 16:15:53 | -19,080 | 0b24b0aee57796c88d2bcebff75104e1d93ac02f | Display points into capital[#296]
* Sum of all of Redemption Requests[#296]
A helper method added to print the total capital value of redeemable
points.
* Sum of all Redemption Requests
A helper method added to display the capital value of total redeemable points. | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/redeem_requests_controller.rb",
"new_path": "app/controllers/admin/redeem_requests_controller.rb",
"diff": "class Admin::RedeemRequestsController < ApplicationController\n+ include Admin::RedeemRequestsHelper\nbefore_action :authenticate_... | Ruby | MIT License | joshsoftware/code-curiosity | Display points into capital[#296] (#300)
* Sum of all of Redemption Requests[#296]
A helper method added to print the total capital value of redeemable
points.
* Sum of all Redemption Requests [#296]
A helper method added to display the capital value of total redeemable points. |
332,093 | 12.07.2017 16:38:22 | -19,080 | 2467b3b6587dacdce858a7815ed0abdb77648958 | Data export in form of csv[#296] | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/redeem_requests_controller.rb",
"new_path": "app/controllers/admin/redeem_requests_controller.rb",
"diff": "@@ -32,7 +32,7 @@ class Admin::RedeemRequestsController < ApplicationController\ncsv_string = CSV.generate do |csv|\ncsv << [\"use... | Ruby | MIT License | joshsoftware/code-curiosity | Data export in form of csv[#296] |
332,092 | 13.07.2017 13:13:12 | -19,080 | 3d39172064303cb25d400f85dbc823bd218f901f | Modifies the names of the sponsorship plans[#276] | [
{
"change_type": "MODIFY",
"old_path": "config/code_curiosity_config.yml",
"new_path": "config/code_curiosity_config.yml",
"diff": "@@ -22,12 +22,12 @@ user:\nsponsor:\nindividual:\nbasic: 10\n- intermediate: 15\n- advanced: 20\n+ silver: 15\n+ gold: 20\norganization:\nbasic: 150\n- intermediate: 20... | Ruby | MIT License | joshsoftware/code-curiosity | Modifies the names of the sponsorship plans[#276] |
332,093 | 17.07.2017 10:27:18 | -19,080 | d540e477f835207e8763239c3defec74c952294b | test written for redeem request helper method | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".rake_tasks~",
"diff": "+about\n+assets:clean[keep]\n+assets:clobber\n+assets:environment\n+assets:precompile\n+auto_score[round]\n+cache_digests:dependencies\n+cache_digests:nested_dependencies\n+db:drop\n+db:mongoid:create_indexes\n+db:mongoid... | Ruby | MIT License | joshsoftware/code-curiosity | test written for redeem request helper method |
332,092 | 17.07.2017 13:45:21 | -19,080 | 5717921c1d56cbdfebadfe4e0a2c79c96316b07d | Adds calculate_score for commit in begin rescue block | [
{
"change_type": "MODIFY",
"old_path": "app/models/repository.rb",
"new_path": "app/models/repository.rb",
"diff": "@@ -141,7 +141,12 @@ class Repository\nif commit.message =~ PULL_REQ_MERGE_REGX\ncommit.set(auto_score: 0)\nelse\n+ begin\n+ Sidekiq.logger.info \"Scoring for commit: #{commit.id}, Rou... | Ruby | MIT License | joshsoftware/code-curiosity | Adds calculate_score for commit in begin rescue block |
332,093 | 17.07.2017 18:49:32 | -19,080 | c138023a99b99e50e96a0c190acd30836d3c0eab | new field status is added to csv file download | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/redeem_requests_controller.rb",
"new_path": "app/controllers/admin/redeem_requests_controller.rb",
"diff": "@@ -32,9 +32,9 @@ class Admin::RedeemRequestsController < ApplicationController\ndef download\ncsv_string = CSV.generate do |csv|\... | Ruby | MIT License | joshsoftware/code-curiosity | new field status is added to csv file download |
332,093 | 17.07.2017 18:49:45 | -19,080 | 1b9c880d1c12ed213a02ed02f287cc209da95728 | Test cases written for csv file download | [
{
"change_type": "MODIFY",
"old_path": "test/controllers/admin/redeem_requests_controller_test.rb",
"new_path": "test/controllers/admin/redeem_requests_controller_test.rb",
"diff": "@@ -81,6 +81,43 @@ class Admin::RedeemRequestsControllerTest < ActionController::TestCase\nassert_equal redeem_request... | Ruby | MIT License | joshsoftware/code-curiosity | Test cases written for csv file download |
332,093 | 20.07.2017 14:30:57 | -19,080 | 8a322069349a073015af9fe5494d30817233e143 | unwanted files removed[#296] | [
{
"change_type": "DELETE",
"old_path": ".rake_tasks~",
"new_path": null,
"diff": "-about\n-assets:clean[keep]\n-assets:clobber\n-assets:environment\n-assets:precompile\n-auto_score[round]\n-cache_digests:dependencies\n-cache_digests:nested_dependencies\n-db:drop\n-db:mongoid:create_indexes\n-db:mong... | Ruby | MIT License | joshsoftware/code-curiosity | unwanted files removed[#296] |
332,093 | 20.07.2017 14:35:14 | -19,080 | f70c9c6d073ec5c04fbabec1f8454020eaf7cbe4 | Modifications are done as per conventional syntax and removed unwanted
block of code | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/admin/redeem_requests.scss",
"new_path": "app/assets/stylesheets/admin/redeem_requests.scss",
"diff": "float: right;\n}\n-.btn-group{\n+.btn.btn-primary.glyphicon.glyphicon-download{\nfloat: right;\n}\n\\ No newline at end of file\n"
}... | Ruby | MIT License | joshsoftware/code-curiosity | Modifications are done as per conventional syntax and removed unwanted
block of code |
332,093 | 20.07.2017 19:01:39 | -19,080 | 204c2044d668629e9a9a3004c9e12ec8fbc430c9 | Updated files as per comments | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/redeem_requests_controller.rb",
"new_path": "app/controllers/admin/redeem_requests_controller.rb",
"diff": "@@ -34,7 +34,10 @@ class Admin::RedeemRequestsController < ApplicationController\ncsv_string = CSV.generate do |csv|\ncsv << [\"Us... | Ruby | MIT License | joshsoftware/code-curiosity | Updated files as per comments |
332,093 | 24.07.2017 17:43:16 | -19,080 | 83d81e42250a5000ad775ecc43c52bc6b7116c90 | constant value replaced with initializers constant | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/redeem_requests_controller.rb",
"new_path": "app/controllers/admin/redeem_requests_controller.rb",
"diff": "@@ -35,7 +35,7 @@ class Admin::RedeemRequestsController < ApplicationController\ncsv << [\"User\", \"Gift Shop\", \"Store\", \"Poi... | Ruby | MIT License | joshsoftware/code-curiosity | constant value replaced with initializers constant |
332,093 | 26.07.2017 15:06:43 | -19,080 | 317b2495498a97e72d5c9a3858baf75cbc320ec4 | rescue when Github doesn't returns commit | [
{
"change_type": "MODIFY",
"old_path": "app/models/scoring_engine.rb",
"new_path": "app/models/scoring_engine.rb",
"diff": "@@ -120,8 +120,15 @@ class ScoringEngine\n#Here total_changes specifies how many lines has been changed(added/deleted) per file, but should not\n# include changes of ignored_fi... | Ruby | MIT License | joshsoftware/code-curiosity | rescue when Github doesn't returns commit |
332,093 | 28.07.2017 10:34:20 | -19,080 | 4247f3abb17f3a2f61fd7fe2657e345759f51fed | Admin can filter redemptions requests by stores.
A dropdown menu added at the redeem request page using which admin can filter
redeem requests by various stores. | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/admin/redeem_requests.js",
"new_path": "app/assets/javascripts/admin/redeem_requests.js",
"diff": "@@ -35,6 +35,7 @@ $(document).on('page:change', function(event) {\n})\n-\n-\n+ $(\"a.closeDropdown\").on( \"click\", function() {\n+ $(\"#... | Ruby | MIT License | joshsoftware/code-curiosity | Admin can filter redemptions requests by stores.
A dropdown menu added at the redeem request page using which admin can filter
redeem requests by various stores. |
332,093 | 28.07.2017 12:12:14 | -19,080 | 49fd0900c8149e22743918746de1e3260a79f206 | Test cases for store filter added | [
{
"change_type": "MODIFY",
"old_path": "test/controllers/admin/redeem_requests_controller_test.rb",
"new_path": "test/controllers/admin/redeem_requests_controller_test.rb",
"diff": "@@ -144,6 +144,13 @@ class Admin::RedeemRequestsControllerTest < ActionController::TestCase\nassert_includes status, c... | Ruby | MIT License | joshsoftware/code-curiosity | Test cases for store filter added |
332,093 | 28.07.2017 17:04:00 | -19,080 | 6a27d4d5a5accaf79de2a08e5881f440a24571b9 | test case added for redeem request contoller index method | [
{
"change_type": "MODIFY",
"old_path": "test/controllers/admin/redeem_requests_controller_test.rb",
"new_path": "test/controllers/admin/redeem_requests_controller_test.rb",
"diff": "@@ -144,11 +144,18 @@ class Admin::RedeemRequestsControllerTest < ActionController::TestCase\nassert_includes status, ... | Ruby | MIT License | joshsoftware/code-curiosity | test case added for redeem request contoller index method |
332,109 | 02.08.2017 00:22:58 | -19,080 | 8b5e6b9de57005160f84eb5193dd03b378f666d6 | Added some test cases. Added he benefits details on the home page. | [
{
"change_type": "MODIFY",
"old_path": "app/views/home/_sponsorer_benefits.html.haml",
"new_path": "app/views/home/_sponsorer_benefits.html.haml",
"diff": ".box-header\n%h2 Be a Sponsorer\n.box-body\n- .col-xs-12.col-sm-6.col-md-5.col-md-offset-1\n+ - INFO['benefits'].keys.each do |key|\n+ .col-xs-1... | Ruby | MIT License | joshsoftware/code-curiosity | Added some test cases. Added he benefits details on the home page. |
332,109 | 02.08.2017 13:32:23 | -19,080 | ad1cdda6dd9fae9465063724a014031d0dbf59b0 | Changed production log level | [
{
"change_type": "MODIFY",
"old_path": "config/environments/production.rb",
"new_path": "config/environments/production.rb",
"diff": "@@ -46,7 +46,7 @@ Rails.application.configure do\n# Use the lowest log level to ensure availability of diagnostic information\n# when problems arise.\n- config.log_le... | Ruby | MIT License | joshsoftware/code-curiosity | Changed production log level |
332,109 | 02.08.2017 13:40:01 | -19,080 | 463ecfa9bfef4a989b8982ad245a981df6290145 | Changed production log level to debug | [
{
"change_type": "MODIFY",
"old_path": "config/environments/production.rb",
"new_path": "config/environments/production.rb",
"diff": "@@ -46,7 +46,7 @@ Rails.application.configure do\n# Use the lowest log level to ensure availability of diagnostic information\n# when problems arise.\n- config.log_le... | Ruby | MIT License | joshsoftware/code-curiosity | Changed production log level to debug |
332,093 | 02.08.2017 14:54:32 | -19,080 | 01fab48cf6fe12d547d64453c623764b2f05131d | Creating a job for scoring of each commit
A job is created for every commit being scored. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/jobs/score_commit_job.rb",
"diff": "+class ScoreCommitJob < ActiveJob::Base\n+ include ActiveJobRetriesCount\n+ queue_as :score\n+\n+ def perform(commit_id)\n+ commit = Commit.find(commit_id)\n+ engine = ScoringEngine.new(commit.repository)\... | Ruby | MIT License | joshsoftware/code-curiosity | Creating a job for scoring of each commit
A job is created for every commit being scored. |
332,093 | 02.08.2017 18:11:19 | -19,080 | ab1301c0d9ebf1c4e7ab864f7b1cf803dc45f53e | Home page updated
New way add to be an opensource contributor. | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/goals.scss",
"new_path": "app/assets/stylesheets/goals.scss",
"diff": "-.goals{\n+.cards{\ntext-align: center;\nborder: 1px solid #f0f0f0;\ncolor: #777;\n}\n}\n+.goals{\n+ @extend .cards;\n+\n+}\n+\n+.benefits{\n+ @extend .cards;\n+\n+ l... | Ruby | MIT License | joshsoftware/code-curiosity | Home page updated
New way add to be an opensource contributor. |
332,093 | 02.08.2017 18:24:48 | -19,080 | 2c735cdade52806bb659c7736b9a6a20ecb7fa8f | unwanted spaces removed | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/goals.scss",
"new_path": "app/assets/stylesheets/goals.scss",
"diff": "@extend .cards;\nli.title{\n-\nbackground-color: #13a913;\n-\nbig{\ncolor: white;\n}\n}\n-\nli.desc{\n-\npadding: 0px 13px;\n-webkit-padding-start: 13px;\n-\nli:first... | Ruby | MIT License | joshsoftware/code-curiosity | unwanted spaces removed |
332,109 | 03.08.2017 00:06:20 | -19,080 | baff84220adccfba557f44be71290d9c4634184a | Fixed bug: Questions not displyed on the home page | [
{
"change_type": "MODIFY",
"old_path": "app/views/home/index.html.haml",
"new_path": "app/views/home/index.html.haml",
"diff": "%a.btn.btn-success.btn-lg{ href: \"#sponsor\"}\n%span\nReward Contributors!\n+ .row.marketing\n+ .col-md-12.col-lg-offset-1.col-md-offset-1\n+ - INFO['home'].each_slice(2) ... | Ruby | MIT License | joshsoftware/code-curiosity | Fixed bug: Questions not displyed on the home page |
332,093 | 03.08.2017 18:38:59 | -19,080 | 1371bf906920c6429d0ec8fe271dad2c9c82ec87 | A new feature added to list all subscriptions
Admin can view all subscription active as well as inactive | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/assets/javascripts/admin/subscriptions.coffee",
"diff": "+# Place all the behaviors and hooks related to the matching controller here.\n+# All this logic will automatically be available in application.js.\n+# You can use CoffeeScript in this... | Ruby | MIT License | joshsoftware/code-curiosity | A new feature added to list all subscriptions
Admin can view all subscription active as well as inactive |
332,093 | 03.08.2017 19:15:44 | -19,080 | 817262e8f0259acd12fc8f75c128b27d384b1752 | minor changes in field names | [
{
"change_type": "MODIFY",
"old_path": "app/views/admin/subscriptions/index.html.haml",
"new_path": "app/views/admin/subscriptions/index.html.haml",
"diff": "%tr\n%th.col-xs-1 Name\n%th.col-xs-2 Email\n- %th.col-xs-1 Subscription\n- %th.col-xs-1 Subscription Status\n- %th.col-xs-1 Subscription Amoun... | Ruby | MIT License | joshsoftware/code-curiosity | minor changes in field names |
332,096 | 05.08.2017 22:14:56 | -19,080 | 79094db97f290018847119c957e8af9c922e027b | Added Terms of Service for Subscription | [
{
"change_type": "MODIFY",
"old_path": "app/views/info/faq.html.haml",
"new_path": "app/views/info/faq.html.haml",
"diff": "%h1.faq-title Frequent Questions\n-%h4.faq-subtitle Simple answers to your most common questions\n+%h4.faq-subtitle\n+ Simple answers to your most common questions\n+ .callout-... | Ruby | MIT License | joshsoftware/code-curiosity | Added Terms of Service for Subscription |
332,096 | 05.08.2017 22:15:34 | -19,080 | 667cced2adb7745e805afdf0bb3024bd877fb594 | Changing the redemption mailer. To be reverted later on.
This is a **VERY SPECIFIC** change. We can revert this next month
onwards or tweak this a bit | [
{
"change_type": "MODIFY",
"old_path": "app/mailers/subscription_mailer.rb",
"new_path": "app/mailers/subscription_mailer.rb",
"diff": "@@ -23,7 +23,7 @@ class SubscriptionMailer < ApplicationMailer\n@user = user\n@message = message\n- mail(to: user.email, subject: \"[CODECURIOSITY] Your points for ... | Ruby | MIT License | joshsoftware/code-curiosity | Changing the redemption mailer. To be reverted later on.
This is a **VERY SPECIFIC** change. We can revert this next month
onwards or tweak this a bit |
332,096 | 06.08.2017 10:48:17 | -19,080 | aab49289dd907b2e2b103d5183f039bfcac80c8f | highlighting Sponsor menu in sidebar | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_sidebar.html.haml",
"new_path": "app/views/application/_sidebar.html.haml",
"diff": "%span Judging\n= render 'admin_sidebar' if current_user.is_admin?\n= render 'orgs_sidebar' if current_user.organizations.any?\n- %li\n+ %li.bg-green\n%a... | Ruby | MIT License | joshsoftware/code-curiosity | highlighting Sponsor menu in sidebar |
332,097 | 07.08.2017 20:00:34 | -19,080 | 62f6e01fe0a17e73ee9150025bb17d0f63f9b232 | Added Terms of Services link | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_footer.html.haml",
"new_path": "app/views/application/_footer.html.haml",
"diff": "%strong\nPowered by\n%a{:href => 'http://joshsoftware.com', target: '_blank'} JoshSoftware\n+\n+.pull-right\n+ = link_to \"Terms of Service\", \"/Terms_of... | Ruby | MIT License | joshsoftware/code-curiosity | Added Terms of Services link |
332,093 | 08.08.2017 12:35:57 | -19,080 | 085931bcac1548bfbc0a8fecc532a3bf2e82e293 | Subscriber link modified on sponsor page | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/sponsorer_details_controller.rb",
"new_path": "app/controllers/sponsorer_details_controller.rb",
"diff": "@@ -17,7 +17,7 @@ class SponsorerDetailsController < ApplicationController\nend\ndef new\n- session[:type] = 'Individual' unless session[:... | Ruby | MIT License | joshsoftware/code-curiosity | Subscriber link modified on sponsor page |
332,093 | 08.08.2017 16:52:32 | -19,080 | 175c5666a1c1cbed87bcf9b015a6f43f55c902e2 | Task Created to send change in Terms of service mail to all contestants
Task will send mails to all the contestants who didn't received change
in terms of service mail. | [
{
"change_type": "MODIFY",
"old_path": "app/views/subscription_mailer/redeem_points.html.haml",
"new_path": "app/views/subscription_mailer/redeem_points.html.haml",
"diff": "%p\n%b\nWe have changed the\n- = link_to \"Terms of Service\", \"/Terms_of_service_CodeCuriosity.pdf\"\n+ = link_to \"Terms of... | Ruby | MIT License | joshsoftware/code-curiosity | Task Created to send change in Terms of service mail to all contestants
Task will send mails to all the contestants who didn't received change
in terms of service mail. |
332,093 | 08.08.2017 16:58:35 | -19,080 | 9346681dc9b3a58777679845b8eb4e5d49252e93 | meaning correction | [
{
"change_type": "MODIFY",
"old_path": "lib/tasks/notify_all.rake",
"new_path": "lib/tasks/notify_all.rake",
"diff": "namespace :notify_all do\n- desc \"Send mail to all contenstant about change of Terms of Service\"\n+ desc \"Send mail to all contenstants about change of Terms of Service\"\ntask no... | Ruby | MIT License | joshsoftware/code-curiosity | meaning correction |
332,093 | 08.08.2017 18:01:26 | -19,080 | 5dd4324edbd393515d04d67951460c5d223f768c | mail tested with letter opener | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -69,4 +69,5 @@ group :development do\ngem 'web-console', '~> 2.0'\ngem 'haml-rails'\ngem 'quiet_assets'\n+ gem \"letter_opener\"\nend\n"
},
{
"change_type": "MODIFY",
"old_path": "Gemfile.lock",
"new... | Ruby | MIT License | joshsoftware/code-curiosity | mail tested with letter opener |
332,093 | 08.08.2017 18:59:23 | -19,080 | 365e087a72329103764abd58654a8d80ec5ca634 | delivery scheduled | [
{
"change_type": "MODIFY",
"old_path": "lib/tasks/notify_all.rake",
"new_path": "lib/tasks/notify_all.rake",
"diff": "@@ -3,7 +3,7 @@ namespace :notify_all do\ntask notify_contestants: :environment do\nusers = User.contestants.any_of({notify_monthly_points: nil}, {notify_monthly_points: true}).where... | Ruby | MIT License | joshsoftware/code-curiosity | delivery scheduled |
332,093 | 10.08.2017 16:19:01 | -19,080 | 0d9eccb72f4c7a05836ec879288994e9e84303a1 | Display sponsors at home page
Display our sponsors on home page individuals as well as organizations | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/home.scss",
"new_path": "app/assets/stylesheets/home.scss",
"diff": ".carousel-control {\ncolor: rgb(241,155,44);\n}\n+ .center-aligned{\n+ text-align:center;\n+ }\n+ .img-center{\n+ display:inline-block;\n+ margin:5px 20px;\n+ padding:5... | Ruby | MIT License | joshsoftware/code-curiosity | Display sponsors at home page
Display our sponsors on home page individuals as well as organizations |
332,093 | 11.08.2017 10:53:26 | -19,080 | 7275fa238b113e0888fc1c51aa1363afbd5feb25 | circle effect on images removed at home page | [
{
"change_type": "MODIFY",
"old_path": "app/views/home/_subscribers_list.html.haml",
"new_path": "app/views/home/_subscribers_list.html.haml",
"diff": "- group.each do |sponsorer|\n- if sponsorer\n.img-center\n- = link_to image_tag( select_avatar(sponsorer), class: \"img-responsive img-circle\", wid... | Ruby | MIT License | joshsoftware/code-curiosity | circle effect on images removed at home page |
332,093 | 11.08.2017 11:12:49 | -19,080 | 634f56ee0215338715b673b09833c8a1db7843ff | Name changed Sponsor to Subscribe
Name of sponsor on sidebar and sponsor page changed to subscribe. | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_sidebar.html.haml",
"new_path": "app/views/application/_sidebar.html.haml",
"diff": "%li.bg-green\n%a{href: sponsorer_details_path}\n%i.fa.fa-usd\n- %span Sponsor\n+ %span Subscribe\n%li{class: is_active(params[:action], 'goals')}\n= lin... | Ruby | MIT License | joshsoftware/code-curiosity | Name changed Sponsor to Subscribe
Name of sponsor on sidebar and sponsor page changed to subscribe. |
332,093 | 14.08.2017 17:53:06 | -19,080 | f27676b0600f7bc54130316a9534b1ed2adb4498 | badge added at redeemption modal to promote subscription | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/application.scss",
"new_path": "app/assets/stylesheets/application.scss",
"diff": "@import \"goals\";\n@import \"bootstrap2-toggle\";\n@import 'activities';\n+@import 'redeem';\n.typeahead.dropdown-menu, .tt-hint, .tt-input, .tt-menu {\n... | Ruby | MIT License | joshsoftware/code-curiosity | badge added at redeemption modal to promote subscription |
332,093 | 16.08.2017 17:16:25 | -19,080 | add685d86f07b43c33dfd05f372ae8bd6307311b | Notify free user to upgrade their account while they redeem their points | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/assets/javascripts/redeem.js",
"diff": "+$(document).on('page:change', function(){\n+ alert_user();\n+});\n+\n+var alert_user = function() {\n+ $(document).on('click', 'button.submit-redeem', function(event){\n+ event.stopPropagation();\n+ e... | Ruby | MIT License | joshsoftware/code-curiosity | Notify free user to upgrade their account while they redeem their points |
332,093 | 16.08.2017 18:14:53 | -19,080 | 6228f52e8cfcd107d977963f8bc741906d6d559b | UI fix at redeem request page | [
{
"change_type": "MODIFY",
"old_path": "app/views/redeem/_amazon.html.haml",
"new_path": "app/views/redeem/_amazon.html.haml",
"diff": ".col-md-6\n= f.input :store, collection: REDEEM['amazon_stores'], include_blank: false, label: 'Store'\n= f.input :retailer, as: :hidden, input_html: { value: 'amaz... | Ruby | MIT License | joshsoftware/code-curiosity | UI fix at redeem request page |
332,093 | 17.08.2017 17:14:56 | -19,080 | 81344ce2896c04f63eee18caeb3eb746cdf34377 | Modification in rules of redeeming points | [
{
"change_type": "MODIFY",
"old_path": "app/models/redeem_request.rb",
"new_path": "app/models/redeem_request.rb",
"diff": "@@ -138,9 +138,18 @@ class RedeemRequest\n#shows error if\n#1 user's total_points is less than the points to be redeemed\n#2 user's total_points is greater than the points to b... | Ruby | MIT License | joshsoftware/code-curiosity | Modification in rules of redeeming points |
332,093 | 18.08.2017 11:26:50 | -19,080 | 2b6a1bcb15ac402e25af5ed2ea18ad9853441399 | Test cases added as per new redeemption request criteria | [
{
"change_type": "MODIFY",
"old_path": "test/models/redeem_request_test.rb",
"new_path": "test/models/redeem_request_test.rb",
"diff": "@@ -138,9 +138,9 @@ class RedeemRequestTest < ActiveSupport::TestCase\nassert_equal redeem_request.coupon_code, 'Josh12'\nend\n- test \"user should not redeem more ... | Ruby | MIT License | joshsoftware/code-curiosity | Test cases added as per new redeemption request criteria |
332,093 | 18.08.2017 17:21:01 | -19,080 | 4221ddb5f77f9bada5408bb409013ec0756db4ab | Notify admin whenever a subscription is created
Moved mailer from sponsorer controller to sponsorer model, sending mail to user
and admin after creation of new subscription. | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -70,4 +70,5 @@ group :development do\ngem 'haml-rails'\ngem 'quiet_assets'\ngem \"letter_opener\"\n+ gem \"letter_opener_web\"\nend\n"
},
{
"change_type": "MODIFY",
"old_path": "Gemfile.lock",
"new_p... | Ruby | MIT License | joshsoftware/code-curiosity | Notify admin whenever a subscription is created
Moved mailer from sponsorer controller to sponsorer model, sending mail to user
and admin after creation of new subscription. |
332,093 | 21.08.2017 14:24:10 | -19,080 | 93d83caa5d755573a11e98606cd1796e72304a35 | Subscription mail contents modified
Mail contains information about various plans, a non subscribed user
can switch to. | [
{
"change_type": "MODIFY",
"old_path": "app/views/subscription_mailer/progress.html.haml",
"new_path": "app/views/subscription_mailer/progress.html.haml",
"diff": "- else\nKeep going, you still have some time!\n= \"You are only #{@subscription.goal.points - @subscription.points} points away from rea... | Ruby | MIT License | joshsoftware/code-curiosity | Subscription mail contents modified
Mail contains information about various plans, a non subscribed user
can switch to. |
332,093 | 21.08.2017 15:06:58 | -19,080 | adc6f9af05c4a2b986ea8349d34b0d5f24d7f29d | Redeem mail content modified
User will receive an additional content, which contains information about change in subscription plans. If user is still on free subscription. | [
{
"change_type": "MODIFY",
"old_path": "app/views/subscription_mailer/redeem_points.html.haml",
"new_path": "app/views/subscription_mailer/redeem_points.html.haml",
"diff": "- content_for :signature do\n= render 'application/mail_signature'\n+%h4= \"Hello #{@user.name},\"\n%p\n- = \"Hi #{@user.name}... | Ruby | MIT License | joshsoftware/code-curiosity | Redeem mail content modified
User will receive an additional content, which contains information about change in subscription plans. If user is still on free subscription. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.