Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Fixed the commit show page (showing multiple commits) | 3e932d79f05be2593cb4c62a58cc0f98704ba5d7 | Catalin(ux) M. BOIE | 2017-06-25 07:48:21 |
nginx preparations in .spec file and remove hard dependency on a web server | 9aac8ca0a8cb26da4552b9e55f1d4d6b3a4a5d14 | Catalin(ux) M. BOIE | 2017-06-25 07:46:46 |
compare: added 'LDAP groups' item and 'Product distribution/evaluation' category | ee0b6e752dd575ca1f2b94b7d1c9156db89e40c7 | Catalin(ux) M. BOIE | 2017-06-25 07:44:45 |
Improved the installation documentation (add added nginx) | 7282afb958acad6e7a4399442b306df59a9b02c0 | Catalin(ux) M. BOIE | 2017-06-25 07:43:15 |
Docker fixes | 16b1c0adb4518db3a1498c1e30d5a409b692b2bb | Catalin(ux) M. BOIE | 2017-06-25 07:36:09 |
Disabled repo 'Stats' menu because of performance issues | da34324ac9972bac872916aef29d1d4e0b8f0499 | Catalin(ux) M. BOIE | 2017-06-09 17:50:54 |
Manually free memory to improve performance | d6b93c1dc2aef248fba8d5f4a34e57ad3433f82f | Catalin(ux) M. BOIE | 2017-06-09 17:37:37 |
Add a random id to all requests to be able to identify them in the logs | 1a487eb279fb2f77db64dbee1b2c1067b548899b | Catalin(ux) M. BOIE | 2017-05-29 17:09:20 |
Docker improvements and 'make docker' to easy testing | 2171599842a90282c24845d41965ef6f7893342c | Catalin(ux) M. BOIE | 2017-05-28 10:09:21 |
Improved apache sample configuration | de04d409f25a6f5d1fe304069753144c17c4f631 | Catalin(ux) M. BOIE | 2017-05-28 10:07:47 |
Use the database only after we setup the connection | 26487d0f17f510d26ef182b6c0938022b0730752 | Catalin(ux) M. BOIE | 2017-05-25 16:39:53 |
Bump version to 0.68 | 02b4708f1cdad67a810f7f1808364774e8ac4831 | Catalin(ux) M. BOIE | 2017-05-25 14:33:17 |
Small debug of schema_ver | 990ad6c4fad455a284a19ed2a60e80442c4ac9d8 | Catalin(ux) M. BOIE | 2017-05-25 14:32:54 |
TODO updates | ea0e06ee96761e3220ac7a27ede1669c7501b9ba | Catalin(ux) M. BOIE | 2017-05-25 14:29:43 |
Prepare env to use base_url | d6c009c120fce4df47a7651a94619142c8992d52 | Catalin(ux) M. BOIE | 2017-05-24 19:05:08 |
Use base_url function instead of the obsolete web_url variable | a821ee84f3dcf7294ee569dbc2da8b442cb60f29 | Catalin(ux) M. BOIE | 2017-05-24 19:03:49 |
Declare state as loaded only if I can really save it in cache | 10c2fcf9b78d6eb568e81ec34addfa2246d32618 | Catalin(ux) M. BOIE | 2017-05-24 18:53:25 |
Small texts fixes | 9f7998f23276d44435bd3319099d13bcb40c6b7e | Catalin(ux) M. BOIE | 2017-05-24 18:51:50 |
Improved http tests by using persistent connections | 9b77048af3f73f8bf30128d5b07a2bae28315d45 | Catalin(ux) M. BOIE | 2017-05-24 18:48:50 |
Big change allowing http and https to work in parallel | 3f1836953c50735c7860da1f951eb82a42a1940b | Catalin(ux) M. BOIE | 2017-05-24 15:19:39 |
File | Lines added | Lines deleted |
---|---|---|
inc/git.inc.php | 8 | 6 |
File inc/git.inc.php changed (mode: 100644) (index 13a7dc6..df8c2b5) | |||
... | ... | function rg_git_log_simple($repo_path, $max, $from, $to, $also_patch, $files, | |
1104 | 1104 | */ | */ |
1105 | 1105 | function rg_git_log_detect_big_diff($stat, $from) | function rg_git_log_detect_big_diff($stat, $from) |
1106 | 1106 | { | { |
1107 | rg_log_enter('git_log_detect_big_diff'); | ||
1107 | rg_log_enter('git_log_detect_big_diff from=' . $from); | ||
1108 | 1108 | ||
1109 | rg_log_ml('DEBUG: stat: ' . print_r($stat, TRUE)); | ||
1109 | //rg_log_ml('DEBUG: stat: ' . print_r($stat, TRUE)); | ||
1110 | 1110 | ||
1111 | 1111 | $ret = array(); | $ret = array(); |
1112 | 1112 | $pos = 0; | $pos = 0; |
... | ... | function rg_git_log($repo_path, $max, $from, $to, $also_patch, $patch_limit) | |
1230 | 1230 | else | else |
1231 | 1231 | $_files = $i['good_files']; | $_files = $i['good_files']; |
1232 | 1232 | ||
1233 | $x = rg_git_log_simple($repo_path, 0 /*max*/, | ||
1233 | $x = rg_git_log_simple($repo_path, $max, | ||
1234 | 1234 | $i['from'], $i['to'], $also_patch, $_files, | $i['from'], $i['to'], $also_patch, $_files, |
1235 | 1235 | $patch_limit); | $patch_limit); |
1236 | 1236 | if ($x === FALSE) | if ($x === FALSE) |
... | ... | function rg_git_diff($id, $a, $template_file) | |
1438 | 1438 | // TODO: Before stats we must show commit hash, author etc. (source/log/commit/xxxxxx) | // TODO: Before stats we must show commit hash, author etc. (source/log/commit/xxxxxx) |
1439 | 1439 | // TODO: what about committer and time and rest? | // TODO: what about committer and time and rest? |
1440 | 1440 | ||
1441 | $ret .= ":"; | ||
1442 | 1441 | $ret .= "</td></tr>\n"; | $ret .= "</td></tr>\n"; |
1443 | 1442 | ||
1444 | 1443 | $empty_line = ""; | $empty_line = ""; |
... | ... | function rg_git_diff($id, $a, $template_file) | |
1508 | 1507 | ||
1509 | 1508 | /* | /* |
1510 | 1509 | * Show stats for files changed | * Show stats for files changed |
1510 | * @hash - commit hash | ||
1511 | 1511 | * @a = rg_git_log[0]['files'] | * @a = rg_git_log[0]['files'] |
1512 | 1512 | */ | */ |
1513 | function rg_git_files_stats($a, $dir) | ||
1513 | function rg_git_files_stats($hash, $a, $dir) | ||
1514 | 1514 | { | { |
1515 | 1515 | $t = array(); | $t = array(); |
1516 | 1516 | foreach ($a as $index => $info) { | foreach ($a as $index => $info) { |
1517 | 1517 | $line = array(); | $line = array(); |
1518 | $line['hash'] = $hash; | ||
1518 | 1519 | $line['file'] = $info['file']; | $line['file'] = $info['file']; |
1519 | 1520 | $line['add'] = $info['lines_add']; | $line['add'] = $info['lines_add']; |
1520 | 1521 | $line['del'] = $info['lines_del']; | $line['del'] = $info['lines_del']; |
... | ... | function rg_git_log2listing($log, $rg, $commit_table) | |
2066 | 2067 | . $i['vars']['sign_key']; | . $i['vars']['sign_key']; |
2067 | 2068 | ||
2068 | 2069 | // stats | // stats |
2069 | $r = rg_git_files_stats($i['files'], 'repo/fstat'); | ||
2070 | $r = rg_git_files_stats($i['vars']['sha1'], $i['files'], | ||
2071 | 'repo/fstat'); | ||
2070 | 2072 | if ($r === FALSE) | if ($r === FALSE) |
2071 | 2073 | return "Internal error"; | return "Internal error"; |
2072 | 2074 | $ret .= $r; | $ret .= $r; |