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 |
|---|---|---|---|---|---|---|---|---|---|
332,109 | 22.12.2016 16:08:47 | -19,080 | b03c70f113a5f2594a04b2a10df6604a88f9f377 | Added redirection option to fetch repo, commit and organization info. | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -18,7 +18,7 @@ gem 'jquery-rails'\ngem 'turbolinks', '~>2.5'\ngem 'jbuilder', '~> 2.0'\ngem 'sdoc', '~> 0.4.0', group: :doc\n-gem 'github_api', '~> 0.13'\n+gem 'github_api', git: 'https://github.com/prasadsurase/git... | Ruby | MIT License | joshsoftware/code-curiosity | Added redirection option to fetch repo, commit and organization info. |
332,109 | 25.12.2016 18:18:51 | -19,080 | 59c958a97f26463e9782a6989180ad32e569e07f | Added a small react component | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -38,6 +38,7 @@ gem 'rollbar'\ngem 'mongoid-paranoia'\ngem 'mongoid-paperclip', require: 'mongoid_paperclip'\ngem 'stripe'\n+gem 'react-rails'\ngroup :development, :test do\ngem 'byebug'\n"
},
{
"change_type"... | Ruby | MIT License | joshsoftware/code-curiosity | Added a small react component |
332,109 | 26.12.2016 15:05:32 | -19,080 | 7c652f83f537032eedbad83075e5865fcdd8fc9b | Added reactjs component for Points tile on dashboard page. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/assets/javascripts/components/points_tile.js.jsx",
"diff": "+var PointsTile = React.createClass({\n+\n+ render: function() {\n+ return (\n+ <div className={`small-box ${this.props.color}`}>\n+ <div className=\"inner\">\n+ <h3>{ this.props.po... | Ruby | MIT License | joshsoftware/code-curiosity | Added reactjs component for Points tile on dashboard page. |
332,109 | 27.12.2016 11:15:58 | -19,080 | 741eb351e23a2e9a45c86a8c868c241713d4b240 | Moved React Components to ES6 | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/components/celebrity_box.js.jsx",
"new_path": "app/assets/javascripts/components/celebrity_box.js.jsx",
"diff": "-var CelebrityBox = React.createClass({\n- render: function() {\n+class CelebrityBox extends React.Component {\n+ constructo... | Ruby | MIT License | joshsoftware/code-curiosity | Moved React Components to ES6 |
332,109 | 27.12.2016 14:13:46 | -19,080 | 5d46302495442d6b97cf2037d0b84fac4c584996 | Added React for PointHistory on profile page. | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -39,6 +39,8 @@ gem 'mongoid-paranoia'\ngem 'mongoid-paperclip', require: 'mongoid_paperclip'\ngem 'stripe'\ngem 'react-rails'\n+gem 'versionist'\n+gem 'active_model_serializers', '~> 0.10.0'\ngroup :development, :te... | Ruby | MIT License | joshsoftware/code-curiosity | Added React for PointHistory on profile page. |
332,109 | 27.12.2016 15:59:02 | -19,080 | 4ecc99a042ccad22b51c75a13be74a1ba44b31fd | Added test for TransactionSerializer | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/serializers/transaction_serializer_test.rb",
"diff": "+require \"test_helper\"\n+\n+class TransactionSerializerTest < ActiveSupport::TestCase\n+ def setup\n+ super\n+ @redeem_request = create(:redeem_request, points: 50, retailer: 'other', ... | Ruby | MIT License | joshsoftware/code-curiosity | Added test for TransactionSerializer |
332,109 | 27.12.2016 16:15:43 | -19,080 | 48fa67468fee36ca01e10186208bcf12718bc1a3 | Updated the PhantomJS version for TravisCI | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -17,7 +17,19 @@ services:\n- mongodb\n- redis-server\n-cache: bundler\n+cache:\n+ bundler: true\n+ directories:\n+ - \"travis_phantomjs\"\n+\n+before_install:\n+ - \"phantomjs --version\"\n+ - \"export PATH=... | Ruby | MIT License | joshsoftware/code-curiosity | Updated the PhantomJS version for TravisCI |
332,109 | 28.12.2016 11:29:58 | -19,080 | 32e59547b582bdae334cfc6dbfd11f639698aa16 | Added test for transactions controller api | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/controllers/v1/transactions_controller_test.rb",
"diff": "+require \"test_helper\"\n+\n+class V1::TransactionsControllerTest < ActionController::TestCase\n+ include Devise::TestHelpers\n+\n+ def setup\n+ super\n+ @request.env['Accept'] = 'a... | Ruby | MIT License | joshsoftware/code-curiosity | Added test for transactions controller api |
332,109 | 28.12.2016 11:34:43 | -19,080 | 0c83fbdf35da158130f71c60e73b7333c617d5b3 | Fixed bug: user's total points arent displayed correctly | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/components/points_history.js.jsx",
"new_path": "app/assets/javascripts/components/points_history.js.jsx",
"diff": "@@ -15,12 +15,6 @@ class PointsHistory extends React.Component {\n});\n}\n- total_points() {\n- return this.state.transact... | Ruby | MIT License | joshsoftware/code-curiosity | Fixed bug: user's total points arent displayed correctly |
332,109 | 28.12.2016 14:18:26 | -19,080 | 2a8500c0ccd4a1a200c302fadbe9c9b4315b714a | Displayed all the transaction of the current user in points history page. | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/v1/transactions_controller.rb",
"new_path": "app/controllers/v1/transactions_controller.rb",
"diff": "@@ -2,7 +2,6 @@ class V1::TransactionsController < V1::BaseController\nbefore_action :authenticate_user!\ndef index\n- @records_per_page = Kam... | Ruby | MIT License | joshsoftware/code-curiosity | Displayed all the transaction of the current user in points history page. |
332,109 | 29.12.2016 14:03:25 | -19,080 | 3d8e56439d42868473ac797d3101e3d5b910d50d | Added react CelebrityBox component on dashboard | [
{
"change_type": "MODIFY",
"old_path": "app/views/dashboard/index.html.haml",
"new_path": "app/views/dashboard/index.html.haml",
"diff": "%section.content-header\n%h1\nDashboard\n-= render 'celebrity_box' if current_user && current_user.celebrity\n+= react_component 'CelebrityBox', { type: 'info', t... | Ruby | MIT License | joshsoftware/code-curiosity | Added react CelebrityBox component on dashboard |
332,109 | 29.12.2016 14:24:25 | -19,080 | 698eaa44025d722e142de79fb979f7cec8938a9d | Added React Component to display user's points history chart | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/assets/javascripts/components/user_points_chart.es6.jsx",
"diff": "+class UserPointsChart extends React.Component {\n+ constructor(props) {\n+ super(props);\n+ }\n+\n+ componentDidMount() {\n+ userTrendChart(this.props.xAxis, this.props.comm... | Ruby | MIT License | joshsoftware/code-curiosity | Added React Component to display user's points history chart |
332,109 | 29.12.2016 16:12:11 | -19,080 | a6bbe6e3dbe91d7757ad3fbecc41aa97ad036fb9 | Added React Component for Subscription History on user's profile page | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/assets/javascripts/components/subscriptions_history.es6.jsx",
"diff": "+class SubscriptionsHistory extends React.Component {\n+ constructor(props) {\n+ super(props);\n+ this.state = { subscriptions: [] };\n+ }\n+\n+ componentDidMount() {\n+ ... | Ruby | MIT License | joshsoftware/code-curiosity | Added React Component for Subscription History on user's profile page |
332,109 | 29.12.2016 17:20:55 | -19,080 | 75d42d4f3e1b950a51754c75bee6c70dd72506ea | Added test cases for Subscriptions api and serializer | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/controllers/v1/subscriptions_controller_test.rb",
"diff": "+require \"test_helper\"\n+\n+class V1::SubscriptionsControllerTest < ActionController::TestCase\n+ include Devise::TestHelpers\n+\n+ def setup\n+ super\n+ @request.env['Accept'] = ... | Ruby | MIT License | joshsoftware/code-curiosity | Added test cases for Subscriptions api and serializer |
332,109 | 22.08.2017 19:49:15 | -19,080 | be830292799496ca6b0e812e15ecdf9c3da8f292 | Updated react components to conditionality coupon codes. | [
{
"change_type": "RENAME",
"old_path": "app/assets/javascripts/components/points_history.js.jsx",
"new_path": "app/assets/javascripts/components/points_history.es6.jsx",
"diff": "@@ -8,6 +8,7 @@ class PointsHistory extends React.Component {\n$.ajax({\ntype: 'GET',\nurl: '/transactions',\n+ data: { i... | Ruby | MIT License | joshsoftware/code-curiosity | Updated react components to conditionality coupon codes. |
332,109 | 23.08.2017 13:45:16 | -19,080 | 91b985d55cd2a2bdd89cd515fce89790b54649ed | Fixed some failing test cases. | [
{
"change_type": "MODIFY",
"old_path": "test/controllers/v1/transactions_controller_test.rb",
"new_path": "test/controllers/v1/transactions_controller_test.rb",
"diff": "@@ -9,27 +9,28 @@ class V1::TransactionsControllerTest < ActionController::TestCase\n@goal = create :goal\n@user = create :user, a... | Ruby | MIT License | joshsoftware/code-curiosity | Fixed some failing test cases. |
332,109 | 30.08.2017 15:41:21 | -19,080 | a460aeb6c68be48972d70721e553f30a269bfdf3 | Fixed stripe errors | [
{
"change_type": "MODIFY",
"old_path": "Gemfile.lock",
"new_path": "Gemfile.lock",
"diff": "@@ -518,4 +518,4 @@ RUBY VERSION\nruby 2.3.0p0\nBUNDLED WITH\n- 1.15.3\n+ 1.15.4\n"
},
{
"change_type": "MODIFY",
"old_path": "test/controllers/sponsorer_details_controller_test.rb",
"new_path... | Ruby | MIT License | joshsoftware/code-curiosity | Fixed stripe errors |
332,093 | 29.08.2017 18:37:00 | -19,080 | 3b56af0252423d33bdb0e532ae6875946e569c76 | Added amount field in transaction and added rake task to populate it | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/components/points_history.es6.jsx",
"new_path": "app/assets/javascripts/components/points_history.es6.jsx",
"diff": "@@ -20,6 +20,7 @@ class PointsHistory extends React.Component {\nvar rows = [];\nthis.state.transactions.map(function(tr... | Ruby | MIT License | joshsoftware/code-curiosity | Added amount field in transaction and added rake task to populate it |
332,093 | 30.08.2017 13:51:51 | -19,080 | 0d82f7ccba3cabeb4adec8840a379fa5d02c7482 | Update royalty bonus amount if user takes subscription within a month after signup | [
{
"change_type": "MODIFY",
"old_path": "app/models/sponsorer_detail.rb",
"new_path": "app/models/sponsorer_detail.rb",
"diff": "@@ -35,6 +35,7 @@ class SponsorerDetail\nafter_create :update_user_as_sponsor\nafter_create :notify_user_and_admin\n+ after_create :update_royalty_bonus\nscope :organizatio... | Ruby | MIT License | joshsoftware/code-curiosity | Update royalty bonus amount if user takes subscription within a month after signup |
332,093 | 31.08.2017 12:05:25 | -19,080 | 3c2e527f98de614e96f98c7d09e4b87ca1095d97 | Refactored code and stripe mock added | [
{
"change_type": "MODIFY",
"old_path": "app/models/user.rb",
"new_path": "app/models/user.rb",
"diff": "@@ -240,6 +240,6 @@ class User\nend\ndef sponsorer_detail\n- sponsorer_details.asc(:subscribed_at).last\n+ sponsorer_details.asc(:created_at).last\nend\nend\n"
},
{
"change_type": "MODIFY"... | Ruby | MIT License | joshsoftware/code-curiosity | Refactored code and stripe mock added |
332,109 | 01.09.2017 12:40:07 | -19,080 | ab3317629753243cba6fa3a96875cb7e30ee6e02 | Added sidekiq web interface and feature to score commit once its created.
Added sidekiq-status to display the sidekiq-web interface to admin
users.
Added feature to schedule commit scoring job once the commit is created. | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -41,6 +41,7 @@ gem 'stripe'\ngem 'react-rails'\ngem 'versionist'\ngem 'active_model_serializers', '~> 0.10.0'\n+gem 'sidekiq-status'\ngroup :development, :test do\ngem 'byebug'\n"
},
{
"change_type": "MODIFY... | Ruby | MIT License | joshsoftware/code-curiosity | Added sidekiq web interface and feature to score commit once its created.
Added sidekiq-status to display the sidekiq-web interface to admin
users.
Added feature to schedule commit scoring job once the commit is created. |
332,093 | 01.09.2017 14:26:42 | -19,080 | ce3494b831ff3966f67ddc19c2621334e5be1369 | Score commits to zero if repository is absent | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/score_commit_job.rb",
"new_path": "app/jobs/score_commit_job.rb",
"diff": "@@ -6,6 +6,7 @@ class ScoreCommitJob < ActiveJob::Base\ndef perform(commit_id)\ncommit = Commit.find(commit_id)\n+ if commit.repository\nengine = ScoringEngine.new(commit.repos... | Ruby | MIT License | joshsoftware/code-curiosity | Score commits to zero if repository is absent |
332,109 | 03.09.2017 00:41:56 | -19,080 | 99e3ca024bbd1fa8be6dec0b04bc810a98960080 | Revered the logic to schedule commit scoring on its creation | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit.rb",
"new_path": "app/models/commit.rb",
"diff": "@@ -40,7 +40,7 @@ class Commit\nc.user.inc(commits_count: 1)\nend\n- after_create :schedule_scoring_job\n+ #after_create :schedule_scoring_job\ndef info\n@info ||= repository ? user.gh_client.... | Ruby | MIT License | joshsoftware/code-curiosity | Revered the logic to schedule commit scoring on its creation |
332,093 | 05.09.2017 17:42:36 | -19,080 | f83c60c530e18f5b757c95afa3c7aa5be6195f55 | Rake task to remove transactions which are created when user became sponsorer | [
{
"change_type": "MODIFY",
"old_path": "app/models/sponsorer_detail.rb",
"new_path": "app/models/sponsorer_detail.rb",
"diff": "@@ -46,7 +46,6 @@ class SponsorerDetail\ndef save_payment_details(plan, amount, date)\npayment = self.payments.build(subscription_plan: plan, amount: amount/100, date: Time... | Ruby | MIT License | joshsoftware/code-curiosity | Rake task to remove transactions which are created when user became sponsorer |
332,093 | 07.09.2017 15:11:15 | -19,080 | a35bc866e015485b5b9bfbb508a058f661260292 | A feature to block users | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/assets/javascripts/admin/users.js",
"diff": "+$(document).on('page:change', function(event) {\n+\n+ $(document).on('change', '.block', function(){\n+ id = this.id;\n+ $(\".block#\"+id).prop(\"disabled\", true);\n+ $.ajax({\n+ type: 'patch',\... | Ruby | MIT License | joshsoftware/code-curiosity | A feature to block users |
332,093 | 22.08.2017 14:29:10 | -19,080 | 4740fc74387b53f569bb2fe40ce4bd96b0811d9e | user can add his twitter handle | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/redeem.scss",
"new_path": "app/assets/stylesheets/redeem.scss",
"diff": "a {\ncolor: white;\n}\n+\n}\n+\n"
},
{
"change_type": "MODIFY",
"old_path": "app/controllers/users_controller.rb",
"new_path": "app/controllers/user... | Ruby | MIT License | joshsoftware/code-curiosity | user can add his twitter handle |
332,093 | 24.08.2017 11:35:12 | -19,080 | 47d1b70cc72a3b4e1f551041366eed34dd0ede5d | Integration with twitter | [
{
"change_type": "DELETE",
"old_path": ".byebug_history",
"new_path": null,
"diff": "-exit\n-round.errors\n-round.name = nil\n-round.errors\n-round.errors[:end_date]\n-round.errors\n-round.save\n-round\n-round.errors[:end_date]\n-round.valid?\n-round.end_date\n-round.from_date\n-exit\n-current_user.... | Ruby | MIT License | joshsoftware/code-curiosity | Integration with twitter |
332,093 | 01.09.2017 13:20:43 | -19,080 | 32c613a0f624b35f633b9642bbb2e004c8ae6092 | User helper method to show twitter handle correctly | [
{
"change_type": "MODIFY",
"old_path": "app/helpers/users_helper.rb",
"new_path": "app/helpers/users_helper.rb",
"diff": "@@ -13,4 +13,8 @@ module UsersHelper\n#v*REDEEM['one_dollar_to_points']]\nend\nend\n+\n+ def remove_prefix(twitter_handle)\n+ twitter_handle[1..twitter_handle.length]\n+ end\nend... | Ruby | MIT License | joshsoftware/code-curiosity | User helper method to show twitter handle correctly |
332,093 | 11.09.2017 16:54:35 | -19,080 | 2af8764ec3cc6d97fe6ac3d4883f99617cfafff6 | Changes in views
Simple changes in views at profile and judging page. | [
{
"change_type": "MODIFY",
"old_path": "app/views/judging/activities.html.haml",
"new_path": "app/views/judging/activities.html.haml",
"diff": ".box.box-primary\n.box-header.with-border\n%h3.box-title Activities\n- .box-tools.pull-right.commits-tools#activities_pagination\n+ .box-tools.text-center.c... | Ruby | MIT License | joshsoftware/code-curiosity | Changes in views
Simple changes in views at profile and judging page. |
332,093 | 12.09.2017 11:30:05 | -19,080 | 97ba31ac360cd32284489e695320122a0f7b7533 | Modified impact graph on homepage | [
{
"change_type": "MODIFY",
"old_path": "app/helpers/home_helper.rb",
"new_path": "app/helpers/home_helper.rb",
"diff": "@@ -42,11 +42,11 @@ module HomeHelper\ndef multi_line_chart\nusers = Subscription.collection.aggregate( [ { \"$group\" => { _id: \"$round_id\", total: { \"$sum\" => 1 } } } ] ).sor... | Ruby | MIT License | joshsoftware/code-curiosity | Modified impact graph on homepage |
332,093 | 12.09.2017 13:51:50 | -19,080 | 77cf0c7d9ad9019761b7d879465b50281512cb12 | Google analytics added
A coffee script add to track traffic on code curiosity | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/assets/javascripts/google_analytics.js.coffee",
"diff": "+class @GoogleAnalytics\n+\n+ @load: ->\n+\n+ ((i, s, o, g, r, a, m) ->\n+ i['GoogleAnalyticsObject'] = r\n+ i[r] = i[r] or ->\n+ (i[r].q = i[r].q or []).push arguments\n+ return\n+\n+... | Ruby | MIT License | joshsoftware/code-curiosity | Google analytics added
A coffee script add to track traffic on code curiosity |
332,093 | 12.09.2017 15:42:03 | -19,080 | acc6b483187bf2fc03e3b9951648b3c16e8a86a2 | Twitter link added at landing page | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_navbar.html.haml",
"new_path": "app/views/application/_navbar.html.haml",
"diff": "%span.sr-only Toggle navigation\n.navbar-custom-menu\n%ul.nav.navbar-nav\n+ %li\n+ = link_to 'https://twitter.com/code_curiosity', target: :_blank do\n+ %... | Ruby | MIT License | joshsoftware/code-curiosity | Twitter link added at landing page |
332,093 | 12.09.2017 16:53:25 | -19,080 | 7c839f3cb1cfa75e4271aa17dc1760bad6cd18b3 | Twitter link on nav bar
Link added to Code Curiosity twitter | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_navbar.html.haml",
"new_path": "app/views/application/_navbar.html.haml",
"diff": ".navbar-custom-menu\n%ul.nav.navbar-nav\n%li\n- = link_to 'https://twitter.com/code_curiosity', target: :_blank do\n+ = link_to ACCOUNT['twitter'], { :sty... | Ruby | MIT License | joshsoftware/code-curiosity | Twitter link on nav bar
Link added to Code Curiosity twitter |
332,093 | 14.09.2017 11:30:08 | -19,080 | 27c170f88e36ac1a0567b533d715ee854c8222b1 | Fix favicon on home, info and public page | [
{
"change_type": "MODIFY",
"old_path": "app/views/layouts/home.html.haml",
"new_path": "app/views/layouts/home.html.haml",
"diff": "%meta{:charset => 'UTF-8'}/\n%meta{:content => 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no', :name => 'viewport'}/\n%title CodeCuriosity\n+ ... | Ruby | MIT License | joshsoftware/code-curiosity | Fix favicon on home, info and public page |
332,093 | 19.09.2017 16:52:12 | -19,080 | 3ef1fcda97cf3e950ed11afeda5844de1ed6b233 | Admin repositories page modified
Displaying only parent repositories and those forked repositories whose parent not present in DB.
Forked repos count present in DB with parent repos.
Ignore all forked repos if parent repo is ignored. | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/repositories_controller.rb",
"new_path": "app/controllers/admin/repositories_controller.rb",
"diff": "@@ -2,11 +2,11 @@ class Admin::RepositoriesController < ApplicationController\nbefore_action :authenticate_user!\nbefore_action :authent... | Ruby | MIT License | joshsoftware/code-curiosity | Admin repositories page modified
Displaying only parent repositories and those forked repositories whose parent not present in DB.
Forked repos count present in DB with parent repos.
Ignore all forked repos if parent repo is ignored. |
332,093 | 15.09.2017 14:37:33 | -19,080 | 29976c996b2a67c8fecb22663f684bd64a20c3ad | New display field earned in user profile
Field to dispay, capital redeemed by user | [
{
"change_type": "MODIFY",
"old_path": "app/helpers/users_helper.rb",
"new_path": "app/helpers/users_helper.rb",
"diff": "@@ -17,4 +17,8 @@ module UsersHelper\ndef remove_prefix(twitter_handle)\ntwitter_handle[1..-1]\nend\n+\n+ def amount_earned(user)\n+ user.transactions.where(type: 'debit').sum(:a... | Ruby | MIT License | joshsoftware/code-curiosity | New display field earned in user profile
Field to dispay, capital redeemed by user |
332,093 | 26.09.2017 17:30:25 | -19,080 | ef89893f190a82da2278b7da68453f09bcd5f910 | scoring job error fix | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/scoring_job.rb",
"new_path": "app/jobs/scoring_job.rb",
"diff": "@@ -9,6 +9,7 @@ class ScoringJob < ActiveJob::Base\nround = Round.find(round_id)\nSidekiq.logger.info \"******************* Logger Info for Scoring Job **************************\"\n+ if... | Ruby | MIT License | joshsoftware/code-curiosity | scoring job error fix |
332,093 | 08.09.2017 15:34:37 | -19,080 | f9bebfe18fe64c823fcebe35233d33ed1b55211c | Sort redeem requests
First list redeem requests from a paid plan, then list redeem requests from a free plan. | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/redeem_requests_controller.rb",
"new_path": "app/controllers/admin/redeem_requests_controller.rb",
"diff": "@@ -52,7 +52,7 @@ class Admin::RedeemRequestsController < ApplicationController\ndef load_redeem_request\n@status = params[:status... | Ruby | MIT License | joshsoftware/code-curiosity | Sort redeem requests
First list redeem requests from a paid plan, then list redeem requests from a free plan. |
332,093 | 29.09.2017 14:07:32 | -19,080 | 8dec3869d0d85ad81c6fea9b49b15f6779e959b6 | rake task to delete unwanted repository directories | [
{
"change_type": "MODIFY",
"old_path": "lib/tasks/repo.rake",
"new_path": "lib/tasks/repo.rake",
"diff": "@@ -27,4 +27,19 @@ namespace :repo do\nend\nend\n+ desc \"delete cloned repository whose commits got scored\"\n+ task delete_repository_dir: :environment do\n+ # get all the repository ids whose... | Ruby | MIT License | joshsoftware/code-curiosity | rake task to delete unwanted repository directories |
332,093 | 14.09.2017 18:50:42 | -19,080 | 92b0a560cca7991680a1fdc19787ba428b9d17ff | Filter on admin users page | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/admin/users.js",
"new_path": "app/assets/javascripts/admin/users.js",
"diff": "$(document).on('page:change', function(event) {\n+ $(function() {\n+ $('#blocked').bootstrapToggle();\n+ })\n+\n+ $('#blocked').change(function() {\n+ $('#sta... | Ruby | MIT License | joshsoftware/code-curiosity | Filter on admin users page |
332,093 | 27.09.2017 19:15:30 | -19,080 | 41568df46179347d79f16c5ca18a783de0be01bd | git cloning error rescued | [
{
"change_type": "MODIFY",
"old_path": "app/models/scoring_engine.rb",
"new_path": "app/models/scoring_engine.rb",
"diff": "@@ -29,20 +29,23 @@ class ScoringEngine\nrescue Git::GitExecuteError\n#delete the repo dir and clone again\nFileUtils.rm_r(\"#{Rails.root.join(config[:repositories]).to_s}/#{re... | Ruby | MIT License | joshsoftware/code-curiosity | git cloning error rescued |
332,093 | 03.10.2017 14:46:06 | -19,080 | a75398afe86022565b2d918cd340eaf22e25ee71 | Sponsorer Image added on home page and mails | [
{
"change_type": "ADD",
"old_path": "app/assets/images/org-ett-logo.png",
"new_path": "app/assets/images/org-ett-logo.png",
"diff": "Binary files /dev/null and b/app/assets/images/org-ett-logo.png differ\n"
},
{
"change_type": "ADD",
"old_path": "app/assets/images/org-josh-logo.png",
... | Ruby | MIT License | joshsoftware/code-curiosity | Sponsorer Image added on home page and mails |
332,093 | 03.10.2017 18:31:27 | -19,080 | cdf1c2e10b4e6a69364e643b98bea37017ef4fb7 | fixed sponsorer image size error on home page | [
{
"change_type": "MODIFY",
"old_path": "app/views/home/_subscribers_list.html.haml",
"new_path": "app/views/home/_subscribers_list.html.haml",
"diff": ".box-header\n%h2= header\n.box-body\n+ - if organization\n- ORGANIZATIONAL_SPONSORERS.each do |org|\n.img-center\n- = link_to image_tag(org[1][\"log... | Ruby | MIT License | joshsoftware/code-curiosity | fixed sponsorer image size error on home page |
332,093 | 10.10.2017 18:58:24 | -19,080 | 9c583d4d0d6ee20ca1cecf39c59834adca6478b0 | Added logger statements in UserReposJob | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/user_repos_job.rb",
"new_path": "app/jobs/user_repos_job.rb",
"diff": "@@ -5,6 +5,9 @@ class UserReposJob < ActiveJob::Base\nattr_accessor :user\nrescue_from(StandardError) do |exception|\n+ Sidekiq.logger.info \"**************************************... | Ruby | MIT License | joshsoftware/code-curiosity | Added logger statements in UserReposJob |
332,109 | 01.11.2017 12:03:54 | -19,080 | bf915c683079a2473f27a976aa5ed6921b694fdd | Removed the logic to recalculate the royal bonus on resignup | [
{
"change_type": "MODIFY",
"old_path": "app/models/user.rb",
"new_path": "app/models/user.rb",
"diff": "@@ -197,14 +197,17 @@ class User\nend\nif royalty_points > 0\n+ self.transactions.create(points: royalty_points, transaction_type: 'royalty_bonus', type: 'credit')\n+=begin\nroyalty_bonuses = self... | Ruby | MIT License | joshsoftware/code-curiosity | Removed the logic to recalculate the royal bonus on resignup |
332,093 | 01.11.2017 16:10:10 | -19,080 | f8f92d0dd07c449d88b2f916b42c42e108e6fa63 | Bonus points pertaining to each goal updated | [
{
"change_type": "MODIFY",
"old_path": "config/goals.yml",
"new_path": "config/goals.yml",
"diff": "goals:\nHiker:\npoints: 15\n- bonus_points: 20\n+ bonus_points: 5\nimage_url:\ndescription: \"I think I can earn %{points} in a month\"\nredeem_text: \"Redeem 50 points (~5$) and gift yourself a pack ... | Ruby | MIT License | joshsoftware/code-curiosity | Bonus points pertaining to each goal updated |
332,093 | 02.11.2017 16:26:35 | -19,080 | 4cd65a8b50e928cb4ff419f385b0516ab9cdabc9 | Fixed redeem request amount error when retailer is other | [
{
"change_type": "MODIFY",
"old_path": "app/models/redeem_request.rb",
"new_path": "app/models/redeem_request.rb",
"diff": "@@ -6,7 +6,7 @@ class RedeemRequest\nfield :coupon_code, type: String\nfield :status, type: Boolean, default: false\nfield :points, type: Integer\n- field :amount, type: Intege... | Ruby | MIT License | joshsoftware/code-curiosity | Fixed redeem request amount error when retailer is other |
332,109 | 09.11.2017 18:56:38 | -19,080 | f8331bcf58da73921609d6750422d4ef3073af39 | Updated ActivitiesFetcher to retrieve repo info using id
Currently, we are retrieving repo info using username and reponame. This
fails if the repo is transfered to another user. | [
{
"change_type": "MODIFY",
"old_path": "app/models/activities_fetcher.rb",
"new_path": "app/models/activities_fetcher.rb",
"diff": "@@ -21,7 +21,7 @@ class ActivitiesFetcher\nactivities.each do |a|\nif TRACKING_EVENTS.key?(a.type) && Time.parse(a.created_at) > since_time\nrepo = Repository.where(gh_... | Ruby | MIT License | joshsoftware/code-curiosity | Updated ActivitiesFetcher to retrieve repo info using id (#126)
Currently, we are retrieving repo info using username and reponame. This
fails if the repo is transfered to another user. |
332,100 | 09.11.2017 18:59:26 | -19,080 | c3fe1867bd2df4fea1802e6588925c0db1a13ef0 | Fixes bug in UsersController#show if user not found | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/users_controller.rb",
"new_path": "app/controllers/users_controller.rb",
"diff": "@@ -9,12 +9,12 @@ class UsersController < ApplicationController\ndef show\n@user = User.find(params[:id])\n+ if @user\n@show_transactions = current_user == @user\... | Ruby | MIT License | joshsoftware/code-curiosity | Fixes bug in UsersController#show if user not found (#384) |
332,093 | 06.02.2018 20:15:16 | -19,080 | 873b1ecabdcd4d23ebb13ac955e118432d73dbce | reset redeem_points mailer subject | [
{
"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] Terms of Service... | Ruby | MIT License | joshsoftware/code-curiosity | reset redeem_points mailer subject |
332,093 | 15.02.2018 16:17:20 | -19,080 | 7a7fdd26787c5505b4efc9360ff3050dd180423e | Update github_api gem | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -18,7 +18,8 @@ gem 'jquery-rails'\ngem 'turbolinks', '~>2.5'\ngem 'jbuilder', '~> 2.0'\ngem 'sdoc', '~> 0.4.0', group: :doc\n-gem 'github_api', git: 'https://github.com/prasadsurase/github.git', branch: 'add-redirec... | Ruby | MIT License | joshsoftware/code-curiosity | Update github_api gem |
332,091 | 28.02.2018 22:08:35 | -19,080 | 450471a9b3b881386aee59906a481ab143372357 | Upgrade account of offer winner users on
signin without CC details | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/models/offer.rb",
"diff": "+class Offer\n+ include Mongoid::Document\n+\n+ field :name, type: String, default: \"\"\n+ field :email, type: String, default: \"\"\n+ field :active_from, type: Date\n+\n+ validates :email, :name, :active_from, p... | Ruby | MIT License | joshsoftware/code-curiosity | Upgrade account of offer winner users on
signin without CC details |
332,091 | 28.02.2018 22:35:00 | -19,080 | a2c42eb8c59d02d205324a7b04ba0fabf6536e28 | Subscription page changes for offer winners | [
{
"change_type": "MODIFY",
"old_path": "app/models/user.rb",
"new_path": "app/models/user.rb",
"diff": "@@ -265,7 +265,7 @@ class User\nend\ndef sponsorer_detail\n- sponsorer_details.asc(:created_at).last\n+ sponsorer_details.where(:stripe_customer_id.ne => nil).asc(:created_at).last\nend\ndef appen... | Ruby | MIT License | joshsoftware/code-curiosity | Subscription page changes for offer winners |
332,090 | 12.03.2018 16:26:56 | -19,080 | 62eb395c17fd3a5f5e1e4f4b2ea46494a815d590 | commits fetch error fixed | [
{
"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(repo.owner, repo.name, {auto_pagination: true}).each do |branch|\n+ user.... | Ruby | MIT License | joshsoftware/code-curiosity | commits fetch error fixed |
332,090 | 14.03.2018 19:16:46 | -19,080 | 32d889533203ed022d2d4f346a8132b192793b2f | fetch all github repos of user | [
{
"change_type": "MODIFY",
"old_path": "app/models/concerns/user_github_helper.rb",
"new_path": "app/models/concerns/user_github_helper.rb",
"diff": "@@ -27,7 +27,7 @@ module UserGithubHelper\ndef fetch_all_github_repos\nall_repos = []\n- gh_client.repos.list(per_page: 100).each_page do |repos|\n+ g... | Ruby | MIT License | joshsoftware/code-curiosity | fetch all github repos of user |
332,090 | 14.03.2018 19:34:17 | -19,080 | b4a8b8b852ba7c66463387b47f9654b7eeb8c2c9 | add update points task | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "lib/tasks/update_points.rake",
"diff": "+namespace :update_points do\n+ desc 'fetch commits and activities and perform scoring'\n+ task :fetch_and_score, [:user, :round] => :environment do |t, args|\n+ round = Round.find(args[:round]) if args[:r... | Ruby | MIT License | joshsoftware/code-curiosity | add update points task |
332,090 | 15.03.2018 17:54:22 | -19,080 | 1849fd6166eff3c25f2e3a8534b14cca675338c1 | passing round while creating commits and activities | [
{
"change_type": "MODIFY",
"old_path": "app/models/activities_fetcher.rb",
"new_path": "app/models/activities_fetcher.rb",
"diff": "@@ -42,6 +42,7 @@ class ActivitiesFetcher\nuser_activity.user = user\nuser_activity.repository = repo\nuser_activity.organization_id = repo.organization_id\n+ user_acti... | Ruby | MIT License | joshsoftware/code-curiosity | passing round while creating commits and activities |
332,090 | 19.03.2018 16:31:35 | -19,080 | e926b120658b5e85dfc7202fd5685ce074510d42 | add end time of round | [
{
"change_type": "MODIFY",
"old_path": "app/models/activities_fetcher.rb",
"new_path": "app/models/activities_fetcher.rb",
"diff": "@@ -15,11 +15,12 @@ class ActivitiesFetcher\nround.from_date.beginning_of_day\nend\n+ end_time = round.end_date.try(:end_of_day) || Date.today.end_of_day\n#repos = user... | Ruby | MIT License | joshsoftware/code-curiosity | add end time of round |
332,090 | 20.03.2018 20:07:50 | -19,080 | aaa4e8be4b9da6e1e2f93bbf804c6147c6380876 | pass round while fetching commits and activities | [
{
"change_type": "MODIFY",
"old_path": "lib/tasks/fetch_data.rake",
"new_path": "lib/tasks/fetch_data.rake",
"diff": "namespace :fetch_data do\ndesc \"Fetch code-curiosity github repositories commits and activities periodically.\"\n- task :commits_and_activities, [:type] => :environment do |t, args|... | Ruby | MIT License | joshsoftware/code-curiosity | pass round while fetching commits and activities |
332,090 | 23.03.2018 20:19:31 | -19,080 | 90950d644a8aefe63af72902a35c91fc210f866f | sidebar UI changes
1. removed green color of subscribe band
2. highlighted active bar | [
{
"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.bg-green\n+ %li{cla... | Ruby | MIT License | joshsoftware/code-curiosity | sidebar UI changes
1. removed green color of subscribe band
2. highlighted active bar |
332,090 | 22.03.2018 18:05:08 | -19,080 | 1801508e38b61dd497ccec8744bc6e82b83bc8b7 | change subscription plan of contest winners without creating sponsorer details | [
{
"change_type": "MODIFY",
"old_path": "app/helpers/redeem_helper.rb",
"new_path": "app/helpers/redeem_helper.rb",
"diff": "module RedeemHelper\ndef redeem_request_value(user, one_dollar_to_points)\n- (user.is_sponsorer and user.active_sponsorer_detail) ? one_dollar_to_points : one_dollar_to_points ... | Ruby | MIT License | joshsoftware/code-curiosity | change subscription plan of contest winners without creating sponsorer details |
332,090 | 11.04.2018 12:56:48 | -19,080 | ab5e2111a827ea8138f546b378a078fdec1efb69 | script to backup database regularly | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "config.rb",
"diff": "+# encoding: utf-8\n+\n+##\n+# Backup v4.x Configuration\n+#\n+# Documentation: http://backup.github.io/backup\n+# Issue Tracker: https://github.com/backup/backup/issues\n+\n+##\n+# Config Options\n+#\n+# The options here ma... | Ruby | MIT License | joshsoftware/code-curiosity | script to backup database regularly |
332,110 | 11.05.2018 12:58:04 | -19,080 | ef2b6573c49e323b79f42274e16a1359d8484ba4 | Removed admin dashboard tab.
Removed related controller, view and routes. | [
{
"change_type": "DELETE",
"old_path": "app/controllers/admin/dashboard_controller.rb",
"new_path": null,
"diff": "-class Admin::DashboardController < ApplicationController\n- before_action :authenticate_user!\n- before_action :authenticate_admin!\n-\n- def index\n- end\n-end\n"
},
{
"change... | Ruby | MIT License | joshsoftware/code-curiosity | Removed admin dashboard tab.
- Removed related controller, view and routes. |
332,098 | 11.05.2018 13:11:49 | -19,080 | e8b6617f957b4a9da320d3cf623848bb6f2697ec | Update commit model, add score, reward and frequency_factor | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit.rb",
"new_path": "app/models/commit.rb",
"diff": "@@ -15,6 +15,9 @@ class Commit\nfield :auto_score, type: Integer\nfield :default_score, type: Float, default: 0\nfield :bugspots_score, type: Float, default: 0\n+ field :score, type: Float, de... | Ruby | MIT License | joshsoftware/code-curiosity | Update commit model, add score, reward and frequency_factor |
332,099 | 11.05.2018 13:23:33 | -19,080 | b2c59fd0cacc2882d3f0a945e45004e31369a796 | [BANDANA][ANURAG]Removed sponsores and featured groups from the Home Page | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/home_controller.rb",
"new_path": "app/controllers/home_controller.rb",
"diff": "@@ -2,10 +2,7 @@ class HomeController < ApplicationController\ninclude HomeHelper\n#load the before_actions only if the user is not logged in.\n- before_action :fea... | Ruby | MIT License | joshsoftware/code-curiosity | [BANDANA][ANURAG]Removed sponsores and featured groups from the Home Page |
332,110 | 11.05.2018 13:36:09 | -19,080 | b6c957ad5b371d40dd2aa20247e2f4f967d10ffc | Removed "Mark as Judge" option from admin users tab.
Removed controller action and route. | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/users_controller.rb",
"new_path": "app/controllers/admin/users_controller.rb",
"diff": "@@ -13,11 +13,6 @@ class Admin::UsersController < ApplicationController\nend\nend\n- def mark_as_judge\n- User.find(params[:user_id]).set(is_judge: pa... | Ruby | MIT License | joshsoftware/code-curiosity | Removed "Mark as Judge" option from admin users tab.
- Removed controller action and route. |
332,099 | 11.05.2018 13:41:07 | -19,080 | 83827a406f7ca805723bdc7e9556af3fbe4e4a00 | Removed trends from the dashboards | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/home_controller.rb",
"new_path": "app/controllers/home_controller.rb",
"diff": "@@ -24,32 +24,4 @@ class HomeController < ApplicationController\nend\nend\n- def trend\n- subscription = current_user ? current_user.current_subscription(current_ro... | Ruby | MIT License | joshsoftware/code-curiosity | Removed trends from the dashboards |
332,110 | 11.05.2018 13:50:53 | -19,080 | 7a48be5d84acd032cccd220d816ecb28098a0bb6 | Removed admin `Judges` tab and `judges`,'Actions' column from admin repos tab. | [
{
"change_type": "MODIFY",
"old_path": "app/views/admin/repositories/_repos_table.html.haml",
"new_path": "app/views/admin/repositories/_repos_table.html.haml",
"diff": ".badge Forks\n%th.col-xs-3 Description\n%th.col-xs-1 Stars\n- %th.col-xs-1.5 Judges\n%th.col-xs-1 Ignored\n- %th.col-xs-2 Actions\... | Ruby | MIT License | joshsoftware/code-curiosity | Removed admin `Judges` tab and `judges`,'Actions' column from admin repos tab. |
332,110 | 11.05.2018 13:53:16 | -19,080 | 68b1d059717ec20f71ec55253969ec569bc0b90a | Removed "Judging" tab from application sidebar. | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_sidebar.html.haml",
"new_path": "app/views/application/_sidebar.html.haml",
"diff": "= link_to activities_path do\n%i.fa.fa-cubes\n%span Contributions\n- - if current_user.is_judge\n- %li{class: is_active('commits', 'judging') || is_acti... | Ruby | MIT License | joshsoftware/code-curiosity | Removed "Judging" tab from application sidebar. |
332,110 | 11.05.2018 14:11:52 | -19,080 | 59ffabbce4806db403d6f4d397ee9bd1212b4376 | Removed all the unused files from previous two commits. | [
{
"change_type": "DELETE",
"old_path": "app/controllers/admin/judges_controller.rb",
"new_path": null,
"diff": "-class Admin::JudgesController < ApplicationController\n- before_action :authenticate_user!\n- before_action :authenticate_admin!\n-\n- def index\n- @judges = User.judges.page(params[:page... | Ruby | MIT License | joshsoftware/code-curiosity | Removed all the unused files from previous two commits. |
332,110 | 11.05.2018 15:51:51 | -19,080 | 6bb9088b3619af53e1432536a699508660f9cef4 | Removed admin judges related view files. | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/admin/repositories_controller.rb",
"new_path": "app/controllers/admin/repositories_controller.rb",
"diff": "class Admin::RepositoriesController < ApplicationController\nbefore_action :authenticate_user!\nbefore_action :authenticate_admin!\n- be... | Ruby | MIT License | joshsoftware/code-curiosity | Removed admin judges related view files. |
332,110 | 11.05.2018 16:09:44 | -19,080 | 5c9530c29561a23b9dfea2ba884d2f0f3e884feb | Removed admin subscription tab from side bar.
Also removed controller and routes. | [
{
"change_type": "DELETE",
"old_path": "app/controllers/admin/subscriptions_controller.rb",
"new_path": null,
"diff": "-class Admin::SubscriptionsController < ApplicationController\n- include Admin::SubscriptionsHelper\n-\n- before_action :authenticate_user!\n- before_action :authenticate_admin!\n-\... | Ruby | MIT License | joshsoftware/code-curiosity | Removed admin subscription tab from side bar.
- Also removed controller and routes. |
332,110 | 11.05.2018 16:20:58 | -19,080 | d6beb7e608a4f64dbb351af91541e54b6b87c3b4 | Displayed active users count in admin users tab. | [
{
"change_type": "MODIFY",
"old_path": "app/views/admin/users/index.html.haml",
"new_path": "app/views/admin/users/index.html.haml",
"diff": "%section.content-header\n%h1\n- Users :-\n+ Users\n+ %span.badge #{@users.count}\n%label.slide\n%input#blocked{checked: !(@status == \"true\"), type: 'checkbo... | Ruby | MIT License | joshsoftware/code-curiosity | Displayed active users count in admin users tab. |
332,099 | 11.05.2018 15:54:19 | -19,080 | 2f5a73a5b534e00d364a6cde535e99d7a48410cd | Fixed the Home Page CodeCuriosity NavBar
Also fixed and removed some specs | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_navbar.html.haml",
"new_path": "app/views/application/_navbar.html.haml",
"diff": "%span.logo-lg\n= image_tag 'logo_50pxh.png', height: 35\n%nav.navbar.navbar-static-top{:role => 'navigation'}\n+ - if current_user\n%a.sidebar-toggle{'dat... | Ruby | MIT License | joshsoftware/code-curiosity | Fixed the Home Page CodeCuriosity NavBar
Also fixed and removed some specs |
332,110 | 11.05.2018 16:43:46 | -19,080 | 22a5a2b54609d21568b0e32b21e6109f9b705d0e | Removed `Admin Redeem Request` tab from Admin side bar.
Not removed controller code and views, as it may be required in the future. | [
{
"change_type": "MODIFY",
"old_path": "app/views/application/_admin_sidebar.html.haml",
"new_path": "app/views/application/_admin_sidebar.html.haml",
"diff": "%a{href: admin_ignored_files_path}\n%i.fa.fa-circle-o\n%span Ignored Files\n- %li\n- %a{href: admin_redeem_requests_path}\n- %i.fa.fa-credit... | Ruby | MIT License | joshsoftware/code-curiosity | Removed `Admin Redeem Request` tab from Admin side bar.
Not removed controller code and views, as it may be required in the future. |
332,099 | 11.05.2018 17:00:39 | -19,080 | 9edfd8a5473643d15ba5a8de2a9ecb1e86ebc0d0 | Removed activities tab from dashboard,
Remaining to remove activity from graph | [
{
"change_type": "MODIFY",
"old_path": "app/views/dashboard/index.html.haml",
"new_path": "app/views/dashboard/index.html.haml",
"diff": ".col-lg-3.col-xs-6\n= react_component 'PointsTile', { color: 'bg-green', title: 'Commits', points: current_user.commits_count,\nlogo: 'ion-stats-bars', path: acti... | Ruby | MIT License | joshsoftware/code-curiosity | Removed activities tab from dashboard,
Remaining to remove activity from graph |
332,104 | 11.05.2018 17:05:29 | -19,080 | 5a1825456363af3e4bf5a20376e989383c15599c | Removed rounds and redeem points buttom from user profile | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/users_controller.rb",
"new_path": "app/controllers/users_controller.rb",
"diff": "class UsersController < ApplicationController\n- include ContributionHelper\ninclude SponsorerHelper\nbefore_action :authenticate_user!, except: [:show]\n@@ -10,8... | Ruby | MIT License | joshsoftware/code-curiosity | Removed rounds and redeem points buttom from user profile |
332,098 | 14.05.2018 13:40:21 | -19,080 | dccfdcfc2a244a09924ece96c7de5a9d69a23ae5 | Add frequency_factor_calculator service and set frequency_factor
before commit save | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit.rb",
"new_path": "app/models/commit.rb",
"diff": "@@ -26,7 +26,6 @@ class Commit\nhas_many :comments, as: :commentable\nembeds_many :scores, as: :scorable\n- validates :round, presence: true\nvalidates :message, uniqueness: {:scope => :commit... | Ruby | MIT License | joshsoftware/code-curiosity | Add frequency_factor_calculator service and set frequency_factor
before commit save |
332,095 | 14.05.2018 12:42:03 | -19,080 | 7ec24b9886c622f72b1ff50d95a76b251599f328 | fetch git commits for given user, repo, date range | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/models/test.rb",
"diff": "+class Test\n+ include VCS\n+\n+ attr_reader :user, :git_username, :repo_name,\n+ :branch_name, :from_date, :to_date\n+\n+ def initialize(user: , repo_name: , branch_name: , **options)\n+ @user = user\n+ @repo_name ... | Ruby | MIT License | joshsoftware/code-curiosity | fetch git commits for given user, repo, date range |
332,090 | 16.05.2018 18:44:25 | -19,080 | 3a6e6723188fcdfb4068cc3190c633e8bd8611a4 | Add commit fetching logic.
1. Add Test Model.
2. classes to fetch commits, repositories and branches.
3. Add branches field in Repository model. | [
{
"change_type": "MODIFY",
"old_path": "app/models/repository.rb",
"new_path": "app/models/repository.rb",
"diff": "@@ -19,6 +19,7 @@ class Repository\nfield :ignore_files, type: Array, default: []\nfield :type, type: String\nfield :ignore, type: Boolean, default: false\n+ field :branches, type: Arr... | Ruby | MIT License | joshsoftware/code-curiosity | Add commit fetching logic.
1. Add Test Model.
2. classes to fetch commits, repositories and branches.
3. Add branches field in Repository model. |
332,090 | 18.05.2018 17:14:27 | -19,080 | 384f80fb52eb274a59b9169efecb2e0faa27dfd4 | Commits Fetch Task
1. Add FetchCommitJob, GitApp model and fetch commits task. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "app/jobs/fetch_commit_job.rb",
"diff": "+class FetchCommitJob < ActiveJob::Base\n+ include Sidekiq::Status::Worker\n+ include ActiveJobRetriesCount\n+ queue_as :git\n+\n+ def perform(repo_owner: , repo_name: , branch_name: , **options)\n+ from_d... | Ruby | MIT License | joshsoftware/code-curiosity | Commits Fetch Task
1. Add FetchCommitJob, GitApp model and fetch commits task. |
332,090 | 25.05.2018 18:09:21 | -19,080 | fe9f82da8e43dc0bf2cb256ac1a7b0f22505fd20 | change app_num to app_credentials_counter | [
{
"change_type": "MODIFY",
"old_path": "app/models/git_app.rb",
"new_path": "app/models/git_app.rb",
"diff": "-require 'github_client'\n-require 'git_lib_ext'\n-\nclass GitApp\ninclude Mongoid::Document\n- @@app_num = 1\n+ @@app_credentials_counter = 1\n- def self.app_num\n- @@app_num\n+ def self.ap... | Ruby | MIT License | joshsoftware/code-curiosity | change app_num to app_credentials_counter |
332,091 | 25.05.2018 18:50:50 | -19,080 | b9e582da0eede7d65b236f18ee07656fcf9fd519 | Move backup code under DbBackup folder | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "DbBackup/backup.yml",
"diff": "+database:\n+ name: 'code_curiosity'\n+ username: ''\n+ password: ''\n+ host: ''\n+ port: ''\n+storage:\n+ access_key_id: \"\"\n+ secret_access_key: \"\"\n+ region: \"region\"\n+ bucket: \"bucket\"\n+encryptor:\n+ ... | Ruby | MIT License | joshsoftware/code-curiosity | Move backup code under DbBackup folder |
332,090 | 25.05.2018 19:20:28 | -19,080 | 080ba8273ea99b663b67576d9d9f037b7794b1ce | Disable redeem points button | [
{
"change_type": "MODIFY",
"old_path": "app/views/users/show.html.haml",
"new_path": "app/views/users/show.html.haml",
"diff": "%span.pull-right Not set yet\n- if logged_in_user?\n- if Offer.is_winner?(current_user) || @user.active_sponsorer_detail || @user.able_to_redeem?\n- = link_to '#', class: \... | Ruby | MIT License | joshsoftware/code-curiosity | Disable redeem points button |
332,091 | 25.05.2018 19:50:06 | -19,080 | d526e8fee2702e24662349835b236b45975c416a | Add backup gem to Gemfile | [
{
"change_type": "MODIFY",
"old_path": "Gemfile",
"new_path": "Gemfile",
"diff": "@@ -43,6 +43,7 @@ gem 'react-rails'\ngem 'versionist'\ngem 'active_model_serializers', '~> 0.10.0'\ngem 'sidekiq-status'\n+gem 'backup'\ngroup :development, :test do\ngem 'byebug'\n"
},
{
"change_type": "MODIFY... | Ruby | MIT License | joshsoftware/code-curiosity | Add backup gem to Gemfile |
332,090 | 25.05.2018 19:34:20 | -19,080 | d53232b276b4d594aa42a6b32ebc1a3d4b0d7281 | Stop scheduling mails | [
{
"change_type": "MODIFY",
"old_path": "config/schedule.rb",
"new_path": "config/schedule.rb",
"diff": "@@ -47,14 +47,13 @@ every '59 23 27-31 * *' do\nend\nevery '1 1 21 * *' do\n- rake 'subscription:send_progress_emails'\n+ # rake 'subscription:send_progress_emails'\nend\nevery '1 10 7 * *' do\n- ... | Ruby | MIT License | joshsoftware/code-curiosity | Stop scheduling mails |
332,090 | 28.05.2018 18:50:47 | -19,080 | 4cbaf5dde9eaa4abb16a37c472ee71980beb466d | Terms and conditions page for new feature. | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/application.scss",
"new_path": "app/assets/stylesheets/application.scss",
"diff": "@import \"bootstrap2-toggle\";\n@import 'activities';\n@import 'redeem';\n+@import 'registrations';\n.typeahead.dropdown-menu, .tt-hint, .tt-input, .tt-me... | Ruby | MIT License | joshsoftware/code-curiosity | Terms and conditions page for new feature. |
332,091 | 31.05.2018 20:34:59 | -19,080 | 79faf1ad9790cbc0b9845d806e638da0eb91f0bc | Create associated pull request with commits | [
{
"change_type": "MODIFY",
"old_path": "app/models/commit.rb",
"new_path": "app/models/commit.rb",
"diff": "@@ -21,6 +21,7 @@ class Commit\nbelongs_to :user\nbelongs_to :repository\n+ belongs_to :pull_request\nhas_many :comments, as: :commentable\nembeds_many :scores, as: :scorable\n"
},
{
"... | Ruby | MIT License | joshsoftware/code-curiosity | Create associated pull request with commits |
332,091 | 01.06.2018 15:03:59 | -19,080 | d6f63817e8b34ac74d6208fb6a8b7b019f68d4f1 | Add model test case for pull_request | [
{
"change_type": "MODIFY",
"old_path": "app/models/pull_request.rb",
"new_path": "app/models/pull_request.rb",
"diff": "@@ -3,10 +3,12 @@ class PullRequest\ninclude Mongoid::Timestamps\nfield :number, type: Integer\n- field :created_on, type: String\n+ field :created_at_git, type: String\nfield :com... | Ruby | MIT License | joshsoftware/code-curiosity | Add model test case for pull_request |
332,091 | 01.06.2018 15:25:10 | -19,080 | 5a226218f4cf608bfd0e7725ef8931d1760bc84d | Change name of test class to git_fetcher | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/fetch_commit_job.rb",
"new_path": "app/jobs/fetch_commit_job.rb",
"diff": "@@ -12,7 +12,7 @@ class FetchCommitJob < ActiveJob::Base\nSidekiq.logger.info \"from: #{from_date} to: #{to_date}\"\nbegin\n- Test.new(\n+ GitFetcher.new(\nrepo_owner: repo_own... | Ruby | MIT License | joshsoftware/code-curiosity | Change name of test class to git_fetcher |
332,090 | 23.05.2018 14:01:00 | -19,080 | 548f86c78a527d8a4e04fdb1906ca95d130bd835 | Reward table to show user commits
1. Add table to show commits.
2. Add filter to show commits between two dates.
3. Add search feature | [
{
"change_type": "MODIFY",
"old_path": "app/assets/stylesheets/application.scss",
"new_path": "app/assets/stylesheets/application.scss",
"diff": "@import \"bootstrap2-toggle\";\n@import 'redeem';\n@import 'registrations';\n+@import 'commits';\n.typeahead.dropdown-menu, .tt-hint, .tt-input, .tt-menu ... | Ruby | MIT License | joshsoftware/code-curiosity | Reward table to show user commits
1. Add table to show commits.
2. Add filter to show commits between two dates.
3. Add search feature |
332,090 | 02.06.2018 10:22:49 | -19,080 | 7a8e90c7fee9285988cd5f11bb2aea728095ca7f | Fix test cases of commits controller | [
{
"change_type": "MODIFY",
"old_path": "test/controllers/commits_controller_test.rb",
"new_path": "test/controllers/commits_controller_test.rb",
"diff": "@@ -2,9 +2,7 @@ require \"test_helper\"\nclass CommitsControllerTest < ActionController::TestCase\nbefore do\n- goal = create :goal, points: 10\n-... | Ruby | MIT License | joshsoftware/code-curiosity | Fix test cases of commits controller |
332,090 | 01.06.2018 10:08:18 | -19,080 | 0c4b7df4ff3c3d1c9d603eee196f8bcc28cf6f66 | Modify redeem points feature and user profile
1. Remove activities count from user profile.
2. Update redeem request form and Alert. | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/redeem.js",
"new_path": "app/assets/javascripts/redeem.js",
"diff": "@@ -8,11 +8,10 @@ var alert_user = function() {\nevent.stopImmediatePropagation();\nvar form = $(this).parent('form');\nvar points = $(this).data().points;\n- var paid ... | Ruby | MIT License | joshsoftware/code-curiosity | Modify redeem points feature and user profile
1. Remove activities count from user profile.
2. Update redeem request form and Alert. |
332,090 | 04.06.2018 17:30:41 | -19,080 | 4cb25668a49f03640dbb3c82c33d75a7c2026d54 | Update multi-line-charts
1. Add aggregate queries to Show commits and users month wise.
2. Use of Commit and User model instead of Subscription. | [
{
"change_type": "MODIFY",
"old_path": "app/assets/javascripts/components/user_points_chart.es6.jsx",
"new_path": "app/assets/javascripts/components/user_points_chart.es6.jsx",
"diff": "@@ -4,7 +4,7 @@ class UserPointsChart extends React.Component {\n}\ncomponentDidMount() {\n- userTrendChart(this.p... | Ruby | MIT License | joshsoftware/code-curiosity | Update multi-line-charts
1. Add aggregate queries to Show commits and users month wise.
2. Use of Commit and User model instead of Subscription. |
332,090 | 05.06.2018 14:32:10 | -19,080 | 2afc4017148432dca503e4cf73611d6f7e5fecb5 | Add gh_repo_created_at and gh_repo_updated_at fields in Repository. | [
{
"change_type": "MODIFY",
"old_path": "app/jobs/user_repos_job.rb",
"new_path": "app/jobs/user_repos_job.rb",
"diff": "@@ -56,6 +56,7 @@ class UserReposJob < ActiveJob::Base\n=end\nSidekiq.logger.info \"Repository does not include this user... Adding user\" unless repo.users.include?(user)\nrepo.us... | Ruby | MIT License | joshsoftware/code-curiosity | Add gh_repo_created_at and gh_repo_updated_at fields in Repository. |
332,090 | 05.06.2018 14:58:33 | -19,080 | 0cc121aef2c48714fa8261ae4761bd423e009afc | Use of sort in aggregate query | [
{
"change_type": "MODIFY",
"old_path": "app/helpers/home_helper.rb",
"new_path": "app/helpers/home_helper.rb",
"diff": "@@ -18,11 +18,11 @@ module HomeHelper\ndef widget_class\nif @size > 2\n- \"col-md-4\"\n+ 'col-md-4'\nelsif @size == 2\n- \"col-md-6\"\n+ 'col-md-6'\nelse\n- \"col-md-12\"\n+ 'col-m... | Ruby | MIT License | joshsoftware/code-curiosity | Use of sort in aggregate query |
332,090 | 06.06.2018 17:11:10 | -19,080 | d78909d641c2c844a06b06af46e0b3636e30a865 | Test cases for UserReposJob | [
{
"change_type": "MODIFY",
"old_path": "test/fixtures/repo.json",
"new_path": "test/fixtures/repo.json",
"diff": "-{\n+[{\n\"id\": 67219068,\n\"name\": \"code-curiosity\",\n\"full_name\": \"prasadsurase/code-curiosity\",\n\"network_count\": 26,\n\"subscribers_count\": 1\n}\n+]\n"
},
{
"chang... | Ruby | MIT License | joshsoftware/code-curiosity | Test cases for UserReposJob |
332,090 | 06.06.2018 18:12:48 | -19,080 | 9b0c4d8b75452b4fd43e2163c686fa8f21058d97 | Test cases for GitFetcher model | [
{
"change_type": "MODIFY",
"old_path": "config/mongoid.yml",
"new_path": "config/mongoid.yml",
"diff": "@@ -132,6 +132,8 @@ test:\noptions:\nread:\nmax_pool_size: 1\n+ options:\n+ raise_not_found_error: false\nproduction:\nclients:\n"
},
{
"change_type": "ADD",
"old_path": null,
"new... | Ruby | MIT License | joshsoftware/code-curiosity | Test cases for GitFetcher model |
332,090 | 09.06.2018 15:25:09 | -19,080 | cac395c52725e7d80aaf00f80d206e0a0cade7d4 | Modified GitFetcher tests | [
{
"change_type": "MODIFY",
"old_path": "test/models/git_fetcher_test.rb",
"new_path": "test/models/git_fetcher_test.rb",
"diff": "@@ -10,8 +10,7 @@ class GitFetcherTest < ActiveSupport::TestCase\ncreate :repository, name: 'Facebook', owner: 'pain11'\nend\n- describe 'fetch commits' do\n- describe 'c... | Ruby | MIT License | joshsoftware/code-curiosity | Modified GitFetcher tests |
332,091 | 11.06.2018 08:57:45 | -19,080 | c9ddfbd0ac3edaac2b8947e8cb7c022385830fec | Move aggregation logic from helper to services | [
{
"change_type": "MODIFY",
"old_path": "app/controllers/home_controller.rb",
"new_path": "app/controllers/home_controller.rb",
"diff": "class HomeController < ApplicationController\n- include HomeHelper\n-\n- #load the before_actions only if the user is not logged in.\n- before_action :multi_line_ch... | Ruby | MIT License | joshsoftware/code-curiosity | Move aggregation logic from helper to services |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.