Ticket #4200 (new enhancement)

Opened 4 years ago

Last modified 2 years ago

[Patch] Some enhancements that may be helpful

Reported by: georgesoon Assigned to: hasienda
Priority: normal Component: TagsPlugin
Severity: normal Keywords: casing query
Cc: otaku42 Trac Release: 0.11

Description

features:

  • query is not case sensitive
  • page content change along with tag change in one submit
    • in 0.6, only tag change in wiki page takes effect
    • content change is lost
  • collect tag from any custom field

changeset

  • api.py
  • ticket.py
  • query.py
  • wiki.py

Attachments

api.py (9.7 kB) - added by georgesoon@hotmail.com on 12/04/08 01:37:03.
for case insensitive
query.py (13.0 kB) - added by georgesoon@hotmail.com on 12/04/08 01:40:32.
for case insensitive
ticket.py (6.2 kB) - added by georgesoon@hotmail.com on 12/04/08 01:42:00.
for custom fields and case insensitive
wiki.py (5.9 kB) - added by georgesoon@hotmail.com on 12/04/08 01:44:18.
for page content and tag change in one submit
my-patch.diff (8.6 kB) - added by georgesoon@hotmail.com on 12/05/08 09:41:12.
svn diff

Change History

12/04/08 01:37:03 changed by georgesoon@hotmail.com

  • attachment api.py added.

for case insensitive

12/04/08 01:40:32 changed by georgesoon@hotmail.com

  • attachment query.py added.

for case insensitive

12/04/08 01:42:00 changed by georgesoon@hotmail.com

  • attachment ticket.py added.

for custom fields and case insensitive

12/04/08 01:44:18 changed by georgesoon@hotmail.com

  • attachment wiki.py added.

for page content and tag change in one submit

12/04/08 02:24:44 changed by athomas

Please provide your change as a patch. You can generate one from within an svn checkout with:

svn diff > my-patch.diff

12/05/08 09:41:12 changed by georgesoon@hotmail.com

  • attachment my-patch.diff added.

svn diff

09/11/09 21:48:00 changed by rjollos

  • summary changed from some enhancements may be helpful to [Patch] Some enhancements that may be helpful.

(in reply to: ↑ description ) 01/12/10 10:53:32 changed by otaku42

  • owner changed from athomas to otaku42.

Replying to georgesoon:

* page content change along with tag change in one submit * in 0.6, only tag change in wiki page takes effect * content change is lost

This had been reported in #3206 and has just been fixed in r7372.

For the rest: could you please provide one patch per new feature, rather than one patch per changed file? That'd make it a lot easier to review the changes in context.

03/05/10 01:50:51 changed by AdrianFritz

Reassign to new maintainer.

10/18/10 01:13:25 changed by hasienda

See #4799 for another take on case-insensitive behavior, but this time with configuration option to retain old/default case-sensitive behavior, that should definitely be considered.

10/05/11 22:41:49 changed by hasienda

  • keywords set to casing query.
  • owner changed from otaku42 to hasienda.

I'll take care for it as my time permits.

10/05/11 22:42:42 changed by hasienda

  • cc set to otaku42.

10/05/11 22:50:44 changed by hasienda

(In [10736]) TagsPlugin: Allow mixing of upper- and lower-case tags in sorted tags cloud, refs #4200 and #4799.

This is controlled by a new option cloud_caseless_sort that defaults to False for backwards-compatibility and doesn't touch the more general issue of case-sensitive tag handling (in TagsQuery) as detailed in #4200.

Thanks to Jeff Hammel for contributing the code for this enhancement.


Add/Change #4200 ([Patch] Some enhancements that may be helpful)




Change Properties
Action