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