prieto
664a591a87
Correction functions set_datas and data
8 years ago
prieto
9080d53f2f
Correction : self.__datas[fieldame] en sel.__datas[fieldname] line 116
8 years ago
Yann Weber
065912cc66
Bugfix in LeObject._datasource bootstraping
- now _datasource attr contains an instance of the datasource, instanciated with options given in conf file
8 years ago
Yann Weber
b683d68d83
Adding datasourc boostrapîng instructions in leaftory generated dyncode
+ better log message for datasource bootstrap
8 years ago
Yann Weber
84717328e3
Enhancement in datasources plugins handling
- now datasources are handled in LeObject child classes
- plugins module now have a method to retrieve a plugin module
8 years ago
Yann Weber
3fe63787fb
Updated lequery.py to use targe_class datasource and not taking it as arguement of execute methods
8 years ago
Yann Weber
a7c69629e7
Introducing a datasource attribute by em_class
8 years ago
Yann Weber
bf879a833c
Adds tests for LeGetQuery + bugfixes
- separates LeGetQuery tests and LeFilteredQuery tests
- small bugfixes associated to tests
8 years ago
Yann Weber
9781577cb6
Add tests for filtered queries + bugfixes
- adds tests on filter parse & check
- standart filters parse & check
- relational filters parse & check
- bugfixes related to tests in query.py
- update the example and the test EM
- bugfixes in admin script
8 years ago
Yann Weber
be8084b4fb
Small bugfix in LeObject
8 years ago
Yann Weber
5991bc8e6f
Add leading & trailing spaces to all operators in LefilteredQuery
Doing so forbids operators like << == =! in* etc..
The tests were updated
8 years ago
Yann Weber
f402902b5b
Written some tests for filtered queries + query re modifications
- the re for filter spliting is modified to better handle operators
- added leading & trailing space to some operators
8 years ago
Yann Weber
76f002d06c
Bugfixes in leobject and queries classes
8 years ago
Yann Weber
e5b9a4abd3
Bugfix in leapi/query.py
8 years ago
Yann Weber
251fc6d324
Add some utility function + addition in query.py
8 years ago
Yann Weber
a312cbc4d9
First version of lodel2 instance creation script
8 years ago
prieto
c38cfa6b8d
Ajout ligne 48
8 years ago
Yann Weber
d30f3e189f
[1 test fail] Updated the settings to prepare them to be writable + more tests
8 years ago
prieto
f55980de2e
Ajout insertion multiple
8 years ago
prieto
ee0ba8dea8
Corrections oublis
8 years ago
prieto
6d61bf29ed
enlever méthode inutile
8 years ago
Yann Weber
3ed55fdc29
Some modifications + tests update for settings loader
8 years ago
prieto
ab2bbee191
Implémentation requete
8 years ago
Yann Weber
61dd475e8c
Query refactoring
8 years ago
Roland Haroutiounian
10b24a43ff
Added the FieldValidationError reference to the references module
8 years ago
Yann Weber
c5971d9590
Updated comments (and deleting space between ## and @brief )
8 years ago
Roland Haroutiounian
8bc0f8484e
Code cleaning on the query module
8 years ago
Yann Weber
6297a2c67c
SettingsError exception class implementation
8 years ago
Roland Haroutiounian
95e5b3c03d
First implementation of the query preparation of the LeGetQuery class
8 years ago
Roland Haroutiounian
81ad187977
Bug fix on the name of a method in query module
8 years ago
Roland Haroutiounian
9c9dd8bc96
code cleaning
8 years ago
Roland Haroutiounian
62161a0ffb
LeGetQuery.__get() now takes into account the group argument
8 years ago
Roland Haroutiounian
f9df2fb0f3
Added the implementation of LeGetQuery.__prepare_order()
8 years ago
Roland Haroutiounian
efe35331fe
Moved the validate_query_filters method from LeQuery to LeFilteredQuery
8 years ago
Roland Haroutiounian
c342a85995
Implementation of the prepare method for LeDeleteQuery with the check of the validity of the query filters operators
8 years ago
Roland Haroutiounian
886e123d40
Hook-less implementation of the crud methods in the query module's classes
8 years ago
Roland Haroutiounian
22c43078bb
Added the signatures for the LeInsertQuery methods
8 years ago
Roland Haroutiounian
4fc3a0eb2a
Signatures of LeGetQuery methods , First implementation of LeDeleteQuery
8 years ago
Roland Haroutiounian
b36062534b
First coding of the LeUpdateQuery class
8 years ago
Roland Haroutiounian
859ceb30f2
Fixed a relative import
8 years ago
Roland Haroutiounian
a326c1c3de
Deleted a debug code block from the Query module
8 years ago
Roland Haroutiounian
be57cf17c0
First implementation of the query class
8 years ago
Roland Haroutiounian
9114028304
Added the signatures of the prepare_query and execute_query methods in LeQuery class
8 years ago
Roland Haroutiounian
12dd7a0d4c
PEP8 + added the action class property on the query classes
8 years ago
Yann Weber
2b954d4a4d
First implementation of hierarchical data handler
8 years ago
Yann Weber
2c47c71116
Modification in backreference handling.
Now a backreference is represented by a tuple(LeObject child class, fieldname)
8 years ago
Yann Weber
a57899fb18
Bugfix on backreferences + updates of em_test
8 years ago
Yann Weber
01df586379
Bugfix in lefactory method that allow to sort EmClass by dependencies + test update
8 years ago
Yann Weber
f572743c09
Bugfixes + add backreference support in datahandlers (untested)
8 years ago
Yann Weber
5d0ded158f
Add settings & logger module
8 years ago