scrivito_sdk 0.60.0 → 0.65.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/app/controllers/scrivito/objs_controller.rb +10 -2
  4. data/app/controllers/scrivito/workspaces_controller.rb +2 -1
  5. data/app/helpers/scrivito_helper.rb +32 -1
  6. data/app/views/scrivito/page_details.html.erb +1 -0
  7. data/app/views/scrivito/{workspaces → webservice}/_workspace.json.jbuilder +0 -0
  8. data/app/views/scrivito/webservice/error.json.jbuilder +1 -1
  9. data/app/views/scrivito/{workspaces/index.json.jbuilder → webservice/workspaces.json.jbuilder} +0 -0
  10. data/config/ca-bundle.crt +1 -1
  11. data/config/precedence_routes.rb +1 -0
  12. data/config/routes.rb +4 -5
  13. data/lib/assets/javascripts/scrivito_ui.js +1875 -1065
  14. data/lib/assets/stylesheets/scrivito_sdk.css +1 -1
  15. data/lib/assets/stylesheets/scrivito_ui.css +1 -1
  16. data/lib/generators/scrivito/install/templates/app/views/page/details.html.erb +3 -1
  17. data/lib/generators/scrivito/page/templates/details.html.erb +3 -1
  18. data/lib/scrivito/attribute_content.rb +159 -17
  19. data/lib/scrivito/attribute_serializer.rb +7 -3
  20. data/lib/scrivito/backend/content_state_node.rb +68 -0
  21. data/lib/scrivito/backend/index.rb +45 -0
  22. data/lib/scrivito/backend/obj_data_cache.rb +68 -0
  23. data/lib/scrivito/backend/obj_data_from_rest.rb +64 -0
  24. data/lib/scrivito/backend/obj_load.rb +45 -0
  25. data/lib/scrivito/backend/obj_query.rb +63 -0
  26. data/lib/scrivito/backend/parent_path_index.rb +21 -0
  27. data/lib/scrivito/backend/path_index.rb +27 -0
  28. data/lib/scrivito/backend/permalink_index.rb +17 -0
  29. data/lib/scrivito/basic_obj.rb +67 -39
  30. data/lib/scrivito/basic_widget.rb +19 -3
  31. data/lib/scrivito/cache_middleware.rb +9 -3
  32. data/lib/scrivito/client_error.rb +3 -3
  33. data/lib/scrivito/cms_backend.rb +64 -18
  34. data/lib/scrivito/cms_data_cache.rb +33 -30
  35. data/lib/scrivito/cms_dispatch_controller.rb +18 -0
  36. data/lib/scrivito/cms_field_tag.rb +3 -2
  37. data/lib/scrivito/cms_rest_api.rb +18 -12
  38. data/lib/scrivito/cms_rest_api/rate_limit.rb +40 -0
  39. data/lib/scrivito/cms_routing.rb +9 -8
  40. data/lib/scrivito/configuration.rb +8 -1
  41. data/lib/scrivito/controller_actions.rb +6 -1
  42. data/lib/scrivito/errors.rb +5 -0
  43. data/lib/scrivito/migrations/cms_backend.rb +2 -0
  44. data/lib/scrivito/named_link.rb +9 -45
  45. data/lib/scrivito/obj_collection.rb +14 -15
  46. data/lib/scrivito/obj_create_params_parser.rb +3 -5
  47. data/lib/scrivito/obj_params_parser.rb +2 -2
  48. data/lib/scrivito/obj_update_params_parser.rb +5 -3
  49. data/lib/scrivito/revision.rb +62 -2
  50. data/lib/scrivito/type_computer.rb +6 -2
  51. data/lib/scrivito/widget_tag.rb +4 -4
  52. data/lib/scrivito/workspace.rb +19 -3
  53. data/lib/scrivito/workspace_data.rb +23 -0
  54. data/lib/scrivito/workspace_data_from_service.rb +11 -28
  55. metadata +31 -7
  56. data/lib/scrivito/workspace_data_from_rest_api.rb +0 -6
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.65.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infopark AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-06 00:00:00.000000000 Z
11
+ date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: 0.9.2.2
153
+ - !ruby/object:Gem::Dependency
154
+ name: memoist
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: 0.12.0
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: 0.12.0
153
167
  description: " Scrivito: A professional Cloud CMS built for Ruby on Rails. "
154
168
  email: info@scrivito.com
155
169
  executables: []
@@ -186,15 +200,16 @@ files:
186
200
  - app/views/scrivito/objs/update.json.jbuilder
187
201
  - app/views/scrivito/objs/widget.json.jbuilder
188
202
  - app/views/scrivito/objs/widget_class_selection.json.jbuilder
203
+ - app/views/scrivito/page_details.html.erb
189
204
  - app/views/scrivito/tasks/show.json.jbuilder
190
205
  - app/views/scrivito/ui/index.html.erb
191
206
  - app/views/scrivito/users/suggest.json.jbuilder
207
+ - app/views/scrivito/webservice/_workspace.json.jbuilder
192
208
  - app/views/scrivito/webservice/empty.json
193
209
  - app/views/scrivito/webservice/error.json.jbuilder
194
- - app/views/scrivito/workspaces/_workspace.json.jbuilder
210
+ - app/views/scrivito/webservice/workspaces.json.jbuilder
195
211
  - app/views/scrivito/workspaces/check.json.jbuilder
196
212
  - app/views/scrivito/workspaces/create.json.jbuilder
197
- - app/views/scrivito/workspaces/index.json.jbuilder
198
213
  - app/views/scrivito/workspaces/show.json.jbuilder
199
214
  - app/views/scrivito/workspaces/task.json.jbuilder
200
215
  - config/ca-bundle.crt
@@ -260,6 +275,15 @@ files:
260
275
  - lib/scrivito/attribute_definition_migrator.rb
261
276
  - lib/scrivito/attribute_deserializer.rb
262
277
  - lib/scrivito/attribute_serializer.rb
278
+ - lib/scrivito/backend/content_state_node.rb
279
+ - lib/scrivito/backend/index.rb
280
+ - lib/scrivito/backend/obj_data_cache.rb
281
+ - lib/scrivito/backend/obj_data_from_rest.rb
282
+ - lib/scrivito/backend/obj_load.rb
283
+ - lib/scrivito/backend/obj_query.rb
284
+ - lib/scrivito/backend/parent_path_index.rb
285
+ - lib/scrivito/backend/path_index.rb
286
+ - lib/scrivito/backend/permalink_index.rb
263
287
  - lib/scrivito/backend_error.rb
264
288
  - lib/scrivito/basic_obj.rb
265
289
  - lib/scrivito/basic_widget.rb
@@ -281,6 +305,7 @@ files:
281
305
  - lib/scrivito/cms_field_tag.rb
282
306
  - lib/scrivito/cms_rest_api.rb
283
307
  - lib/scrivito/cms_rest_api/legacy_attribute_serializer.rb
308
+ - lib/scrivito/cms_rest_api/rate_limit.rb
284
309
  - lib/scrivito/cms_rest_api/widget_extractor.rb
285
310
  - lib/scrivito/cms_routing.rb
286
311
  - lib/scrivito/communication_error.rb
@@ -354,7 +379,6 @@ files:
354
379
  - lib/scrivito/workspace.rb
355
380
  - lib/scrivito/workspace/publish_checker.rb
356
381
  - lib/scrivito/workspace_data.rb
357
- - lib/scrivito/workspace_data_from_rest_api.rb
358
382
  - lib/scrivito/workspace_data_from_service.rb
359
383
  - lib/scrivito/workspace_selection_middleware.rb
360
384
  - lib/scrivito_sdk.rb
@@ -377,9 +401,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
377
401
  version: 2.1.0
378
402
  required_rubygems_version: !ruby/object:Gem::Requirement
379
403
  requirements:
380
- - - ">="
404
+ - - ">"
381
405
  - !ruby/object:Gem::Version
382
- version: '0'
406
+ version: 1.3.1
383
407
  requirements: []
384
408
  rubyforge_project:
385
409
  rubygems_version: 2.4.5
@@ -1,6 +0,0 @@
1
- module Scrivito
2
-
3
- class WorkspaceDataFromRestApi < WorkspaceData
4
- end
5
-
6
- end