Klaus Silveira
9bf0e0c2fe
Merge branch '2.0' into master
2022-01-14 23:17:34 -05:00
Klaus Silveira
fff2aad0e5
Added PHP 8 compatibility.
2022-01-13 19:06:41 -05:00
Hoel Guilcher
2e0a400303
Add option to remove .git extension from repo names
...
Boolean option strip_dot_git in config.ini.
2020-05-17 11:05:27 +02:00
Max Rubis
8918f3c337
Fix styling issue
2018-11-14 15:40:48 -05:00
Maxim Rubis
64cdbe0609
Use php temp path by default; "$this" should be "self"; ignore dev files
2018-10-31 09:35:33 -04:00
Klaus Silveira
50c0b12be0
Fixed test suite execution in 5.3.
2018-05-18 19:47:20 -04:00
Klaus Silveira
d5f2ae5a81
Reverted dependency changes to run with PHP 5.3
...
GitList 1.x is legacy software and there's no reason why it should
not run on old versions of PHP. With the series 2.x being under
development, we should strive to make this version stable and
compatible with most platforms, regardless of any maintainability
issues that might occur from having to support legacy ecosystems.
2018-05-18 19:21:08 -04:00
Klaus Silveira
87b8c26b02
Fixed RCE in git grep.
...
A specific option in git grep could be added inside the
pattern to be searched for, resulting in possible RCE.
Thanks to Kacper Szurek (https://security.szurek.pl ) for
catching this one!
2018-04-24 11:16:32 -04:00
Klaus Silveira
cc1dc5af14
Updated dependencies.
2017-08-22 11:21:11 -04:00
Zollner Robert
cceafa59cc
added tests for PatchLog Page
2016-11-13 01:38:06 +02:00
fauxpark
a5110d597c
Test case for mailmap
2015-03-01 18:50:21 +11:00
DannyvdSluijs
35d2810fa4
Added @covers annotations.
2014-05-23 19:06:04 +02:00
Nico Mandery
0fcd95690e
reorder unittest indices according to new sorting
2014-05-19 12:06:25 +02:00
Klaus Silveira
179aeeff21
Fixing broken tests
2013-06-01 15:04:35 -03:00
Klaus Silveira
5122e91b49
Major refactoring of the codebase, specially in the directory scanning parts.
...
I have removed the directory management features from Gitter and ported them to GitList,
since they are application-specific logic. I was unhappy with the way directories and multiple
directories were handled, so i altered almost everything.
The tests are OK, but the coverage is not good. This means that i'll need som help from all
GitList users that are actively testing the development version with multiple directories.
I have removed the directory caching feature for now, it will be re-implemented soon.
2013-06-01 12:51:25 -03:00
Wim Rijnders
dc263c05f2
Merged master branch to multidir branch.
2013-04-03 12:45:54 +02:00
Klaus Silveira
cf9aeaf773
Oops. I did it again.
2013-03-29 00:20:28 -03:00
Nate Eagleson
dabf4d86d9
Do not crash when a repo has a detached HEAD
...
Instead, we select a default branch - master by default, but the default
branch can be configured using config.ini.
Note that if the default branch does not exist in a repo, that should
not cause any issues.
Also adds phpunit to composer.json's require-dev section.
2013-02-15 07:16:38 -05:00
Wim Rijnders
a22760d5ad
Gitlist php code compliant with PSR-1 and PSR-2.
2013-02-05 11:27:10 +01:00
Wim Rijnders
051c30befb
Small fixes to gitlist multidir.
2013-01-27 23:41:33 +01:00
Wim Rijnders
81ed4648b8
gitlist passes units tests.
2013-01-27 22:06:10 +01:00
Wim Rijnders
2715c5467a
GitList multidir passes unit test.
2013-01-20 14:30:44 +01:00
Klaus Silveira
2625beb393
Fixed failing tests due to trailing backslash in URL
2013-01-17 14:41:25 -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
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
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
Denys Chmeliuk
a2ec4ae2cb
Added suport for branches with slashes '/' in name
2012-10-26 13:38:48 +03:00
Klaus Silveira
e17ffee12d
Updating GitList to use Gitter
2012-09-11 11:55:03 -03:00
Sebastiaan Stok
607e01ccec
Fixed failing tests on none-Windows OS
2012-08-31 11:52:51 +02:00
Sebastiaan Stok
f14a026218
fixed double backslash in RepositoryTest tmpdir
2012-08-31 11:41:48 +02:00
Sebastiaan Stok
19feb0d87e
Randomize temp-dir and ignore IOException in tests
...
If the file pointer is not closed or some other program (like TGitcache.exe) is reading the file
the tests don't fail anymore.
2012-08-31 11:36:30 +02:00
Sebastiaan Stok
1afeaea987
Fixed unresolvable TMP dir on Windows
2012-08-31 10:15:46 +02:00
Klaus Silveira
bf7441eea4
Fixed bad test
2012-08-16 02:09:47 -03:00
Klaus Silveira
06ec0d2924
Increasing functional test code coverage
2012-08-07 03:36:30 -03:00
Klaus Silveira
58664fefca
Better coverage for the repository page test
2012-07-26 03:50:59 -03:00
Klaus Silveira
3d2c212da4
New functional test suite
2012-07-26 03:43:02 -03:00
Klaus Silveira
11b869f28e
First functional test for interface
2012-07-25 11:46:20 -03:00
Klaus Silveira
3ab62879dc
Decoupled Client test suite from Silex, separated into two different test suites
2012-07-15 03:31:52 -03:00
Klaus Silveira
e9f7c09cc4
Fixing broken tests
2012-07-15 02:05:25 -03:00
Klaus Silveira
7fe9182f11
Major refactoring of the application structure, mostly namespace changes and re-organization
2012-07-15 00:32:24 -03:00
Guto Maia
57c50057c9
Luke has join the Rebels! #Trollmmit
2012-07-14 02:39:52 -03:00
Igor Wiedler
2d252552a6
Use symfony filesystem component, make git client configurable in test suite
2012-07-10 18:10:36 +02:00
Klaus Silveira
970de45342
Using Composer autoloader for test suite, making Travis support Composer to run test suite properly
2012-07-04 12:10:26 -03:00
Klaus Silveira
ec85e90e84
Fixing broken tests
2012-06-07 01:40:28 -03:00
Klaus Silveira
b09076c37a
Improving test coverage
2012-05-23 03:57:02 -03:00
Klaus Silveira
df43c987cf
Initial commit
2012-05-18 01:38:33 -03:00