Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Corrected typos and made clear some comments/hints | ab0c22fb84e13b9699b45ca8bc8181dd15f7a4a5 | Catalin(ux) M. BOIE | 2016-09-25 20:23:59 |
Do not show the query in the error message in plan.inc.php | feee2b816a64c9032e2fc9c37bb1a8216d43bc62 | Catalin(ux) M. BOIE | 2016-09-25 20:23:04 |
Renamed systemd.service to rocketgit-fpm.service | e24cc46ce59727f6acccb674e4ab53430a877171 | Catalin(ux) M. BOIE | 2016-09-25 20:21:35 |
.spec file fixes: use %{_unitdir} instead of @USR@/lib and systemd dependency | f39aea08f7b63aae84b3bc4f68bc8995f06e52e9 | Catalin(ux) M. BOIE | 2016-09-21 18:45:27 |
Fix duilder: forgot to replace @USR@ | d2d4920111d02c35944e15da642728a4b695c9ff | Catalin(ux) M. BOIE | 2016-09-21 17:56:15 |
Bump version to 0.57 | b8be77c83936b5083d004f380ec0366d5562342e | Catalin(ux) M. BOIE | 2016-09-21 17:26:09 |
In features, add something about Affero | ee43843c67c6d495a545773d87ed5c002b99483f | Catalin(ux) M. BOIE | 2016-09-21 17:12:06 |
fix a unit test | e1145815a78faa7f24e899750547ba893a05d173 | Catalin(ux) M. BOIE | 2016-09-21 16:56:01 |
Invalid repo path used | 8d9766033596179b235d6756a0af551a503278f2 | Catalin(ux) M. BOIE | 2016-09-21 16:54:52 |
Typo | b0b945bb27ce33e5065de0e59aca757b92852c60 | Catalin(ux) M. BOIE | 2016-09-21 16:54:13 |
git remote change was replaced with git remote set-url | 06d39d3519b2d026a4fe425586a64822cf430d4b | Catalin(ux) M. BOIE | 2016-09-21 16:53:49 |
Lots of fixes for html/css to adapt to any device | 8558dc5641c14bd49187ef40eea4d2f58f56b337 | Catalin(ux) M. BOIE | 2016-09-21 16:52:59 |
Author file update | 4face2cce133cc994efc67a1721a5260af3ab2a1 | Catalin(ux) M. BOIE | 2016-09-21 16:51:04 |
duilder fixes (USR was not defined) | fd5ff1e7c3d974714570237c323ece393aaaa85b | Catalin(ux) M. BOIE | 2016-09-21 16:50:39 |
Autodetect admin e-mail based on host name | 52901d8c0f73af6e909738ac8bc1cf331787e55e | Catalin(ux) M. BOIE | 2016-09-20 02:43:55 |
When ssh host nmae is autodetected, it must not also use the http port | c5dea927e57df2ac32a34037c5c36d829dc9356f | Catalin(ux) M. BOIE | 2016-09-19 16:25:14 |
Adapt a little bit the install guide because of php-fpm | cd6a0d9755dfb7b2a8b283e53d838b9724f22697 | Catalin(ux) M. BOIE | 2016-09-17 10:45:59 |
Bump version to 0.56 | 5c2c03e15864ebe466ac4dd3f8b0d761c363b13e | Catalin(ux) M. BOIE | 2016-09-17 10:45:16 |
Debian: adapt a little bit the dependencies | 47f680a9e0330a360919b33255a403d1d99e47fc | Catalin(ux) M. BOIE | 2016-09-17 10:44:43 |
Now is safe to install rocketgit on a multiuser machine | 5e945f6440609d2da3240acde977ca60b9e94b97 | Catalin(ux) M. BOIE | 2016-09-17 10:23:30 |
File | Lines added | Lines deleted |
---|---|---|
inc/workers.inc.php | 4 | 3 |
root/themes/default/user/settings/workers/hints.html | 2 | 2 |
tests/ssh.php | 1 | 1 |
File inc/workers.inc.php changed (mode: 100644) (index 7e77f17..43096a2) | |||
... | ... | function rg_worker_sort_alpha($a, $b) | |
118 | 118 | } | } |
119 | 119 | ||
120 | 120 | /* | /* |
121 | * Loads info about a worker | ||
121 | * Loads the list of workers for a user | ||
122 | 122 | */ | */ |
123 | 123 | function rg_worker_list($db, $uid) | function rg_worker_list($db, $uid) |
124 | 124 | { | { |
... | ... | function rg_worker_list_all($db, $uid) | |
192 | 192 | */ | */ |
193 | 193 | function rg_worker_find_by_id($db, $uid, $id) | function rg_worker_find_by_id($db, $uid, $id) |
194 | 194 | { | { |
195 | rg_log_enter('worker_find_by_uid uid=' . $uid . ' id=' . $id); | ||
195 | rg_log_enter('worker_find_by_id uid=' . $uid . ' id=' . $id); | ||
196 | 196 | ||
197 | 197 | $ret = -1; | $ret = -1; |
198 | 198 | while (1) { | while (1) { |
... | ... | function rg_worker_remove($db, $uid, $list) | |
475 | 475 | ||
476 | 476 | ||
477 | 477 | /* | /* |
478 | * Workers - add | ||
478 | * Workers - add/edit | ||
479 | 479 | */ | */ |
480 | 480 | function rg_worker_add_high_level($db, $rg, $op, $paras) | function rg_worker_add_high_level($db, $rg, $op, $paras) |
481 | 481 | { | { |
... | ... | function rg_worker_add_high_level($db, $rg, $op, $paras) | |
558 | 558 | $ret .= rg_template('user/settings/workers/add_ok.html', | $ret .= rg_template('user/settings/workers/add_ok.html', |
559 | 559 | $rg, TRUE /*xss*/); | $rg, TRUE /*xss*/); |
560 | 560 | ||
561 | // Load default values for the next 'add' operation | ||
561 | 562 | $rg['worker']['id'] = 0; | $rg['worker']['id'] = 0; |
562 | 563 | $rg['worker']['name'] = ''; | $rg['worker']['name'] = ''; |
563 | 564 | $rg['worker']['key'] = rg_id(32); | $rg['worker']['key'] = rg_id(32); |
File root/themes/default/user/settings/workers/hints.html changed (mode: 100644) (index b0f9d4e..3dba743) | |||
1 | 1 | <br /> | <br /> |
2 | Workers are used to process build jobs.<br /> | ||
3 | Global workers are available for building at rocketgit.com, so, | ||
2 | Workers are used to process build and deployment jobs.<br /> | ||
3 | Global workers are available for building at rocketgit.com, so | ||
4 | 4 | just configure a build webhook.<br /> | just configure a build webhook.<br /> |
5 | 5 | Cost - it is used to decide on which worker to send a job; bigger = less | Cost - it is used to decide on which worker to send a job; bigger = less |
6 | 6 | chances to choose it.<br /> | chances to choose it.<br /> |
File tests/ssh.php changed (mode: 100644) (index 5753a7e..0f65da5) | |||
... | ... | $sql = "UPDATE scratch_codes SET sc = '0' || substring(sc from 1 for 7)" | |
176 | 176 | . " WHERE uid = " . $rg_ui['uid']; | . " WHERE uid = " . $rg_ui['uid']; |
177 | 177 | $res = rg_sql_query($db, $sql); | $res = rg_sql_query($db, $sql); |
178 | 178 | rg_sql_free_result($res); | rg_sql_free_result($res); |
179 | // we want to test with a short code, so, insert one and flush cache | ||
179 | // we want to test with a short code, so insert one and flush cache | ||
180 | 180 | $key = 'user::' . $rg_ui['uid'] . '::login_tokens::sc'; | $key = 'user::' . $rg_ui['uid'] . '::login_tokens::sc'; |
181 | 181 | rg_cache_unset($key, 0); | rg_cache_unset($key, 0); |
182 | 182 | foreach ($sc as &$t) | foreach ($sc as &$t) |