prieto
b547f75c9f
Without is_exist
7 years ago
prieto
54b1521d09
Adds LeQuery.is_exist function to test the existence of an LeObject instance
8 years ago
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
8 years ago
Yann Weber
705c8f511c
Bugfix in lodel.leapi.query
Hook names were wrong
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
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 years ago
Yann Weber
622d486b0a
Small bugfixes in Integer DH and Update query class
8 years ago
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 years ago
m.orban
120a8028d8
Added list error when check MultipleRef value
8 years ago
m.orban
c7c0952ffb
checked_data_value passed test for datahandler class and derived class
8 years ago
prieto
4828be4adc
Remove the call of make_consistency
8 years ago
Yann Weber
20c1627bda
Commenting & bufixing in datahandlers & queries
8 years ago
prieto
57688e7afb
Automatic update of Back-references
8 years ago
Yann Weber
59d95c3bb0
Commenting + deleted debug print()
8 years ago
m.orban
4e22b24b01
Changed staticmethod to classmethod in datahandlers/bases_classes in name function
8 years ago
Yann Weber
6fd420417a
Bugfix in query.py
8 years ago
Yann Weber
cda722adda
Commenting
8 years ago
prieto
b669ca8596
Warning : removed the int to str cast for filter uid in update case
8 years ago
Yann Weber
dd2f93faea
A lot of small bugfixes
8 years ago
Yann Weber
9c3a770610
Bugfixes on filters handling
- calling check_data_value on filters value to ensure value casting
8 years ago
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 years ago
Yann Weber
2668770369
Begin abstract LeObject child query factorisation in mongodb Datasource
8 years ago
Yann Weber
0acd3d6612
Bugfixes in query and datasources.
8 years ago
Yann Weber
d12d1e2865
Bugfixes in query.py and leobject.py + more test on Query <-> Datasource relations
8 years ago
Yann Weber
c6334f903f
Bugfixes in LeGetQuery + more tests on LeObject.get <-> LeGetQuery
8 years ago
Yann Weber
33b9ad84c6
Tests + bugfix on LeObject.get method
- Changed the way of instanciating results object in get (using __new__ )
8 years ago
Yann Weber
96f736ae16
Bufixes making test pass
8 years ago
Yann Weber
59e33b9a68
Bugfixes in query, in the execute method
8 years ago
prieto
27985b8411
O
8 years ago
prieto
69c3001b1b
__ instead of _
8 years ago
prieto
11328fca29
Correction
8 years ago
prieto
c3e62e57be
Corrections
8 years ago
Yann Weber
9c23abcdcc
Bugfixes on leobject & query
8 years ago
prieto
a5474695a8
correct an error of keyboard
8 years ago
prieto
8806738bba
correct lequery execute
8 years ago
Yann Weber
77d6fd8df5
More tests on LeOject
8 years ago
Yann Weber
59691165ae
Wrong method was called for preparing datas in LeUpdateQuery
8 years ago
Yann Weber
9da19f3665
Moved exceptions + LeUpdateQuery.__query implementation
- The LeUpdateQuery implementation is broken or at least have huge performance issue
- Moved LeObject exceptions and LeQuery exceptions in lodel.leapi.exceptions
8 years ago
Yann Weber
ba5fded049
Enable data check for LeInsertQuery
8 years ago
Yann Weber
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
8 years ago
Yann Weber
5708194875
Rewriting CRUD methods of datasources
- Now delete & update methods use filters & rel_filters
8 years ago
Yann Weber
7e2a60e73e
Fixing lequery execute -> __query process
- deleting most of **datas to replace it with a standart dict argument
- using filters in childs of LeFilteredQuery
8 years ago
Yann Weber
be472a0d59
Modified LeDeleteQuery to act like a standart LeFilteredQuery
8 years ago
Yann Weber
11027fd959
Starting implementation of relation in datasource
8 years ago
Yann Weber
0f9b07f08a
More tests & debug on multi datasource queries + em_test update
- Added missing allowed_classes options to some references in em_test
8 years ago
Yann Weber
e55954d947
First test on multi datasource queries + em_test update + query.py debug
- Modified again the em_test to fit with testing purpose
- First test on multi datasource query written
- debugging of query.py
8 years ago
Yann Weber
b8d5b5bba2
Completing em_test modifications + completing the dump_infos method of LeFilteredQuery
- adding an EmClass to make a double link between indexes and texts
- adding subqueries infos to dump_infos method of LeFilteredQuery
8 years ago
Yann Weber
11c6b2b53e
Commenting a duplicated method + adapting LeQuery __query method to the new datasource system
8 years ago
Yann Weber
eba5d7d616
LeFilteredQuery.execute() method is written
8 years ago