Commit Graph

694 Commits

Author SHA1 Message Date
Toby Allen
6034d14346 Changes to Route to work with Windows
Addition of function to test which OS and replace \ with \\ on windows.
2012-12-30 19:38:33 +00:00
Toby Allen
7e70ce5637 changes mreged from wimrijnders 2012-12-30 15:24:06 +00:00
Toby Allen
c74258e728 Changed single quote to double quote around format
This is required for use on windows.
2012-12-30 12:17:22 +00:00
Toby Allen
53326fffa7 Added base for Windows user
Hint to use double quotes for Git Executible path.
Set repo base to windows path.
2012-12-30 11:06:17 +00: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
Wim Rijnders
ccdee643c6 multiple dir's fully tested. 2012-12-20 20:56:10 +01: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
Wim Rijnders
eb9e660f5b Code for loading repo in TreeController. 2012-12-04 07:06:43 +01:00
Wim Rijnders
b644610438 Renamed getRepository() in gitter Client, to avoid method name collision; some code cleanup. 2012-12-04 06:29:10 +01:00
Wim Rijnders
875d3c9661 Figured out how use repository hash. Not fully implemented. 2012-12-03 08:26:04 +01:00
Wim Rijnders
2d0380834f Multiple root dir's recursion. Works fine, using them per repo needs to be figured out. 2012-12-02 20:42:21 +01: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