prieto
a8577a7f2f
List of DataHandlers
7 years ago
prieto
2174b23ec6
Autotools adaptation for new directories
7 years ago
prieto
a958d9cf1f
List of existting datahandlers
7 years ago
prieto
a0b46aa787
After autopep8
7 years ago
prieto
b6b0a60b4c
display_name and help_text are handled in __init__ of datahandler base class
7 years ago
Roland Haroutiounian
dc3a8f4e22
Code cleaning on references module
7 years ago
Roland Haroutiounian
b6093866cd
Changed datahandler exceptions from functions to classes
7 years ago
Roland Haroutiounian
c48c0119a2
code cleaning
7 years ago
Roland Haroutiounian
915817b6bd
Code cleaning on datahandlers/datas.py
7 years ago
Roland Haroutiounian
822ad1bea2
Code cleaning
7 years ago
Roland Haroutiounian
283fa4a3cc
Added an Exception management for the DatahandlerOption's check_value method
7 years ago
Roland Haroutiounian
be429fc018
Changed help_text and display_name from private to public in the datahandlers options
7 years ago
prieto
57b650c686
display_name and helpt_text are removed in datahandleroption
7 years ago
Roland Haroutiounian
ebe8338938
Changed the management of the option values in a datahandler
7 years ago
Roland Haroutiounian
18770976cf
Changed the importing of the UnallowedOption Exception
7 years ago
Roland Haroutiounian
0716e77a1a
Code cleaning
7 years ago
Roland Haroutiounian
dd1b1d0b13
Fix on the call to the parent's init in DataHandler and DataHandlerOption classes
7 years ago
Roland Haroutiounian
530ad1088f
Added inheritance of the datahandler base class and the datahandler option class to the MlNamedObject class
7 years ago
prieto
08ad11624d
Class Validator replaces SettingValidator
7 years ago
Roland Haroutiounian
3394543af8
Added a new exception raised when a not allowed option is passed to a datahandler
7 years ago
Roland Haroutiounian
763e4a880d
Added a check in the options' check method, to see if the option name indicated corresponds to an existing option
7 years ago
Roland Haroutiounian
6e6463cb8f
Added some changes to the DataHandler class to deal with the options and their values
7 years ago
Roland Haroutiounian
c2f62bce50
Added new properties and the check_options method to the DataHandler class
7 years ago
prieto
7a1416ee21
Class DhOptionvaidator
7 years ago
Roland Haroutiounian
b3437848bb
Added the DatahandlerOption class
7 years ago
Quentin Bonaventure
c4289764ec
Created and added varcharlist DH to lodelsites EM
7 years ago
prieto
4fb0c89ddb
Utilisation is_exist
7 years ago
prieto
54b1521d09
Adds LeQuery.is_exist function to test the existence of an LeObject instance
7 years ago
prieto
e9a0b7a924
Small correction
7 years ago
prieto
084b2dd5f0
Corrects an error
7 years ago
prieto
a66e5d2d30
Add a check that the given value points onto an allowed class
7 years ago
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
7 years ago
Yann Weber
383af4be53
Quick & dirty workaround for issue #188
We delete all results with the same UID...
8 years ago
Yann Weber
67bfa2152f
Implements new methods for reference datahandlers
get_referenced method were implemented for SingleReference and MultipleReference class
They are able to return LeObject instances refereced by them
8 years ago
Yann Weber
705c8f511c
Bugfix in lodel.leapi.query
Hook names were wrong
8 years ago
Yann Weber
aa1ccd4a8d
Begin to fix back_reference update
8 years ago
Yann Weber
62f92ff641
Bugfix in datahandlers/base_classes.py
Deleted old methods that are unused (one of them was triggerring an error will doing nothing)
8 years ago
Yann Weber
32e2579350
Bugfix in Reference DataHandler instanciation
**kwargs was not given to super() constructor
8 years ago
Yann Weber
a21e0be25f
Fixing multisite loading process & dyncode bootstrapping
- a "normal" import was left in lefactory_common
- the hook triggering datasources init in dyncode was not called
- dyncode was not exposed in the loader (making hook call useless : the hook has to be called once the dyncode has been "seen" (imported) by python)
8 years ago
Yann Weber
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
8 years ago
prieto
2d8a9811e6
Some adjustments and corresions
8 years ago
Yann Weber
0b60a24582
Bugfixes on back reference handling for singleRef solves #154
8 years ago
Yann Weber
2010fb29e8
empty method implementation for Reference objects
8 years ago
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 years ago
Yann Weber
8a1aef8d68
Enhancement of LeObject get_from_uid method
Return an instance and not a list of len 1 anymore
8 years ago
Yann Weber
78e3dca30b
MultipleRef datahandlers bugfixes
In construct and check data
8 years ago
prieto
e4214a1705
Bugfixes
8 years ago
prieto
43bf90d1ca
Bugfixes
8 years ago
prieto
d7b2feb35a
Bugfixe
8 years ago
prieto
f9000bbc83
Bugfixes
8 years ago