Yann Weber
9da19f3665
Moved exceptions + LeUpdateQuery.__query implementation
- The LeUpdateQuery implementation is broken or at least have huge performance issue
- Moved LeObject exceptions and LeQuery exceptions in lodel.leapi.exceptions
hace 8 años
Yann Weber
30bc9eec08
Fixing test and EmClass
- Now returning automatic common field classname in fields method
hace 8 años
Yann Weber
e9f17eab6e
Fixes #79 (and brokes tests of xml translator)
Adding a field to all non abstract classes to store in DB the name of corresponding LeObject subclass
hace 8 años
Yann Weber
83afc6b6dd
Deleted datasources plugins and add a settings for datasources declaration
- now datasources are declared with two conf keys : read_only and identifier
- the old datasources plugin hook is now declared in lodel/plugin/core_hooks.py. This file is imported after lodel/plugin/hooks.py in the loader.py
hace 8 años
Yann Weber
afadd92b3d
Fixing tests according to query new behaviour
hace 8 años
prieto
b963d34cf1
Added tests plugins
hace 8 años
Yann Weber
0f9b07f08a
More tests & debug on multi datasource queries + em_test update
- Added missing allowed_classes options to some references in em_test
hace 8 años
Yann Weber
e55954d947
First test on multi datasource queries + em_test update + query.py debug
- Modified again the em_test to fit with testing purpose
- First test on multi datasource query written
- debugging of query.py
hace 8 años
Yann Weber
b8d5b5bba2
Completing em_test modifications + completing the dump_infos method of LeFilteredQuery
- adding an EmClass to make a double link between indexes and texts
- adding subqueries infos to dump_infos method of LeFilteredQuery
hace 8 años
Yann Weber
d6fbc5cfd1
Test editorial model updated to use two different datasources
- defining a new datasource named dummy2 in both tests conf and install/conf.d
- adding two class using the new datasource in em_test.py
- index : abtract class representing indexes (two fields, name & content)
- indextheme : thematic index, inheriting from index but with one more field "theme"
hace 8 años
Yann Weber
a91d25e392
Begin implementation of cross datasource reference query
- The set_query_filter() method handles subquery creation
- The run isn't written yet...
hace 8 años
prieto
73d911f091
Adding a new class methos in plugins.pyto clear the class variables
Adding tests for the Plugin class
hace 8 años
Yann Weber
63a85eb85c
Bugfix in xmfile translator tests (path problem)
Using the conf to load emtests.pickle
hace 8 años
prieto
ce9684e330
Path correction
hace 8 años
prieto
3dc064f98b
Correction
hace 8 años
prieto
0a870e55f6
Tests checked
hace 8 años
Yann Weber
cc337ccb73
Fixing tests and skipping the Settings set test
- I do not understand wy the set test for Settings was OK before...
hace 8 años
Yann Weber
3fe63787fb
Updated lequery.py to use targe_class datasource and not taking it as arguement of execute methods
hace 8 años
Yann Weber
a7c69629e7
Introducing a datasource attribute by em_class
hace 8 años
Yann Weber
67c53443b5
Activated raise on invalid settings + enhancement in Settings exceptions
hace 8 años
Yann Weber
f8e8750eec
Progress in datasource as plugin implementation
hace 8 años
Yann Weber
bf879a833c
Adds tests for LeGetQuery + bugfixes
- separates LeGetQuery tests and LeFilteredQuery tests
- small bugfixes associated to tests
hace 8 años
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
hace 8 años
Yann Weber
38a2448934
Skiping tests waiting for bugfixes
hace 8 años
Yann Weber
373987ab9f
[Broken tests] Add some tests for xmlfile EM translator
hace 8 años
Yann Weber
2628e67982
Bugfix in utility script
hace 8 años
Yann Weber
5991bc8e6f
Add leading & trailing spaces to all operators in LefilteredQuery
Doing so forbids operators like << == =! in* etc..
The tests were updated
hace 8 años
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
hace 8 años
prieto
1a7c3e683a
Delete the useless tests
hace 8 años
prieto
aa67601c81
Bugs correction
hace 8 años
prieto
9497130e8b
Add Save of Settings, EM translator in xml
hace 8 años
prieto
c439b6d929
test settings
hace 8 años
prieto
48165e0fcb
Ajouts
hace 8 años
prieto
92921708ca
Settings loader en rw
hace 8 años
Yann Weber
d30f3e189f
[1 test fail] Updated the settings to prepare them to be writable + more tests
hace 8 años
Yann Weber
7897203830
Add SettingsLoader.getremains() test + code refactoring in SettingsLoader
hace 8 años
Yann Weber
3ed55fdc29
Some modifications + tests update for settings loader
hace 8 años
Yann Weber
46fe058e5a
Deleted a print in tests + updates pickled em
hace 8 años
Yann Weber
8659e91f43
Fixing settings & logger
hace 8 años
prieto
0eb06b3a4f
rm dir
hace 8 años
prieto
59342cd315
13042016
hace 8 años
prieto
b4da6c14c9
test
hace 8 años
prieto
3b37eb6337
correction erreur nom de section
hace 8 años
prieto
b0bff45d94
corrections
hace 8 años
Yann Weber
8dbe6b6234
More tests on SettingsLoader
hace 8 años
Yann Weber
640f665326
More tests for SettingsLoader class
hace 8 años
prieto
40e30935f2
Ajout d'exemples de conf
hace 8 años
Yann Weber
d7a6e22db3
Changes the loader in order to load settings_local.ini instead of versionned settings.ini
hace 8 años
Yann Weber
2404c53fef
Add a loader for tests in order to bootstrap settings
hace 8 años
Yann Weber
c0c5d23adb
Commit with comments, code clean etc.
hace 8 años