Yann Weber
dd2f93faea
A lot of small bugfixes
8 anni fa
Yann Weber
557d277186
Multiple bugfixes + create_instance.sh script update
- Add an update feature to create_instance.sh script
- Updated webui plugin load instruction (running loader.start() in run)
- Updated the way EmCmponents handles EmGroup
- Updated the way EmFields handles EmClass
- Updated xmlfile translator according to EmComponent modification
8 anni fa
Yann Weber
91fff4ca1c
Bugfixes on EmGroups handling
8 anni fa
Yann Weber
69f59baa2c
Bugfix on group activation (in EmClasses all fields were always actives)
8 anni fa
Yann Weber
ae8d8c05a6
Bugfix on EM groups handling (now we have to set actives groups in settings)
8 anni fa
Yann Weber
f02bba37f2
Separate the controllers function in multiples files
8 anni fa
Yann Weber
6e89fca151
The automatic UID creation by datasource implementation implies somes changes :
The UniqID datahandler has to call the datasource
LeObject has to be able to determine wich parent class define its UID datahandler
[NOT IMPLEMENTED] the datasource should be able to select with an abstract LeObject as target ( see #92 )
8 anni fa
Yann Weber
ece5029d66
em_test update + bugfix in tests
8 anni fa
Yann Weber
5ba8fd8e7f
em_test update + DataHandler bugfix & enhancement
8 anni fa
Yann Weber
006b0c4bc0
Deleting old stuff + bugfix in install/Makefile and in install/lodel_admin.py
8 anni fa
Yann Weber
0b60023145
More tests on LeObject
8 anni fa
Yann Weber
e278200414
More tests on LeObject
8 anni fa
Yann Weber
976d0c90c8
First tests on LeObjects
8 anni fa
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
8 anni fa
Yann Weber
0f9b07f08a
More tests & debug on multi datasource queries + em_test update
- Added missing allowed_classes options to some references in em_test
8 anni fa
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
8 anni fa
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
8 anni fa
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"
8 anni fa
Yann Weber
8204f97fc5
Documentin Plugin + update pickle file example
8 anni fa
Yann Weber
63a85eb85c
Bugfix in xmfile translator tests (path problem)
Using the conf to load emtests.pickle
8 anni fa
Yann Weber
3fe63787fb
Updated lequery.py to use targe_class datasource and not taking it as arguement of execute methods
8 anni fa
Yann Weber
a7c69629e7
Introducing a datasource attribute by em_class
8 anni fa
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 anni fa
Yann Weber
2628e67982
Bugfix in utility script
8 anni fa
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 anni fa
Yann Weber
a312cbc4d9
First version of lodel2 instance creation script
8 anni fa
Yann Weber
54493b4538
Fixes scripts & em_tests (bugs with settings bootstrap)
8 anni fa
Yann Weber
46fe058e5a
Deleted a print in tests + updates pickled em
8 anni fa
Yann Weber
2c47c71116
Modification in backreference handling.
Now a backreference is represented by a tuple(LeObject child class, fieldname)
8 anni fa
Yann Weber
a57899fb18
Bugfix on backreferences + updates of em_test
8 anni fa
Yann Weber
9676537c40
Add a small dirty Makefile (to make doc and dynamic code)
8 anni fa
Yann Weber
b4f809d9bd
em_test modifications
8 anni fa
Yann Weber
a9b4a1bfae
em_test.py and examples/em_test.pickle updates
8 anni fa
Yann Weber
222cae438c
Fixed the em_test.py (not fixed, just comments some lines) + update the em_test.pickle file
8 anni fa
Yann Weber
6df3b4d5ce
Add some scripts to handler dynamic code generation (without doc)
8 anni fa