Yann Weber
dc143a3376
Implements delete in leapidatasource for leobjects and lerelations
8年前
Yann Weber
e9fcd15c48
MigrationHandler : add ON DELETE CASCADE & ON UPDATE CASCADE to FK
8年前
ArnAud
96886c1b2f
datasource sql: take care of multivalued field in select, insert and update
8年前
Yann Weber
7fe0fe002e
Updated leapi and dummy datasource update method
Now update take id and no more filters
8年前
Yann Weber
6e349fbd66
Update tests
8年前
ArnAud
6337722967
datasource SQL: cast values according to fieldtype
8年前
Yann Weber
d4504df92a
Bugfix for Em MlString translations + me.json update
8年前
Yann Weber
ec386c3e72
Update datasource tests (deleted test concerning multivalue fields) + add an utility method in DataSource/MySQL/fieldtypes.py
8年前
ArnAud
0baf161bd2
datasource SQL: GET with multivalued field for LeType
8年前
ArnAud
88c5f2fe54
datasource SQL: take care of multivalued fields in INSERT
8年前
Yann Weber
e90ea6e39d
Bugfix on multivalue field deletion
8年前
Yann Weber
aaaf0af558
Add support for multivalue field deletion (unstested)
8年前
Yann Weber
cb5f2f7460
Implements multivalue column
8年前
Yann Weber
8211fd5c47
Start multivalueFieldType implementation (in migrationhandler)
8年前
Yann Weber
6153ddd323
Add support for multiple PK
8年前
Yann Weber
bbf33373d0
New version of fieldtypes class hierarchy + partial migrationhandler adaptation
8年前
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)
8年前
ArnAud
5164adffa3
sql datasource: delete unused methods
8年前
ArnAud
5be6c62189
sql datasource: relational filter for hierarchical relations
8年前
ArnAud
53663603fa
lecrud: get() flag instanciate to choose to get raw data or objects
8年前
Yann Weber
f2a54b72cd
Comments update for doxygen doc
Now we have a main page on doxygen
8年前
ArnAud
a084678831
sql datasource: update() for rel2type
8年前
Yann Weber
94b843e321
Add a new settings debug_sql
8年前
Yann Weber
8133e6c45b
Add settings.py with default value, add migration_handler options + modify migration_handler to handle settings
8年前
Yann Weber
c7756f5ea2
Update README and mh comments
8年前
ArnAud
97716da260
sql datasource: get() for a rel2type
8年前
ArnAud
642fec49e9
sql datasource tests: repair after changes of utils functions
8年前
ArnAud
98f02e1630
sql datasource: select/insert for relations
8年前
Yann Weber
be2fe9b7a5
PEP8 + lint on migrationhandler and MySQL/utils
8年前
Yann Weber
4b629fee81
More clean on migrationhandler
8年前
Yann Weber
6a55df202e
Changed the way to instanciate the MigrationHandler to fit with the DataSource
8年前
Yann Weber
89667ee1d1
Fixing tests and other classes to fit recent changes
8年前
Yann Weber
146c0fd69b
Finish the new version of migrationhandler + modifications in leFactory and LeRelation (to handle generic lesup & lesub in LeRelation)
8年前
ArnAud
c129ceaa49
sql datasource: refactoring
8年前
Yann Weber
54af3da85a
Modified version of migration handler
This commit is full of bugs (in LeRelation etc.)
8年前
Yann Weber
0c046ab0a3
Small bugfixes in utils
8年前
ArnAud
16d65606d3
SQL utils: use the right function name
8年前
Yann Weber
8905246218
New version of MySQL utils
8年前
ArnAud
c3bfb07246
group for SQL group not groups
8年前
Roland Haroutiounian
6f4f69ec6e
LeRelation : Modification de l'implémentation du max_rank
8年前
ArnAud
b1b13f4afa
crud, SQL: implement order, group, limit and offset in get() request
8年前
Roland Haroutiounian
141ba96de3
Deleted the get_relation call in leapidatasource's update_rank method
8年前
Roland Haroutiounian
6b92ec7d9b
Changed the leapidatasource's update_rank method according to the LeRelation.set_rank method's changes
8年前
Yann Weber
b8266f3303
Update relations rank modifications
8年前
Roland Haroutiounian
b8b9914567
Changed the returned value in case of failure on the update rank query in LeRelation
8年前
Roland Haroutiounian
60d73ba307
Added the boolean return to the update_rank method
8年前
ArnAud
95deb4574e
SQL datasource: insert method for relations
8年前
ArnAud
ceef5f4b9b
SQL: table name are lowercase
8年前
Yann Weber
1782153774
Add a test_query to the datasource select test method
The query is something like Textes.select(fields = ['lodel_id', 'titre'], filters = ['lodel_id = 42', 'soustitre = "foobar"'])
8年前
Yann Weber
f911a389de
Add a test for MySQL datasource select method
Test only select on LeObject childs without relational_filters
8年前