Yann Weber
b41b7f2bd7
More fixes due to Datasource changes
9 years ago
Yann Weber
9939152c9f
Fixing datasources and migration handlers name + the way datasource's __init__ args
9 years ago
Yann Weber
930bf7ba3a
Fixing some doxygen comments errors
9 years ago
Yann Weber
4d9ced1807
Unskip, delete and fix some tests
9 years ago
Yann Weber
dc143a3376
Implements delete in leapidatasource for leobjects and lerelations
9 years ago
Yann Weber
e9fcd15c48
MigrationHandler : add ON DELETE CASCADE & ON UPDATE CASCADE to FK
9 years ago
ArnAud
96886c1b2f
datasource sql: take care of multivalued field in select, insert and update
9 years ago
Yann Weber
7fe0fe002e
Updated leapi and dummy datasource update method
Now update take id and no more filters
9 years ago
Yann Weber
6e349fbd66
Update tests
9 years ago
ArnAud
6337722967
datasource SQL: cast values according to fieldtype
9 years ago
Yann Weber
d4504df92a
Bugfix for Em MlString translations + me.json update
9 years ago
Yann Weber
ec386c3e72
Update datasource tests (deleted test concerning multivalue fields) + add an utility method in DataSource/MySQL/fieldtypes.py
9 years ago
ArnAud
0baf161bd2
datasource SQL: GET with multivalued field for LeType
9 years ago
ArnAud
88c5f2fe54
datasource SQL: take care of multivalued fields in INSERT
9 years ago
Yann Weber
e90ea6e39d
Bugfix on multivalue field deletion
9 years ago
Yann Weber
aaaf0af558
Add support for multivalue field deletion (unstested)
9 years ago
Yann Weber
cb5f2f7460
Implements multivalue column
9 years ago
Yann Weber
8211fd5c47
Start multivalueFieldType implementation (in migrationhandler)
9 years ago
Yann Weber
6153ddd323
Add support for multiple PK
9 years ago
Yann Weber
bbf33373d0
New version of fieldtypes class hierarchy + partial migrationhandler adaptation
9 years ago
Yann Weber
43e8145dab
Implements get_max_rank() in LeApi. Add a fieldtype rank. + A lot of bugfix
The me.json was not up to date (Models don't forward classtypes modifications to loaded json file)
Some bugfix on fieldtypes that was not used (because of old me.json)
9 years ago
ArnAud
5164adffa3
sql datasource: delete unused methods
9 years ago
ArnAud
5be6c62189
sql datasource: relational filter for hierarchical relations
9 years ago
ArnAud
53663603fa
lecrud: get() flag instanciate to choose to get raw data or objects
9 years ago
Yann Weber
f2a54b72cd
Comments update for doxygen doc
Now we have a main page on doxygen
9 years ago
ArnAud
a084678831
sql datasource: update() for rel2type
9 years ago
Yann Weber
94b843e321
Add a new settings debug_sql
9 years ago
Yann Weber
8133e6c45b
Add settings.py with default value, add migration_handler options + modify migration_handler to handle settings
9 years ago
Yann Weber
c7756f5ea2
Update README and mh comments
9 years ago
ArnAud
97716da260
sql datasource: get() for a rel2type
9 years ago
ArnAud
642fec49e9
sql datasource tests: repair after changes of utils functions
9 years ago
ArnAud
98f02e1630
sql datasource: select/insert for relations
9 years ago
Yann Weber
be2fe9b7a5
PEP8 + lint on migrationhandler and MySQL/utils
9 years ago
Yann Weber
4b629fee81
More clean on migrationhandler
9 years ago
Yann Weber
6a55df202e
Changed the way to instanciate the MigrationHandler to fit with the DataSource
9 years ago
Yann Weber
89667ee1d1
Fixing tests and other classes to fit recent changes
9 years ago
Yann Weber
146c0fd69b
Finish the new version of migrationhandler + modifications in leFactory and LeRelation (to handle generic lesup & lesub in LeRelation)
9 years ago
ArnAud
c129ceaa49
sql datasource: refactoring
9 years ago
Yann Weber
54af3da85a
Modified version of migration handler
This commit is full of bugs (in LeRelation etc.)
9 years ago
Yann Weber
0c046ab0a3
Small bugfixes in utils
9 years ago
ArnAud
16d65606d3
SQL utils: use the right function name
9 years ago
Yann Weber
8905246218
New version of MySQL utils
9 years ago
ArnAud
c3bfb07246
group for SQL group not groups
9 years ago
Roland Haroutiounian
6f4f69ec6e
LeRelation : Modification de l'implémentation du max_rank
9 years ago
ArnAud
b1b13f4afa
crud, SQL: implement order, group, limit and offset in get() request
9 years ago
Roland Haroutiounian
141ba96de3
Deleted the get_relation call in leapidatasource's update_rank method
9 years ago
Roland Haroutiounian
6b92ec7d9b
Changed the leapidatasource's update_rank method according to the LeRelation.set_rank method's changes
9 years ago
Yann Weber
b8266f3303
Update relations rank modifications
9 years ago
Roland Haroutiounian
b8b9914567
Changed the returned value in case of failure on the update rank query in LeRelation
9 years ago
Roland Haroutiounian
60d73ba307
Added the boolean return to the update_rank method
9 years ago