List of commits:
Subject Hash Author Date (UTC)
CSS fixes to make the spaces the same all over the place 6abddc6fc655a8b67537f46106467229ed687dcc Catalin(ux) M. BOIE 2016-02-14 11:19:07
minor: reorder functions 4c02703e69e56289670e96952b49c55fadcab671 Catalin(ux) M. BOIE 2016-02-14 09:40:44
Show ssh key type before number of bits 980da7f8b9c3380c169547c2b1f522e7d52f0398 Catalin(ux) M. BOIE 2016-02-12 05:20:21
Improved a little the error message received by git:// bb2ed8554a00ae532e93bab17285a4a1eb24ec12 Catalin(ux) M. BOIE 2016-02-11 21:13:14
Show the key size in bits when listing ssh keys 31583c21cf178475e546ad47a47e56c6982dff09 Catalin(ux) M. BOIE 2016-02-08 06:23:43
Improved a little the admin report 1f348f2c163ba1320dce223774b2f677f18d6461 Catalin(ux) M. BOIE 2016-02-08 06:23:05
Improved a little how a tree is shown 753af0ef4a6d9fc2f2ddb993335f3c50a3fff2ab Catalin(ux) M. BOIE 2016-02-07 06:46:02
In admin's report, add in the subject the total number of yesterday's changes 02a3b4131626b7023ba87a59b188256a601cd13a Catalin(ux) M. BOIE 2016-02-07 05:52:47
More detailed and correct description for hooks d3045a11eed05c897381ae2cfcbbf91ede1d4910 Catalin(ux) M. BOIE 2016-02-07 05:42:53
docker: fixes and improvements for image generation 37bd416d1664e8d9fcdf4554646618e5dd226e35 Catalin(ux) M. BOIE 2016-02-07 05:42:28
Added bug template and prefill the bug form assigned to field to the owner of the repo 682e787ceb92d770e1a268a9f635e4336102cf3b Catalin(ux) M. BOIE 2016-02-07 05:38:58
Change download location for rocketgit.xml 41bf40104994391fd5d9938ac891157625872c0d Catalin(ux) M. BOIE 2016-02-02 23:04:53
Fixes for data encoding for slack 67b8210aa1c86b891d6760c89ac840f38f4eb025 Catalin(ux) M. BOIE 2016-01-30 17:49:57
Some TODO updates and some minor text fixes d4a5bc8e8bc37021ca2c30899c01d8c54d56e5f6 Catalin(ux) M. BOIE 2016-01-30 17:38:59
Some docker fixes 36c31d723d45a067980217b1c642f6bb77d54fd9 Catalin(ux) M. BOIE 2016-01-30 17:38:25
When adding hooks, help the user by providing some defaults (slack for now) a7f4d8f10f8943508d90e968129b412431a4b0c3 Catalin(ux) M. BOIE 2016-01-30 17:37:50
Store good key string into the database. 460245b306d9e7340969b386eecaaa6cfc7f7431 Catalin(ux) M. BOIE 2016-01-29 18:23:12
Some small fixes for http hooks 43f8db273aedd804b150ee07a1af23b347687975 Catalin(ux) M. BOIE 2016-01-29 18:22:32
Bump version 37e96e0960414a11682c3fc1344e896c93492123 Catalin(ux) M. BOIE 2016-01-25 21:28:45
Remove debug leftover f39db0548ef78c2265d675a4199c9c26d53807b3 Catalin(ux) M. BOIE 2016-01-25 21:27:33
Commit 6abddc6fc655a8b67537f46106467229ed687dcc - CSS fixes to make the spaces the same all over the place
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-02-14 11:19
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-02-14 11:26
Parent(s): 4c02703e69e56289670e96952b49c55fadcab671
Signing key:
Tree: 5ef9bf28317f1acc9d593c01e2493f7647aad04e
File Lines added Lines deleted
inc/repo.inc.php 8 6
inc/repo/repo.php 2 0
inc/totp.inc.php 3 2
inc/user/repo-page.php 1 0
inc/user/settings.php 16 12
inc/webhooks.inc.php 3 3
root/themes/default/main.css 24 11
root/themes/default/repo/list/header.html 0 1
root/themes/default/repo/main.html 1 0
root/themes/default/user/keys/list/header.html 1 1
root/themes/default/user/settings/menu.html 1 0
root/themes/default/user/settings/totp/list/header.html 1 1
root/themes/default/user/settings/totp/sc/list/header.html 1 1
File inc/repo.inc.php changed (mode: 100644) (index bf1c8d8..9aa4eff)
... ... function rg_repo_admin($db, &$rg, $paras)
1973 1973 $rg['allow_delete_repo'] = 1; $rg['allow_delete_repo'] = 1;
1974 1974
1975 1975 $rg['menu']['repo'][$_op] = 1; $rg['menu']['repo'][$_op] = 1;
1976 $ret .= rg_template("user/repo/menu.html", $rg, TRUE /* xss */);
1976 $rg['HTML:menu_repo_level2'] = rg_template("user/repo/menu.html", $rg, TRUE /* xss */);
1977 1977
1978 1978 switch ($_op) { switch ($_op) {
1979 1979 case 'repo_rights': case 'repo_rights':
 
... ... function rg_repo_search_high_level($db, $rg, $ui, $url)
2017 2017
2018 2018 $errmsg = array(); $errmsg = array();
2019 2019
2020 $rg['q'] = $q;
2021 $rg['HTML:errmsg'] = rg_template_errmsg($errmsg);
2022 $rg['search_url'] = $url;
2023 $ret .= rg_template("repo/search.html", $rg, TRUE /* xss */);
2024
2020 2025 while ($rg['doit'] == 1) { while ($rg['doit'] == 1) {
2021 2026 $_t = rg_repo_search($db, $ui, $q); $_t = rg_repo_search($db, $ui, $q);
2022 2027 if ($_t === FALSE) { if ($_t === FALSE) {
 
... ... function rg_repo_search_high_level($db, $rg, $ui, $url)
2028 2033 break; break;
2029 2034 } }
2030 2035
2031 $rg['q'] = $q;
2032 $rg['HTML:errmsg'] = rg_template_errmsg($errmsg);
2033 $rg['search_url'] = $url;
2034 $ret .= rg_template("repo/search.html", $rg, TRUE /* xss */);
2035
2036 2036 return $ret; return $ret;
2037 2037 } }
2038 2038
 
... ... function rg_repo_discover($db, $op, $rg, $ui)
2061 2061
2062 2062 $rg['discover_menu_' . $op] = 1; $rg['discover_menu_' . $op] = 1;
2063 2063 $ret .= rg_template('repo/discover.html', $rg, TRUE /* xss */); $ret .= rg_template('repo/discover.html', $rg, TRUE /* xss */);
2064 $ret .= '<div class="generic_body">' . "\n";
2064 2065 $ret .= $x; $ret .= $x;
2066 $ret .= '</div>' . "\n";
2065 2067
2066 2068 return $ret; return $ret;
2067 2069 } }
File inc/repo/repo.php changed (mode: 100644) (index a420c89..9adb817)
... ... if (empty($paras)) {
16 16
17 17 $rg['repo_menu'][$_subop] = 1; $rg['repo_menu'][$_subop] = 1;
18 18 $_repo = rg_template("repo/menu.html", $rg, TRUE /* xss */); $_repo = rg_template("repo/menu.html", $rg, TRUE /* xss */);
19 $_repo .= '<div class="generic_body">' . "\n";
19 20
20 21 switch ($_subop) { switch ($_subop) {
21 22 case 'create': case 'create':
 
... ... case 'list':
33 34 break; break;
34 35 } }
35 36
37 $_repo .= '</div>' . "\n";
36 38 ?> ?>
File inc/totp.inc.php changed (mode: 100644) (index 2dbebcd..23a1338)
... ... function rg_totp_enroll_high_level($db, $rg, $paras)
1336 1336 /* /*
1337 1337 * Main HL function for TOTP login token * Main HL function for TOTP login token
1338 1338 */ */
1339 function rg_totp_high_level($db, $rg, $paras)
1339 function rg_totp_high_level($db, &$rg, $paras)
1340 1340 { {
1341 1341 rg_prof_start('totp_high_level'); rg_prof_start('totp_high_level');
1342 1342 rg_log_enter('totp_high_level'); rg_log_enter('totp_high_level');
 
... ... function rg_totp_high_level($db, $rg, $paras)
1348 1348 $op = empty($paras) ? 'info' : array_shift($paras); $op = empty($paras) ? 'info' : array_shift($paras);
1349 1349 $rg['menu']['totp'][$op] = 1; $rg['menu']['totp'][$op] = 1;
1350 1350
1351 $ret .= rg_template('user/settings/totp/menu.html', $rg, TRUE /*xss*/);
1351 $rg['HTML:menu_set_level2'] =
1352 rg_template('user/settings/totp/menu.html', $rg, TRUE /*xss*/);
1352 1353
1353 1354 switch ($op) { switch ($op) {
1354 1355 case 'info': // we show only the hints case 'info': // we show only the hints
File inc/user/repo-page.php changed (mode: 100644) (index a8061b9..9f52d9c)
... ... $repo_path = rg_repo_path_by_id($rg['ri']['uid'], $rg['ri']['repo_id']);
69 69 rg_log("repo_path=$repo_path"); rg_log("repo_path=$repo_path");
70 70 putenv("GIT_DIR=$repo_path"); // TODO: this will be removed after all functios will got a path para putenv("GIT_DIR=$repo_path"); // TODO: this will be removed after all functios will got a path para
71 71
72 $rg['HTML:menu_repo_level2'] = '';
72 73 $rg['HTML:branches_and_tags'] = ''; $rg['HTML:branches_and_tags'] = '';
73 74 $_repo_body = ""; $_repo_body = "";
74 75
File inc/user/settings.php changed (mode: 100644) (index 3890c4a..76c7313)
... ... $errmsg = array();
15 15
16 16 $_subop = empty($paras) ? "edit_info" : array_shift($paras); $_subop = empty($paras) ? "edit_info" : array_shift($paras);
17 17
18 $rg['set_menu'][$_subop] = 1;
19 $_settings = rg_template("user/settings/menu.html", $rg, TRUE /* xss */);
18 $rg['HTML:menu_set_level2'] = '';
20 19
21 20 switch ($_subop) { switch ($_subop) {
22 case 'edit_info':
23 $rg['ask_for_pass'] = 0;
24 $rg['no_tos'] = 1; // we ask for only for account creation
25 $_settings .= rg_user_edit_high_level($db, $rg);
26 break;
27
28 21 case 'change_pass': case 'change_pass':
29 22 include($INC . "/user/pass/pass.php"); include($INC . "/user/pass/pass.php");
30 $_settings .= $_pass;
23 $_settings_body = $_pass;
31 24 break; break;
32 25
33 26 case 'keys': case 'keys':
34 27 include($INC . "/user/keys/keys.php"); include($INC . "/user/keys/keys.php");
35 $_settings .= $_keys;
28 $_settings_body = $_keys;
36 29 break; break;
37 30
38 31 case 'totp': case 'totp':
39 $_settings .= rg_totp_high_level($db, $rg, $paras);
32 $_settings_body = rg_totp_high_level($db, $rg, $paras);
40 33 break; break;
41 34
42 35 case 'wh': case 'wh':
43 $_settings .= rg_wh_high_level($db, $rg, $paras);
36 $_settings_body = rg_wh_high_level($db, $rg, $paras);
37 break;
38
39 default:
40 $rg['ask_for_pass'] = 0;
41 $rg['no_tos'] = 1; // we ask for only for account creation
42 $_settings_body = rg_user_edit_high_level($db, $rg);
44 43 break; break;
45 44 } }
46 45
46 $rg['set_menu'][$_subop] = 1;
47 $_settings = rg_template("user/settings/menu.html", $rg, TRUE /* xss */);
48 $_settings .= '<div class="generic_body">' . "\n";
49 $_settings .= $_settings_body;
50 $_settings .= '</div>' . "\n";
47 51 ?> ?>
File inc/webhooks.inc.php changed (mode: 100644) (index 20c6972..e26df57)
... ... function rg_wh_add_high_level($db, $rg, $op, $paras)
203 203 /* /*
204 204 * Main HL function for webhooks * Main HL function for webhooks
205 205 */ */
206 function rg_wh_high_level($db, $rg, $paras)
206 function rg_wh_high_level($db, &$rg, $paras)
207 207 { {
208 208 rg_prof_start('wh_high_level'); rg_prof_start('wh_high_level');
209 209 rg_log_enter('wh_high_level'); rg_log_enter('wh_high_level');
 
... ... function rg_wh_high_level($db, $rg, $paras)
213 213 $op = empty($paras) ? 'list' : array_shift($paras); $op = empty($paras) ? 'list' : array_shift($paras);
214 214 $rg['menu']['wh'][$op] = 1; $rg['menu']['wh'][$op] = 1;
215 215
216 $ret .= rg_template('user/settings/wh/menu.html',
217 $rg, TRUE /*xss*/);
216 $rg['HTML:menu_set_level2'] =
217 rg_template('user/settings/wh/menu.html', $rg, TRUE /*xss*/);
218 218
219 219 switch ($op) { switch ($op) {
220 220 case 'add': case 'add':
File root/themes/default/main.css changed (mode: 100644) (index 2f1f667..f73e7b1)
... ... a {
44 44 font-family: monospace; font-family: monospace;
45 45 } }
46 46
47 form { margin-top: 5pt }
48 form p { margin-top: 5pt }
47 form { }
48 form p { margin-top: 8pt }
49 49 form input[type="text"], form input[type="password"], form input[type="text"], form input[type="password"],
50 50 form input[type="radio"], form input[type="checkbox"], form input[type="radio"], form input[type="checkbox"],
51 51 form textarea, form select { form textarea, form select {
 
... ... legend { padding: 0px 2pt; }
247 247
248 248 .formarea { .formarea {
249 249 text-align: left; text-align: left;
250 margin-top: 5pt;
251 250 border: 1px solid #999998; border: 1px solid #999998;
252 251 padding: 5pt; padding: 5pt;
253 252 border-radius: 4px 4px 4px 4px; border-radius: 4px 4px 4px 4px;
254 253 align-self: center; align-self: center;
255 254 } }
255 .formarea:not(:first-child) {
256 margin-top: 8pt;
257 }
256 258
257 259 .formarea_title { .formarea_title {
258 260 font-weight: bold; font-weight: bold;
 
... ... legend { padding: 0px 2pt; }
261 263 border-bottom: 2px solid #999998; border-bottom: 2px solid #999998;
262 264 } }
263 265
264 .rg_keys_list {
265 margin-top: 20px;
266 .keys_list {
267 margin-top: 8pt;
266 268 } }
267 269
268 270 .rg_plans_list {} .rg_plans_list {}
269 271
270 .rg_totp_list {
271 margin-top: 20px;
272 .totp_list {
273 margin-top: 8pt;
274 }
275
276 .sc_list {
277 margin-top: 8pt;
272 278 } }
273 279
274 280 .wh_list {} .wh_list {}
275 281
276 .wh_plugins_list {
277 margin-top: 5pt;
278 }
282 .wh_plugins_list {}
279 283
280 284 .blob_title { .blob_title {
281 285 margin-top: 5pt; margin-top: 5pt;
 
... ... legend { padding: 0px 2pt; }
346 350 } }
347 351
348 352 .repo_body { .repo_body {
353 margin-top: 8pt;
349 354 display: flex; display: flex;
350 355 flex-flow: column nowrap; flex-flow: column nowrap;
351 356 } }
 
... ... legend { padding: 0px 2pt; }
398 403
399 404 .hints { .hints {
400 405 text-align: left; text-align: left;
401 margin-top: 10pt;
402 406 background-color: #FFFFFF; background-color: #FFFFFF;
403 407 padding: 4pt; padding: 4pt;
404 408 border-radius: 4px 4px 4px 4px; border-radius: 4px 4px 4px 4px;
 
... ... legend { padding: 0px 2pt; }
406 410 line-height: 120%; line-height: 120%;
407 411 font-size: 9pt; font-size: 9pt;
408 412 box-shadow: 0px 2px 3px #666666; box-shadow: 0px 2px 3px #666666;
413 align-self: stretch;
409 414 } }
415 .hints:not(:first-child) { margin-top: 8pt }
410 416 .hints ul { list-style-type: square; margin-left: 9pt; } .hints ul { list-style-type: square; margin-left: 9pt; }
411 417 .hints ul li { } .hints ul li { }
412 418 .hints ul li a { } .hints ul li a { }
 
... ... legend { padding: 0px 2pt; }
546 552 line-height: 8pt; line-height: 8pt;
547 553 } }
548 554
555 .generic_body {
556 margin-top: 8pt;
557 display: flex;
558 flex-flow: column nowrap;
559 align-content: space-between;
560 align-items: stretch;
561 }
File root/themes/default/repo/list/header.html changed (mode: 100644) (index d434a3a..a6a9c69)
8 8 <th>License</th> <th>License</th>
9 9 <th>Disk used</th> <th>Disk used</th>
10 10 </tr> </tr>
11
File root/themes/default/repo/main.html changed (mode: 100644) (index 9a3eac0..1cbe826)
26 26 @@if(@@can_admin@@ == 1){{<li@@if(@@per_repo_menu::admin@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/admin">Admin</a></li>}}{{}} @@if(@@can_admin@@ == 1){{<li@@if(@@per_repo_menu::admin@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/admin">Admin</a></li>}}{{}}
27 27 </ul> </ul>
28 28 </div> </div>
29 @@menu_repo_level2@@
29 30 </div> <!-- repo_header --> </div> <!-- repo_header -->
30 31
31 32 <div class="repo_body"> <div class="repo_body">
File root/themes/default/user/keys/list/header.html changed (mode: 100644) (index 2516896..f3510eb)
1 <div class="rg_keys_list">
1 <div class="keys_list">
2 2
3 3 @@del_errmsg@@ @@del_errmsg@@
4 4
File root/themes/default/user/settings/menu.html changed (mode: 100644) (index bcb50e1..5be23bd)
9 9 <li@@if(@@set_menu::wh@@ == 1){{ class="selected"}}{{}}><a href="/op/settings/wh">Webhooks</a></li> <li@@if(@@set_menu::wh@@ == 1){{ class="selected"}}{{}}><a href="/op/settings/wh">Webhooks</a></li>
10 10 </ul> </ul>
11 11 </div> </div>
12 @@menu_set_level2@@
File root/themes/default/user/settings/totp/list/header.html changed (mode: 100644) (index 35b0aeb..8002697)
1 <div class="rg_totp_list">
1 <div class="totp_list">
2 2
3 3 @@del_status@@ @@del_status@@
4 4 @@del_errmsg@@ @@del_errmsg@@
File root/themes/default/user/settings/totp/sc/list/header.html changed (mode: 100644) (index 6b1b78d..20681b9)
1 <div class="rg_totp_list">
1 <div class="sc_list">
2 2
3 3 @@del_status@@ @@del_status@@
4 4 @@del_errmsg@@ @@del_errmsg@@
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/rocketgit

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main