lanes 0.5.6 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +6 -2
- data/client/lanes/Config.coffee +6 -5
- data/client/lanes/access/LoginDialog.cjsx +4 -2
- data/client/lanes/access/Roles.coffee +3 -0
- data/client/lanes/access/screens/user-management/Editor.cjsx +1 -1
- data/client/lanes/components/grid/Body.cjsx +4 -3
- data/client/lanes/components/grid/Grid.cjsx +4 -3
- data/client/lanes/components/grid/Header.cjsx +1 -1
- data/client/lanes/components/grid/PopOverMixin.cjsx +6 -6
- data/client/lanes/components/grid/Selections.cjsx +16 -6
- data/client/lanes/components/grid/Toolbar.cjsx +1 -1
- data/client/lanes/components/grid/styles.scss +21 -5
- data/client/lanes/components/modal/Modal.cjsx +18 -9
- data/client/lanes/components/record-finder/Clause.cjsx +1 -2
- data/client/lanes/components/record-finder/Dialog.cjsx +11 -3
- data/client/lanes/components/record-finder/RecordFinder.cjsx +14 -7
- data/client/lanes/components/record-finder/styles.scss +1 -0
- data/client/lanes/components/select-field/SelectField.cjsx +36 -10
- data/client/lanes/components/select-field/styles.scss +7 -0
- data/client/lanes/components/shared/Checkbox.cjsx +34 -0
- data/client/lanes/components/shared/DateTime.cjsx +3 -2
- data/client/lanes/components/shared/ErrorDisplay.cjsx +1 -1
- data/client/lanes/components/shared/FieldMixin.cjsx +26 -15
- data/client/lanes/components/shared/FieldSet.cjsx +1 -1
- data/client/lanes/components/shared/FieldWrapper.cjsx +2 -2
- data/client/lanes/components/shared/FormGroup.cjsx +2 -2
- data/client/lanes/components/shared/Icon.cjsx +31 -4
- data/client/lanes/components/shared/IconButton.cjsx +8 -0
- data/client/lanes/components/shared/ImageAsset.cjsx +8 -5
- data/client/lanes/components/shared/IndeterminateCheckbox.cjsx +19 -0
- data/client/lanes/components/shared/InputFieldMixin.cjsx +6 -0
- data/client/lanes/components/shared/JobProgress.cjsx +4 -3
- data/client/lanes/components/shared/NetworkActivityOverlay.cjsx +1 -1
- data/client/lanes/components/shared/ScreenWrapper.cjsx +1 -1
- data/client/lanes/components/shared/ToggleField.cjsx +2 -1
- data/client/lanes/components/shared/Tooltip.cjsx +10 -2
- data/client/lanes/components/shared/fields.scss +7 -2
- data/client/lanes/components/toolbar/RemoteChangeSets.cjsx +10 -7
- data/client/lanes/components/toolbar/SaveButton.cjsx +5 -4
- data/client/lanes/components/toolbar/Toolbar.cjsx +18 -19
- data/client/lanes/components/toolbar/changes-notification.scss +3 -1
- data/client/lanes/components/toolbar/styles.scss +6 -3
- data/client/lanes/lib/HotReload.coffee +1 -1
- data/client/lanes/lib/all.js +1 -1
- data/client/lanes/lib/dom.coffee +14 -1
- data/client/lanes/lib/format.coffee +3 -0
- data/client/lanes/lib/loader.coffee +0 -2
- data/client/lanes/lib/{dom-polyfills.coffee → polyfills.coffee} +3 -0
- data/client/lanes/lib/utilFunctions.coffee +5 -7
- data/client/lanes/models/Asset.coffee +33 -20
- data/client/lanes/models/AssociationMap.coffee +5 -6
- data/client/lanes/models/Base.coffee +5 -2
- data/client/lanes/models/Collection.coffee +23 -2
- data/client/lanes/models/PubSub.coffee +51 -13
- data/client/lanes/models/Query.coffee +53 -42
- data/client/lanes/models/State.coffee +5 -4
- data/client/lanes/models/Sync.coffee +5 -3
- data/client/lanes/models/index.js +1 -1
- data/client/lanes/models/mixins/TrackCollectionRemovals.coffee +17 -0
- data/client/lanes/models/query/ArrayResult.coffee +16 -17
- data/client/lanes/models/query/CollectionResult.coffee +4 -4
- data/client/lanes/react/Component.coffee +14 -13
- data/client/lanes/react/Root.cjsx +1 -1
- data/client/lanes/react/Screen.coffee +1 -0
- data/client/lanes/react/Viewport.coffee +52 -16
- data/client/lanes/react/mixins/Access.coffee +5 -0
- data/client/lanes/react/mixins/Data.coffee +52 -144
- data/client/lanes/react/mixins/MonitorSize.coffee +1 -1
- data/client/lanes/react/mixins/ReadEditingState.coffee +3 -0
- data/client/lanes/screens/Commands.coffee +1 -1
- data/client/lanes/screens/CommonComponents.cjsx +2 -2
- data/client/lanes/screens/Definitions.coffee +3 -1
- data/client/lanes/screens/SystemSettings.cjsx +13 -18
- data/client/lanes/screens/UserPreferences.cjsx +1 -1
- data/client/lanes/styles/fonts.scss +2 -3
- data/client/lanes/styles/global/styles.scss +2 -1
- data/client/lanes/testing/TestObjects.coffee +6 -2
- data/client/lanes/vendor/action_cable.js +590 -0
- data/client/lanes/vendor/development/calendar.js +56 -56
- data/client/lanes/vendor/development/commons.js +7819 -6690
- data/client/lanes/vendor/development/data.js +1877 -1455
- data/client/lanes/vendor/development/helpers.js +39 -82
- data/client/lanes/vendor/development/toggle.js +20 -20
- data/client/lanes/vendor/development/ui.js +14629 -14261
- data/client/lanes/vendor/development/widgets.js +3146 -2173
- data/client/lanes/vendor/index.js +1 -2
- data/client/lanes/vendor/production/calendar.js +56 -56
- data/client/lanes/vendor/production/commons.js +6352 -6185
- data/client/lanes/vendor/production/data.js +1871 -1456
- data/client/lanes/vendor/production/toggle.js +20 -20
- data/client/lanes/vendor/production/ui.js +14694 -14286
- data/client/lanes/vendor/production/widgets.js +3139 -2166
- data/client/lanes/vendor/standalone/index.js +5666 -4586
- data/client/lanes/vendor/styles/widgets.scss +5 -5
- data/client/lanes/workspace/Layout.cjsx +1 -10
- data/client/lanes/workspace/Navbar.cjsx +8 -13
- data/client/lanes/workspace/ScreenView.cjsx +3 -4
- data/client/lanes/workspace/ScreensMenu.cjsx +8 -19
- data/client/lanes/workspace/Tabs.cjsx +6 -14
- data/db/migrate/02_create_assets.rb +1 -3
- data/lanes.gemspec +16 -11
- data/lib/lanes/access/test_fixture_extensions.rb +6 -10
- data/lib/lanes/access/track_modifications.rb +24 -0
- data/lib/lanes/api/cable.rb +49 -0
- data/lib/lanes/api/controller_base.rb +52 -9
- data/lib/lanes/api/default_routes.rb +9 -0
- data/lib/lanes/api/generic_controller.rb +2 -9
- data/lib/lanes/api/handlers/asset.rb +5 -6
- data/lib/lanes/api/helper_methods.rb +3 -2
- data/lib/lanes/api/javascript_processor.rb +6 -5
- data/lib/lanes/api/pub_sub.rb +14 -32
- data/lib/lanes/api/request_wrapper.rb +1 -1
- data/lib/lanes/api/root.rb +4 -7
- data/lib/lanes/api/routing.rb +3 -3
- data/lib/lanes/api/sprockets_extension.rb +1 -1
- data/lib/lanes/api.rb +4 -0
- data/lib/lanes/asset.rb +25 -25
- data/lib/lanes/concerns/asset_uploader.rb +25 -47
- data/lib/lanes/concerns/export_scope.rb +5 -7
- data/lib/lanes/concerns/queries.rb +7 -3
- data/lib/lanes/concerns/set_attribute_data.rb +12 -6
- data/lib/lanes/configuration.rb +4 -7
- data/lib/lanes/db.rb +3 -1
- data/lib/lanes/guard_tasks.rb +2 -1
- data/lib/lanes/hot_reload_plugin.rb +2 -1
- data/lib/lanes/job.rb +0 -1
- data/lib/lanes/logger.rb +3 -3
- data/lib/lanes/model.rb +0 -3
- data/lib/lanes/spec_helper.rb +1 -1
- data/lib/lanes/system_settings.rb +8 -14
- data/lib/lanes/version.rb +1 -1
- data/npm-build/data.js +1 -0
- data/npm-build/package.json +21 -19
- data/npm-build/ui.js +3 -0
- data/npm-build/update-dayz +2 -2
- data/npm-build/update-model-bindings.js +5 -0
- data/spec/command-reference-files/initial/Gemfile +1 -1
- data/spec/command-reference-files/initial/config/database.yml +1 -0
- data/spec/command-reference-files/initial/config/lanes.rb +3 -3
- data/spec/command-reference-files/screen/spec/appy-app/screens/ready-set-go/ReadySetGoSpec.coffee +1 -1
- data/spec/lanes/components/grid/GridSpec.coffee +2 -2
- data/spec/lanes/components/grid/PopoverEditorSpec.coffee +11 -12
- data/spec/lanes/components/select-field/SelectFieldSpec.coffee +6 -4
- data/spec/lanes/components/shared/NetworkActivityOverlaySpec.coffee +1 -1
- data/spec/lanes/models/PubSubSpec.coffee +6 -8
- data/spec/lanes/models/QuerySpec.coffee +19 -0
- data/spec/lanes/react/mixins/DataSpec.coffee +18 -16
- data/spec/server/api/coffeescript_processor_spec.rb +1 -1
- data/spec/server/api/controller_base_spec.rb +77 -0
- data/spec/server/api/pub_sub_spec.rb +9 -0
- data/spec/server/asset_spec.rb +23 -18
- data/spec/server/concerns/export_scope_spec.rb +2 -1
- data/spec/server/concerns/exported_limits_spec.rb +14 -9
- data/spec/server/concerns/set_attribute_data_spec.rb +17 -0
- data/spec/server/spec_helper.rb +29 -11
- data/templates/config/database.yml +1 -0
- data/templates/spec/client/Screen.coffee +1 -1
- data/views/specs.erb +4 -1
- metadata +138 -89
- data/client/lanes/vendor/message-bus-ajax.js +0 -44
- data/client/lanes/vendor/message-bus.js +0 -414
@@ -6,14 +6,14 @@ webpackJsonp([2],{
|
|
6
6
|
/* WEBPACK VAR INJECTION */(function(global) {var Lanes = ( global.Lanes || (global.Lanes = {}) );
|
7
7
|
Lanes.Vendor = ( Lanes.Vendor || {} );
|
8
8
|
|
9
|
-
Lanes.Vendor.ReactToggle = __webpack_require__(
|
10
|
-
__webpack_require__(
|
9
|
+
Lanes.Vendor.ReactToggle = __webpack_require__(683)
|
10
|
+
__webpack_require__(689);
|
11
11
|
|
12
12
|
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
|
13
13
|
|
14
14
|
/***/ },
|
15
15
|
|
16
|
-
/***/
|
16
|
+
/***/ 683:
|
17
17
|
/***/ function(module, exports, __webpack_require__) {
|
18
18
|
|
19
19
|
"use strict";
|
@@ -24,13 +24,13 @@ webpackJsonp([2],{
|
|
24
24
|
|
25
25
|
var React = _interopRequire(__webpack_require__(11));
|
26
26
|
|
27
|
-
var classNames = _interopRequire(__webpack_require__(
|
27
|
+
var classNames = _interopRequire(__webpack_require__(682));
|
28
28
|
|
29
|
-
var Check = _interopRequire(__webpack_require__(
|
29
|
+
var Check = _interopRequire(__webpack_require__(684));
|
30
30
|
|
31
|
-
var X = _interopRequire(__webpack_require__(
|
31
|
+
var X = _interopRequire(__webpack_require__(685));
|
32
32
|
|
33
|
-
var PureRenderMixin = _interopRequire(__webpack_require__(
|
33
|
+
var PureRenderMixin = _interopRequire(__webpack_require__(686));
|
34
34
|
|
35
35
|
module.exports = React.createClass({
|
36
36
|
mixins: [PureRenderMixin],
|
@@ -128,7 +128,7 @@ webpackJsonp([2],{
|
|
128
128
|
|
129
129
|
/***/ },
|
130
130
|
|
131
|
-
/***/
|
131
|
+
/***/ 684:
|
132
132
|
/***/ function(module, exports, __webpack_require__) {
|
133
133
|
|
134
134
|
"use strict";
|
@@ -143,13 +143,13 @@ webpackJsonp([2],{
|
|
143
143
|
render: function render() {
|
144
144
|
return React.createElement(
|
145
145
|
"svg",
|
146
|
-
{ width: "14", height: "11", viewBox: "0 0 14 11"
|
146
|
+
{ width: "14", height: "11", viewBox: "0 0 14 11" },
|
147
147
|
React.createElement(
|
148
148
|
"title",
|
149
149
|
null,
|
150
150
|
"switch-check"
|
151
151
|
),
|
152
|
-
React.createElement("path", { d: "M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0", fill: "#fff",
|
152
|
+
React.createElement("path", { d: "M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0", fill: "#fff", fillRule: "evenodd" })
|
153
153
|
);
|
154
154
|
}
|
155
155
|
});
|
@@ -157,7 +157,7 @@ webpackJsonp([2],{
|
|
157
157
|
|
158
158
|
/***/ },
|
159
159
|
|
160
|
-
/***/
|
160
|
+
/***/ 685:
|
161
161
|
/***/ function(module, exports, __webpack_require__) {
|
162
162
|
|
163
163
|
"use strict";
|
@@ -172,13 +172,13 @@ webpackJsonp([2],{
|
|
172
172
|
render: function render() {
|
173
173
|
return React.createElement(
|
174
174
|
"svg",
|
175
|
-
{ width: "10", height: "10", viewBox: "0 0 10 10"
|
175
|
+
{ width: "10", height: "10", viewBox: "0 0 10 10" },
|
176
176
|
React.createElement(
|
177
177
|
"title",
|
178
178
|
null,
|
179
179
|
"switch-x"
|
180
180
|
),
|
181
|
-
React.createElement("path", { d: "M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12", fill: "#fff",
|
181
|
+
React.createElement("path", { d: "M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12", fill: "#fff", fillRule: "evenodd" })
|
182
182
|
);
|
183
183
|
}
|
184
184
|
});
|
@@ -186,14 +186,14 @@ webpackJsonp([2],{
|
|
186
186
|
|
187
187
|
/***/ },
|
188
188
|
|
189
|
-
/***/
|
189
|
+
/***/ 686:
|
190
190
|
/***/ function(module, exports, __webpack_require__) {
|
191
191
|
|
192
|
-
module.exports = __webpack_require__(
|
192
|
+
module.exports = __webpack_require__(687);
|
193
193
|
|
194
194
|
/***/ },
|
195
195
|
|
196
|
-
/***/
|
196
|
+
/***/ 687:
|
197
197
|
/***/ function(module, exports, __webpack_require__) {
|
198
198
|
|
199
199
|
/**
|
@@ -209,7 +209,7 @@ webpackJsonp([2],{
|
|
209
209
|
|
210
210
|
'use strict';
|
211
211
|
|
212
|
-
var shallowCompare = __webpack_require__(
|
212
|
+
var shallowCompare = __webpack_require__(688);
|
213
213
|
|
214
214
|
/**
|
215
215
|
* If your React component's render function is "pure", e.g. it will render the
|
@@ -247,7 +247,7 @@ webpackJsonp([2],{
|
|
247
247
|
|
248
248
|
/***/ },
|
249
249
|
|
250
|
-
/***/
|
250
|
+
/***/ 688:
|
251
251
|
/***/ function(module, exports, __webpack_require__) {
|
252
252
|
|
253
253
|
/**
|
@@ -263,7 +263,7 @@ webpackJsonp([2],{
|
|
263
263
|
|
264
264
|
'use strict';
|
265
265
|
|
266
|
-
var shallowEqual = __webpack_require__(
|
266
|
+
var shallowEqual = __webpack_require__(359);
|
267
267
|
|
268
268
|
/**
|
269
269
|
* Does a shallow comparison for props and state.
|
@@ -278,7 +278,7 @@ webpackJsonp([2],{
|
|
278
278
|
|
279
279
|
/***/ },
|
280
280
|
|
281
|
-
/***/
|
281
|
+
/***/ 689:
|
282
282
|
/***/ function(module, exports) {
|
283
283
|
|
284
284
|
// removed by extract-text-webpack-plugin
|