Menu

Commit [r2028]  Maximize  Restore  History

Some refactorings on the TracCrossReferences branch:

* Attachment API simplified
* now uses a `TracObject` parent instead of `parent_type` and `parent_id` pairs
* function `attachment_to_hdf` is now the `Attachment.to_hdf` method
* unit tests changed accordingly
* Wiki and Ticket attachment code changed accordingly
* !TracObject refactorings:
* `XRef.XRefSystem` is now `TracObject.TracObjectSystem`
* `TracObject.factory` class method added
* inlined doc updates
* `WikiSystem._wiki_factory` and `TicketSystem._ticket_factory` methods added

cboos 2005-07-25

changed /branches/cboos-dev/xref-branch/trac/attachment.py
changed /branches/cboos-dev/xref-branch/trac/object.py
changed /branches/cboos-dev/xref-branch/trac/scripts/admin.py
changed /branches/cboos-dev/xref-branch/trac/tests/attachment.py
changed /branches/cboos-dev/xref-branch/trac/ticket/api.py
changed /branches/cboos-dev/xref-branch/trac/ticket/model.py
changed /branches/cboos-dev/xref-branch/trac/ticket/web_ui.py
changed /branches/cboos-dev/xref-branch/trac/wiki/api.py
changed /branches/cboos-dev/xref-branch/trac/wiki/macros.py
changed /branches/cboos-dev/xref-branch/trac/wiki/model.py
changed /branches/cboos-dev/xref-branch/trac/wiki/web_ui.py
changed /branches/cboos-dev/xref-branch/trac/xref.py
/branches/cboos-dev/xref-branch/trac/attachment.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/object.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/scripts/admin.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/tests/attachment.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/ticket/api.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/ticket/model.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/ticket/web_ui.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/wiki/api.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/wiki/macros.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/wiki/model.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/wiki/web_ui.py Diff Switch to side-by-side view
Loading...
/branches/cboos-dev/xref-branch/trac/xref.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB