ArnAud
|
642fec49e9
|
sql datasource tests: repair after changes of utils functions
|
8 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 |
ArnAud
|
95deb4574e
|
SQL datasource: insert method for relations
|
9 years ago |
ArnAud
|
ceef5f4b9b
|
SQL: table name are lowercase
|
9 years ago |
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"'])
|
9 years ago |
Yann Weber
|
f911a389de
|
Add a test for MySQL datasource select method
Test only select on LeObject childs without relational_filters
|
9 years ago |
Yann Weber
|
9e5e8a8433
|
Move test directory in MySQL for MySQL tests
|
9 years ago |
Roland Haroutiounian
|
4af1606b04
|
Added a first implementation of the set_rank method in LeRelation
|
9 years ago |
ArnAud
|
1a2c0f6a45
|
sqlDatasource: insert() for a hierarchical relation
|
9 years ago |
Yann Weber
|
4383606fbb
|
Write an instance creation script and replace the SQLMigrationHandler by the MysqlMigrationHandler
see README.md for more informations about instance creation
|
9 years ago |
Yann Weber
|
3ae2e6e613
|
Moved all modules related to DB in the DataSource folder ( fixes #88 )
|
9 years ago |
ArnAud
|
a5efcdbfd8
|
SQL datasource: implement LeClass.get() and LeType.get()
|
9 years ago |
ArnAud
|
d854b468e0
|
Lodel: first draft of Settings class
|
9 years ago |
ArnAud
|
9fdb73106d
|
SQL: do queries in one function
|
9 years ago |
Roland Haroutiounian
|
565045b413
|
PEP8/Pylint on DataSource MySQL
|
9 years ago |
ArnAud
|
b1dd977a8b
|
DataSource MySQL: change variable name
|
9 years ago |
Yann Weber
|
94a5afcdd7
|
Implements _LeObject.hierarchy_add() method and instroduce the class LeRoot
LeRoot represents hierarchy root
|
9 years ago |
Yann Weber
|
54ba4cc3c5
|
Implements get_relation in LeDatasourceSQL + some small changes in MySQL and MH
|
9 years ago |
Yann Weber
|
24b758af9b
|
Updated some MySQL properties and MigrationHandler stuff
|
9 years ago |
Roland Haroutiounian
|
292a3dc8f6
|
[#76] The settings will be taken in a non versionned settings file
|
9 years ago |
Roland Haroutiounian
|
cbd3d89426
|
[#63] PEP8/Pylint
|
9 years ago |
Roland Haroutiounian
|
1b4f3634d3
|
[#63] PEP8/Pylint checked on DataSource/MySQL module
|
9 years ago |
Roland Haroutiounian
|
518cfad9cd
|
[#63] Mysql migration handler and ledatasourceSQL are using MySQL DataSource
|
9 years ago |
Roland Haroutiounian
|
6f06c86a86
|
[#63] Change in the new of the foreign key generator
|
9 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
|
9 years ago |