Ticket #3500 (closed enhancement: fixed)

Opened 5 years ago

Last modified 2 years ago

Integrate search with TracFormsPlugin

Reported by: rharkins Assigned to: hasienda
Priority: normal Component: TracFormsPlugin
Severity: major Keywords: TracForm resource search
Cc: manolo.wolder Trac Release: 0.11

Description

Add support to index all forms in the database with some means to wiki-ize the results and pages that contain the results.

Attachments

Change History

(follow-up: ↓ 8 ) 12/04/10 01:19:00 changed by hasienda

  • priority changed from high to normal.
  • type changed from defect to enhancement.
  • severity changed from critical to major.

Why is this a high, even critical defect, if not worked on for two years. Come on, be reasonable.

Nevertheless sort of a [[ListForms(count|list|table)]] and [[FormsQuery(who=$USER)]] macro, or even a forms:<identifier> resource link could be useful additions to this plugin.

01/10/11 14:15:59 changed by anonymous

  • cc set to manolo.wolder.

03/16/11 21:05:45 changed by hasienda

  • status changed from new to assigned.
  • owner changed from rharkins to hasienda.

I've done some more code reading and i.e. found out, that there is already an unique form index value.

Nevertheless before I'll succeed with implementing a proper !ISearchSource there is considerably more ground work to be done. I'm in the process of creating

  • helper functions for converting TracForm id's to context and vice versa,
  • a generic TracForm object,
  • some permissions to restrict relevant operations

and more...

03/31/11 23:03:53 changed by hasienda

  • keywords changed from unscheduled to TracForm resource search.

This has been my first time dealing with the Trac resource topic for real.

I've a preliminary working ISearchSource provider, that I'll commit to trunk soonish. I'm just still struggling with a creating a proper Form object and related resource. The other related ideas about some additional TracWiki macros may get postponed afterwards.

04/03/11 00:47:05 changed by hasienda

(In [10010]) TracFormsPlugin: Add api.py missing from [10002] and add a TracForm resource, refs #3445 and #3500.

The new Trac resource 'form' is a prerequisite for introducing permissions and subsequent stuff relying on permission checks.

04/03/11 01:34:22 changed by hasienda

(In [10011]) TracFormsPlugin: Add basic TracForm? permissions, refs #3445 and #3500.

Note: Only users with 'TRAC_ADMIN' permision will see 'Update Form' buttons, until you add at least 'FORM_EDIT_VAL' permission to the relevant groups and/or users. This is a prerequisite for other stuff relying on permission checks too.

04/03/11 02:15:38 changed by hasienda

(In [10012]) TracFormsPlugin: Add ISearchSource capabilities to TracForm , refs #3500.

Now you're able to find form field content without opening the (parent) resource, where the TracForm has been embedded and get search results with a direct link to that resource too. Suggestions welcome, how to improve the current, slightly rough form content representation for the search results page.

(in reply to: ↑ 1 ) 04/30/11 00:08:00 changed by hasienda

Replying to hasienda:

Nevertheless sort of a [[ListForms(count|list|table)]] and [[FormsQuery(who=$USER)]] macro, or even a forms:<identifier> resource link could be useful additions to this plugin.

I've created #8749 and #8750 for a follow-up development accordingly.

04/30/11 01:27:37 changed by hasienda

  • status changed from assigned to closed.
  • resolution set to fixed.

manual correction due to a bad ticket reference: second link should have been 3500, not 3550

(In [10143]): TracFormsPlugin: Releasing version 0.3, pushing development to 0.4, closes #3445, #3500, #3741, #4759 and #8258, refs #3388 and #6993.

This is a major release requiring a Trac environment upgrade.

While the parser logic remains unchanged, there is a lot new supplementary funcionality to make TracForms behave more like the existing Trac core resources (ticket, wiki, attachment, ...).

This version performs a series of non-trivial db schema changes, that especially may leave traces of stale forms (i.e. recorded for wiki pages, that don't exist anymore). So please make sure to read the changelog, BACKUP your environment(s) before installing this version as usual and check the new db tables forms, forms_fields and forms_history after upgrading.


Add/Change #3500 (Integrate search with TracFormsPlugin)




Change Properties
Action