prieto
4fb0c89ddb
Utilisation is_exist
před 8 roky
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
před 8 roky
Yann Weber
383af4be53
Quick & dirty workaround for issue #188
We delete all results with the same UID...
před 8 roky
Yann Weber
aa1ccd4a8d
Begin to fix back_reference update
před 8 roky
Yann Weber
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
před 8 roky
prieto
2d8a9811e6
Some adjustments and corresions
před 8 roky
Yann Weber
949320298d
Another bugfix on get_from_uid LeObject method
When not found return None and do not try to run len() on None
před 8 roky
Yann Weber
8a1aef8d68
Enhancement of LeObject get_from_uid method
Return an instance and not a list of len 1 anymore
před 8 roky
Yann Weber
a51e0a37cf
fix a comment
před 8 roky
Yann Weber
4e90475dbf
Continuing mongodb backreference implementation
před 8 roky
Yann Weber
24a64eea59
Starts backref handling for mongodb datasource plugin
Methods are written.
They are not called by anyone and the only tests that were done is that no syntax error is raised.
( refs #131 )
před 8 roky
prieto
33e65b1518
Authentification form in Webui interface
před 8 roky
prieto
38fda3ce43
Some comments
před 8 roky
prieto
57688e7afb
Automatic update of Back-references
před 8 roky
Yann Weber
59d95c3bb0
Commenting + deleted debug print()
před 8 roky
Yann Weber
4627ae17e5
DatasourcePlugin class implementation
- DatasourcePlugin implmentation as child class of lodel.plugin.plugins.Plugin
- moved methods about datasource initialisation from LeObject to DatasourcePlugin ( _init_datasource(), plugin_name(), _get_ds_connection_conf() ...)
před 8 roky
prieto
2961b7f916
Debug messages deleted
před 8 roky
Yann Weber
80eee8dd69
Delete useless logging messages
před 8 roky
Yann Weber
0aec7f6ca8
Bugfixe in leobject
Deleted hardcoded condition that brokes standart field validation process
před 8 roky
prieto
7a321018a0
Interface
před 8 roky
prieto
9a66c9a2f6
Gestion des relations
před 8 roky
prieto
9769b873e9
Some corrections for interface update object
před 8 roky
prieto
b0a1be8fcb
Corrections
před 8 roky
Yann Weber
dd2f93faea
A lot of small bugfixes
před 8 roky
Yann Weber
703b4adf7e
MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain
před 8 roky
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
před 8 roky
Yann Weber
01566ca815
Exception msg enhancement + use of method instead of protected attr in datasource
před 8 roky
Roland Haroutiounian
6a6396f0d2
Bug fix
před 8 roky
Yann Weber
1f1e6f13b3
Add a new get_class_childs to Model class and a child_classes method to LeObject
Now lefactory populate a LeObject attribute named _child_classes
před 8 roky
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 )
před 8 roky
Yann Weber
e3dbdc8e49
Untested but written db initialisation function in install/lodel_admin.py
před 8 roky
Yann Weber
4c90b68fda
Bugfix and better exceptions handling in datasource initialization methods
před 8 roky
Yann Weber
2da4b82770
Continue to split _init_datasource method of LeObject
před 8 roky
Yann Weber
9b3087b363
Continue to prepare MigrationHandler database initialization script
před 8 roky
Yann Weber
5ba8fd8e7f
em_test update + DataHandler bugfix & enhancement
před 8 roky
Yann Weber
d12d1e2865
Bugfixes in query.py and leobject.py + more test on Query <-> Datasource relations
před 8 roky
prieto
db835cd61e
Debug 15/06
před 8 roky
Yann Weber
1ea9269742
Small bugfixes in leobject and validator
- Replaced a self. by cls. in leobject
- Changed default value for runtest option
před 8 roky
Yann Weber
33b9ad84c6
Tests + bugfix on LeObject.get method
- Changed the way of instanciating results object in get (using __new__ )
před 8 roky
Yann Weber
4e504f759e
Bufix on LeObject.update + test
před 8 roky
Yann Weber
96f736ae16
Bufixes making test pass
před 8 roky
prieto
7c5ebc3035
self.__namein delete
před 8 roky
prieto
c3e62e57be
Corrections
před 8 roky
Yann Weber
9c23abcdcc
Bugfixes on leobject & query
před 8 roky
prieto
669ec976a4
Corrections __init
před 8 roky
prieto
53ad4dcbc0
Adding import warnings
před 8 roky
Yann Weber
378dfd9766
More test + change 1 exception in LeObject
před 8 roky
Yann Weber
7f2246756d
Exceptions enhancement in LeObject
před 8 roky
prieto
45f09240f7
Coorecting error by passing cls to query
před 8 roky
prieto
a4dd1950e2
Name of exceptions
před 8 roky