Skip to content

Commit

Permalink
Merge pull request #30961 from code-dot-org/dtp_candidate_e09c1493
Browse files Browse the repository at this point in the history
DTP (Test > Production: e09c149)
  • Loading branch information
jmkulwik committed Sep 25, 2019
2 parents 7e1ffd8 + 437de70 commit 2930e39
Show file tree
Hide file tree
Showing 170 changed files with 1,108 additions and 1,553 deletions.
2 changes: 1 addition & 1 deletion apps/src/code-studio/components/SoundList.jsx
Expand Up @@ -43,7 +43,7 @@ export default class SoundList extends React.Component {
this.props.selectedSound.name === sound.name ? true : false;
return (
<SoundListEntry
key={sound.name}
key={sound.sourceUrl}
assetChosen={this.props.assetChosen}
soundMetadata={sound}
isSelected={isSelected}
Expand Down
3 changes: 2 additions & 1 deletion apps/src/maze/beeBlocks.js
Expand Up @@ -6,6 +6,7 @@ var msg = require('./locale');
var blockUtils = require('../block_utils');

var OPERATORS = [['=', '=='], ['<', '<'], ['>', '>']];
const RTL_OPERATORS = [['=', '=='], ['>', '<'], ['<', '>']];

var TOOLTIPS = {
'==': Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ,
Expand Down Expand Up @@ -231,7 +232,7 @@ function addConditionalComparisonBlock(blockly, generator, name, type, arg1) {
);
this.appendDummyInput().appendTitle(' ');
this.appendDummyInput().appendTitle(
new blockly.FieldDropdown(OPERATORS),
new blockly.FieldDropdown(Blockly.RTL ? RTL_OPERATORS : OPERATORS),
'OP'
);
this.appendDummyInput().appendTitle(' ');
Expand Down
13 changes: 10 additions & 3 deletions apps/src/storage/dataBrowser/DataTableView.jsx
Expand Up @@ -9,7 +9,7 @@ import FontAwesome from '../../templates/FontAwesome';
import PropTypes from 'prop-types';
import Radium from 'radium';
import React from 'react';
import {changeView, showWarning} from '../redux/data';
import {changeView, showWarning, tableType} from '../redux/data';
import * as dataStyles from './dataStyles';
import color from '../../util/color';
import {connect} from 'react-redux';
Expand Down Expand Up @@ -68,6 +68,7 @@ class DataTableView extends React.Component {
// from redux state
tableColumns: PropTypes.arrayOf(PropTypes.string).isRequired,
tableName: PropTypes.string.isRequired,
tableListMap: PropTypes.object.isRequired,
// "if all of the keys are integers, and more than half of the keys between 0 and
// the maximum key in the object have non-empty values, then Firebase will render
// it as an array."
Expand Down Expand Up @@ -207,7 +208,12 @@ class DataTableView extends React.Component {
/>
<div style={debugDataStyle}>{this.getTableJson()}</div>
{!this.state.showDebugView && (
<DataTable getColumnNames={this.getColumnNames} />
<DataTable
getColumnNames={this.getColumnNames}
readOnly={
this.props.tableListMap[this.props.tableName] === tableType.SHARED
}
/>
)}
</div>
);
Expand All @@ -219,7 +225,8 @@ export default connect(
view: state.data.view,
tableColumns: state.data.tableColumns || [],
tableRecords: state.data.tableRecords || {},
tableName: state.data.tableName || ''
tableName: state.data.tableName || '',
tableListMap: state.data.tableListMap || {}
}),
dispatch => ({
onShowWarning(warningMsg, warningTitle) {
Expand Down
4 changes: 4 additions & 0 deletions config/adhoc.yml.erb
Expand Up @@ -4,6 +4,10 @@ chef_local_mode: true
stub_school_data: true
db_writer: 'mysql://root@localhost/'

# needed by storage_id helper
poste_secret: not a real secret


# Engineers need to be able to see raw HTTP error pages so they can debug their feature branch on an adhoc.
custom_error_response: false

Expand Down
20 changes: 10 additions & 10 deletions cookbooks/Berksfile.lock
Expand Up @@ -68,7 +68,7 @@ GRAPH
cdo-analytics (0.0.0)
apt (~> 2.6.0)
ark (>= 0.0.0)
cdo-apps (0.2.365)
cdo-apps (0.2.382)
apt (>= 0.0.0)
build-essential (>= 0.0.0)
cdo-analytics (>= 0.0.0)
Expand All @@ -92,20 +92,20 @@ GRAPH
poise-service (>= 0.0.0)
sudo-user (>= 0.0.0)
cdo-authorized-keys (0.1.2)
cdo-awscli (0.1.10)
cdo-awscli (0.1.11)
apt (~> 2.6.0)
poise-python (>= 0.0.0)
sudo-user (>= 0.0.0)
cdo-cloudwatch-extra-metrics (0.1.6)
cdo-cloudwatch-extra-metrics (0.1.7)
ark (>= 0.0.0)
cdo-cloudwatch-logger (0.1.9)
cdo-cloudwatch-logger (0.1.10)
cdo-awscli (>= 0.0.0)
poise-service (>= 0.0.0)
sudo-user (>= 0.0.0)
cdo-freegeoip (0.1.2)
ark (>= 0.0.0)
poise-service (>= 0.0.0)
cdo-github-access (0.1.8)
cdo-github-access (0.1.9)
cdo-home-ubuntu (0.1.3)
cdo-i18n (0.0.0)
apt (~> 2.6.0)
Expand All @@ -114,7 +114,7 @@ GRAPH
build-essential (>= 0.0.0)
cdo-jemalloc (0.1.2)
ark (>= 0.0.0)
cdo-mysql (0.1.13)
cdo-mysql (0.1.18)
apt (~> 2.6.0)
cdo-newrelic (0.1.18)
apt (>= 0.0.0)
Expand All @@ -133,12 +133,12 @@ GRAPH
cdo-ruby (0.2.13)
apt (~> 2.6.0)
sudo-user (>= 0.0.0)
cdo-secrets (0.1.7)
cdo-secrets (0.1.8)
cdo-tippecanoe (0.1.2)
ark (>= 0.0.0)
cdo-users (0.1.25)
cdo-users (0.1.26)
apt (~> 2.6.0)
cdo-varnish (0.3.225)
cdo-varnish (0.3.243)
apt (>= 0.0.0)
chef-client (11.3.0)
cron (>= 4.2.0)
Expand Down Expand Up @@ -174,7 +174,7 @@ GRAPH
seven_zip (3.1.1)
windows (>= 0.0.0)
ssl_certificate (2.1.0)
sudo-user (0.1.1)
sudo-user (0.1.3)
ohai (>= 0.0.0)
ulimit (1.0.0)
windows (6.0.0)
2 changes: 1 addition & 1 deletion cookbooks/cdo-apps/metadata.rb
Expand Up @@ -4,7 +4,7 @@
license 'All rights reserved'
description 'Installs/Configures cdo-apps'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.2.365'
version '0.2.382'

depends 'apt'
depends 'build-essential'
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/cdo-awscli/metadata.rb
Expand Up @@ -4,7 +4,7 @@
license 'All rights reserved'
description 'Installs/Configures AWS command line interface'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.10'
version '0.1.11'

depends 'apt', '~> 2.6.0'
depends 'poise-python'
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/cdo-cloudwatch-extra-metrics/metadata.rb
Expand Up @@ -4,6 +4,6 @@
license 'All rights reserved'
description 'Installs/Configures cdo-cloudwatch-extra-metrics'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.6'
version '0.1.7'

depends 'ark'
2 changes: 1 addition & 1 deletion cookbooks/cdo-cloudwatch-logger/metadata.rb
Expand Up @@ -4,7 +4,7 @@
license 'All rights reserved'
description 'Installs/Configures cdo-cloudwatch-logger'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.9'
version '0.1.10'

depends 'poise-service'
depends 'cdo-awscli'
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/cdo-github-access/metadata.rb
Expand Up @@ -4,4 +4,4 @@
license 'All rights reserved'
description 'Installs/Configures cdo-github-access'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.8'
version '0.1.9'
2 changes: 1 addition & 1 deletion cookbooks/cdo-mysql/metadata.rb
Expand Up @@ -4,6 +4,6 @@
license 'All rights reserved'
description 'Installs/Configures cdo-mysql'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.13'
version '0.1.18'

depends 'apt', '~> 2.6.0'
2 changes: 1 addition & 1 deletion cookbooks/cdo-secrets/metadata.rb
Expand Up @@ -4,4 +4,4 @@
license 'All rights reserved'
description 'Installs/Configures cdo-secrets'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.7'
version '0.1.8'
2 changes: 1 addition & 1 deletion cookbooks/cdo-users/metadata.rb
Expand Up @@ -4,6 +4,6 @@
license 'All rights reserved'
description 'Creates users for the accounts defined in Chef'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.25'
version '0.1.26'

depends 'apt', '~> 2.6.0'
2 changes: 1 addition & 1 deletion cookbooks/cdo-users/templates/default/ssh_config.erb
@@ -1,4 +1,4 @@
Host *.ec2.internal *.cdn-code.org
Host staging test levelbuilder-* production-daemon production-console adhoc-* *.ec2.internal *.cdn-code.org
User ubuntu
StrictHostKeyChecking no
PreferredAuthentications publickey
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/cdo-varnish/metadata.rb
Expand Up @@ -4,6 +4,6 @@
license 'All rights reserved'
description 'Installs/Configures cdo-varnish'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.3.225'
version '0.3.243'

depends 'apt'
2 changes: 1 addition & 1 deletion cookbooks/sudo-user/metadata.rb
@@ -1,3 +1,3 @@
name 'sudo-user'
version '0.1.1'
version '0.1.3'
depends 'ohai'
2 changes: 1 addition & 1 deletion dashboard/app/models/regional_partner.rb
Expand Up @@ -195,7 +195,7 @@ def self.find_by_zip(zip_code)
# Geocoder can raise a number of errors including SocketError, with a common base of StandardError
# See https://github.com/alexreisner/geocoder#error-handling
Retryable.retryable(on: StandardError) do
state = Geocoder.search({zip: zip_code})&.first&.state_code
state = Geocoder.search(zip_code)&.first&.state_code
end
end
rescue StandardError => e
Expand Down
17 changes: 0 additions & 17 deletions dashboard/config/blocks/aalab/aalab_addBehaviorForDuration.js

This file was deleted.

11 changes: 0 additions & 11 deletions dashboard/config/blocks/aalab/aalab_addBehaviorSimpleFlexible.js

This file was deleted.

18 changes: 0 additions & 18 deletions dashboard/config/blocks/aalab/aalab_addBehaviorSimpleFlexible.json

This file was deleted.

3 changes: 0 additions & 3 deletions dashboard/config/blocks/aalab/aalab_addToSpriteGroup.js

This file was deleted.

17 changes: 0 additions & 17 deletions dashboard/config/blocks/aalab/aalab_addToSpriteGroup.json

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions dashboard/config/blocks/aalab/aalab_allSpritesWithAnimation.json

This file was deleted.

28 changes: 0 additions & 28 deletions dashboard/config/blocks/aalab/aalab_changePropByFlexible.js

This file was deleted.

0 comments on commit 2930e39

Please sign in to comment.