ArnAud
|
8c47a604cb
|
migration handler SQL: use new style to create column
|
2015-11-13 17:20:15 +01:00 |
|
Roland Haroutiounian
|
d1034a643c
|
PEP8/PyLint on types.py
|
2015-11-13 11:52:10 +01:00 |
|
Roland Haroutiounian
|
8c814e315e
|
PEP8/Pylint on randomem.py
|
2015-11-13 11:50:32 +01:00 |
|
Roland Haroutiounian
|
3090208987
|
PEP8/Pylint on model.py
|
2015-11-13 11:47:47 +01:00 |
|
Roland Haroutiounian
|
a07f0a10af
|
PEP8/PyLint on fields.py
|
2015-11-13 11:36:26 +01:00 |
|
Roland Haroutiounian
|
6a5136d728
|
PEP8/PyLint on classtypes.py
|
2015-11-13 11:20:33 +01:00 |
|
Roland Haroutiounian
|
5d43d897e1
|
PEP8 / PyLint on classes.py
|
2015-11-13 11:16:42 +01:00 |
|
Roland Haroutiounian
|
8b866388e6
|
PEP8/PyLint on migrationhandler module
|
2015-11-13 11:13:41 +01:00 |
|
Roland Haroutiounian
|
8b4244aaf5
|
PEP8/PyLint on EditorialModel/fieldtypes
|
2015-11-13 10:03:03 +01:00 |
|
Yann
|
f886bb5193
|
Delete relationnal Field from the generated LeType child class
|
2015-11-09 09:18:56 +01:00 |
|
ArnAud
|
eb8d282857
|
test Model: char fields should be nullable
|
2015-11-06 17:25:59 +01:00 |
|
Yann
|
d35f499e3d
|
Deleted useless code
|
2015-11-06 14:44:46 +01:00 |
|
Yann
|
39401184d0
|
Add a new method __purge_db() to the migration handler
|
2015-11-06 12:21:39 +01:00 |
|
Yann
|
a4e200b99a
|
Merge branch 'master' of git.labocleo.org:lodel2
|
2015-11-05 12:30:42 +01:00 |
|
ArnAud
|
c8d9b9042c
|
Emtype: no more fieldgroups
|
2015-11-05 12:20:59 +01:00 |
|
Yann
|
54ba4cc3c5
|
Implements get_relation in LeDatasourceSQL + some small changes in MySQL and MH
|
2015-11-05 12:11:41 +01:00 |
|
Yann
|
24b758af9b
|
Updated some MySQL properties and MigrationHandler stuff
|
2015-11-05 12:02:37 +01:00 |
|
Yann
|
3e3114a0b2
|
Better comments for MySQL MH
|
2015-11-05 11:41:30 +01:00 |
|
Roland Haroutiounian
|
cbd3d89426
|
[#63] PEP8/Pylint
|
2015-11-04 15:57:21 +01:00 |
|
Roland Haroutiounian
|
518cfad9cd
|
[#63] Mysql migration handler and ledatasourceSQL are using MySQL DataSource
|
2015-11-04 15:02:52 +01:00 |
|
Yann
|
5236429efd
|
Update on graphviz backend and random em generator given the changes in the EM (fieldgroups deletion)
|
2015-11-04 14:38:52 +01:00 |
|
Yann
|
d3b1b4b659
|
Updated the graphviz backend
|
2015-11-04 14:29:48 +01:00 |
|
Yann
|
10379c6a95
|
Fieldgroups are deleted
|
2015-11-04 13:52:58 +01:00 |
|
Yann
|
cb7a37e7a2
|
Add checks in EmField, add tests for EmField + bugfix in check in Model.create_component
Checks for EmField :
- checks that the name is uniq in an EmClass
- checks that a relation EmClass <- rel2type -> EmType is uniq
|
2015-11-04 10:40:36 +01:00 |
|
Yann
|
116bc2765d
|
MySQL migration handler enhancement
Add linked type attribute to LeClass childs classes
|
2015-10-30 16:32:26 +01:00 |
|
Yann
|
7b0df11496
|
Removing rel2type fields and rel2type attributes fields from LeClass and LeType fields lists
|
2015-10-30 14:47:16 +01:00 |
|
Yann
|
6df43be9b9
|
Solved a bug in the mysql MH (triggers where generated for common fields)
|
2015-10-29 16:53:11 +01:00 |
|
Yann
|
bb80f3e001
|
Modified the random em generator for a better rel2type generation
|
2015-10-29 16:52:31 +01:00 |
|
Yann
|
36ffdfdf0c
|
Some bugfix in components.max_rank model.create_component in the random em generator and in the file fieldtype
|
2015-10-29 16:28:23 +01:00 |
|
Yann
|
7e53eff0b1
|
Change the MySQL connector and updates the requirements.txt
|
2015-10-29 16:02:29 +01:00 |
|
Yann
|
95c1870f17
|
Add rel2type attribute handling
|
2015-10-29 15:53:14 +01:00 |
|
Yann
|
4f8f13e41f
|
Make the MH more fault tolerant and add the foreign keys support
|
2015-10-29 14:58:52 +01:00 |
|
Yann
|
1a50842a7e
|
First commit of an MySQL migration handler
|
2015-10-29 12:11:14 +01:00 |
|
Yann
|
3854cdcf82
|
Bugfix in EmClass : the dict EditorialModel.classtypes.common_fields was modified by Model.load() method
|
2015-10-29 12:11:14 +01:00 |
|
Yann
|
e207076363
|
Add a check function for integer fieldtype and make some bugfix in LeType
|
2015-10-23 14:22:06 +02:00 |
|
Yann
|
6bc80ce40b
|
Bugfix on pk fieldtype
|
2015-10-23 11:33:06 +02:00 |
|
Yann
|
7655aa7d54
|
GraphVizBackend bugfix
|
2015-10-23 11:17:50 +02:00 |
|
Roland Haroutiounian
|
8d3760f98d
|
[#61] Corrected the ftype in the bool fieldtype
|
2015-10-22 13:28:45 +02:00 |
|
Yann
|
1c4e2ddba8
|
Some Doxygen comments fix
|
2015-10-22 11:25:23 +02:00 |
|
Yann
|
0be8db4d00
|
Complete the LeFactory generated code tests, add a __hash__ method for fieldtypes
|
2015-10-22 09:55:20 +02:00 |
|
Yann
|
76782b1b5b
|
BugFix in Model tests
An old string was given as argument to DummyMigrationHandler and was interpreted as debug = True
|
2015-10-21 09:50:26 +02:00 |
|
Yann
|
baeff1f7e6
|
Implements the EmClass::linked_type() method and add 2 new property method to EmField : em_class and fieldgroup
Associated tests has been added/updated
|
2015-10-20 17:10:40 +02:00 |
|
Yann
|
eba6e9d6cf
|
Deleted most of Django code/files
|
2015-10-16 17:05:29 +02:00 |
|
ArnAud
|
fbd970a070
|
Model: add creation and modification date to common fields
|
2015-10-16 17:02:14 +02:00 |
|
ArnAud
|
5babe2f6d7
|
migration handler SQL: use basic_type and fieldtypes method to create column definitions
|
2015-10-16 17:01:27 +02:00 |
|
ArnAud
|
fdf8afc236
|
fieldtypes: add ftype class attribute
|
2015-10-16 17:00:10 +02:00 |
|
Yann
|
2860d8cf20
|
Add a ftype class attribute to EmFieldType objects
|
2015-10-16 16:05:45 +02:00 |
|
Yann
|
0c51d6a483
|
Added some class property to LeFactory generated classes to avoid Model calls
|
2015-10-16 14:05:18 +02:00 |
|
ArnAud
|
b4740208ca
|
Migration handler SQL: create common fields in object table
|
2015-10-16 13:47:17 +02:00 |
|
ArnAud
|
a4dacc654a
|
classtype: use the same naming pattern for *_id fields
|
2015-10-16 13:46:29 +02:00 |
|