Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Improved ls-tree operation a little bit. | bb450d8c2e47b30b98f6571ef80ae310387b4823 | Catalin(ux) M. BOIE | 2015-06-26 04:07:16 |
Lots of fixes, mostly cache performance ones. | c42469d7e9ea84b23776c945cb0dd46ea82a589f | Catalin(ux) M. BOIE | 2015-06-24 04:22:07 |
Use HTTP/1.1 caching only with HTTP/1.1 protocol. | 7998f5b0ba9cbd06deb5a5e5270629f9213cf2b7 | Catalin(ux) M. BOIE | 2015-06-18 21:46:13 |
Bumpped version to 0.34 | 65d54e7a4a50527a22a4a325a2fb423b60acc77d | Catalin(ux) M. BOIE | 2015-06-09 16:06:42 |
More stuff in TODO. | 16bce74aefff9696959c7b186031a4b4e36a1d79 | Catalin(ux) M. BOIE | 2015-06-09 16:05:05 |
More design stuff. | a87db7c7448cd59cd2f56fb108c5ed12f01d4e06 | Catalin(ux) M. BOIE | 2015-06-09 16:04:49 |
Fixed UTF-8 chars whn connecting by ssh and issueing command repos | c363832f1e7c6bc3672f823ac5c0c2f3244b4615 | Catalin(ux) M. BOIE | 2015-06-09 16:04:04 |
Add caching by using ETag / If-None-Match | 132cd07d19e33b382ab4e7a0a0b0e057fe316652 | Catalin(ux) M. BOIE | 2015-06-09 16:03:27 |
Add debug support for rpm instalation. | c091b24f82c135b5606181f417d2f18151d951ae | Catalin(ux) M. BOIE | 2015-06-06 11:00:44 |
SSH key fingerprint: add SHA256 support | f774edcd0c17f66dd4de54aa35a543bbafaff609 | Catalin(ux) M. BOIE | 2015-06-04 20:31:35 |
Put features first in menu | 33a9cef11227407d2cdf63056e71b66dd6106f62 | Catalin(ux) M. BOIE | 2015-06-02 19:44:51 |
Switch to v2 images | e0d94a44d7093be83b82ea5227c0afcba22a5d27 | Catalin(ux) M. BOIE | 2015-05-27 03:36:13 |
Remove 'qcow2' reference because was not the place | ec800590fd07b69f377387c8353d50f6a9430ff8 | Catalin(ux) M. BOIE | 2015-05-27 03:35:32 |
Instruct used to follow the README file after rpm install | 1e1f092339a0fb4ab7c7ead080d68c1d04686d29 | Catalin(ux) M. BOIE | 2015-05-27 03:30:23 |
Lots of fixes, mostly on templating stuff. | eb7e8f94fa4a2f5d82f913bcd7113287172cd450 | Catalin(ux) M. BOIE | 2015-05-25 18:51:36 |
Lots of changes all over the place. | 9b39ce5e62255ff390926ef11c37b98d1d8751d2 | Catalin(ux) M. BOIE | 2015-05-22 03:25:46 |
Invites now accepts a file as the body of the e-mail and php_errormsg fixes. | 31ccba6e43e02c34fa2139fe352c3799feecd249 | Catalin(ux) M. BOIE | 2015-05-09 04:17:40 |
Allow compression inside TLS | 00828bd5eaf5ad08ff7736a6c5627c21179a8e20 | Catalin(ux) M. BOIE | 2015-05-06 17:09:07 |
Bump version to 0.32 | 8a9194a00721f0f6c55ab4bc986e23962357f250 | Catalin(ux) M. BOIE | 2015-05-05 21:20:30 |
Small fixes all over the place | baaa5336810128456e63d5e5a8cb111c81fe162d | Catalin(ux) M. BOIE | 2015-05-05 21:20:12 |
File | Lines added | Lines deleted |
---|---|---|
inc/git.inc.php | 5 | 3 |
inc/user/repo-page.php | 1 | 1 |
root/themes/default/repo/tree/nodata.html | 1 | 1 |
File inc/git.inc.php changed (mode: 100644) (index a76f6d6..5a441f9) | |||
... | ... | function rg_git_update_ref($ref, $old, $new, $reason) | |
432 | 432 | /* | /* |
433 | 433 | * Returns a tree (git ls-tree) | * Returns a tree (git ls-tree) |
434 | 434 | */ | */ |
435 | function rg_git_ls_tree($tree, $path) | ||
435 | function rg_git_ls_tree($repo_path, $tree, $path) | ||
436 | 436 | { | { |
437 | 437 | rg_prof_start("git_ls_tree"); | rg_prof_start("git_ls_tree"); |
438 | rg_log_enter("rg_git_ls_tree: tree=$tree path=$path"); | ||
438 | rg_log_enter("rg_git_ls_tree: repo_path=$repo_path" | ||
439 | . " tree=$tree path=$path"); | ||
439 | 440 | ||
440 | 441 | $ret = FALSE; | $ret = FALSE; |
441 | 442 | while (1) { | while (1) { |
... | ... | function rg_git_ls_tree($tree, $path) | |
445 | 446 | $tree = " HEAD"; | $tree = " HEAD"; |
446 | 447 | } | } |
447 | 448 | ||
448 | $cmd = "git ls-tree --long" . $op . $tree; | ||
449 | $cmd = "git --git-dir=" . escapeshellarg($repo_path) | ||
450 | . " ls-tree --long" . $op . $tree; | ||
449 | 451 | if (!empty($path)) | if (!empty($path)) |
450 | 452 | $cmd .= " " . escapeshellarg($path); | $cmd .= " " . escapeshellarg($path); |
451 | 453 | rg_log("DEBUG: cmd=$cmd"); | rg_log("DEBUG: cmd=$cmd"); |
File inc/user/repo-page.php changed (mode: 100644) (index d97eee9..90ae5c1) | |||
... | ... | if (strcmp($_subop, "history") == 0) { | |
157 | 157 | // find hash of blob | // find hash of blob |
158 | 158 | $_path = implode("/", $paras); | $_path = implode("/", $paras); |
159 | 159 | $rg['path'] = "/" . $_path; | $rg['path'] = "/" . $_path; |
160 | $_tree = rg_git_ls_tree($ref, $_path); | ||
160 | $_tree = rg_git_ls_tree($repo_path, $ref, $_path); | ||
161 | 161 | if ($_tree === FALSE) { | if ($_tree === FALSE) { |
162 | 162 | $_repo_body .= "Invalid path!"; | $_repo_body .= "Invalid path!"; |
163 | 163 | } else { | } else { |
File root/themes/default/repo/tree/nodata.html changed (mode: 100644) (index fa1a030..b8d96e9) | |||
1 | 1 | <div class="ok"> | <div class="ok"> |
2 | Empty tree. | ||
2 | Tree is empty or an error occured. | ||
3 | 3 | </div> | </div> |