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