Klaus Silveira
2edcf1aebe
Small coding style fixes, using better variable names
2012-07-14 15:57:08 -03:00
Klaus Silveira
9916c8f5db
Make sure it returns at least one usable filetype
2012-07-14 15:53:58 -03:00
Klaus Silveira
db394f4dc9
No need to return null
2012-07-14 15:51:17 -03:00
Klaus Silveira
a17c6208a9
Fixing docblock
2012-07-14 15:51:09 -03:00
Klaus Silveira
b00f723ac2
Compliance with PSR-0, PSR-1 and PSR-2
2012-07-14 15:47:46 -03:00
Klaus Silveira
72247201b4
Merge pull request #79 from attiks/betterHeads
...
better Head detection if refs/heads is pointing to non-existing master
2012-07-14 07:51:29 -07:00
Klaus Silveira
3c39537971
Merge pull request #81 from GromNaN/zipball
...
Add zipball and tarball download (fix #66 )
2012-07-14 07:50:21 -07:00
Jérôme Tamarelle
a4cff9b831
Add Git\Repository::createArchive
2012-07-14 12:41:57 +02:00
Sergey Linnik
377f01ece6
simplify file type detection, fix phpdoc
2012-07-14 12:46:00 +04:00
Peter Droogmans
39d4a24b45
stats fixed, using getHead now
2012-07-14 09:10:56 +02:00
Peter Droogmans
48a267d508
better Head detection if refs/heads is pointing to non-existing master
2012-07-13 16:49:15 +02:00
Michał Prochowski
d75a8739d5
Merge remote-tracking branch 'upstream/master'
2012-07-08 22:03:22 +02:00
Fabien Potencier
dca25b61a9
fixed blame when the file has been renamed (in which case the blame command returns the file name in the output)
2012-07-07 08:57:42 +02:00
Fabien Potencier
cddca4683a
refactored the tree controller
2012-07-07 08:57:42 +02:00
Fabien Potencier
9f837611b5
made a service shared
2012-07-07 08:57:42 +02:00
Fabien Potencier
a5523902ba
simplified code
2012-07-07 08:57:42 +02:00
Fabien Potencier
65e0bd402b
fixed URL management
2012-07-07 08:57:38 +02:00
Klaus Silveira
cd497812ba
Dropping PHAR, using Composer for dependency management
2012-07-04 12:07:46 -03:00
Michał Prochowski
c253b2f96b
Fix warnings:
...
- Warning: parse_ini_file(config.ini) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/mablo/www/gitlist/index.php on line 8
- Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/mablo/git/index.php/.git/HEAD) is not within the allowed path(s): (/usr/local/php5) in /home/mablo/www/gitlist/lib/Git/Client.php on line 90
2012-07-04 17:02:06 +02:00
Klaus Silveira
99f28161ef
Merge pull request #67 from attiks/i64b
...
check if file exists before reading to avoid warnings
2012-06-28 10:35:15 -07:00
Peter Droogmans
3308fe4699
check if file exists before reading to avoid warnings
2012-06-28 16:27:18 +02:00
Peter Droogmans
bda9cc5f0e
possible fix
2012-06-28 14:14:56 +02:00
Klaus Silveira
3591753f2b
Changing the syntax highlighting theme for C# and Java. Fixes #65 .
2012-06-27 23:43:06 -03:00
Peter Droogmans
22a81468d5
fix for #61 , #62
2012-06-27 14:43:46 +02:00
Klaus Silveira
ec2e12dc04
Merge pull request #62 from skwashd/default-from-head
...
Read default branch from .git/HEAD
2012-06-26 11:54:15 -07:00
Dave Hall
158150d6c3
Issue #57 : Interleave commits in blame
2012-06-26 21:47:19 +10:00
Dave Hall
19d80921f0
Issue #61 : Read default branch from .git/HEAD
2012-06-26 21:04:37 +10:00
Michał Prochowski
e508a3479d
* Fix notice error if file readme don't exists.
...
* Show readme box for file with `readme` suffix (eg readme, readme.md. readme.txt, readme.markdown etc).
2012-06-19 10:34:51 +02:00
Michał Prochowski
c6de3bb8c8
Added preview of the file "readme" like in github with using showdown.js parser ( http://github.com/coreyti/showdown ).
2012-06-13 01:53:34 +02:00
Klaus Silveira
8092f9c3c8
Better error handling in the commit log
2012-06-07 02:37:45 -03:00
Klaus Silveira
484c72679a
Better filename handling in commit logs, fixes #35
2012-06-07 02:32:30 -03:00
Klaus Silveira
df8f74a9cb
Fixing wc -l implementation on getTotalCommits
2012-06-07 02:03:32 -03:00
Klaus Silveira
fbd79f256b
Dropped --count on rev-list in order to improve compatibility, using wc -l. Fixes #31
2012-06-07 01:46:02 -03:00
Klaus Silveira
167c5b83cc
Implementing hidden repository feature, fixes #30
2012-06-07 01:34:22 -03:00
Klaus Silveira
a76e8f858e
Treat non-existing description file on repositories, fixes #41
2012-06-07 01:15:53 -03:00
Klaus Silveira
8ac31cdc93
Adding support to syntax highlighting for custom extensions, fixes #34 . Thanks @attiks
2012-06-07 00:55:56 -03:00
Klaus Silveira
d5051ca146
Correct handling of filenames with spaces. Fixes #25
2012-05-31 01:46:36 -03:00
Klaus Silveira
7c9b4aca5e
Better error handling in command execution
2012-05-31 01:07:49 -03:00
Dave Hall
da43306c1e
Fix binary file names
2012-05-27 23:19:40 +10:00
Klaus Silveira
68ba842be5
Fixes #19 by ignoring directories starting with a dot
2012-05-25 18:27:26 -03:00
Klaus Silveira
e4d8c5ef7f
Removing recursive directory search, not very stable right now
2012-05-25 18:20:55 -03:00
Klaus Silveira
fec646062e
Minor bug in last pull request
2012-05-25 18:07:18 -03:00
Yoander Valdés Rodríguez
ab33a63c49
checking repositories var as empty array
2012-05-25 16:43:40 -04:00
Yoander Valdés Rodríguez
198d173536
Initializing the repositories vas as empty array instead of null
2012-05-25 16:31:48 -04:00
Yoander Valdés Rodríguez
926ffe6b00
Fixed: Undefined variable: repositories in gitlist/lib/Git/Client.php on line 94
2012-05-25 14:50:01 -04:00
Klaus Silveira
c7ed3ee0d8
Adding image blob support. Fixes #13
2012-05-23 21:52:37 -03:00
Klaus Silveira
9c4b5e9f35
Abstracting the pager and improving the pagination system
2012-05-23 20:58:38 -03:00
Klaus Silveira
b5ba7959d7
Commit pagination now with proper last page. Thanks @kulbirsaini!
2012-05-23 04:06:31 -03:00
Klaus Silveira
de57d7d489
Adding recursive repository scanning. Fixes #2
2012-05-23 03:31:21 -03:00
Klaus Silveira
595bd91d2c
Better error handling for commits
2012-05-23 03:15:20 -03:00