Yann Weber
2010fb29e8
empty method implementation for Reference objects
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
78e3dca30b
MultipleRef datahandlers bugfixes
In construct and check data
8 роки тому
prieto
e4214a1705
Bugfixes
8 роки тому
prieto
43bf90d1ca
Bugfixes
8 роки тому
prieto
d7b2feb35a
Bugfixe
8 роки тому
prieto
f9000bbc83
Bugfixes
8 роки тому
Yann Weber
8f48612c82
Enables debian package creation
with make deb . Next commit will update the README
8 роки тому
Yann Weber
a51e0a37cf
fix a comment
8 роки тому
m.orban
556bea1f73
Added comment to bases_classes
8 роки тому
m.orban
06609ca238
Added tests for MultiRef datahandler and modified _check_data_value raise exception
8 роки тому
m.orban
c270977e4e
Added test for multiple references
8 роки тому
prieto
2f68c55f65
Bugfixes due to datahandler changes
8 роки тому
m.orban
6edda9f5ba
Started to implement test for reference datahandler
8 роки тому
m.orban
08f07d45a8
Modified and added test for varchar. Modified strict test for datahandler integer
8 роки тому
m.orban
a6cc69294a
Modified test for datetime datahandler
8 роки тому
m.orban
f9d41368ab
Modified and added test unit for integer datahandler
8 роки тому
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
8 роки тому
Yann Weber
66d08738dc
Bugfixes in Backref process refs #131 and in Integer dh
Triggered a bug in wrong Integer DH tests
8 роки тому
Yann Weber
622d486b0a
Small bugfixes in Integer DH and Update query class
8 роки тому
Yann Weber
61e892fe61
Implements an empty() classmethod for multiref datahandlers
Return the value of this datahandler when empty
8 роки тому
Yann Weber
0b443a6d93
Various bugfixes in DataHandlers
refs #131
8 роки тому
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...
8 роки тому
Yann Weber
ae9829d31d
Bugfix in Reference abstract DataHandler class
refs #131
8 роки тому
Yann Weber
4e90475dbf
Continuing mongodb backreference implementation
8 роки тому
m.orban
67bd4087a9
Moved new class exceptions in exceptions.py
8 роки тому
m.orban
120a8028d8
Added list error when check MultipleRef value
8 роки тому
m.orban
1f4a822945
Added comment in datahandler class and derived class
8 роки тому
m.orban
c7c0952ffb
checked_data_value passed test for datahandler class and derived class
8 роки тому
m.orban
56b3b9d7ab
Added Checked_data_value for datahandlers
8 роки тому
m.orban
21d2f4da27
Added check_data_value function for data handlers Reference
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 роки тому
Yann Weber
0fc8616c02
Small changes in Datahandlers
- deletion of unused attributes
- copy the back_reference checks in _set_back_reference function and use it in Reference.__init__()
8 роки тому
prieto
33e65b1518
Authentification form in Webui interface
8 роки тому
Yann Weber
b5a6adc3a8
Enhancement of distclean target
Now when running distclean ALL files generated by the ./bootstrap && ./configure && make are deleted.
Maybe it's not a good idea because it's not the purpose of distclean target...
8 роки тому
prieto
66712d9a6a
Bugfixes
8 роки тому
prieto
440d85aaec
Added Make__consistency
8 роки тому
prieto
4828be4adc
Remove the call of make_consistency
8 роки тому
Yann Weber
21af2bbcbc
Autotools chain enhancement + solves #137
Using $pkgpythondir instead of $pythondir in Makefile.am
Solves a bug that put installed files in site-packages instead of dist-packages on debian
8 роки тому
Yann Weber
8316ab82ff
Configure autotools for distributing lodel2
IMPORTANT : tests are broken. See details below
A new lodel/buildconf.py.ini file created. It will be transformed to a lodel/buildconf.py file by ./configure .
This file goal is to store build time constant (for the moment the presence of pymongo).
You have to build lodel2 before being able to run the tests.
8 роки тому
Yann Weber
4acd6f8fbe
Deleted debug messages
8 роки тому
Yann Weber
20c1627bda
Commenting & bufixing in datahandlers & queries
8 роки тому
prieto
38fda3ce43
Some comments
8 роки тому
prieto
57688e7afb
Automatic update of Back-references
8 роки тому
Yann Weber
6e4fdde5f6
Doxygen documentation enhancement
Created groups (they can be found under the "Modules" menu -_- )
Created new pages : on LeAPI EditorialModel Plugins etc
8 роки тому
Yann Weber
59d95c3bb0
Commenting + deleted debug print()
8 роки тому
prieto
61e0567abf
Bugfixe in Datetime
8 роки тому
prieto
fee8dfdb68
Small corrections
8 роки тому
prieto
5f889169d3
Small bugfixes
8 роки тому