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
289e5ce3
Commit
289e5ce3
authored
Mar 21, 2015
by
LE GAC Renaud
Browse files
Revert "Migrate to web2py 2.9.5 (define the length for all string field for"
This reverts commit
8a218f8b
.
parent
837c693e
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
19 deletions
+16
-19
languages/fr-fr.py
languages/fr-fr.py
+1
-4
models/db_events.py
models/db_events.py
+2
-2
models/db_fundings.py
models/db_fundings.py
+1
-1
models/db_history.py
models/db_history.py
+2
-2
models/db_organization_levels.py
models/db_organization_levels.py
+1
-1
models/db_organizations.py
models/db_organizations.py
+1
-1
models/db_people.py
models/db_people.py
+3
-3
models/db_people_categories.py
models/db_people_categories.py
+2
-2
models/db_projects.py
models/db_projects.py
+1
-1
models/db_teams.py
models/db_teams.py
+2
-2
No files found.
languages/fr-fr.py
View file @
289e5ce3
#
-*-
coding: utf
-8 -*-
# coding: utf
8
{
'%s between %s and %s'
:
'%s du %s au %s'
,
'%s in %s'
:
'%s en %s'
,
...
...
@@ -65,8 +65,6 @@
'end'
:
'fin'
,
'End Date'
:
'Date de fin'
,
'enter a number between %(min)g and %(max)g'
:
'enter a number between %(min)g and %(max)g'
,
'Enter a number between %(min)g and %(max)g'
:
'Enter a number between %(min)g and %(max)g'
,
'Enter an integer between %(min)g and %(max)g'
:
'Enter an integer between %(min)g and %(max)g'
,
'enter an integer between %(min)g and %(max)g'
:
'enter an integer between %(min)g and %(max)g'
,
'enter date as %(format)s'
:
'enter date as %(format)s'
,
'Event'
:
'Evènement'
,
...
...
@@ -211,7 +209,6 @@
'Tables'
:
'Tables'
,
'Team'
:
'Équipe'
,
'teams'
:
'équipes'
,
'This email already has an account'
:
'This email already has an account'
,
'Time'
:
'Temps'
,
'Timestamp'
:
'Timestamp'
,
'Title'
:
'Titre'
,
...
...
models/db_events.py
View file @
289e5ce3
...
...
@@ -3,8 +3,8 @@
"""
db
.
define_table
(
"events"
,
Field
(
"event"
,
"string"
,
length
=
255
,
notnull
=
True
,
unique
=
True
),
Field
(
"category"
,
"string"
,
length
=
255
,
notnull
=
True
),
Field
(
"event"
,
"string"
,
notnull
=
True
,
unique
=
True
),
Field
(
"category"
,
"string"
,
notnull
=
True
),
Field
(
"definition"
,
"text"
),
migrate
=
"events.table"
)
...
...
models/db_fundings.py
View file @
289e5ce3
...
...
@@ -3,7 +3,7 @@
"""
db
.
define_table
(
"fundings"
,
Field
(
"agency"
,
"string"
,
length
=
255
,
notnull
=
True
,
unique
=
True
),
Field
(
"agency"
,
"string"
,
notnull
=
True
,
unique
=
True
),
Field
(
"definition"
,
"text"
),
migrate
=
"fundings.table"
)
...
...
models/db_history.py
View file @
289e5ce3
...
...
@@ -15,11 +15,11 @@ db.define_table("history",
Field
(
"percentage"
,
"integer"
,
default
=
None
,
label
=
'Perc.'
),
Field
(
"trainee_title"
,
"text"
,
label
=
T
(
'Title'
)),
Field
(
"trainee_university"
,
"text"
,
label
=
T
(
'University'
)),
Field
(
"trainee_category"
,
"string"
,
length
=
255
,
default
=
undef
,
label
=
T
(
"Domain"
)),
Field
(
"trainee_category"
,
"string"
,
default
=
undef
,
label
=
T
(
"Domain"
)),
Field
(
"id_organizations"
,
"reference organizations"
,
default
=
undef_id
,
label
=
'Organization'
),
Field
(
"id_organization_levels"
,
"reference organization_levels"
,
default
=
undef_id
,
label
=
'Level'
),
Field
(
"responsibility"
,
"text"
),
Field
(
"hardware_model"
,
"string"
,
length
=
255
,
label
=
T
(
"Model"
)),
Field
(
"hardware_model"
,
"string"
,
label
=
T
(
"Model"
)),
Field
(
"hardware_cost"
,
"double"
,
label
=
T
(
"Cost"
)),
Field
(
"note"
,
"text"
),
migrate
=
"history.table"
)
...
...
models/db_organization_levels.py
View file @
289e5ce3
...
...
@@ -3,7 +3,7 @@
"""
db
.
define_table
(
"organization_levels"
,
Field
(
"level"
,
"string"
,
length
=
255
,
notnull
=
True
,
unique
=
True
),
Field
(
"level"
,
"string"
,
notnull
=
True
,
unique
=
True
),
Field
(
"definition"
,
"text"
),
migrate
=
"organization_levels.table"
)
...
...
models/db_organizations.py
View file @
289e5ce3
...
...
@@ -3,7 +3,7 @@
"""
db
.
define_table
(
"organizations"
,
Field
(
"organization"
,
"string"
,
length
=
255
,
notnull
=
True
,
unique
=
True
),
Field
(
"organization"
,
"string"
,
notnull
=
True
,
unique
=
True
),
Field
(
"definition"
,
"text"
),
migrate
=
"organizations.table"
)
...
...
models/db_people.py
View file @
289e5ce3
...
...
@@ -3,9 +3,9 @@
"""
db
.
define_table
(
"people"
,
Field
(
"first_name"
,
"string"
,
length
=
255
,
notnull
=
True
),
Field
(
"last_name"
,
"string"
,
length
=
255
,
notnull
=
True
),
Field
(
"initials"
,
"string"
,
length
=
255
,
notnull
=
True
),
Field
(
"first_name"
,
"string"
,
notnull
=
True
),
Field
(
"last_name"
,
"string"
,
notnull
=
True
),
Field
(
"initials"
,
"string"
,
notnull
=
True
),
Field
(
"birth_date"
,
"date"
),
Field
(
"note"
,
"text"
),
migrate
=
"people.table"
)
...
...
models/db_people_categories.py
View file @
289e5ce3
...
...
@@ -3,8 +3,8 @@
"""
db
.
define_table
(
"people_categories"
,
Field
(
"code"
,
"string"
,
length
=
255
,
notnull
=
True
,
unique
=
True
,
label
=
T
(
"Quality"
)),
Field
(
"category"
,
"string"
,
length
=
255
,
notnull
=
True
),
Field
(
"code"
,
"string"
,
notnull
=
True
,
unique
=
True
,
label
=
T
(
"Quality"
)),
Field
(
"category"
,
"string"
,
notnull
=
True
),
Field
(
"definition"
,
"text"
),
migrate
=
"people_categories.table"
)
...
...
models/db_projects.py
View file @
289e5ce3
...
...
@@ -3,7 +3,7 @@
"""
db
.
define_table
(
"projects"
,
Field
(
"project"
,
"string"
,
length
=
255
,
notnull
=
True
,
unique
=
True
),
Field
(
"project"
,
"string"
,
notnull
=
True
,
unique
=
True
),
migrate
=
"projects.table"
)
db
.
projects
.
_before_delete
.
append
(
INHIBIT_CASCADE_DELETE
)
models/db_teams.py
View file @
289e5ce3
...
...
@@ -3,8 +3,8 @@
"""
db
.
define_table
(
"teams"
,
Field
(
"team"
,
"string"
,
length
=
255
,
notnull
=
True
,
unique
=
True
),
Field
(
"domain"
,
"string"
,
length
=
255
),
Field
(
"team"
,
"string"
,
notnull
=
True
,
unique
=
True
),
Field
(
"domain"
,
"string"
),
migrate
=
"teams.table"
)
db
.
teams
.
_before_delete
.
append
(
INHIBIT_CASCADE_DELETE
)
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