Permalink
Commits on Mar 12, 2014
  1. Fixed showing different translated message for the user's locale once…

    jun66j5 committed Mar 12, 2014
    … description of macros is translated
Commits on Mar 9, 2014
  1. TagsPlugin: Wikify descriptions in tagged resource listings, refs #90…

    hasienda committed Mar 9, 2014
    …64 and #11274.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13731 7322e99d-02ea-0310-aa39-e9a107903beb
  2. TagsPlugin: Reworked wiki link resolver code, refs #3624, #5523 and #…

    hasienda committed Mar 9, 2014
    …9630.
    
    Newly added permission and resource existance awareness mimics wiki link
    behavior for tickets and wiki pages.
    
    Unit tests have been refactored too, partially with more reasonable test cases.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13730 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Mar 4, 2014
  1. TagsPlugin: store modified time of wiki page to `tags_change.time` wh…

    jun66j5 committed Mar 4, 2014
    …en page is created and modified using request instance which is saved in `threading.local` (refs #2429)
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13724 7322e99d-02ea-0310-aa39-e9a107903beb
  2. TagsPlugin: added `tagn_` api which has `tag_` and `ngettext` feature…

    jun66j5 committed Mar 4, 2014
    …s, also `tagn_` is one of extract keywords, now (refs #2429)
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13723 7322e99d-02ea-0310-aa39-e9a107903beb
  3. TagsPlugin: reformat within 79 chars/line and refactor `tractags/wiki…

    jun66j5 committed Mar 4, 2014
    ….py`
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13722 7322e99d-02ea-0310-aa39-e9a107903beb
  4. TagsPlugin: shows versioned tags for versioned wiki page (refs #2429)

    jun66j5 committed Mar 4, 2014
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13721 7322e99d-02ea-0310-aa39-e9a107903beb
  5. TagsPlugin: prevent interpreting tagging comment as wiki in wiki hist…

    jun66j5 committed Mar 4, 2014
    …ory view (refs #2429)
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13720 7322e99d-02ea-0310-aa39-e9a107903beb
  6. TagsPlugin: small tweaks (refs #2429)

    jun66j5 committed Mar 4, 2014
     - iterate directly `cursor` rather than `cursor.fetchall()`
     - remove redefined `to_datetime` in `tractags.model`
     - prevent calling `strip()` twice in `split_into_tags()`
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13719 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Feb 26, 2014
  1. TagsPlugin: Return all tags for matching tickets, refs #4503, #11226 …

    hasienda committed Feb 26, 2014
    …and #11302.
    
    When moving ticket tags to normalized storage in [13165], my adapted db query
    did no longer retrieve all tags for matching tickets in ticket tag provider
    method `get_tagged_resources()`.
    
    Using this method in `TagSystem.replace_tag()` consequently caused
    reproducible loss of all ticket tags other than the new tag.
    Corresponding unit test covers ticket with multiple tags now as well.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13712 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Dec 8, 2013
  1. TagsPlugin: Make tag providers conform to interface definition, refs …

    hasienda committed Dec 8, 2013
    …#11434.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13461 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Nov 6, 2013
  1. TagPlugin: updated Japanese translations (100%)

    jun66j5 committed Nov 6, 2013
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13434 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Nov 3, 2013
  1. TagsPlugin: Various fixes, refs #4503.

    hasienda committed Nov 3, 2013
    Thanks to Jun Omae for giving hints on the issues and for proposing patches.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13432 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Nov 2, 2013
  1. TagsPlugin: (i18n) Extract messages (+9), updating translations as well.

    hasienda committed Nov 2, 2013
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13431 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Nov 1, 2013
  1. TagsPlugin: Optimize tag change transactions, refs #2429.

    hasienda committed Nov 1, 2013
    Calculate effective differences instead of dumb delete-and-insert.
    Additionally tag change recordes are removed now on resource destruction.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13430 7322e99d-02ea-0310-aa39-e9a107903beb
  2. TagsPlugin: Backend API cleanup.

    hasienda committed Nov 1, 2013
    It not only lowers argument count in class methods, but unifies arguments for
    reparenting too, using Trac's Resource objects a lot more than before.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13429 7322e99d-02ea-0310-aa39-e9a107903beb
  3. TagsPlugin: Introduce tag version recording, '''requires db upgrade''…

    hasienda committed Nov 1, 2013
    …', refs #2429.
    
    This will especially help recovering tags after SPAM tagging, refs #11205.
    Therefore configurable behavior enables tracking of wiki page tag changes, but
    excludes ticket keywords changes by default.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13428 7322e99d-02ea-0310-aa39-e9a107903beb
  4. TagsPlugin: Push tags (counter) method into tag providers, refs #4503.

    hasienda committed Nov 1, 2013
    This is required for tag providers with tag store outside of default store.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13427 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Oct 30, 2013
  1. TagsPlugin: `upgrade_environment()` synchronizes ticket attributes to…

    jun66j5 committed Oct 30, 2013
    … tags table in order to reduce transactions in `TicketTagProvider._fetch_tkt_tags()` on first request (refs #11147)
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13426 7322e99d-02ea-0310-aa39-e9a107903beb
  2. TagsPlugin: optimize synchronization ticket attributes to tags table …

    jun66j5 committed Oct 30, 2013
    …(refs #11147)
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13425 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Oct 18, 2013
  1. TagsPlugin: fixed an `IntegrityError` while syncing ticket fields and…

    jun66j5 committed Oct 18, 2013
    … tags table on concurrent access (refs #11147)
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13419 7322e99d-02ea-0310-aa39-e9a107903beb
  2. TagsPlugin: avoid `OperationalError: no such table: tags` while runni…

    jun66j5 committed Oct 18, 2013
    …ng unit tests (refs #11147)
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13418 7322e99d-02ea-0310-aa39-e9a107903beb
  3. TagsPlugin: fixed a syntax error in unit tests with Python 2.4 (refs …

    jun66j5 committed Oct 18, 2013
    …#11147)
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13417 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Sep 18, 2013
  1. TagsPlugin: Provider map construction in class init should make it th…

    hasienda committed Sep 18, 2013
    …read-safe.
    
    This would have created a circular load depencency without transforming
    `split_into_tags` into a function, what it is indeed == a good move anyway.
    More small changes are bundled, mostly for code cleaning.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13393 7322e99d-02ea-0310-aa39-e9a107903beb
  2. TagsPlugin: Provide faster tag counter implementations by a `Counter`…

    hasienda committed Sep 18, 2013
    … class, refs #4503.
    
    Handling of tag collections in `Counter` objects is more efficient,
    because we skip creation of associated resources and permission checks.
    We use a feature-stripped, more PEP8-conform version of the original recipe.
    
    Other Trac plugins, that ask !TagsPlugin for existing tags frequency or need
    just all tags, should avoid all methods beside `TagSystem.get_all_tags` too.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13392 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Sep 6, 2013
  1. TagsPlugin: Fix an issue with `TicketTagProvider`'s `get_tagged_resou…

    hasienda committed Sep 6, 2013
    …rces` method, refs #11302.
    
    This flaw, introduced in [13166], hits only for configurations that require
    fine-grained permission checks. Another unit test reproduces the issue too
    for all affected revisions before this one.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13379 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Jun 23, 2013
  1. TagsPlugin: Add realm filter to tag administration, refs #9061.

    hasienda committed Jun 23, 2013
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13304 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on Jun 8, 2013
  1. TagsPlugin: Provide a more thread-safe map of taggable realms, refs #…

    hasienda committed Jun 8, 2013
    …11152.
    
    This change has been kindly contributed by Jun Omae.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13278 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on May 25, 2013
  1. TagsPlugin: Prevent `TypeError` for `ListTagged` macros without argum…

    hasienda committed May 25, 2013
    …ents, refs #9059.
    
    Only `[[ListTagged()]]` worked before, now `[[ListTagged]]` does as well.
    This regression was introduced in [10681].
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13235 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on May 20, 2013
  1. TagsPlugin: Replace configuration option by simple configuration chec…

    hasienda committed May 20, 2013
    …k, refs #4503.
    
    Finding any non-standard/default permission policy, fine-grained permission
    checking will be enforced, intentionally removing the opt-out for safety.
    Thanks to Odd Simon Simonsen for bringing-up the idea in the first place.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13173 7322e99d-02ea-0310-aa39-e9a107903beb
Commits on May 19, 2013
  1. TagsPlugin: Cache a configuration value for performance, refs #4503.

    hasienda committed May 19, 2013
    Impact and effect of this change are amazing, verified by request-profiling.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13172 7322e99d-02ea-0310-aa39-e9a107903beb
  2. TagsPlugin: Fix db setup for ticket tags unit tests, just like done f…

    hasienda committed May 19, 2013
    …or upgrade code before.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13171 7322e99d-02ea-0310-aa39-e9a107903beb
  3. TagsPlugin: Tap into the potential of permission check short-cuts, re…

    hasienda committed May 19, 2013
    …fs #4503.
    
    This has been based on the three years old  `lazy_permission_check.patch` by
    otaku42, thanks a lot anyway.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13168 7322e99d-02ea-0310-aa39-e9a107903beb
  4. TagsPlugin: Some clean-up regarding usage of `set()` and set objects.

    hasienda committed May 19, 2013
    Part of this have been done and collected while reviewing surronding code.
    
    git-svn-id: http://trac-hacks.org/svn/tagsplugin/trunk@13167 7322e99d-02ea-0310-aa39-e9a107903beb