Re: [Apache Bloodhound] #637: Ticket product menu should display Product name rather than Product prefix

2013-08-22 Thread Apache Bloodhound
#637: Ticket product menu should display Product name rather than Product prefix
---+---
  Reporter:  rjollos   |  Owner:  matevzb
  Type:  enhancement   | Status:  accepted
  Priority:  major |  Milestone:  Release 8
 Component:  multiproduct  |Version:  0.6.0
Resolution:|   Keywords:
---+---
Changes (by matevzb):

 * status:  new = accepted
 * owner:  nobody = matevzb


-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/637#comment:2
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


svn commit: r1516421 - in /bloodhound/trunk/bloodhound_theme/bhtheme: templates/bloodhound_theme.html theme.py

2013-08-22 Thread matevz
Author: matevz
Date: Thu Aug 22 11:39:11 2013
New Revision: 1516421

URL: http://svn.apache.org/r1516421
Log:
#637 - Ticket product menu should display Product name rather than Product 
prefix

Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
bloodhound/trunk/bloodhound_theme/bhtheme/theme.py

Modified: 
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html?rev=1516421r1=1516420r2=1516421view=diff
==
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html 
(original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html 
Thu Aug 22 11:39:11 2013
@@ -118,10 +118,11 @@
 select id=field-${field.name} name=field_${field.name}
 class=input-block-level data-empty=true 
data-field=${field.name}
   option py:if=field.optional/option
-  option py:for=option in field.options
+  option py:for=idx,option in enumerate(field.options)
+  py:with=description = field.options_desc[idx] if 
field.options_desc else option
   selected=${field.value == option or None}
   value = $option
-  py:content=option/option
+  py:content=description/option
   optgroup py:for=optgroup in field.optgroups
 py:if=optgroup.options
 label=${optgroup.label}

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1516421r1=1516420r2=1516421view=diff
==
--- bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Thu Aug 22 11:39:11 2013
@@ -494,7 +494,10 @@ class QuickCreateTicketDialog(Component)
 product_field['value'] = product_field['options'][0]
 else:
 product_field['value'] = default_prefix
-
+product_field['options_desc'] = [
+ProductEnvironment.lookup_env(self.env, p).product.name
+for p in product_field['options']
+]
 data['qct'] = {
 'fields': [all_fields[k] for k in self.qct_fields
if k in all_fields],




Re: [Apache Bloodhound] #637: Ticket product menu should display Product name rather than Product prefix

2013-08-22 Thread Apache Bloodhound
#637: Ticket product menu should display Product name rather than Product prefix
---+---
  Reporter:  rjollos   |  Owner:  matevzb
  Type:  enhancement   | Status:  closed
  Priority:  major |  Milestone:  Release 8
 Component:  multiproduct  |Version:  0.6.0
Resolution:  fixed |   Keywords:
---+---
Changes (by matevzb):

 * status:  accepted = closed
 * resolution:   = fixed


Comment:

 Fixed in r1516421.

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/637#comment:3
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #599: Overlap of milestone admin breadcrumbs on date time picker

2013-08-22 Thread Apache Bloodhound
#599: Overlap of milestone admin breadcrumbs on date time picker
+--
  Reporter:  olemis |  Owner:  matevzb
  Type:  defect | Status:  accepted
  Priority:  major  |  Milestone:  Release 9
 Component:  ui design  |Version:  0.6.0
Resolution: |   Keywords:  milestone, admin
+--
Changes (by matevzb):

 * status:  new = accepted
 * owner:  nobody = matevzb


-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/599#comment:6
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #599: Overlap of milestone admin breadcrumbs on date time picker

2013-08-22 Thread Apache Bloodhound
#599: Overlap of milestone admin breadcrumbs on date time picker
+--
  Reporter:  olemis |  Owner:  matevzb
  Type:  defect | Status:  closed
  Priority:  major  |  Milestone:  Release 9
 Component:  ui design  |Version:  0.6.0
Resolution:  fixed  |   Keywords:  milestone, admin
+--
Changes (by matevzb):

 * status:  accepted = closed
 * resolution:   = fixed


Comment:

 Fixed in r1516424, forced jQuery datepicker's z-index to be larger than
 Bootstrap's dropdown.

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/599#comment:7
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #444: Show number of attachments next to attachment heading

2013-08-22 Thread Apache Bloodhound
#444: Show number of attachments next to attachment heading
--+
  Reporter:  rjollos  |  Owner:  matevzb
  Type:  enhancement  | Status:  accepted
  Priority:  minor|  Milestone:  Release 8
 Component:  ui design|Version:
Resolution:   |   Keywords:  trac-1.0.0
--+
Changes (by matevzb):

 * owner:  rjollos = matevzb
 * status:  new = accepted


-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/444#comment:4
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


svn commit: r1516428 - /bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_list_of_attachments.html

2013-08-22 Thread matevz
Author: matevz
Date: Thu Aug 22 12:17:32 2013
New Revision: 1516428

URL: http://svn.apache.org/r1516428
Log:
#444 - Show number of attachments next to attachment heading

Modified:

bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_list_of_attachments.html

Modified: 
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_list_of_attachments.html
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_list_of_attachments.html?rev=1516428r1=1516427r2=1516428view=diff
==
--- 
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_list_of_attachments.html 
(original)
+++ 
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_list_of_attachments.html 
Thu Aug 22 12:17:32 2013
@@ -45,7 +45,7 @@ Arguments:
   py:if test=alist.attachments or alist.can_create
 div id=attachments py:choose=
   py:when test=compact and alist.attachments
-h3 class=${'foldable' if foldable else None}Attachments/h3
+h3 class=${'foldable' if foldable else None}Attachments 
(${len(alist.attachments)})/h3
 div
   ul
 py:for each=attachment in alist.attachments
@@ -62,7 +62,7 @@ Arguments:
 /div
   /py:when
   py:when test=not compact
-h3 id=comment:attachmentsAttachments/h3
+h3 id=comment:attachmentsAttachments (${len(alist.attachments) if 
alist.attachments else 0})/h3
 div py:if=alist.attachments or alist.can_create class=attachments
   dl py:if=alist.attachments class=attachments
 py:for each=attachment in alist.attachments




Re: [Apache Bloodhound] #444: Show number of attachments next to attachment heading

2013-08-22 Thread Apache Bloodhound
#444: Show number of attachments next to attachment heading
--+
  Reporter:  rjollos  |  Owner:  matevzb
  Type:  enhancement  | Status:  closed
  Priority:  minor|  Milestone:  Release 8
 Component:  ui design|Version:
Resolution:  fixed|   Keywords:  trac-1.0.0
--+
Changes (by matevzb):

 * status:  accepted = closed
 * resolution:   = fixed


Comment:

 Fixed in r1516428, for both Wiki and Ticket pages (they share the same
 template for displaying attachments).

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/444#comment:5
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


[Apache Bloodhound] New user registration: rimas

2013-08-22 Thread Apache Bloodhound
New user registration for user rimas

--
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker



[Apache Bloodhound] #642: Internal server error creating ticket

2013-08-22 Thread Apache Bloodhound
#642: Internal server error creating ticket
---+
 Reporter:  rimas  |  Owner:  nobody
 Type:  defect | Status:  new
 Priority:  major  |  Milestone:
Component:  trac core  |Version:  0.6.0
 Keywords: |
---+
 Using version 0.6.0, I clicked on the blue Create Ticket button, filled in
 a summary and description, selected a product, clicked on the blue Create
 button, but then I got the following error: Could not create ticket.
 Error: Internal Server Error.  Here is what I see in
 C:\apache\bloodhound\installer\bloodhound\environments\main\log
 \bloodhound-error.log:

 2013-08-22 08:08:29,111 Trac[theme] ERROR: BH: Quick create ticket failed
 column product specified more than once
 LINE 1: ...atus,priority,product,resolution,time,changetime, product) V...
  ^
 Traceback (most recent call last):
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\bhtheme\theme.py, line 519, in process_request
 product, tid = self.create(req, summary, desc, attrs, True)
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\bhtheme\theme.py, line 552, in create
 t.insert()
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\trac\ticket\model.py, line 241, in insert
 [values[name] for name in std_fields])
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\multiproduct\dbcursor.py, line 143, in execute
 return self.cursor.execute(sql, args=args)
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\multiproduct\dbcursor.py, line 83, in execute
 return super(BloodhoundIterableCursor,
 self).execute(translate_sql(self.env, sql), args=args)
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\trac\db\util.py, line 65, in execute
 return self.cursor.execute(sql_escape_percent(sql), args)
 ProgrammingError: column product specified more than once
 LINE 1: ...atus,priority,product,resolution,time,changetime, product) V...
  ^

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/642
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #642: Internal server error creating ticket

2013-08-22 Thread Apache Bloodhound
#642: Internal server error creating ticket
+---
  Reporter:  rimas  |  Owner:  rimas
  Type:  defect | Status:  needinfo(new)
  Priority:  major  |  Milestone:
 Component:  trac core  |Version:  0.6.0
Resolution: |   Keywords:
+---
Changes (by matevzb):

 * owner:  nobody = rimas
 * status:  new = needinfo(new)


Comment:

 This looks like a duplicate of #601 (and #635), please check whether using
 the latest trunk build   (or the patch for #601 - r1506070) fixes the
 issue.

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/642#comment:1
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #599: Overlap of milestone admin breadcrumbs on date time picker

2013-08-22 Thread Apache Bloodhound
#599: Overlap of milestone admin breadcrumbs on date time picker
+--
  Reporter:  olemis |  Owner:  matevzb
  Type:  defect | Status:  closed
  Priority:  major  |  Milestone:  Release 8
 Component:  ui design  |Version:  0.6.0
Resolution:  fixed  |   Keywords:  milestone, admin
+--
Changes (by rjollos):

 * milestone:  Release 9 = Release 8


-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/599#comment:8
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #642: Internal server error creating ticket

2013-08-22 Thread Apache Bloodhound
#642: Internal server error creating ticket
+---
  Reporter:  rimas  |  Owner:  rimas
  Type:  defect | Status:  needinfo(new)
  Priority:  major  |  Milestone:
 Component:  trac core  |Version:  0.6.0
Resolution: |   Keywords:  db
+---
Changes (by olemis):

 * keywords:   = db


Old description:

 Using version 0.6.0, I clicked on the blue Create Ticket button, filled
 in a summary and description, selected a product, clicked on the blue
 Create button, but then I got the following error: Could not create
 ticket. Error: Internal Server Error.  Here is what I see in
 C:\apache\bloodhound\installer\bloodhound\environments\main\log
 \bloodhound-error.log:

 2013-08-22 08:08:29,111 Trac[theme] ERROR: BH: Quick create ticket failed
 column product specified more than once
 LINE 1: ...atus,priority,product,resolution,time,changetime, product)
 V...
  ^
 Traceback (most recent call last):
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\bhtheme\theme.py, line 519, in process_request
 product, tid = self.create(req, summary, desc, attrs, True)
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\bhtheme\theme.py, line 552, in create
 t.insert()
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\trac\ticket\model.py, line 241, in insert
 [values[name] for name in std_fields])
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\multiproduct\dbcursor.py, line 143, in execute
 return self.cursor.execute(sql, args=args)
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\multiproduct\dbcursor.py, line 83, in execute
 return super(BloodhoundIterableCursor,
 self).execute(translate_sql(self.env, sql), args=args)
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\trac\db\util.py, line 65, in execute
 return self.cursor.execute(sql_escape_percent(sql), args)
 ProgrammingError: column product specified more than once
 LINE 1: ...atus,priority,product,resolution,time,changetime, product)
 V...
  ^

New description:

 Using version 0.6.0, I clicked on the blue Create Ticket button, filled in
 a summary and description, selected a product, clicked on the blue Create
 button, but then I got the following error: Could not create ticket.
 Error: Internal Server Error.  Here is what I see in
 C:\apache\bloodhound\installer\bloodhound\environments\main\log
 \bloodhound-error.log:

 {{{
 2013-08-22 08:08:29,111 Trac[theme] ERROR: BH: Quick create ticket failed
 column product specified more than once
 LINE 1: ...atus,priority,product,resolution,time,changetime, product) V...
  ^
 Traceback (most recent call last):
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\bhtheme\theme.py, line 519, in process_request
 product, tid = self.create(req, summary, desc, attrs, True)
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\bhtheme\theme.py, line 552, in create
 t.insert()
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\trac\ticket\model.py, line 241, in insert
 [values[name] for name in std_fields])
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\multiproduct\dbcursor.py, line 143, in execute
 return self.cursor.execute(sql, args=args)
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\multiproduct\dbcursor.py, line 83, in execute
 return super(BloodhoundIterableCursor,
 self).execute(translate_sql(self.env, sql), args=args)
   File C:\apache\bloodhound\installer\bloodhound\lib\site-
 packages\trac\db\util.py, line 65, in execute
 return self.cursor.execute(sql_escape_percent(sql), args)
 ProgrammingError: column product specified more than once
 LINE 1: ...atus,priority,product,resolution,time,changetime, product) V...
  ^
 }}}

--

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/642#comment:2
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


svn commit: r2773 - in /release/bloodhound: apache-bloodhound-0.7.tar.gz apache-bloodhound-0.7.tar.gz.asc apache-bloodhound-0.7.tar.gz.md5

2013-08-22 Thread rjollos
Author: rjollos
Date: Thu Aug 22 19:50:04 2013
New Revision: 2773

Log:
Releasing Bloodhound 0.7

Added:
release/bloodhound/apache-bloodhound-0.7.tar.gz   (with props)
release/bloodhound/apache-bloodhound-0.7.tar.gz.asc
release/bloodhound/apache-bloodhound-0.7.tar.gz.md5

Added: release/bloodhound/apache-bloodhound-0.7.tar.gz
==
Binary file - no diff available.

Propchange: release/bloodhound/apache-bloodhound-0.7.tar.gz
--
svn:mime-type = application/octet-stream

Added: release/bloodhound/apache-bloodhound-0.7.tar.gz.asc
==
--- release/bloodhound/apache-bloodhound-0.7.tar.gz.asc (added)
+++ release/bloodhound/apache-bloodhound-0.7.tar.gz.asc Thu Aug 22 19:50:04 2013
@@ -0,0 +1,17 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v1.4.12 (GNU/Linux)
+
+iQIcBAABCgAGBQJSEdhDAAoJEE6KraDwKb5+E8UP/iGQ7b27skCUg1Q+d/UfOpfP
+UsQRNFxUZmO2Q5vnzbB3ogMMjOcYudpdm3+Wrzp5nxF2nUVKM82ObaeJ1/bfbwqN
+r+zsjzo9DDmbf/Sv+woz4eaksDiVDPvK4vBaVqD1MIaPmhHqEObeW/f2bYJPtICE
+wOOIAEFo8GN7TUV0F24MMALDIasDb2125BWfxbLII3chGGk4yiGWhFJII5e/gPFH
+mGnMQZvHWMtJ6BGDY9nRJWczdZMUcCZiJTgx30P2d2Zbv/i/n2LChs+TiLjEIbTC
+wuM6EgOlMPVshLui5P/DDVlw+Sk1Fhm7CCX/BwzYWjTQWQ9yH5uYTSXgJ5fmxmCU
+CgvIujwtM6K0mUNOL441r7xqtVCYJWLiYHRAQZrAU8mBiwUUJZJSTUF92jPjl3CK
+e6NKt5ouNRlMzcqB6VU4zvrI6/F31P7wnprs5AyAeUWpLhvCDAsfn23YDcWenrhf
+1JIL59zksUiFeKc+659kPRGhSpGl57HL9BHi2DYZI+72FZcMyYv7HZAqSvAWtO37
+vRA3ajIViEPjy0m+I1lb+q4lRhpNYoT4pdSXXz0s7c7Kmm4diYLdd6+k9Llzou6s
+5taXkPSvukfTbGge8YHkLyo2Oo7jK/cnD/UNbBwfMs1DuZxbNE3VQm9zgnituLBE
+uWEkZ6ie4Gu45GkiwHER
+=4CRK
+-END PGP SIGNATURE-

Added: release/bloodhound/apache-bloodhound-0.7.tar.gz.md5
==
--- release/bloodhound/apache-bloodhound-0.7.tar.gz.md5 (added)
+++ release/bloodhound/apache-bloodhound-0.7.tar.gz.md5 Thu Aug 22 19:50:04 2013
@@ -0,0 +1 @@
+apache-bloodhound-0.7.tar.gz: D2 3E B4 30 78 6D 19 CA  32 8D 82 F2 C4 C0 3E 9B




[Apache Bloodhound] #643: Inaccurate timestamps

2013-08-22 Thread Apache Bloodhound
#643: Inaccurate timestamps
-+-
  Reporter:  olemis  |Owner:
  Type:  defect  |   Status:  new
  Priority:  major   |  Version:  0.6.0
Resolution:  |
-+-
 I've noticed that creation timestamp displayed for tickets is inaccurate .
 In the following screenshot (recorded few minutes ago) ''Reported'' = ''6
 seconds ago'' whereas the first comment reveals that ticket has been
 created at least ''3 weeks ago'' .

 [[Image(bh_theme_x_132_bad_ticket_time.png)]]

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/643
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #643: Inaccurate timestamps

2013-08-22 Thread Apache Bloodhound
#643: Inaccurate timestamps
+
  Reporter:  olemis |  Owner:  nobody
  Type:  defect | Status:  new
  Priority:  minor  |  Milestone:
 Component:  ui design  |Version:  0.6.0
Resolution: |   Keywords:  ticket
+
Changes (by olemis):

 * keywords:   = ticket
 * priority:  major = minor
 * component:   = ui design
 * owner:   = nobody


-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/643#comment:1
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker