{5} Assigned, Active Tickets by Owner (Full Description) (22 matches)

List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.

alberto

Ticket Summary Component Milestone Type Severity Created
Description
#858 so_to_dict function to support joins TurboGears __unclassified__ enhancement normal 05/10/06

TextField? automatically fills itself when form is to be displayed. The data to fill the form is given by dictionary created from SQLObject class using function so_to_dict(). When we need to automatically select items within MultipleSelectField? according data from join, we need to patch function so_to_dict() to return dictionary containing also joins (not columns only).

Example:

MODEL:
class Genre(SQLObject):
    titles = RelatedJoin('Title')
class Title(SQLObject):
    genres = RelatedJoin('Genre')

FORM:
def get_all_genres():
        return [(int(a.id), "%s" % a.name) for a in Genre.select()]

class TitleFields(WidgetsList):
    genres = MultipleSelectField(name='genres', 
                options=get_all_genres, validator=Int())
class TitleForm(TableForm):
    fields = TitleFields()

TEMPLATE:
${form.display(obj, action=action)}

HANDLER:
class TitleCont(BaseDataController):
    form_widget = TitleForm()
    @expose(template="plend.templates.form")
    def edit(self, obj):
        value = so_to_dict(obj)
        return dict(form=self.form_widget, obj=value, action="save")

andrew.basson

Ticket Summary Component Milestone Type Severity Created
Description
#1677 Link up error document handling documentation TurboGears 2.0 defect normal 01/11/08

We should create a error document handling page which links here:

http://wiki.pylonshq.com/display/pylonsdocs/Error+Documents

and provides a super-quick summary.


Chris Arndt

Ticket Summary Component Milestone Type Severity Created
Description
#1646 Documentation Strategy Documentation 1.5 defect critical 01/03/08

Hello, Right now Turbogears biggest problem is no Documentation. We need a strategy from turbogears project to lead a way to better documentation.

What documentation? 1. First step is to setup epydoc and provide documentation that is available in python code. http://epydoc.sourceforge.net/using.html, you have an doc.ini file already http://groups.google.com/group/turbogears-trunk/browse_thread/thread/c6e4776957b75abc put the results in epydoc.turbogears.com 2. Provide one source or one template that has all the documentation pages. Perfect setup is: http://www.sqlalchemy.org/docs/04/index.html template that builds one page documentation. If this is too hard then merge all wiki pages into one rough1.0doc and let people start working on removing duplicate stuff. 3. Provide some limits/proper use on creating wiki pages. Example: Search on widget results in 16 results out of about 1264 pages. (0.79 seconds)

  1. 1.0/CompoundWidgets
  2. 1.0/DataGridWidget
  3. 1.0/IntroductionToWidgets
  4. 1.0/RemoteFormWidgetTutorial
  5. 1.0/RoughDocs/DiveIntoWidgets
  6. 1.0/RoughDocs/ModifyWidgetDefault
  7. 1.0/RoughDocs/WidgetTips
  8. 1.0/RoughDocs/WidgetsOverview
  9. 1.0/SimpleWidgetForm
  1. 1.0/StatelessWidgets
  2. 1.0/WidgetBrowser
  3. 1.0/WidgetList
  4. 1.0/WidgetPackages
  5. 1.0/Widgets
  6. 1.0/WidgetsOverview
  7. 1.0/WidgetsWithJSAndCSS

1.0/Widgets should be only one that holds all subsequent pages as part of the doc.

4. wiki software? Is this a moinmoin wiki? It seems to be really hard for me to edit it because of syntax. Can we switch to moinmoin wiki? python/debian websites are using it and the syntax is much easier. It allows docbook rendering as well as other options that can potentially be useful. Much more syntax options http://wiki.debian.org/ Out current wiki has a similar look but the benefit of more user friendly doc software will benefit us more.

5. Could these changes be implemented before next release? 1.0.x And setup some time frame of what is going to be done, or what can be done now vs next week vs month from now.

Thanks, Lucas


#1635 Website/Documentation is missing prominent and up-to-date information on the current status of TG Documentation __unclassified__ task normal 12/18/07

The information about the current status of TurboGears on the official website is outdated and lacking information about latest developments. We hope to have a general overhaul of the web site before PyCon 2008. In the mean time, we should probably move http://docs.turbogears.org/1.0/DevStatus to http://docs.turbogears.org/DevStatus and add some more background information and then link it from the TG homepage.


#1812 Document advanced identity features in docstrings and wiki Documentation 1.1 task normal 04/24/08

Some of the advanced features of the identity framework are currently poorly documented or not at all, e.g.

  • Setting identity.failure_url to a callable
  • Creating custom identity predicates
  • Creating custom identity exceptions
  • Handling identity error messages

We should document these in source code docstring in the turbogears.identity package and the Identity docs in the wiki.

Relevant mailing list thread:

No redirect when not enough credentials (Tiny URL: http://tinyurl.com/5p6zus)


#1049 i18n_filter can't translate text with python expressions TurboGears 1.1 defect major 08/03/06

Text with Python expressions inside kid template can't get translated by plain_gettext().

Kid example:

  Actual Status: ${actualStatus[0]}.

This string will generate "Actual Status: ${actualStatus![0]}." key in the .pot file, but, after translating and compiling it, it is still untranslated when showing through browser.

Tracking this bug I realize that i18n_filter function calls plain_gettext() using as key the already processed python expression. So the line above will call plain_gettext using "Actual Status: some_value" instead of "Actual Status: ${actualStatus![0]}". I think here is the problem but I can't figure out how to solve yet.


#1442 Wiki banner hides text when viewed with IE7 Web site __unclassified__ defect major 07/14/07

When displaying the wiki with IE7 the TurboGears banner at the top hides the first lines of text. This is not the case when using IE6 or FireFox?.


#906 Migrate TurboTunes tutorial Documentation __unclassified__ defect normal 05/24/06

The controllers file on: http://www.turbogears.org/preview/docs/TurboTunes/ says:

from turbogears.catwalk import CatWalk

it should have said:

from turbogears.TOOLBOX.catwalk import CatWalk

I'm using 0.9a6


(Also, if you follow the directions the line:

@turbogears.expose(html="TurboTunes.templates.tunes")

won't work unless you named your project "TurboTunes?" and did not go with the default selection of package name "turbotunes" but used upper case letters.)

Exept for this small problem; great job!


#1626 Remove feed package from core TG distribution TurboFeeds 1.1 task normal 12/08/07

Pursuing the goal to cut down the size and complexity of the TG core, I propose to remove the feed package from the main TG distribution in 1.1.

I have created a new extension package TurboFeeds from the feed package, which can act as a drop-in replacement.


#1785 [PATCH] Script for creating virtualenv bootstrap script to replace tgsetup.py Installation 1.5 enhancement normal 04/10/08

We all know that tgsetup.py sucks (#1317, #1740, #1741).

We all love virtualenv.

So here's a script that creates a virtualenv bootstrap script to install TurboGears in a new or existing virtual environment. Here is the help message from the created bootstrap script (tgsetupng.py == tgsetup Next Generation ;-)):

Usage: Usage: tgsetupng.py [OPTIONS] DEST_DIR [VERSION]

Installs the TurboGears framework in a virtual environment in DESTDIR.

Specify a particular version to install with VERSION.

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -v, --verbose         Increase verbosity
  -q, --quiet           Decrease verbosity
  --clear               Clear out the non-root install and start from scratch
  --with-site-packages  Give access to the global site-packages dir to the
                        virtual environment
  --package-index=URL   Find & download packages from package index at URL

Successfully tested on Ubuntu 7.10, Windows 2000 and Mac OS X 10.4.


#2013 [PATCH] Add an (example) database bootstrap command to commands.py in quickstart template Quickstart Templates 1.1 enhancement normal 10/16/08

I have written an example command.py that provides a "bootstrap" function for a console script "bootstrap-<yourpkg>", which creates all tables and optionally creates a user.

http://paste.turbogears.org/paste/10038

The example is SQLAlchemy, but I have also written a patch against current TG 1.1 HEAD that adds support for this in commands.py in the default quickstart template and which also works for SQLObject-based projects.

Would this be something that should be added to the default quickstart template or will this make the code in commands.py too complex?


elvelind

Ticket Summary Component Milestone Type Severity Created
Description
#1072 Add a "tg-admin help" command tg-admin (non-toolbox) 1.5 enhancement minor 08/15/06

For utilities that take a command argument (like tg-admin, cvs, or svn), it's customary to give general help with no arguments ("tg-admin") or a help argument ("tg-admin help"), and to give specific command help for "tg-admin help <command>".

Right now, in order to get help for a specific command, you need to append the "-h" flag to the command: "tg-admin quickstart -h". This isn't discoverable--neither "tg-admin" nor "tg-admin help" tell you this.

Because many developers are familiar with svn or cvs, tg-admin should follow their precedent:

"tg-admin" => list of commands, with both "help" and "help <command>" explained "tg-admin help" => same as above "tg-admin help <command>" => help for a specific command


#1073 No way to discover available quickstart templates tg-admin (non-toolbox) __unclassified__ enhancement normal 08/15/06

Right now there's no way to discover what quickstart templates are available, except by reading the TurboGears source.

tg-admin should have a "templates" command that lists available quickstart templates.


faide

Ticket Summary Component Milestone Type Severity Created
Description
#1461 [PATCH] Genshi and i18n TurboGears 1.1 beta 2 enhancement normal 08/01/07

In order to get rid of explicit gettext _() calls in Genshi templates, one must attach a Translator filter to Genshi (http://genshi.edgewall.org/wiki/Documentation/i18n.html). Attaching the translator (and other) filters is currently not possible in TurboGears. A normal way to add genshi filters is to specify a callback to the TemplateLoader?. The attached patch makes it possible to add a callback in order to add Genshi filters.

Here is example code from controllers.py that shows how to add a gettext translator filter to Genshi once the patch has been applied:

from turbogears.i18n import gettext
from genshi.filters import Translator

def genshi_loader_callback(template):
	template.filters.insert(0, Translator(gettext))

config.update({'genshi.loader_callback' : genshi_loader_callback})

#2039 Need to provide translation context in the genshi extractor TurboGears 1.1 beta 2 task normal 11/17/08

at the moment the context is not provided (see TODO in source)


#2040 Need to refactor pygettext TurboGears 1.1 task normal 11/17/08

- move it and depent files in a submodule of i18n

- fix all dependent sources (relative imports in some of them)

- remove the main() call and optparse sytem since we don't need that stuff...

- add tests for that beast

- see if we can remove the _ installation from the admi18n init.py (sure we can) because I hate globals :)

- fix the mess this will provoke.


Gustavo

Ticket Summary Component Milestone Type Severity Created
Description
#1945 Move TestController to tg.testutil TurboGears 1.9.7b1 enhancement major 08/19/08

The code needed to the controllers in a TG2 project should be moved from the default template to the tg.testutil module, in order to make the default template simpler.


iainduncan

Ticket Summary Component Milestone Type Severity Created
Description
#1992 Style a new start page and CSS before 1.1 stable TurboGears 1.1 beta 2 task normal 09/17/08

The css and design is in place since a long time and some new clean design for the default quickstarted page could attract more users...


kskuhlman

Ticket Summary Component Milestone Type Severity Created
Description
#1951 Backport use_wsgi_app from 2.0 TurboGears 1.5 enhancement normal 08/20/08

Backport use_wsgi_app() from 2.0. use_wsgi_app provides a nice shorthand for dispatching to a wsgi app in code, rather than configuration. Good ideas are meant to be stolen.


#1955 Ensure 1.1 changes get applied to 1.5 TurboGears 1.5 task normal 08/20/08

This is a placeholder ticket to track changesets that have been applied to the 1.1 branch, but have not yet been applied/ported to 1.5


mramm

Ticket Summary Component Milestone Type Severity Created
Description
#1982 PylonsConfigWrapper doesn't implement many dict member functions, causing problems for websetup.py/identity.py and resulting in plain-text passwords stored in database TurboGears 1.9.7a5 defect major 09/04/08

When paster quickstart is used and the user chooses to have user accounts, a websetup.py file is created that creates a couple of default user accounts. The line:

    u.password = u'password'

is used to set the password. This triggers a get property method in identify.py, which does the following:

        algorithm = config.get('authorize.hashmethod', None)
        self._password = self.__encrypt_password(algorithm, password)

However, even if authorize.hashmethod is set in the ini file specified when doing paster setup-app <ini file>, the call to config.get() returns None, which means that passwords will be stored in plain-text! config['authorize.hashmethod'] returns the value from the INI file. The cause of the problem can be found in the implementation of the PylonsConfigWrapper class found in tg/configuration.py (note that config is of type PylonsConfigWrapper). The PylonsConfigWrapper class is used to provide a thin wrapper around another dict object. However, it only wraps some of the standard dict methods. It provides a wrapper for the [] operator (via the __getitem__ method), but it doesn't wrap the get() method. According to http://docs.python.org/ref/sequence-types.html , it is recommended to implement more methods than the "__"-style methods, such as get(), values(), has_key(), etc.

It appears that the reason for this wrapper class in the first place is to provide attribute-style lookups (from the documentation for this class), ala

algorithm = config.authorize.hashmethod

However, even this doesn't work and results in an exception, although it does get into the __getattr__ method when this is done.

Perhaps UserDict would be a better choice. Or, maybe it would be best to simple do away with this wrapper object.


plewis

Ticket Summary Component Milestone Type Severity Created
Description
#1655 Create some kind of "component" archetecture for TG2 TurboGears 2.0 defect normal 01/09/08

Django has mini apps inside of a "project" so your website could be made up of a blog-app, a wiki app, a forum app, etc. And it has some helpers to make this nice, automtic discovery of models, etc.

Basically this is implemented as apps directories inside your django project, which you configure URL's to and they dispatch from there. Apps contain controllers, templates, and models. User modification of the apps is then easy because they are just code in your project. But syncing up to a newer version of the blog-app is difficult.

In TG2 this could be accomplished by creating a components directory, putting components in there, and having the init on the controller of a component will register the models in the app (and can take setup parameters). So if you mount a blog component in 4 different places it can be configured 4 different ways by passing in different defaults when you instantiate the component's root controller object...


Note: See TracReports for help on using and creating reports.