Yann Weber
|
ef8f961c2b
|
Removed old code
|
9 years ago |
Yann Weber
|
9b7d8c0357
|
Changes the doc and make change in partial instanciation process
|
9 years ago |
Roland Haroutiounian
|
a13a7f0688
|
[#100] Added a new entry in the settings
|
9 years ago |
Yann Weber
|
222f10282d
|
Bugfixes due to properties name changes in LeRelation
|
9 years ago |
Yann Weber
|
e44dbcbad8
|
Add -f option to rm in Makefiles and changes 2 properties names in generated code
|
9 years ago |
ArnAud
|
0cfd0b7f7b
|
leapi: datas() can be in _lecrud
|
9 years ago |
Yann Weber
|
3dea17d7c4
|
Fixes incomplete except in fieldtypes to catch cast fails
|
9 years ago |
Yann Weber
|
801414fcc2
|
Fix the data value check in generic fieldtype
|
9 years ago |
Yann Weber
|
0b3f2bae1a
|
New way to instanciate LeCrud child classes
Note : This commit is not complete. It brakes the partial instanciation of classes etc.
|
9 years ago |
ArnAud
|
642fec49e9
|
sql datasource tests: repair after changes of utils functions
|
9 years ago |
Yann Weber
|
b643477e3c
|
Fixing syntax error
|
9 years ago |
Yann Weber
|
93f7b65172
|
Add a new fieldtype to handles EM uid
|
9 years ago |
Yann Weber
|
7756b5b591
|
Adding the newly added properties to _LeObject and _LeRelation classes
|
9 years ago |
Yann Weber
|
9711cc65dc
|
Add a new propertie to LeObject dynamic class : _me_uid_field_names (stores the names of the fields _class_id and _type_id)
|
9 years ago |
Yann Weber
|
3fbe9b69d5
|
Add 2 properties for LeRel2Type dynamically generated child classes
The two new properties are :
- superior_cls stores a LeObject child class
- subordinate_cls stores a LeObject child class
|
9 years ago |
ArnAud
|
98f02e1630
|
sql datasource: select/insert for relations
|
9 years ago |
ArnAud
|
d509fdf196
|
LeRelation: first draft of method to instanciate from a dict of data
|
9 years ago |
ArnAud
|
44665600ef
|
leType: relations use superior and subordinate name now
|
9 years ago |
ArnAud
|
94e6cbf81e
|
LeObject: method to instanciate from a dict of data
|
9 years ago |
ArnAud
|
942826e5e6
|
LeClass.fieldlist() returns a list
|
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 |
Roland Haroutiounian
|
4bc15b1f6d
|
[#100] First implementation of a Template module using jinja2 for template rendering
|
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 |
Yann Weber
|
ee8de38391
|
Better refreshdyn in install/Makefile
|
9 years ago |
ArnAud
|
c129ceaa49
|
sql datasource: refactoring
|
9 years ago |
ArnAud
|
a3f7cf3fa0
|
leapi: helper leo_class() to get class of a lodel object
|
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 |
ArnAud
|
3143719d9c
|
LeCrud: fieldlist() returns a True list
|
9 years ago |
Yann Weber
|
f033b6c85b
|
Updated install/loader.py to handle settings
|
9 years ago |
Yann Weber
|
8905246218
|
New version of MySQL utils
|
9 years ago |
ArnAud
|
8b5e1411c9
|
update README file
|
9 years ago |
Yann Weber
|
06a86af67f
|
README.md + install/Makefile update
|
9 years ago |
ArnAud
|
c3bfb07246
|
group for SQL group not groups
|
9 years ago |
Yann Weber
|
4577f76c09
|
Bugfixes in Makefile
|
9 years ago |
Yann Weber
|
cf691c6538
|
Add a test on LeCrud.select() method (test order, groups, limit and offset arguments) + small bugfixes
|
9 years ago |
Roland Haroutiounian
|
f3108d95d8
|
Casts the rank value from the resultset in LeRelation.get_max_rank() to an int
|
9 years ago |
Roland Haroutiounian
|
e55187cbf7
|
Fixed the call to get method in LeRelation.get_max_rank()
|
9 years ago |
Roland Haroutiounian
|
6f4f69ec6e
|
LeRelation : Modification de l'implémentation du max_rank
|
9 years ago |
ArnAud
|
07c18a9093
|
rel2type.insert() : return the id of inserted relation
|
9 years ago |
ArnAud
|
b1b13f4afa
|
crud, SQL: implement order, group, limit and offset in get() request
|
9 years ago |
Yann Weber
|
c36c13e709
|
Add test for _prepare_order_fields
|
9 years ago |
Yann Weber
|
5515155cd9
|
Implement order by and group by in leobject.get
|
9 years ago |
Yann Weber
|
9b012f2566
|
Moved the doxygen leobject_filter in lecrud + update it
|
9 years ago |
Roland Haroutiounian
|
141ba96de3
|
Deleted the get_relation call in leapidatasource's update_rank method
|
9 years ago |
Yann Weber
|
7b22eef33b
|
Add two more operators for filters : "like" and "not like" + updates the associated tests
|
9 years ago |