Subject | Hash | Author | Date (UTC) |
---|---|---|---|
fixes: ignore some errors | 584eef4cbfb5427eaae34d72ea99b94ec4da29a4 | Catalin(ux) M. BOIE | 2019-09-30 19:52:45 |
cache: functional test for timeout | acaeca2fbceb797b0fb58f1c05bdd8d1f9025f25 | Catalin(ux) M. BOIE | 2019-09-30 19:51:35 |
Fixed rg_git_merge because it was broken | 797a976065420525f9f2c6a096ae306ffa5ed78d | Catalin(ux) M. BOIE | 2019-09-30 19:50:41 |
Disable GC when serving requests from web/fetch/push; we will do it from cron | fd16c96f5f0a6d24e0c6aaf45c5a02833579667a | Catalin(ux) M. BOIE | 2019-09-30 19:48:49 |
git: fixes display of filenames which are not UTF-8 valid | 83b6f641a547a4652aad6e921486d2b91cffdb9f | Catalin(ux) M. BOIE | 2019-09-30 19:46:07 |
rg_change_pass missed a log file name | e49fc9f8c896414098713e418205d97b2e594c1f | Catalin(ux) M. BOIE | 2019-09-22 09:32:59 |
totp: remove a double DELETE sql query and invalidate cache after we remove the data from db | ff22d7ddabc1c64a37fcb1749f54321974b0f8d3 | Catalin(ux) M. BOIE | 2019-09-22 09:28:30 |
selinux: added map (for packs) | 911b2cffa2d754d466a31693af71d6c58639dd9d | Catalin(ux) M. BOIE | 2019-09-22 06:58:44 |
Do not allow : char in user name | 460b846752c03368990b60efbbf12f74e229bda5 | Catalin(ux) M. BOIE | 2019-09-22 05:58:37 |
Do not allow : char in repo name | b072ba3cd6c46e2ee7d07dc5890c8671d8462a09 | Catalin(ux) M. BOIE | 2019-09-22 05:56:56 |
Fix an XSS in repo description | ee2d11f0b16b436d9e64a0c5ac57361d25e098e1 | Catalin(ux) M. BOIE | 2019-09-22 05:45:11 |
Do not allow a user name to start with minus; strlen -> mb_strlen | 755f2a47e99dc3a56cee90b424ee8a9bd84236f8 | Catalin(ux) M. BOIE | 2019-09-22 05:07:01 |
Do not allow a repo to start with minus; strlen -> mb_strlen | 8ac45126805015c868ae8054ea328dc5a16cf31c | Catalin(ux) M. BOIE | 2019-09-22 05:06:41 |
Limit the desciption of the project to 100 chars to be able to pack more repos per page | 1d2714726347b1eb9f113bd9c4d65d301d6502bd | Catalin(ux) M. BOIE | 2019-09-22 04:59:11 |
Changed CIF | 47e6a7b3939898729d4344b8e3a01ac0dbd3e3b1 | Catalin(ux) M. BOIE | 2019-09-22 04:42:59 |
Added git_log1_strange.php to generate strange filenames | 66083c9e3e6633c953bd5e77f28d993687ef2b73 | Catalin(ux) M. BOIE | 2019-09-17 20:01:10 |
tests: cosmetic stuff | 7688f7b901e0fe3a94e2fcb62755af159212d053 | Catalin(ux) M. BOIE | 2019-09-17 20:00:04 |
If rg_dir_load returns false, propagate the error | 6c8640b1200ae7859097e66dd73ba75857a845a5 | Catalin(ux) M. BOIE | 2019-09-17 19:48:25 |
rg_exec - do not return if the program closes stderr | c619b6bc77b3a9bd1c4dea8a01ba3422620f4c90 | Catalin(ux) M. BOIE | 2019-09-17 19:47:26 |
rg_git_from_to: if to is empty, ignore it. | 310506eab4b45a96cd75b69cfe72c54c7c5aa0e6 | Catalin(ux) M. BOIE | 2019-09-17 19:30:44 |
File | Lines added | Lines deleted |
---|---|---|
inc/fixes.inc.php | 5 | 1 |
File inc/fixes.inc.php changed (mode: 100644) (index 56eb3bd..ffccb58) | |||
... | ... | function rg_fixes_repo_index_by_id_one($uid, $repo_id, $repo_name) | |
143 | 143 | $new_path = rg_repo_path_by_id($uid, $repo_id); | $new_path = rg_repo_path_by_id($uid, $repo_id); |
144 | 144 | if (!is_dir($new_path)) { | if (!is_dir($new_path)) { |
145 | 145 | $old_path = rg_user_path_by_id($uid) . "/repos/" . $repo_name . ".git"; | $old_path = rg_user_path_by_id($uid) . "/repos/" . $repo_name . ".git"; |
146 | if (!is_dir($old_path)) { | ||
147 | rg_log('Strange, the old path does not exist! Continue.'); | ||
148 | continue; | ||
149 | } | ||
146 | 150 | $r = rename($old_path, $new_path); | $r = rename($old_path, $new_path); |
147 | 151 | if ($r !== TRUE) { | if ($r !== TRUE) { |
148 | 152 | rg_log("Cannot rename $old_path -> $new_path!"); | rg_log("Cannot rename $old_path -> $new_path!"); |
... | ... | function rg_fixes_needed($db) | |
833 | 837 | if ($old === "") | if ($old === "") |
834 | 838 | $old = 0; | $old = 0; |
835 | 839 | ||
836 | //rg_log("DEBUG: old=$old new=$rg_fixes_ver"); | ||
840 | rg_log("DEBUG: old=$old new=$rg_fixes_ver"); | ||
837 | 841 | if ($old == $rg_fixes_ver) { | if ($old == $rg_fixes_ver) { |
838 | 842 | // fixes are up to date | // fixes are up to date |
839 | 843 | $ret = 0; | $ret = 0; |