Yann Weber
4f8f13e41f
Make the MH more fault tolerant and add the foreign keys support
9 years ago
Roland Haroutiounian
5c7bb9d76b
Changed LeDataSourceSQL to use MySQL
9 years ago
Yann Weber
1a50842a7e
First commit of an MySQL migration handler
9 years ago
Yann Weber
3854cdcf82
Bugfix in EmClass : the dict EditorialModel.classtypes.common_fields was modified by Model.load() method
9 years ago
Roland Haroutiounian
77e7f66efc
Corrected the constructor and the get method of LeDataSourceSQL
9 years ago
Roland Haroutiounian
8ab4f41bec
Added the other basic tests' headers in the test_ledatasource.py file
9 years ago
Roland Haroutiounian
486213d06d
Committed the test class for LeDataSourceSQL
9 years ago
Roland Haroutiounian
996039d6aa
Added the first test for the LeObject datasource
9 years ago
Roland Haroutiounian
a904ac0a09
PEP8/Pylint on lefactory.py
9 years ago
Roland Haroutiounian
5738bb67cb
PEP8/Pylint on LeClass
9 years ago
Roland Haroutiounian
32fe54e205
PEP8 / PyLint on datasources module
9 years ago
Roland Haroutiounian
4bccea4cb6
Corrected a docstring
9 years ago
Roland Haroutiounian
e3dba75747
[#61 ] Corrected the relational filters parsing method in LeDataSourceSQL
9 years ago
Roland Haroutiounian
f2c721a9ae
[#61 ] Added the first implementation of update and delete functions
9 years ago
Roland Haroutiounian
16e3b2c210
[#61 ] started the implementation of the update method in LeDataSourceSQL object
9 years ago
Yann Weber
35c749c0f5
Add tests for LeType
9 years ago
Yann Weber
052ddd4ce8
Bugfixes in lefactory and letype
Deleted the classinstancemethod decorator because of inheritance problems (not sure they were real...)
Add a shortcut method to LeFactory to get the generated LeObject class
+ bugfixes
9 years ago
Yann Weber
e207076363
Add a check function for integer fieldtype and make some bugfix in LeType
9 years ago
Yann Weber
ee578c1f89
Add another test for LeObject.get() method
9 years ago
Yann Weber
965560bf6b
Add test for LeObject with a mock on the datasource + bugfix on _LeObject and LeType
9 years ago
Roland Haroutiounian
ee89b62f40
[#61 ] added a default module setting to LeDataSourceSQL object
9 years ago
Roland Haroutiounian
a27aba08f0
[#61 ] Added a first implementation of the insert method
9 years ago
Yann Weber
f5e79bbac1
Fix bad argument in DummyDatasource
9 years ago
Roland Haroutiounian
7bf9ceb7a3
[#61 ] pep8 correction
9 years ago
Roland Haroutiounian
8bc93a67d5
[#61 ] First implementation of the get method in ledatasourcesql
9 years ago
Roland Haroutiounian
dcd65f5f4c
[#61 ] Rewriting the method headers
9 years ago
Yann Weber
6bc80ce40b
Bugfix on pk fieldtype
9 years ago
Yann Weber
7655aa7d54
GraphVizBackend bugfix
9 years ago
Yann Weber
25c7f607af
Implements delete() and update() methods in LeType and _LeObject
9 years ago
Yann Weber
c2ce3e3717
And another file I forgeted
9 years ago
Yann Weber
b257d6e16d
Add the two files for testing leobject package (that I forget to add in previous commit -_- )
9 years ago
Yann Weber
ec033f63fb
Update the relationnal filters parse/storage and associated tests
9 years ago
Yann Weber
46c98dc046
Updated the DummyDatasource + documenting query filters
9 years ago
Yann Weber
a53f647810
Add insert method
9 years ago
Roland Haroutiounian
8478fef37d
[#61 ] started the implementation of relational_filters in LeDataSourceSQL
9 years ago
Yann Weber
1d29e95951
Add tests for LeObject + bufix
9 years ago
Roland Haroutiounian
d826611811
[#61 ] Added the case of a non given relational_filters argument
9 years ago
Roland Haroutiounian
50af1b16a8
[#61 ] Added the empty functions : update, insert, delete to the LeDataSourceSQL class
9 years ago
Roland Haroutiounian
8d3760f98d
[#61 ] Corrected the ftype in the bool fieldtype
9 years ago
Yann Weber
ff50f7ee64
_Leobject code factorisation
9 years ago
Roland Haroutiounian
96fbc2f45e
[#61 ] changed params in the dummy data source class
9 years ago
Roland Haroutiounian
e064173359
[#61 ] Corrected the headers of update and delete methods in dummy datasource
9 years ago
Yann Weber
1c4e2ddba8
Some Doxygen comments fix
9 years ago
Roland Haroutiounian
2fedc186da
[#61 ] Moved ledatasource into dummy
9 years ago
Yann Weber
0be8db4d00
Complete the LeFactory generated code tests, add a __hash__ method for fieldtypes
9 years ago
Roland Haroutiounian
3f8e5c9fce
[#61 ] Added the tablename generation
9 years ago
Roland Haroutiounian
40d8680c56
Merge branch 't61'
9 years ago
Roland Haroutiounian
765a4e5830
[#61 ] Added the return as a dict in the get method of LeDataSource
9 years ago
Roland Haroutiounian
89b13c5d91
[#61 ] Added the prepare_filters method
9 years ago
Yann Weber
f029a95214
Add tests for LeFactory generated code
9 years ago