forgeos_core 1.9.1 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. data/COPYING +339 -0
  2. data/COPYING.LESSER +165 -0
  3. data/app/assets/images/forgeos/dataTables/Sorting icons.psd +0 -0
  4. data/app/assets/images/forgeos/dataTables/back_disabled.jpg +0 -0
  5. data/app/assets/images/forgeos/dataTables/back_enabled.jpg +0 -0
  6. data/app/assets/images/forgeos/dataTables/favicon.ico +0 -0
  7. data/app/assets/images/forgeos/dataTables/forward_disabled.jpg +0 -0
  8. data/app/assets/images/forgeos/dataTables/forward_enabled.jpg +0 -0
  9. data/app/assets/images/forgeos/dataTables/sort_asc.png +0 -0
  10. data/app/assets/images/forgeos/dataTables/sort_asc_disabled.png +0 -0
  11. data/app/assets/images/forgeos/dataTables/sort_both.png +0 -0
  12. data/app/assets/images/forgeos/dataTables/sort_desc.png +0 -0
  13. data/app/assets/images/forgeos/dataTables/sort_desc_disabled.png +0 -0
  14. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/bubble-quantity-products.png +0 -0
  15. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/check-checked.png +0 -0
  16. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/check-unchecked.png +0 -0
  17. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/context.gif +0 -0
  18. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/create.png +0 -0
  19. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dark-blue-minus.png +0 -0
  20. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dark-blue-plus.png +0 -0
  21. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dot.gif +0 -0
  22. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/f.png +0 -0
  23. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fminus.gif +0 -0
  24. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fminus_rtl.gif +0 -0
  25. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/folder.png +0 -0
  26. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fplus.gif +0 -0
  27. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fplus_rtl.gif +0 -0
  28. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/lastli.gif +0 -0
  29. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/lastli_rtl.gif +0 -0
  30. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/li.gif +0 -0
  31. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/remove.png +0 -0
  32. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/rename.png +0 -0
  33. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/throbber.gif +0 -0
  34. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/brown-minus.png +0 -0
  35. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/brown-plus.png +0 -0
  36. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/bubble-quantity-elements.png +0 -0
  37. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/context.gif +0 -0
  38. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/create.png +0 -0
  39. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/dot.gif +0 -0
  40. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/f.png +0 -0
  41. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fminus.gif +0 -0
  42. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fminus_rtl.gif +0 -0
  43. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fplus.gif +0 -0
  44. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fplus_rtl.gif +0 -0
  45. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/images.png +0 -0
  46. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/lastli.gif +0 -0
  47. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/lastli_rtl.gif +0 -0
  48. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/li.gif +0 -0
  49. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/remove.png +0 -0
  50. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/rename.png +0 -0
  51. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/throbber.gif +0 -0
  52. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/marker.gif +0 -0
  53. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/marker_rtl.gif +0 -0
  54. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/plus.gif +0 -0
  55. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/remove.gif +0 -0
  56. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/remove.png +0 -0
  57. data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/commons.js +8 -3
  58. data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/dataTable.js +2 -2
  59. data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/tinyMCE.js +1 -1
  60. data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/trees.js +202 -257
  61. data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/left-sidebar.js +16 -23
  62. data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/settings.js +5 -5
  63. data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/tabs.js +3 -3
  64. data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/trees.js +2 -45
  65. data/app/assets/javascripts/forgeos/jquery.dataTables.min.js +138 -529
  66. data/app/assets/javascripts/forgeos/jstree/jquery.jstree.js +4544 -0
  67. data/app/assets/stylesheets/forgeos/admin/forgeos_core/_lightbox.css.sass +2 -21
  68. data/app/assets/stylesheets/forgeos/admin/forgeos_core/_settings.css.sass +77 -39
  69. data/app/assets/stylesheets/forgeos/dataTables/demo_table.css +150 -27
  70. data/app/assets/stylesheets/forgeos/jstree/themes/association_categories/style.css.sass +36 -154
  71. data/app/assets/stylesheets/forgeos/jstree/themes/categories/style.css.sass +59 -58
  72. data/app/controllers/admin/accounts_controller.rb +1 -1
  73. data/app/controllers/admin/administrators_controller.rb +13 -4
  74. data/app/controllers/admin/attachments_controller.rb +7 -3
  75. data/app/controllers/admin/base_controller.rbc +1305 -0
  76. data/app/controllers/admin/categories_controller.rb +1 -1
  77. data/app/controllers/admin/dashboard_controller.rbc +361 -0
  78. data/app/controllers/admin/person_sessions_controller.rbc +1248 -0
  79. data/app/controllers/admin/rights_controller.rb +6 -6
  80. data/app/controllers/admin/roles_controller.rb +8 -3
  81. data/app/controllers/admin/users_controller.rb +12 -6
  82. data/app/controllers/forgeos/application_controller.rb +1 -2
  83. data/app/controllers/forgeos/application_controller.rbc +2027 -0
  84. data/app/helpers/admin/attachment_helper.rbc +2340 -0
  85. data/app/helpers/admin/base_helper.rb +0 -15
  86. data/app/helpers/admin/base_helper.rbc +2522 -0
  87. data/app/helpers/forgeos/application_helper.rbc +3152 -0
  88. data/app/models/administrator.rbc +415 -0
  89. data/app/models/category.rb +3 -3
  90. data/app/models/person.rb +5 -9
  91. data/app/models/person.rbc +1498 -0
  92. data/app/models/person_session.rbc +142 -0
  93. data/app/models/right.rbc +432 -0
  94. data/app/models/role.rbc +469 -0
  95. data/app/models/setting.rbc +699 -0
  96. data/app/views/admin/accounts/_form.html.haml +1 -1
  97. data/app/views/admin/administrators/activate.js.erb +1 -0
  98. data/app/views/admin/administrators/destroy.js.erb +1 -0
  99. data/app/views/admin/administrators/index.json.erb +10 -12
  100. data/app/views/admin/attachments/_form.html.haml +2 -2
  101. data/app/views/admin/attachments/destroy.js.erb +1 -0
  102. data/app/views/admin/attachments/index.json.erb +4 -5
  103. data/app/views/admin/categories/_associated_elements.html.haml +4 -8
  104. data/app/views/admin/categories/index.json.erb +1 -1
  105. data/app/views/admin/rights/destroy.js.erb +1 -0
  106. data/app/views/admin/rights/index.json.erb +5 -6
  107. data/app/views/admin/roles/activate.js.erb +1 -0
  108. data/app/views/admin/roles/destroy.js.erb +1 -0
  109. data/app/views/admin/roles/index.json.erb +10 -12
  110. data/app/views/admin/settings/_tabs.html.haml +0 -6
  111. data/app/views/admin/settings/edit.html.haml +19 -16
  112. data/app/views/admin/sidebars/_attachments_popups.html.haml +1 -1
  113. data/app/views/admin/sidebars/_left_sidebar.html.haml +2 -2
  114. data/app/views/admin/users/activate.js.erb +1 -0
  115. data/app/views/admin/users/destroy.js.erb +1 -0
  116. data/app/views/admin/users/index.json.erb +8 -11
  117. data/app/views/admin/visual/_visual_popup.html.haml +2 -2
  118. data/app/views/admin/visual/_visuals_popup.html.haml +1 -1
  119. data/app/views/layouts/admin.html.haml +5 -4
  120. data/app/views/layouts/admin_login.html.haml +3 -3
  121. data/config/initializers/load_settings.rbc +330 -0
  122. data/config/routes.rb +5 -8
  123. data/config/routes.rbc +2203 -0
  124. data/lib/extensions/form_helper_extensions.rb +2 -2
  125. data/lib/extensions/form_helper_extensions.rbc +295 -0
  126. data/lib/extensions/i18n_fallbacks_config.rbc +246 -0
  127. data/lib/extensions.rbc +126 -0
  128. data/lib/forgeos/core/engine.rbc +316 -0
  129. data/lib/forgeos/core.rbc +325 -0
  130. data/lib/forgeos.rbc +1942 -0
  131. data/lib/forgeos_core.rbc +53 -0
  132. data/lib/map_fields.rbc +4437 -0
  133. data/lib/sortable_attachments.rbc +1399 -0
  134. data/lib/sphinx_globalize.rbc +785 -0
  135. metadata +286 -53
  136. data/app/assets/javascripts/forgeos/jstree/jquery.tree.js +0 -2061
  137. data/app/assets/javascripts/forgeos/jstree/plugins/jquery.tree.contextmenu.js +0 -129
  138. data/app/assets/javascripts/forgeos/jstree/plugins/jquery.tree.cookie.js +0 -70
  139. data/app/assets/stylesheets/forgeos/jquery.selectbox.css +0 -75
  140. data/app/assets/stylesheets/forgeos/jstree/themes/categories/style.css +0 -106
  141. data/app/assets/stylesheets/forgeos/jstree/tree_component.css.sass +0 -204
@@ -0,0 +1,316 @@
1
+ !RBIX
2
+ 5362583714419577066
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 37
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 99
23
+ 7
24
+ 2
25
+ 65
26
+ 49
27
+ 3
28
+ 2
29
+ 13
30
+ 99
31
+ 12
32
+ 7
33
+ 4
34
+ 12
35
+ 7
36
+ 5
37
+ 12
38
+ 65
39
+ 12
40
+ 49
41
+ 6
42
+ 4
43
+ 15
44
+ 49
45
+ 4
46
+ 0
47
+ 15
48
+ 2
49
+ 11
50
+ I
51
+ 6
52
+ I
53
+ 0
54
+ I
55
+ 0
56
+ I
57
+ 0
58
+ n
59
+ p
60
+ 7
61
+ s
62
+ 5
63
+ rails
64
+ x
65
+ 7
66
+ require
67
+ x
68
+ 7
69
+ Forgeos
70
+ x
71
+ 11
72
+ open_module
73
+ x
74
+ 15
75
+ __module_init__
76
+ M
77
+ 1
78
+ n
79
+ n
80
+ x
81
+ 7
82
+ Forgeos
83
+ i
84
+ 28
85
+ 5
86
+ 66
87
+ 99
88
+ 7
89
+ 0
90
+ 65
91
+ 49
92
+ 1
93
+ 2
94
+ 13
95
+ 99
96
+ 12
97
+ 7
98
+ 2
99
+ 12
100
+ 7
101
+ 3
102
+ 12
103
+ 65
104
+ 12
105
+ 49
106
+ 4
107
+ 4
108
+ 15
109
+ 49
110
+ 2
111
+ 0
112
+ 11
113
+ I
114
+ 6
115
+ I
116
+ 0
117
+ I
118
+ 0
119
+ I
120
+ 0
121
+ n
122
+ p
123
+ 5
124
+ x
125
+ 4
126
+ Core
127
+ x
128
+ 11
129
+ open_module
130
+ x
131
+ 15
132
+ __module_init__
133
+ M
134
+ 1
135
+ n
136
+ n
137
+ x
138
+ 4
139
+ Core
140
+ i
141
+ 33
142
+ 5
143
+ 66
144
+ 99
145
+ 7
146
+ 0
147
+ 45
148
+ 1
149
+ 2
150
+ 43
151
+ 0
152
+ 65
153
+ 49
154
+ 3
155
+ 3
156
+ 13
157
+ 99
158
+ 12
159
+ 7
160
+ 4
161
+ 12
162
+ 7
163
+ 5
164
+ 12
165
+ 65
166
+ 12
167
+ 49
168
+ 6
169
+ 4
170
+ 15
171
+ 49
172
+ 4
173
+ 0
174
+ 11
175
+ I
176
+ 6
177
+ I
178
+ 0
179
+ I
180
+ 0
181
+ I
182
+ 0
183
+ n
184
+ p
185
+ 7
186
+ x
187
+ 6
188
+ Engine
189
+ x
190
+ 5
191
+ Rails
192
+ n
193
+ x
194
+ 10
195
+ open_class
196
+ x
197
+ 14
198
+ __class_init__
199
+ M
200
+ 1
201
+ n
202
+ n
203
+ x
204
+ 6
205
+ Engine
206
+ i
207
+ 18
208
+ 5
209
+ 66
210
+ 5
211
+ 48
212
+ 0
213
+ 7
214
+ 1
215
+ 64
216
+ 49
217
+ 2
218
+ 1
219
+ 7
220
+ 3
221
+ 64
222
+ 49
223
+ 4
224
+ 1
225
+ 11
226
+ I
227
+ 2
228
+ I
229
+ 0
230
+ I
231
+ 0
232
+ I
233
+ 0
234
+ n
235
+ p
236
+ 5
237
+ x
238
+ 5
239
+ paths
240
+ s
241
+ 14
242
+ config/locales
243
+ x
244
+ 2
245
+ []
246
+ s
247
+ 17
248
+ config/locales/**
249
+ x
250
+ 2
251
+ <<
252
+ p
253
+ 3
254
+ I
255
+ 2
256
+ I
257
+ 6
258
+ I
259
+ 12
260
+ x
261
+ 80
262
+ /home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/forgeos/core/engine.rb
263
+ p
264
+ 0
265
+ x
266
+ 13
267
+ attach_method
268
+ p
269
+ 3
270
+ I
271
+ 2
272
+ I
273
+ 5
274
+ I
275
+ 21
276
+ x
277
+ 80
278
+ /home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/forgeos/core/engine.rb
279
+ p
280
+ 0
281
+ x
282
+ 13
283
+ attach_method
284
+ p
285
+ 3
286
+ I
287
+ 2
288
+ I
289
+ 4
290
+ I
291
+ 1c
292
+ x
293
+ 80
294
+ /home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/forgeos/core/engine.rb
295
+ p
296
+ 0
297
+ x
298
+ 13
299
+ attach_method
300
+ p
301
+ 5
302
+ I
303
+ 0
304
+ I
305
+ 1
306
+ I
307
+ 9
308
+ I
309
+ 3
310
+ I
311
+ 25
312
+ x
313
+ 80
314
+ /home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/forgeos/core/engine.rb
315
+ p
316
+ 0
@@ -0,0 +1,325 @@
1
+ !RBIX
2
+ 5362583714419577066
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 158
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 5
23
+ 7
24
+ 2
25
+ 64
26
+ 47
27
+ 49
28
+ 1
29
+ 1
30
+ 15
31
+ 99
32
+ 7
33
+ 3
34
+ 65
35
+ 49
36
+ 4
37
+ 2
38
+ 13
39
+ 99
40
+ 12
41
+ 7
42
+ 5
43
+ 12
44
+ 7
45
+ 6
46
+ 12
47
+ 65
48
+ 12
49
+ 49
50
+ 7
51
+ 4
52
+ 15
53
+ 49
54
+ 5
55
+ 0
56
+ 15
57
+ 5
58
+ 45
59
+ 8
60
+ 9
61
+ 45
62
+ 8
63
+ 10
64
+ 65
65
+ 49
66
+ 11
67
+ 0
68
+ 49
69
+ 12
70
+ 1
71
+ 7
72
+ 13
73
+ 64
74
+ 7
75
+ 14
76
+ 64
77
+ 49
78
+ 15
79
+ 3
80
+ 47
81
+ 49
82
+ 1
83
+ 1
84
+ 15
85
+ 5
86
+ 45
87
+ 8
88
+ 16
89
+ 45
90
+ 8
91
+ 17
92
+ 65
93
+ 49
94
+ 11
95
+ 0
96
+ 49
97
+ 12
98
+ 1
99
+ 7
100
+ 13
101
+ 64
102
+ 7
103
+ 18
104
+ 64
105
+ 49
106
+ 15
107
+ 3
108
+ 47
109
+ 49
110
+ 1
111
+ 1
112
+ 15
113
+ 5
114
+ 45
115
+ 8
116
+ 19
117
+ 45
118
+ 8
119
+ 20
120
+ 65
121
+ 49
122
+ 11
123
+ 0
124
+ 49
125
+ 12
126
+ 1
127
+ 7
128
+ 13
129
+ 64
130
+ 7
131
+ 21
132
+ 64
133
+ 49
134
+ 15
135
+ 3
136
+ 47
137
+ 49
138
+ 1
139
+ 1
140
+ 15
141
+ 5
142
+ 45
143
+ 8
144
+ 22
145
+ 45
146
+ 8
147
+ 23
148
+ 65
149
+ 49
150
+ 11
151
+ 0
152
+ 49
153
+ 12
154
+ 1
155
+ 7
156
+ 13
157
+ 64
158
+ 7
159
+ 24
160
+ 64
161
+ 49
162
+ 15
163
+ 3
164
+ 47
165
+ 49
166
+ 1
167
+ 1
168
+ 15
169
+ 2
170
+ 11
171
+ I
172
+ 6
173
+ I
174
+ 0
175
+ I
176
+ 0
177
+ I
178
+ 0
179
+ n
180
+ p
181
+ 25
182
+ s
183
+ 7
184
+ forgeos
185
+ x
186
+ 7
187
+ require
188
+ s
189
+ 19
190
+ forgeos/core/engine
191
+ x
192
+ 7
193
+ Forgeos
194
+ x
195
+ 11
196
+ open_module
197
+ x
198
+ 15
199
+ __module_init__
200
+ M
201
+ 1
202
+ n
203
+ n
204
+ x
205
+ 7
206
+ Forgeos
207
+ i
208
+ 12
209
+ 5
210
+ 66
211
+ 99
212
+ 7
213
+ 0
214
+ 65
215
+ 49
216
+ 1
217
+ 2
218
+ 15
219
+ 1
220
+ 11
221
+ I
222
+ 3
223
+ I
224
+ 0
225
+ I
226
+ 0
227
+ I
228
+ 0
229
+ n
230
+ p
231
+ 2
232
+ x
233
+ 4
234
+ Core
235
+ x
236
+ 11
237
+ open_module
238
+ p
239
+ 3
240
+ I
241
+ 2
242
+ I
243
+ 5
244
+ I
245
+ c
246
+ x
247
+ 73
248
+ /home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/forgeos/core.rb
249
+ p
250
+ 0
251
+ x
252
+ 13
253
+ attach_method
254
+ x
255
+ 4
256
+ File
257
+ n
258
+ n
259
+ x
260
+ 11
261
+ active_path
262
+ x
263
+ 7
264
+ dirname
265
+ s
266
+ 2
267
+ ..
268
+ s
269
+ 16
270
+ sphinx_globalize
271
+ x
272
+ 4
273
+ join
274
+ n
275
+ n
276
+ s
277
+ 20
278
+ sortable_attachments
279
+ n
280
+ n
281
+ s
282
+ 10
283
+ extensions
284
+ n
285
+ n
286
+ s
287
+ 10
288
+ map_fields
289
+ p
290
+ 15
291
+ I
292
+ 0
293
+ I
294
+ 1
295
+ I
296
+ 9
297
+ I
298
+ 2
299
+ I
300
+ 12
301
+ I
302
+ 4
303
+ I
304
+ 2c
305
+ I
306
+ 9
307
+ I
308
+ 48
309
+ I
310
+ a
311
+ I
312
+ 64
313
+ I
314
+ b
315
+ I
316
+ 80
317
+ I
318
+ c
319
+ I
320
+ 9e
321
+ x
322
+ 73
323
+ /home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/forgeos/core.rb
324
+ p
325
+ 0