svn commit: r1574841 - in /bloodhound/trunk/bloodhound_relations/bhrelations/tests: api.py base.py notification.py search.py web_ui.py

2014-03-06 Thread astaric
Author: astaric Date: Thu Mar 6 11:12:21 2014 New Revision: 1574841 URL: http://svn.apache.org/r1574841 Log: Refactor bhrelations tests. Modified: bloodhound/trunk/bloodhound_relations/bhrelations/tests/api.py bloodhound/trunk/bloodhound_relations/bhrelations/tests/base.py

svn commit: r1573485 - /bloodhound/trunk/bloodhound_search/bhsearch/api.py

2014-03-03 Thread astaric
Author: astaric Date: Mon Mar 3 09:25:53 2014 New Revision: 1573485 URL: http://svn.apache.org/r1573485 Log: Use get to access product in search documents. Refs: #773 Modified: bloodhound/trunk/bloodhound_search/bhsearch/api.py Modified: bloodhound/trunk/bloodhound_search/bhsearch/api.py

svn commit: r1573264 - in /bloodhound/trunk/bloodhound_search/bhsearch: search_resources/milestone_search.py search_resources/ticket_search.py search_resources/wiki_search.py security.py web_ui.py

2014-03-01 Thread astaric
Author: astaric Date: Sun Mar 2 06:52:21 2014 New Revision: 1573264 URL: http://svn.apache.org/r1573264 Log: Use get to access product in search documents. Refs: #773 Modified: bloodhound/trunk/bloodhound_search/bhsearch/search_resources/milestone_search.py bloodhound/trunk

svn commit: r1564692 - /bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py

2014-02-05 Thread astaric
Author: astaric Date: Wed Feb 5 09:55:33 2014 New Revision: 1564692 URL: http://svn.apache.org/r1564692 Log: Do not send notification if relation could not be created. Modified: bloodhound/trunk/bloodhound_relations/bhrelations/web_ui.py Modified: bloodhound/trunk/bloodhound_relations

svn commit: r1559082 - /bloodhound/trunk/bloodhound_search/bhsearch/tests/security.py

2014-01-17 Thread astaric
Author: astaric Date: Fri Jan 17 11:55:37 2014 New Revision: 1559082 URL: http://svn.apache.org/r1559082 Log: Handle a case where document has no field 'product'. (Whoosh 2.5 compatibility) With Whoosh 2.4 all documents have a value in field 'product' (our workaround to keep faceting from

svn commit: r1526812 - /bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py

2013-09-27 Thread astaric
Author: astaric Date: Fri Sep 27 07:36:28 2013 New Revision: 1526812 URL: http://svn.apache.org/r1526812 Log: Fetch product tickets using product environment. Product.get_tickets uses direct query that sees tickets from all products, but Ticket(id) does not, so it needs to be instantiated

svn commit: r1526822 - in /bloodhound/trunk: bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html bloodhound_relations/bhrelations/templates/relations_manage.html

2013-09-27 Thread astaric
Author: astaric Date: Fri Sep 27 07:59:57 2013 New Revision: 1526822 URL: http://svn.apache.org/r1526822 Log: Display relation type in all rows. Fixes #670 Modified: bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html bloodhound/trunk

svn commit: r1526159 - in /bloodhound/trunk/bloodhound_relations/bhrelations: api.py tests/api.py

2013-09-25 Thread astaric
Author: astaric Date: Wed Sep 25 11:29:51 2013 New Revision: 1526159 URL: http://svn.apache.org/r1526159 Log: Support #product-ticket_id syntax when adding relations. Only non standard ways of specifying ticekts from different prouct were supported before. (product_prefix:ticket:ticket_id

svn commit: r1525106 - /bloodhound/trunk/bloodhound_search/bhsearch/web_ui.py

2013-09-20 Thread astaric
Author: astaric Date: Fri Sep 20 19:05:34 2013 New Revision: 1525106 URL: http://svn.apache.org/r1525106 Log: Use resolve_href to generate links in search results. resolve_href returns abs_href when environments are on different subdomains. Refs #663 Modified: bloodhound/trunk

svn commit: r1517459 - /bloodhound/trunk/bloodhound_relations/bhrelations/tests/notification.py

2013-08-26 Thread astaric
Author: astaric Date: Mon Aug 26 08:33:55 2013 New Revision: 1517459 URL: http://svn.apache.org/r1517459 Log: Fixed notification tests. Notifications are no longer created in api, so they have to be constructed manually in tests. Refs: #644 Modified: bloodhound/trunk/bloodhound_relations

svn commit: r1516129 - /bloodhound/branches/bep_0010_ticket_numbering/bloodhound_theme/bhtheme/theme.py

2013-08-21 Thread astaric
Author: astaric Date: Wed Aug 21 10:13:00 2013 New Revision: 1516129 URL: http://svn.apache.org/r1516129 Log: QCT: Create product tickets in product env. If ticket is created in global environment, but with product field specified, returned ticket id is invalid. When product specific ticket id

svn commit: r1505980 - /bloodhound/trunk/bloodhound_theme/bhtheme/theme.py

2013-07-23 Thread astaric
Author: astaric Date: Tue Jul 23 11:25:13 2013 New Revision: 1505980 URL: http://svn.apache.org/r1505980 Log: Reverted r1505666. It causes additional problems when default_product is set in config. Original issue will need to be solved by patching sql translator. Refs #601 Modified

svn commit: r1505992 - /bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html

2013-07-23 Thread astaric
Author: astaric Date: Tue Jul 23 11:50:20 2013 New Revision: 1505992 URL: http://svn.apache.org/r1505992 Log: Value of default combo in product admin should be product.prefix, not product.name. Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html Modified

svn commit: r1506014 - /bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html

2013-07-23 Thread astaric
Author: astaric Date: Tue Jul 23 12:37:26 2013 New Revision: 1506014 URL: http://svn.apache.org/r1506014 Log: Check product.prefix when marking the currently selected default product in product admin. Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html

svn commit: r1506038 - /bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html

2013-07-23 Thread astaric
Author: astaric Date: Tue Jul 23 13:29:18 2013 New Revision: 1506038 URL: http://svn.apache.org/r1506038 Log: Add current product as a ticket field to newticket form. Refs: #608 Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html Modified: bloodhound/trunk

svn commit: r1506070 - in /bloodhound/trunk/bloodhound_multiproduct: multiproduct/dbcursor.py tests/db/cursor.py

2013-07-23 Thread astaric
Author: astaric Date: Tue Jul 23 14:37:58 2013 New Revision: 1506070 URL: http://svn.apache.org/r1506070 Log: Do not add product column when translating INSERT statements, if one already exists. Refs: #601 Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/dbcursor.py

svn commit: r1503598 - /bloodhound/trunk/bloodhound_multiproduct/tests/upgrade.py

2013-07-16 Thread astaric
Author: astaric Date: Tue Jul 16 07:58:33 2013 New Revision: 1503598 URL: http://svn.apache.org/r1503598 Log: Fixed a failing multiproduct upgrade test. Upgrade to multiproduct grants PRODUCT_VIEW permissions to anonymous and authenticated users, which broke asserts. Now the test only checks

svn commit: r1503620 - /bloodhound/trunk/trac/trac/wiki/tests/wiki-tests.txt

2013-07-16 Thread astaric
Author: astaric Date: Tue Jul 16 09:00:10 2013 New Revision: 1503620 URL: http://svn.apache.org/r1503620 Log: Split a failing unit test, skipping the failing part. Syntax of links with custom protocol containing - (rfc-2396://...) collides with Jira ticket syntax, thus causing the test to fail

svn commit: r1502480 - in /bloodhound/trunk/bloodhound_relations/bhrelations: api.py tests/web_ui.py web_ui.py

2013-07-12 Thread astaric
Author: astaric Date: Fri Jul 12 08:51:54 2013 New Revision: 1502480 URL: http://svn.apache.org/r1502480 Log: Handling of cases when resource id cannot be constructed from resource_instance. Refs: #588 Modified: bloodhound/trunk/bloodhound_relations/bhrelations/api.py bloodhound/trunk

svn commit: r1501127 - /bloodhound/trunk/bloodhound_multiproduct/tests/env.py

2013-07-09 Thread astaric
Author: astaric Date: Tue Jul 9 08:27:23 2013 New Revision: 1501127 URL: http://svn.apache.org/r1501127 Log: Removed a reference to self that was missed in r1499182. Modified: bloodhound/trunk/bloodhound_multiproduct/tests/env.py Modified: bloodhound/trunk/bloodhound_multiproduct/tests

svn commit: r1501152 - in /bloodhound/trunk: bloodhound_relations/bhrelations/ bloodhound_relations/bhrelations/tests/ bloodhound_relations/bhrelations/widgets/ bloodhound_theme/bhtheme/htdocs/ bloodh

2013-07-09 Thread astaric
Author: astaric Date: Tue Jul 9 09:19:00 2013 New Revision: 1501152 URL: http://svn.apache.org/r1501152 Log: Integration of duplicate relations to close as duplicate workflow. Refs: #588 Added: bloodhound/trunk/bloodhound_relations/bhrelations/tests/base.py bloodhound/trunk

svn commit: r1487776 - in /bloodhound/trunk/bloodhound_relations/bhrelations: api.py templates/manage.html tests/__init__.py tests/api.py tests/web_ui.py web_ui.py

2013-05-30 Thread astaric
Author: astaric Date: Thu May 30 07:52:22 2013 New Revision: 1487776 URL: http://svn.apache.org/r1487776 Log: Refs #537: Better handling of errors in bhrelations web ui. Added: bloodhound/trunk/bloodhound_relations/bhrelations/tests/web_ui.py Modified: bloodhound/trunk

svn commit: r1487398 - in /bloodhound/trunk: bloodhound_relations/setup.py bloodhound_search/bhsearch/whoosh_backend.py

2013-05-29 Thread astaric
Author: astaric Date: Wed May 29 08:26:47 2013 New Revision: 1487398 URL: http://svn.apache.org/r1487398 Log: Added relations to search index. Towards #543. Modified: bloodhound/trunk/bloodhound_relations/setup.py bloodhound/trunk/bloodhound_search/bhsearch/whoosh_backend.py Modified

svn commit: r1486635 - in /bloodhound/trunk/bloodhound_multiproduct/tests: env.py wiki/formatter.py

2013-05-27 Thread astaric
Author: astaric Date: Mon May 27 14:34:12 2013 New Revision: 1486635 URL: http://svn.apache.org/r1486635 Log: Moved env creation in ProductWikiTestCase from __init__ to setUp. Config in product environments is stored in database and should be part of the setUp method. This replaces the quickfix

svn commit: r1486642 - in /bloodhound/trunk/bloodhound_multiproduct/tests: env.py wiki/formatter.py

2013-05-27 Thread astaric
Author: astaric Date: Mon May 27 15:38:00 2013 New Revision: 1486642 URL: http://svn.apache.org/r1486642 Log: Database should always contain default product after _upgrade_mp is run. Inconsistent behavior caused some tests to pass if run standalone, but fail as a part of the suite. Modified

svn commit: r1486658 - /bloodhound/trunk/bloodhound_multiproduct/tests/env.py

2013-05-27 Thread astaric
Author: astaric Date: Mon May 27 16:33:02 2013 New Revision: 1486658 URL: http://svn.apache.org/r1486658 Log: Unregister class with invalid __module__ after test is done. Components are saved to ComponentMeta._components class variable (shared between all tests run in the same process). When

svn commit: r1486035 - /bloodhound/trunk/bloodhound_multiproduct/tests/config.py

2013-05-24 Thread astaric
Author: astaric Date: Fri May 24 12:27:06 2013 New Revision: 1486035 URL: http://svn.apache.org/r1486035 Log: Expand symlinks in path. Fixes two failing tests when there are symlinks in the path to the tempdir. Modified: bloodhound/trunk/bloodhound_multiproduct/tests/config.py Modified

svn commit: r1484438 - in /bloodhound/trunk: bloodhound_relations/bhrelations/tests/api.py bloodhound_relations/bhrelations/validation.py installer/bloodhound_setup.py

2013-05-20 Thread astaric
Author: astaric Date: Mon May 20 11:47:24 2013 New Revision: 1484438 URL: http://svn.apache.org/r1484438 Log: Cycle detection for blocker relations. Closes #528. Modified: bloodhound/trunk/bloodhound_relations/bhrelations/tests/api.py bloodhound/trunk/bloodhound_relations/bhrelations

svn commit: r1480186 - in /bloodhound/trunk/bloodhound_multiproduct: multiproduct/dbcursor.py tests/db/cursor.py

2013-05-08 Thread astaric
Author: astaric Date: Wed May 8 08:53:50 2013 New Revision: 1480186 URL: http://svn.apache.org/r1480186 Log: Also translate CREATE TEMPORARY TABLE statements. Fixes an error encountered when upgrading spamfilter plugin to multiproduct. Modified: bloodhound/trunk/bloodhound_multiproduct

svn commit: r1480224 - in /bloodhound/trunk/bloodhound_multiproduct: multiproduct/dbcursor.py tests/db/cursor.py tests/upgrade.py

2013-05-08 Thread astaric
Author: astaric Date: Wed May 8 11:14:34 2013 New Revision: 1480224 URL: http://svn.apache.org/r1480224 Log: Translate SELECT part of CREATE TABLE ... AS SELECT ... queries. Fixes an issue where some product plugin tables were prepopulated with rows from global product. Modified

svn commit: r1479822 - in /bloodhound/trunk: bloodhound_dashboard/ bloodhound_dashboard/bhdashboard/widgets/ bloodhound_relations/ bloodhound_relations/bhrelations/widgets/

2013-05-07 Thread astaric
Author: astaric Date: Tue May 7 09:05:30 2013 New Revision: 1479822 URL: http://svn.apache.org/r1479822 Log: Moved relations widget to bhrelations module. -- towards BEP-0006 Added: bloodhound/trunk/bloodhound_relations/bhrelations/widgets/ bloodhound/trunk/bloodhound_relations

svn commit: r1476922 - in /bloodhound/trunk/bloodhound_multiproduct/tests: core.py perm.py upgrade.py upgrade_postgres.py

2013-04-29 Thread astaric
Author: astaric Date: Mon Apr 29 08:48:39 2013 New Revision: 1476922 URL: http://svn.apache.org/r1476922 Log: Python2.6 compatibility. Modified: bloodhound/trunk/bloodhound_multiproduct/tests/core.py bloodhound/trunk/bloodhound_multiproduct/tests/perm.py bloodhound/trunk

svn commit: r1476926 - in /bloodhound/trunk/bloodhound_search/bhsearch/tests: __init__.py base.py search_resources/base.py web_ui.py whoosh_backend.py

2013-04-29 Thread astaric
Author: astaric Date: Mon Apr 29 08:57:19 2013 New Revision: 1476926 URL: http://svn.apache.org/r1476926 Log: Python2.6 compatibility for bhsearch tests. Modified: bloodhound/trunk/bloodhound_search/bhsearch/tests/__init__.py bloodhound/trunk/bloodhound_search/bhsearch/tests/base.py

svn commit: r1476944 - in /bloodhound/trunk/bloodhound_multiproduct: multiproduct/api.py tests/upgrade.py

2013-04-29 Thread astaric
Author: astaric Date: Mon Apr 29 09:45:38 2013 New Revision: 1476944 URL: http://svn.apache.org/r1476944 Log: Upgrade to multiproduct moves all wikis to the default product. Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/api.py bloodhound/trunk/bloodhound_multiproduct

svn commit: r1476118 - in /bloodhound/trunk/bloodhound_multiproduct: multiproduct/api.py tests/upgrade.py

2013-04-26 Thread astaric
Author: astaric Date: Fri Apr 26 09:10:14 2013 New Revision: 1476118 URL: http://svn.apache.org/r1476118 Log: Added more tests for multiproduct upgrade, refactoring. Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/api.py bloodhound/trunk/bloodhound_multiproduct/tests

svn commit: r1476152 - in /bloodhound/trunk/bloodhound_multiproduct/tests: upgrade.py upgrade_postgres.py

2013-04-26 Thread astaric
Author: astaric Date: Fri Apr 26 11:56:33 2013 New Revision: 1476152 URL: http://svn.apache.org/r1476152 Log: Added upgrade tests for postgres backend. Added: bloodhound/trunk/bloodhound_multiproduct/tests/upgrade_postgres.py Modified: bloodhound/trunk/bloodhound_multiproduct/tests

svn commit: r1475690 - in /bloodhound/trunk/bloodhound_multiproduct: multiproduct/api.py tests/upgrade.py

2013-04-25 Thread astaric
Author: astaric Date: Thu Apr 25 10:21:14 2013 New Revision: 1475690 URL: http://svn.apache.org/r1475690 Log: Move/copy attachment files when migrating attachments during the upgrade. Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/api.py bloodhound/trunk

svn commit: r1470836 - /bloodhound/trunk/bloodhound_multiproduct/tests/__init__.py

2013-04-23 Thread astaric
Author: astaric Date: Tue Apr 23 07:26:10 2013 New Revision: 1470836 URL: http://svn.apache.org/r1470836 Log: Fixed test discovery for cases when subfolder is prefixed with '.'. Modified: bloodhound/trunk/bloodhound_multiproduct/tests/__init__.py Modified: bloodhound/trunk

svn commit: r1470886 - in /bloodhound/trunk/bloodhound_multiproduct: multiproduct/dbcursor.py tests/db/cursor.py

2013-04-23 Thread astaric
Author: astaric Date: Tue Apr 23 10:48:22 2013 New Revision: 1470886 URL: http://svn.apache.org/r1470886 Log: Wrap table names in . Tables prefixes for default product cannot be used unquoted. Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct/dbcursor.py bloodhound/trunk

svn commit: r1470952 - in /bloodhound/trunk/bloodhound_multiproduct: multiproduct/env.py tests/upgrade.py

2013-04-23 Thread astaric
Author: astaric Date: Tue Apr 23 13:44:14 2013 New Revision: 1470952 URL: http://svn.apache.org/r1470952 Log: Refactored environment upgrade and added tests. Added: bloodhound/trunk/bloodhound_multiproduct/tests/upgrade.py Modified: bloodhound/trunk/bloodhound_multiproduct/multiproduct

svn commit: r1470615 - /bloodhound/trunk/bloodhound_search/bhsearch/web_ui.py

2013-04-22 Thread astaric
Author: astaric Date: Mon Apr 22 16:44:22 2013 New Revision: 1470615 URL: http://svn.apache.org/r1470615 Log: Fixed QuickLink search in default product. Part of #450. Modified: bloodhound/trunk/bloodhound_search/bhsearch/web_ui.py Modified: bloodhound/trunk/bloodhound_search/bhsearch