Yann Weber
dc143a3376
Implements delete in leapidatasource for leobjects and lerelations
8年前
Yann Weber
7fe0fe002e
Updated leapi and dummy datasource update method
Now update take id and no more filters
8年前
Yann Weber
6368aaea34
Now LeCrud.datas() method has a lang argument allowing datas to be indexed by fieldname translations
8年前
Yann Weber
bf44d66440
Changed the _fields properties of LeType child classes in dynamic code + adding complete argument to fieldlist() and fieldtypes() methods
+ tests
8年前
Yann Weber
37edad7b1f
Implements handling of relation_name field in relation common fields
8年前
Yann Weber
e7c1af45d9
Code cleaning for generic fieldtype
8年前
Yann Weber
1daf9677c6
Implements order in fieldtype construct
8年前
Yann Weber
173564b7ee
New constants in EditorialModel.classtypes
8年前
Yann Weber
43e8145dab
Implements get_max_rank() in LeApi. Add a fieldtype rank. + A lot of bugfix
The me.json was not up to date (Models don't forward classtypes modifications to loaded json file)
Some bugfix on fieldtypes that was not used (because of old me.json)
8年前
ArnAud
53663603fa
lecrud: get() flag instanciate to choose to get raw data or objects
8年前
ArnAud
ff8b0dd10a
lecrud.update(): do not check data consistency on update: must be done later
8年前
ArnAud
8eea3495e8
leapi: put name2classname() from LeFactory in _LeCrud to be available everywhere
8年前
Yann Weber
9b7d8c0357
Changes the doc and make change in partial instanciation process
8年前
Yann Weber
222f10282d
Bugfixes due to properties name changes in LeRelation
8年前
ArnAud
0cfd0b7f7b
leapi: datas() can be in _lecrud
8年前
Yann Weber
0b3f2bae1a
New way to instanciate LeCrud child classes
Note : This commit is not complete. It brakes the partial instanciation of classes etc.
8年前
Yann Weber
89667ee1d1
Fixing tests and other classes to fit recent changes
8年前
ArnAud
3143719d9c
LeCrud: fieldlist() returns a True list
8年前
ArnAud
c3bfb07246
group for SQL group not groups
8年前
Yann Weber
cf691c6538
Add a test on LeCrud.select() method (test order, groups, limit and offset arguments) + small bugfixes
8年前
ArnAud
b1b13f4afa
crud, SQL: implement order, group, limit and offset in get() request
8年前
Yann Weber
c36c13e709
Add test for _prepare_order_fields
8年前
Yann Weber
5515155cd9
Implement order by and group by in leobject.get
8年前
Yann Weber
9b012f2566
Moved the doxygen leobject_filter in lecrud + update it
8年前
Yann Weber
7b22eef33b
Add two more operators for filters : "like" and "not like" + updates the associated tests
8年前
Yann Weber
339545e89a
Add some tests for LeCrud utils methods
8年前
Yann Weber
67dbe5c097
Implements relation stuff + a lot of fixes in tests and in leo fieldtypes validation stack
8年前
Yann Weber
117ecad86a
Bugfix in super calls + tests modification given modifications in _prepare_filters
8年前
Yann Weber
5c1e89f890
Associating exceptions with field name in error lists ( cf. #89 )
8年前
ArnAud
3167f17160
ledatasourcesql: implement Letype.update()
8年前
Yann Weber
90173e9dea
Added multiples tests on types in _LeCrud + check given class when inserting
8年前
Yann Weber
a0a83ad19b
Add test + small bugfixes in fieldtypes + implementations of short utils methods
8年前
ArnAud
142f2ff3f5
LeCrud: is_letype() and is_leclass() helper functions + use it in LeDataSourceSQL
8年前
Yann Weber
798ad5a68e
Added 2 fieldtypes : leo and naturerelation + add a uidname method to _LeCrud
8年前
ArnAud
9d16c6a4c8
SQL datasource: implement get() from LeObject
8年前
Yann Weber
0349007243
Added tests + bugfix on LeType __init__ method
8年前
Yann Weber
bbdee7d082
Tests + bugfixes on LeCrud LeObject LeClass and LeType delete and get methods
8年前
Yann Weber
281acd45f9
Bugfix in insert calls in Lecrud + Tests bugfix
8年前
Yann Weber
52cbce9865
Changed LeFactory generated code (again) + Bugfix on LeCrud + more tests and tests update
8年前
Yann Weber
aae570e5bc
Bugfix + added some tests to LeCrud
8年前
ArnAud
c4f36b9c2d
lecrud: raise the appropriate error
8年前
Yann Weber
d44d86cb79
Bugfix and better implementation of _LeCrud.check_datas_value()
8年前
Yann Weber
9cbef1179b
More methods implementations in LeCrud
Implements update, delete, insert and delete_multi (not tested)
8年前
Yann Weber
432de540e9
Implementing get and tools functions in LeCrud (deleting most of them from _LeObject)
Skipping a lot of tests
8年前
Yann Weber
187886362d
Updated LeFactory generated code and LeFactory class itself
Bugfixes in generated code imports
Enhancement on generated classes retrieval
8年前
Yann Weber
0af03c93d6
Import Bugfix + LeFactory generated code update
8年前
Yann Weber
e335019f79
Renamed the package leobject in leapi
8年前
Yann Weber
76e2cc0d4e
LeFactory update : LeCrud concrete object code is now generated + removed some obsolete class attributes of _LeObject
Updated the _LeObject tests to use the dynamic code
8年前
Yann Weber
24ec892152
LeCrud : implementation started
8年前