prieto
9080d53f2f
Correction : self.__datas[fieldame] en sel.__datas[fieldname] line 116
9 years ago
prieto
0dddf1146f
Working for all tests
9 years ago
prieto
ce9684e330
Path correction
9 years ago
prieto
3dc064f98b
Correction
9 years ago
prieto
0a870e55f6
Tests checked
9 years ago
prieto
79e236200d
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
9 years ago
prieto
8264423011
Corrections
9 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
9 years ago
Yann Weber
cc337ccb73
Fixing tests and skipping the Settings set test
- I do not understand wy the set test for Settings was OK before...
9 years ago
Yann Weber
b683d68d83
Adding datasourc boostrapîng instructions in leaftory generated dyncode
+ better log message for datasource bootstrap
9 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
9 years ago
Yann Weber
d24f15776b
create_instance script update
now using examples/em_test.pickle as editorial model for new instances
9 years ago
Roland Haroutiounian
77f1db337b
Changed the emfield_new method
9 years ago
Roland Haroutiounian
1739a009bb
Implemented the emfield_del method in the migration handler
9 years ago
Yann Weber
3fe63787fb
Updated lequery.py to use targe_class datasource and not taking it as arguement of execute methods
9 years ago
Yann Weber
a7c69629e7
Introducing a datasource attribute by em_class
9 years ago
Roland Haroutiounian
84003e95f6
TODO added in the migration handler
9 years ago
Roland Haroutiounian
97de4a91b6
Reference fix on the call of a class property in the migration handler
9 years ago
Roland Haroutiounian
c3072a1bea
Deleted a useless comment
9 years ago
Roland Haroutiounian
a05d4cfbec
Added more methods to the mongodb migration handler
9 years ago
Yann Weber
67c53443b5
Activated raise on invalid settings + enhancement in Settings exceptions
9 years ago
Yann Weber
f8e8750eec
Progress in datasource as plugin implementation
9 years ago
Yann Weber
6fb04a69fb
Documentation on datasources plugins + confspec updates in validator.py
+ a new validator named 'string', it tries to cast the conf value using str()
9 years ago
Yann Weber
bf879a833c
Adds tests for LeGetQuery + bugfixes
- separates LeGetQuery tests and LeFilteredQuery tests
- small bugfixes associated to tests
9 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
9 years ago
Yann Weber
38a2448934
Skiping tests waiting for bugfixes
9 years ago
Yann Weber
373987ab9f
[Broken tests] Add some tests for xmlfile EM translator
9 years ago
Yann Weber
4cd853f0d4
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
9 years ago
Yann Weber
2628e67982
Bugfix in utility script
9 years ago
Roland Haroutiounian
4c0d447df3
added an identifier escaping method to the utils module
9 years ago
Roland Haroutiounian
7ea8470089
Moved the MongoDb database connection method to the utils module
9 years ago
Yann Weber
be8084b4fb
Small bugfix in LeObject
9 years ago
Yann Weber
6b5f377dc2
Regroup all code concerning webui in plugins/webui
9 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
9 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
9 years ago
Yann Weber
76f002d06c
Bugfixes in leobject and queries classes
9 years ago
Yann Weber
b328900bec
Deleted absolute path in global.ini
9 years ago
prieto
1a7c3e683a
Delete the useless tests
9 years ago
prieto
42361efe7a
Comments are added
9 years ago
prieto
b4a8e7ee99
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
9 years ago
prieto
aa67601c81
Bugs correction
9 years ago
Roland Haroutiounian
eb865bb8ab
Changed the versions of pymongo and jinja2 from latest to the debian latest ones
9 years ago
Yann Weber
e5b9a4abd3
Bugfix in leapi/query.py
9 years ago
Yann Weber
b22655d18b
Bugfixes (uwsgi + create_instance )
9 years ago
Yann Weber
f2b33f4fe3
Bugfix in webui plugin
9 years ago
Yann Weber
5c8f46c51e
Updated webui plugin to enable standalone mode
To start in standalone uwsgi set lodel2.webui.standalone=True in conf file and start loader.py
9 years ago
Yann Weber
8b702a4cc1
uwsgi run.py updates
- load variables from settings
- import loader.py
9 years ago
Yann Weber
c7b583d416
New webui plugin + create_instance.sh update
- create_instance.sh create some symbolic links
- webui plugin that add webui configuration variable
9 years ago
Yann Weber
85d11c0376
Nice exceptions for settings validation fails
9 years ago
Yann Weber
d7ae15e0bd
Validators update
- fixes exceptions output
- add "none" validator that validates only None
9 years ago