trac-ticketlinks / trac / tests / attachment.py

Author Commit Message Labels Comments Date
Default avatar jomae
0.12.3dev: Fixed directory traversal attack in reparenting attachments.
Branches
0.12-stable
Default avatar osimons
Fix tests for attachment resource existence added in [9724].
Branches
trunk
Default avatar cboos
Implement `AttachmentModule.resource_exists`.
Branches
trunk
Default avatar rblank
wiki: Added functionality to rename a wiki page.
Branches
trunk
Default avatar rblank
0.12dev: Autumn cleaning using pylint:
Branches
trunk
Default avatar cboos
0.12dev: merged [8189:8193/sandbox/rework-testing], alternate db backend for unit-tests and Makefile improvements.
Branches
trunk
Default avatar cboos
Follow-up to r4333, fix the attachment unit tests.
Branches
trunk
Default avatar cmlenz
Enable `AttachmentModule` tests which were apparently disabled by accident. Fixed them up, but the fixes don't seem entirely right. (Christian, can you please look into fixing these tests properly?)
Branches
trunk
Default avatar cmlenz
Improved API for checking permissions:
Branches
trunk
Default avatar cboos
Changed the `attachment:` link resolver syntax to:
Branches
trunk
Default avatar cboos
Finish to make unit tests more robust in case there's a global trac.ini.
Branches
trunk
Default avatar cboos
Make sure attachment size and time properties are `int` values. Closes #3557. Thanks to steffenp for the patch.
Branches
trunk
Default avatar cmlenz
Integrated config fixes from #3037.
Branches
trunk
Default avatar jonas
Merged sandbox/unicode in trunk.
Branches
trunk
Default avatar cboos
Follow-up to [2072], as the "?format=raw" modifier was not taken into account for foreign attachment links.
Branches
trunk
Default avatar cboos
Small fixes for attachments:
Branches
trunk
Default avatar cmlenz
Allow format parameter in attachment links. Closes #1929. Thanks to Shunichi Goto for the patch. Also, added unit tests for the attachment wiki links.
Branches
trunk
Default avatar cmlenz
Allow deleting an attachment even if the file is no longer present for some reason. Closes #1558.
Branches
trunk
Default avatar cmlenz
* Extend the {{{IEnvironmentSetupParticipant}}} so that is also involved with upgrades.
Branches
trunk
Default avatar cmlenz
Make sure attachments can only be uploaded inside the environment attachments directory.
Branches
trunk
Default avatar cboos
Attachment unit tests fixed on Windows. Thanks to Ian Leader for the patch provided in #1608.
Branches
trunk
Default avatar cmlenz
Refactored attachments functionality to provide an {{{Attachment}}} object that encapsulates database (and file-system) access to attachments.
Branches
trunk
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.