Commit Graph

54 Commits

Author SHA1 Message Date
Thomas Keller
5c04c87ff6 Custom forge page rendering with project listing, home link,
improved contextual help.
2011-12-27 03:16:09 +01:00
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
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
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
William MARTIN
13fad756ab Fix issue 732
Commit based on Stéphane Baron patch
2011-10-01 22:43:00 +02:00
Thomas Keller
1f0791df0e Make the '@rev' part in the regex optional (fixes issue 730). 2011-09-12 17:54:40 +02:00
William MARTIN
c421919092 Fix php syntax 2011-06-01 11:20:03 +02:00
William MARTIN
d350876bc1 Update allowed attributes in the Markdown Prefilter, to be less strict.
Fix issue 578
2011-06-01 10:10:01 +02:00
William MARTIN
5ea4b02205 Update copyrigt 2011-04-02 21:37:07 +02:00
Thomas Keller
b7c0b40491 Add basic source version tracking.
Indefero's version is now noted in src/IDF/version.php;
just before a release is made, the '-dev' is removed and
after the release is made, the version should be increased and
'-dev' should be added back to denote that the development
for the next version started.

The revision identifier is automatically set when an archive
is created and is based on the revision that the archive creator
gave to git-archive(1). If people follow development, we try to
get the current deployed version with git-log(1) and if that
fails as well, the revision is determined to be 'unknown'.
Version and revision are then rendered as HTML meta tags in
the header of each template. (All this is done by the new
{appversion} tag.)
2011-03-20 00:57:49 +01:00
Thomas Keller
734ddda363 Fix issue 618 by returning the input unaltered in case PCRE still fails
to evaluate it with the expanded backtrack limit.
2011-03-18 12:10:42 +01:00
Thomas Keller
f63bfcb4f6 Raise PCRE's backtrack_limit for our regex callback usage to avoid
spurious errors on weird input (fixes issue 618).
2011-03-03 23:42:21 +01:00
William MARTIN
4245617c6f Fix issue 546 : Add the irc protocol in the markdown prefilter 2011-01-06 11:01:35 +01:00
Loïc d'Anterroches
90b9279c3a Fixed not to try to include a document from a non available repository. 2011-01-05 10:28:25 +01:00
Thomas Keller
dffeb1f9d5 * move common file-specific functionality out of IDF_Views_Source into new
IDF_FileUtil and change all occurrences accordingly
* cache /etc/mime.types (or whatever is configured) per request in a static
variable in IDF_FileUtil
* always link directly to the download of attached files in the issues view
and place an additional "view" link only for those attachments which we
recognize as text with our weak criteria (closes issue 575)
2010-12-02 01:50:01 +01:00
Thomas Keller
dc2881ad02 Expand the revision and source linking automatisms to support the following
rev 12345
 added in abc12
 removed in abc12
 src:README@abc12
 src:README, src:COPYING#12
and many more schemes.
2010-11-29 21:50:40 +01:00
Matthew Dawson
c5c7ebff04 Improved the wiki links to have better descripting links. 2010-09-01 14:50:04 +02:00
Mehdi Kabab
061c806588 Fixed issue 509, indefero wiki do not support strikethrough. 2010-07-25 13:37:05 +02:00
Mehdi Kabab
73dba2fa1a Added ticket 259, automatic linking of issues/commits to support TortoiseSVN preferred issue/commit naming. 2009-11-06 16:00:47 +01:00
Loic d'Anterroches
6c5fde77b4 Added the ability to link to a review from the comments. 2009-10-29 13:54:44 +01:00
Loic d'Anterroches
fbcdacdccf Allowed the th HTML tag in the MarkDown output. 2009-08-04 10:25:29 +02:00
Andrew Nguyen
f473691479 Fixed issue 262, embbed documents from repository in Documentation wiki.
You can now embbed text documents frome the repository into the
documentation wiki. Changes in the repository are automatically
reflected into the wiki.

The syntax is [[[path/to/file, optional commit]]].
2009-08-03 22:38:14 +02:00
Mehdi Kabab
021805f1e1 Fixed issue 270, 'src:' autolinking doesn't work if path contains spaces. 2009-07-20 20:07:53 +02:00
Loic d'Anterroches
16ce0da5f9 Fixed issue 240, correctly link the long URLs in the issues. 2009-06-26 13:12:26 +02:00
Baptiste Durand-Bret
29e053bf6b Fixed issue 217, can't link directly to a user comment when linking to an issue 2009-06-19 16:01:17 +02:00
Loic d'Anterroches
bc434504b1 Fixed issue 210, sub-tabs links not follows the active branche in Source view. 2009-05-26 21:47:54 +02:00
Mehdi Kabab
b94934eafb Fixed issue 195, added parsing of the commit plural forms. 2009-04-19 14:33:12 +02:00
Mehdi Kabab
dd2dda1895 Fixed issue 158, improved MarkDown support. 2009-03-26 12:23:37 +01:00
Loic d'Anterroches
ea55f9f793 Added nl2br in the display of the commit messages. 2009-02-16 18:12:21 +01:00
Loic d'Anterroches
9bcf99e3a7 Fixed issue 126, easy link to a file in the repository from the tickets.
The syntax src:AUTHORS or src:src/IDF/Scm.php is allowed.
2009-02-02 22:55:45 +01:00
Loic d'Anterroches
088f426986 Added code tag to the list of allowed tags. 2009-02-01 14:24:04 +01:00
Loic d'Anterroches
8f7ec57213 Fixed crash when looking at a wiki page with missing link and no create rights. 2009-01-30 23:20:52 +01:00
Loic d'Anterroches
60bc06f5c3 Added ticket 90, propose to create a new documentation page when it doesn't exists. 2009-01-02 13:58:55 +01:00
Loic d'Anterroches
f1f7d635b7 Updated to send to the dashboard when clicking on the "me" links. 2008-12-05 20:41:11 +01:00
Loic d'Anterroches
6c5da01319 Added the link to the author profile when possible. 2008-12-05 14:51:51 +01:00
Loic d'Anterroches
b660c6782f Updated the timeline to link to the author profile. 2008-12-05 12:28:58 +01:00
Loic d'Anterroches
a1eeb12516 Added ticket 80, scm login integration with database login.
Based on the login for Subversion and the email address for git and
Mercurial.
2008-12-05 11:34:02 +01:00
Loic d'Anterroches
2e3330a8ad Fixed to avoid creation of unvalid HTML. 2008-12-04 14:29:45 +01:00
Loic d'Anterroches
b45d9854af Fixed issue 70, markdown syntax in the Wiki partially broken.
We will need to iterate with feedback from the users for the autorized
tags in the filtering process.
2008-11-30 11:33:46 +01:00
Loic d'Anterroches
7f88056bd9 Fixed autolinking breaking MarkDown links. 2008-11-23 14:58:43 +01:00
Loic d'Anterroches
8eb5715656 Partial fix of issue 55, addition of a simple Wiki.
Added a base wiki, it is now possible to create wiki pages and update
them. Revisions are kept also not used/displayed at the moment.
2008-11-22 23:51:23 +01:00
bohwaz
c807c18d21 Fixed issue 58, bug avec les raccourcis clavier. 2008-11-18 11:29:53 +01:00
Loic d'Anterroches
8e093bc7ee Added link to issues and commit in the source tree. 2008-11-17 14:09:00 +01:00
Loic d'Anterroches
b85da85dfe Added ticket 45, base implementation of a timeline.
Still some cleaning of the code to have a nicer display of the timeline
especially for the issue updates.
2008-11-14 15:41:51 +01:00
Loic d'Anterroches
57a5b4738a Restructured the file hierarchy.
Git and Svn are now in a Scm subfolder.
2008-09-01 21:42:18 +02:00
Loic d'Anterroches
7383e18dff Fixed issue 4, with fine control over the tabs access.
For each tab, at the exception of the project home and the
administration area, it possible to control the access rights if the
user is anonymous, signed in, member or owner.
2008-08-07 15:35:03 +02:00
Loic d'Anterroches
9dedea0f9d Fixed issue 12, better regular expressions to link issues.
The bug was due to a bad initialization of the git repository path in
the issue comment parser. Time to make more init tests!
2008-08-05 11:44:04 +02:00
Loic d'Anterroches
e6df530624 Fixed to avoid lines being too long. 2008-08-03 10:09:03 +02:00