Source

trac-ticketlinks / trac / wiki / web_ui.py

Author Commit Message Labels Comments Date
Alex Willmer
Merge 0.12-stable into ticket-links-trunk
Branches
ticket-links-trunk
rblank
0.12.3dev: Avoid a "Corrupted content error" when rendering a wiki page as plain text in Firefox 7. Closes #10412.
Branches
0.12-stable
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.3dev: Added a missing permission check in the generation of the list of related pages when viewing a non-existing wiki page. Closes #10187.
Branches
0.12-stable
rblank
wiki: Show the list of attachments when editing a wiki page. Closes #2781.
Branches
trunk
rblank
i18n: Fixed all split messages that I could find in `messages.pot`, including the one reported in #9277.
Branches
trunk
rblank
wiki: Mention the new version number when saving a wiki page. Also, avoid a trailing colon in the "Last modified" tooltip when no change comment was given. Closes #9202.
Branches
trunk
cboos
Wiki review should preserve the ''read-only'' flag.
Branches
trunk
cboos
Deprecate `Environment.get_db_cnx` in favor of `Environment.with_transaction` and `Environment.get_read_db()`.
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
cboos
Better placement of the wiki path. It is placed at the correct location in the HTML, there's no need for a CSS hack with negative margin and therefore it interacts much better with user notices. Closes #8857.
Branches
trunk
cboos
Another r9362 follow-up for the redirection page: translate the content of the redirection page, as this can always be fixed if the choice of language was not appropriate. For the comment, use something language neutral. This will work better for non-english monolingual Wikis.
Branches
trunk
cboos
Gracefully handle conflicts during concurrent attempts of Wiki page creation. Closes #8734.
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
rblank
diff: Added separate radio buttons to select between limited and full context in the diff view. The selected setting is ''not'' saved in the session data. Thanks to Oren Held for the initial patch. Closes #6423.
Branches
trunk
rblank
wiki: Fixed a bug in the wiki diff view where changing the diff parameters would modify the versions being diffed. Patch by Oren Held. Closes #7824.
Branches
trunk
rblank
db: Converted all timestamp columns for resource tables from seconds to microseconds. * Ticket comments can now be added with a shorter interval than one second. * Conversions of datetime objects from / to microsecond timestamps should be done exclusively throught the new `from_utimestamp()` and `to_utimestamp()` functions. '''This changeset requires a database upgrade.''' Closes #6466.
Branches
trunk
cboos
Refactor transaction handling, using a with_transaction function decorator (paves the way for using `with transaction(env, db) as db` in future versions of Trac). Many thanks to Jan Schukat for this exhaustive patch. Main part of #8751. (contains the fix for the usage of `with_transaction` in `RepositoryCache.sync_changeset`)
Branches
trunk
cboos
Wiki view: revisit UI for link to last diff (#2635) - remove the ''last change'' from the contextual navigation links, already quite crowded - instead: - linkify the ''Last modified ...'' information at the bottom of the page, when displaying the last version (#8488) - when displaying another version, add a (__diff__) link after the Version info in the version panel at the top of the page
Branches
trunk
cboos
Wiki: minor clean-ups, comments.
Branches
trunk
cboos
Added automatic preview while editing wiki pages in side-by-side mode. Related to #8721 and #8855.
Branches
trunk
cboos
TracWiki: enhanced wiki editor. In the default editing mode, the preview is now below the editor form. This is the same user interface as for other popular wikis (MoinMoin, Wikipedia, JspWiki). Scrolling is minimized, as buttons are always close to the editor. In addition, there's a new side-by-side editing mode, quite useful for making review changes, as you don't have to jump back and forth between the preview and the editor.…
Branches
trunk
rblank
0.12dev: Added an automatic preview to the ticket comment box and the ticket comment editor. Part of #8855.
Branches
trunk
rblank
0.12dev: Made all `<textarea>` fields dynamically resizable (vertically) through a grip placed at the bottom. Closes #8216.
Branches
trunk
rblank
0.12dev: Reworked the ticket page to make it less cluttered and streamline ticket entry and editing. This first changeset has all the functionality while minimizing whitespace changes. The following changeset will be whitespace-only and fix the indentation. Part of #8295, and also addresses #8608, #7639 and #7640.
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
cboos
i18n: fix `trac.chrome.prevnext_nav` so that it correctly supports translations. It is necessary to specify the labels for both the previous and next links, for gender issues. + extraction and corresponding fr_FR translation.
Branches
trunk
cboos
Fix detection of Wiki page range deletion, for the choice of the notice message (avoid messages like "versions from X to X deleted").
Branches
trunk
rblank
0.12dev: Improved information provided on non-existing wiki pages. * For hierarchical pages, suggest creating a page with the same name higher in the hierarchy, and format the links to those pages correctly. * Show a list of pages with similar names. Closes #4507.
Branches
trunk
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. Next