1. Alex Willmer
  2. trac-ticketlinks

Source

trac-ticketlinks / trac / wiki / tests / model.py

Author Commit Message Date Builds
jomae
0.12.3dev: Added validations for a wiki page name to create, rename and import. Closes #10274.
Branches
0.12-stable
cboos
tests: make it possible to successfully run some more tests individually (e.g. `make test=trac/wiki/tests/model.py`). In this situation, locally defined components have a name starting with `__main__.` and not `trac.` as when run through the main test suite. This prevented those components to be enabled and the tests depending on them to pass.
Branches
0.12-stable
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
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
rblank
0.12dev: Set the `author`, `comment` and `time` attributes correctly when creating and saving a `WikiPage`. Closes #8859.
Branches
trunk
cboos
0.12dev: merged [8189:8193/sandbox/rework-testing], alternate db backend for unit-tests and Makefile improvements.
Branches
trunk
jonas
Merged the source:sandbox/datetime-genshi branch. This adds per-user timezone selection and internal use of datetime.
Branches
trunk
cmlenz
Fix wiki model unit tests to work under Python 2.3.
Branches
trunk
athomas
Updated Wiki unit tests for change in r3206.
Branches
trunk
cmlenz
Use the wiki formatter test title as the ''shortDescription'' of the test.
Branches
trunk
cmlenz
Fix argument order for wiki page change notification. Closes #2283.
Branches
trunk
cmlenz
Remove some Python-2.4-isms that slipped into [2248].
Branches
trunk
mgood
Fixes for deleting wiki page versions: * the confirmation page didn't have a "version" field in the form, so it was deleting the whole page * deleting a single version was redirecting to WikiStart instead of back to the current page * a !WikiPage model that deletes its own version will now refetch the content of the latest version of the page * add test cases for checking the `page.exists` value after deletion
Branches
trunk
cmlenz
Wiki page version number should start at 1 instead of 0.
Branches
trunk
cmlenz
Fix some more PySQLite 2 issues (search still doesn't work though). Attention plugin devs: this changes the {{{to_sql}}} method to yield individual statements. If you're using that method to create custom database tables, you'll need to adapt your code.
Branches
trunk
cmlenz
Fix deletion of a single version of a wiki page, and add tests for the {{{WikiPage}}} class.
Branches
trunk