Quentin Bonaventure
c4289764ec
Created and added varcharlist DH to lodelsites EM
hace 7 años
prieto
4fb0c89ddb
Utilisation is_exist
hace 7 años
prieto
54b1521d09
Adds LeQuery.is_exist function to test the existence of an LeObject instance
hace 7 años
prieto
e9a0b7a924
Small correction
hace 7 años
prieto
084b2dd5f0
Corrects an error
hace 7 años
prieto
a66e5d2d30
Add a check that the given value points onto an allowed class
hace 7 años
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
hace 7 años
Yann Weber
383af4be53
Quick & dirty workaround for issue #188
We delete all results with the same UID...
hace 7 años
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
hace 7 años
Yann Weber
705c8f511c
Bugfix in lodel.leapi.query
Hook names were wrong
hace 7 años
Yann Weber
aa1ccd4a8d
Begin to fix back_reference update
hace 7 años
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)
hace 7 años
Yann Weber
32e2579350
Bugfix in Reference DataHandler instanciation
**kwargs was not given to super() constructor
hace 7 años
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)
hace 7 años
Yann Weber
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
hace 7 años
prieto
2d8a9811e6
Some adjustments and corresions
hace 7 años
Yann Weber
0b60a24582
Bugfixes on back reference handling for singleRef solves #154
hace 7 años
Yann Weber
2010fb29e8
empty method implementation for Reference objects
hace 7 años
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
hace 7 años
Yann Weber
8a1aef8d68
Enhancement of LeObject get_from_uid method
Return an instance and not a list of len 1 anymore
hace 7 años
Yann Weber
78e3dca30b
MultipleRef datahandlers bugfixes
In construct and check data
hace 7 años
prieto
e4214a1705
Bugfixes
hace 7 años
prieto
43bf90d1ca
Bugfixes
hace 7 años
prieto
d7b2feb35a
Bugfixe
hace 7 años
prieto
f9000bbc83
Bugfixes
hace 7 años
Yann Weber
8f48612c82
Enables debian package creation
with make deb . Next commit will update the README
hace 7 años
Yann Weber
a51e0a37cf
fix a comment
hace 7 años
m.orban
556bea1f73
Added comment to bases_classes
hace 7 años
m.orban
06609ca238
Added tests for MultiRef datahandler and modified _check_data_value raise exception
hace 7 años
m.orban
c270977e4e
Added test for multiple references
hace 7 años
prieto
2f68c55f65
Bugfixes due to datahandler changes
hace 7 años
m.orban
6edda9f5ba
Started to implement test for reference datahandler
hace 7 años
m.orban
08f07d45a8
Modified and added test for varchar. Modified strict test for datahandler integer
hace 7 años
m.orban
a6cc69294a
Modified test for datetime datahandler
hace 7 años
m.orban
f9d41368ab
Modified and added test unit for integer datahandler
hace 7 años
Yann Weber
e602e009ad
Bugfixes in backref handling in mongodb datasrouce refs #131
Now backref seems to work at creation of a Person linked with a text the Person UID is appended to Text.linked_persons
hace 7 años
Yann Weber
66d08738dc
Bugfixes in Backref process refs #131 and in Integer dh
Triggered a bug in wrong Integer DH tests
hace 7 años
Yann Weber
622d486b0a
Small bugfixes in Integer DH and Update query class
hace 7 años
Yann Weber
61e892fe61
Implements an empty() classmethod for multiref datahandlers
Return the value of this datahandler when empty
hace 7 años
Yann Weber
0b443a6d93
Various bugfixes in DataHandlers
refs #131
hace 7 años
Yann Weber
60acfd80f1
Dedeuplication bufix in prepare_filter
The dedup mechanism was using a cast of list to set. But sometimes, filters contains list, and list are not hashable...
hace 7 años
Yann Weber
ae9829d31d
Bugfix in Reference abstract DataHandler class
refs #131
hace 7 años
Yann Weber
4e90475dbf
Continuing mongodb backreference implementation
hace 7 años
m.orban
67bd4087a9
Moved new class exceptions in exceptions.py
hace 7 años
m.orban
120a8028d8
Added list error when check MultipleRef value
hace 7 años
m.orban
1f4a822945
Added comment in datahandler class and derived class
hace 7 años
m.orban
c7c0952ffb
checked_data_value passed test for datahandler class and derived class
hace 7 años
m.orban
56b3b9d7ab
Added Checked_data_value for datahandlers
hace 7 años
m.orban
21d2f4da27
Added check_data_value function for data handlers Reference
hace 7 años
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 )
hace 7 años