infopark_cloud_connector 6.9.4 → 6.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/README +1 -3
- data/app/controllers/cms_controller.rb +7 -0
- data/app/controllers/rails_connector/default_cms_controller.rb +43 -0
- data/app/controllers/rails_connector/objs_controller.rb +29 -0
- data/app/controllers/rails_connector/widget_renderer.rb +1 -1
- data/app/controllers/rails_connector/workspaces_controller.rb +4 -0
- data/app/helpers/cms_helper.rb +7 -0
- data/app/helpers/cms_routing_helper.rb +7 -0
- data/app/helpers/rails_connector/cms_asset_helper.rb +24 -17
- data/app/helpers/rails_connector/cms_tag_helper.rb +9 -6
- data/app/helpers/rails_connector/default_cms_helper.rb +23 -0
- data/app/helpers/rails_connector/default_cms_routing_helper.rb +101 -0
- data/app/helpers/rails_connector/display_helper.rb +4 -30
- data/app/helpers/rails_connector/editing_helper.rb +3 -0
- data/app/helpers/rails_connector/layout_helper.rb +29 -0
- data/app/helpers/rails_connector/table_of_contents_helper.rb +22 -0
- data/app/models/named_link.rb +2 -0
- data/app/views/cms/_index.html.erb +7 -0
- data/app/views/cms/index.html.erb +1 -0
- data/app/views/errors/403_forbidden.html.erb +3 -0
- data/app/views/errors/410_gone.html.erb +7 -0
- data/app/views/rails_connector/_editing_javascript.html.erb +2 -0
- data/config/ca-bundle.crt +1 -1
- data/config/cms_routes.rb +14 -0
- data/config/locales/de.rails_connector.errors.yml +11 -0
- data/config/locales/de.rails_connector.lib.yml +6 -0
- data/config/locales/de.rails_connector.views.yml +9 -0
- data/config/locales/en.rails_connector.errors.yml +10 -0
- data/config/locales/en.rails_connector.lib.yml +6 -0
- data/config/locales/en.rails_connector.views.yml +9 -0
- data/config/routes.rb +4 -0
- data/lib/assets/javascripts/infopark_editing.js +689 -285
- data/lib/assets/stylesheets/infopark_editing.css +17 -0
- data/lib/infopark_cloud_connector.rb +22 -0
- data/lib/obj.rb +3 -0
- data/lib/rails_connector/attribute_content.rb +190 -0
- data/lib/rails_connector/authenticable.rb +30 -0
- data/lib/rails_connector/basic_obj.rb +25 -139
- data/lib/rails_connector/basic_widget.rb +35 -0
- data/lib/rails_connector/cms_accessible.rb +114 -0
- data/lib/rails_connector/cms_cache_storage.rb +1 -1
- data/lib/rails_connector/cms_dispatch_controller.rb +46 -0
- data/lib/rails_connector/cms_env.rb +68 -0
- data/lib/rails_connector/cms_test_request.rb +23 -0
- data/lib/rails_connector/configuration.rb +3 -2
- data/lib/rails_connector/core_extensions.rb +1 -0
- data/lib/rails_connector/core_extensions/time.rb +18 -0
- data/lib/rails_connector/date_attribute.rb +1 -17
- data/lib/rails_connector/engine.rb +57 -0
- data/lib/rails_connector/html_string.rb +19 -0
- data/lib/rails_connector/link.rb +102 -17
- data/lib/rails_connector/link_resolvable.rb +9 -0
- data/lib/rails_connector/migrations/migrator.rb +8 -4
- data/lib/rails_connector/migrations/workspace_lock.rb +3 -2
- data/lib/rails_connector/named_link.rb +1 -1
- data/lib/rails_connector/obj_data_from_service.rb +18 -0
- data/lib/rails_connector/string_tagging.rb +29 -0
- data/lib/rails_connector/type_computer.rb +30 -0
- data/lib/widget.rb +3 -0
- metadata +103 -18
data/lib/rails_connector/link.rb
CHANGED
@@ -6,9 +6,17 @@ module RailsConnector
|
|
6
6
|
|
7
7
|
extend ActiveModel::Naming
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
# Create a new link obj
|
10
|
+
# @api public
|
11
|
+
# @param [Hash] link_data
|
12
|
+
# @option link_data [String] url
|
13
|
+
# @option link_data [RailsConnector::BasicObj] obj
|
14
|
+
# @option link_data [String] title
|
15
|
+
# @option link_data [String] query
|
16
|
+
# @option link_data [String] target
|
17
|
+
# @option link_data [String] fragment
|
18
|
+
def initialize(link_data)
|
19
|
+
@link_data = link_data.with_indifferent_access
|
12
20
|
end
|
13
21
|
|
14
22
|
# The link's external url. Only available for external links.
|
@@ -19,12 +27,41 @@ module RailsConnector
|
|
19
27
|
@link_data[:url]
|
20
28
|
end
|
21
29
|
|
30
|
+
# Set the link's external url. This will lead to an external link.
|
31
|
+
# @api public
|
32
|
+
# @param value [String] the url of the link
|
33
|
+
def url=(value)
|
34
|
+
@link_data[:url] = value
|
35
|
+
end
|
36
|
+
|
37
|
+
# Returns the (+Obj+) this link is referencing. May be nil if the
|
38
|
+
# link is external.
|
39
|
+
# @api public
|
40
|
+
def obj
|
41
|
+
@link_data[:obj]
|
42
|
+
end
|
43
|
+
|
44
|
+
# Set the (+Obj+) this link is referencing. May be nil if the
|
45
|
+
# link is external.
|
46
|
+
# @api public
|
47
|
+
# @param value [RailsConnector::BasicObj] the obj this link should be referencing
|
48
|
+
def obj=(value)
|
49
|
+
@link_data[:obj] = value
|
50
|
+
end
|
51
|
+
|
22
52
|
# The link's title.
|
23
53
|
# @api public
|
24
54
|
def title
|
25
55
|
@link_data[:title]
|
26
56
|
end
|
27
57
|
|
58
|
+
# Set the link's title.
|
59
|
+
# @api public
|
60
|
+
# @param value [String] the link's title
|
61
|
+
def title=(value)
|
62
|
+
@link_data[:title] = value
|
63
|
+
end
|
64
|
+
|
28
65
|
# Returns the link's query string as in "index.html?query_string".
|
29
66
|
# See RFC3986 for details (http://www.ietf.org/rfc/rfc3986.txt).
|
30
67
|
# @api public
|
@@ -32,12 +69,12 @@ module RailsConnector
|
|
32
69
|
@link_data[:query]
|
33
70
|
end
|
34
71
|
|
35
|
-
#
|
36
|
-
# Returns the link's query string as in "index.html?query_string".
|
72
|
+
# Set the link's query string as in "index.html?query_string".
|
37
73
|
# See RFC3986 for details (http://www.ietf.org/rfc/rfc3986.txt).
|
38
74
|
# @api public
|
39
|
-
|
40
|
-
|
75
|
+
# @param value [String] the query string of the link
|
76
|
+
def query=(value)
|
77
|
+
@link_data[:query] = value
|
41
78
|
end
|
42
79
|
|
43
80
|
# Returns the link's anchor as in "index.html#anchor".
|
@@ -47,6 +84,14 @@ module RailsConnector
|
|
47
84
|
@link_data[:fragment]
|
48
85
|
end
|
49
86
|
|
87
|
+
# Set the link's anchor as in "index.html#anchor".
|
88
|
+
# See RFC3986 for details (http://www.ietf.org/rfc/rfc3986.txt).
|
89
|
+
# @api public
|
90
|
+
# @param value [String] the anchor or fragement of the link
|
91
|
+
def fragment=(value)
|
92
|
+
@link_data[:fragment] = value
|
93
|
+
end
|
94
|
+
|
50
95
|
# Returns the browser window or browser frame to be used as a target for this link.
|
51
96
|
# Example: Links that should be opened in a new window will return "_blank" as their target.
|
52
97
|
# @api public
|
@@ -54,6 +99,14 @@ module RailsConnector
|
|
54
99
|
@link_data[:target]
|
55
100
|
end
|
56
101
|
|
102
|
+
# Set the browser window or browser frame to be used as a target for this link.
|
103
|
+
# Example: Links that should be opened in a new window will return "_blank" as their target.
|
104
|
+
# @api public
|
105
|
+
# @param value [String] the target of the link
|
106
|
+
def target=(value)
|
107
|
+
@link_data[:target] = value
|
108
|
+
end
|
109
|
+
|
57
110
|
def id
|
58
111
|
@link_data[:link_id]
|
59
112
|
end
|
@@ -62,12 +115,16 @@ module RailsConnector
|
|
62
115
|
@link_data[:tag_name]
|
63
116
|
end
|
64
117
|
|
118
|
+
def tag_name=(value)
|
119
|
+
@link_data[:tag_name] = value
|
120
|
+
end
|
121
|
+
|
65
122
|
# Returns the file extension (e.g. zip, pdf) of this link's (internal or external) target.
|
66
123
|
# Returns an empty string if the file extension is can not be determined.
|
67
124
|
# @api public
|
68
125
|
def file_extension
|
69
126
|
if internal?
|
70
|
-
|
127
|
+
obj ? obj.file_extension : ""
|
71
128
|
else
|
72
129
|
path = URI.parse(url).path rescue nil
|
73
130
|
path.blank? ? "" : File.extname(path)[1..-1] || ""
|
@@ -76,8 +133,10 @@ module RailsConnector
|
|
76
133
|
|
77
134
|
# Returns the id of the Links' destination_object.
|
78
135
|
# @api public
|
136
|
+
# @deprecated use {#obj}.id instead
|
79
137
|
def destination_object_id
|
80
|
-
|
138
|
+
deprecation_warning(:destination_object_id, 'obj.id')
|
139
|
+
obj.id
|
81
140
|
end
|
82
141
|
|
83
142
|
# Returns the title of this Link if it is set.
|
@@ -86,7 +145,7 @@ module RailsConnector
|
|
86
145
|
# @api public
|
87
146
|
def display_title
|
88
147
|
dt = title
|
89
|
-
dt =
|
148
|
+
dt = obj.display_title if dt.blank? && !external?
|
90
149
|
dt = url if dt.blank?
|
91
150
|
dt
|
92
151
|
end
|
@@ -107,7 +166,7 @@ module RailsConnector
|
|
107
166
|
# An external Link is always active.
|
108
167
|
# @api public
|
109
168
|
def active?
|
110
|
-
external? || (
|
169
|
+
external? || (obj && obj.active?)
|
111
170
|
end
|
112
171
|
|
113
172
|
def external_prefix?
|
@@ -121,20 +180,46 @@ module RailsConnector
|
|
121
180
|
# Returns the destination object (+Obj+) of this Link. May be nil if the
|
122
181
|
# link is external or internal without an existing destination object.
|
123
182
|
# @api public
|
183
|
+
# @deprecated use {#obj} instead
|
124
184
|
def destination_object
|
125
|
-
|
126
|
-
|
127
|
-
|
185
|
+
deprecation_warning(:destination_object, :obj)
|
186
|
+
obj
|
187
|
+
end
|
188
|
+
|
189
|
+
def html_attribute_snippet
|
190
|
+
parts = []
|
191
|
+
parts << %{alt="#{title}"} if tag_name == 'img' || tag_name == 'input'
|
192
|
+
parts << %{title="#{title}"} if (tag_name == 'a' || tag_name == 'link') && title.present?
|
193
|
+
parts << %{target="#{target}"} if target.present?
|
194
|
+
parts.join(' ')
|
195
|
+
end
|
196
|
+
|
197
|
+
def query_and_fragment
|
198
|
+
str = ''
|
199
|
+
str << "?#{query}" if query.present?
|
200
|
+
str << "##{fragment}" if fragment.present?
|
201
|
+
str
|
202
|
+
end
|
203
|
+
|
204
|
+
def internal_url
|
205
|
+
"objid:#{obj.id}"
|
206
|
+
end
|
207
|
+
|
208
|
+
def external_url
|
209
|
+
external_prefix? ? url.gsub(/external:/, '').strip : url
|
128
210
|
end
|
129
211
|
|
130
212
|
private
|
131
213
|
|
132
214
|
def resolved_internal?
|
133
|
-
internal? && !
|
215
|
+
internal? && !obj.nil?
|
134
216
|
end
|
135
217
|
|
136
|
-
def
|
137
|
-
|
218
|
+
def deprecation_warning(method, alternative)
|
219
|
+
ActiveSupport::Deprecation.warn(
|
220
|
+
"[DEPRECATION] The medod #{method} will be removed from the RailsConnector. Please use #{alternative} instead"
|
221
|
+
)
|
138
222
|
end
|
223
|
+
|
139
224
|
end
|
140
225
|
end
|
@@ -4,10 +4,10 @@ module RailsConnector
|
|
4
4
|
attr_reader :migrations
|
5
5
|
attr_reader :workspace_lock
|
6
6
|
|
7
|
-
def initialize
|
7
|
+
def initialize(migration_store=nil, workspace_lock=nil)
|
8
8
|
@migrations = determine_migrations
|
9
|
-
@migration_store = MigrationStore.instance
|
10
|
-
@workspace_lock = WorkspaceLock.instance
|
9
|
+
@migration_store = migration_store || MigrationStore.instance
|
10
|
+
@workspace_lock = workspace_lock || WorkspaceLock.instance
|
11
11
|
|
12
12
|
validate
|
13
13
|
end
|
@@ -21,6 +21,10 @@ module RailsConnector
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
+
def needs_migration?
|
25
|
+
runnable.present?
|
26
|
+
end
|
27
|
+
|
24
28
|
def publish
|
25
29
|
remove_workspace_with do
|
26
30
|
CmsRestApi.put("workspaces/#{workspace.id}/publish", {})
|
@@ -122,4 +126,4 @@ module RailsConnector
|
|
122
126
|
end
|
123
127
|
end
|
124
128
|
end
|
125
|
-
end
|
129
|
+
end
|
@@ -7,8 +7,9 @@ module RailsConnector
|
|
7
7
|
|
8
8
|
def validate(workspace)
|
9
9
|
unless exists? && workspace.revision_id == File.read(filename)
|
10
|
-
raise RailsConnectorError.new("
|
11
|
-
|
10
|
+
raise RailsConnectorError.new("There is a migration in progress right now. \
|
11
|
+
Please try again after the migration working copy '#{workspace.id}' has \
|
12
|
+
been published or removed.")
|
12
13
|
end
|
13
14
|
end
|
14
15
|
|
@@ -6,6 +6,8 @@ module RailsConnector
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def value_and_type_of(attribute_name)
|
9
|
+
return value_and_type_of_widget_pool if attribute_name == BasicObj::WIDGET_POOL_ATTRIBUTE_NAME
|
10
|
+
|
9
11
|
value_and_type = @data[attribute_name]
|
10
12
|
|
11
13
|
if value_and_type.blank?
|
@@ -28,6 +30,22 @@ module RailsConnector
|
|
28
30
|
|
29
31
|
private
|
30
32
|
|
33
|
+
def value_and_type_of_widget_pool
|
34
|
+
[value_of_widget_pool, nil]
|
35
|
+
end
|
36
|
+
|
37
|
+
def value_of_widget_pool
|
38
|
+
raw_value_of_widget_pool.dup.tap do |hash|
|
39
|
+
hash.each_pair do |widget_id, raw_widget_data|
|
40
|
+
hash[widget_id] = self.class.new(raw_widget_data)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def raw_value_of_widget_pool
|
46
|
+
@data[BasicObj::WIDGET_POOL_ATTRIBUTE_NAME].first
|
47
|
+
end
|
48
|
+
|
31
49
|
def is_custom_attribute?(attribute_name)
|
32
50
|
!attribute_name.starts_with?('_')
|
33
51
|
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module RailsConnector
|
2
|
+
|
3
|
+
# adds flavour to strings
|
4
|
+
module StringTagging
|
5
|
+
|
6
|
+
# html flavour
|
7
|
+
def self.tag_as_html(string, source)
|
8
|
+
unless string.blank?
|
9
|
+
class << string
|
10
|
+
include RailsConnector::HtmlString
|
11
|
+
end
|
12
|
+
string.source = source
|
13
|
+
end
|
14
|
+
string
|
15
|
+
end
|
16
|
+
|
17
|
+
# markdown flavour
|
18
|
+
def self.tag_as_markdown(string, source)
|
19
|
+
unless string.blank?
|
20
|
+
class << string
|
21
|
+
include RailsConnector::MarkdownString
|
22
|
+
end
|
23
|
+
string.source = source
|
24
|
+
end
|
25
|
+
string
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module RailsConnector
|
2
|
+
|
3
|
+
class TypeComputer
|
4
|
+
def initialize(base_class, fallback_class)
|
5
|
+
@base_class, @fallback_class = base_class, fallback_class
|
6
|
+
@type_cache = {}
|
7
|
+
end
|
8
|
+
|
9
|
+
def compute_type(obj_class)
|
10
|
+
@type_cache.fetch(obj_class) { calculate_type(obj_class) }
|
11
|
+
end
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def calculate_type(obj_class)
|
16
|
+
load_class(obj_class) || @fallback_class
|
17
|
+
end
|
18
|
+
|
19
|
+
def load_class(obj_class)
|
20
|
+
klass = obj_class.constantize
|
21
|
+
klass if inherits_from_base?(klass)
|
22
|
+
rescue NameError
|
23
|
+
end
|
24
|
+
|
25
|
+
def inherits_from_base?(klass)
|
26
|
+
klass.ancestors.include?(@base_class) && klass != @base_class
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
data/lib/widget.rb
ADDED
metadata
CHANGED
@@ -1,20 +1,76 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_cloud_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.9.
|
5
|
-
prerelease:
|
4
|
+
version: 6.9.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Infopark AG
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-10-24 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.2.13
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.2.13
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: !binary |-
|
34
|
+
MC45LjIuMg==
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ! '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: !binary |-
|
42
|
+
MC45LjIuMg==
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: json
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ! '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 1.7.7
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ! '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 1.7.7
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: jquery-rails
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ~>
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 2.2.1
|
64
|
+
type: :runtime
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 2.2.1
|
14
71
|
- !ruby/object:Gem::Dependency
|
15
72
|
name: rest-client
|
16
73
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
74
|
requirements:
|
19
75
|
- - ~>
|
20
76
|
- !ruby/object:Gem::Version
|
@@ -22,7 +78,6 @@ dependencies:
|
|
22
78
|
type: :runtime
|
23
79
|
prerelease: false
|
24
80
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
81
|
requirements:
|
27
82
|
- - ~>
|
28
83
|
- !ruby/object:Gem::Version
|
@@ -30,23 +85,22 @@ dependencies:
|
|
30
85
|
- !ruby/object:Gem::Dependency
|
31
86
|
name: nokogiri
|
32
87
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
88
|
requirements:
|
35
89
|
- - ~>
|
36
90
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
91
|
+
version: !binary |-
|
92
|
+
MS41LjY=
|
38
93
|
type: :runtime
|
39
94
|
prerelease: false
|
40
95
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
96
|
requirements:
|
43
97
|
- - ~>
|
44
98
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
99
|
+
version: !binary |-
|
100
|
+
MS41LjY=
|
46
101
|
- !ruby/object:Gem::Dependency
|
47
102
|
name: addressable
|
48
103
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
104
|
requirements:
|
51
105
|
- - ~>
|
52
106
|
- !ruby/object:Gem::Version
|
@@ -54,7 +108,6 @@ dependencies:
|
|
54
108
|
type: :runtime
|
55
109
|
prerelease: false
|
56
110
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
111
|
requirements:
|
59
112
|
- - ~>
|
60
113
|
- !ruby/object:Gem::Version
|
@@ -69,24 +122,44 @@ extra_rdoc_files: []
|
|
69
122
|
files:
|
70
123
|
- .yardopts
|
71
124
|
- README
|
125
|
+
- app/controllers/cms_controller.rb
|
72
126
|
- app/controllers/rails_connector/blobs_controller.rb
|
127
|
+
- app/controllers/rails_connector/default_cms_controller.rb
|
73
128
|
- app/controllers/rails_connector/objs_controller.rb
|
74
129
|
- app/controllers/rails_connector/tasks_controller.rb
|
75
130
|
- app/controllers/rails_connector/webservice_controller.rb
|
76
131
|
- app/controllers/rails_connector/widget_renderer.rb
|
77
132
|
- app/controllers/rails_connector/workspaces_controller.rb
|
133
|
+
- app/helpers/cms_helper.rb
|
134
|
+
- app/helpers/cms_routing_helper.rb
|
78
135
|
- app/helpers/rails_connector/cms_asset_helper.rb
|
79
136
|
- app/helpers/rails_connector/cms_tag_helper.rb
|
137
|
+
- app/helpers/rails_connector/default_cms_helper.rb
|
138
|
+
- app/helpers/rails_connector/default_cms_routing_helper.rb
|
80
139
|
- app/helpers/rails_connector/display_helper.rb
|
81
140
|
- app/helpers/rails_connector/editing_helper.rb
|
141
|
+
- app/helpers/rails_connector/layout_helper.rb
|
82
142
|
- app/helpers/rails_connector/marker_helper.rb
|
143
|
+
- app/helpers/rails_connector/table_of_contents_helper.rb
|
83
144
|
- app/helpers/rails_connector/widget_helper.rb
|
145
|
+
- app/models/named_link.rb
|
146
|
+
- app/views/cms/_index.html.erb
|
147
|
+
- app/views/cms/index.html.erb
|
148
|
+
- app/views/errors/403_forbidden.html.erb
|
149
|
+
- app/views/errors/410_gone.html.erb
|
84
150
|
- app/views/rails_connector/_editing_javascript.html.erb
|
85
151
|
- app/views/rails_connector/objs/create_widget.html.erb
|
86
152
|
- app/views/rails_connector/objs/show.html.erb
|
87
153
|
- config/ca-bundle.crt
|
154
|
+
- config/cms_routes.rb
|
155
|
+
- config/locales/de.rails_connector.errors.yml
|
156
|
+
- config/locales/de.rails_connector.lib.yml
|
88
157
|
- config/locales/de.rails_connector.models.yml
|
158
|
+
- config/locales/de.rails_connector.views.yml
|
159
|
+
- config/locales/en.rails_connector.errors.yml
|
160
|
+
- config/locales/en.rails_connector.lib.yml
|
89
161
|
- config/locales/en.rails_connector.models.yml
|
162
|
+
- config/locales/en.rails_connector.views.yml
|
90
163
|
- config/routes.rb
|
91
164
|
- lib/assets/fonts/infopark_icons-webfont.eot
|
92
165
|
- lib/assets/fonts/infopark_icons-webfont.ttf
|
@@ -102,17 +175,25 @@ files:
|
|
102
175
|
- lib/generators/cms/migration/migration_generator.rb
|
103
176
|
- lib/generators/cms/migration/templates/migration.rb
|
104
177
|
- lib/infopark_cloud_connector.rb
|
178
|
+
- lib/obj.rb
|
105
179
|
- lib/rails_connector/access_denied.rb
|
180
|
+
- lib/rails_connector/attribute_content.rb
|
181
|
+
- lib/rails_connector/authenticable.rb
|
106
182
|
- lib/rails_connector/backend_not_available.rb
|
107
183
|
- lib/rails_connector/basic_obj.rb
|
184
|
+
- lib/rails_connector/basic_widget.rb
|
108
185
|
- lib/rails_connector/blob.rb
|
109
186
|
- lib/rails_connector/cache.rb
|
110
187
|
- lib/rails_connector/cache_middleware.rb
|
111
188
|
- lib/rails_connector/client_error.rb
|
112
189
|
- lib/rails_connector/cloud_engine.rb
|
190
|
+
- lib/rails_connector/cms_accessible.rb
|
113
191
|
- lib/rails_connector/cms_backend.rb
|
114
192
|
- lib/rails_connector/cms_cache_storage.rb
|
193
|
+
- lib/rails_connector/cms_dispatch_controller.rb
|
194
|
+
- lib/rails_connector/cms_env.rb
|
115
195
|
- lib/rails_connector/cms_rest_api.rb
|
196
|
+
- lib/rails_connector/cms_test_request.rb
|
116
197
|
- lib/rails_connector/configuration.rb
|
117
198
|
- lib/rails_connector/content_conversion.rb
|
118
199
|
- lib/rails_connector/content_service.rb
|
@@ -120,9 +201,14 @@ files:
|
|
120
201
|
- lib/rails_connector/content_state_caching.rb
|
121
202
|
- lib/rails_connector/content_state_visitor.rb
|
122
203
|
- lib/rails_connector/controller_runtime.rb
|
204
|
+
- lib/rails_connector/core_extensions.rb
|
205
|
+
- lib/rails_connector/core_extensions/time.rb
|
123
206
|
- lib/rails_connector/date_attribute.rb
|
207
|
+
- lib/rails_connector/engine.rb
|
124
208
|
- lib/rails_connector/errors.rb
|
209
|
+
- lib/rails_connector/html_string.rb
|
125
210
|
- lib/rails_connector/link.rb
|
211
|
+
- lib/rails_connector/link_resolvable.rb
|
126
212
|
- lib/rails_connector/log_subscriber.rb
|
127
213
|
- lib/rails_connector/migration.rb
|
128
214
|
- lib/rails_connector/migrations.rb
|
@@ -139,36 +225,35 @@ files:
|
|
139
225
|
- lib/rails_connector/obj_data_from_service.rb
|
140
226
|
- lib/rails_connector/obj_search_enumerator.rb
|
141
227
|
- lib/rails_connector/rack_middlewares.rb
|
228
|
+
- lib/rails_connector/string_tagging.rb
|
229
|
+
- lib/rails_connector/type_computer.rb
|
142
230
|
- lib/rails_connector/workspace.rb
|
143
231
|
- lib/rails_connector/workspace_data_from_service.rb
|
144
232
|
- lib/rails_connector/workspace_selection_middleware.rb
|
145
233
|
- lib/tasks/migration.rake
|
234
|
+
- lib/widget.rb
|
146
235
|
homepage: http://www.infopark.de
|
147
236
|
licenses: []
|
237
|
+
metadata: {}
|
148
238
|
post_install_message:
|
149
239
|
rdoc_options: []
|
150
240
|
require_paths:
|
151
241
|
- lib
|
152
242
|
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
243
|
requirements:
|
155
244
|
- - ! '>='
|
156
245
|
- !ruby/object:Gem::Version
|
157
246
|
version: '0'
|
158
|
-
segments:
|
159
|
-
- 0
|
160
|
-
hash: -496420947
|
161
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
248
|
requirements:
|
164
249
|
- - ! '>='
|
165
250
|
- !ruby/object:Gem::Version
|
166
251
|
version: 1.3.5
|
167
252
|
requirements: []
|
168
253
|
rubyforge_project:
|
169
|
-
rubygems_version: 1.
|
254
|
+
rubygems_version: 2.1.5
|
170
255
|
signing_key:
|
171
|
-
specification_version:
|
256
|
+
specification_version: 4
|
172
257
|
summary: Infopark Cloud Connector
|
173
258
|
test_files: []
|
174
259
|
has_rdoc: yard
|