Commit Graph

322 Commits

Author SHA1 Message Date
Klaus Silveira
1c8980f0e3 Merge pull request #273 from NateEag/fix-package-tarbomb
Make package tarballs be in their own directory
2013-03-01 10:16:11 -08:00
Nate Eagleson
74c47f4ac8 Make package tarballs be in their own directory
This makes it harder to tarbomb a directory by accident.
2013-02-28 21:56:03 -05:00
Klaus Silveira
22eb6d86d4 Merge pull request #268 from bggo/master
Initial package builder
2013-02-20 08:49:37 -08:00
Bruno Gurgel
b8e1a5a794 Fix ... 2013-02-20 14:44:23 -03:00
Bruno Gurgel
9f45711cae Fix ... 2013-02-20 14:43:50 -03:00
Bruno Gurgel
1fb69faf10 Fix ... 2013-02-20 14:42:36 -03:00
Bruno Gurgel
f36505bb9b rename 2013-02-20 14:35:16 -03:00
Bruno Gurgel
c19c24df1d Edit readme 2013-02-20 14:34:16 -03:00
Bruno Gurgel
d059c0165d README + tools 2013-02-20 14:26:08 -03:00
Bruno Gurgel
b7e05fa329 RPM e Debian build core + README 2013-02-20 14:24:38 -03:00
Bruno Gurgel
a262966672 Init builder ... 2013-02-19 17:47:48 -03:00
Klaus Silveira
446f37b292 Merge pull request #266 from NateEag/fix-raw-blob-view
Fix raw blob view
2013-02-19 06:00:30 -08:00
Klaus Silveira
69d2cd3d5b Merge pull request #264 from NateEag/add-build-packages
Add packages for making build to composer.json's require-dev
2013-02-19 06:00:13 -08:00
Klaus Silveira
de2627e4da Merge pull request #263 from NateEag/handle-no-active-branch
Do not crash when a repo has a detached HEAD
2013-02-19 05:59:02 -08:00
Nate Eagleson
c0e63d14e6 Fix raw blob view
A previous change of mine had broken it.

Also rename a route parameter in CommitController for consistency with
other route params.
2013-02-18 23:08:39 -05:00
Nate Eagleson
b2e6bab386 Update composer.lock for dev dependencies 2013-02-18 23:02:12 -05:00
Nate Eagleson
17f06d12e1 Revert composer.lock
since I updated a bunch of entries that did not need to be updated.
2013-02-18 22:47:51 -05:00
Nate Eagleson
6ee400f32e Revert changes to composer.json and composer.lock
Note that this commit depends on a pull request for gitter, and is
therefore in an untestable state after reverting composer.json.
Its predecessor should be testable, however.
2013-02-18 22:39:18 -05:00
Nate Eagleson
3b9ae176d2 Default require-dev packages to most recent minor version 2013-02-16 11:07:41 -05:00
Nate Eagleson
0252ba287d Add packages for making build to composer.json's require-dev
Not all of the packages for doing a build are available via composer,
but many of them are. This reduces the amount of work it takes to set up
an environment to do a full build.
2013-02-16 10:58:24 -05: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
Klaus Silveira
6e4e8912b0 Merge pull request #257 from NateEag/swap-in-on-commit-view
Fix minor grammar error in commit views
2013-02-12 15:39:49 -08:00
Klaus Silveira
5ccad64af4 Merge pull request #259 from NateEag/fix-branches-with-slashes
Correctly support branch names with slashes
2013-02-12 15:34:56 -08:00
Nate Eagleson
e6b2e4eb05 Fix minor grammar error in commit views
Use the phrase "authored on <date>" rather than "authored in <date>".
2013-02-08 20:20:38 -05:00
Nate Eagleson
421574b5a9 Correctly support branch names with slashes
Previously, branches with slashes in the name would consume all slashed
segments in a URL, causing the routes to capture incorrect file paths.

This solution is not particularly elegant - anywhere a route used
both a commit-ish identifier and a path, we collapse those two params
into a single param, and parse that param inside the route.

It seems to be working reasonably reliably, but has not seen extensive
testing.

It is also not particularly pretty. If anyone sees ways to improve it,
please, have at it.
2013-02-08 20:10:11 -05:00
Klaus Silveira
ab7ffc181b Fixes #208 2013-01-18 13:34:29 -02:00
Klaus Silveira
14420d4380 Missing namespace declaration 2013-01-17 15:50:41 -02:00
Klaus Silveira
2625beb393 Fixed failing tests due to trailing backslash in URL 2013-01-17 14:41:25 -02:00
Klaus Silveira
651625509d Solving conflicts 2013-01-17 14:15:28 -02:00
Klaus Silveira
94a9afc8a5 Fixing conflict 2013-01-17 14:08:52 -02:00
Klaus Silveira
3b0d20f48e Merge pull request #240 from marcoscoelho/path-to-fix-blame
improve get blame method retrieving long revisions to avoid ambiguity...
2013-01-17 08:02:23 -08:00
Klaus Silveira
9a1aa6c57a Merge pull request #239 from marcoscoelho/path-to-fix-html
fix html source code view
2013-01-17 08:01:07 -08:00
Klaus Silveira
26d3df1ab8 Merge pull request #238 from marcoscoelho/path-to-fix-url
fix url generation ...
2013-01-17 08:00:48 -08:00
Marcos Coelho
cb5fe85d4f improve get blame method retrieving long revisions to avoid ambiguity and omitting the caret of revisions (boundary commits) 2013-01-03 01:38:58 -02:00
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