Source

trac-ticketlinks / trac / wiki / api.py

Author Commit Message Labels Comments Date
jomae
0.12.3dev: Added validations for a wiki page name to create, rename and import. Closes #10274.
Branches
0.12-stable
rblank
0.12-stable: Merged [9963-9998] from 0.11-stable.
Branches
0.12-stable
rblank
0.12.1dev: Recognize relative and absolute !CamelCase references (`./SomePage`, `../SomePage`, `/SomePage`) as wiki links. Closes #6884.
Branches
0.12-stable
cboos
0.12.1dev: WikiPageNames can't be followed by digits or _ Also added a regression test. Closes #4542 again.
Branches
0.12-stable
cboos
Attachment module checks that the parent resource exists before allowing attachments. Add `IResourceManager.resource_exists(resource)` and an implementation for the `WikiModule`, with doctests.
Branches
trunk
rblank
wiki: Handle the case where `fullmatch` doesn't contain a desired group. Closes #9267.
Branches
trunk
rblank
wiki: For links of the form `[wiki:./PageName]`, generate a nice label by stripping any leading relative path elements, and taking into account `[wiki] split_page_names`. Closes #9239.
Branches
trunk
rblank
wiki: Apply `[wiki] split_page_names` to internal free links and relative links when no explicit label is given. Part of #9239.
Branches
trunk
rblank
wiki: Added the possibility to have `["internal free links" with a label]`. Also consistently accept a `?query=string` where a `#fragment` was accepted. This was already the case in most of the link syntaxes, but a few special cases were missing. Closes #7695.
Branches
trunk
rblank
wiki: Remove leading `./` and `../` components from the label for !MoinMoin-style `["./Links"]`, except when this would result in an empty label. Part of #9239.
Branches
trunk
cboos
WikiFormatting: fix relative links, WikiCreole style.
Branches
trunk
rblank
db: Allow nesting `with_transaction()` without having to pass the database connection explicitly. This allowed greatly simplifying the cache code, which has been reduced to a single `@cached` decorator. Part of #9060.
Branches
trunk
cboos
wiki web_ui: finally call `IWikiPageManipulator.prepare_wiki_page(req, page, fields)`. This method was: ''Not currently called, but should be provided for future compatibility.'' Now we use it to ''Validate a wiki page before rendering it''. The `fields` can be used to manipulate the `text` before rendering. Closes #9096.
Branches
trunk
rblank
wiki: Added functionality to rename a wiki page. Thanks to Jan Schukat for reviving the branch, updating it to trunk and adding tests. Part of #1106.
Branches
trunk
cboos
Get rid of the Python 2.3 specific syntax of r9253
Branches
trunk
cboos
0.12dev: ported r9252, CamelCase regexp reworked (#9025).
Branches
trunk
cboos
WikiProcessors: fix a potential problem with processor arguments. At the same time, this makes it now possible to differentiate between being called as a macro (`args is None`) and via a code block. Related to #8204.
Branches
trunk
rblank
0.12dev: Improved the plugin admin panel to provide better grouping of components by module, and to display the component and module docstrings as descriptions. Closes #8839.
Branches
trunk
rblank
0.12dev: Autumn cleaning using pylint: * Removed unused imports. * Removed unused locals. * Fixed whitespace issues (indentation, spacing, coding conventions). * Removed semicolons at the end of lines (some people around here have been doing too much C ;-). Closes #7518.
Branches
trunk
rblank
0.12dev: Allow relative wiki page references in `wiki:` links: `[wiki:./SubPage]`, `[wiki:../SiblingPage]`, and so on. Closes #6884.
Branches
trunk
rblank
0.12dev: Merged [8678,8682,8683] from 0.11-stable.
Branches
trunk
rblank
0.12dev: Tuned default labels for relative links and absolute wiki pages to strip leading "/", "./" and "../". (Finally) closes #4507.
Branches
trunk
rblank
0.12dev: Added some syntactic sugar for `CacheProxy.get()`, and made `WikiSystem.pages` a `set` for faster membership test.
Branches
trunk
rblank
0.12dev: Better wiki page resolution for relative references to non-existing pages. A reference `Second/Other` on `First/Second/Third` now resolves to `First/Second/Other` instead of `First/Second/Second/Other` if `First/Second` exists. Related to #4507.
Branches
trunk
rblank
0.12dev: Fixed relative wiki link resolution for non-existing pages so that, if a common prefix of the referrer and the target page exists, the page reference is interpreted as absolute. See comment:12:ticket:4507.
Branches
trunk
rblank
0.12dev: Added an optional argument `args` to `IWikiMacroProvider.expand_macro()` to contain the shebang-line arguments when using wiki processor syntax. Closes #8204.
Branches
trunk
rblank
0.12dev: Invalidate the wiki page name cache in the model, in the same transaction as the wiki page update, in the same way as the ticket field cache. Related to #8270.
Branches
trunk
rblank
0.12dev: Added missing cache invalidation when importing wiki pages from `trac-admin`. Related to #8270.
Branches
trunk
rblank
0.12dev: Fixed missing cache invalidations for wiki page names and InterMapTxt. Fix by Christian Boos, thanks! Closes #8270.
Branches
trunk
rblank
0.12dev: Refactored various in-process caches into a `CacheManager` component as described in [wiki:TracDev/Proposals/CacheInvalidation]. '''This changeset increments the `db_version` to 22 and therefore requires an environment upgrade.'''
Branches
trunk
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. Next