Commit Graph

1285 Commits

Author SHA1 Message Date
Thomas Keller
f4058ddd69 Implement a simple form to save custom markdown-enabled content in the
forge's admin area that is displayed instead of the default project list.
Sanitize the URLs that we're using and make a redirect to the listProjects
page when no custom forge page is enabled.
2011-12-24 15:50:41 +01:00
Thomas Keller
17c6ba97d6 Render the project activity value in the activity bar's title tag. 2011-12-24 03:09:46 +01:00
Thomas Keller
65aa830c87 If a project never saved specific tab access rights so far, the specific
access rights setting is not existant and therefor the projects' activity
calculation is always skipped. This should actually not happen.
2011-12-24 03:03:07 +01:00
Thomas Keller
ff77046783 getOne checks for uniqueness, but its perfectly valid to have more than
a single check, do'h!
2011-12-24 02:56:11 +01:00
Thomas Keller
6e305eb541 Add filtering and sorting capabilities to the project list page and
also render the project activity with a small bar graph below the
logo image. Sanitize the tagcloud css.
2011-12-24 02:45:01 +01:00
Thomas Keller
608e7a40e4 Save a link to the latest activity value in the project model and
render a simple green bar as activity measure in the project list
view.
2011-12-24 01:07:25 +01:00
Thomas Keller
6875e62942 Add some more documentary to the cronjob. 2011-12-23 01:06:13 +01:00
Thomas Keller
c07aee6287 Implement a basic, configurable project activity taxonomy. 2011-12-23 01:03:07 +01:00
Thomas Keller
16573daee0 Migrating the timeline entries according to the new model names was
previously forgotten.
2011-12-20 23:39:40 +01:00
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
0f4c952cbd Merge branch 'feature.scilab' of thomaskeller.biz:/var/www/idf.thomaskeller.biz/repo into feature.scilab 2011-12-13 00:38:03 +01:00
Thomas Keller
52d638e027 Next try. 2011-12-13 00:36:57 +01:00
Thomas Keller
6a20b36700 Instead of breaking for every paragraph (which makes our toc look
really broken, break after the first element after a resource container.

This also means that resource containers cannot be "chained" together
to all float left or right, but we have to draw a line somewhere.
2011-12-13 00:32:11 +01:00
Thomas Keller
a83634c166 Render information about the old revision to-be-deleted, not about
the current one.
2011-12-13 00:18:49 +01:00
Thomas Keller
4dd8994270 Clear previous floating for new paragraphs. 2011-12-13 00:12:23 +01:00
Thomas Keller
4d7d99c0bb Neither the logo fields / controls nor the external project url
field is mandatory, so don't render it bold.
2011-12-11 01:44:29 +01:00
Thomas Keller
95faf0468a Add a relation between IDF_Project and IDF_Tag (again), this time
its a many-to-many. We store project tags in IDF_Tag with a project
id "0" (this has minimal to no impact on existing code) and therefor
only need to ensure that the new relation table exists in the migration.

Then just the project summary configuration and the admin's project
create and project update forms and views needed to be adapted to
be able to render, create and update project tags.
2011-12-11 01:38:56 +01:00
Thomas Keller
14be872724 Note the recent wiki resource feature addition. 2011-12-06 22:49:37 +01:00
Thomas Keller
63bc47e7b7 Save / restore project labels for the forge. 2011-12-06 20:39:15 +01:00
Thomas Keller
0d410605f9 Implement deletion of resource revisions. 2011-12-06 08:38:40 +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
3897d7facb Wrong URL used. 2011-12-04 00:30:44 +01:00
Thomas Keller
959ea74291 Hrm... better use [[!ResourceName]] to avoid conflicts with Markdown. 2011-12-03 02:32:16 +01:00
Thomas Keller
ac4d974abb Define and document the new resource embedding syntax in the FAQ, and while
we're at it, also document that one can put simple relations as crew member
instead of only "soft" issue links.
2011-12-03 02:23:37 +01:00
Thomas Keller
dd8833665d XHTML 2011-12-03 02:23:13 +01:00
Thomas Keller
d54d195b86 Remove help text configuration for this field which is actually
never rendered in the template.
2011-12-03 02:14:46 +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
57f314badb Merge branch 'release-1.2' into develop 2011-12-02 01:28:39 +01:00
Jean-Philippe Fleury
6a44af34e1 Fix issue 773. 2011-12-02 01:20:14 +01:00
Jean-Philippe Fleury
7342566c6e Use positional arguments everywhere where we put more than one
string into a translatable sentence to ease the work on more
exotic translations.
2011-12-02 01:16:00 +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
7267fada64 Merge branch 'release-1.2' into develop 2011-11-30 18:09:35 +01:00
Jean-Philippe Fleury
bfc568967b Fix issue 765. 2011-11-30 18:06:36 +01:00
Jean-Philippe Fleury
154597c09c Fix issue 763. 2011-11-30 17:44:03 +01:00
Jean-Philippe Fleury
8f886155b0 Improve the wording in some source strings where we refer to "here"
which might be hard to grasp when read out of context, e.g. for
screen readers.
2011-11-29 00:20:15 +01:00
Jean-Philippe Fleury
df1130b4c9 Multiple fixes to English language strings. 2011-11-29 00:13:28 +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
ff2b19d587 The "exists file from archive in project" check was flawed because
$name was overwritten. So, this was fixed by adding a special
functionality when archive files are uploaded that replace existing
files with equal names; these are now deleted. This is docuemented
more clearly in the FAQ and it is also documented now that files
in the archive that are not listed in the manifest are not extracted.
2011-11-19 01:13:22 +01:00
Thomas Keller
ba365af020 "Therefor" (AE, legal) -> "Therefore" (BE, general) 2011-11-17 15:33:02 +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
b39fe8595c Prepare a new section for 1.3. 2011-11-07 01:16:14 +01:00
Thomas Keller
5fefc26543 Apparently the last merge commit did not contain that. 2011-11-07 01:16:09 +01:00
Thomas Keller
a37b222878 Merge branch 'release-1.2' into develop
Bump develop version to 1.3-dev
2011-11-07 00:38:19 +01:00
Thomas Keller
c9f2575469 Bump version to 1.2.1-dev 2011-11-07 00:35:15 +01:00
Thomas Keller
5101ae5f35 Set a release date for 1.2 and the version. 2011-11-07 00:06:48 +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