Commit Graph

338 Commits

Author SHA1 Message Date
Marcos Coelho
38d092c58b fix bugs on commit page - when get diff logs of a commit that is decendent of a merge or when a commit is the initial commit and fix a logical error on readDiffLogs method 2013-01-03 01:10:21 -02:00
Marcos Coelho
40d18bb825 fix html source code view 2013-01-03 00:22:48 -02:00
Marcos Coelho
9d341b59ab fix url generation - now a test to nested repositories (testInitialPage test) is passing on windows os. 2013-01-03 00:18:06 -02:00
Klaus Silveira
5cf1e15605 Merge pull request #230 from vognev/fix-ref-name-in-path
fix situation when valid ref is a part of path
2012-12-27 05:25:58 -08:00
Vitaliy Ognev
652af777aa ensure ref name is encoded 2012-12-23 15:34:17 +02:00
Vitaliy Ognev
06f65ca8e2 should take 1st match 2012-12-23 14:32:32 +02:00
Vitaliy Ognev
412c73c509 fix situation when valid ref is a part of path 2012-12-23 14:01:26 +02:00
Nate Eagleson
1f8f321037 Fix tests (and this time I tested it).
Admittedly, I tested it by modifying composer.json to include phpunit
but then did not commit that change, so it's vaguely possible an older
phpunit would find a way to fail.

I think we should be good, though.
2012-12-20 22:22:47 -05:00
Klaus Silveira
6caecf461d Merge pull request #224 from marcoscoelho/path-to-usability
fix usability mistakes on navigation menu and search input
2012-12-20 09:01:31 -08:00
Klaus Silveira
f212c441e1 Merge pull request #225 from marcoscoelho/path-to-avoid-errors
Path to avoid errors
2012-12-20 09:00:45 -08:00
Klaus Silveira
173ef5fc1c Merge pull request #226 from marcoscoelho/path-to-tweaks
Path to tweaks
2012-12-20 09:00:12 -08:00
Marcos Coelho
0951527bfc put escapeshelltag out of the string 2012-12-20 12:56:17 -02:00
Marcos Coelho
bc3a3634c5 undo delete of composer.lock 2012-12-20 12:46:37 -02:00
Marcos Coelho
efa3072192 revert changes discussed on comments of PR #226 2012-12-20 12:37:56 -02:00
Klaus Silveira
200a7dd715 Merge pull request #223 from marcoscoelho/path-to-pagination
fix an exception of twig when try get ajax pagination
2012-12-20 05:45:44 -08:00
Marcos Coelho
78595be8eb ops. fix my mistake, ignore env files of the composer correctly now 2012-12-20 01:58:58 -02:00
Marcos Coelho
449e08e519 fix #214 - rewrite rule in .htaccess points to root of document directory 2012-12-20 00:15:52 -02:00
Marcos Coelho
2e69e9d435 ignore composer.lock 2012-12-20 00:15:43 -02:00
Marcos Coelho
69e1200b04 fix usability mistakes on navigation menu and search input 2012-12-20 00:13:28 -02:00
Marcos Coelho
9091aa2292 fix the exceptions caused by git commands and the data returned; improves the security of the user input queries that build args for commands. 2012-12-20 00:12:02 -02:00
Marcos Coelho
d9237592f9 display the requested query to the viewer in the breadcrumbs 2012-12-20 00:11:53 -02:00
Marcos Coelho
3d405d2b3f little change in the pattern to get match results correctly 2012-12-20 00:07:32 -02:00
Marcos Coelho
fa289c15c2 fix an exception of twig when try get ajax pagination 2012-12-19 23:58:37 -02:00
Klaus Silveira
1c48c6fd03 Merge pull request #210 from knuthaug/scala-syntax
added file type mapping for scala files in order to provide syntax highl...
2012-12-19 10:49:57 -08:00
Klaus Silveira
4da58fb72b Merge pull request #201 from zauguin/master
PHP Built-In Web  Server
2012-12-19 10:43:21 -08:00
Klaus Silveira
807ccbca1d Merge pull request #211 from Myhrlin/master
hiawatha webserver URLToolkit configuration
2012-12-19 10:43:08 -08:00
Nate Eagleson
9dfca14f31 Attempt to fix test for repo without master branch.
Without a working test environment, it's hard to be confident it will
succeed, but it's certainly a step closer to correct.
2012-12-13 23:21:30 -05:00
Nate Eagleson
0fa349476a Use checked-out branch as default branch.
Previously assumed 'master' was the default branch, when master may not
exist at all.
2012-12-13 15:41:52 -05:00
Myhrlin
3d1302a501 Added hiawatha webserver URLToolkit configuration 2012-11-26 12:48:15 -06:00
Knut Haugen
cb59ee81ad added file type mapping for scala files in order to provide syntax highlighting for scala files in blow view 2012-11-16 14:24:33 +01:00
Klaus Silveira
44ed193402 Merge pull request #168 from jasondavis/master
Parse Markdown files
2012-11-06 06:33:53 -08:00
Klaus Silveira
5664854c18 Merge pull request #200 from cschorn/nested-repos
Recursive scanning (should fix #2)
2012-11-06 06:32:25 -08:00
zauguin
26f3fecb17 Added support for PHP built-in Web server 2012-11-01 18:43:17 +01:00
Christian Schorn
11e662c707 Coding style - camelCase for variables 2012-10-31 19:32:00 +01:00
Christian Schorn
2b43be92b3 Add unit tests for nested repository 2012-10-31 19:09:29 +01:00
Christian Schorn
54e2621333 Added nested repository to fixtures. 2012-10-31 18:49:49 +01:00
Christian Schorn
655ee6b85a Make unit tests use new configuration constructor 2012-10-31 18:21:52 +01:00
Christian Schorn
3400c29a0d Die when no config object provided
Just a friendlier error message, when `boot.php` is included without a
global `$config` object being set.
2012-10-31 18:14:20 +01:00
Christian Schorn
d46704d21e Moved config loading to index.php
As `index.php` is the entry point of the webapp, loading configuration
data from the `config.ini` should take place there. This makes testing
easier, since a properly formatted `config.ini` (whose values are
overriden anyway) is no longer needed.
2012-10-31 18:06:30 +01:00
Christian Schorn
87d6391ba4 Add fromFile factory method to GitList\Config 2012-10-31 18:03:42 +01:00
Christian Schorn
32efd89781 Update composer to use dev-master of Gitter 2012-10-31 14:59:32 +01:00
Christian Schorn
ef01494318 Use relative paths for repositories 2012-10-31 14:52:45 +01:00
Christian Schorn
668cd97ebe Use computed regex for repo 2012-10-31 14:46:19 +01:00
Christian Schorn
3c9205a079 Sort repository regex paths by longest first 2012-10-31 14:44:45 +01:00
Christian Schorn
f3fa152ecc Remove delimiters from repository regex 2012-10-31 14:20:23 +01:00
Christian Schorn
57b96f448f Change delimiter for repository regex
'#' is the default delimiter for route regexes in
`Symfony\Component\Routing\RouteCompiler`, so use this.
2012-10-31 14:16:58 +01:00
Christian Schorn
ffe27b2a75 Add routing service to handle repos in subdirectories 2012-10-31 14:06:03 +01:00
Klaus Silveira
6a93bddabb Adding Arduino extension .ino 2012-10-31 00:15:31 -02:00
Klaus Silveira
d3c76665ea Adding config.ini to the ant package target exclusion rule 2012-10-31 00:06:28 -02:00
Klaus Silveira
ac042dd259 Merge branch 'master' of https://github.com/klaussilveira/gitlist 2012-10-31 00:04:53 -02:00