Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Some more error testing for http_confirm test | 1f36b1f55465c57e935b830e456d8f8044ec17da | Catalin(ux) M. BOIE | 2019-09-30 19:53:38 |
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 |
File | Lines added | Lines deleted |
---|---|---|
tests/http_confirm.php | 10 | 1 |
File tests/http_confirm.php changed (mode: 100644) (index f1d756b..017d961) | |||
... | ... | rg_log_exit(); | |
69 | 69 | ||
70 | 70 | rg_log_enter('Finding confirmation link...'); | rg_log_enter('Finding confirmation link...'); |
71 | 71 | $key = 'DEBUG::' . $uid . '::mail'; | $key = 'DEBUG::' . $uid . '::mail'; |
72 | $tries = 10; | ||
72 | $tries = 30; | ||
73 | 73 | while ($tries) { | while ($tries) { |
74 | 74 | $c = rg_cache_get($key); | $c = rg_cache_get($key); |
75 | 75 | if ($c !== FALSE) | if ($c !== FALSE) |
... | ... | while ($tries) { | |
78 | 78 | $tries--; | $tries--; |
79 | 79 | sleep(1); | sleep(1); |
80 | 80 | } | } |
81 | if ($c === FALSE) { | ||
82 | rg_log('Cannot get key ' . $key . '!'); | ||
83 | exit(1); | ||
84 | } | ||
81 | 85 | rg_log_ml('c: ' . print_r($c, TRUE)); | rg_log_ml('c: ' . print_r($c, TRUE)); |
82 | 86 | $c = $c['mail/user/welcome']; | $c = $c['mail/user/welcome']; |
83 | 87 | $t = explode('below:', $c['body']); | $t = explode('below:', $c['body']); |
88 | if (!isset($t[1])) { | ||
89 | rg_log_ml('r: ' . print_r($c['body'], TRUE)); | ||
90 | rg_log('seems I cannot explode by \'below:\'!'); | ||
91 | exit(1); | ||
92 | } | ||
84 | 93 | $t = ltrim($t[1]); | $t = ltrim($t[1]); |
85 | 94 | $t = explode("\n", $t); | $t = explode("\n", $t); |
86 | 95 | $link = $t[0]; | $link = $t[0]; |