marty 2.4.7 → 2.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Dockerfile.dummy +8 -5
- data/Gemfile.lock +1 -1
- data/README.md +8 -0
- data/app/assets/javascripts/marty/application.js +1 -0
- data/app/assets/javascripts/marty/codemirror/codemirror.js +9730 -0
- data/app/{components/marty/script_form/client → assets/javascripts/marty/codemirror}/mode/delorean/delorean.js +0 -0
- data/app/assets/javascripts/marty/codemirror/mode/javascript/javascript.js +900 -0
- data/app/assets/javascripts/marty/codemirror/mode/python/python.js +399 -0
- data/app/{components/marty/script_form/client → assets/javascripts/marty/codemirror}/mode/ruby/ruby.js +135 -34
- data/app/{components/marty/script_form/client/Ext.ux.form.field.CodeMirror.js → assets/javascripts/marty/extjs/extensions/marty.js} +87 -6
- data/app/assets/stylesheets/marty/application.css +1 -13
- data/app/assets/stylesheets/marty/codemirror/codemirror.css +346 -0
- data/app/{components/marty/script_form/client → assets/stylesheets/marty/codemirror}/delorean.css +0 -0
- data/app/components/marty/auth_app/client/auth_app.js +82 -80
- data/app/components/marty/data_grid_view.rb +1 -54
- data/app/components/marty/data_grid_view/client/data_grid_view.js +49 -0
- data/app/components/marty/form.rb +1 -5
- data/app/components/marty/form/client/form.js +5 -0
- data/app/components/marty/grid.rb +1 -146
- data/app/components/marty/grid/client/grid.js +146 -0
- data/app/components/marty/import_view.rb +1 -32
- data/app/components/marty/import_view/client/import_view.js +32 -0
- data/app/components/marty/live_search_grid_panel.rb +1 -21
- data/app/components/marty/live_search_grid_panel/client/live_search_grid_panel.js +27 -0
- data/app/components/marty/main_auth_app.rb +4 -145
- data/app/components/marty/main_auth_app/client/main_auth_app.js +124 -0
- data/app/components/marty/mcfly_grid_panel.rb +1 -17
- data/app/components/marty/mcfly_grid_panel/client/mcfly_grid_panel.js +37 -0
- data/app/components/marty/new_posting_form.rb +1 -6
- data/app/components/marty/new_posting_form/client/new_posting_form.js +6 -0
- data/app/components/marty/panel.rb +1 -5
- data/app/components/marty/panel/client/panel.js +5 -0
- data/app/components/marty/posting_grid.rb +4 -55
- data/app/components/marty/posting_grid/client/posting_grid.js +50 -0
- data/app/components/marty/promise_view.rb +2 -75
- data/app/components/marty/promise_view/client/promise_view.css +12 -9
- data/app/components/marty/promise_view/client/promise_view.js +57 -0
- data/app/components/marty/report_form.rb +3 -69
- data/app/components/marty/report_form/client/report_form.js +78 -0
- data/app/components/marty/report_select.rb +1 -45
- data/app/components/marty/report_select/client/report_select.js +50 -0
- data/app/components/marty/reporting.rb +1 -8
- data/app/components/marty/reporting/client/reporting.js +8 -0
- data/app/components/marty/script_form.rb +2 -63
- data/app/components/marty/script_form/client/script_form.js +44 -0
- data/app/components/marty/script_tester.rb +1 -7
- data/app/components/marty/script_tester/client/script_tester.js +7 -0
- data/app/components/marty/scripting.rb +1 -55
- data/app/components/marty/scripting/client/scripting.js +62 -0
- data/app/components/marty/simple_app/client/simple_app.js +21 -13
- data/app/models/marty/promise.rb +22 -1
- data/app/views/layouts/marty/application.html.erb +8 -6
- data/docker-compose.dummy.yml +2 -0
- data/lib/marty/monkey.rb +0 -16
- data/lib/marty/version.rb +1 -1
- data/spec/dummy/config/initializers/assets.rb +1 -0
- data/spec/features/reporting_spec.rb +1 -0
- data/spec/features/scripting_spec.rb +4 -4
- data/spec/spec_helper.rb +1 -0
- data/spec/support/chromedriver.rb +5 -1
- data/spec/support/shared_connection_db_helpers.rb +42 -2
- metadata +29 -168
- data/app/assets/images/marty/.gitkeep +0 -0
- data/app/components/marty/mcfly_grid_panel/client/dup_in_form.js +0 -20
- data/app/components/marty/script_form/client/codemirror.css +0 -172
- data/app/components/marty/script_form/client/codemirror.js +0 -3130
- data/app/components/marty/script_form/client/mode/clike/clike.js +0 -284
- data/app/components/marty/script_form/client/mode/clike/index.html +0 -102
- data/app/components/marty/script_form/client/mode/clike/scala.html +0 -766
- data/app/components/marty/script_form/client/mode/clojure/clojure.js +0 -206
- data/app/components/marty/script_form/client/mode/clojure/index.html +0 -67
- data/app/components/marty/script_form/client/mode/coffeescript/LICENSE +0 -22
- data/app/components/marty/script_form/client/mode/coffeescript/coffeescript.js +0 -346
- data/app/components/marty/script_form/client/mode/coffeescript/index.html +0 -728
- data/app/components/marty/script_form/client/mode/commonlisp/commonlisp.js +0 -101
- data/app/components/marty/script_form/client/mode/commonlisp/index.html +0 -165
- data/app/components/marty/script_form/client/mode/css/css.js +0 -448
- data/app/components/marty/script_form/client/mode/css/index.html +0 -58
- data/app/components/marty/script_form/client/mode/css/test.js +0 -501
- data/app/components/marty/script_form/client/mode/diff/diff.js +0 -32
- data/app/components/marty/script_form/client/mode/diff/index.html +0 -105
- data/app/components/marty/script_form/client/mode/ecl/ecl.js +0 -203
- data/app/components/marty/script_form/client/mode/ecl/index.html +0 -42
- data/app/components/marty/script_form/client/mode/erlang/erlang.js +0 -463
- data/app/components/marty/script_form/client/mode/erlang/index.html +0 -63
- data/app/components/marty/script_form/client/mode/gfm/gfm.js +0 -150
- data/app/components/marty/script_form/client/mode/gfm/index.html +0 -48
- data/app/components/marty/script_form/client/mode/go/go.js +0 -170
- data/app/components/marty/script_form/client/mode/go/index.html +0 -73
- data/app/components/marty/script_form/client/mode/groovy/groovy.js +0 -210
- data/app/components/marty/script_form/client/mode/groovy/index.html +0 -72
- data/app/components/marty/script_form/client/mode/haskell/haskell.js +0 -242
- data/app/components/marty/script_form/client/mode/haskell/index.html +0 -61
- data/app/components/marty/script_form/client/mode/haxe/haxe.js +0 -429
- data/app/components/marty/script_form/client/mode/haxe/index.html +0 -91
- data/app/components/marty/script_form/client/mode/htmlembedded/htmlembedded.js +0 -72
- data/app/components/marty/script_form/client/mode/htmlembedded/index.html +0 -50
- data/app/components/marty/script_form/client/mode/htmlmixed/htmlmixed.js +0 -84
- data/app/components/marty/script_form/client/mode/htmlmixed/index.html +0 -52
- data/app/components/marty/script_form/client/mode/javascript/index.html +0 -78
- data/app/components/marty/script_form/client/mode/javascript/javascript.js +0 -361
- data/app/components/marty/script_form/client/mode/jinja2/index.html +0 -38
- data/app/components/marty/script_form/client/mode/jinja2/jinja2.js +0 -42
- data/app/components/marty/script_form/client/mode/less/index.html +0 -740
- data/app/components/marty/script_form/client/mode/less/less.js +0 -266
- data/app/components/marty/script_form/client/mode/lua/index.html +0 -73
- data/app/components/marty/script_form/client/mode/lua/lua.js +0 -140
- data/app/components/marty/script_form/client/mode/markdown/index.html +0 -343
- data/app/components/marty/script_form/client/mode/markdown/markdown.js +0 -382
- data/app/components/marty/script_form/client/mode/markdown/test.js +0 -1084
- data/app/components/marty/script_form/client/mode/mysql/index.html +0 -42
- data/app/components/marty/script_form/client/mode/mysql/mysql.js +0 -186
- data/app/components/marty/script_form/client/mode/ntriples/index.html +0 -33
- data/app/components/marty/script_form/client/mode/ntriples/ntriples.js +0 -172
- data/app/components/marty/script_form/client/mode/ocaml/index.html +0 -130
- data/app/components/marty/script_form/client/mode/ocaml/ocaml.js +0 -114
- data/app/components/marty/script_form/client/mode/pascal/LICENSE +0 -7
- data/app/components/marty/script_form/client/mode/pascal/index.html +0 -49
- data/app/components/marty/script_form/client/mode/pascal/pascal.js +0 -94
- data/app/components/marty/script_form/client/mode/perl/LICENSE +0 -19
- data/app/components/marty/script_form/client/mode/perl/index.html +0 -63
- data/app/components/marty/script_form/client/mode/perl/perl.js +0 -816
- data/app/components/marty/script_form/client/mode/php/index.html +0 -49
- data/app/components/marty/script_form/client/mode/php/php.js +0 -148
- data/app/components/marty/script_form/client/mode/pig/index.html +0 -43
- data/app/components/marty/script_form/client/mode/pig/pig.js +0 -172
- data/app/components/marty/script_form/client/mode/plsql/index.html +0 -63
- data/app/components/marty/script_form/client/mode/plsql/plsql.js +0 -217
- data/app/components/marty/script_form/client/mode/properties/index.html +0 -41
- data/app/components/marty/script_form/client/mode/properties/properties.js +0 -63
- data/app/components/marty/script_form/client/mode/python/LICENSE.txt +0 -21
- data/app/components/marty/script_form/client/mode/python/index.html +0 -123
- data/app/components/marty/script_form/client/mode/python/python.js +0 -338
- data/app/components/marty/script_form/client/mode/r/LICENSE +0 -24
- data/app/components/marty/script_form/client/mode/r/index.html +0 -74
- data/app/components/marty/script_form/client/mode/r/r.js +0 -141
- data/app/components/marty/script_form/client/mode/rpm/changes/changes.js +0 -19
- data/app/components/marty/script_form/client/mode/rpm/changes/index.html +0 -54
- data/app/components/marty/script_form/client/mode/rpm/spec/index.html +0 -100
- data/app/components/marty/script_form/client/mode/rpm/spec/spec.css +0 -5
- data/app/components/marty/script_form/client/mode/rpm/spec/spec.js +0 -66
- data/app/components/marty/script_form/client/mode/rst/index.html +0 -526
- data/app/components/marty/script_form/client/mode/rst/rst.js +0 -326
- data/app/components/marty/script_form/client/mode/ruby/LICENSE +0 -24
- data/app/components/marty/script_form/client/mode/ruby/index.html +0 -172
- data/app/components/marty/script_form/client/mode/rust/index.html +0 -49
- data/app/components/marty/script_form/client/mode/rust/rust.js +0 -432
- data/app/components/marty/script_form/client/mode/scheme/index.html +0 -65
- data/app/components/marty/script_form/client/mode/scheme/scheme.js +0 -230
- data/app/components/marty/script_form/client/mode/shell/index.html +0 -50
- data/app/components/marty/script_form/client/mode/shell/shell.js +0 -118
- data/app/components/marty/script_form/client/mode/sieve/LICENSE +0 -23
- data/app/components/marty/script_form/client/mode/sieve/index.html +0 -81
- data/app/components/marty/script_form/client/mode/sieve/sieve.js +0 -156
- data/app/components/marty/script_form/client/mode/smalltalk/index.html +0 -56
- data/app/components/marty/script_form/client/mode/smalltalk/smalltalk.js +0 -139
- data/app/components/marty/script_form/client/mode/smarty/index.html +0 -83
- data/app/components/marty/script_form/client/mode/smarty/smarty.js +0 -148
- data/app/components/marty/script_form/client/mode/sparql/index.html +0 -41
- data/app/components/marty/script_form/client/mode/sparql/sparql.js +0 -143
- data/app/components/marty/script_form/client/mode/stex/index.html +0 -98
- data/app/components/marty/script_form/client/mode/stex/stex.js +0 -182
- data/app/components/marty/script_form/client/mode/stex/test.js +0 -343
- data/app/components/marty/script_form/client/mode/tiddlywiki/index.html +0 -141
- data/app/components/marty/script_form/client/mode/tiddlywiki/tiddlywiki.css +0 -14
- data/app/components/marty/script_form/client/mode/tiddlywiki/tiddlywiki.js +0 -384
- data/app/components/marty/script_form/client/mode/tiki/index.html +0 -83
- data/app/components/marty/script_form/client/mode/tiki/tiki.css +0 -26
- data/app/components/marty/script_form/client/mode/tiki/tiki.js +0 -309
- data/app/components/marty/script_form/client/mode/vb/LICENSE.txt +0 -21
- data/app/components/marty/script_form/client/mode/vb/index.html +0 -89
- data/app/components/marty/script_form/client/mode/vb/vb.js +0 -260
- data/app/components/marty/script_form/client/mode/vbscript/index.html +0 -43
- data/app/components/marty/script_form/client/mode/vbscript/vbscript.js +0 -26
- data/app/components/marty/script_form/client/mode/velocity/index.html +0 -104
- data/app/components/marty/script_form/client/mode/velocity/velocity.js +0 -146
- data/app/components/marty/script_form/client/mode/verilog/index.html +0 -211
- data/app/components/marty/script_form/client/mode/verilog/verilog.js +0 -194
- data/app/components/marty/script_form/client/mode/xml/index.html +0 -45
- data/app/components/marty/script_form/client/mode/xml/xml.js +0 -318
- data/app/components/marty/script_form/client/mode/xquery/LICENSE +0 -20
- data/app/components/marty/script_form/client/mode/xquery/index.html +0 -223
- data/app/components/marty/script_form/client/mode/xquery/test/index.html +0 -27
- data/app/components/marty/script_form/client/mode/xquery/test/testBase.js +0 -42
- data/app/components/marty/script_form/client/mode/xquery/test/testEmptySequenceKeyword.js +0 -16
- data/app/components/marty/script_form/client/mode/xquery/test/testMultiAttr.js +0 -16
- data/app/components/marty/script_form/client/mode/xquery/test/testNamespaces.js +0 -91
- data/app/components/marty/script_form/client/mode/xquery/test/testProcessingInstructions.js +0 -16
- data/app/components/marty/script_form/client/mode/xquery/test/testQuotes.js +0 -19
- data/app/components/marty/script_form/client/mode/xquery/xquery.js +0 -451
- data/app/components/marty/script_form/client/mode/yaml/index.html +0 -68
- data/app/components/marty/script_form/client/mode/yaml/yaml.js +0 -95
- data/app/components/marty/script_form/client/theme/ambiance.css +0 -81
- data/app/components/marty/script_form/client/theme/blackboard.css +0 -25
- data/app/components/marty/script_form/client/theme/cobalt.css +0 -18
- data/app/components/marty/script_form/client/theme/eclipse.css +0 -25
- data/app/components/marty/script_form/client/theme/elegant.css +0 -10
- data/app/components/marty/script_form/client/theme/erlang-dark.css +0 -21
- data/app/components/marty/script_form/client/theme/lesser-dark.css +0 -44
- data/app/components/marty/script_form/client/theme/monokai.css +0 -28
- data/app/components/marty/script_form/client/theme/neat.css +0 -9
- data/app/components/marty/script_form/client/theme/night.css +0 -21
- data/app/components/marty/script_form/client/theme/rubyblue.css +0 -21
- data/app/components/marty/script_form/client/theme/vibrant-ink.css +0 -27
- data/app/components/marty/script_form/client/theme/xq-dark.css +0 -46
- data/app/components/marty/script_form/client/util/closetag.js +0 -164
- data/app/components/marty/script_form/client/util/dialog.css +0 -27
- data/app/components/marty/script_form/client/util/dialog.js +0 -70
- data/app/components/marty/script_form/client/util/foldcode.js +0 -196
- data/app/components/marty/script_form/client/util/formatting.js +0 -193
- data/app/components/marty/script_form/client/util/javascript-hint.js +0 -134
- data/app/components/marty/script_form/client/util/loadmode.js +0 -51
- data/app/components/marty/script_form/client/util/match-highlighter.js +0 -44
- data/app/components/marty/script_form/client/util/multiplex.js +0 -77
- data/app/components/marty/script_form/client/util/overlay.js +0 -54
- data/app/components/marty/script_form/client/util/pig-hint.js +0 -123
- data/app/components/marty/script_form/client/util/runmode-standalone.js +0 -90
- data/app/components/marty/script_form/client/util/runmode.js +0 -53
- data/app/components/marty/script_form/client/util/search.js +0 -118
- data/app/components/marty/script_form/client/util/searchcursor.js +0 -119
- data/app/components/marty/script_form/client/util/simple-hint.css +0 -16
- data/app/components/marty/script_form/client/util/simple-hint.js +0 -97
- data/app/components/marty/script_form/client/util/xml-hint.js +0 -137
- data/lib/marty/javascript/grid_view_in_form.js +0 -81
|
@@ -1,34 +1,42 @@
|
|
|
1
1
|
{
|
|
2
|
-
initComponent: function(){
|
|
2
|
+
initComponent: function () {
|
|
3
3
|
this.callParent();
|
|
4
4
|
|
|
5
5
|
this.mainPanel = this.down('panel[itemId="main_panel"]');
|
|
6
|
-
this.menuBar
|
|
6
|
+
this.menuBar = this.down('container[itemId="menu_bar"]');
|
|
7
7
|
var statusBar = this.statusBar = this.down('container[itemId="status_bar"]');
|
|
8
8
|
|
|
9
9
|
// Setting the "busy" indicator for Ajax requests
|
|
10
|
-
Ext.Ajax.on('beforerequest',
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
Ext.Ajax.on('beforerequest', function () {
|
|
11
|
+
statusBar.showBusy();
|
|
12
|
+
});
|
|
13
|
+
Ext.Ajax.on('requestcomplete', function () {
|
|
14
|
+
statusBar.hideBusy();
|
|
15
|
+
});
|
|
16
|
+
Ext.Ajax.on('requestexception', function () {
|
|
17
|
+
statusBar.hideBusy();
|
|
18
|
+
});
|
|
13
19
|
|
|
14
20
|
this.setRouting();
|
|
15
21
|
},
|
|
16
22
|
|
|
17
|
-
setRouting: function(){
|
|
23
|
+
setRouting: function () {
|
|
18
24
|
this.router = Ext.util.History;
|
|
19
25
|
this.router.init();
|
|
20
26
|
this.router.on('change', this.loadRoute, this);
|
|
21
27
|
},
|
|
22
28
|
|
|
23
|
-
loadRoute: function(token){
|
|
24
|
-
if (token){
|
|
25
|
-
this.netzkeLoadComponent(token, {
|
|
29
|
+
loadRoute: function (token) {
|
|
30
|
+
if (token) {
|
|
31
|
+
this.netzkeLoadComponent(token, {
|
|
32
|
+
container: this.mainPanel
|
|
33
|
+
});
|
|
26
34
|
} else {
|
|
27
35
|
this.mainPanel.removeAll();
|
|
28
36
|
}
|
|
29
37
|
},
|
|
30
38
|
|
|
31
|
-
afterRender: function(){
|
|
39
|
+
afterRender: function () {
|
|
32
40
|
this.callParent();
|
|
33
41
|
var currentToken = this.router.getToken();
|
|
34
42
|
if (typeof currentToken == "string" && currentToken.length > 0) {
|
|
@@ -36,15 +44,15 @@
|
|
|
36
44
|
}
|
|
37
45
|
},
|
|
38
46
|
|
|
39
|
-
appLoadComponent: function(name) {
|
|
47
|
+
appLoadComponent: function (name) {
|
|
40
48
|
this.router.add(name);
|
|
41
49
|
},
|
|
42
50
|
|
|
43
|
-
netzkeLoadComponentByAction: function(action){
|
|
51
|
+
netzkeLoadComponentByAction: function (action) {
|
|
44
52
|
this.router.add(action.name.underscore());
|
|
45
53
|
},
|
|
46
54
|
|
|
47
|
-
onToggleConfigMode: function(params){
|
|
55
|
+
onToggleConfigMode: function (params) {
|
|
48
56
|
this.toggleConfigMode();
|
|
49
57
|
}
|
|
50
58
|
}
|
data/app/models/marty/promise.rb
CHANGED
|
@@ -150,7 +150,28 @@ class Marty::Promise < Marty::Base
|
|
|
150
150
|
if !last.start_dt
|
|
151
151
|
job = Marty::Promise.job_by_id(last.job_id)
|
|
152
152
|
|
|
153
|
-
|
|
153
|
+
# FIXME: this block is needed since a lot of specs rely on delayed job being runned in the same thread as promise
|
|
154
|
+
# Can be deleted later and replaces with simple timeout below
|
|
155
|
+
if !job || job.locked_at
|
|
156
|
+
# job has been locked, so it looks like it started already
|
|
157
|
+
# and we need to wait for it.
|
|
158
|
+
wait_for_my_notify(Marty::Promise::DEFAULT_JOB_TIMEOUT)
|
|
159
|
+
else
|
|
160
|
+
# work off the job instead of waiting for a real worker to
|
|
161
|
+
# pick it up.
|
|
162
|
+
# log "OFF0 #{Process.pid} #{last}"
|
|
163
|
+
begin
|
|
164
|
+
work_off_job(job)
|
|
165
|
+
rescue => exc
|
|
166
|
+
# log "OFFERR #{exc}"
|
|
167
|
+
res = Delorean::Engine.grok_runtime_exception(exc)
|
|
168
|
+
last.set_result(res)
|
|
169
|
+
end
|
|
170
|
+
# log "OFF1 #{Process.pid} #{last}"
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# FIXME enable after problem with specs is solved
|
|
174
|
+
# wait_for_my_notify(Marty::Promise::DEFAULT_JOB_TIMEOUT)
|
|
154
175
|
|
|
155
176
|
last = latest
|
|
156
177
|
|
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
|
|
7
7
|
crossorigin="anonymous">
|
|
8
8
|
<title><%= Rails.application.class.parent %></title>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
<%= load_netzke theme: Rails.configuration.marty.extjs_theme %>
|
|
10
|
+
<%= csrf_meta_tag %>
|
|
11
|
+
<%= javascript_include_tag 'marty/application' %>
|
|
12
|
+
<%= stylesheet_link_tag 'marty/application' %>
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<%= yield %>
|
|
16
|
+
</body>
|
|
15
17
|
</html>
|
data/docker-compose.dummy.yml
CHANGED
|
@@ -13,6 +13,8 @@ services:
|
|
|
13
13
|
- "PATH=/bundle_box/bundle/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
14
14
|
- "DEVELOPMENT_DATABASE_URL=postgres://postgres@postgres/marty_dev"
|
|
15
15
|
- "TEST_DATABASE_URL=postgres://postgres@postgres/marty_test"
|
|
16
|
+
- "HEADLESS_WINDOW_SIZE=1400,1400"
|
|
17
|
+
- "HEADLESS=true"
|
|
16
18
|
# env_file: ".rbenv-vars"
|
|
17
19
|
depends_on:
|
|
18
20
|
- "postgres"
|
data/lib/marty/monkey.rb
CHANGED
|
@@ -288,22 +288,6 @@ module Netzke
|
|
|
288
288
|
module Core
|
|
289
289
|
module DynamicAssets
|
|
290
290
|
class << self
|
|
291
|
-
def ext_js(form_authenticity_token)
|
|
292
|
-
res = initial_dynamic_javascript(form_authenticity_token) << "\n"
|
|
293
|
-
|
|
294
|
-
include_core_js(res)
|
|
295
|
-
|
|
296
|
-
# MONKEY: load marty custom javascript
|
|
297
|
-
marty_javascripts = Dir["#{File.dirname(__FILE__)}/javascript/*.js"]
|
|
298
|
-
|
|
299
|
-
(Netzke::Core.ext_javascripts + marty_javascripts).each do |path|
|
|
300
|
-
f = File.new(path)
|
|
301
|
-
res << f.read
|
|
302
|
-
end
|
|
303
|
-
|
|
304
|
-
minify_js(res)
|
|
305
|
-
end
|
|
306
|
-
|
|
307
291
|
def minify_js(js_string)
|
|
308
292
|
if ::Rails.env.test? || ::Rails.env.development?
|
|
309
293
|
js_string.gsub(/\/\*\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//, '') # strip docs
|
data/lib/marty/version.rb
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Rails.application.config.assets.precompile = ['*.js', '*.css']
|
|
@@ -224,7 +224,7 @@ feature 'under Applications menu, Scripting workflows', js: true do
|
|
|
224
224
|
|
|
225
225
|
and_by 'form displays correct body' do
|
|
226
226
|
wait_for_ajax
|
|
227
|
-
expect(page).to have_content "#5
|
|
227
|
+
expect(page).to have_content "1 #5 2 #1 3 #2 4 #3"
|
|
228
228
|
end
|
|
229
229
|
|
|
230
230
|
and_by 'select different tag' do
|
|
@@ -238,7 +238,7 @@ feature 'under Applications menu, Scripting workflows', js: true do
|
|
|
238
238
|
|
|
239
239
|
and_by 'form displays updated body' do
|
|
240
240
|
wait_for_ajax
|
|
241
|
-
expect(page).to have_content "#5
|
|
241
|
+
expect(page).to have_content "1 #5 2 #1"
|
|
242
242
|
end
|
|
243
243
|
end
|
|
244
244
|
|
|
@@ -274,7 +274,7 @@ feature 'under Applications menu, Scripting workflows', js: true do
|
|
|
274
274
|
script_grid.select_row(1)
|
|
275
275
|
script_grid.select_row(5)
|
|
276
276
|
wait_for_ajax
|
|
277
|
-
expect(page).not_to have_content "#123
|
|
277
|
+
expect(page).not_to have_content "1 #123 2 #456"
|
|
278
278
|
script_grid.select_row(1)
|
|
279
279
|
end
|
|
280
280
|
|
|
@@ -291,7 +291,7 @@ feature 'under Applications menu, Scripting workflows', js: true do
|
|
|
291
291
|
tag_grid.select_row(2)
|
|
292
292
|
wait_for_ajax
|
|
293
293
|
script_grid.select_row(5)
|
|
294
|
-
expect(page).to have_content "#123
|
|
294
|
+
expect(page).to have_content "1 #123 2 #456"
|
|
295
295
|
expect(tag_grid.get_row_vals(2)).to netzke_include({:comment=>"ABCD"})
|
|
296
296
|
end
|
|
297
297
|
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -10,6 +10,7 @@ module Marty; module RSpec; module Chromedriver
|
|
|
10
10
|
Marty::RSpec::DownloadHelper::PATH.to_s}),
|
|
11
11
|
pageLoadStrategy: 'none',
|
|
12
12
|
}
|
|
13
|
+
|
|
13
14
|
caps = Selenium::WebDriver::Remote::Capabilities.chrome(copts)
|
|
14
15
|
driver = Capybara::Selenium::Driver.new(app,
|
|
15
16
|
browser: :chrome,
|
|
@@ -21,7 +22,9 @@ module Marty; module RSpec; module Chromedriver
|
|
|
21
22
|
|
|
22
23
|
register_chrome_driver
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
window_size = ENV.fetch('HEADLESS_WINDOW_SIZE', '3840,2160')
|
|
26
|
+
headless_args = ['no-sandbox', 'headless', 'disable-gpu', "window-size=#{window_size}"]
|
|
27
|
+
|
|
25
28
|
register_chrome_driver(:headless_chrome, args: headless_args) do |driver|
|
|
26
29
|
|
|
27
30
|
# workaround to enable downloading with headless chrome
|
|
@@ -38,4 +41,5 @@ module Marty; module RSpec; module Chromedriver
|
|
|
38
41
|
Capybara.default_driver = :chrome
|
|
39
42
|
Capybara.javascript_driver = ENV['HEADLESS'] == 'true' ?
|
|
40
43
|
:headless_chrome : :chrome
|
|
44
|
+
|
|
41
45
|
end end end
|
|
@@ -4,15 +4,55 @@ module Marty; module RSpec; module SharedConnectionDbHelpers
|
|
|
4
4
|
end
|
|
5
5
|
|
|
6
6
|
def save_clean_db(clean_file)
|
|
7
|
-
|
|
7
|
+
if db_host == 'localhost'
|
|
8
|
+
`pg_dump -O -Fc #{current_db} > #{clean_file}`
|
|
9
|
+
else
|
|
10
|
+
`#{remote_db_pw} pg_dump -O -Fc #{remote_db_args} #{current_db} > #{clean_file}`
|
|
11
|
+
end
|
|
8
12
|
end
|
|
9
13
|
|
|
10
14
|
def restore_clean_db(clean_file, remove_file = true)
|
|
11
15
|
self.use_transactional_tests = false
|
|
12
|
-
|
|
16
|
+
|
|
17
|
+
if db_host == 'localhost'
|
|
18
|
+
`pg_restore -j 2 -O -x -c -d #{current_db} #{clean_file}`
|
|
19
|
+
else
|
|
20
|
+
`#{remote_db_pw} pg_restore #{remote_db_args} #{restore_args(current_db, clean_file)}`
|
|
21
|
+
end
|
|
22
|
+
|
|
13
23
|
`rm -f #{clean_file}` if remove_file
|
|
14
24
|
ActiveRecord::Base.clear_all_connections!
|
|
15
25
|
ActiveRecord::Base.reset_shared_connection
|
|
16
26
|
self.use_transactional_tests = true
|
|
17
27
|
end
|
|
28
|
+
|
|
29
|
+
private
|
|
30
|
+
|
|
31
|
+
def current_db
|
|
32
|
+
ActiveRecord::Base.connection_config[:database]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def db_host
|
|
36
|
+
ActiveRecord::Base.connection_config[:host] || 'localhost'
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def db_user
|
|
40
|
+
ActiveRecord::Base.connection_config[:username]
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def db_password
|
|
44
|
+
ActiveRecord::Base.connection_config[:password]
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def restore_args db, from
|
|
48
|
+
"-j 2 -O -x -c -d #{db} #{from}"
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def remote_db_args
|
|
52
|
+
"-h #{db_host} -U #{db_user} -w"
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
def remote_db_pw
|
|
56
|
+
"PGPASSWORD='#{db_password}'"
|
|
57
|
+
end
|
|
18
58
|
end end end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: marty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Arman Bostani
|
|
@@ -14,7 +14,7 @@ authors:
|
|
|
14
14
|
autorequire:
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
|
-
date: 2019-01-
|
|
17
|
+
date: 2019-01-14 00:00:00.000000000 Z
|
|
18
18
|
dependencies:
|
|
19
19
|
- !ruby/object:Gem::Dependency
|
|
20
20
|
name: pg
|
|
@@ -194,8 +194,16 @@ files:
|
|
|
194
194
|
- Makefile
|
|
195
195
|
- README.md
|
|
196
196
|
- Rakefile
|
|
197
|
-
- app/assets/
|
|
197
|
+
- app/assets/javascripts/marty/application.js
|
|
198
|
+
- app/assets/javascripts/marty/codemirror/codemirror.js
|
|
199
|
+
- app/assets/javascripts/marty/codemirror/mode/delorean/delorean.js
|
|
200
|
+
- app/assets/javascripts/marty/codemirror/mode/javascript/javascript.js
|
|
201
|
+
- app/assets/javascripts/marty/codemirror/mode/python/python.js
|
|
202
|
+
- app/assets/javascripts/marty/codemirror/mode/ruby/ruby.js
|
|
203
|
+
- app/assets/javascripts/marty/extjs/extensions/marty.js
|
|
198
204
|
- app/assets/stylesheets/marty/application.css
|
|
205
|
+
- app/assets/stylesheets/marty/codemirror/codemirror.css
|
|
206
|
+
- app/assets/stylesheets/marty/codemirror/delorean.css
|
|
199
207
|
- app/components/marty/api_auth_view.rb
|
|
200
208
|
- app/components/marty/api_config_view.rb
|
|
201
209
|
- app/components/marty/api_log_view.rb
|
|
@@ -204,198 +212,51 @@ files:
|
|
|
204
212
|
- app/components/marty/base_rule_view.rb
|
|
205
213
|
- app/components/marty/config_view.rb
|
|
206
214
|
- app/components/marty/data_grid_view.rb
|
|
215
|
+
- app/components/marty/data_grid_view/client/data_grid_view.js
|
|
207
216
|
- app/components/marty/delorean_rule_view.rb
|
|
208
217
|
- app/components/marty/event_view.rb
|
|
209
218
|
- app/components/marty/extras/layout.rb
|
|
210
219
|
- app/components/marty/extras/misc.rb
|
|
211
220
|
- app/components/marty/form.rb
|
|
221
|
+
- app/components/marty/form/client/form.js
|
|
212
222
|
- app/components/marty/grid.rb
|
|
223
|
+
- app/components/marty/grid/client/grid.js
|
|
213
224
|
- app/components/marty/grid_append_only.rb
|
|
214
225
|
- app/components/marty/import_type_view.rb
|
|
215
226
|
- app/components/marty/import_view.rb
|
|
227
|
+
- app/components/marty/import_view/client/import_view.js
|
|
216
228
|
- app/components/marty/live_search_grid_panel.rb
|
|
229
|
+
- app/components/marty/live_search_grid_panel/client/live_search_grid_panel.js
|
|
217
230
|
- app/components/marty/log_view.rb
|
|
218
231
|
- app/components/marty/main_auth_app.rb
|
|
232
|
+
- app/components/marty/main_auth_app/client/main_auth_app.js
|
|
219
233
|
- app/components/marty/mcfly_grid_panel.rb
|
|
220
|
-
- app/components/marty/mcfly_grid_panel/client/
|
|
234
|
+
- app/components/marty/mcfly_grid_panel/client/mcfly_grid_panel.js
|
|
221
235
|
- app/components/marty/new_posting_form.rb
|
|
236
|
+
- app/components/marty/new_posting_form/client/new_posting_form.js
|
|
222
237
|
- app/components/marty/new_posting_window.rb
|
|
223
238
|
- app/components/marty/panel.rb
|
|
239
|
+
- app/components/marty/panel/client/panel.js
|
|
224
240
|
- app/components/marty/posting_grid.rb
|
|
241
|
+
- app/components/marty/posting_grid/client/posting_grid.js
|
|
225
242
|
- app/components/marty/posting_window.rb
|
|
226
243
|
- app/components/marty/promise_view.rb
|
|
227
244
|
- app/components/marty/promise_view/client/promise_view.css
|
|
245
|
+
- app/components/marty/promise_view/client/promise_view.js
|
|
228
246
|
- app/components/marty/record_form_window.rb
|
|
229
247
|
- app/components/marty/report_form.rb
|
|
248
|
+
- app/components/marty/report_form/client/report_form.js
|
|
230
249
|
- app/components/marty/report_select.rb
|
|
250
|
+
- app/components/marty/report_select/client/report_select.js
|
|
231
251
|
- app/components/marty/reporting.rb
|
|
252
|
+
- app/components/marty/reporting/client/reporting.js
|
|
232
253
|
- app/components/marty/script_form.rb
|
|
233
|
-
- app/components/marty/script_form/client/
|
|
234
|
-
- app/components/marty/script_form/client/codemirror.css
|
|
235
|
-
- app/components/marty/script_form/client/codemirror.js
|
|
236
|
-
- app/components/marty/script_form/client/delorean.css
|
|
237
|
-
- app/components/marty/script_form/client/mode/clike/clike.js
|
|
238
|
-
- app/components/marty/script_form/client/mode/clike/index.html
|
|
239
|
-
- app/components/marty/script_form/client/mode/clike/scala.html
|
|
240
|
-
- app/components/marty/script_form/client/mode/clojure/clojure.js
|
|
241
|
-
- app/components/marty/script_form/client/mode/clojure/index.html
|
|
242
|
-
- app/components/marty/script_form/client/mode/coffeescript/LICENSE
|
|
243
|
-
- app/components/marty/script_form/client/mode/coffeescript/coffeescript.js
|
|
244
|
-
- app/components/marty/script_form/client/mode/coffeescript/index.html
|
|
245
|
-
- app/components/marty/script_form/client/mode/commonlisp/commonlisp.js
|
|
246
|
-
- app/components/marty/script_form/client/mode/commonlisp/index.html
|
|
247
|
-
- app/components/marty/script_form/client/mode/css/css.js
|
|
248
|
-
- app/components/marty/script_form/client/mode/css/index.html
|
|
249
|
-
- app/components/marty/script_form/client/mode/css/test.js
|
|
250
|
-
- app/components/marty/script_form/client/mode/delorean/delorean.js
|
|
251
|
-
- app/components/marty/script_form/client/mode/diff/diff.js
|
|
252
|
-
- app/components/marty/script_form/client/mode/diff/index.html
|
|
253
|
-
- app/components/marty/script_form/client/mode/ecl/ecl.js
|
|
254
|
-
- app/components/marty/script_form/client/mode/ecl/index.html
|
|
255
|
-
- app/components/marty/script_form/client/mode/erlang/erlang.js
|
|
256
|
-
- app/components/marty/script_form/client/mode/erlang/index.html
|
|
257
|
-
- app/components/marty/script_form/client/mode/gfm/gfm.js
|
|
258
|
-
- app/components/marty/script_form/client/mode/gfm/index.html
|
|
259
|
-
- app/components/marty/script_form/client/mode/go/go.js
|
|
260
|
-
- app/components/marty/script_form/client/mode/go/index.html
|
|
261
|
-
- app/components/marty/script_form/client/mode/groovy/groovy.js
|
|
262
|
-
- app/components/marty/script_form/client/mode/groovy/index.html
|
|
263
|
-
- app/components/marty/script_form/client/mode/haskell/haskell.js
|
|
264
|
-
- app/components/marty/script_form/client/mode/haskell/index.html
|
|
265
|
-
- app/components/marty/script_form/client/mode/haxe/haxe.js
|
|
266
|
-
- app/components/marty/script_form/client/mode/haxe/index.html
|
|
267
|
-
- app/components/marty/script_form/client/mode/htmlembedded/htmlembedded.js
|
|
268
|
-
- app/components/marty/script_form/client/mode/htmlembedded/index.html
|
|
269
|
-
- app/components/marty/script_form/client/mode/htmlmixed/htmlmixed.js
|
|
270
|
-
- app/components/marty/script_form/client/mode/htmlmixed/index.html
|
|
271
|
-
- app/components/marty/script_form/client/mode/javascript/index.html
|
|
272
|
-
- app/components/marty/script_form/client/mode/javascript/javascript.js
|
|
273
|
-
- app/components/marty/script_form/client/mode/jinja2/index.html
|
|
274
|
-
- app/components/marty/script_form/client/mode/jinja2/jinja2.js
|
|
275
|
-
- app/components/marty/script_form/client/mode/less/index.html
|
|
276
|
-
- app/components/marty/script_form/client/mode/less/less.js
|
|
277
|
-
- app/components/marty/script_form/client/mode/lua/index.html
|
|
278
|
-
- app/components/marty/script_form/client/mode/lua/lua.js
|
|
279
|
-
- app/components/marty/script_form/client/mode/markdown/index.html
|
|
280
|
-
- app/components/marty/script_form/client/mode/markdown/markdown.js
|
|
281
|
-
- app/components/marty/script_form/client/mode/markdown/test.js
|
|
282
|
-
- app/components/marty/script_form/client/mode/mysql/index.html
|
|
283
|
-
- app/components/marty/script_form/client/mode/mysql/mysql.js
|
|
284
|
-
- app/components/marty/script_form/client/mode/ntriples/index.html
|
|
285
|
-
- app/components/marty/script_form/client/mode/ntriples/ntriples.js
|
|
286
|
-
- app/components/marty/script_form/client/mode/ocaml/index.html
|
|
287
|
-
- app/components/marty/script_form/client/mode/ocaml/ocaml.js
|
|
288
|
-
- app/components/marty/script_form/client/mode/pascal/LICENSE
|
|
289
|
-
- app/components/marty/script_form/client/mode/pascal/index.html
|
|
290
|
-
- app/components/marty/script_form/client/mode/pascal/pascal.js
|
|
291
|
-
- app/components/marty/script_form/client/mode/perl/LICENSE
|
|
292
|
-
- app/components/marty/script_form/client/mode/perl/index.html
|
|
293
|
-
- app/components/marty/script_form/client/mode/perl/perl.js
|
|
294
|
-
- app/components/marty/script_form/client/mode/php/index.html
|
|
295
|
-
- app/components/marty/script_form/client/mode/php/php.js
|
|
296
|
-
- app/components/marty/script_form/client/mode/pig/index.html
|
|
297
|
-
- app/components/marty/script_form/client/mode/pig/pig.js
|
|
298
|
-
- app/components/marty/script_form/client/mode/plsql/index.html
|
|
299
|
-
- app/components/marty/script_form/client/mode/plsql/plsql.js
|
|
300
|
-
- app/components/marty/script_form/client/mode/properties/index.html
|
|
301
|
-
- app/components/marty/script_form/client/mode/properties/properties.js
|
|
302
|
-
- app/components/marty/script_form/client/mode/python/LICENSE.txt
|
|
303
|
-
- app/components/marty/script_form/client/mode/python/index.html
|
|
304
|
-
- app/components/marty/script_form/client/mode/python/python.js
|
|
305
|
-
- app/components/marty/script_form/client/mode/r/LICENSE
|
|
306
|
-
- app/components/marty/script_form/client/mode/r/index.html
|
|
307
|
-
- app/components/marty/script_form/client/mode/r/r.js
|
|
308
|
-
- app/components/marty/script_form/client/mode/rpm/changes/changes.js
|
|
309
|
-
- app/components/marty/script_form/client/mode/rpm/changes/index.html
|
|
310
|
-
- app/components/marty/script_form/client/mode/rpm/spec/index.html
|
|
311
|
-
- app/components/marty/script_form/client/mode/rpm/spec/spec.css
|
|
312
|
-
- app/components/marty/script_form/client/mode/rpm/spec/spec.js
|
|
313
|
-
- app/components/marty/script_form/client/mode/rst/index.html
|
|
314
|
-
- app/components/marty/script_form/client/mode/rst/rst.js
|
|
315
|
-
- app/components/marty/script_form/client/mode/ruby/LICENSE
|
|
316
|
-
- app/components/marty/script_form/client/mode/ruby/index.html
|
|
317
|
-
- app/components/marty/script_form/client/mode/ruby/ruby.js
|
|
318
|
-
- app/components/marty/script_form/client/mode/rust/index.html
|
|
319
|
-
- app/components/marty/script_form/client/mode/rust/rust.js
|
|
320
|
-
- app/components/marty/script_form/client/mode/scheme/index.html
|
|
321
|
-
- app/components/marty/script_form/client/mode/scheme/scheme.js
|
|
322
|
-
- app/components/marty/script_form/client/mode/shell/index.html
|
|
323
|
-
- app/components/marty/script_form/client/mode/shell/shell.js
|
|
324
|
-
- app/components/marty/script_form/client/mode/sieve/LICENSE
|
|
325
|
-
- app/components/marty/script_form/client/mode/sieve/index.html
|
|
326
|
-
- app/components/marty/script_form/client/mode/sieve/sieve.js
|
|
327
|
-
- app/components/marty/script_form/client/mode/smalltalk/index.html
|
|
328
|
-
- app/components/marty/script_form/client/mode/smalltalk/smalltalk.js
|
|
329
|
-
- app/components/marty/script_form/client/mode/smarty/index.html
|
|
330
|
-
- app/components/marty/script_form/client/mode/smarty/smarty.js
|
|
331
|
-
- app/components/marty/script_form/client/mode/sparql/index.html
|
|
332
|
-
- app/components/marty/script_form/client/mode/sparql/sparql.js
|
|
333
|
-
- app/components/marty/script_form/client/mode/stex/index.html
|
|
334
|
-
- app/components/marty/script_form/client/mode/stex/stex.js
|
|
335
|
-
- app/components/marty/script_form/client/mode/stex/test.js
|
|
336
|
-
- app/components/marty/script_form/client/mode/tiddlywiki/index.html
|
|
337
|
-
- app/components/marty/script_form/client/mode/tiddlywiki/tiddlywiki.css
|
|
338
|
-
- app/components/marty/script_form/client/mode/tiddlywiki/tiddlywiki.js
|
|
339
|
-
- app/components/marty/script_form/client/mode/tiki/index.html
|
|
340
|
-
- app/components/marty/script_form/client/mode/tiki/tiki.css
|
|
341
|
-
- app/components/marty/script_form/client/mode/tiki/tiki.js
|
|
342
|
-
- app/components/marty/script_form/client/mode/vb/LICENSE.txt
|
|
343
|
-
- app/components/marty/script_form/client/mode/vb/index.html
|
|
344
|
-
- app/components/marty/script_form/client/mode/vb/vb.js
|
|
345
|
-
- app/components/marty/script_form/client/mode/vbscript/index.html
|
|
346
|
-
- app/components/marty/script_form/client/mode/vbscript/vbscript.js
|
|
347
|
-
- app/components/marty/script_form/client/mode/velocity/index.html
|
|
348
|
-
- app/components/marty/script_form/client/mode/velocity/velocity.js
|
|
349
|
-
- app/components/marty/script_form/client/mode/verilog/index.html
|
|
350
|
-
- app/components/marty/script_form/client/mode/verilog/verilog.js
|
|
351
|
-
- app/components/marty/script_form/client/mode/xml/index.html
|
|
352
|
-
- app/components/marty/script_form/client/mode/xml/xml.js
|
|
353
|
-
- app/components/marty/script_form/client/mode/xquery/LICENSE
|
|
354
|
-
- app/components/marty/script_form/client/mode/xquery/index.html
|
|
355
|
-
- app/components/marty/script_form/client/mode/xquery/test/index.html
|
|
356
|
-
- app/components/marty/script_form/client/mode/xquery/test/testBase.js
|
|
357
|
-
- app/components/marty/script_form/client/mode/xquery/test/testEmptySequenceKeyword.js
|
|
358
|
-
- app/components/marty/script_form/client/mode/xquery/test/testMultiAttr.js
|
|
359
|
-
- app/components/marty/script_form/client/mode/xquery/test/testNamespaces.js
|
|
360
|
-
- app/components/marty/script_form/client/mode/xquery/test/testProcessingInstructions.js
|
|
361
|
-
- app/components/marty/script_form/client/mode/xquery/test/testQuotes.js
|
|
362
|
-
- app/components/marty/script_form/client/mode/xquery/xquery.js
|
|
363
|
-
- app/components/marty/script_form/client/mode/yaml/index.html
|
|
364
|
-
- app/components/marty/script_form/client/mode/yaml/yaml.js
|
|
365
|
-
- app/components/marty/script_form/client/theme/ambiance.css
|
|
366
|
-
- app/components/marty/script_form/client/theme/blackboard.css
|
|
367
|
-
- app/components/marty/script_form/client/theme/cobalt.css
|
|
368
|
-
- app/components/marty/script_form/client/theme/eclipse.css
|
|
369
|
-
- app/components/marty/script_form/client/theme/elegant.css
|
|
370
|
-
- app/components/marty/script_form/client/theme/erlang-dark.css
|
|
371
|
-
- app/components/marty/script_form/client/theme/lesser-dark.css
|
|
372
|
-
- app/components/marty/script_form/client/theme/monokai.css
|
|
373
|
-
- app/components/marty/script_form/client/theme/neat.css
|
|
374
|
-
- app/components/marty/script_form/client/theme/night.css
|
|
375
|
-
- app/components/marty/script_form/client/theme/rubyblue.css
|
|
376
|
-
- app/components/marty/script_form/client/theme/vibrant-ink.css
|
|
377
|
-
- app/components/marty/script_form/client/theme/xq-dark.css
|
|
378
|
-
- app/components/marty/script_form/client/util/closetag.js
|
|
379
|
-
- app/components/marty/script_form/client/util/dialog.css
|
|
380
|
-
- app/components/marty/script_form/client/util/dialog.js
|
|
381
|
-
- app/components/marty/script_form/client/util/foldcode.js
|
|
382
|
-
- app/components/marty/script_form/client/util/formatting.js
|
|
383
|
-
- app/components/marty/script_form/client/util/javascript-hint.js
|
|
384
|
-
- app/components/marty/script_form/client/util/loadmode.js
|
|
385
|
-
- app/components/marty/script_form/client/util/match-highlighter.js
|
|
386
|
-
- app/components/marty/script_form/client/util/multiplex.js
|
|
387
|
-
- app/components/marty/script_form/client/util/overlay.js
|
|
388
|
-
- app/components/marty/script_form/client/util/pig-hint.js
|
|
389
|
-
- app/components/marty/script_form/client/util/runmode-standalone.js
|
|
390
|
-
- app/components/marty/script_form/client/util/runmode.js
|
|
391
|
-
- app/components/marty/script_form/client/util/search.js
|
|
392
|
-
- app/components/marty/script_form/client/util/searchcursor.js
|
|
393
|
-
- app/components/marty/script_form/client/util/simple-hint.css
|
|
394
|
-
- app/components/marty/script_form/client/util/simple-hint.js
|
|
395
|
-
- app/components/marty/script_form/client/util/xml-hint.js
|
|
254
|
+
- app/components/marty/script_form/client/script_form.js
|
|
396
255
|
- app/components/marty/script_grid.rb
|
|
397
256
|
- app/components/marty/script_tester.rb
|
|
257
|
+
- app/components/marty/script_tester/client/script_tester.js
|
|
398
258
|
- app/components/marty/scripting.rb
|
|
259
|
+
- app/components/marty/scripting/client/scripting.js
|
|
399
260
|
- app/components/marty/simple_app.rb
|
|
400
261
|
- app/components/marty/simple_app/client/simple_app.js
|
|
401
262
|
- app/components/marty/simple_app/client/statusbar_ext.js
|
|
@@ -504,7 +365,6 @@ files:
|
|
|
504
365
|
- lib/marty/data_exporter.rb
|
|
505
366
|
- lib/marty/data_importer.rb
|
|
506
367
|
- lib/marty/engine.rb
|
|
507
|
-
- lib/marty/javascript/grid_view_in_form.js
|
|
508
368
|
- lib/marty/json_schema.rb
|
|
509
369
|
- lib/marty/logger.rb
|
|
510
370
|
- lib/marty/mcfly_model.rb
|
|
@@ -598,6 +458,7 @@ files:
|
|
|
598
458
|
- spec/dummy/config/environments/development.rb
|
|
599
459
|
- spec/dummy/config/environments/production.rb
|
|
600
460
|
- spec/dummy/config/environments/test.rb
|
|
461
|
+
- spec/dummy/config/initializers/assets.rb
|
|
601
462
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
602
463
|
- spec/dummy/config/initializers/delayed_job.rb
|
|
603
464
|
- spec/dummy/config/initializers/inflections.rb
|