infopark_fiona7 1.1.0.0.10 → 1.2.0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/fiona7_ui.js +96 -50
  3. data/app/assets/javascripts/scrivito_patches/models/blob.js +21 -0
  4. data/app/assets/javascripts/scrivito_patches/models/obj.js +1 -1
  5. data/app/controllers/fiona7/release_controller.rb +6 -2
  6. data/app/controllers/fiona7/sessions_controller.rb +3 -0
  7. data/app/controllers/fiona7/workflow_controller.rb +46 -0
  8. data/app/helpers/fiona7_login_helper.rb +16 -0
  9. data/app/helpers/fiona7_override_helper.rb +1 -1
  10. data/config/delayed_routes.rb +1 -0
  11. data/config/precedence_routes.rb +92 -0
  12. data/infopark_fiona7.gemspec +2 -2
  13. data/lib/fiona7/blob_id_generator.rb +13 -0
  14. data/lib/fiona7/builder/indirect_blob_builder.rb +71 -0
  15. data/lib/fiona7/builder/lazy_blob_copier.rb +207 -0
  16. data/lib/fiona7/builder/obj_builder.rb +29 -50
  17. data/lib/fiona7/builder/obj_class_builder.rb +20 -0
  18. data/lib/fiona7/controllers/rest_api/blob_controller.rb +19 -0
  19. data/lib/fiona7/controllers/rest_api/obj_controller.rb +8 -4
  20. data/lib/fiona7/controllers/rest_api/workspace_controller.rb +2 -1
  21. data/lib/fiona7/engine.rb +56 -2
  22. data/lib/fiona7/json/obj_decorator.rb +4 -1
  23. data/lib/fiona7/link_converter/fiona_to_scrivito.rb +3 -1
  24. data/lib/fiona7/link_converter/scrivito_to_fiona.rb +12 -1
  25. data/lib/fiona7/mode_switch/cms_routes/scrivito_sdk.rb +1 -71
  26. data/lib/fiona7/mode_switch/cms_routes/scrivito_sdk_slave.rb +1 -71
  27. data/lib/fiona7/recursive_object_finder.rb +32 -8
  28. data/lib/fiona7/routers/rest_api.rb +6 -7
  29. data/lib/fiona7/scrivito_patches/attribute_content.rb +1 -1
  30. data/lib/fiona7/scrivito_patches/attribute_serializer.rb +22 -1
  31. data/lib/fiona7/scrivito_patches/basic_obj.rb +27 -5
  32. data/lib/fiona7/scrivito_patches/cms_backend.rb +3 -22
  33. data/lib/fiona7/scrivito_patches/cms_rest_api.rb +2 -1
  34. data/lib/fiona7/scrivito_patches/cms_routing.rb +2 -2
  35. data/lib/fiona7/scrivito_patches/model_library.rb +3 -3
  36. data/lib/fiona7/scrivito_patches/page_config.rb +21 -1
  37. data/lib/fiona7/scrivito_patches/preset_routes.rb +15 -2
  38. data/lib/fiona7/scrivito_patches/routing_extensions.rb +33 -20
  39. data/lib/fiona7/scrivito_patches/workspace.rb +3 -1
  40. data/lib/fiona7/super_object_finder.rb +63 -0
  41. data/lib/fiona7/type_register.rb +35 -9
  42. data/lib/fiona7/verity_search_engine.rb +1 -1
  43. data/lib/fiona7/version.rb +1 -1
  44. metadata +13 -7
  45. data/config/routes.rb +0 -13
@@ -54,7 +54,7 @@ module Fiona7
54
54
  def initialize(query, options={}, use_released=false)
55
55
  @query = query
56
56
  @query_string = build_query_string(query)
57
- puts "VERITY QUERY:\n#{@query_string}"
57
+ Rails.logger.debug "VERITY QUERY:\n#{@query_string}"
58
58
  @options = default_search_options.merge(options)
59
59
  @use_released ||= use_released
60
60
  end
@@ -1,3 +1,3 @@
1
1
  module Fiona7
2
- VERSION = "1.1.0.0.10"
2
+ VERSION = "1.2.0.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_fiona7
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.0.10
4
+ version: 1.2.0.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Przedmojski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-29 00:00:00.000000000 Z
11
+ date: 2016-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.1.0
33
+ version: 1.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.1.0
40
+ version: 1.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: scrivito_sdk
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 1.18.0
89
+ version: 1.22.3
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 1.18.0
96
+ version: 1.22.3
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mini_magick
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -131,6 +131,7 @@ files:
131
131
  - app/controllers/fiona7/default_scrivito_cms_controller.rb
132
132
  - app/controllers/fiona7/release_controller.rb
133
133
  - app/controllers/fiona7/sessions_controller.rb
134
+ - app/controllers/fiona7/workflow_controller.rb
134
135
  - app/controllers/fiona7_login_page_controller.rb
135
136
  - app/controllers/scrivito/cms_dispatch_controller.rb
136
137
  - app/controllers/scrivito/objs_controller.rb
@@ -149,16 +150,20 @@ files:
149
150
  - app/views/fiona7_login_page/index.html.erb
150
151
  - app/views/layouts/fiona7_login_page_layout.html.erb
151
152
  - app/views/scrivito/ui/index.html.erb
153
+ - config/delayed_routes.rb
152
154
  - config/locales/login.yml
153
155
  - config/locales/permissions.yml
154
- - config/routes.rb
156
+ - config/precedence_routes.rb
155
157
  - infopark_fiona7.gemspec
156
158
  - lib/fiona7/access_permission_check.rb
157
159
  - lib/fiona7/assert.rb
158
160
  - lib/fiona7/attribute_name_mangler.rb
159
161
  - lib/fiona7/attribute_names_from_cms.rb
160
162
  - lib/fiona7/attribute_names_from_queries.rb
163
+ - lib/fiona7/blob_id_generator.rb
161
164
  - lib/fiona7/builder/batch_widget_writer.rb
165
+ - lib/fiona7/builder/indirect_blob_builder.rb
166
+ - lib/fiona7/builder/lazy_blob_copier.rb
162
167
  - lib/fiona7/builder/obj_builder.rb
163
168
  - lib/fiona7/builder/obj_class_builder.rb
164
169
  - lib/fiona7/builder/obj_class_updater.rb
@@ -230,6 +235,7 @@ files:
230
235
  - lib/fiona7/scrivito_user.rb
231
236
  - lib/fiona7/search_engine.rb
232
237
  - lib/fiona7/shadow_classes.rb
238
+ - lib/fiona7/super_object_finder.rb
233
239
  - lib/fiona7/table_switcher.rb
234
240
  - lib/fiona7/type_loader.rb
235
241
  - lib/fiona7/type_register.rb
data/config/routes.rb DELETED
@@ -1,13 +0,0 @@
1
- Rails.application.routes.draw do
2
- get '/_b/:id(/:name)' => 'fiona7/blobs#show', as: :fiona7_blob
3
-
4
- match '/_b/:id(/:name)' => 'fiona7/blobs#query', as: :fiona7_blob_meta, via: [:head]
5
-
6
- post '/_f7/login', to: 'fiona7/sessions#create', as: :fiona7_login
7
-
8
- delete '/_f/logout', to: 'fiona7/sessions#destroy', as: :fiona7_logout
9
-
10
- put '/__scrivito/objs/release(.:format)', to: 'fiona7/release#release', as: :fiona7_release
11
-
12
- get '/__scrivito/objs/:id/release/preview(.:format)', to: 'fiona7/release#preview', as: :fiona7_release_preview
13
- end