Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Improved a little the error message received by git:// | bb2ed8554a00ae532e93bab17285a4a1eb24ec12 | Catalin(ux) M. BOIE | 2016-02-11 21:13:14 |
Show the key size in bits when listing ssh keys | 31583c21cf178475e546ad47a47e56c6982dff09 | Catalin(ux) M. BOIE | 2016-02-08 06:23:43 |
Improved a little the admin report | 1f348f2c163ba1320dce223774b2f677f18d6461 | Catalin(ux) M. BOIE | 2016-02-08 06:23:05 |
Improved a little how a tree is shown | 753af0ef4a6d9fc2f2ddb993335f3c50a3fff2ab | Catalin(ux) M. BOIE | 2016-02-07 06:46:02 |
In admin's report, add in the subject the total number of yesterday's changes | 02a3b4131626b7023ba87a59b188256a601cd13a | Catalin(ux) M. BOIE | 2016-02-07 05:52:47 |
More detailed and correct description for hooks | d3045a11eed05c897381ae2cfcbbf91ede1d4910 | Catalin(ux) M. BOIE | 2016-02-07 05:42:53 |
docker: fixes and improvements for image generation | 37bd416d1664e8d9fcdf4554646618e5dd226e35 | Catalin(ux) M. BOIE | 2016-02-07 05:42:28 |
Added bug template and prefill the bug form assigned to field to the owner of the repo | 682e787ceb92d770e1a268a9f635e4336102cf3b | Catalin(ux) M. BOIE | 2016-02-07 05:38:58 |
Change download location for rocketgit.xml | 41bf40104994391fd5d9938ac891157625872c0d | Catalin(ux) M. BOIE | 2016-02-02 23:04:53 |
Fixes for data encoding for slack | 67b8210aa1c86b891d6760c89ac840f38f4eb025 | Catalin(ux) M. BOIE | 2016-01-30 17:49:57 |
Some TODO updates and some minor text fixes | d4a5bc8e8bc37021ca2c30899c01d8c54d56e5f6 | Catalin(ux) M. BOIE | 2016-01-30 17:38:59 |
Some docker fixes | 36c31d723d45a067980217b1c642f6bb77d54fd9 | Catalin(ux) M. BOIE | 2016-01-30 17:38:25 |
When adding hooks, help the user by providing some defaults (slack for now) | a7f4d8f10f8943508d90e968129b412431a4b0c3 | Catalin(ux) M. BOIE | 2016-01-30 17:37:50 |
Store good key string into the database. | 460245b306d9e7340969b386eecaaa6cfc7f7431 | Catalin(ux) M. BOIE | 2016-01-29 18:23:12 |
Some small fixes for http hooks | 43f8db273aedd804b150ee07a1af23b347687975 | Catalin(ux) M. BOIE | 2016-01-29 18:22:32 |
Bump version | 37e96e0960414a11682c3fc1344e896c93492123 | Catalin(ux) M. BOIE | 2016-01-25 21:28:45 |
Remove debug leftover | f39db0548ef78c2265d675a4199c9c26d53807b3 | Catalin(ux) M. BOIE | 2016-01-25 21:27:33 |
Fixed bad interaction between fixes and structure | fc0fabf8d429a18978908694bc9a86d09bed702b | Catalin(ux) M. BOIE | 2016-01-25 21:27:13 |
Do not allow a failed connection to generate err-* file | 5cf7214e724427ef78a1e8d72eef1be865c2270a | Catalin(ux) M. BOIE | 2016-01-20 22:56:56 |
Log the id of the event | 115138b15e0436b56b7f75f12e5cf0d068989dea | Catalin(ux) M. BOIE | 2016-01-20 19:28:53 |
File | Lines added | Lines deleted |
---|---|---|
scripts/remote.php | 11 | 2 |
File scripts/remote.php changed (mode: 100644) (index 0d77894..6dbd05a) | |||
... | ... | rg_prof_start("remote.php"); | |
23 | 23 | ||
24 | 24 | rg_log_set_file($rg_log_dir . "/remote.log"); | rg_log_set_file($rg_log_dir . "/remote.log"); |
25 | 25 | ||
26 | function git_output($str) | ||
27 | { | ||
28 | echo sprintf("%04x", 4 + 4 + strlen($str)) . 'ERR ' . $str; | ||
29 | } | ||
30 | |||
26 | 31 | function info($str) | function info($str) |
27 | 32 | { | { |
28 | 33 | rg_log("Sending: " . $str); | rg_log("Sending: " . $str); |
... | ... | function fatal($str) | |
44 | 49 | // ssh | // ssh |
45 | 50 | fwrite(STDERR, $str2); | fwrite(STDERR, $str2); |
46 | 51 | } else { | } else { |
47 | echo "\n" . $str2; | ||
52 | // See above for 'info' function | ||
53 | // But, keep in mind that at least git archive --remote | ||
54 | // expects a 4 byte len! | ||
55 | //echo "\n" . $str2; | ||
56 | git_output($str2); | ||
48 | 57 | } | } |
49 | 58 | exit(1); | exit(1); |
50 | 59 | } | } |
... | ... | $owner_ui = rg_user_info($db, 0, $user, ""); | |
188 | 197 | if ($owner_ui['ok'] != 1) | if ($owner_ui['ok'] != 1) |
189 | 198 | fatal("Internal problems. Try again later, please."); | fatal("Internal problems. Try again later, please."); |
190 | 199 | if ($owner_ui['exists'] != 1) | if ($owner_ui['exists'] != 1) |
191 | fatal("User does not exists (repo)."); | ||
200 | fatal("User does not exists."); | ||
192 | 201 | ||
193 | 202 | // Loading info about the repository | // Loading info about the repository |
194 | 203 | if (rg_repo_ok($repo) !== TRUE) | if (rg_repo_ok($repo) !== TRUE) |