Commit Graph

11 Commits

Author SHA1 Message Date
Thomas Keller
5ffe66cbfb Add resource revisions to the timeline and add proper templates and
rendering for resources and resource revisions (this is needed later
on for the taxonomy).
Directly link to individual resource / page revisions from the timeline
as well.
2011-12-20 23:39:01 +01:00
Thomas Keller
22dfab253b Implement resource deletion. 2011-12-06 08:13:06 +01:00
Thomas Keller
a1c8a49430 text/plain was missing 2011-12-06 02:18:59 +01:00
Thomas Keller
3f0c7c23d2 Finally save pagerevision and resourcerevision relations when a new page
revision is created; fix a couple of bugs and streamline the view logic
for viewPage and viewResource.
2011-12-06 02:16:27 +01:00
Thomas Keller
8fde1e4762 Render resources in markdown context properly and implement all the
documented render options.
2011-12-06 01:39:45 +01:00
Thomas Keller
b752d1fadb Merge branch 'develop' of projects.ceondo.com:indefero into feature.scilab 2011-12-03 01:21:57 +01:00
Thomas Keller
d6eb7532fd Move the orig_file_ext field from resource to resourcerev where
it actually belongs.  Add an option to download a specific resource
revision as attachment in the view.  Fix a bug that occurred when
displaying an old revision of a resource.  Prepare for proper
deletion of the original file and the connected resource in case
a revision is deleted; mark any previous revision as head in this
case. Left-align the summary label in the resource list view.
2011-12-01 00:30:50 +01:00
Thomas Keller
58ccb93f2d Render a resource preview view with more information about the
resource, such as its summary, its mime type, a preview (available
for some image/* and text/* mime types) and a list of pages where
the specific resource revision is used.
2011-11-26 23:25:46 +01:00
Thomas Keller
b2e25fc501 Implemented resource creation. 2011-11-15 20:31:39 +01:00
Thomas Keller
f29348c604 Rename a couple of view methods and templates to better accomodate
the upcoming changes.
2011-11-13 01:09:11 +01:00
Thomas Keller
b09a7d2fd2 Move the Wiki* models into the IDF_Wiki_* namespace and adapt all models,
table names and relations accordingly.
Start with a resource and resource revision model and add migrations for
that as well.
Note in NEWS.mdtext that we need a more recent Pluf version to take
advantage of the MySQL introspection implementation.
2011-11-06 01:05:27 +01:00