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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lanes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Stitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|
@@ -16,28 +16,112 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activerecord
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '5.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '5.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: actioncable
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sinatra
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.0.0.beta2
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.0.0.beta2
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rack
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rack-protection
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.0.0.beta2
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.0.0.beta2
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rack-cors
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.4'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.4'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rack-test
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.6'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.6'
|
41
125
|
- !ruby/object:Gem::Dependency
|
42
126
|
name: bcrypt
|
43
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,19 +137,33 @@ dependencies:
|
|
53
137
|
- !ruby/object:Gem::Version
|
54
138
|
version: '3.1'
|
55
139
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
140
|
+
name: shrine
|
57
141
|
requirement: !ruby/object:Gem::Requirement
|
58
142
|
requirements:
|
59
143
|
- - "~>"
|
60
144
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
145
|
+
version: '2.4'
|
62
146
|
type: :runtime
|
63
147
|
prerelease: false
|
64
148
|
version_requirements: !ruby/object:Gem::Requirement
|
65
149
|
requirements:
|
66
150
|
- - "~>"
|
67
151
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
152
|
+
version: '2.4'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: image_processing
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.4'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.4'
|
69
167
|
- !ruby/object:Gem::Dependency
|
70
168
|
name: coffee-react
|
71
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +254,14 @@ dependencies:
|
|
156
254
|
requirements:
|
157
255
|
- - "~>"
|
158
256
|
- !ruby/object:Gem::Version
|
159
|
-
version: '2.
|
257
|
+
version: '2.1'
|
160
258
|
type: :runtime
|
161
259
|
prerelease: false
|
162
260
|
version_requirements: !ruby/object:Gem::Requirement
|
163
261
|
requirements:
|
164
262
|
- - "~>"
|
165
263
|
- !ruby/object:Gem::Version
|
166
|
-
version: '2.
|
264
|
+
version: '2.1'
|
167
265
|
- !ruby/object:Gem::Dependency
|
168
266
|
name: guard-minitest
|
169
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,20 +318,6 @@ dependencies:
|
|
220
318
|
- - "~>"
|
221
319
|
- !ruby/object:Gem::Version
|
222
320
|
version: '1.4'
|
223
|
-
- !ruby/object:Gem::Dependency
|
224
|
-
name: message_bus
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - '='
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: 2.0.0.beta.6
|
230
|
-
type: :runtime
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - '='
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: 2.0.0.beta.6
|
237
321
|
- !ruby/object:Gem::Dependency
|
238
322
|
name: mini_magick
|
239
323
|
requirement: !ruby/object:Gem::Requirement
|
@@ -304,48 +388,6 @@ dependencies:
|
|
304
388
|
- - "~>"
|
305
389
|
- !ruby/object:Gem::Version
|
306
390
|
version: '0.8'
|
307
|
-
- !ruby/object:Gem::Dependency
|
308
|
-
name: rack-cors
|
309
|
-
requirement: !ruby/object:Gem::Requirement
|
310
|
-
requirements:
|
311
|
-
- - "~>"
|
312
|
-
- !ruby/object:Gem::Version
|
313
|
-
version: '0.4'
|
314
|
-
type: :runtime
|
315
|
-
prerelease: false
|
316
|
-
version_requirements: !ruby/object:Gem::Requirement
|
317
|
-
requirements:
|
318
|
-
- - "~>"
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
version: '0.4'
|
321
|
-
- !ruby/object:Gem::Dependency
|
322
|
-
name: rack-protection
|
323
|
-
requirement: !ruby/object:Gem::Requirement
|
324
|
-
requirements:
|
325
|
-
- - "~>"
|
326
|
-
- !ruby/object:Gem::Version
|
327
|
-
version: '1.5'
|
328
|
-
type: :runtime
|
329
|
-
prerelease: false
|
330
|
-
version_requirements: !ruby/object:Gem::Requirement
|
331
|
-
requirements:
|
332
|
-
- - "~>"
|
333
|
-
- !ruby/object:Gem::Version
|
334
|
-
version: '1.5'
|
335
|
-
- !ruby/object:Gem::Dependency
|
336
|
-
name: rack-test
|
337
|
-
requirement: !ruby/object:Gem::Requirement
|
338
|
-
requirements:
|
339
|
-
- - "~>"
|
340
|
-
- !ruby/object:Gem::Version
|
341
|
-
version: '0.6'
|
342
|
-
type: :runtime
|
343
|
-
prerelease: false
|
344
|
-
version_requirements: !ruby/object:Gem::Requirement
|
345
|
-
requirements:
|
346
|
-
- - "~>"
|
347
|
-
- !ruby/object:Gem::Version
|
348
|
-
version: '0.6'
|
349
391
|
- !ruby/object:Gem::Dependency
|
350
392
|
name: rake
|
351
393
|
requirement: !ruby/object:Gem::Requirement
|
@@ -416,34 +458,20 @@ dependencies:
|
|
416
458
|
- - "~>"
|
417
459
|
- !ruby/object:Gem::Version
|
418
460
|
version: '3.4'
|
419
|
-
- !ruby/object:Gem::Dependency
|
420
|
-
name: sinatra
|
421
|
-
requirement: !ruby/object:Gem::Requirement
|
422
|
-
requirements:
|
423
|
-
- - "~>"
|
424
|
-
- !ruby/object:Gem::Version
|
425
|
-
version: '1.4'
|
426
|
-
type: :runtime
|
427
|
-
prerelease: false
|
428
|
-
version_requirements: !ruby/object:Gem::Requirement
|
429
|
-
requirements:
|
430
|
-
- - "~>"
|
431
|
-
- !ruby/object:Gem::Version
|
432
|
-
version: '1.4'
|
433
461
|
- !ruby/object:Gem::Dependency
|
434
462
|
name: sprockets
|
435
463
|
requirement: !ruby/object:Gem::Requirement
|
436
464
|
requirements:
|
437
|
-
- -
|
465
|
+
- - '='
|
438
466
|
- !ruby/object:Gem::Version
|
439
|
-
version:
|
467
|
+
version: 3.6.3
|
440
468
|
type: :runtime
|
441
469
|
prerelease: false
|
442
470
|
version_requirements: !ruby/object:Gem::Requirement
|
443
471
|
requirements:
|
444
|
-
- -
|
472
|
+
- - '='
|
445
473
|
- !ruby/object:Gem::Version
|
446
|
-
version:
|
474
|
+
version: 3.6.3
|
447
475
|
- !ruby/object:Gem::Dependency
|
448
476
|
name: sprockets-helpers
|
449
477
|
requirement: !ruby/object:Gem::Requirement
|
@@ -528,6 +556,20 @@ dependencies:
|
|
528
556
|
- - "~>"
|
529
557
|
- !ruby/object:Gem::Version
|
530
558
|
version: '1.0'
|
559
|
+
- !ruby/object:Gem::Dependency
|
560
|
+
name: shrine-memory
|
561
|
+
requirement: !ruby/object:Gem::Requirement
|
562
|
+
requirements:
|
563
|
+
- - ">="
|
564
|
+
- !ruby/object:Gem::Version
|
565
|
+
version: 0.2.2
|
566
|
+
type: :development
|
567
|
+
prerelease: false
|
568
|
+
version_requirements: !ruby/object:Gem::Requirement
|
569
|
+
requirements:
|
570
|
+
- - ">="
|
571
|
+
- !ruby/object:Gem::Version
|
572
|
+
version: 0.2.2
|
531
573
|
description: Lanes is a framework for writing single page web applications. It's
|
532
574
|
a full stack framework that contains both server and client.
|
533
575
|
email:
|
@@ -598,6 +640,7 @@ files:
|
|
598
640
|
- client/lanes/components/select-field/SelectField.cjsx
|
599
641
|
- client/lanes/components/select-field/index.js
|
600
642
|
- client/lanes/components/select-field/styles.scss
|
643
|
+
- client/lanes/components/shared/Checkbox.cjsx
|
601
644
|
- client/lanes/components/shared/CountBadge.cjsx
|
602
645
|
- client/lanes/components/shared/DateTime.cjsx
|
603
646
|
- client/lanes/components/shared/DisplayValue.cjsx
|
@@ -609,7 +652,9 @@ files:
|
|
609
652
|
- client/lanes/components/shared/GenericField.cjsx
|
610
653
|
- client/lanes/components/shared/Helpers.coffee
|
611
654
|
- client/lanes/components/shared/Icon.cjsx
|
655
|
+
- client/lanes/components/shared/IconButton.cjsx
|
612
656
|
- client/lanes/components/shared/ImageAsset.cjsx
|
657
|
+
- client/lanes/components/shared/IndeterminateCheckbox.cjsx
|
613
658
|
- client/lanes/components/shared/Input.cjsx
|
614
659
|
- client/lanes/components/shared/InputFieldMixin.cjsx
|
615
660
|
- client/lanes/components/shared/JobProgress.cjsx
|
@@ -651,7 +696,6 @@ files:
|
|
651
696
|
- client/lanes/lib/ResizeSensor.js
|
652
697
|
- client/lanes/lib/all.js
|
653
698
|
- client/lanes/lib/development.coffee
|
654
|
-
- client/lanes/lib/dom-polyfills.coffee
|
655
699
|
- client/lanes/lib/dom.coffee
|
656
700
|
- client/lanes/lib/el.coffee
|
657
701
|
- client/lanes/lib/format.coffee
|
@@ -659,6 +703,7 @@ files:
|
|
659
703
|
- client/lanes/lib/loader.coffee
|
660
704
|
- client/lanes/lib/namespace.coffee
|
661
705
|
- client/lanes/lib/objToParam.coffee
|
706
|
+
- client/lanes/lib/polyfills.coffee
|
662
707
|
- client/lanes/lib/production.coffee
|
663
708
|
- client/lanes/lib/promise_helpers.coffee
|
664
709
|
- client/lanes/lib/results.coffee
|
@@ -680,6 +725,7 @@ files:
|
|
680
725
|
- client/lanes/models/User.coffee
|
681
726
|
- client/lanes/models/index.js
|
682
727
|
- client/lanes/models/mixins/HasCodeField.coffee
|
728
|
+
- client/lanes/models/mixins/TrackCollectionRemovals.coffee
|
683
729
|
- client/lanes/models/query/ArrayResult.coffee
|
684
730
|
- client/lanes/models/query/CollectionResult.coffee
|
685
731
|
- client/lanes/models/query/Result.coffee
|
@@ -822,6 +868,7 @@ files:
|
|
822
868
|
- client/lanes/testing/TestObjects.coffee
|
823
869
|
- client/lanes/testing/index.js
|
824
870
|
- client/lanes/testing/jasmine-react.js
|
871
|
+
- client/lanes/vendor/action_cable.js
|
825
872
|
- client/lanes/vendor/base.js.erb
|
826
873
|
- client/lanes/vendor/calendar.js.erb
|
827
874
|
- client/lanes/vendor/commons.js.erb
|
@@ -833,8 +880,6 @@ files:
|
|
833
880
|
- client/lanes/vendor/development/ui.js
|
834
881
|
- client/lanes/vendor/development/widgets.js
|
835
882
|
- client/lanes/vendor/index.js
|
836
|
-
- client/lanes/vendor/message-bus-ajax.js
|
837
|
-
- client/lanes/vendor/message-bus.js
|
838
883
|
- client/lanes/vendor/production/calendar.js
|
839
884
|
- client/lanes/vendor/production/commons.js
|
840
885
|
- client/lanes/vendor/production/data.js
|
@@ -898,6 +943,7 @@ files:
|
|
898
943
|
- lib/lanes/access/user.rb
|
899
944
|
- lib/lanes/access/version.rb
|
900
945
|
- lib/lanes/api.rb
|
946
|
+
- lib/lanes/api/cable.rb
|
901
947
|
- lib/lanes/api/coffeescript_processor.rb
|
902
948
|
- lib/lanes/api/controller_base.rb
|
903
949
|
- lib/lanes/api/default_routes.rb
|
@@ -999,6 +1045,7 @@ files:
|
|
999
1045
|
- npm-build/standalone.js
|
1000
1046
|
- npm-build/ui.js
|
1001
1047
|
- npm-build/update-dayz
|
1048
|
+
- npm-build/update-model-bindings.js
|
1002
1049
|
- npm-build/webpack-standalone.config.js
|
1003
1050
|
- npm-build/webpack.config.js
|
1004
1051
|
- spec/command-reference-files/component/client/appy-app/components/Big.cjsx
|
@@ -1061,6 +1108,7 @@ files:
|
|
1061
1108
|
- spec/lanes/models/CollectionSpec.coffee
|
1062
1109
|
- spec/lanes/models/EnumMapSpec.coffee
|
1063
1110
|
- spec/lanes/models/PubSubSpec.coffee
|
1111
|
+
- spec/lanes/models/QuerySpec.coffee
|
1064
1112
|
- spec/lanes/models/SyncSpec.coffee
|
1065
1113
|
- spec/lanes/models/UserSpec.coffee
|
1066
1114
|
- spec/lanes/react/mixins/DataSpec.coffee
|
@@ -1068,6 +1116,8 @@ files:
|
|
1068
1116
|
- spec/lanes/views/BaseSpec.coffee
|
1069
1117
|
- spec/lanes/views/FormBindingsSpec.coffee
|
1070
1118
|
- spec/server/api/coffeescript_processor_spec.rb
|
1119
|
+
- spec/server/api/controller_base_spec.rb
|
1120
|
+
- spec/server/api/pub_sub_spec.rb
|
1071
1121
|
- spec/server/asset_spec.rb
|
1072
1122
|
- spec/server/command_spec.rb
|
1073
1123
|
- spec/server/concerns/api_path_spec.rb
|
@@ -1166,4 +1216,3 @@ signing_key:
|
|
1166
1216
|
specification_version: 4
|
1167
1217
|
summary: Lanes is a framework for easily writing single page web applications
|
1168
1218
|
test_files: []
|
1169
|
-
has_rdoc:
|
@@ -1,44 +0,0 @@
|
|
1
|
-
// A bare-bones implementation of $.ajax that MessageBus will use
|
2
|
-
// as a fallback if jQuery is not present
|
3
|
-
//
|
4
|
-
// Only implements methods & options used by MessageBus
|
5
|
-
(function(global, undefined) {
|
6
|
-
'use strict';
|
7
|
-
if (!global.MessageBus){
|
8
|
-
throw new Error("MessageBus must be loaded before the ajax adapter");
|
9
|
-
}
|
10
|
-
|
11
|
-
var cacheBuster = Math.random() * 10000 | 0;
|
12
|
-
|
13
|
-
global.MessageBus.ajax = function(options){
|
14
|
-
var XHRImpl = (global.MessageBus && global.MessageBus.xhrImplementation) || global.XMLHttpRequest;
|
15
|
-
var xhr = new XHRImpl();
|
16
|
-
xhr.dataType = options.dataType;
|
17
|
-
var url = options.url;
|
18
|
-
if (!options.cache){
|
19
|
-
url += ((-1 == url.indexOf('?')) ? '?' : '&') + '_=' + (cacheBuster++)
|
20
|
-
}
|
21
|
-
xhr.open('POST', url);
|
22
|
-
for (var name in options.headers){
|
23
|
-
xhr.setRequestHeader(name, options.headers[name]);
|
24
|
-
}
|
25
|
-
xhr.setRequestHeader('Content-Type', 'application/json');
|
26
|
-
if (options.messageBus.chunked){
|
27
|
-
options.messageBus.onProgressListener(xhr);
|
28
|
-
}
|
29
|
-
xhr.onreadystatechange = function(){
|
30
|
-
if (xhr.readyState === 4){
|
31
|
-
var status = xhr.status;
|
32
|
-
if (status >= 200 && status < 300 || status === 304){
|
33
|
-
options.success(xhr.responseText);
|
34
|
-
} else {
|
35
|
-
options.error(xhr, xhr.statusText);
|
36
|
-
}
|
37
|
-
options.complete();
|
38
|
-
}
|
39
|
-
}
|
40
|
-
xhr.send(JSON.stringify(options.data));
|
41
|
-
return xhr;
|
42
|
-
};
|
43
|
-
|
44
|
-
})(window);
|