prieto
b547f75c9f
Without is_exist
7 anni fa
prieto
a0b46aa787
After autopep8
7 anni fa
prieto
4fb0c89ddb
Utilisation is_exist
7 anni fa
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
7 anni fa
Yann Weber
383af4be53
Quick & dirty workaround for issue #188
We delete all results with the same UID...
7 anni fa
Yann Weber
aa1ccd4a8d
Begin to fix back_reference update
7 anni fa
Yann Weber
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
7 anni fa
prieto
2d8a9811e6
Some adjustments and corresions
7 anni fa
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
7 anni fa
Yann Weber
8a1aef8d68
Enhancement of LeObject get_from_uid method
Return an instance and not a list of len 1 anymore
7 anni fa
Yann Weber
a51e0a37cf
fix a comment
7 anni fa
Yann Weber
4e90475dbf
Continuing mongodb backreference implementation
7 anni fa
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 )
7 anni fa
prieto
33e65b1518
Authentification form in Webui interface
7 anni fa
prieto
38fda3ce43
Some comments
7 anni fa
prieto
57688e7afb
Automatic update of Back-references
7 anni fa
Yann Weber
59d95c3bb0
Commenting + deleted debug print()
7 anni fa
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() ...)
7 anni fa
prieto
2961b7f916
Debug messages deleted
7 anni fa
Yann Weber
80eee8dd69
Delete useless logging messages
8 anni fa
Yann Weber
0aec7f6ca8
Bugfixe in leobject
Deleted hardcoded condition that brokes standart field validation process
8 anni fa
prieto
7a321018a0
Interface
8 anni fa
prieto
9a66c9a2f6
Gestion des relations
8 anni fa
prieto
9769b873e9
Some corrections for interface update object
8 anni fa
prieto
b0a1be8fcb
Corrections
8 anni fa
Yann Weber
dd2f93faea
A lot of small bugfixes
8 anni fa
Yann Weber
703b4adf7e
MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain
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
01566ca815
Exception msg enhancement + use of method instead of protected attr in datasource
8 anni fa
Roland Haroutiounian
6a6396f0d2
Bug fix
8 anni fa
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
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
e3dbdc8e49
Untested but written db initialisation function in install/lodel_admin.py
8 anni fa
Yann Weber
4c90b68fda
Bugfix and better exceptions handling in datasource initialization methods
8 anni fa
Yann Weber
2da4b82770
Continue to split _init_datasource method of LeObject
8 anni fa
Yann Weber
9b3087b363
Continue to prepare MigrationHandler database initialization script
8 anni fa
Yann Weber
5ba8fd8e7f
em_test update + DataHandler bugfix & enhancement
8 anni fa
Yann Weber
d12d1e2865
Bugfixes in query.py and leobject.py + more test on Query <-> Datasource relations
8 anni fa
prieto
db835cd61e
Debug 15/06
8 anni fa
Yann Weber
1ea9269742
Small bugfixes in leobject and validator
- Replaced a self. by cls. in leobject
- Changed default value for runtest option
8 anni fa
Yann Weber
33b9ad84c6
Tests + bugfix on LeObject.get method
- Changed the way of instanciating results object in get (using __new__ )
8 anni fa
Yann Weber
4e504f759e
Bufix on LeObject.update + test
8 anni fa
Yann Weber
96f736ae16
Bufixes making test pass
8 anni fa
prieto
7c5ebc3035
self.__namein delete
8 anni fa
prieto
c3e62e57be
Corrections
8 anni fa
Yann Weber
9c23abcdcc
Bugfixes on leobject & query
8 anni fa
prieto
669ec976a4
Corrections __init
8 anni fa
prieto
53ad4dcbc0
Adding import warnings
8 anni fa
Yann Weber
378dfd9766
More test + change 1 exception in LeObject
8 anni fa
Yann Weber
7f2246756d
Exceptions enhancement in LeObject
8 anni fa