spiderfw 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/VERSION +1 -1
- data/apps/core/auth/po/it/spider_auth.po +2 -2
- data/apps/core/auth/po/spider_auth.pot +2 -2
- data/apps/core/components/po/it/spider_components.po +5 -5
- data/apps/core/components/po/spider_components.pot +5 -5
- data/apps/core/forms/po/it/spider_forms.po +2 -2
- data/apps/core/forms/po/spider_forms.pot +2 -2
- data/apps/master/po/master.pot +1 -1
- data/apps/messenger/po/it/spider_messenger.po +1 -1
- data/apps/messenger/po/spider_messenger.pot +1 -1
- data/lib/spiderfw/http/server.rb +4 -2
- data/lib/spiderfw/model/condition.rb +1 -1
- data/lib/spiderfw/model/mappers/mapper.rb +1 -0
- data/lib/spiderfw/model/storage/db/adapters/oracle.rb +3 -2
- metadata +3 -3
data/CHANGELOG
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.5
|
@@ -6,7 +6,7 @@
|
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
8
|
"Project-Id-Version: Spider::Auth 0.1\n"
|
9
|
-
"POT-Creation-Date: 2011-
|
9
|
+
"POT-Creation-Date: 2011-05-09 17:37+0200\n"
|
10
10
|
"PO-Revision-Date: 2010-11-02 18:13+0100\n"
|
11
11
|
"Last-Translator: Ivan Pirlik <ivan.pirlik@soluzionipa.it>\n"
|
12
12
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -48,7 +48,7 @@ msgstr "Ultima login"
|
|
48
48
|
msgid "Login count"
|
49
49
|
msgstr "Numero login"
|
50
50
|
|
51
|
-
#: models/mixins/rbac_provider.rb:
|
51
|
+
#: models/mixins/rbac_provider.rb:68
|
52
52
|
msgid "%s permissions"
|
53
53
|
msgstr "Permessi %s"
|
54
54
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: Spider::Auth 0.1\n"
|
10
|
-
"POT-Creation-Date: 2011-
|
10
|
+
"POT-Creation-Date: 2011-05-09 17:37+0200\n"
|
11
11
|
"PO-Revision-Date: 2009-06-30 16:58+0200\n"
|
12
12
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
13
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -47,7 +47,7 @@ msgstr ""
|
|
47
47
|
msgid "Login count"
|
48
48
|
msgstr ""
|
49
49
|
|
50
|
-
#: models/mixins/rbac_provider.rb:
|
50
|
+
#: models/mixins/rbac_provider.rb:68
|
51
51
|
msgid "%s permissions"
|
52
52
|
msgstr ""
|
53
53
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
8
|
"Project-Id-Version: Spider::Components 0.1\n"
|
9
|
-
"POT-Creation-Date: 2011-
|
9
|
+
"POT-Creation-Date: 2011-05-09 17:37+0200\n"
|
10
10
|
"PO-Revision-Date: 2010-11-29 12:51+0100\n"
|
11
11
|
"Last-Translator: Ivan Pirlik <ivan.pirlik@soluzionipa.it>\n"
|
12
12
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -20,19 +20,19 @@ msgstr ""
|
|
20
20
|
msgid "Administration"
|
21
21
|
msgstr "Amministrazione"
|
22
22
|
|
23
|
-
#: widgets/admin/admin.rb:
|
23
|
+
#: widgets/admin/admin.rb:37
|
24
24
|
msgid "Manage Data"
|
25
25
|
msgstr "Gestisci i Dati"
|
26
26
|
|
27
|
-
#: widgets/admin/admin.rb:
|
27
|
+
#: widgets/admin/admin.rb:42
|
28
28
|
msgid "guest"
|
29
29
|
msgstr "ospite"
|
30
30
|
|
31
|
-
#: widgets/crud/crud.rb:
|
31
|
+
#: widgets/crud/crud.rb:95
|
32
32
|
msgid "Cancel"
|
33
33
|
msgstr "Annulla"
|
34
34
|
|
35
|
-
#: widgets/crud/crud.rb:
|
35
|
+
#: widgets/crud/crud.rb:96
|
36
36
|
msgid "Ok"
|
37
37
|
msgstr "Ok"
|
38
38
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: Spider::Components 0.1\n"
|
10
|
-
"POT-Creation-Date: 2011-
|
10
|
+
"POT-Creation-Date: 2011-05-09 17:37+0200\n"
|
11
11
|
"PO-Revision-Date: 2009-06-30 16:58+0200\n"
|
12
12
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
13
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -21,19 +21,19 @@ msgstr ""
|
|
21
21
|
msgid "Administration"
|
22
22
|
msgstr ""
|
23
23
|
|
24
|
-
#: widgets/admin/admin.rb:
|
24
|
+
#: widgets/admin/admin.rb:37
|
25
25
|
msgid "Manage Data"
|
26
26
|
msgstr ""
|
27
27
|
|
28
|
-
#: widgets/admin/admin.rb:
|
28
|
+
#: widgets/admin/admin.rb:42
|
29
29
|
msgid "guest"
|
30
30
|
msgstr ""
|
31
31
|
|
32
|
-
#: widgets/crud/crud.rb:
|
32
|
+
#: widgets/crud/crud.rb:95
|
33
33
|
msgid "Cancel"
|
34
34
|
msgstr ""
|
35
35
|
|
36
|
-
#: widgets/crud/crud.rb:
|
36
|
+
#: widgets/crud/crud.rb:96
|
37
37
|
msgid "Ok"
|
38
38
|
msgstr ""
|
39
39
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
8
|
"Project-Id-Version: Spider::Forms 0.1\n"
|
9
|
-
"POT-Creation-Date: 2011-
|
9
|
+
"POT-Creation-Date: 2011-05-09 17:37+0200\n"
|
10
10
|
"PO-Revision-Date: 2010-11-29 12:52+0100\n"
|
11
11
|
"Last-Translator: Ivan Pirlik <ivan.pirlik@soluzionipa.it>\n"
|
12
12
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -36,7 +36,7 @@ msgstr "%s e rimani"
|
|
36
36
|
msgid "%s is not a valid date"
|
37
37
|
msgstr "%s non è una data valida"
|
38
38
|
|
39
|
-
#: widgets/inputs/input/input.rb:
|
39
|
+
#: widgets/inputs/input/input.rb:91
|
40
40
|
msgid "%s is required"
|
41
41
|
msgstr "Il campo %s è obbligatorio"
|
42
42
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: Spider::Forms 0.1\n"
|
10
|
-
"POT-Creation-Date: 2011-
|
10
|
+
"POT-Creation-Date: 2011-05-09 17:37+0200\n"
|
11
11
|
"PO-Revision-Date: 2009-06-30 17:03+0200\n"
|
12
12
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
13
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -37,7 +37,7 @@ msgstr ""
|
|
37
37
|
msgid "%s is not a valid date"
|
38
38
|
msgstr ""
|
39
39
|
|
40
|
-
#: widgets/inputs/input/input.rb:
|
40
|
+
#: widgets/inputs/input/input.rb:91
|
41
41
|
msgid "%s is required"
|
42
42
|
msgstr ""
|
43
43
|
|
data/apps/master/po/master.pot
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: Spider::Master 0.1\n"
|
10
|
-
"POT-Creation-Date: 2011-
|
10
|
+
"POT-Creation-Date: 2011-05-09 17:37+0200\n"
|
11
11
|
"PO-Revision-Date: 2011-05-09 17:31+0200\n"
|
12
12
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
13
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -6,7 +6,7 @@
|
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
8
|
"Project-Id-Version: Spider::Messenger 0.1\n"
|
9
|
-
"POT-Creation-Date: 2011-
|
9
|
+
"POT-Creation-Date: 2011-05-09 17:37+0200\n"
|
10
10
|
"PO-Revision-Date: 2010-11-29 12:53+0100\n"
|
11
11
|
"Last-Translator: Ivan Pirlik <ivan.pirlik@soluzionipa.it>\n"
|
12
12
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -7,7 +7,7 @@
|
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: Spider::Messenger 0.1\n"
|
10
|
-
"POT-Creation-Date: 2011-
|
10
|
+
"POT-Creation-Date: 2011-05-09 17:37+0200\n"
|
11
11
|
"PO-Revision-Date: 2009-06-30 16:44+0200\n"
|
12
12
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
13
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
data/lib/spiderfw/http/server.rb
CHANGED
@@ -109,7 +109,7 @@ module Spider; module HTTP
|
|
109
109
|
Process.detach(forked)
|
110
110
|
else
|
111
111
|
Spider.init_base
|
112
|
-
spawner_started =
|
112
|
+
spawner_started = false
|
113
113
|
if Spider.conf.get('webserver.respawn_on_change')
|
114
114
|
Spider.start_loggers
|
115
115
|
begin
|
@@ -119,7 +119,9 @@ module Spider; module HTTP
|
|
119
119
|
end
|
120
120
|
spawner = Spawner.new({'spawn' => start})
|
121
121
|
spawner.run('spawn')
|
122
|
-
|
122
|
+
spawner_started = true
|
123
|
+
rescue LoadError => exc
|
124
|
+
raise unless exc.message =~ /fssm/
|
123
125
|
Spider.logger.error("Install 'fssm' gem to enable respawning")
|
124
126
|
end
|
125
127
|
end
|
@@ -1173,6 +1173,7 @@ module Spider; module Model
|
|
1173
1173
|
def extended(obj)
|
1174
1174
|
obj.define_schema &@schema_define_proc if @schema_define_proc
|
1175
1175
|
obj.with_schema &@schema_proc if @schema_proc
|
1176
|
+
obj.no_map(*@no_map_elements.keys) if @no_map_elements
|
1176
1177
|
end
|
1177
1178
|
|
1178
1179
|
def no_map(*els)
|
@@ -203,9 +203,10 @@ module Spider; module Model; module Storage; module Db
|
|
203
203
|
else
|
204
204
|
val = bound_vars ? ":#{(curr[:bind_cnt] += 1)}" : value
|
205
205
|
sql = "#{key} #{comp} #{val}"
|
206
|
+
if comp == '<>'
|
207
|
+
sql = "(#{sql} or #{key} IS NULL)"
|
208
|
+
end
|
206
209
|
end
|
207
|
-
|
208
|
-
|
209
210
|
end
|
210
211
|
return sql
|
211
212
|
end
|
metadata
CHANGED