Yann Weber
4b629fee81
More clean on migrationhandler
9年前
Yann Weber
6a55df202e
Changed the way to instanciate the MigrationHandler to fit with the DataSource
9年前
Yann Weber
89667ee1d1
Fixing tests and other classes to fit recent changes
9年前
Roland Haroutiounian
4bc15b1f6d
[#100 ] First implementation of a Template module using jinja2 for template rendering
9年前
Yann Weber
146c0fd69b
Finish the new version of migrationhandler + modifications in leFactory and LeRelation (to handle generic lesup & lesub in LeRelation)
9年前
Yann Weber
ee8de38391
Better refreshdyn in install/Makefile
9年前
ArnAud
c129ceaa49
sql datasource: refactoring
9年前
ArnAud
a3f7cf3fa0
leapi: helper leo_class() to get class of a lodel object
9年前
Yann Weber
54af3da85a
Modified version of migration handler
This commit is full of bugs (in LeRelation etc.)
9年前
Yann Weber
0c046ab0a3
Small bugfixes in utils
9年前
ArnAud
16d65606d3
SQL utils: use the right function name
9年前
ArnAud
3143719d9c
LeCrud: fieldlist() returns a True list
9年前
Yann Weber
f033b6c85b
Updated install/loader.py to handle settings
9年前
Yann Weber
8905246218
New version of MySQL utils
9年前
ArnAud
8b5e1411c9
update README file
9年前
Yann Weber
06a86af67f
README.md + install/Makefile update
9年前
ArnAud
c3bfb07246
group for SQL group not groups
9年前
Yann Weber
4577f76c09
Bugfixes in Makefile
9年前
Yann Weber
cf691c6538
Add a test on LeCrud.select() method (test order, groups, limit and offset arguments) + small bugfixes
9年前
Roland Haroutiounian
f3108d95d8
Casts the rank value from the resultset in LeRelation.get_max_rank() to an int
9年前
Roland Haroutiounian
e55187cbf7
Fixed the call to get method in LeRelation.get_max_rank()
9年前
Roland Haroutiounian
6f4f69ec6e
LeRelation : Modification de l'implémentation du max_rank
9年前
ArnAud
07c18a9093
rel2type.insert() : return the id of inserted relation
9年前
ArnAud
b1b13f4afa
crud, SQL: implement order, group, limit and offset in get() request
9年前
Yann Weber
c36c13e709
Add test for _prepare_order_fields
9年前
Yann Weber
5515155cd9
Implement order by and group by in leobject.get
9年前
Yann Weber
9b012f2566
Moved the doxygen leobject_filter in lecrud + update it
9年前
Roland Haroutiounian
141ba96de3
Deleted the get_relation call in leapidatasource's update_rank method
9年前
Yann Weber
7b22eef33b
Add two more operators for filters : "like" and "not like" + updates the associated tests
9年前
Roland Haroutiounian
6b92ec7d9b
Changed the leapidatasource's update_rank method according to the LeRelation.set_rank method's changes
9年前
Yann Weber
b8266f3303
Update relations rank modifications
9年前
Roland Haroutiounian
b8b9914567
Changed the returned value in case of failure on the update rank query in LeRelation
9年前
Roland Haroutiounian
60d73ba307
Added the boolean return to the update_rank method
9年前
Yann Weber
1ba59c513e
Deleted obsolete test file
9年前
ArnAud
95deb4574e
SQL datasource: insert method for relations
9年前
ArnAud
ceef5f4b9b
SQL: table name are lowercase
9年前
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年前
Yann Weber
f911a389de
Add a test for MySQL datasource select method
Test only select on LeObject childs without relational_filters
9年前
Yann Weber
9e5e8a8433
Move test directory in MySQL for MySQL tests
9年前
Roland Haroutiounian
4af1606b04
Added a first implementation of the set_rank method in LeRelation
9年前
Yann Weber
0e54a47399
Add first tests on MySQL datasource ( mock party ! )
A test on datasource __init__ method
A test on datasource insert method (for leobject inserts only) <= this test uses a lot of mocks and can maybe be factorised
9年前
Roland Haroutiounian
5a21025d89
Added a _parse_rank method in LeRelation and the corresponding tests
9年前
Yann Weber
339545e89a
Add some tests for LeCrud utils methods
9年前
ArnAud
1a2c0f6a45
sqlDatasource: insert() for a hierarchical relation
9年前
Yann Weber
67dbe5c097
Implements relation stuff + a lot of fixes in tests and in leo fieldtypes validation stack
9年前
Yann Weber
bde008a68c
Updated lefactory (unused attr in relations)
9年前
Yann Weber
117ecad86a
Bugfix in super calls + tests modification given modifications in _prepare_filters
9年前
Yann Weber
59d489bd67
Implements delete instance methods for relations classes
9年前
ArnAud
24888085e9
crud.get(): automatic filter for classes and types instances
9年前
Roland Haroutiounian
b02030b9fa
[#87 ] deleted a "pass" instruction
9年前