Roland Haroutiounian
1b4f3634d3
[#63 ] PEP8/Pylint checked on DataSource/MySQL module
8 years ago
Roland Haroutiounian
518cfad9cd
[#63 ] Mysql migration handler and ledatasourceSQL are using MySQL DataSource
8 years ago
Yann Weber
e2656e0285
Updated the dummy datasource with methods headers to handle relations
8 years ago
Yann Weber
5236429efd
Update on graphviz backend and random em generator given the changes in the EM (fieldgroups deletion)
8 years ago
Roland Haroutiounian
6f06c86a86
[#63 ] Change in the new of the foreign key generator
8 years ago
Yann Weber
d3b1b4b659
Updated the graphviz backend
8 years ago
Roland Haroutiounian
da70cd0d61
Merge branch 'dev-63-unification-mysql-utils'
8 years ago
Roland Haroutiounian
e39a00b361
[#63 ] New DataSource Module
* New submodule MySQL
* Unsuseful methods deleted
* Methods to create table and field names in the unified DataSource class
8 years ago
Yann Weber
10379c6a95
Fieldgroups are deleted
8 years ago
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
8 years ago
Yann Weber
ff983409fc
Changed the relation's methods header of the dummy datasource
8 years ago
Yann Weber
81d194974b
Add a rel2type_name to LeType methods about linked stuff
8 years ago
Yann Weber
fb848fd1dd
Begin to work on relations API but some problems appear
8 years ago
Yann Weber
116bc2765d
MySQL migration handler enhancement
Add linked type attribute to LeClass childs classes
8 years ago
Yann Weber
0d88ebca62
Add relation modification methods to LeType
8 years ago
Roland Haroutiounian
7f3981f24a
Corrected the delete method in LeDataSourceSQL
8 years ago
Roland Haroutiounian
ffa51b38db
skipping not yet implemented unittests on LeDataSourceSQL
8 years ago
Yann Weber
077a54423d
Bugfix on LeType.check_or_raise() method
When complete was True the method was expecting optionnal field in datas
8 years ago
Yann Weber
7b0df11496
Removing rel2type fields and rel2type attributes fields from LeClass and LeType fields lists
8 years ago
Roland Haroutiounian
119b9b6f9f
Added the deleting in the object table
8 years ago
Yann Weber
3f9067492c
Removed a debug message + bugfix on LeDatasource returned values
8 years ago
Yann Weber
bdd85d9bde
Implement the LeDatasource.insert() method + user friendly LeObject.insert() datas arg
8 years ago
Roland Haroutiounian
6540e2c233
Changed the class name detection in the LeDataSourceSQL class
8 years ago
Roland Haroutiounian
ded36cacc8
Reimplemented the delete function
8 years ago
Roland Haroutiounian
936219e47a
Added a test to detect empty relational filter arguments in the parsing process
8 years ago
Roland Haroutiounian
edb86d7f55
Optimized the relational filters parsing
8 years ago
Yann Weber
6df43be9b9
Solved a bug in the mysql MH (triggers where generated for common fields)
8 years ago
Yann Weber
bb80f3e001
Modified the random em generator for a better rel2type generation
8 years ago
Yann Weber
36ffdfdf0c
Some bugfix in components.max_rank model.create_component in the random em generator and in the file fieldtype
8 years ago
Yann Weber
7e53eff0b1
Change the MySQL connector and updates the requirements.txt
8 years ago
Yann Weber
95c1870f17
Add rel2type attribute handling
8 years ago
Roland Haroutiounian
9f47b7848f
Fixed connection strings for mysql
8 years ago
Yann Weber
4f8f13e41f
Make the MH more fault tolerant and add the foreign keys support
8 years ago
Roland Haroutiounian
5c7bb9d76b
Changed LeDataSourceSQL to use MySQL
8 years ago
Yann Weber
1a50842a7e
First commit of an MySQL migration handler
8 years ago
Yann Weber
3854cdcf82
Bugfix in EmClass : the dict EditorialModel.classtypes.common_fields was modified by Model.load() method
8 years ago
Roland Haroutiounian
77e7f66efc
Corrected the constructor and the get method of LeDataSourceSQL
8 years ago
Roland Haroutiounian
8ab4f41bec
Added the other basic tests' headers in the test_ledatasource.py file
8 years ago
Roland Haroutiounian
486213d06d
Committed the test class for LeDataSourceSQL
8 years ago
Roland Haroutiounian
996039d6aa
Added the first test for the LeObject datasource
8 years ago
Roland Haroutiounian
a904ac0a09
PEP8/Pylint on lefactory.py
8 years ago
Roland Haroutiounian
5738bb67cb
PEP8/Pylint on LeClass
8 years ago
Roland Haroutiounian
32fe54e205
PEP8 / PyLint on datasources module
8 years ago
Roland Haroutiounian
4bccea4cb6
Corrected a docstring
8 years ago
Roland Haroutiounian
e3dba75747
[#61 ] Corrected the relational filters parsing method in LeDataSourceSQL
8 years ago
Roland Haroutiounian
f2c721a9ae
[#61 ] Added the first implementation of update and delete functions
8 years ago
Roland Haroutiounian
16e3b2c210
[#61 ] started the implementation of the update method in LeDataSourceSQL object
8 years ago
Yann Weber
35c749c0f5
Add tests for LeType
8 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
8 years ago
Yann Weber
e207076363
Add a check function for integer fieldtype and make some bugfix in LeType
8 years ago