Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Corrected 'rights' unit test. | b3657cb073291681e8e3fd6ec9523bf550081d8e | Catalin(ux) M. BOIE | 2015-07-14 04:14:48 |
Remove more junk from testing folder. | 0e769caa8f59615804312c488b74683288243196 | Catalin(ux) M. BOIE | 2015-07-14 04:14:27 |
Bump version to 0.38 | b5e57d1da1a8a4a207234e1de4dcc4b6cdbe56ed | Catalin(ux) M. BOIE | 2015-07-13 20:19:32 |
Fix the islands | 4f5d52ff6f87bb1dc48003337d42a6e3a2d98711 | Catalin(ux) M. BOIE | 2015-07-13 20:18:53 |
Open my webpage in another tab | 54bc4e25313e41a2c0c46f186dc44e9223b9e69e | Catalin(ux) M. BOIE | 2015-07-13 20:18:04 |
Switch to Affero GPLv3! | eb00fa19c6d3db33cf93b89b35ff08cc41a0d620 | Catalin(ux) M. BOIE | 2015-07-13 15:54:53 |
TODO stuff. | 1715e3f2a5f61fb9afa77bd0a8ffa9096248e5db | Catalin(ux) M. BOIE | 2015-07-13 15:50:11 |
Added a message for when the ToS is denied. | c46cad3154c6aaf0cac43d2a765e8b456440510d | Catalin(ux) M. BOIE | 2015-07-13 15:49:25 |
CSS changes, rework of <label> element. | c307acb2b9340adbcfa2442c2abd88f72a72ab15 | Catalin(ux) M. BOIE | 2015-07-13 15:48:07 |
Add support for accepting ToS. | 53e96aea10cb7559c84ca47b53c20b503031b2f1 | Catalin(ux) M. BOIE | 2015-07-13 15:45:46 |
Fixed suggestions' 'yesterday' report. | d6b54bd62c35ca1e58b4b7e45bb5d3e48844712b | Catalin(ux) M. BOIE | 2015-07-09 03:30:36 |
More texts changes and ToS is bigger now. | 062bd66f4c403116edd34d592ac668732a0dde05 | Catalin(ux) M. BOIE | 2015-07-09 03:29:36 |
If user has no repos, go directly to 'create' page. | d22f90ace3af3241e5554c82bbf633d68a549be4 | Catalin(ux) M. BOIE | 2015-07-09 03:28:47 |
On account creation, we did not set the 'confirmed' field. | 7e83a1661aa078ae9a3160aa43586c76307e56d0 | Catalin(ux) M. BOIE | 2015-07-09 03:27:41 |
Do not add a border for submenus. | b51bce132dceef556d32f7e7caa788ec9b3cd519 | Catalin(ux) M. BOIE | 2015-07-06 04:31:14 |
Small changes to the rights pages. | a1fea38da6d0ca29126d9f030addc426cb2b0ab2 | Catalin(ux) M. BOIE | 2015-07-06 04:30:46 |
Improved a little but the report1. | f4196351fc9cda4e9c213d30077859e7be7ead65 | Catalin(ux) M. BOIE | 2015-07-06 04:01:03 |
Add a history entry when a repo is created. | 884f64b72469b10a14b086e6572b6e464ce23378 | Catalin(ux) M. BOIE | 2015-07-06 03:49:37 |
Cache improvements (no wait when no needed) and layout changes. | e51ecf91f18a7533a009530075bb0710e4caae63 | Catalin(ux) M. BOIE | 2015-07-02 19:39:46 |
Seems empty additional_headers will trigger a nasty error in php. | 3aaa0b5b7cc18277a8ca4b404c40b0eb15383681 | Catalin(ux) M. BOIE | 2015-07-02 04:53:58 |
File | Lines added | Lines deleted |
---|---|---|
tests/repo.php | 6 | 2 |
File tests/repo.php changed (mode: 100644) (index b14d253..93ff574) | |||
... | ... | $sql = "DELETE FROM users WHERE uid = 12"; | |
31 | 31 | $res = rg_sql_query($db, $sql); | $res = rg_sql_query($db, $sql); |
32 | 32 | rg_sql_free_result($res); | rg_sql_free_result($res); |
33 | 33 | ||
34 | $sql = "DELETE FROM rights WHERE uid = 12"; | ||
35 | $res = rg_sql_query($db, $sql); | ||
36 | rg_sql_free_result($res); | ||
37 | |||
34 | 38 | rg_log("rg_repo_path 1"); | rg_log("rg_repo_path 1"); |
35 | 39 | $e = $rg_repos . "/by_id/11/22/33/44/11223344/repos/by_id/55.git"; | $e = $rg_repos . "/by_id/11/22/33/44/11223344/repos/by_id/55.git"; |
36 | 40 | $c = rg_repo_path_by_id(0x11223344, 55); | $c = rg_repo_path_by_id(0x11223344, 55); |
... | ... | if ($r === FALSE) { | |
219 | 223 | rg_log("Cannot list rights (" . rg_repo_error() . ")"); | rg_log("Cannot list rights (" . rg_repo_error() . ")"); |
220 | 224 | exit(1); | exit(1); |
221 | 225 | } | } |
222 | if (count($r) != 2) { | ||
226 | if (count($r) != 3) { | ||
223 | 227 | rg_log_ml("r=" . print_r($r, TRUE)); | rg_log_ml("r=" . print_r($r, TRUE)); |
224 | rg_log("Cannot load all rights!"); | ||
228 | rg_log("Cannot load all rights (should be 3, have " . count($r) . ")!"); | ||
225 | 229 | exit(1); | exit(1); |
226 | 230 | } | } |
227 | 231 | // TODO: we should test if expected fields are returned! | // TODO: we should test if expected fields are returned! |