infopark_rails_connector 6.8.0.beta.200.891.647580e → 6.8.0.15.a24f5ff

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@ a.nps_edit_marker:hover,a.nps_edit_marker:active {opacity:1;}
33
33
 
34
34
 
35
35
  /*** Marker Menu Transparenz IE 6 ***/
36
- *html .nps_marker_menu div.core { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='bg80.png', sizingMethod='scale');}
36
+ * html .nps_marker_menu div.core { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='bg80.png', sizingMethod='scale');}
37
37
 
38
38
  /*** Marker Menu Button Transparenz IE ***/
39
39
  a.nps_marker_menu_button {
@@ -13,8 +13,8 @@ module RailsConnector
13
13
  #
14
14
  # For use in views, hits are stored in the <tt>@hits</tt> variable.
15
15
  # Pagination is done using the limit option (defaults to 10).
16
- # You can change that limit by configuring
17
- # <tt>RailsConnector::Configuration.search_options = {:limit => X}</tt>.
16
+ # You can change that limit by subclassing <tt>DefaultSearchController</tt>
17
+ # and then overwriting to <tt>CustomSearchController.options = {:limit => X}</tt>.
18
18
  #
19
19
  # To customize the pagination, you should subclass DefaultSearchController:
20
20
  #
@@ -4,7 +4,6 @@
4
4
  <%= display_field hit.obj, :title, :marker => false %>
5
5
  </a></h3>
6
6
  <p class = 'hitDetails'>
7
- <span class="hitScore"><%= (hit.score * 100).to_i %>%</span>,
8
7
  <span class="hitExtension"><%= display_value hit.obj.file_extension %></span>,
9
8
  <span class="hitLastChanged"><%= display_value hit.obj.last_changed %></span>
10
9
  </p>
@@ -30,6 +30,9 @@ module RailsConnector
30
30
  # default options for SearchRequest
31
31
  attr_writer :search_options
32
32
 
33
+ # default options for CMS API
34
+ attr_writer :cms_api_options
35
+
33
36
  # Cache also editable workspaces.
34
37
  # Editable workspaces will be cached until the cache is cleared manually.
35
38
  # Should never be used in a production environment.
@@ -39,10 +42,18 @@ module RailsConnector
39
42
  # when creating a new user registration (default: true).
40
43
  attr_accessor :use_recaptcha_on_user_registration
41
44
 
45
+ # define a non-default blob cache dir.
46
+ # `fiona connector` only. has no effect when used with the `cloud connector`.
47
+ attr_accessor :blob_cache_dir
48
+
42
49
  def search_options
43
50
  @search_options || local_config_file["search"].symbolize_keys
44
51
  end
45
52
 
53
+ def cms_api_options
54
+ @cms_api_options || local_config_file["cms_api"].symbolize_keys
55
+ end
56
+
46
57
  def mode=(new_mode) #:nodoc:#
47
58
  new_mode = new_mode.to_sym
48
59
  raise ArgumentError, "Unknown Mode #{new_mode}" unless [:editor, :preview, :live].include?(new_mode)
@@ -237,6 +248,10 @@ module RailsConnector
237
248
  "search",
238
249
  "a hash of options that specify access to the search server"
239
250
  )
251
+ config.explain(
252
+ "cms_api",
253
+ "a hash of options that specify access to the cms api"
254
+ )
240
255
 
241
256
  config
242
257
  end
metadata CHANGED
@@ -1,18 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_rails_connector
3
3
  version: !ruby/object:Gem::Version
4
- hash: -564191919
5
- prerelease: 6
4
+ hash: 630037734
5
+ prerelease: 9
6
6
  segments:
7
7
  - 6
8
8
  - 8
9
9
  - 0
10
- - beta
11
- - 200
12
- - 891
13
- - 647580
14
- - e
15
- version: 6.8.0.beta.200.891.647580e
10
+ - 15
11
+ - a
12
+ - 24
13
+ - f
14
+ - 5
15
+ - ff
16
+ version: 6.8.0.15.a24f5ff
16
17
  platform: ruby
17
18
  authors:
18
19
  - Infopark AG
@@ -20,7 +21,7 @@ autorequire:
20
21
  bindir: bin
21
22
  cert_chain: []
22
23
 
23
- date: 2012-08-29 00:00:00 +02:00
24
+ date: 2012-09-13 00:00:00 +02:00
24
25
  default_executable:
25
26
  dependencies:
26
27
  - !ruby/object:Gem::Dependency
@@ -207,55 +208,55 @@ executables: []
207
208
  extensions: []
208
209
 
209
210
  extra_rdoc_files:
211
+ - app/models/named_link.rb
212
+ - app/models/crm_form.rb
213
+ - app/models/rails_connector/default_comment.rb
214
+ - app/models/rails_connector/default_rating.rb
215
+ - app/models/rails_connector/link_list.rb
216
+ - app/models/obj.rb
210
217
  - app/mailers/confirmation_mailer.rb
211
- - app/controllers/ratings_controller.rb
212
- - app/controllers/pdf_controller.rb
218
+ - app/controllers/cms_controller.rb
213
219
  - app/controllers/seo_sitemap_controller.rb
214
- - app/controllers/rss_controller.rb
215
220
  - app/controllers/comments_controller.rb
216
- - app/controllers/user_controller.rb
217
- - app/controllers/crm_form_controller.rb
218
- - app/controllers/cms_controller.rb
219
- - app/controllers/rails_connector/default_pdf_controller.rb
220
221
  - app/controllers/rails_connector/default_comments_controller.rb
221
- - app/controllers/rails_connector/default_user_controller.rb
222
+ - app/controllers/rails_connector/default_cms_controller.rb
222
223
  - app/controllers/rails_connector/pdf_external_controller.rb
223
224
  - app/controllers/rails_connector/default_search_controller.rb
224
- - app/controllers/rails_connector/default_cms_controller.rb
225
- - app/controllers/rails_connector/time_machine_controller.rb
225
+ - app/controllers/rails_connector/default_user_controller.rb
226
226
  - app/controllers/rails_connector/default_rss_controller.rb
227
- - app/controllers/rails_connector/default_crm_form_controller.rb
227
+ - app/controllers/rails_connector/time_machine_controller.rb
228
228
  - app/controllers/rails_connector/default_ratings_controller.rb
229
+ - app/controllers/rails_connector/default_crm_form_controller.rb
230
+ - app/controllers/rails_connector/default_pdf_controller.rb
231
+ - app/controllers/ratings_controller.rb
232
+ - app/controllers/rss_controller.rb
233
+ - app/controllers/user_controller.rb
234
+ - app/controllers/crm_form_controller.rb
229
235
  - app/controllers/search_controller.rb
230
- - app/models/obj.rb
231
- - app/models/named_link.rb
232
- - app/models/crm_form.rb
233
- - app/models/rails_connector/default_rating.rb
234
- - app/models/rails_connector/link_list.rb
235
- - app/models/rails_connector/default_comment.rb
236
- - app/helpers/cms_helper.rb
237
- - app/helpers/cms_routing_helper.rb
236
+ - app/controllers/pdf_controller.rb
238
237
  - app/helpers/crm_form_helper.rb
239
- - app/helpers/ratings_helper.rb
240
238
  - app/helpers/user_helper.rb
241
- - app/helpers/rails_connector/time_machine_helper.rb
242
- - app/helpers/rails_connector/display_helper.rb
239
+ - app/helpers/rails_connector/default_cms_helper.rb
243
240
  - app/helpers/rails_connector/error_messages_helper.rb
241
+ - app/helpers/rails_connector/marker_helper.rb
244
242
  - app/helpers/rails_connector/default_crm_form_helper.rb
245
- - app/helpers/rails_connector/table_of_contents_helper.rb
246
- - app/helpers/rails_connector/cms_asset_helper.rb
247
- - app/helpers/rails_connector/menu_helper.rb
248
243
  - app/helpers/rails_connector/seo_helper.rb
249
- - app/helpers/rails_connector/tracking_helper.rb
250
- - app/helpers/rails_connector/layout_helper.rb
251
- - app/helpers/rails_connector/marker_helper.rb
252
244
  - app/helpers/rails_connector/micronav_helper.rb
253
- - app/helpers/rails_connector/default_cms_helper.rb
254
- - app/helpers/rails_connector/default_cms_routing_helper.rb
255
- - app/helpers/rails_connector/default_ratings_helper.rb
256
245
  - app/helpers/rails_connector/link_helper.rb
257
- - app/helpers/rails_connector/mandatory_label_helper.rb
258
246
  - app/helpers/rails_connector/default_user_helper.rb
247
+ - app/helpers/rails_connector/default_cms_routing_helper.rb
248
+ - app/helpers/rails_connector/menu_helper.rb
249
+ - app/helpers/rails_connector/mandatory_label_helper.rb
250
+ - app/helpers/rails_connector/time_machine_helper.rb
251
+ - app/helpers/rails_connector/tracking_helper.rb
252
+ - app/helpers/rails_connector/display_helper.rb
253
+ - app/helpers/rails_connector/table_of_contents_helper.rb
254
+ - app/helpers/rails_connector/default_ratings_helper.rb
255
+ - app/helpers/rails_connector/cms_asset_helper.rb
256
+ - app/helpers/rails_connector/layout_helper.rb
257
+ - app/helpers/cms_routing_helper.rb
258
+ - app/helpers/ratings_helper.rb
259
+ - app/helpers/cms_helper.rb
259
260
  - README
260
261
  files:
261
262
  - app/assets/images/admin/minus.gif