Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
4505a5a2
Commit
4505a5a2
authored
Mar 20, 2015
by
LE GAC Renaud
Browse files
Minor polishing.
parent
16e4dbd1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
controllers/mytools.py
controllers/mytools.py
+1
-1
models/db0_events.py
models/db0_events.py
+1
-1
static/docs/database.png
static/docs/database.png
+0
-0
static/docs/database.xml
static/docs/database.xml
+1
-1
No files found.
controllers/mytools.py
View file @
4505a5a2
...
...
@@ -106,7 +106,7 @@ def userModelConsistency():
for
row
in
rows
:
data
=
{}
rd
=
row
.
data
rd
=
(
row
.
data
if
isinstance
(
row
.
data
,
dict
)
else
dict
())
# copy existing key or add new key
for
key
in
model
:
...
...
models/db0_events.py
View file @
4505a5a2
# -*- coding: utf-8 -*-
""" events
"""
"""
db
.
define_table
(
"events"
,
Field
(
"event"
,
"string"
,
length
=
255
,
notnull
=
True
,
unique
=
True
),
Field
(
"definition"
,
"text"
),
...
...
static/docs/database.png
View replaced file @
16e4dbd1
View file @
4505a5a2
94 KB
|
W:
|
H:
95.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/docs/database.xml
View file @
4505a5a2
...
...
@@ -22,4 +22,4 @@
<type
label=
"Upload"
length=
"0"
sql=
"upload"
quote=
"'"
/>
<type
label=
"Password"
length=
"0"
sql=
"password"
quote=
"'"
/>
</group>
</datatypes><table
x=
"303"
y=
"21"
name=
"people"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"first_name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"last_name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"initials"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"birth_date"
null=
"1"
autoincrement=
"0"
><datatype>
date
</datatype></row><row
name=
"note"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"302"
y=
"174"
name=
"teams"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"team"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"domain"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"303"
y=
"285"
name=
"projects"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"project"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"agencies"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"618"
y=
"19"
name=
"people_categories"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"code"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"category"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"452"
y=
"71"
name=
"history"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"id_people"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"people"
row=
"id"
/></row><row
name=
"id_teams"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"teams"
row=
"id"
/></row><row
name=
"id_projects"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"projects"
row=
"id"
/></row><row
name=
"id_people_categories"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"people_categories"
row=
"id"
/></row><row
name=
"id_fundings"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"fundings"
row=
"id"
/></row><row
name=
"id_events"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"events"
row=
"id"
/></row><row
name=
"start_date"
null=
"0"
autoincrement=
"0"
><datatype>
date
</datatype></row><row
name=
"end_date"
null=
"1"
autoincrement=
"0"
><datatype>
date
</datatype></row><row
name=
"percentage"
null=
"1"
autoincrement=
"0"
><datatype>
integer
</datatype></row><row
name=
"note"
null=
"0"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"data"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"633"
y=
"149"
name=
"fundings"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"agency"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"638"
y=
"266"
name=
"events"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"event"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"definitiion"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"data"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"806"
y=
"19"
name=
"lists"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"title"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"conditions"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"group_field"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"sorters"
null=
"1"
autoincrement=
"0"
><datatype>
integer
</datatype></row><row
name=
"columns"
null=
"0"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"features"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"903"
y=
"18"
name=
"metrics2d"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"title"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"conditions"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"group_field_x"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"group_field_y"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"metric_field_z"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"aggregate_z"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"909"
y=
"224"
name=
"graphs"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"title"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"report_type"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"report_name"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"plot"
null=
"0"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"777"
y=
"225"
name=
"metrics1d"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"title"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"conditions"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"group_field"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"columns"
null=
"0"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table></sql>
\ No newline at end of file
</datatypes><table
x=
"303"
y=
"21"
name=
"people"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"first_name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"last_name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"initials"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"birth_date"
null=
"1"
autoincrement=
"0"
><datatype>
date
</datatype></row><row
name=
"note"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"302"
y=
"174"
name=
"teams"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"team"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"domain"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"303"
y=
"285"
name=
"projects"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"project"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"618"
y=
"19"
name=
"people_categories"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"code"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"category"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"452"
y=
"71"
name=
"history"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"id_people"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"people"
row=
"id"
/></row><row
name=
"id_teams"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"teams"
row=
"id"
/></row><row
name=
"id_projects"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"projects"
row=
"id"
/></row><row
name=
"id_people_categories"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"people_categories"
row=
"id"
/></row><row
name=
"id_fundings"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"fundings"
row=
"id"
/></row><row
name=
"id_events"
null=
"0"
autoincrement=
"0"
><datatype>
integer
</datatype><relation
table=
"events"
row=
"id"
/></row><row
name=
"start_date"
null=
"0"
autoincrement=
"0"
><datatype>
date
</datatype></row><row
name=
"end_date"
null=
"1"
autoincrement=
"0"
><datatype>
date
</datatype></row><row
name=
"percentage"
null=
"1"
autoincrement=
"0"
><datatype>
integer
</datatype></row><row
name=
"note"
null=
"0"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"data"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"633"
y=
"149"
name=
"fundings"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"agency"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"638"
y=
"266"
name=
"events"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"event"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"definitiion"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"data"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"806"
y=
"19"
name=
"lists"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"title"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"conditions"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"group_field"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"sorters"
null=
"1"
autoincrement=
"0"
><datatype>
integer
</datatype></row><row
name=
"columns"
null=
"0"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"features"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"903"
y=
"18"
name=
"metrics2d"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"title"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"conditions"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"group_field_x"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"group_field_y"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"metric_field_z"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"aggregate_z"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"909"
y=
"224"
name=
"graphs"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"title"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"report_type"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"report_name"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"plot"
null=
"0"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table><table
x=
"777"
y=
"225"
name=
"metrics1d"
><row
name=
"id"
null=
"0"
autoincrement=
"1"
><datatype>
integer
</datatype></row><row
name=
"name"
null=
"0"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"title"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"conditions"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"group_field"
null=
"1"
autoincrement=
"0"
><datatype>
string
</datatype></row><row
name=
"columns"
null=
"0"
autoincrement=
"0"
><datatype>
text
</datatype></row><row
name=
"definition"
null=
"1"
autoincrement=
"0"
><datatype>
text
</datatype></row><key
type=
"PRIMARY"
name=
""
><part>
id
</part></key></table></sql>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment