Changes between Version 22 and Version 23 of FlexibleAssignToPlugin


Ignore:
Timestamp:
Nov 19, 2015, 10:25:11 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • FlexibleAssignToPlugin

    v22 v23  
    2222== Bugs/Feature Requests
    2323
    24 Existing bugs and feature requests for FlexibleAssignToPlugin are [query:status!=closed&component=FlexibleAssignToPlugin&order=priority here].
     24Existing bugs and feature requests for FlexibleAssignToPlugin are
     25[report:9?COMPONENT=FlexibleAssignToPlugin here].
    2526
    2627If you have any issues, create a
     
    3233
    3334 * '''Source'''
    34    * latest/trunk rev: download the zipped source from [download:flexibleassigntoplugin here].
     35   * latest/trunk rev: download the zipped source from [export:flexibleassigntoplugin here].
    3536 * '''Binaries''': all zips include sample plugin !SampleValidOwnerProvider.py:
    3637   * Trac 0.13+ on Python 2.7: [attachment:FlexibleAssignTo-0.8.13-py2.7.zip FlexibleAssignTo-0.8.13-py2.7]: recommended version due to modernized Trac DB API usage
     
    3940== Installation
    4041
    41 This plugin requires '''Trac 0.11+''', and it was built and tested against [http://trac.edgewall.org/browser/trunk?rev=10668 0.13dev-r10668] on Python 2.7.1.
     42This plugin requires '''Trac 0.11+''', and it was built and tested against [/browser/trunk?rev=10668 0.13dev-r10668] on Python 2.7.1.
    4243
    4344To install this plugin:
    4445
    4546{{{#!sh
    46 easy_install http://trac-hacks.org/svn/flexibleassigntoplugin/0.13/trunk
     47easy_install https://trac-hacks.org/svn/flexibleassigntoplugin/0.13/trunk
    4748}}}
    4849
     
    6566          This module must contain a class that:
    6667            * declares that it implements IValidOwnerProvider
    67             * provides a getUsers method that takes a 'next_action_obj' as it's sole param and returns a list of instances of !SimpleUser (or a subclass) representing valid owners of that next state.  Keep reading for details on the getUsers() method and the !SimpleUser class. If this sounds confusing and/or you just want to jump in and get your hands dirty, go check out the source for !SampleValidOwnerProvider.py. 
     68            * provides a getUsers method that takes a 'next_action_obj' as it's sole param and returns a list of instances of !SimpleUser (or a subclass) representing valid owners of that next state.  Keep reading for details on the getUsers() method and the !SimpleUser class. If this sounds confusing and/or you just want to experiment, go check out the source for !SampleValidOwnerProvider.py. 
    6869         c. the getUsers() method [[BR]]
    6970          The sole param to getUsers(), next_action_obj, represents a workflow state that is available from the current ticket state AND that implements the "set_owner" operation (if you really want to get into the nitty gritty, next_action_obj is identical to the objects in the !ConfigurableTicketWorkflow.actions list in trac/ticket/default_workflow.py). next_action_obj is provided to getUsers for the sole purpose of providing a way to look up custom workflow state params. For example, if you had a workflow state defined in your `trac.ini`:
     
    9293          There are standard get/set methods for these; see the !SimpleUser class for specific method prototypes. [[BR]]'''Note:''' the format of username values *must* match the format of usernames for logged-in users: if John Doe logs in with the username "jdoe", then a !SimpleUser instance representing John Doe should get its username attribute set to "jdoe". If you don't do this, !FlexibleAssignTo will not work correctly.
    9394
    94 '''3. Config options''' [[BR]]
     95'''3. Configuration options''' [[BR]]
    9596     The following options should be specified in the {{{[flexibleassignto]}}} section of your `trac.ini`.
    9697     * `ensure_user_data` [[BR]]