Hi!
On 3/6/07, Quim Gil <[EMAIL PROTECTED]> wrote:
> By the way, the new wiki does not require us to use CamelCase, so page
> names can be also just RFE/Position awareness.
Even much better.
Good. :-)
Calling it a policy then.
Right, tell me if I went too far. :)
How the structure of the page could look like. (*) are mandatory.
I made a quick test with this on my local install, and I've attached
the schema that implements most of the things you wanted. This can be
easily added to the wiki on test.maemo.org by just a configuration
change.
See the editing view in http://www.nehmer.net/~bergie/maemo_wiki_edit_rfe.png
I made the person selection fields "searchable" so you can connect
Maemo garage users to the wiki pages more easily. Since they're linked
to the real contact records we have quite nice options for displaying
them.
- Related resources (URLs)
I'd just put these to the page content.
- Discussion (relevant links to mailing list posts and/or wiki-style
discussion here, not to mess with the previous fields).
Again, this could be in the content.
Another option we have here is that we could utilize tagging. Since
Maemo mailing list archives will be in Midgard a bit later it would be
easy to connect the email threads and wiki pages with each other: just
include the following in the end of your email body if you want to
connect your message with this particular RFE:
tags: "RFE/Position awareness"
This will be parsed by Midgard and stored as a local tag that enables
us to see the link both ways (link to wiki page from mailing list
archive, and link to email thread from the wiki page).
Also, it would be great if the web admins and the author of the page
could edit this additional field:
- Status (Wishlist, Planning, Alpha, Beta, Stable)
Added. Now it requires admin user. However, it would be easy to also
add a proper privilege for this so it could be enabled for users who
are not necessarily full admins.
What do you think?
Quim Gil - http://maemo.org
/Henri
--
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/
Skype: henribergius
Jabber: [EMAIL PROTECTED]
'rfe' => array
(
'description' => 'request for enhancement',
'fields' => array
(
'title' => Array
(
'title' => 'title',
'storage' => 'title',
'readonly' => true,
'type' => 'text',
'widget' => 'text',
),
'abstract' => Array
(
'title' => 'abstract',
'storage' => 'abstract',
'required' => true,
'type' => 'text',
'type_config' => Array
(
'output_mode' => 'markdown'
),
'widget' => 'textarea',
'widget_config' => Array
(
'height' => 4,
'width' => 80,
),
),
'author' => array
(
'title' => 'Proposed by',
'storage' => 'author',
'required' => true,
'type' => 'select',
'type_config' => array
(
'require_corresponding_option' => false,
'options' => array(),
),
'widget' => 'universalchooser',
'widget_config' => array
(
'class' => 'org_openpsa_contacts_person',
'component' => 'org.openpsa.contacts',
'titlefield' => 'name',
'idfield' => 'guid',
'constraints' => array
(
array
(
'field' => 'username',
'op' => '<>',
'value' => '',
),
),
'searchfields' => array
(
'firstname',
'lastname',
'username',
),
'orders' => array
(
array('lastname' => 'ASC'),
array('firstname' => 'ASC'),
),
),
),
'supports' => array
(
'title' => 'Supported by',
'storage' => 'parameter',
'type' => 'select',
'type_config' => array
(
'require_corresponding_option' => false,
'allow_multiple' => true,
'multiple_storagemode' => 'imploded_wrapped',
'options' => array(),
),
'widget' => 'universalchooser',
'widget_config' => array
(
'class' => 'org_openpsa_contacts_person',
'component' => 'org.openpsa.contacts',
'titlefield' => 'name',
'idfield' => 'guid',
'constraints' => array
(
array
(
'field' => 'username',
'op' => '<>',
'value' => '',
),
),
'searchfields' => array
(
'firstname',
'lastname',
'username',
),
'orders' => array
(
array('lastname' => 'ASC'),
array('firstname' => 'ASC'),
),
),
),
'lead' => array
(
'title' => 'Lead by',
'storage' => 'parameter',
'type' => 'select',
'type_config' => array
(
'require_corresponding_option' => false,
'options' => array(),
),
'widget' => 'universalchooser',
'widget_config' => array
(
'class' => 'org_openpsa_contacts_person',
'component' => 'org.openpsa.contacts',
'titlefield' => 'name',
'idfield' => 'guid',
'constraints' => array
(
array
(
'field' => 'username',
'op' => '<>',
'value' => '',
),
),
'searchfields' => array
(
'firstname',
'lastname',
'username',
),
'orders' => array
(
array('lastname' => 'ASC'),
array('firstname' => 'ASC'),
),
),
),
'status' => array
(
'title' => 'Status',
'storage' => 'parameter',
'type' => 'select',
'type_config' => array
(
'options' => array
(
'wishlist' => 'Wishlist',
'planning' => 'Planning',
'alpha' => 'Alpha',
'beta' => 'Beta',
'stable' => 'Stable',
),
),
'widget' => 'select',
'readonly' => (!$_MIDGARD['admin'])
),
'content' => Array
(
// COMPONENT-REQUIRED
'title' => 'content',
'storage' => 'content',
'required' => true,
'type' => 'text',
'type_config' => Array
(
'output_mode' => 'markdown'
),
'widget' => 'textarea',
'widget_config' => Array
(
'height' => 26,
'width' => 80,
),
),
'tags' => Array
(
'title' => 'tags',
'type' => 'tags',
'widget' => 'text',
),
)
),
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers