Roland Haroutiounian
0811de96cb
Fix on the arguments of the check_field_in_collection method of the migration handler (extra empty argument passed on a call)
8年前
Roland Haroutiounian
ffa911b22e
Added a condition on the field creation to consider only the documents of the class corresponding to the field
8年前
Roland Haroutiounian
ad934a91cc
Revert (fixed)
8年前
Roland Haroutiounian
c75a5f8094
Revert
8年前
Roland Haroutiounian
ff2e59ced1
Fixed the "install" folder path building (extra "/" deleted)
8年前
Roland Haroutiounian
f0c20aaac4
Added the test on the deletion of the collections (to not delete a basis collection)
8年前
prieto
b963d34cf1
Added tests plugins
8年前
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年前
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年前
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年前
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年前
Roland Haroutiounian
010decc4d3
Fix on the imports in the mongodb migration handler
8年前
prieto
05139b78b5
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
8年前
prieto
413d8e7570
Remove useless changes in PluginErro
8年前
Roland Haroutiounian
d309cea519
Added the emfield_upgrade method (for the update of an existing field)
8年前
Yann Weber
11c6b2b53e
Commenting a duplicated method + adapting LeQuery __query method to the new datasource system
8年前
prieto
30ecf5e56f
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
8年前
prieto
e01c444436
Remove print(...)
8年前
Yann Weber
eba5d7d616
LeFilteredQuery.execute() method is written
8年前
Yann Weber
a91d25e392
Begin implementation of cross datasource reference query
- The set_query_filter() method handles subquery creation
- The run isn't written yet...
8年前
Yann Weber
616acd387d
Modified LeObject adding a _datasource_name attribute
The _datasource_name attribute replace the old _datasource attribute. The goal of the modification is to maintain easyly accessible datasource UID
8年前
prieto
73d911f091
Adding a new class methos in plugins.pyto clear the class variables
Adding tests for the Plugin class
8年前
Roland Haroutiounian
6dda142b14
First move of the migration_handler for MongoDb to the MongoDb Datasource plugin's package
8年前
Yann Weber
5d624bfda2
Make query.py lines fit in 78chars
8年前
Yann Weber
75c2a81225
Now plugins can define dependencies.
8年前
Roland Haroutiounian
bf2940a3e3
Move of the MongoDb Datasource in a plugin
8年前
Yann Weber
3adad7bb02
Now plugins can check EM and invalidate activation
They have to implement a _activate() method in their __init__.py file
8年前
Yann Weber
43911cdfe4
loader enhancement
8年前
Yann Weber
23e29b4336
Add _activate check when plugins are loaded
8年前
Yann Weber
8204f97fc5
Documentin Plugin + update pickle file example
8年前
Yann Weber
61f19772fb
New way to handles plugin
- renamed Plugins class to Plugin
- an instance represent a loaded plugin
- classmethod allows to preload & load plugins
8年前
Roland Haroutiounian
3a87551f2e
Code cleaning
8年前
Roland Haroutiounian
888c671659
Rewrote some code from the migration handler
8年前
Yann Weber
468cf2a383
Change logger to display absolute source file path instead of relative path
8年前
Yann Weber
7e58988307
Changed broken conf in install/conf.d/datasources.ini + message enhancement for invalid configuration key
8年前
Yann Weber
63a85eb85c
Bugfix in xmfile translator tests (path problem)
Using the conf to load emtests.pickle
8年前
prieto
664a591a87
Correction functions set_datas and data
8年前
prieto
9080d53f2f
Correction : self.__datas[fieldame] en sel.__datas[fieldname] line 116
8年前
prieto
0dddf1146f
Working for all tests
8年前
prieto
ce9684e330
Path correction
8年前
prieto
3dc064f98b
Correction
8年前
prieto
0a870e55f6
Tests checked
8年前
prieto
79e236200d
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
8年前
prieto
8264423011
Corrections
8年前
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年前
Yann Weber
cc337ccb73
Fixing tests and skipping the Settings set test
- I do not understand wy the set test for Settings was OK before...
8年前
Yann Weber
b683d68d83
Adding datasourc boostrapîng instructions in leaftory generated dyncode
+ better log message for datasource bootstrap
8年前
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年前
Yann Weber
d24f15776b
create_instance script update
now using examples/em_test.pickle as editorial model for new instances
8年前
Roland Haroutiounian
77f1db337b
Changed the emfield_new method
8年前