Yann
|
9939152c9f
|
Fixing datasources and migration handlers name + the way datasource's __init__ args
|
2016-02-25 14:31:27 +01:00 |
|
Yann
|
930bf7ba3a
|
Fixing some doxygen comments errors
|
2016-01-28 17:24:16 +01:00 |
|
Yann
|
4d9ced1807
|
Unskip, delete and fix some tests
|
2016-01-28 15:43:49 +01:00 |
|
Yann
|
dc143a3376
|
Implements delete in leapidatasource for leobjects and lerelations
|
2016-01-28 14:35:45 +01:00 |
|
Yann
|
e9fcd15c48
|
MigrationHandler : add ON DELETE CASCADE & ON UPDATE CASCADE to FK
|
2016-01-28 14:34:32 +01:00 |
|
ArnAud
|
96886c1b2f
|
datasource sql: take care of multivalued field in select, insert and update
|
2016-01-28 12:28:23 +01:00 |
|
Yann
|
6e349fbd66
|
Update tests
|
2016-01-27 11:57:59 +01:00 |
|
ArnAud
|
6337722967
|
datasource SQL: cast values according to fieldtype
|
2016-01-22 17:15:17 +01:00 |
|
Yann
|
d4504df92a
|
Bugfix for Em MlString translations + me.json update
|
2016-01-22 16:05:04 +01:00 |
|
Yann
|
ec386c3e72
|
Update datasource tests (deleted test concerning multivalue fields) + add an utility method in DataSource/MySQL/fieldtypes.py
|
2016-01-22 15:26:50 +01:00 |
|
ArnAud
|
0baf161bd2
|
datasource SQL: GET with multivalued field for LeType
|
2016-01-22 12:26:24 +01:00 |
|
ArnAud
|
88c5f2fe54
|
datasource SQL: take care of multivalued fields in INSERT
|
2016-01-22 11:16:22 +01:00 |
|
Yann
|
e90ea6e39d
|
Bugfix on multivalue field deletion
|
2016-01-15 10:29:17 +01:00 |
|
Yann
|
aaaf0af558
|
Add support for multivalue field deletion (unstested)
|
2016-01-15 10:27:55 +01:00 |
|
Yann
|
cb5f2f7460
|
Implements multivalue column
|
2016-01-14 12:31:08 +01:00 |
|
Yann
|
8211fd5c47
|
Start multivalueFieldType implementation (in migrationhandler)
|
2016-01-14 09:50:55 +01:00 |
|
Yann
|
6153ddd323
|
Add support for multiple PK
|
2016-01-14 09:50:21 +01:00 |
|
Yann
|
bbf33373d0
|
New version of fieldtypes class hierarchy + partial migrationhandler adaptation
|
2016-01-13 17:29:08 +01:00 |
|
ArnAud
|
5164adffa3
|
sql datasource: delete unused methods
|
2016-01-08 17:13:17 +01:00 |
|
ArnAud
|
5be6c62189
|
sql datasource: relational filter for hierarchical relations
|
2016-01-08 17:06:57 +01:00 |
|
ArnAud
|
53663603fa
|
lecrud: get() flag instanciate to choose to get raw data or objects
|
2016-01-08 14:26:15 +01:00 |
|
ArnAud
|
a084678831
|
sql datasource: update() for rel2type
|
2016-01-08 13:37:16 +01:00 |
|
Yann
|
94b843e321
|
Add a new settings debug_sql
|
2016-01-08 12:23:31 +01:00 |
|
Yann
|
8133e6c45b
|
Add settings.py with default value, add migration_handler options + modify migration_handler to handle settings
|
2016-01-08 10:44:07 +01:00 |
|
Yann
|
c7756f5ea2
|
Update README and mh comments
|
2016-01-08 10:04:58 +01:00 |
|
ArnAud
|
97716da260
|
sql datasource: get() for a rel2type
|
2016-01-07 17:28:19 +01:00 |
|
ArnAud
|
642fec49e9
|
sql datasource tests: repair after changes of utils functions
|
2016-01-07 12:20:21 +01:00 |
|
ArnAud
|
98f02e1630
|
sql datasource: select/insert for relations
|
2016-01-07 11:50:17 +01:00 |
|
Yann
|
be2fe9b7a5
|
PEP8 + lint on migrationhandler and MySQL/utils
|
2016-01-06 17:26:24 +01:00 |
|
Yann
|
4b629fee81
|
More clean on migrationhandler
|
2016-01-06 17:06:26 +01:00 |
|
Yann
|
6a55df202e
|
Changed the way to instanciate the MigrationHandler to fit with the DataSource
|
2016-01-06 16:31:50 +01:00 |
|
Yann
|
89667ee1d1
|
Fixing tests and other classes to fit recent changes
|
2016-01-06 16:07:24 +01:00 |
|
Yann
|
146c0fd69b
|
Finish the new version of migrationhandler + modifications in leFactory and LeRelation (to handle generic lesup & lesub in LeRelation)
|
2016-01-06 15:43:04 +01:00 |
|
ArnAud
|
c129ceaa49
|
sql datasource: refactoring
|
2016-01-06 15:32:13 +01:00 |
|
Yann
|
54af3da85a
|
Modified version of migration handler
This commit is full of bugs (in LeRelation etc.)
|
2016-01-06 14:46:13 +01:00 |
|
Yann
|
0c046ab0a3
|
Small bugfixes in utils
|
2016-01-06 14:45:21 +01:00 |
|
ArnAud
|
16d65606d3
|
SQL utils: use the right function name
|
2016-01-06 14:28:04 +01:00 |
|
Yann
|
8905246218
|
New version of MySQL utils
|
2016-01-06 12:23:47 +01:00 |
|
ArnAud
|
c3bfb07246
|
group for SQL group not groups
|
2016-01-06 10:09:07 +01:00 |
|
Roland Haroutiounian
|
6f4f69ec6e
|
LeRelation : Modification de l'implémentation du max_rank
|
2015-12-18 12:23:13 +01:00 |
|
ArnAud
|
b1b13f4afa
|
crud, SQL: implement order, group, limit and offset in get() request
|
2015-12-18 11:22:47 +01:00 |
|
Roland Haroutiounian
|
141ba96de3
|
Deleted the get_relation call in leapidatasource's update_rank method
|
2015-12-17 14:06:03 +01:00 |
|
Roland Haroutiounian
|
6b92ec7d9b
|
Changed the leapidatasource's update_rank method according to the LeRelation.set_rank method's changes
|
2015-12-17 13:34:44 +01:00 |
|
Yann
|
b8266f3303
|
Update relations rank modifications
|
2015-12-17 12:30:04 +01:00 |
|
Roland Haroutiounian
|
b8b9914567
|
Changed the returned value in case of failure on the update rank query in LeRelation
|
2015-12-17 11:38:26 +01:00 |
|
Roland Haroutiounian
|
60d73ba307
|
Added the boolean return to the update_rank method
|
2015-12-17 11:37:00 +01:00 |
|
ArnAud
|
95deb4574e
|
SQL datasource: insert method for relations
|
2015-12-17 11:14:10 +01:00 |
|
ArnAud
|
ceef5f4b9b
|
SQL: table name are lowercase
|
2015-12-17 11:14:10 +01:00 |
|
Yann
|
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"'])
|
2015-12-17 11:12:57 +01:00 |
|
Yann
|
f911a389de
|
Add a test for MySQL datasource select method
Test only select on LeObject childs without relational_filters
|
2015-12-17 11:09:45 +01:00 |
|