forgeos_core 1.9.1 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
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,469 @@
1
+ !RBIX
2
+ 5362583714419577066
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 33
13
+ 99
14
+ 7
15
+ 0
16
+ 45
17
+ 1
18
+ 2
19
+ 43
20
+ 3
21
+ 65
22
+ 49
23
+ 4
24
+ 3
25
+ 13
26
+ 99
27
+ 12
28
+ 7
29
+ 5
30
+ 12
31
+ 7
32
+ 6
33
+ 12
34
+ 65
35
+ 12
36
+ 49
37
+ 7
38
+ 4
39
+ 15
40
+ 49
41
+ 5
42
+ 0
43
+ 15
44
+ 2
45
+ 11
46
+ I
47
+ 6
48
+ I
49
+ 0
50
+ I
51
+ 0
52
+ I
53
+ 0
54
+ n
55
+ p
56
+ 8
57
+ x
58
+ 4
59
+ Role
60
+ x
61
+ 12
62
+ ActiveRecord
63
+ n
64
+ x
65
+ 4
66
+ Base
67
+ x
68
+ 10
69
+ open_class
70
+ x
71
+ 14
72
+ __class_init__
73
+ M
74
+ 1
75
+ n
76
+ n
77
+ x
78
+ 4
79
+ Role
80
+ i
81
+ 117
82
+ 5
83
+ 66
84
+ 5
85
+ 7
86
+ 0
87
+ 47
88
+ 49
89
+ 1
90
+ 1
91
+ 15
92
+ 5
93
+ 7
94
+ 2
95
+ 47
96
+ 49
97
+ 3
98
+ 1
99
+ 15
100
+ 5
101
+ 7
102
+ 4
103
+ 44
104
+ 43
105
+ 5
106
+ 79
107
+ 49
108
+ 6
109
+ 1
110
+ 13
111
+ 7
112
+ 7
113
+ 2
114
+ 49
115
+ 8
116
+ 2
117
+ 15
118
+ 47
119
+ 49
120
+ 9
121
+ 2
122
+ 15
123
+ 5
124
+ 7
125
+ 10
126
+ 44
127
+ 43
128
+ 5
129
+ 4
130
+ 4
131
+ 49
132
+ 6
133
+ 1
134
+ 13
135
+ 7
136
+ 11
137
+ 2
138
+ 49
139
+ 8
140
+ 2
141
+ 15
142
+ 13
143
+ 7
144
+ 12
145
+ 7
146
+ 13
147
+ 64
148
+ 49
149
+ 8
150
+ 2
151
+ 15
152
+ 13
153
+ 7
154
+ 14
155
+ 7
156
+ 15
157
+ 64
158
+ 49
159
+ 8
160
+ 2
161
+ 15
162
+ 13
163
+ 7
164
+ 16
165
+ 7
166
+ 17
167
+ 64
168
+ 49
169
+ 8
170
+ 2
171
+ 15
172
+ 47
173
+ 49
174
+ 3
175
+ 2
176
+ 15
177
+ 5
178
+ 56
179
+ 18
180
+ 47
181
+ 50
182
+ 19
183
+ 0
184
+ 15
185
+ 99
186
+ 7
187
+ 20
188
+ 7
189
+ 21
190
+ 65
191
+ 67
192
+ 49
193
+ 22
194
+ 0
195
+ 49
196
+ 23
197
+ 4
198
+ 11
199
+ I
200
+ 6
201
+ I
202
+ 0
203
+ I
204
+ 0
205
+ I
206
+ 0
207
+ n
208
+ p
209
+ 24
210
+ x
211
+ 14
212
+ administrators
213
+ x
214
+ 8
215
+ has_many
216
+ x
217
+ 6
218
+ rights
219
+ x
220
+ 23
221
+ has_and_belongs_to_many
222
+ x
223
+ 4
224
+ name
225
+ x
226
+ 4
227
+ Hash
228
+ x
229
+ 16
230
+ new_from_literal
231
+ x
232
+ 8
233
+ presence
234
+ x
235
+ 3
236
+ []=
237
+ x
238
+ 9
239
+ validates
240
+ x
241
+ 15
242
+ role_categories
243
+ x
244
+ 8
245
+ readonly
246
+ x
247
+ 10
248
+ join_table
249
+ s
250
+ 19
251
+ categories_elements
252
+ x
253
+ 11
254
+ foreign_key
255
+ s
256
+ 10
257
+ element_id
258
+ x
259
+ 23
260
+ association_foreign_key
261
+ s
262
+ 11
263
+ category_id
264
+ M
265
+ 1
266
+ p
267
+ 2
268
+ x
269
+ 9
270
+ for_block
271
+ t
272
+ n
273
+ x
274
+ 4
275
+ Role
276
+ i
277
+ 24
278
+ 5
279
+ 5
280
+ 48
281
+ 0
282
+ 44
283
+ 43
284
+ 1
285
+ 79
286
+ 49
287
+ 2
288
+ 1
289
+ 13
290
+ 7
291
+ 3
292
+ 2
293
+ 49
294
+ 4
295
+ 2
296
+ 15
297
+ 47
298
+ 49
299
+ 5
300
+ 2
301
+ 11
302
+ I
303
+ 7
304
+ I
305
+ 0
306
+ I
307
+ 0
308
+ I
309
+ 0
310
+ I
311
+ -2
312
+ p
313
+ 6
314
+ x
315
+ 4
316
+ name
317
+ x
318
+ 4
319
+ Hash
320
+ x
321
+ 16
322
+ new_from_literal
323
+ x
324
+ 8
325
+ sortable
326
+ x
327
+ 3
328
+ []=
329
+ x
330
+ 7
331
+ indexes
332
+ p
333
+ 3
334
+ I
335
+ 0
336
+ I
337
+ a
338
+ I
339
+ 18
340
+ x
341
+ 72
342
+ /home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/app/models/role.rb
343
+ p
344
+ 0
345
+ x
346
+ 12
347
+ define_index
348
+ x
349
+ 8
350
+ activate
351
+ M
352
+ 1
353
+ n
354
+ n
355
+ x
356
+ 8
357
+ activate
358
+ i
359
+ 18
360
+ 5
361
+ 7
362
+ 0
363
+ 64
364
+ 5
365
+ 49
366
+ 1
367
+ 0
368
+ 10
369
+ 13
370
+ 2
371
+ 8
372
+ 14
373
+ 3
374
+ 49
375
+ 2
376
+ 2
377
+ 11
378
+ I
379
+ 3
380
+ I
381
+ 0
382
+ I
383
+ 0
384
+ I
385
+ 0
386
+ n
387
+ p
388
+ 3
389
+ s
390
+ 6
391
+ active
392
+ x
393
+ 6
394
+ active
395
+ x
396
+ 16
397
+ update_attribute
398
+ p
399
+ 5
400
+ I
401
+ -1
402
+ I
403
+ d
404
+ I
405
+ 0
406
+ I
407
+ e
408
+ I
409
+ 12
410
+ x
411
+ 72
412
+ /home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/app/models/role.rb
413
+ p
414
+ 0
415
+ x
416
+ 17
417
+ method_visibility
418
+ x
419
+ 15
420
+ add_defn_method
421
+ p
422
+ 13
423
+ I
424
+ 2
425
+ I
426
+ 2
427
+ I
428
+ a
429
+ I
430
+ 3
431
+ I
432
+ 12
433
+ I
434
+ 5
435
+ I
436
+ 29
437
+ I
438
+ 7
439
+ I
440
+ 5f
441
+ I
442
+ 9
443
+ I
444
+ 67
445
+ I
446
+ d
447
+ I
448
+ 75
449
+ x
450
+ 72
451
+ /home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/app/models/role.rb
452
+ p
453
+ 0
454
+ x
455
+ 13
456
+ attach_method
457
+ p
458
+ 3
459
+ I
460
+ 0
461
+ I
462
+ 1
463
+ I
464
+ 21
465
+ x
466
+ 72
467
+ /home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/app/models/role.rb
468
+ p
469
+ 0