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 |
|
Yann
|
9e5e8a8433
|
Move test directory in MySQL for MySQL tests
|
2015-12-17 11:09:45 +01:00 |
|
Roland Haroutiounian
|
4af1606b04
|
Added a first implementation of the set_rank method in LeRelation
|
2015-12-16 17:31:39 +01:00 |
|
ArnAud
|
1a2c0f6a45
|
sqlDatasource: insert() for a hierarchical relation
|
2015-12-04 09:41:55 +01:00 |
|
Yann
|
4383606fbb
|
Write an instance creation script and replace the SQLMigrationHandler by the MysqlMigrationHandler
see README.md for more informations about instance creation
|
2015-12-02 14:47:50 +01:00 |
|
Yann
|
3ae2e6e613
|
Moved all modules related to DB in the DataSource folder ( fixes #88 )
|
2015-12-02 11:35:55 +01:00 |
|
ArnAud
|
a5efcdbfd8
|
SQL datasource: implement LeClass.get() and LeType.get()
|
2015-11-27 15:40:26 +01:00 |
|
ArnAud
|
d854b468e0
|
Lodel: first draft of Settings class
|
2015-11-20 14:04:41 +01:00 |
|
ArnAud
|
9fdb73106d
|
SQL: do queries in one function
|
2015-11-19 12:05:16 +01:00 |
|
Roland Haroutiounian
|
565045b413
|
PEP8/Pylint on DataSource MySQL
|
2015-11-13 09:48:46 +01:00 |
|
ArnAud
|
b1dd977a8b
|
DataSource MySQL: change variable name
|
2015-11-05 15:53:57 +01:00 |
|
Yann
|
94a5afcdd7
|
Implements _LeObject.hierarchy_add() method and instroduce the class LeRoot
LeRoot represents hierarchy root
|
2015-11-05 15:34:44 +01:00 |
|
Yann
|
a960d83da3
|
Implements del_relation in LeDatasourceSQL and get_relation modifications
|
2015-11-05 12:29:17 +01:00 |
|
Yann
|
54ba4cc3c5
|
Implements get_relation in LeDatasourceSQL + some small changes in MySQL and MH
|
2015-11-05 12:11:41 +01:00 |
|
Yann
|
24b758af9b
|
Updated some MySQL properties and MigrationHandler stuff
|
2015-11-05 12:02:37 +01:00 |
|
Roland Haroutiounian
|
292a3dc8f6
|
[#76] The settings will be taken in a non versionned settings file
|
2015-11-05 10:10:32 +01:00 |
|
Roland Haroutiounian
|
cbd3d89426
|
[#63] PEP8/Pylint
|
2015-11-04 15:57:21 +01:00 |
|
Roland Haroutiounian
|
1b4f3634d3
|
[#63] PEP8/Pylint checked on DataSource/MySQL module
|
2015-11-04 15:46:55 +01:00 |
|
Roland Haroutiounian
|
518cfad9cd
|
[#63] Mysql migration handler and ledatasourceSQL are using MySQL DataSource
|
2015-11-04 15:02:52 +01:00 |
|
Roland Haroutiounian
|
6f06c86a86
|
[#63] Change in the new of the foreign key generator
|
2015-11-04 14:32:52 +01:00 |
|
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
|
2015-11-04 14:26:08 +01:00 |
|