Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Allow del_tree on a non-existing repository | ecee062a80ca607be91942347deff00f042f6489 | Catalin(ux) M. BOIE | 2016-04-06 16:17:41 |
Improved user info caching | a0ec540e7be1aa620a559c6f77537b9687aacc11 | Catalin(ux) M. BOIE | 2016-04-06 16:16:54 |
Improved git_init function | c2732004dbb1695444be3030111faf4401c83fb1 | Catalin(ux) M. BOIE | 2016-04-06 16:16:09 |
Improved docker image creation | ec28c883d9f7c9c69d80302a7d70ea1d630b070c | Catalin(ux) M. BOIE | 2016-04-06 16:15:11 |
Improved installation (checksum for postgres, useless SELinux booleans | 4d9dcd67da247000a19a2f81aebd81f265bfe293 | Catalin(ux) M. BOIE | 2016-04-06 16:14:25 |
Add RLUG to history | c84c2eaab9c1eb7e6898ef14f12fd8701c6fc285 | Catalin(ux) M. BOIE | 2016-04-06 16:13:32 |
Added unit test for e-mail confirmation | 8a835c3ffa6f27c208fef6b4525f9aa571c603f6 | Catalin(ux) M. BOIE | 2016-03-27 11:41:35 |
Avoid caching in docker | c8bc0ff648b60aa159c2a83d8ab1db3c574f19c3 | Catalin(ux) M. BOIE | 2016-03-14 16:32:25 |
Do not allow random input as reference | fe5d01344b9131edeb2812f72549bf74d8242653 | Catalin(ux) M. BOIE | 2016-03-14 16:31:59 |
Bump version to 0.50 | 485f0f8bae787bfbd7c52c9b934af977d8a2b871 | Catalin(ux) M. BOIE | 2016-03-11 23:32:34 |
Fixed bug add menu | 47d48b6bbf669bd51d6876521fa288d217dda5d2 | Catalin(ux) M. BOIE | 2016-03-11 23:32:02 |
docker small fixes | 1e68d0bbf8e16365068636a4e813c8ae0db2be5c | Catalin(ux) M. BOIE | 2016-03-11 23:31:34 |
Corrected a problem in spec file | 8d28fc4e9d66d9a07d1148d893176a99533f8796 | Catalin(ux) M. BOIE | 2016-03-11 17:33:18 |
Bump version to v0.49 | 1481eafa69e1b2f2e2922a7b26acc3dc9a56f1a3 | Catalin(ux) M. BOIE | 2016-03-11 17:26:13 |
Just some comments | 96f8542619d772c29b9bb07e4a066b7302d6f35c | Catalin(ux) M. BOIE | 2016-03-11 17:25:29 |
TODO clean-ups | 3e34a304a204792b1a1a0b403c88e3164441066c | Catalin(ux) M. BOIE | 2016-03-09 17:27:10 |
Document web hooks and anonymous push | 449e2d788ec06a49cc93f7d058df51ec351b9244 | Catalin(ux) M. BOIE | 2016-03-09 17:26:29 |
Do not log password in logs | 4e183a15605f4b338863ea97192e46e0cf62cfe8 | Catalin(ux) M. BOIE | 2016-03-09 17:25:52 |
Do not continue to show objects if repo returned an error | cd2a6a06d7867bb5da19108c6ab575e741b8b08e | Catalin(ux) M. BOIE | 2016-03-09 03:50:28 |
Make more clearer the events error message | c76dd790a73e04318f0fc58b22d7701858e7dadf | Catalin(ux) M. BOIE | 2016-03-08 20:57:37 |
File | Lines added | Lines deleted |
---|---|---|
inc/util.inc.php | 5 | 5 |
File inc/util.inc.php changed (mode: 100644) (index eff4a4f..57b6315) | |||
... | ... | function rg_del_tree($dst) | |
1224 | 1224 | global $php_errormsg; | global $php_errormsg; |
1225 | 1225 | ||
1226 | 1226 | rg_prof_start('del_tree'); | rg_prof_start('del_tree'); |
1227 | rg_log_enter('del_tree(' . $dst . ')'); | ||
1228 | 1227 | ||
1229 | 1228 | $ret = FALSE; | $ret = FALSE; |
1230 | 1229 | while (1) { | while (1) { |
1231 | if (!is_dir($dst)) | ||
1230 | if (!is_dir($dst)) { | ||
1231 | $ret = TRUE; | ||
1232 | 1232 | break; | break; |
1233 | } | ||
1233 | 1234 | ||
1234 | 1235 | $d = rg_dir_load($dst); | $d = rg_dir_load($dst); |
1235 | 1236 | if ($d === FALSE) | if ($d === FALSE) |
... | ... | function rg_del_tree($dst) | |
1246 | 1247 | } else { | } else { |
1247 | 1248 | $r = @unlink($dst . '/' . $obj); | $r = @unlink($dst . '/' . $obj); |
1248 | 1249 | if ($r !== TRUE) { | if ($r !== TRUE) { |
1249 | rg_log("ERROR: Cannot del file ($php_errormsg)."); | ||
1250 | rg_log("ERROR: Cannot del file [" . $dst . '/' . $obj . "] ($php_errormsg)."); | ||
1250 | 1251 | $err = TRUE; | $err = TRUE; |
1251 | 1252 | break; | break; |
1252 | 1253 | } | } |
... | ... | function rg_del_tree($dst) | |
1255 | 1256 | ||
1256 | 1257 | $r = @rmdir($dst); | $r = @rmdir($dst); |
1257 | 1258 | if ($r !== TRUE) { | if ($r !== TRUE) { |
1258 | rg_log("ERROR: Cannot del dir ($php_errormsg)."); | ||
1259 | rg_log("ERROR: Cannot del dir [" . $dst . "] ($php_errormsg)."); | ||
1259 | 1260 | $err = TRUE; | $err = TRUE; |
1260 | 1261 | break; | break; |
1261 | 1262 | } | } |
... | ... | function rg_del_tree($dst) | |
1265 | 1266 | break; | break; |
1266 | 1267 | } | } |
1267 | 1268 | ||
1268 | rg_log_exit(); | ||
1269 | 1269 | rg_prof_end('del_tree'); | rg_prof_end('del_tree'); |
1270 | 1270 | return $ret; | return $ret; |
1271 | 1271 | } | } |