marty 0.5.41 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -2
- data/app/components/marty/api_auth_view.rb +5 -8
- data/app/components/marty/auth_app.rb +8 -9
- data/app/components/marty/auth_app/{javascripts → client}/auth_app.js +4 -4
- data/app/components/marty/config_view.rb +7 -9
- data/app/components/marty/extras/misc.rb +14 -1
- data/app/components/marty/form.rb +1 -1
- data/app/components/marty/grid.rb +27 -14
- data/app/components/marty/grid_append_only.rb +3 -5
- data/app/components/marty/import_type_view.rb +8 -11
- data/app/components/marty/live_search_grid_panel.rb +3 -3
- data/app/components/marty/main_auth_app.rb +17 -19
- data/app/components/marty/mcfly_grid_panel.rb +13 -15
- data/app/components/marty/new_posting_form.rb +5 -5
- data/app/components/marty/new_posting_window.rb +1 -1
- data/app/components/marty/panel.rb +2 -2
- data/app/components/marty/posting_grid.rb +19 -28
- data/app/components/marty/posting_window.rb +6 -7
- data/app/components/marty/promise_view.rb +23 -24
- data/app/components/marty/promise_view/{stylesheets → client}/promise_view.css +0 -0
- data/app/components/marty/report_form.rb +11 -10
- data/app/components/marty/report_select.rb +17 -15
- data/app/components/marty/reporting.rb +2 -2
- data/app/components/marty/script_form.rb +34 -38
- data/app/components/marty/script_form/{javascripts → client}/Ext.ux.form.field.CodeMirror.js +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/codemirror.css +0 -0
- data/app/components/marty/script_form/{javascripts → client}/codemirror.js +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/delorean.css +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/clike/clike.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/clike/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/clike/scala.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/clojure/clojure.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/clojure/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/coffeescript/LICENSE +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/coffeescript/coffeescript.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/coffeescript/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/commonlisp/commonlisp.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/commonlisp/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/css/css.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/css/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/css/test.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/delorean/delorean.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/diff/diff.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/diff/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/ecl/ecl.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/ecl/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/erlang/erlang.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/erlang/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/gfm/gfm.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/gfm/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/go/go.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/go/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/groovy/groovy.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/groovy/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/haskell/haskell.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/haskell/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/haxe/haxe.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/haxe/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/htmlembedded/htmlembedded.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/htmlembedded/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/htmlmixed/htmlmixed.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/htmlmixed/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/javascript/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/javascript/javascript.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/jinja2/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/jinja2/jinja2.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/less/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/less/less.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/lua/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/lua/lua.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/markdown/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/markdown/markdown.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/markdown/test.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/mysql/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/mysql/mysql.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/ntriples/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/ntriples/ntriples.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/ocaml/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/ocaml/ocaml.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/pascal/LICENSE +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/pascal/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/pascal/pascal.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/perl/LICENSE +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/perl/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/perl/perl.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/php/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/php/php.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/pig/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/pig/pig.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/plsql/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/plsql/plsql.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/properties/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/properties/properties.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/python/LICENSE.txt +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/python/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/python/python.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/r/LICENSE +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/r/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/r/r.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/rpm/changes/changes.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/rpm/changes/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/rpm/spec/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/rpm/spec/spec.css +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/rpm/spec/spec.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/rst/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/rst/rst.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/ruby/LICENSE +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/ruby/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/ruby/ruby.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/rust/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/rust/rust.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/scheme/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/scheme/scheme.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/shell/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/shell/shell.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/sieve/LICENSE +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/sieve/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/sieve/sieve.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/smalltalk/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/smalltalk/smalltalk.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/smarty/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/smarty/smarty.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/sparql/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/sparql/sparql.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/stex/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/stex/stex.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/stex/test.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/tiddlywiki/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/tiddlywiki/tiddlywiki.css +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/tiddlywiki/tiddlywiki.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/tiki/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/tiki/tiki.css +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/tiki/tiki.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/vb/LICENSE.txt +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/vb/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/vb/vb.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/vbscript/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/vbscript/vbscript.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/velocity/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/velocity/velocity.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/verilog/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/verilog/verilog.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xml/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xml/xml.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xquery/LICENSE +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xquery/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xquery/test/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xquery/test/testBase.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xquery/test/testEmptySequenceKeyword.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xquery/test/testMultiAttr.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xquery/test/testNamespaces.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xquery/test/testProcessingInstructions.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xquery/test/testQuotes.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/xquery/xquery.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/yaml/index.html +0 -0
- data/app/components/marty/script_form/{javascripts → client}/mode/yaml/yaml.js +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/ambiance.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/blackboard.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/cobalt.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/eclipse.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/elegant.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/erlang-dark.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/lesser-dark.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/monokai.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/neat.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/night.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/rubyblue.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/vibrant-ink.css +0 -0
- data/app/components/marty/script_form/{stylesheets → client}/theme/xq-dark.css +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/closetag.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/dialog.css +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/dialog.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/foldcode.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/formatting.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/javascript-hint.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/loadmode.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/match-highlighter.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/multiplex.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/overlay.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/pig-hint.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/runmode-standalone.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/runmode.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/search.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/searchcursor.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/simple-hint.css +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/simple-hint.js +0 -0
- data/app/components/marty/script_form/{javascripts → client}/util/xml-hint.js +0 -0
- data/app/components/marty/script_grid.rb +24 -32
- data/app/components/marty/script_tester.rb +11 -11
- data/app/components/marty/scripting.rb +12 -12
- data/app/components/marty/simple_app.rb +2 -2
- data/app/components/marty/simple_app/{javascripts → client}/simple_app.js +0 -0
- data/app/components/marty/simple_app/{javascripts → client}/statusbar_ext.js +0 -0
- data/app/components/marty/tag_grid.rb +15 -21
- data/app/components/marty/user_view.rb +41 -57
- data/lib/marty/monkey.rb +1 -1
- data/lib/marty/version.rb +1 -1
- data/marty.gemspec +3 -2
- data/spec/dummy/app/assets/{stylesheets → client}/application.css +0 -0
- data/spec/dummy/app/assets/client/application.js +15 -0
- data/spec/features/scripting_spec.rb +17 -0
- data/spec/features/user_view_spec.rb +15 -15
- data/spec/spec_helper.rb +9 -0
- metadata +189 -174
File without changes
|
@@ -10,42 +10,36 @@ class Marty::TagGrid < Marty::Grid
|
|
10
10
|
c.model = "Marty::Tag"
|
11
11
|
c.multi_select = false
|
12
12
|
|
13
|
-
c.
|
13
|
+
c.attributes ||= [:name, :created_dt, :user__name, :comment]
|
14
14
|
|
15
|
-
c.
|
16
|
-
|
17
|
-
direction: 'DESC',
|
18
|
-
}
|
15
|
+
c.store_config.merge!({sorters: [{property: :created_dt,
|
16
|
+
direction: 'DESC'}]})
|
19
17
|
end
|
20
18
|
|
21
|
-
endpoint :
|
19
|
+
endpoint :add_window__add_form__submit do |params|
|
22
20
|
data = ActiveSupport::JSON.decode(params[:data])
|
23
21
|
|
24
|
-
return
|
25
|
-
config[:
|
22
|
+
return client.netzke_notify("Permission Denied") if
|
23
|
+
!config[:permissions][:create]
|
26
24
|
|
27
25
|
# FIXME: disallow tag creation when no script has been modified?
|
28
26
|
|
29
27
|
tag = Marty::Tag.do_create(nil, data["comment"])
|
30
28
|
|
31
29
|
if tag.valid?
|
32
|
-
|
33
|
-
|
30
|
+
client.success = true
|
31
|
+
client.netzke_on_submit_success
|
34
32
|
return
|
35
33
|
end
|
36
34
|
|
37
|
-
|
38
|
-
flash :error => error
|
39
|
-
end
|
40
|
-
|
41
|
-
this.netzke_feedback(@flash)
|
35
|
+
client.netzke_notify(model_adapter.errors_array(tag).join("\n"))
|
42
36
|
end
|
43
37
|
|
44
38
|
action :add_in_form do |a|
|
45
39
|
a.text = I18n.t("tag_grid.new")
|
46
40
|
a.tooltip = I18n.t("tag_grid.new")
|
47
41
|
a.icon = :time_add
|
48
|
-
a.disabled = config[:
|
42
|
+
a.disabled = !config[:permissions][:create]
|
49
43
|
end
|
50
44
|
|
51
45
|
def default_bbar
|
@@ -56,24 +50,24 @@ class Marty::TagGrid < Marty::Grid
|
|
56
50
|
[]
|
57
51
|
end
|
58
52
|
|
59
|
-
def
|
53
|
+
def default_form_items
|
60
54
|
[:comment]
|
61
55
|
end
|
62
56
|
|
63
|
-
|
57
|
+
attribute :name do |c|
|
64
58
|
end
|
65
59
|
|
66
|
-
|
60
|
+
attribute :created_dt do |c|
|
67
61
|
c.text = "Date/Time"
|
68
62
|
c.format = "Y-m-d H:i"
|
69
63
|
c.hidden = true
|
70
64
|
end
|
71
65
|
|
72
|
-
|
66
|
+
attribute :user__name do |c|
|
73
67
|
c.width = 100
|
74
68
|
end
|
75
69
|
|
76
|
-
|
70
|
+
attribute :comment do |c|
|
77
71
|
c.width = 100
|
78
72
|
c.flex = 1
|
79
73
|
end
|
@@ -21,17 +21,13 @@ class Marty::UserView < Marty::Grid
|
|
21
21
|
|
22
22
|
c.title ||= I18n.t('users', default: "Users")
|
23
23
|
c.model = "Marty::User"
|
24
|
-
c.
|
25
|
-
c.
|
24
|
+
c.editing = :in_form
|
25
|
+
c.paging = :pagination
|
26
26
|
c.multi_select = false
|
27
|
-
|
28
|
-
c.
|
29
|
-
|
30
|
-
|
31
|
-
property: :login,
|
32
|
-
direction: 'ASC',
|
33
|
-
} if c.columns.include?(:login)
|
34
|
-
|
27
|
+
c.attributes ||= self.class.user_columns
|
28
|
+
c.store_config.merge!({sorters: [{property: :login,
|
29
|
+
direction: 'ASC',
|
30
|
+
}]}) if c.attributes.include?(:login)
|
35
31
|
c.scope = ->(arel) { arel.includes(:roles) }
|
36
32
|
end
|
37
33
|
|
@@ -68,116 +64,104 @@ class Marty::UserView < Marty::Grid
|
|
68
64
|
# override the add_in_form and edit_in_form endpoint. User creation/update
|
69
65
|
# needs to use the create_edit_user method.
|
70
66
|
|
71
|
-
endpoint :
|
67
|
+
endpoint :add_window__add_form__submit do |params|
|
72
68
|
data = ActiveSupport::JSON.decode(params[:data])
|
73
69
|
|
74
70
|
data["id"] = nil
|
75
71
|
|
76
72
|
unless self.class.can_perform_action?(:create)
|
77
|
-
|
73
|
+
client.netzke_notify "Permission Denied"
|
78
74
|
return
|
79
75
|
end
|
80
76
|
|
81
77
|
user = self.class.create_edit_user(data)
|
82
78
|
if user.valid?
|
83
|
-
|
84
|
-
|
79
|
+
client.success = true
|
80
|
+
client.netzke_on_submit_success
|
85
81
|
else
|
86
|
-
|
87
|
-
flash :error => error
|
88
|
-
end
|
89
|
-
this.netzke_feedback(@flash)
|
82
|
+
client.netzke_notify(model_adapter.errors_array(user).join("\n"))
|
90
83
|
end
|
91
84
|
end
|
92
85
|
|
93
|
-
endpoint :
|
86
|
+
endpoint :edit_window__edit_form__submit do |params|
|
94
87
|
data = ActiveSupport::JSON.decode(params[:data])
|
95
88
|
unless self.class.can_perform_action?(:update)
|
96
|
-
|
89
|
+
client.netzke_notify "Permission Denied"
|
97
90
|
return
|
98
91
|
end
|
99
92
|
|
100
93
|
user = self.class.create_edit_user(data)
|
101
94
|
if user.valid?
|
102
|
-
|
103
|
-
|
95
|
+
client.success = true
|
96
|
+
client.netzke_on_submit_success
|
104
97
|
else
|
105
|
-
|
106
|
-
flash :error => error
|
107
|
-
end
|
108
|
-
this.netzke_feedback(@flash)
|
98
|
+
client.netzke_notify(model_adapter.errors_array(user).join("\n"))
|
109
99
|
end
|
110
100
|
end
|
111
101
|
|
112
|
-
action :
|
102
|
+
action :add do |a|
|
103
|
+
super(a)
|
113
104
|
a.text = I18n.t("user_grid.new")
|
114
105
|
a.tooltip = I18n.t("user_grid.new")
|
115
106
|
a.icon = :user_add
|
116
|
-
a.disabled = !self.class.can_perform_action?(:create)
|
117
107
|
end
|
118
108
|
|
119
|
-
action :
|
120
|
-
a
|
109
|
+
action :edit do |a|
|
110
|
+
super(a)
|
121
111
|
a.icon = :user_edit
|
122
112
|
end
|
123
113
|
|
124
|
-
action :
|
114
|
+
action :delete do |a|
|
115
|
+
super(a)
|
125
116
|
a.icon = :user_delete
|
126
117
|
end
|
127
118
|
|
128
|
-
def default_bbar
|
129
|
-
[:add_in_form, :edit_in_form, :del]
|
130
|
-
end
|
131
|
-
|
132
119
|
def default_context_menu
|
133
120
|
[]
|
134
121
|
end
|
135
122
|
|
136
|
-
|
123
|
+
attribute :login do |c|
|
137
124
|
c.width = 100
|
138
|
-
c.
|
125
|
+
c.label = I18n.t("user_grid.login")
|
139
126
|
end
|
140
127
|
|
141
|
-
|
128
|
+
attribute :firstname do |c|
|
142
129
|
c.width = 100
|
143
|
-
c.
|
130
|
+
c.label = I18n.t("user_grid.firstname")
|
144
131
|
end
|
145
132
|
|
146
|
-
|
133
|
+
attribute :lastname do |c|
|
147
134
|
c.width = 100
|
148
|
-
c.
|
135
|
+
c.label = I18n.t("user_grid.lastname")
|
149
136
|
end
|
150
137
|
|
151
|
-
|
138
|
+
attribute :active do |c|
|
152
139
|
c.width = 60
|
153
|
-
c.
|
140
|
+
c.label = I18n.t("user_grid.active")
|
154
141
|
end
|
155
142
|
|
156
|
-
|
143
|
+
attribute :roles do |c|
|
157
144
|
c.width = 100
|
158
145
|
c.flex = 1
|
159
|
-
c.
|
160
|
-
c.
|
161
|
-
trigger_action: :all,
|
162
|
-
name: "roles",
|
163
|
-
attr_type: :string,
|
164
|
-
xtype: :combo,
|
165
|
-
store: Marty::Role.pluck(:name).map {|n| I18n.t("roles.#{n}")}.sort,
|
166
|
-
empty_text: I18n.t("user_grid.select_roles"),
|
167
|
-
multi_select: true,
|
168
|
-
}
|
146
|
+
c.label = I18n.t("user_grid.roles")
|
147
|
+
c.type = :string,
|
169
148
|
|
170
149
|
c.getter = lambda do |r|
|
171
150
|
r.roles.map { |ur| I18n.t("roles.#{ur.name}") }.sort
|
172
151
|
end
|
152
|
+
c.editor_config = { multi_select: true,
|
153
|
+
empty_text: I18n.t("user_grid.select_roles"),
|
154
|
+
store: Marty::Role.pluck(:name).map {
|
155
|
+
|n| I18n.t("roles.#{n}")}.sort,
|
156
|
+
type: :string,
|
157
|
+
xtype: :combo}
|
173
158
|
end
|
174
159
|
|
175
|
-
|
176
|
-
c.
|
160
|
+
attribute :created_dt do |c|
|
161
|
+
c.label = I18n.t("user_grid.created_dt")
|
177
162
|
c.format = "Y-m-d H:i"
|
178
163
|
c.read_only = true
|
179
164
|
end
|
180
|
-
|
181
165
|
end
|
182
166
|
|
183
167
|
UserView = Marty::UserView
|
data/lib/marty/monkey.rb
CHANGED
@@ -145,7 +145,7 @@ module Netzke::Basepack::DataAdapters
|
|
145
145
|
relation = relation.includes(assoc.to_sym).references(assoc.to_sym) if method
|
146
146
|
end
|
147
147
|
|
148
|
-
@
|
148
|
+
@model.const_defined?(:LAZY_LOADED) ? relation.unscoped.count :
|
149
149
|
relation.count
|
150
150
|
end
|
151
151
|
|
data/lib/marty/version.rb
CHANGED
data/marty.gemspec
CHANGED
@@ -28,8 +28,9 @@ Gem::Specification.new do |s|
|
|
28
28
|
|
29
29
|
s.add_dependency "pg", "~> 0.17"
|
30
30
|
|
31
|
-
s.add_dependency 'netzke-core', '~> 0.
|
32
|
-
s.add_dependency 'netzke-basepack', '~> 0.
|
31
|
+
s.add_dependency 'netzke-core', '~> 1.0.0'
|
32
|
+
s.add_dependency 'netzke-basepack', '~> 1.0.0'
|
33
|
+
s.add_development_dependency 'netzke-testing', '~> 1.0.0'
|
33
34
|
|
34
35
|
s.add_dependency 'axlsx', '2.1.0pre'
|
35
36
|
|
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// the compiled file.
|
9
|
+
//
|
10
|
+
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
+
// GO AFTER THE REQUIRES BELOW.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require_tree .
|
@@ -345,6 +345,23 @@ feature 'under Applications menu, Scripting workflows', js: true do
|
|
345
345
|
end
|
346
346
|
end
|
347
347
|
|
348
|
+
it 'prevents non-dev from deleting' do
|
349
|
+
log_in_as('viewer1')
|
350
|
+
go_to_scripting
|
351
|
+
|
352
|
+
script_grid = netzke_find('script_grid')
|
353
|
+
and_by 'delete script' do
|
354
|
+
script_grid.select_row(1)
|
355
|
+
press('Delete Script')
|
356
|
+
find(:xpath, "//div[text()='Confirmation']", wait: 5)
|
357
|
+
press('Yes')
|
358
|
+
end
|
359
|
+
|
360
|
+
and_by 'script is gone' do
|
361
|
+
expect(find(:msg)).to have_content 'Permission Denied'
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
348
365
|
it 'only allows delete on DEV tag' do
|
349
366
|
log_in_as('dev1')
|
350
367
|
go_to_scripting
|
@@ -66,7 +66,7 @@ feature 'under Sytem menu, User Management worflows', js: true do
|
|
66
66
|
wait_for_ajax
|
67
67
|
expect(user_view.row_count).to eq 2
|
68
68
|
user_view.select_row(2)
|
69
|
-
press('Edit
|
69
|
+
press('Edit')
|
70
70
|
|
71
71
|
within(:gridpanel, 'edit_window', match: :first) do
|
72
72
|
fill_in('Login', with: 'new_login')
|
@@ -113,11 +113,13 @@ feature 'under Sytem menu, User Management worflows', js: true do
|
|
113
113
|
it 'user manager has access' do
|
114
114
|
log_in_as('user_manager1')
|
115
115
|
go_to_user_view
|
116
|
+
user_view = netzke_find('user_view')
|
116
117
|
by 'check buttons' do
|
117
118
|
find(:btn, 'New User', match: :first)
|
118
119
|
zoom_out
|
120
|
+
user_view.select_row(1)
|
119
121
|
expect(btn_disabled?('New User')).to be_falsy
|
120
|
-
expect(btn_disabled?('Edit
|
122
|
+
expect(btn_disabled?('Edit')).to be_falsy
|
121
123
|
expect(btn_disabled?('Delete')).to be_falsy
|
122
124
|
end
|
123
125
|
end
|
@@ -125,10 +127,12 @@ feature 'under Sytem menu, User Management worflows', js: true do
|
|
125
127
|
it 'admin has access' do
|
126
128
|
log_in_as('admin1')
|
127
129
|
go_to_user_view
|
130
|
+
user_view = netzke_find('user_view')
|
128
131
|
by 'check buttons' do
|
129
132
|
find(:btn, 'New User', match: :first)
|
133
|
+
user_view.select_row(1)
|
130
134
|
expect(btn_disabled?('New User')).to be_falsy
|
131
|
-
expect(btn_disabled?('Edit
|
135
|
+
expect(btn_disabled?('Edit')).to be_falsy
|
132
136
|
expect(btn_disabled?('Delete')).to be_falsy
|
133
137
|
end
|
134
138
|
end
|
@@ -136,30 +140,26 @@ feature 'under Sytem menu, User Management worflows', js: true do
|
|
136
140
|
it 'viewer denied access' do
|
137
141
|
log_in_as('viewer1')
|
138
142
|
go_to_user_view_backdoor
|
143
|
+
|
139
144
|
user_view = netzke_find('user_view')
|
140
145
|
by 'check buttons' do
|
141
|
-
find(:btn, 'New User', match: :first)
|
142
|
-
#selection needed to make delete button disappear
|
143
|
-
wait_for_ajax
|
144
146
|
user_view.select_row(1)
|
145
|
-
expect(
|
146
|
-
expect(
|
147
|
-
expect(
|
147
|
+
expect(page).not_to have_content('New User')
|
148
|
+
expect(page).not_to have_content('Edit')
|
149
|
+
expect(page).not_to have_content('Delete')
|
148
150
|
end
|
149
151
|
end
|
150
152
|
|
151
153
|
it 'developer denied access' do
|
152
154
|
log_in_as('dev1')
|
153
155
|
go_to_user_view_backdoor
|
156
|
+
|
154
157
|
user_view = netzke_find('user_view')
|
155
158
|
by 'check buttons' do
|
156
|
-
find(:btn, 'New User', match: :first)
|
157
|
-
#selection needed to make delete button disappear
|
158
|
-
wait_for_ajax
|
159
159
|
user_view.select_row(1)
|
160
|
-
expect(
|
161
|
-
expect(
|
162
|
-
expect(
|
160
|
+
expect(page).not_to have_content('New User')
|
161
|
+
expect(page).not_to have_content('Edit')
|
162
|
+
expect(page).not_to have_content('Delete')
|
163
163
|
end
|
164
164
|
end
|
165
165
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -29,6 +29,15 @@ class ActiveRecord::Base
|
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
32
|
+
Capybara.register_driver :selenium do |app|
|
33
|
+
client = Selenium::WebDriver::Remote::Http::Default.new
|
34
|
+
profile = Selenium::WebDriver::Firefox::Profile.new
|
35
|
+
profile.load_no_focus_lib = true
|
36
|
+
Capybara::Selenium::Driver.new(app, :profile => profile,
|
37
|
+
:http_client => client)
|
38
|
+
end
|
39
|
+
|
40
|
+
|
32
41
|
ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
|
33
42
|
|
34
43
|
RSpec.configure do |config|
|
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: 0.
|
4
|
+
version: 1.0.0
|
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: 2016-06-
|
17
|
+
date: 2016-06-16 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: pg
|
@@ -36,28 +36,42 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 1.0.0
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.
|
46
|
+
version: 1.0.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: netzke-basepack
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
53
|
+
version: 1.0.0
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.
|
60
|
+
version: 1.0.0
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: netzke-testing
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 1.0.0
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 1.0.0
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
76
|
name: axlsx
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,7 +176,7 @@ files:
|
|
162
176
|
- app/assets/stylesheets/marty/diagnostic.css
|
163
177
|
- app/components/marty/api_auth_view.rb
|
164
178
|
- app/components/marty/auth_app.rb
|
165
|
-
- app/components/marty/auth_app/
|
179
|
+
- app/components/marty/auth_app/client/auth_app.js
|
166
180
|
- app/components/marty/config_view.rb
|
167
181
|
- app/components/marty/extras/layout.rb
|
168
182
|
- app/components/marty/extras/misc.rb
|
@@ -179,180 +193,180 @@ files:
|
|
179
193
|
- app/components/marty/posting_grid.rb
|
180
194
|
- app/components/marty/posting_window.rb
|
181
195
|
- app/components/marty/promise_view.rb
|
182
|
-
- app/components/marty/promise_view/
|
196
|
+
- app/components/marty/promise_view/client/promise_view.css
|
183
197
|
- app/components/marty/report_form.rb
|
184
198
|
- app/components/marty/report_select.rb
|
185
199
|
- app/components/marty/reporting.rb
|
186
200
|
- app/components/marty/script_form.rb
|
187
|
-
- app/components/marty/script_form/
|
188
|
-
- app/components/marty/script_form/
|
189
|
-
- app/components/marty/script_form/
|
190
|
-
- app/components/marty/script_form/
|
191
|
-
- app/components/marty/script_form/
|
192
|
-
- app/components/marty/script_form/
|
193
|
-
- app/components/marty/script_form/
|
194
|
-
- app/components/marty/script_form/
|
195
|
-
- app/components/marty/script_form/
|
196
|
-
- app/components/marty/script_form/
|
197
|
-
- app/components/marty/script_form/
|
198
|
-
- app/components/marty/script_form/
|
199
|
-
- app/components/marty/script_form/
|
200
|
-
- app/components/marty/script_form/
|
201
|
-
- app/components/marty/script_form/
|
202
|
-
- app/components/marty/script_form/
|
203
|
-
- app/components/marty/script_form/
|
204
|
-
- app/components/marty/script_form/
|
205
|
-
- app/components/marty/script_form/
|
206
|
-
- app/components/marty/script_form/
|
207
|
-
- app/components/marty/script_form/
|
208
|
-
- app/components/marty/script_form/
|
209
|
-
- app/components/marty/script_form/
|
210
|
-
- app/components/marty/script_form/
|
211
|
-
- app/components/marty/script_form/
|
212
|
-
- app/components/marty/script_form/
|
213
|
-
- app/components/marty/script_form/
|
214
|
-
- app/components/marty/script_form/
|
215
|
-
- app/components/marty/script_form/
|
216
|
-
- app/components/marty/script_form/
|
217
|
-
- app/components/marty/script_form/
|
218
|
-
- app/components/marty/script_form/
|
219
|
-
- app/components/marty/script_form/
|
220
|
-
- app/components/marty/script_form/
|
221
|
-
- app/components/marty/script_form/
|
222
|
-
- app/components/marty/script_form/
|
223
|
-
- app/components/marty/script_form/
|
224
|
-
- app/components/marty/script_form/
|
225
|
-
- app/components/marty/script_form/
|
226
|
-
- app/components/marty/script_form/
|
227
|
-
- app/components/marty/script_form/
|
228
|
-
- app/components/marty/script_form/
|
229
|
-
- app/components/marty/script_form/
|
230
|
-
- app/components/marty/script_form/
|
231
|
-
- app/components/marty/script_form/
|
232
|
-
- app/components/marty/script_form/
|
233
|
-
- app/components/marty/script_form/
|
234
|
-
- app/components/marty/script_form/
|
235
|
-
- app/components/marty/script_form/
|
236
|
-
- app/components/marty/script_form/
|
237
|
-
- app/components/marty/script_form/
|
238
|
-
- app/components/marty/script_form/
|
239
|
-
- app/components/marty/script_form/
|
240
|
-
- app/components/marty/script_form/
|
241
|
-
- app/components/marty/script_form/
|
242
|
-
- app/components/marty/script_form/
|
243
|
-
- app/components/marty/script_form/
|
244
|
-
- app/components/marty/script_form/
|
245
|
-
- app/components/marty/script_form/
|
246
|
-
- app/components/marty/script_form/
|
247
|
-
- app/components/marty/script_form/
|
248
|
-
- app/components/marty/script_form/
|
249
|
-
- app/components/marty/script_form/
|
250
|
-
- app/components/marty/script_form/
|
251
|
-
- app/components/marty/script_form/
|
252
|
-
- app/components/marty/script_form/
|
253
|
-
- app/components/marty/script_form/
|
254
|
-
- app/components/marty/script_form/
|
255
|
-
- app/components/marty/script_form/
|
256
|
-
- app/components/marty/script_form/
|
257
|
-
- app/components/marty/script_form/
|
258
|
-
- app/components/marty/script_form/
|
259
|
-
- app/components/marty/script_form/
|
260
|
-
- app/components/marty/script_form/
|
261
|
-
- app/components/marty/script_form/
|
262
|
-
- app/components/marty/script_form/
|
263
|
-
- app/components/marty/script_form/
|
264
|
-
- app/components/marty/script_form/
|
265
|
-
- app/components/marty/script_form/
|
266
|
-
- app/components/marty/script_form/
|
267
|
-
- app/components/marty/script_form/
|
268
|
-
- app/components/marty/script_form/
|
269
|
-
- app/components/marty/script_form/
|
270
|
-
- app/components/marty/script_form/
|
271
|
-
- app/components/marty/script_form/
|
272
|
-
- app/components/marty/script_form/
|
273
|
-
- app/components/marty/script_form/
|
274
|
-
- app/components/marty/script_form/
|
275
|
-
- app/components/marty/script_form/
|
276
|
-
- app/components/marty/script_form/
|
277
|
-
- app/components/marty/script_form/
|
278
|
-
- app/components/marty/script_form/
|
279
|
-
- app/components/marty/script_form/
|
280
|
-
- app/components/marty/script_form/
|
281
|
-
- app/components/marty/script_form/
|
282
|
-
- app/components/marty/script_form/
|
283
|
-
- app/components/marty/script_form/
|
284
|
-
- app/components/marty/script_form/
|
285
|
-
- app/components/marty/script_form/
|
286
|
-
- app/components/marty/script_form/
|
287
|
-
- app/components/marty/script_form/
|
288
|
-
- app/components/marty/script_form/
|
289
|
-
- app/components/marty/script_form/
|
290
|
-
- app/components/marty/script_form/
|
291
|
-
- app/components/marty/script_form/
|
292
|
-
- app/components/marty/script_form/
|
293
|
-
- app/components/marty/script_form/
|
294
|
-
- app/components/marty/script_form/
|
295
|
-
- app/components/marty/script_form/
|
296
|
-
- app/components/marty/script_form/
|
297
|
-
- app/components/marty/script_form/
|
298
|
-
- app/components/marty/script_form/
|
299
|
-
- app/components/marty/script_form/
|
300
|
-
- app/components/marty/script_form/
|
301
|
-
- app/components/marty/script_form/
|
302
|
-
- app/components/marty/script_form/
|
303
|
-
- app/components/marty/script_form/
|
304
|
-
- app/components/marty/script_form/
|
305
|
-
- app/components/marty/script_form/
|
306
|
-
- app/components/marty/script_form/
|
307
|
-
- app/components/marty/script_form/
|
308
|
-
- app/components/marty/script_form/
|
309
|
-
- app/components/marty/script_form/
|
310
|
-
- app/components/marty/script_form/
|
311
|
-
- app/components/marty/script_form/
|
312
|
-
- app/components/marty/script_form/
|
313
|
-
- app/components/marty/script_form/
|
314
|
-
- app/components/marty/script_form/
|
315
|
-
- app/components/marty/script_form/
|
316
|
-
- app/components/marty/script_form/
|
317
|
-
- app/components/marty/script_form/
|
318
|
-
- app/components/marty/script_form/
|
319
|
-
- app/components/marty/script_form/
|
320
|
-
- app/components/marty/script_form/
|
321
|
-
- app/components/marty/script_form/
|
322
|
-
- app/components/marty/script_form/
|
323
|
-
- app/components/marty/script_form/
|
324
|
-
- app/components/marty/script_form/
|
325
|
-
- app/components/marty/script_form/
|
326
|
-
- app/components/marty/script_form/
|
327
|
-
- app/components/marty/script_form/
|
328
|
-
- app/components/marty/script_form/
|
329
|
-
- app/components/marty/script_form/
|
330
|
-
- app/components/marty/script_form/
|
331
|
-
- app/components/marty/script_form/
|
332
|
-
- app/components/marty/script_form/
|
333
|
-
- app/components/marty/script_form/
|
334
|
-
- app/components/marty/script_form/
|
335
|
-
- app/components/marty/script_form/
|
336
|
-
- app/components/marty/script_form/
|
337
|
-
- app/components/marty/script_form/
|
338
|
-
- app/components/marty/script_form/
|
339
|
-
- app/components/marty/script_form/
|
340
|
-
- app/components/marty/script_form/
|
341
|
-
- app/components/marty/script_form/
|
342
|
-
- app/components/marty/script_form/
|
343
|
-
- app/components/marty/script_form/
|
344
|
-
- app/components/marty/script_form/
|
345
|
-
- app/components/marty/script_form/
|
346
|
-
- app/components/marty/script_form/
|
347
|
-
- app/components/marty/script_form/
|
348
|
-
- app/components/marty/script_form/
|
349
|
-
- app/components/marty/script_form/
|
201
|
+
- app/components/marty/script_form/client/Ext.ux.form.field.CodeMirror.js
|
202
|
+
- app/components/marty/script_form/client/codemirror.css
|
203
|
+
- app/components/marty/script_form/client/codemirror.js
|
204
|
+
- app/components/marty/script_form/client/delorean.css
|
205
|
+
- app/components/marty/script_form/client/mode/clike/clike.js
|
206
|
+
- app/components/marty/script_form/client/mode/clike/index.html
|
207
|
+
- app/components/marty/script_form/client/mode/clike/scala.html
|
208
|
+
- app/components/marty/script_form/client/mode/clojure/clojure.js
|
209
|
+
- app/components/marty/script_form/client/mode/clojure/index.html
|
210
|
+
- app/components/marty/script_form/client/mode/coffeescript/LICENSE
|
211
|
+
- app/components/marty/script_form/client/mode/coffeescript/coffeescript.js
|
212
|
+
- app/components/marty/script_form/client/mode/coffeescript/index.html
|
213
|
+
- app/components/marty/script_form/client/mode/commonlisp/commonlisp.js
|
214
|
+
- app/components/marty/script_form/client/mode/commonlisp/index.html
|
215
|
+
- app/components/marty/script_form/client/mode/css/css.js
|
216
|
+
- app/components/marty/script_form/client/mode/css/index.html
|
217
|
+
- app/components/marty/script_form/client/mode/css/test.js
|
218
|
+
- app/components/marty/script_form/client/mode/delorean/delorean.js
|
219
|
+
- app/components/marty/script_form/client/mode/diff/diff.js
|
220
|
+
- app/components/marty/script_form/client/mode/diff/index.html
|
221
|
+
- app/components/marty/script_form/client/mode/ecl/ecl.js
|
222
|
+
- app/components/marty/script_form/client/mode/ecl/index.html
|
223
|
+
- app/components/marty/script_form/client/mode/erlang/erlang.js
|
224
|
+
- app/components/marty/script_form/client/mode/erlang/index.html
|
225
|
+
- app/components/marty/script_form/client/mode/gfm/gfm.js
|
226
|
+
- app/components/marty/script_form/client/mode/gfm/index.html
|
227
|
+
- app/components/marty/script_form/client/mode/go/go.js
|
228
|
+
- app/components/marty/script_form/client/mode/go/index.html
|
229
|
+
- app/components/marty/script_form/client/mode/groovy/groovy.js
|
230
|
+
- app/components/marty/script_form/client/mode/groovy/index.html
|
231
|
+
- app/components/marty/script_form/client/mode/haskell/haskell.js
|
232
|
+
- app/components/marty/script_form/client/mode/haskell/index.html
|
233
|
+
- app/components/marty/script_form/client/mode/haxe/haxe.js
|
234
|
+
- app/components/marty/script_form/client/mode/haxe/index.html
|
235
|
+
- app/components/marty/script_form/client/mode/htmlembedded/htmlembedded.js
|
236
|
+
- app/components/marty/script_form/client/mode/htmlembedded/index.html
|
237
|
+
- app/components/marty/script_form/client/mode/htmlmixed/htmlmixed.js
|
238
|
+
- app/components/marty/script_form/client/mode/htmlmixed/index.html
|
239
|
+
- app/components/marty/script_form/client/mode/javascript/index.html
|
240
|
+
- app/components/marty/script_form/client/mode/javascript/javascript.js
|
241
|
+
- app/components/marty/script_form/client/mode/jinja2/index.html
|
242
|
+
- app/components/marty/script_form/client/mode/jinja2/jinja2.js
|
243
|
+
- app/components/marty/script_form/client/mode/less/index.html
|
244
|
+
- app/components/marty/script_form/client/mode/less/less.js
|
245
|
+
- app/components/marty/script_form/client/mode/lua/index.html
|
246
|
+
- app/components/marty/script_form/client/mode/lua/lua.js
|
247
|
+
- app/components/marty/script_form/client/mode/markdown/index.html
|
248
|
+
- app/components/marty/script_form/client/mode/markdown/markdown.js
|
249
|
+
- app/components/marty/script_form/client/mode/markdown/test.js
|
250
|
+
- app/components/marty/script_form/client/mode/mysql/index.html
|
251
|
+
- app/components/marty/script_form/client/mode/mysql/mysql.js
|
252
|
+
- app/components/marty/script_form/client/mode/ntriples/index.html
|
253
|
+
- app/components/marty/script_form/client/mode/ntriples/ntriples.js
|
254
|
+
- app/components/marty/script_form/client/mode/ocaml/index.html
|
255
|
+
- app/components/marty/script_form/client/mode/ocaml/ocaml.js
|
256
|
+
- app/components/marty/script_form/client/mode/pascal/LICENSE
|
257
|
+
- app/components/marty/script_form/client/mode/pascal/index.html
|
258
|
+
- app/components/marty/script_form/client/mode/pascal/pascal.js
|
259
|
+
- app/components/marty/script_form/client/mode/perl/LICENSE
|
260
|
+
- app/components/marty/script_form/client/mode/perl/index.html
|
261
|
+
- app/components/marty/script_form/client/mode/perl/perl.js
|
262
|
+
- app/components/marty/script_form/client/mode/php/index.html
|
263
|
+
- app/components/marty/script_form/client/mode/php/php.js
|
264
|
+
- app/components/marty/script_form/client/mode/pig/index.html
|
265
|
+
- app/components/marty/script_form/client/mode/pig/pig.js
|
266
|
+
- app/components/marty/script_form/client/mode/plsql/index.html
|
267
|
+
- app/components/marty/script_form/client/mode/plsql/plsql.js
|
268
|
+
- app/components/marty/script_form/client/mode/properties/index.html
|
269
|
+
- app/components/marty/script_form/client/mode/properties/properties.js
|
270
|
+
- app/components/marty/script_form/client/mode/python/LICENSE.txt
|
271
|
+
- app/components/marty/script_form/client/mode/python/index.html
|
272
|
+
- app/components/marty/script_form/client/mode/python/python.js
|
273
|
+
- app/components/marty/script_form/client/mode/r/LICENSE
|
274
|
+
- app/components/marty/script_form/client/mode/r/index.html
|
275
|
+
- app/components/marty/script_form/client/mode/r/r.js
|
276
|
+
- app/components/marty/script_form/client/mode/rpm/changes/changes.js
|
277
|
+
- app/components/marty/script_form/client/mode/rpm/changes/index.html
|
278
|
+
- app/components/marty/script_form/client/mode/rpm/spec/index.html
|
279
|
+
- app/components/marty/script_form/client/mode/rpm/spec/spec.css
|
280
|
+
- app/components/marty/script_form/client/mode/rpm/spec/spec.js
|
281
|
+
- app/components/marty/script_form/client/mode/rst/index.html
|
282
|
+
- app/components/marty/script_form/client/mode/rst/rst.js
|
283
|
+
- app/components/marty/script_form/client/mode/ruby/LICENSE
|
284
|
+
- app/components/marty/script_form/client/mode/ruby/index.html
|
285
|
+
- app/components/marty/script_form/client/mode/ruby/ruby.js
|
286
|
+
- app/components/marty/script_form/client/mode/rust/index.html
|
287
|
+
- app/components/marty/script_form/client/mode/rust/rust.js
|
288
|
+
- app/components/marty/script_form/client/mode/scheme/index.html
|
289
|
+
- app/components/marty/script_form/client/mode/scheme/scheme.js
|
290
|
+
- app/components/marty/script_form/client/mode/shell/index.html
|
291
|
+
- app/components/marty/script_form/client/mode/shell/shell.js
|
292
|
+
- app/components/marty/script_form/client/mode/sieve/LICENSE
|
293
|
+
- app/components/marty/script_form/client/mode/sieve/index.html
|
294
|
+
- app/components/marty/script_form/client/mode/sieve/sieve.js
|
295
|
+
- app/components/marty/script_form/client/mode/smalltalk/index.html
|
296
|
+
- app/components/marty/script_form/client/mode/smalltalk/smalltalk.js
|
297
|
+
- app/components/marty/script_form/client/mode/smarty/index.html
|
298
|
+
- app/components/marty/script_form/client/mode/smarty/smarty.js
|
299
|
+
- app/components/marty/script_form/client/mode/sparql/index.html
|
300
|
+
- app/components/marty/script_form/client/mode/sparql/sparql.js
|
301
|
+
- app/components/marty/script_form/client/mode/stex/index.html
|
302
|
+
- app/components/marty/script_form/client/mode/stex/stex.js
|
303
|
+
- app/components/marty/script_form/client/mode/stex/test.js
|
304
|
+
- app/components/marty/script_form/client/mode/tiddlywiki/index.html
|
305
|
+
- app/components/marty/script_form/client/mode/tiddlywiki/tiddlywiki.css
|
306
|
+
- app/components/marty/script_form/client/mode/tiddlywiki/tiddlywiki.js
|
307
|
+
- app/components/marty/script_form/client/mode/tiki/index.html
|
308
|
+
- app/components/marty/script_form/client/mode/tiki/tiki.css
|
309
|
+
- app/components/marty/script_form/client/mode/tiki/tiki.js
|
310
|
+
- app/components/marty/script_form/client/mode/vb/LICENSE.txt
|
311
|
+
- app/components/marty/script_form/client/mode/vb/index.html
|
312
|
+
- app/components/marty/script_form/client/mode/vb/vb.js
|
313
|
+
- app/components/marty/script_form/client/mode/vbscript/index.html
|
314
|
+
- app/components/marty/script_form/client/mode/vbscript/vbscript.js
|
315
|
+
- app/components/marty/script_form/client/mode/velocity/index.html
|
316
|
+
- app/components/marty/script_form/client/mode/velocity/velocity.js
|
317
|
+
- app/components/marty/script_form/client/mode/verilog/index.html
|
318
|
+
- app/components/marty/script_form/client/mode/verilog/verilog.js
|
319
|
+
- app/components/marty/script_form/client/mode/xml/index.html
|
320
|
+
- app/components/marty/script_form/client/mode/xml/xml.js
|
321
|
+
- app/components/marty/script_form/client/mode/xquery/LICENSE
|
322
|
+
- app/components/marty/script_form/client/mode/xquery/index.html
|
323
|
+
- app/components/marty/script_form/client/mode/xquery/test/index.html
|
324
|
+
- app/components/marty/script_form/client/mode/xquery/test/testBase.js
|
325
|
+
- app/components/marty/script_form/client/mode/xquery/test/testEmptySequenceKeyword.js
|
326
|
+
- app/components/marty/script_form/client/mode/xquery/test/testMultiAttr.js
|
327
|
+
- app/components/marty/script_form/client/mode/xquery/test/testNamespaces.js
|
328
|
+
- app/components/marty/script_form/client/mode/xquery/test/testProcessingInstructions.js
|
329
|
+
- app/components/marty/script_form/client/mode/xquery/test/testQuotes.js
|
330
|
+
- app/components/marty/script_form/client/mode/xquery/xquery.js
|
331
|
+
- app/components/marty/script_form/client/mode/yaml/index.html
|
332
|
+
- app/components/marty/script_form/client/mode/yaml/yaml.js
|
333
|
+
- app/components/marty/script_form/client/theme/ambiance.css
|
334
|
+
- app/components/marty/script_form/client/theme/blackboard.css
|
335
|
+
- app/components/marty/script_form/client/theme/cobalt.css
|
336
|
+
- app/components/marty/script_form/client/theme/eclipse.css
|
337
|
+
- app/components/marty/script_form/client/theme/elegant.css
|
338
|
+
- app/components/marty/script_form/client/theme/erlang-dark.css
|
339
|
+
- app/components/marty/script_form/client/theme/lesser-dark.css
|
340
|
+
- app/components/marty/script_form/client/theme/monokai.css
|
341
|
+
- app/components/marty/script_form/client/theme/neat.css
|
342
|
+
- app/components/marty/script_form/client/theme/night.css
|
343
|
+
- app/components/marty/script_form/client/theme/rubyblue.css
|
344
|
+
- app/components/marty/script_form/client/theme/vibrant-ink.css
|
345
|
+
- app/components/marty/script_form/client/theme/xq-dark.css
|
346
|
+
- app/components/marty/script_form/client/util/closetag.js
|
347
|
+
- app/components/marty/script_form/client/util/dialog.css
|
348
|
+
- app/components/marty/script_form/client/util/dialog.js
|
349
|
+
- app/components/marty/script_form/client/util/foldcode.js
|
350
|
+
- app/components/marty/script_form/client/util/formatting.js
|
351
|
+
- app/components/marty/script_form/client/util/javascript-hint.js
|
352
|
+
- app/components/marty/script_form/client/util/loadmode.js
|
353
|
+
- app/components/marty/script_form/client/util/match-highlighter.js
|
354
|
+
- app/components/marty/script_form/client/util/multiplex.js
|
355
|
+
- app/components/marty/script_form/client/util/overlay.js
|
356
|
+
- app/components/marty/script_form/client/util/pig-hint.js
|
357
|
+
- app/components/marty/script_form/client/util/runmode-standalone.js
|
358
|
+
- app/components/marty/script_form/client/util/runmode.js
|
359
|
+
- app/components/marty/script_form/client/util/search.js
|
360
|
+
- app/components/marty/script_form/client/util/searchcursor.js
|
361
|
+
- app/components/marty/script_form/client/util/simple-hint.css
|
362
|
+
- app/components/marty/script_form/client/util/simple-hint.js
|
363
|
+
- app/components/marty/script_form/client/util/xml-hint.js
|
350
364
|
- app/components/marty/script_grid.rb
|
351
365
|
- app/components/marty/script_tester.rb
|
352
366
|
- app/components/marty/scripting.rb
|
353
367
|
- app/components/marty/simple_app.rb
|
354
|
-
- app/components/marty/simple_app/
|
355
|
-
- app/components/marty/simple_app/
|
368
|
+
- app/components/marty/simple_app/client/simple_app.js
|
369
|
+
- app/components/marty/simple_app/client/statusbar_ext.js
|
356
370
|
- app/components/marty/tag_grid.rb
|
357
371
|
- app/components/marty/user_view.rb
|
358
372
|
- app/controllers/marty/application_controller.rb
|
@@ -451,7 +465,8 @@ files:
|
|
451
465
|
- spec/controllers/rpc_import_spec.rb
|
452
466
|
- spec/dummy/README.rdoc
|
453
467
|
- spec/dummy/Rakefile
|
454
|
-
- spec/dummy/app/assets/
|
468
|
+
- spec/dummy/app/assets/client/application.css
|
469
|
+
- spec/dummy/app/assets/client/application.js
|
455
470
|
- spec/dummy/app/controllers/application_controller.rb
|
456
471
|
- spec/dummy/app/controllers/components_controller.rb
|
457
472
|
- spec/dummy/app/helpers/application_helper.rb
|