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.
- data/COPYING +339 -0
- data/COPYING.LESSER +165 -0
- data/app/assets/images/forgeos/dataTables/Sorting icons.psd +0 -0
- data/app/assets/images/forgeos/dataTables/back_disabled.jpg +0 -0
- data/app/assets/images/forgeos/dataTables/back_enabled.jpg +0 -0
- data/app/assets/images/forgeos/dataTables/favicon.ico +0 -0
- data/app/assets/images/forgeos/dataTables/forward_disabled.jpg +0 -0
- data/app/assets/images/forgeos/dataTables/forward_enabled.jpg +0 -0
- data/app/assets/images/forgeos/dataTables/sort_asc.png +0 -0
- data/app/assets/images/forgeos/dataTables/sort_asc_disabled.png +0 -0
- data/app/assets/images/forgeos/dataTables/sort_both.png +0 -0
- data/app/assets/images/forgeos/dataTables/sort_desc.png +0 -0
- data/app/assets/images/forgeos/dataTables/sort_desc_disabled.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/bubble-quantity-products.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/check-checked.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/check-unchecked.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/context.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/create.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dark-blue-minus.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dark-blue-plus.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dot.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/f.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fminus.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fminus_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/folder.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fplus.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fplus_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/lastli.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/lastli_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/li.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/remove.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/rename.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/throbber.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/brown-minus.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/brown-plus.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/bubble-quantity-elements.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/context.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/create.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/dot.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/f.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fminus.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fminus_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fplus.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fplus_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/images.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/lastli.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/lastli_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/li.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/remove.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/rename.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/throbber.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/marker.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/marker_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/plus.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/remove.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/remove.png +0 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/commons.js +8 -3
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/dataTable.js +2 -2
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/tinyMCE.js +1 -1
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/trees.js +202 -257
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/left-sidebar.js +16 -23
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/settings.js +5 -5
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/tabs.js +3 -3
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/trees.js +2 -45
- data/app/assets/javascripts/forgeos/jquery.dataTables.min.js +138 -529
- data/app/assets/javascripts/forgeos/jstree/jquery.jstree.js +4544 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_core/_lightbox.css.sass +2 -21
- data/app/assets/stylesheets/forgeos/admin/forgeos_core/_settings.css.sass +77 -39
- data/app/assets/stylesheets/forgeos/dataTables/demo_table.css +150 -27
- data/app/assets/stylesheets/forgeos/jstree/themes/association_categories/style.css.sass +36 -154
- data/app/assets/stylesheets/forgeos/jstree/themes/categories/style.css.sass +59 -58
- data/app/controllers/admin/accounts_controller.rb +1 -1
- data/app/controllers/admin/administrators_controller.rb +13 -4
- data/app/controllers/admin/attachments_controller.rb +7 -3
- data/app/controllers/admin/base_controller.rbc +1305 -0
- data/app/controllers/admin/categories_controller.rb +1 -1
- data/app/controllers/admin/dashboard_controller.rbc +361 -0
- data/app/controllers/admin/person_sessions_controller.rbc +1248 -0
- data/app/controllers/admin/rights_controller.rb +6 -6
- data/app/controllers/admin/roles_controller.rb +8 -3
- data/app/controllers/admin/users_controller.rb +12 -6
- data/app/controllers/forgeos/application_controller.rb +1 -2
- data/app/controllers/forgeos/application_controller.rbc +2027 -0
- data/app/helpers/admin/attachment_helper.rbc +2340 -0
- data/app/helpers/admin/base_helper.rb +0 -15
- data/app/helpers/admin/base_helper.rbc +2522 -0
- data/app/helpers/forgeos/application_helper.rbc +3152 -0
- data/app/models/administrator.rbc +415 -0
- data/app/models/category.rb +3 -3
- data/app/models/person.rb +5 -9
- data/app/models/person.rbc +1498 -0
- data/app/models/person_session.rbc +142 -0
- data/app/models/right.rbc +432 -0
- data/app/models/role.rbc +469 -0
- data/app/models/setting.rbc +699 -0
- data/app/views/admin/accounts/_form.html.haml +1 -1
- data/app/views/admin/administrators/activate.js.erb +1 -0
- data/app/views/admin/administrators/destroy.js.erb +1 -0
- data/app/views/admin/administrators/index.json.erb +10 -12
- data/app/views/admin/attachments/_form.html.haml +2 -2
- data/app/views/admin/attachments/destroy.js.erb +1 -0
- data/app/views/admin/attachments/index.json.erb +4 -5
- data/app/views/admin/categories/_associated_elements.html.haml +4 -8
- data/app/views/admin/categories/index.json.erb +1 -1
- data/app/views/admin/rights/destroy.js.erb +1 -0
- data/app/views/admin/rights/index.json.erb +5 -6
- data/app/views/admin/roles/activate.js.erb +1 -0
- data/app/views/admin/roles/destroy.js.erb +1 -0
- data/app/views/admin/roles/index.json.erb +10 -12
- data/app/views/admin/settings/_tabs.html.haml +0 -6
- data/app/views/admin/settings/edit.html.haml +19 -16
- data/app/views/admin/sidebars/_attachments_popups.html.haml +1 -1
- data/app/views/admin/sidebars/_left_sidebar.html.haml +2 -2
- data/app/views/admin/users/activate.js.erb +1 -0
- data/app/views/admin/users/destroy.js.erb +1 -0
- data/app/views/admin/users/index.json.erb +8 -11
- data/app/views/admin/visual/_visual_popup.html.haml +2 -2
- data/app/views/admin/visual/_visuals_popup.html.haml +1 -1
- data/app/views/layouts/admin.html.haml +5 -4
- data/app/views/layouts/admin_login.html.haml +3 -3
- data/config/initializers/load_settings.rbc +330 -0
- data/config/routes.rb +5 -8
- data/config/routes.rbc +2203 -0
- data/lib/extensions/form_helper_extensions.rb +2 -2
- data/lib/extensions/form_helper_extensions.rbc +295 -0
- data/lib/extensions/i18n_fallbacks_config.rbc +246 -0
- data/lib/extensions.rbc +126 -0
- data/lib/forgeos/core/engine.rbc +316 -0
- data/lib/forgeos/core.rbc +325 -0
- data/lib/forgeos.rbc +1942 -0
- data/lib/forgeos_core.rbc +53 -0
- data/lib/map_fields.rbc +4437 -0
- data/lib/sortable_attachments.rbc +1399 -0
- data/lib/sphinx_globalize.rbc +785 -0
- metadata +286 -53
- data/app/assets/javascripts/forgeos/jstree/jquery.tree.js +0 -2061
- data/app/assets/javascripts/forgeos/jstree/plugins/jquery.tree.contextmenu.js +0 -129
- data/app/assets/javascripts/forgeos/jstree/plugins/jquery.tree.cookie.js +0 -70
- data/app/assets/stylesheets/forgeos/jquery.selectbox.css +0 -75
- data/app/assets/stylesheets/forgeos/jstree/themes/categories/style.css +0 -106
- data/app/assets/stylesheets/forgeos/jstree/tree_component.css.sass +0 -204
@@ -0,0 +1,1399 @@
|
|
1
|
+
!RBIX
|
2
|
+
5362583714419577066
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
42
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
65
|
17
|
+
49
|
18
|
+
1
|
19
|
+
2
|
20
|
+
13
|
21
|
+
99
|
22
|
+
12
|
23
|
+
7
|
24
|
+
2
|
25
|
+
12
|
26
|
+
7
|
27
|
+
3
|
28
|
+
12
|
29
|
+
65
|
30
|
+
12
|
31
|
+
49
|
32
|
+
4
|
33
|
+
4
|
34
|
+
15
|
35
|
+
49
|
36
|
+
2
|
37
|
+
0
|
38
|
+
15
|
39
|
+
45
|
40
|
+
5
|
41
|
+
6
|
42
|
+
43
|
43
|
+
7
|
44
|
+
7
|
45
|
+
8
|
46
|
+
45
|
47
|
+
0
|
48
|
+
9
|
49
|
+
49
|
50
|
+
10
|
51
|
+
2
|
52
|
+
15
|
53
|
+
2
|
54
|
+
11
|
55
|
+
I
|
56
|
+
6
|
57
|
+
I
|
58
|
+
0
|
59
|
+
I
|
60
|
+
0
|
61
|
+
I
|
62
|
+
0
|
63
|
+
n
|
64
|
+
p
|
65
|
+
11
|
66
|
+
x
|
67
|
+
19
|
68
|
+
SortableAttachments
|
69
|
+
x
|
70
|
+
11
|
71
|
+
open_module
|
72
|
+
x
|
73
|
+
15
|
74
|
+
__module_init__
|
75
|
+
M
|
76
|
+
1
|
77
|
+
n
|
78
|
+
n
|
79
|
+
x
|
80
|
+
19
|
81
|
+
SortableAttachments
|
82
|
+
i
|
83
|
+
65
|
84
|
+
5
|
85
|
+
66
|
86
|
+
99
|
87
|
+
7
|
88
|
+
0
|
89
|
+
7
|
90
|
+
1
|
91
|
+
65
|
92
|
+
5
|
93
|
+
49
|
94
|
+
2
|
95
|
+
4
|
96
|
+
15
|
97
|
+
99
|
98
|
+
7
|
99
|
+
3
|
100
|
+
65
|
101
|
+
49
|
102
|
+
4
|
103
|
+
2
|
104
|
+
13
|
105
|
+
99
|
106
|
+
12
|
107
|
+
7
|
108
|
+
5
|
109
|
+
12
|
110
|
+
7
|
111
|
+
6
|
112
|
+
12
|
113
|
+
65
|
114
|
+
12
|
115
|
+
49
|
116
|
+
2
|
117
|
+
4
|
118
|
+
15
|
119
|
+
49
|
120
|
+
5
|
121
|
+
0
|
122
|
+
15
|
123
|
+
99
|
124
|
+
7
|
125
|
+
7
|
126
|
+
65
|
127
|
+
49
|
128
|
+
4
|
129
|
+
2
|
130
|
+
13
|
131
|
+
99
|
132
|
+
12
|
133
|
+
7
|
134
|
+
5
|
135
|
+
12
|
136
|
+
7
|
137
|
+
8
|
138
|
+
12
|
139
|
+
65
|
140
|
+
12
|
141
|
+
49
|
142
|
+
2
|
143
|
+
4
|
144
|
+
15
|
145
|
+
49
|
146
|
+
5
|
147
|
+
0
|
148
|
+
11
|
149
|
+
I
|
150
|
+
6
|
151
|
+
I
|
152
|
+
0
|
153
|
+
I
|
154
|
+
0
|
155
|
+
I
|
156
|
+
0
|
157
|
+
n
|
158
|
+
p
|
159
|
+
9
|
160
|
+
x
|
161
|
+
8
|
162
|
+
included
|
163
|
+
M
|
164
|
+
1
|
165
|
+
n
|
166
|
+
n
|
167
|
+
x
|
168
|
+
8
|
169
|
+
included
|
170
|
+
i
|
171
|
+
9
|
172
|
+
20
|
173
|
+
0
|
174
|
+
45
|
175
|
+
0
|
176
|
+
1
|
177
|
+
49
|
178
|
+
2
|
179
|
+
1
|
180
|
+
11
|
181
|
+
I
|
182
|
+
3
|
183
|
+
I
|
184
|
+
1
|
185
|
+
I
|
186
|
+
1
|
187
|
+
I
|
188
|
+
1
|
189
|
+
n
|
190
|
+
p
|
191
|
+
3
|
192
|
+
x
|
193
|
+
12
|
194
|
+
ClassMethods
|
195
|
+
n
|
196
|
+
x
|
197
|
+
6
|
198
|
+
extend
|
199
|
+
p
|
200
|
+
5
|
201
|
+
I
|
202
|
+
-1
|
203
|
+
I
|
204
|
+
2
|
205
|
+
I
|
206
|
+
0
|
207
|
+
I
|
208
|
+
3
|
209
|
+
I
|
210
|
+
9
|
211
|
+
x
|
212
|
+
81
|
213
|
+
/home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/sortable_attachments.rb
|
214
|
+
p
|
215
|
+
1
|
216
|
+
x
|
217
|
+
4
|
218
|
+
base
|
219
|
+
x
|
220
|
+
13
|
221
|
+
attach_method
|
222
|
+
x
|
223
|
+
12
|
224
|
+
ClassMethods
|
225
|
+
x
|
226
|
+
11
|
227
|
+
open_module
|
228
|
+
x
|
229
|
+
15
|
230
|
+
__module_init__
|
231
|
+
M
|
232
|
+
1
|
233
|
+
n
|
234
|
+
n
|
235
|
+
x
|
236
|
+
12
|
237
|
+
ClassMethods
|
238
|
+
i
|
239
|
+
16
|
240
|
+
5
|
241
|
+
66
|
242
|
+
99
|
243
|
+
7
|
244
|
+
0
|
245
|
+
7
|
246
|
+
1
|
247
|
+
65
|
248
|
+
67
|
249
|
+
49
|
250
|
+
2
|
251
|
+
0
|
252
|
+
49
|
253
|
+
3
|
254
|
+
4
|
255
|
+
11
|
256
|
+
I
|
257
|
+
5
|
258
|
+
I
|
259
|
+
0
|
260
|
+
I
|
261
|
+
0
|
262
|
+
I
|
263
|
+
0
|
264
|
+
n
|
265
|
+
p
|
266
|
+
4
|
267
|
+
x
|
268
|
+
35
|
269
|
+
has_and_belongs_to_many_attachments
|
270
|
+
M
|
271
|
+
1
|
272
|
+
n
|
273
|
+
n
|
274
|
+
x
|
275
|
+
35
|
276
|
+
has_and_belongs_to_many_attachments
|
277
|
+
i
|
278
|
+
450
|
279
|
+
23
|
280
|
+
0
|
281
|
+
10
|
282
|
+
14
|
283
|
+
44
|
284
|
+
43
|
285
|
+
0
|
286
|
+
78
|
287
|
+
49
|
288
|
+
1
|
289
|
+
1
|
290
|
+
19
|
291
|
+
0
|
292
|
+
15
|
293
|
+
5
|
294
|
+
7
|
295
|
+
2
|
296
|
+
44
|
297
|
+
43
|
298
|
+
0
|
299
|
+
80
|
300
|
+
49
|
301
|
+
1
|
302
|
+
1
|
303
|
+
13
|
304
|
+
7
|
305
|
+
3
|
306
|
+
7
|
307
|
+
4
|
308
|
+
49
|
309
|
+
5
|
310
|
+
2
|
311
|
+
15
|
312
|
+
13
|
313
|
+
7
|
314
|
+
6
|
315
|
+
7
|
316
|
+
7
|
317
|
+
49
|
318
|
+
5
|
319
|
+
2
|
320
|
+
15
|
321
|
+
47
|
322
|
+
49
|
323
|
+
8
|
324
|
+
2
|
325
|
+
15
|
326
|
+
5
|
327
|
+
7
|
328
|
+
9
|
329
|
+
44
|
330
|
+
43
|
331
|
+
0
|
332
|
+
4
|
333
|
+
3
|
334
|
+
49
|
335
|
+
1
|
336
|
+
1
|
337
|
+
13
|
338
|
+
7
|
339
|
+
10
|
340
|
+
7
|
341
|
+
2
|
342
|
+
49
|
343
|
+
5
|
344
|
+
2
|
345
|
+
15
|
346
|
+
13
|
347
|
+
7
|
348
|
+
11
|
349
|
+
7
|
350
|
+
12
|
351
|
+
64
|
352
|
+
49
|
353
|
+
5
|
354
|
+
2
|
355
|
+
15
|
356
|
+
13
|
357
|
+
7
|
358
|
+
6
|
359
|
+
7
|
360
|
+
7
|
361
|
+
49
|
362
|
+
5
|
363
|
+
2
|
364
|
+
15
|
365
|
+
20
|
366
|
+
0
|
367
|
+
49
|
368
|
+
13
|
369
|
+
1
|
370
|
+
47
|
371
|
+
49
|
372
|
+
8
|
373
|
+
2
|
374
|
+
15
|
375
|
+
5
|
376
|
+
7
|
377
|
+
14
|
378
|
+
44
|
379
|
+
43
|
380
|
+
0
|
381
|
+
4
|
382
|
+
4
|
383
|
+
49
|
384
|
+
1
|
385
|
+
1
|
386
|
+
13
|
387
|
+
7
|
388
|
+
10
|
389
|
+
7
|
390
|
+
2
|
391
|
+
49
|
392
|
+
5
|
393
|
+
2
|
394
|
+
15
|
395
|
+
13
|
396
|
+
7
|
397
|
+
11
|
398
|
+
7
|
399
|
+
15
|
400
|
+
64
|
401
|
+
49
|
402
|
+
5
|
403
|
+
2
|
404
|
+
15
|
405
|
+
13
|
406
|
+
7
|
407
|
+
16
|
408
|
+
7
|
409
|
+
17
|
410
|
+
49
|
411
|
+
5
|
412
|
+
2
|
413
|
+
15
|
414
|
+
13
|
415
|
+
7
|
416
|
+
6
|
417
|
+
7
|
418
|
+
7
|
419
|
+
49
|
420
|
+
5
|
421
|
+
2
|
422
|
+
15
|
423
|
+
47
|
424
|
+
49
|
425
|
+
8
|
426
|
+
2
|
427
|
+
15
|
428
|
+
5
|
429
|
+
7
|
430
|
+
18
|
431
|
+
44
|
432
|
+
43
|
433
|
+
0
|
434
|
+
4
|
435
|
+
4
|
436
|
+
49
|
437
|
+
1
|
438
|
+
1
|
439
|
+
13
|
440
|
+
7
|
441
|
+
10
|
442
|
+
7
|
443
|
+
2
|
444
|
+
49
|
445
|
+
5
|
446
|
+
2
|
447
|
+
15
|
448
|
+
13
|
449
|
+
7
|
450
|
+
11
|
451
|
+
7
|
452
|
+
19
|
453
|
+
64
|
454
|
+
49
|
455
|
+
5
|
456
|
+
2
|
457
|
+
15
|
458
|
+
13
|
459
|
+
7
|
460
|
+
16
|
461
|
+
7
|
462
|
+
17
|
463
|
+
49
|
464
|
+
5
|
465
|
+
2
|
466
|
+
15
|
467
|
+
13
|
468
|
+
7
|
469
|
+
6
|
470
|
+
7
|
471
|
+
7
|
472
|
+
49
|
473
|
+
5
|
474
|
+
2
|
475
|
+
15
|
476
|
+
47
|
477
|
+
49
|
478
|
+
8
|
479
|
+
2
|
480
|
+
15
|
481
|
+
5
|
482
|
+
7
|
483
|
+
20
|
484
|
+
44
|
485
|
+
43
|
486
|
+
0
|
487
|
+
4
|
488
|
+
4
|
489
|
+
49
|
490
|
+
1
|
491
|
+
1
|
492
|
+
13
|
493
|
+
7
|
494
|
+
10
|
495
|
+
7
|
496
|
+
2
|
497
|
+
49
|
498
|
+
5
|
499
|
+
2
|
500
|
+
15
|
501
|
+
13
|
502
|
+
7
|
503
|
+
11
|
504
|
+
7
|
505
|
+
21
|
506
|
+
64
|
507
|
+
49
|
508
|
+
5
|
509
|
+
2
|
510
|
+
15
|
511
|
+
13
|
512
|
+
7
|
513
|
+
16
|
514
|
+
7
|
515
|
+
17
|
516
|
+
49
|
517
|
+
5
|
518
|
+
2
|
519
|
+
15
|
520
|
+
13
|
521
|
+
7
|
522
|
+
6
|
523
|
+
7
|
524
|
+
7
|
525
|
+
49
|
526
|
+
5
|
527
|
+
2
|
528
|
+
15
|
529
|
+
47
|
530
|
+
49
|
531
|
+
8
|
532
|
+
2
|
533
|
+
15
|
534
|
+
5
|
535
|
+
7
|
536
|
+
22
|
537
|
+
44
|
538
|
+
43
|
539
|
+
0
|
540
|
+
4
|
541
|
+
4
|
542
|
+
49
|
543
|
+
1
|
544
|
+
1
|
545
|
+
13
|
546
|
+
7
|
547
|
+
10
|
548
|
+
7
|
549
|
+
2
|
550
|
+
49
|
551
|
+
5
|
552
|
+
2
|
553
|
+
15
|
554
|
+
13
|
555
|
+
7
|
556
|
+
11
|
557
|
+
7
|
558
|
+
23
|
559
|
+
64
|
560
|
+
49
|
561
|
+
5
|
562
|
+
2
|
563
|
+
15
|
564
|
+
13
|
565
|
+
7
|
566
|
+
16
|
567
|
+
7
|
568
|
+
17
|
569
|
+
49
|
570
|
+
5
|
571
|
+
2
|
572
|
+
15
|
573
|
+
13
|
574
|
+
7
|
575
|
+
6
|
576
|
+
7
|
577
|
+
7
|
578
|
+
49
|
579
|
+
5
|
580
|
+
2
|
581
|
+
15
|
582
|
+
47
|
583
|
+
49
|
584
|
+
8
|
585
|
+
2
|
586
|
+
15
|
587
|
+
5
|
588
|
+
7
|
589
|
+
24
|
590
|
+
44
|
591
|
+
43
|
592
|
+
0
|
593
|
+
4
|
594
|
+
4
|
595
|
+
49
|
596
|
+
1
|
597
|
+
1
|
598
|
+
13
|
599
|
+
7
|
600
|
+
10
|
601
|
+
7
|
602
|
+
2
|
603
|
+
49
|
604
|
+
5
|
605
|
+
2
|
606
|
+
15
|
607
|
+
13
|
608
|
+
7
|
609
|
+
11
|
610
|
+
7
|
611
|
+
25
|
612
|
+
64
|
613
|
+
49
|
614
|
+
5
|
615
|
+
2
|
616
|
+
15
|
617
|
+
13
|
618
|
+
7
|
619
|
+
16
|
620
|
+
7
|
621
|
+
17
|
622
|
+
49
|
623
|
+
5
|
624
|
+
2
|
625
|
+
15
|
626
|
+
13
|
627
|
+
7
|
628
|
+
6
|
629
|
+
7
|
630
|
+
7
|
631
|
+
49
|
632
|
+
5
|
633
|
+
2
|
634
|
+
15
|
635
|
+
47
|
636
|
+
49
|
637
|
+
8
|
638
|
+
2
|
639
|
+
15
|
640
|
+
5
|
641
|
+
7
|
642
|
+
26
|
643
|
+
44
|
644
|
+
43
|
645
|
+
0
|
646
|
+
4
|
647
|
+
4
|
648
|
+
49
|
649
|
+
1
|
650
|
+
1
|
651
|
+
13
|
652
|
+
7
|
653
|
+
10
|
654
|
+
7
|
655
|
+
2
|
656
|
+
49
|
657
|
+
5
|
658
|
+
2
|
659
|
+
15
|
660
|
+
13
|
661
|
+
7
|
662
|
+
11
|
663
|
+
7
|
664
|
+
27
|
665
|
+
64
|
666
|
+
49
|
667
|
+
5
|
668
|
+
2
|
669
|
+
15
|
670
|
+
13
|
671
|
+
7
|
672
|
+
16
|
673
|
+
7
|
674
|
+
17
|
675
|
+
49
|
676
|
+
5
|
677
|
+
2
|
678
|
+
15
|
679
|
+
13
|
680
|
+
7
|
681
|
+
6
|
682
|
+
7
|
683
|
+
7
|
684
|
+
49
|
685
|
+
5
|
686
|
+
2
|
687
|
+
15
|
688
|
+
47
|
689
|
+
49
|
690
|
+
8
|
691
|
+
2
|
692
|
+
15
|
693
|
+
5
|
694
|
+
49
|
695
|
+
28
|
696
|
+
0
|
697
|
+
7
|
698
|
+
29
|
699
|
+
64
|
700
|
+
49
|
701
|
+
30
|
702
|
+
1
|
703
|
+
9
|
704
|
+
429
|
705
|
+
1
|
706
|
+
8
|
707
|
+
449
|
708
|
+
5
|
709
|
+
45
|
710
|
+
31
|
711
|
+
32
|
712
|
+
43
|
713
|
+
33
|
714
|
+
47
|
715
|
+
49
|
716
|
+
34
|
717
|
+
1
|
718
|
+
15
|
719
|
+
5
|
720
|
+
7
|
721
|
+
35
|
722
|
+
7
|
723
|
+
7
|
724
|
+
47
|
725
|
+
49
|
726
|
+
36
|
727
|
+
2
|
728
|
+
11
|
729
|
+
I
|
730
|
+
7
|
731
|
+
I
|
732
|
+
1
|
733
|
+
I
|
734
|
+
0
|
735
|
+
I
|
736
|
+
1
|
737
|
+
n
|
738
|
+
p
|
739
|
+
37
|
740
|
+
x
|
741
|
+
4
|
742
|
+
Hash
|
743
|
+
x
|
744
|
+
16
|
745
|
+
new_from_literal
|
746
|
+
x
|
747
|
+
16
|
748
|
+
attachment_links
|
749
|
+
x
|
750
|
+
2
|
751
|
+
as
|
752
|
+
x
|
753
|
+
7
|
754
|
+
element
|
755
|
+
x
|
756
|
+
3
|
757
|
+
[]=
|
758
|
+
x
|
759
|
+
5
|
760
|
+
order
|
761
|
+
x
|
762
|
+
8
|
763
|
+
position
|
764
|
+
x
|
765
|
+
8
|
766
|
+
has_many
|
767
|
+
x
|
768
|
+
11
|
769
|
+
attachments
|
770
|
+
x
|
771
|
+
7
|
772
|
+
through
|
773
|
+
x
|
774
|
+
10
|
775
|
+
class_name
|
776
|
+
s
|
777
|
+
10
|
778
|
+
Attachment
|
779
|
+
x
|
780
|
+
5
|
781
|
+
merge
|
782
|
+
x
|
783
|
+
8
|
784
|
+
pictures
|
785
|
+
s
|
786
|
+
7
|
787
|
+
Picture
|
788
|
+
x
|
789
|
+
6
|
790
|
+
source
|
791
|
+
x
|
792
|
+
10
|
793
|
+
attachment
|
794
|
+
x
|
795
|
+
4
|
796
|
+
docs
|
797
|
+
s
|
798
|
+
3
|
799
|
+
Doc
|
800
|
+
x
|
801
|
+
6
|
802
|
+
videos
|
803
|
+
s
|
804
|
+
5
|
805
|
+
Video
|
806
|
+
x
|
807
|
+
4
|
808
|
+
pdfs
|
809
|
+
s
|
810
|
+
3
|
811
|
+
Pdf
|
812
|
+
x
|
813
|
+
6
|
814
|
+
audios
|
815
|
+
s
|
816
|
+
5
|
817
|
+
Audio
|
818
|
+
x
|
819
|
+
6
|
820
|
+
medias
|
821
|
+
s
|
822
|
+
5
|
823
|
+
Media
|
824
|
+
x
|
825
|
+
16
|
826
|
+
instance_methods
|
827
|
+
s
|
828
|
+
29
|
829
|
+
attachment_ids_with_position=
|
830
|
+
x
|
831
|
+
8
|
832
|
+
include?
|
833
|
+
x
|
834
|
+
19
|
835
|
+
SortableAttachments
|
836
|
+
n
|
837
|
+
x
|
838
|
+
15
|
839
|
+
InstanceMethods
|
840
|
+
x
|
841
|
+
7
|
842
|
+
include
|
843
|
+
x
|
844
|
+
15
|
845
|
+
attachment_ids=
|
846
|
+
x
|
847
|
+
18
|
848
|
+
alias_method_chain
|
849
|
+
p
|
850
|
+
27
|
851
|
+
I
|
852
|
+
-1
|
853
|
+
I
|
854
|
+
7
|
855
|
+
I
|
856
|
+
e
|
857
|
+
I
|
858
|
+
8
|
859
|
+
I
|
860
|
+
2f
|
861
|
+
I
|
862
|
+
9
|
863
|
+
I
|
864
|
+
60
|
865
|
+
I
|
866
|
+
a
|
867
|
+
I
|
868
|
+
95
|
869
|
+
I
|
870
|
+
b
|
871
|
+
I
|
872
|
+
ca
|
873
|
+
I
|
874
|
+
c
|
875
|
+
I
|
876
|
+
ff
|
877
|
+
I
|
878
|
+
d
|
879
|
+
I
|
880
|
+
134
|
881
|
+
I
|
882
|
+
e
|
883
|
+
I
|
884
|
+
169
|
885
|
+
I
|
886
|
+
f
|
887
|
+
I
|
888
|
+
19e
|
889
|
+
I
|
890
|
+
11
|
891
|
+
I
|
892
|
+
1ad
|
893
|
+
I
|
894
|
+
12
|
895
|
+
I
|
896
|
+
1b8
|
897
|
+
I
|
898
|
+
13
|
899
|
+
I
|
900
|
+
1c1
|
901
|
+
I
|
902
|
+
0
|
903
|
+
I
|
904
|
+
1c2
|
905
|
+
x
|
906
|
+
81
|
907
|
+
/home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/sortable_attachments.rb
|
908
|
+
p
|
909
|
+
1
|
910
|
+
x
|
911
|
+
7
|
912
|
+
options
|
913
|
+
x
|
914
|
+
17
|
915
|
+
method_visibility
|
916
|
+
x
|
917
|
+
15
|
918
|
+
add_defn_method
|
919
|
+
p
|
920
|
+
3
|
921
|
+
I
|
922
|
+
2
|
923
|
+
I
|
924
|
+
7
|
925
|
+
I
|
926
|
+
10
|
927
|
+
x
|
928
|
+
81
|
929
|
+
/home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/sortable_attachments.rb
|
930
|
+
p
|
931
|
+
0
|
932
|
+
x
|
933
|
+
15
|
934
|
+
InstanceMethods
|
935
|
+
M
|
936
|
+
1
|
937
|
+
n
|
938
|
+
n
|
939
|
+
x
|
940
|
+
15
|
941
|
+
InstanceMethods
|
942
|
+
i
|
943
|
+
30
|
944
|
+
5
|
945
|
+
66
|
946
|
+
99
|
947
|
+
7
|
948
|
+
0
|
949
|
+
7
|
950
|
+
1
|
951
|
+
65
|
952
|
+
67
|
953
|
+
49
|
954
|
+
2
|
955
|
+
0
|
956
|
+
49
|
957
|
+
3
|
958
|
+
4
|
959
|
+
15
|
960
|
+
99
|
961
|
+
7
|
962
|
+
4
|
963
|
+
7
|
964
|
+
5
|
965
|
+
65
|
966
|
+
67
|
967
|
+
49
|
968
|
+
2
|
969
|
+
0
|
970
|
+
49
|
971
|
+
3
|
972
|
+
4
|
973
|
+
11
|
974
|
+
I
|
975
|
+
5
|
976
|
+
I
|
977
|
+
0
|
978
|
+
I
|
979
|
+
0
|
980
|
+
I
|
981
|
+
0
|
982
|
+
n
|
983
|
+
p
|
984
|
+
6
|
985
|
+
x
|
986
|
+
29
|
987
|
+
attachment_ids_with_position=
|
988
|
+
M
|
989
|
+
1
|
990
|
+
n
|
991
|
+
n
|
992
|
+
x
|
993
|
+
29
|
994
|
+
attachment_ids_with_position=
|
995
|
+
i
|
996
|
+
20
|
997
|
+
5
|
998
|
+
20
|
999
|
+
0
|
1000
|
+
13
|
1001
|
+
18
|
1002
|
+
2
|
1003
|
+
47
|
1004
|
+
49
|
1005
|
+
0
|
1006
|
+
1
|
1007
|
+
15
|
1008
|
+
15
|
1009
|
+
5
|
1010
|
+
20
|
1011
|
+
0
|
1012
|
+
47
|
1013
|
+
49
|
1014
|
+
1
|
1015
|
+
1
|
1016
|
+
11
|
1017
|
+
I
|
1018
|
+
4
|
1019
|
+
I
|
1020
|
+
1
|
1021
|
+
I
|
1022
|
+
1
|
1023
|
+
I
|
1024
|
+
1
|
1025
|
+
n
|
1026
|
+
p
|
1027
|
+
2
|
1028
|
+
x
|
1029
|
+
32
|
1030
|
+
attachment_ids_without_position=
|
1031
|
+
x
|
1032
|
+
33
|
1033
|
+
reset_attachment_positions_by_ids
|
1034
|
+
p
|
1035
|
+
9
|
1036
|
+
I
|
1037
|
+
-1
|
1038
|
+
I
|
1039
|
+
19
|
1040
|
+
I
|
1041
|
+
0
|
1042
|
+
I
|
1043
|
+
2a
|
1044
|
+
I
|
1045
|
+
1
|
1046
|
+
I
|
1047
|
+
1a
|
1048
|
+
I
|
1049
|
+
c
|
1050
|
+
I
|
1051
|
+
1b
|
1052
|
+
I
|
1053
|
+
14
|
1054
|
+
x
|
1055
|
+
81
|
1056
|
+
/home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/sortable_attachments.rb
|
1057
|
+
p
|
1058
|
+
1
|
1059
|
+
x
|
1060
|
+
14
|
1061
|
+
attachment_ids
|
1062
|
+
x
|
1063
|
+
17
|
1064
|
+
method_visibility
|
1065
|
+
x
|
1066
|
+
15
|
1067
|
+
add_defn_method
|
1068
|
+
x
|
1069
|
+
33
|
1070
|
+
reset_attachment_positions_by_ids
|
1071
|
+
M
|
1072
|
+
1
|
1073
|
+
n
|
1074
|
+
n
|
1075
|
+
x
|
1076
|
+
33
|
1077
|
+
reset_attachment_positions_by_ids
|
1078
|
+
i
|
1079
|
+
20
|
1080
|
+
5
|
1081
|
+
49
|
1082
|
+
0
|
1083
|
+
0
|
1084
|
+
9
|
1085
|
+
10
|
1086
|
+
1
|
1087
|
+
11
|
1088
|
+
8
|
1089
|
+
11
|
1090
|
+
1
|
1091
|
+
15
|
1092
|
+
20
|
1093
|
+
0
|
1094
|
+
56
|
1095
|
+
1
|
1096
|
+
50
|
1097
|
+
2
|
1098
|
+
0
|
1099
|
+
11
|
1100
|
+
I
|
1101
|
+
3
|
1102
|
+
I
|
1103
|
+
1
|
1104
|
+
I
|
1105
|
+
1
|
1106
|
+
I
|
1107
|
+
1
|
1108
|
+
n
|
1109
|
+
p
|
1110
|
+
3
|
1111
|
+
x
|
1112
|
+
11
|
1113
|
+
new_record?
|
1114
|
+
M
|
1115
|
+
1
|
1116
|
+
p
|
1117
|
+
2
|
1118
|
+
x
|
1119
|
+
9
|
1120
|
+
for_block
|
1121
|
+
t
|
1122
|
+
n
|
1123
|
+
x
|
1124
|
+
33
|
1125
|
+
reset_attachment_positions_by_ids
|
1126
|
+
i
|
1127
|
+
73
|
1128
|
+
58
|
1129
|
+
37
|
1130
|
+
19
|
1131
|
+
0
|
1132
|
+
15
|
1133
|
+
37
|
1134
|
+
19
|
1135
|
+
1
|
1136
|
+
15
|
1137
|
+
15
|
1138
|
+
20
|
1139
|
+
0
|
1140
|
+
49
|
1141
|
+
0
|
1142
|
+
0
|
1143
|
+
78
|
1144
|
+
83
|
1145
|
+
1
|
1146
|
+
9
|
1147
|
+
23
|
1148
|
+
1
|
1149
|
+
8
|
1150
|
+
72
|
1151
|
+
5
|
1152
|
+
48
|
1153
|
+
2
|
1154
|
+
7
|
1155
|
+
3
|
1156
|
+
20
|
1157
|
+
1
|
1158
|
+
47
|
1159
|
+
101
|
1160
|
+
4
|
1161
|
+
7
|
1162
|
+
5
|
1163
|
+
63
|
1164
|
+
3
|
1165
|
+
7
|
1166
|
+
6
|
1167
|
+
5
|
1168
|
+
49
|
1169
|
+
7
|
1170
|
+
0
|
1171
|
+
47
|
1172
|
+
101
|
1173
|
+
4
|
1174
|
+
7
|
1175
|
+
8
|
1176
|
+
5
|
1177
|
+
49
|
1178
|
+
9
|
1179
|
+
0
|
1180
|
+
49
|
1181
|
+
10
|
1182
|
+
0
|
1183
|
+
47
|
1184
|
+
101
|
1185
|
+
4
|
1186
|
+
7
|
1187
|
+
11
|
1188
|
+
20
|
1189
|
+
0
|
1190
|
+
47
|
1191
|
+
101
|
1192
|
+
4
|
1193
|
+
63
|
1194
|
+
6
|
1195
|
+
81
|
1196
|
+
12
|
1197
|
+
49
|
1198
|
+
13
|
1199
|
+
1
|
1200
|
+
11
|
1201
|
+
I
|
1202
|
+
b
|
1203
|
+
I
|
1204
|
+
2
|
1205
|
+
I
|
1206
|
+
2
|
1207
|
+
I
|
1208
|
+
2
|
1209
|
+
n
|
1210
|
+
p
|
1211
|
+
14
|
1212
|
+
x
|
1213
|
+
4
|
1214
|
+
to_i
|
1215
|
+
x
|
1216
|
+
2
|
1217
|
+
==
|
1218
|
+
x
|
1219
|
+
10
|
1220
|
+
connection
|
1221
|
+
s
|
1222
|
+
43
|
1223
|
+
UPDATE `attachment_links` SET `position` =
|
1224
|
+
x
|
1225
|
+
4
|
1226
|
+
to_s
|
1227
|
+
s
|
1228
|
+
1
|
1229
|
+
|
1230
|
+
s
|
1231
|
+
21
|
1232
|
+
WHERE `element_id` =
|
1233
|
+
x
|
1234
|
+
2
|
1235
|
+
id
|
1236
|
+
s
|
1237
|
+
23
|
1238
|
+
AND `element_type` = '
|
1239
|
+
x
|
1240
|
+
5
|
1241
|
+
class
|
1242
|
+
x
|
1243
|
+
10
|
1244
|
+
base_class
|
1245
|
+
s
|
1246
|
+
24
|
1247
|
+
' AND `attachment_id` =
|
1248
|
+
x
|
1249
|
+
1
|
1250
|
+
+
|
1251
|
+
x
|
1252
|
+
6
|
1253
|
+
update
|
1254
|
+
p
|
1255
|
+
15
|
1256
|
+
I
|
1257
|
+
0
|
1258
|
+
I
|
1259
|
+
20
|
1260
|
+
I
|
1261
|
+
a
|
1262
|
+
I
|
1263
|
+
24
|
1264
|
+
I
|
1265
|
+
17
|
1266
|
+
I
|
1267
|
+
21
|
1268
|
+
I
|
1269
|
+
1a
|
1270
|
+
I
|
1271
|
+
22
|
1272
|
+
I
|
1273
|
+
25
|
1274
|
+
I
|
1275
|
+
23
|
1276
|
+
I
|
1277
|
+
45
|
1278
|
+
I
|
1279
|
+
21
|
1280
|
+
I
|
1281
|
+
48
|
1282
|
+
I
|
1283
|
+
0
|
1284
|
+
I
|
1285
|
+
49
|
1286
|
+
x
|
1287
|
+
81
|
1288
|
+
/home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/sortable_attachments.rb
|
1289
|
+
p
|
1290
|
+
2
|
1291
|
+
x
|
1292
|
+
2
|
1293
|
+
id
|
1294
|
+
x
|
1295
|
+
1
|
1296
|
+
i
|
1297
|
+
x
|
1298
|
+
15
|
1299
|
+
each_with_index
|
1300
|
+
p
|
1301
|
+
9
|
1302
|
+
I
|
1303
|
+
-1
|
1304
|
+
I
|
1305
|
+
1e
|
1306
|
+
I
|
1307
|
+
0
|
1308
|
+
I
|
1309
|
+
1f
|
1310
|
+
I
|
1311
|
+
b
|
1312
|
+
I
|
1313
|
+
0
|
1314
|
+
I
|
1315
|
+
c
|
1316
|
+
I
|
1317
|
+
20
|
1318
|
+
I
|
1319
|
+
14
|
1320
|
+
x
|
1321
|
+
81
|
1322
|
+
/home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/sortable_attachments.rb
|
1323
|
+
p
|
1324
|
+
1
|
1325
|
+
x
|
1326
|
+
3
|
1327
|
+
ids
|
1328
|
+
p
|
1329
|
+
5
|
1330
|
+
I
|
1331
|
+
2
|
1332
|
+
I
|
1333
|
+
19
|
1334
|
+
I
|
1335
|
+
10
|
1336
|
+
I
|
1337
|
+
1e
|
1338
|
+
I
|
1339
|
+
1e
|
1340
|
+
x
|
1341
|
+
81
|
1342
|
+
/home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/sortable_attachments.rb
|
1343
|
+
p
|
1344
|
+
0
|
1345
|
+
p
|
1346
|
+
7
|
1347
|
+
I
|
1348
|
+
2
|
1349
|
+
I
|
1350
|
+
2
|
1351
|
+
I
|
1352
|
+
d
|
1353
|
+
I
|
1354
|
+
6
|
1355
|
+
I
|
1356
|
+
27
|
1357
|
+
I
|
1358
|
+
18
|
1359
|
+
I
|
1360
|
+
41
|
1361
|
+
x
|
1362
|
+
81
|
1363
|
+
/home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/sortable_attachments.rb
|
1364
|
+
p
|
1365
|
+
0
|
1366
|
+
x
|
1367
|
+
13
|
1368
|
+
attach_method
|
1369
|
+
x
|
1370
|
+
12
|
1371
|
+
ActiveRecord
|
1372
|
+
n
|
1373
|
+
x
|
1374
|
+
4
|
1375
|
+
Base
|
1376
|
+
x
|
1377
|
+
7
|
1378
|
+
include
|
1379
|
+
n
|
1380
|
+
x
|
1381
|
+
4
|
1382
|
+
send
|
1383
|
+
p
|
1384
|
+
5
|
1385
|
+
I
|
1386
|
+
0
|
1387
|
+
I
|
1388
|
+
1
|
1389
|
+
I
|
1390
|
+
1a
|
1391
|
+
I
|
1392
|
+
2a
|
1393
|
+
I
|
1394
|
+
2a
|
1395
|
+
x
|
1396
|
+
81
|
1397
|
+
/home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/lib/sortable_attachments.rb
|
1398
|
+
p
|
1399
|
+
0
|