Thomas Keller
d0e2977746
Add support for line ending detection in our diff parser.
...
Line endings are now preserved during the diff parsing. When the diff
is then rendered later on, we replace non-printable characters by their
ordinal counterparts, so a user can easily grasp changes when a hunk
comes with edits that might be invisible at first.
The expected format for the diff test suite has changed from serialized
PHP to var_export, which is easier readable, editable and understandable,
while still keeping parsable as well.
Support for old Macintosh line endings could not be added, mainly because
modern SCMs do not support single \r in their unified diff output either
and working around and parsing these "lines" would have been a major
headache with not much outcome (given the fact that all Macs that have been
sold since 2001 or 2002 have been BSD-based and as such used Unix line
endings by default).
This commit fixes issue 636.
2011-10-05 02:44:04 +02:00
Thomas Keller
1be91e5a2a
Do not split Hg's and git's log output into lines - this will make it
...
impossible for us to detect proper line endings later on.
2011-10-05 02:42:51 +02:00
Thomas Keller
ef2d3a9af9
Merge branch 'feature.issue-of-others' of projects.ceondo.com:indefero into feature.issue-of-others
2011-10-04 01:01:31 +02:00
William MARTIN
d860f299fd
The last part of the previous patch.
2011-10-03 10:17:10 +02:00
William MARTIN
33882d4fa7
Update how the myIssue view works.
...
It's allow to display this view for other members.
In the issue summary, we can now follow make links for each user display in the part "Unresolved: By Assignee".
2011-10-03 10:00:35 +02:00
Thomas Keller
695428075b
Merge branch 'develop' of projects.ceondo.com:indefero into develop
2011-10-02 00:06:17 +02:00
Thomas Keller
e7c2e721b4
The tag cloud was fixed to "issues" for both, the open and closed issue list
...
which is clearly wrong.
2011-10-02 00:05:08 +02: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
Thomas Keller
a2c832a130
Improve the 'parents' parsing for git and ignore any empty parts; also
...
react gracefully if we could not parse the parents for some weird reason.
2011-08-17 20:17:14 +02:00
Thomas Keller
b17de014ec
Reworked the option / argument handling in the SVN interface to
...
have less code duplication.
2011-08-13 02:28:15 +02:00
Patrick Georgi
57c2389aae
Make SVN backend more robust
...
The SVN backend failed when trying to access historical information on deleted files.
There's also an initial test case for the SVN backend, testing this issue
and issue 364, which is about a similar problem for renamed files.
Reverting any of these fixes breaks the test.
2011-08-12 20:53:26 +02:00
Patrick Georgi
945429abf0
Provide MD5 value of downloads to HTTP client
...
Content-MD5 is a HTTP header to provide end-to-end integrity checks
(see RFC2616, 14.15). This doesn't protect against malicious
modifications, but against transmissions errors and storage errors
on the server.
The change also removes one redirect when downloading files.
2011-07-24 22:12:36 +02:00
William MARTIN
a016bcb51b
Merge branch 'develop' of projects.ceondo.com:indefero into develop
2011-07-05 11:31:05 +02:00
William MARTIN
f2b1ce795c
Fix issue 247 : cron overwrites authorized_keys during cron run
2011-07-05 11:30:23 +02:00
Thomas Keller
3a8c56acc4
Postgres needs a VARCHAR cast, which MySQL doesn't understand, of
...
course. *sigh*
2011-07-01 13:35:43 +02:00
Thomas Keller
7b2552f940
Postgres (and probably others as well) needs an explicit char cast.
2011-06-30 00:25:29 +02:00
Thomas Keller
324b202215
Fix the rendering of issue changes in a mail template and the issue feed fragment.
2011-06-29 17:41:18 +02:00
Loïc d'Anterroches
2c2da6082a
Fixed stupid missing semicolon.
2011-06-29 14:41:57 +02:00
Loïc d'Anterroches
dd3fbbd7e4
Fixes to support older PHP versions.
2011-06-29 14:30:17 +02:00
William MARTIN
9bbcd571ec
Merge branch 'feature.issue-summary' into develop
2011-06-20 11:37:26 +02:00
William MARTIN
6d55602ef3
Add IDF_Project::getIssueCountByOwner and use it into IDF_Views_Issue::summary
2011-06-15 17:30:23 +02:00
William MARTIN
6e7c9f7c4b
Use css instead of
2011-06-15 17:29:29 +02:00
William MARTIN
5427aab456
Change "ifnull" sql function to "coalesce" which is supported by postgresql
2011-06-15 13:52:58 +02:00
Thomas Keller
4879d64989
If git's author name does not contain valid utf-8 bytes, skip the author
...
lookup in the database, which would otherwise only bring up errors.
2011-06-15 13:50:02 +02:00
William MARTIN
dab8ea63fc
Mark string for translation
2011-06-15 11:35:30 +02:00
William MARTIN
b03d7a04a0
improve rendering of 0% bar
2011-06-15 11:30:11 +02:00
William MARTIN
ef5b93e3f7
Fix the special case of a empty issue tracker, for the issue summary.
2011-06-15 11:18:41 +02:00
William MARTIN
69ae1c08ef
Add an sub-tab under Issue to add a summury view
2011-06-15 09:11:47 +02:00
Thomas Keller
8e4f828cc6
Spelling.
2011-06-13 12:43:39 +02:00
Thomas Keller
c4f92f4569
Access all private methods in a non-static way, now that we have a instance-dependent _diagnoseProblem() method
2011-06-13 12:23:22 +02:00
Thomas Keller
c4d2b99656
Wrong object to call commit() on...
2011-06-13 01:59:21 +02:00
Thomas Keller
d4fe88adab
Disable the fixed context bar if the content is already to big
2011-06-12 17:59:43 +02:00
Thomas Keller
69d0e8313a
Merge branch 'develop' of projects.ceondo.com:indefero into develop
2011-06-11 00:48:38 +02:00
Thomas Keller
11a234e135
Fix the branch links users of the Subversion frontend get when they enter
...
a wrong revision and only display this list if there are any branches
available for all SCMs.
2011-06-11 00:47:54 +02:00
Thomas Keller
2f30e4e2f6
Fix a regression introduced with commit 20c3f14cc
: If we can read from a process'
...
pipe doesn't mean the exit code of the process in question is zero, this is
actually what pclose() returns.
2011-06-11 00:44:32 +02:00
Thomas Keller
118ca9f11f
Now that IDF_Scm::getChanges() is implemented for all SCMs, there is no need for the try-catch anymore.
2011-06-10 23:40:58 +02:00
Thomas Keller
24fc41ee0d
XML node access didn't work and as such renames and copies weren't properly detected.
2011-06-10 23:40:22 +02:00
William MARTIN
c00dbac5e0
Merge branch 'feature.download-md5' into develop
2011-06-10 09:26:20 +02:00
William MARTIN
d7857c5126
Rename the migration script
2011-06-10 09:25:17 +02:00
Thomas Keller
ac6be0d3c0
Implement IDF_Scm::getChanges() for Subversion (closes issue 622)
2011-06-10 02:23:54 +02:00
Thomas Keller
7ff6f09f67
We can actually differentiate between copies and renames in Hg, so lets
...
add support for another change type, 'copies'. The previous implementation
for Hg was also slightly flawed in the way that it mixed sources with
targets.
2011-06-10 01:34:33 +02:00
Thomas Keller
00b576c5a3
Merge branch 'feature.issue-links' into develop
2011-06-10 00:39:39 +02:00
Thomas Keller
2a33510c96
\w doesn't match -, so better use [^)] to match server names
2011-06-06 23:24:00 +02:00
Thomas Keller
d1f79d906d
Do not try to symlink the same file twice (fixes issue 695)
2011-06-06 23:18:06 +02:00
Thomas Keller
aa043f14ac
Two occurrences forgotten
2011-06-06 23:01:25 +02:00
Thomas Keller
638b28399e
Fix issues 695 and 697. Still, public keys aren't added to monotone
...
databases for some weird reason, so issue 696 is still open.
2011-06-05 02:37:47 +02:00
Thomas Keller
1b1b00a10c
The server list no longer renders a bogus server entry in case no
...
monotone server has been configured yet in the connected usher instance.
Also display a short info text if the server or connection list for
a running monotone server is empty.
2011-06-04 23:15:58 +02:00
Thomas Keller
8693418d39
Revert "Improve error handling and reporting (partially resolves issue 695)"
...
This reverts commit 8ff15368ce
.
2011-06-04 01:14:22 +02:00
Thomas Keller
8ff15368ce
Improve error handling and reporting (partially resolves issue 695)
2011-06-04 01:03:30 +02:00