An error occurred fetching the project authors.
- 22 Apr, 2010 1 commit
-
-
Leonardo Rochael Almeida authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34727 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Apr, 2010 1 commit
-
-
Vincent Pelletier authored
In older ZSQLCatalog versions (pre-r25706), values fetched via select_expression='catalog.simulation_state' were accessible on brain as "brain.simulation_state". In current catalog, this became "getattr(brain, 'catalog.simulation_state')" and hence broke compatibility somewhat. This patch fixes this problem by stripping table name from the generated alias. Note: the table name is only stripped from implicit aliases, never from explicit ones. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34685 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 16 Apr, 2010 1 commit
-
-
Leonardo Rochael Almeida authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34629 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 11 Mar, 2010 3 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33669 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Fulltext operator (MatchComparisonOperator) is special because it generates ORDER BY expression, which is to be used only if caller tells catalog to sort on the fulltext column. This code tests just that. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33661 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
As the generated order-by expressions now (rightly) differ based on data, the exception generated when detecting the difference must be postponed to when expression is actualy used, as it might not be used. Also, test that postponing effectively works, and demonstrate another way to express the same condition, but which allows sorting. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33660 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 21 Jan, 2010 1 commit
-
-
Sebastien Robin authored
either on the brain or on the real object * update unit test for getProperty * add new method hasColumn in catalog API * add test for hasColumn git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31884 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Nov, 2009 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30830 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Nov, 2009 1 commit
-
-
Yusuke Muraoka authored
That was category relation related. Lazy generation of category relation is replaced by using IN with sub query. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30783 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 27 Oct, 2009 3 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30043 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Add one more select_dict case: when there is no direct hint given, but the query implicitely favors a table over the other. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30039 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
- add a column which mapping is ambiguous (could happen on 2 tables) - add a utility method to generate SQLExpression instances from parameters git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30038 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Jun, 2009 1 commit
-
-
Tatuya Kamada authored
expressions git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27825 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Jun, 2009 1 commit
-
-
Tatuya Kamada authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27767 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 22 Jun, 2009 1 commit
-
-
Tatuya Kamada authored
This fix makes search dialogs work even if datetime field is included. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27722 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Jun, 2009 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27684 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Jun, 2009 1 commit
-
-
Vincent Pelletier authored
Add a test. FullText operators have no SearchText representation, so disable it explicitely. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27335 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 May, 2009 1 commit
-
-
Vincent Pelletier authored
Improve usability of SimpleQuery when directly instanciated: automaticaly convert an "=" comparison operator on a None value into an "is" comparison operator. Update code comment, as it is not about backward compatibility but about usability. Add a test. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27070 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 May, 2009 1 commit
-
-
Vincent Pelletier authored
When doing multiple FullText lookups in the same SearchText expression, merge all lookups into just one SQL fulltext match (per expression block). Add a test. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26836 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 04 May, 2009 1 commit
-
-
Vincent Pelletier authored
Export isAdvancedSearchText method on SQLCatalog instance. Document SQLCatalog.isAdvancedSearchText in IQueryCatalog interface. Add a test for new SQLCatalog.isAdvancedSearchText method. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26785 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Apr, 2009 1 commit
-
-
Vincent Pelletier authored
Update test to new desired behaviour. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26451 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Mar, 2009 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26141 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 11 Mar, 2009 1 commit
-
-
Vincent Pelletier authored
Modify SimpleQuery API to deprecate "operator" parameter in favor of "comparison_operator". Preserve backward compatibility. Update all callers. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25979 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 Mar, 2009 2 commits
-
-
Vincent Pelletier authored
Fix SearchText parsing: it was not passing desired logical_operator to buildQuery, causing AND to becore OR (only for logical operator syntax tree node directly containing leaf nodes). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25945 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Make "from string import split" unused in SQLCatalog, and remove string import entirely. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25930 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 Mar, 2009 3 commits
-
-
Vincent Pelletier authored
Split test_001_DefaultKey, test_003_DateTimeKey and test_004_KeywordKey into 2 tests each, instead of using a 2-items loop in each. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25837 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Enable parsing in DefaultKey. Update test to describe that behaviour (which is more consistent with previous behaviour). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25833 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Generate automaticaly "not like" operator use in KeywordKey when given operator is "!=" and value contains at least one "%". Update test to chekc for "not like" operator. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25817 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Mar, 2009 2 commits
-
-
Vincent Pelletier authored
Remove testSearchKeys. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25786 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
A "ScriptableKey" configuration is not a SearchKey, strictly speaking: a SearchKey generates Query instances from a value (the SearchKey contains the column information), and ScriptableKey's "script" does exactly that. So there is no need for any SearchKey to generate those Queries, so it's better to fix the feature at getColumnDefaultSearchKey caller's level. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25773 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 25 Feb, 2009 1 commit
-
-
Vincent Pelletier authored
- further extend SearchKey concept - define, implement and validate Interfaces - add a column mapper (mapping is decided on a completely-formed query tree instead of being done individualy on each used column) - state what is present for backward compatibility, warn about deprecated/dangerous uses git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25706 20353a03-c40f-0410-a6d1-a30d3c3de9de
-