Yann Weber
|
67dbe5c097
|
Implements relation stuff + a lot of fixes in tests and in leo fieldtypes validation stack
|
9 anos atrás |
Yann Weber
|
3ae2e6e613
|
Moved all modules related to DB in the DataSource folder ( fixes #88 )
|
9 anos atrás |
Yann Weber
|
6a6326831a
|
Upgrade type check in leo fieldtype + unskip some tests
|
9 anos atrás |
Yann Weber
|
a0a83ad19b
|
Add test + small bugfixes in fieldtypes + implementations of short utils methods
|
9 anos atrás |
Yann Weber
|
6634ae34ef
|
Bugfix on LeRelation fieldtypes
|
9 anos atrás |
Yann Weber
|
10b8a1873a
|
Updated LeRelation default field list (nature is not internal automatic)
|
9 anos atrás |
Yann Weber
|
1cd5998a88
|
Implements partial instanciation of LeObjects + utility classmethod for LeRelation
|
9 anos atrás |
Yann Weber
|
8cff059ab3
|
More on LeRelation fieldtypes leo and naturerelation
|
9 anos atrás |
Yann Weber
|
798ad5a68e
|
Added 2 fieldtypes : leo and naturerelation + add a uidname method to _LeCrud
|
9 anos atrás |
Yann Weber
|
df40d5f17d
|
Updated fieldtypes to make easier the check_data_value inheritance
|
9 anos atrás |
Yann Weber
|
9cc1e8ab96
|
Started LeRelation and childs implementation
Begin to work on fieldtypes
|
9 anos atrás |
Yann Weber
|
52cbce9865
|
Changed LeFactory generated code (again) + Bugfix on LeCrud + more tests and tests update
|
9 anos atrás |
Yann Weber
|
aae570e5bc
|
Bugfix + added some tests to LeCrud
|
9 anos atrás |
ArnAud
|
3c1aa67ea7
|
fieldtypes: should now return (value, error)
|
9 anos atrás |
ArnAud
|
cfbe4ba6db
|
leo: first draft of check data workflow
|
9 anos atrás |
ArnAud
|
147cadc377
|
fieldtypes: use relative import
|
9 anos atrás |
Yann Weber
|
dcc9fd0cf0
|
Updated fieldtypes check function to fit with the futur LeCrud
|
9 anos atrás |
ArnAud
|
8c47a604cb
|
migration handler SQL: use new style to create column
|
9 anos atrás |
Roland Haroutiounian
|
d1034a643c
|
PEP8/PyLint on types.py
|
9 anos atrás |
Roland Haroutiounian
|
8c814e315e
|
PEP8/Pylint on randomem.py
|
9 anos atrás |
Roland Haroutiounian
|
3090208987
|
PEP8/Pylint on model.py
|
9 anos atrás |
Roland Haroutiounian
|
a07f0a10af
|
PEP8/PyLint on fields.py
|
9 anos atrás |
Roland Haroutiounian
|
6a5136d728
|
PEP8/PyLint on classtypes.py
|
9 anos atrás |
Roland Haroutiounian
|
5d43d897e1
|
PEP8 / PyLint on classes.py
|
9 anos atrás |
Roland Haroutiounian
|
8b866388e6
|
PEP8/PyLint on migrationhandler module
|
9 anos atrás |
Roland Haroutiounian
|
8b4244aaf5
|
PEP8/PyLint on EditorialModel/fieldtypes
|
9 anos atrás |
Yann Weber
|
f886bb5193
|
Delete relationnal Field from the generated LeType child class
|
9 anos atrás |
ArnAud
|
eb8d282857
|
test Model: char fields should be nullable
|
9 anos atrás |
Yann Weber
|
d35f499e3d
|
Deleted useless code
|
9 anos atrás |
Yann Weber
|
39401184d0
|
Add a new method __purge_db() to the migration handler
|
9 anos atrás |
ArnAud
|
c8d9b9042c
|
Emtype: no more fieldgroups
|
9 anos atrás |
Yann Weber
|
54ba4cc3c5
|
Implements get_relation in LeDatasourceSQL + some small changes in MySQL and MH
|
9 anos atrás |
Yann Weber
|
24b758af9b
|
Updated some MySQL properties and MigrationHandler stuff
|
9 anos atrás |
Yann Weber
|
3e3114a0b2
|
Better comments for MySQL MH
|
9 anos atrás |
Roland Haroutiounian
|
cbd3d89426
|
[#63] PEP8/Pylint
|
9 anos atrás |
Roland Haroutiounian
|
518cfad9cd
|
[#63] Mysql migration handler and ledatasourceSQL are using MySQL DataSource
|
9 anos atrás |
Yann Weber
|
5236429efd
|
Update on graphviz backend and random em generator given the changes in the EM (fieldgroups deletion)
|
9 anos atrás |
Yann Weber
|
d3b1b4b659
|
Updated the graphviz backend
|
9 anos atrás |
Yann Weber
|
10379c6a95
|
Fieldgroups are deleted
|
9 anos atrás |
Yann Weber
|
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
|
9 anos atrás |
Yann Weber
|
116bc2765d
|
MySQL migration handler enhancement
Add linked type attribute to LeClass childs classes
|
9 anos atrás |
Yann Weber
|
7b0df11496
|
Removing rel2type fields and rel2type attributes fields from LeClass and LeType fields lists
|
9 anos atrás |
Yann Weber
|
6df43be9b9
|
Solved a bug in the mysql MH (triggers where generated for common fields)
|
9 anos atrás |
Yann Weber
|
bb80f3e001
|
Modified the random em generator for a better rel2type generation
|
9 anos atrás |
Yann Weber
|
36ffdfdf0c
|
Some bugfix in components.max_rank model.create_component in the random em generator and in the file fieldtype
|
9 anos atrás |
Yann Weber
|
7e53eff0b1
|
Change the MySQL connector and updates the requirements.txt
|
9 anos atrás |
Yann Weber
|
95c1870f17
|
Add rel2type attribute handling
|
9 anos atrás |
Yann Weber
|
4f8f13e41f
|
Make the MH more fault tolerant and add the foreign keys support
|
9 anos atrás |
Yann Weber
|
1a50842a7e
|
First commit of an MySQL migration handler
|
9 anos atrás |
Yann Weber
|
3854cdcf82
|
Bugfix in EmClass : the dict EditorialModel.classtypes.common_fields was modified by Model.load() method
|
9 anos atrás |