This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ hello | |
- | |
- | |
(1 empty line) |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):041:0> e.publish | |
D, [2017-10-10T21:19:36.924658 #12604] DEBUG -- : EntryMetadata Load (0.7ms) SELECT `entry_metadatas`.* FROM `entry_metadatas` WHERE `entry_metadatas`.`entry_id` = 16127555 LIMIT 1 | |
D, [2017-10-10T21:19:36.927315 #12604] DEBUG -- : (0.4ms) BEGIN | |
W, [2017-10-10T21:19:36.927601 #12604] WARN -- : save_entry_changes begin 1 transaction_stack: RealTransaction:nil:nil | |
D, [2017-10-10T21:19:36.933759 #12604] DEBUG -- : (0.9ms) SELECT COUNT(*) FROM `entries` INNER JOIN `stack_memberships` ON `entries`.`id` = `stack_memberships`.`card_id` WHERE `entries`.`type` IN ('Card', 'MapCard', 'ExplainerCard') AND `stack_memberships`.`stack_id` = 16127555 AND `entries`.`type` IN ('Card', 'MapCard', 'ExplainerCard') AND `entries`.`type` = 'MapCard' | |
D, [2017-10-10T21:19:36.950121 #12604] DEBUG -- : Status Load (0.4ms) SELECT `statuses`.* FROM `statuses` WHERE `statuses`.`id` = 1 LIMIT 1 | |
D, [2017-10-10T21:19:36.954371 #12604] DEBUG -- : User Load (0.6ms) SELECT `users`.* FROM `users` WH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fragment StoryData { | |
title: String | |
image: Image | |
body: RichText | |
... | |
} | |
enum StoryStatus { | |
DRAFT | |
PENDING_APPROVAL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function parse(query) { | |
var curTerm = null | |
var curPhrase = null | |
var curKey = null | |
var result = [] | |
for (var char of query) { | |
switch (char) { | |
case '"': | |
if (curPhrase != null) { | |
if (curKey) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Gemfile.lock b/Gemfile.lock | |
index 7ffd2aa..7672539 100644 | |
--- a/Gemfile.lock | |
+++ b/Gemfile.lock | |
@@ -5,12 +5,16 @@ GEM | |
daemons (1.2.4) | |
eventmachine (1.2.3) | |
kgio (2.11.0) | |
- libv8 (5.7.492.65.1-x86_64-darwin-16) | |
+ libv8 (3.16.14.19) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Gemfile b/Gemfile | |
index 71fe72e..20ea0ff 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -7,3 +7,4 @@ gem "unicorn" | |
gem "thin" | |
gem "puma" | |
gem "concurrent-ruby" | |
+gem "libv8" | |
diff --git a/Gemfile.lock b/Gemfile.lock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/components/user-status.html b/client/components/user-status.html | |
index 75c1c7722..eb37eefca 100644 | |
--- a/client/components/user-status.html | |
+++ b/client/components/user-status.html | |
@@ -29,6 +29,35 @@ component.exports = { | |
newCompose: function() { | |
return this.get('entitlements').includes('use_new_compose'); | |
}, | |
+ numVisible: function() { | |
+ var numVisible = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/actions/groups.js b/client/actions/groups.js | |
index bc8e4f61d..175ce42bc 100644 | |
--- a/client/actions/groups.js | |
+++ b/client/actions/groups.js | |
@@ -36,11 +36,11 @@ export function getAllParents(group, groups) { | |
return [group]; | |
} | |
-function childrenOf(group, groups) { | |
- var children = sortBy(compact(group.child_entry_group_ids.map((id) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/app.js b/client/app.js | |
index 5086ac0d3..758272d2b 100644 | |
--- a/client/app.js | |
+++ b/client/app.js | |
@@ -1,4 +1,5 @@ | |
var Emitter = require('eventemitter2').EventEmitter2; | |
+var sentryActions = require('./actions/sentry'); | |
var App = window.App = function(opts) { | |
Emitter.call(this); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/schema/mapstack-v1.json b/config/schema/mapstack-v1.json | |
index de9e97ff0..4a0d19777 100644 | |
--- a/config/schema/mapstack-v1.json | |
+++ b/config/schema/mapstack-v1.json | |
@@ -2,8 +2,10 @@ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"id": "https://chorus.voxmedia.com/schema/mapstack-v1.json", | |
"type": "object", | |
+ "additionalProperties": { | |
+ "$ref": "story-v2.json#" |