List of commits:
Subject Hash Author Date (UTC)
Redo css for clone urls and added http url f7db12862aa048feba85411fd64a2a97403c2e66 Catalin(ux) M. BOIE 2016-09-17 10:14:49
Corrected url for refs and path rights 551f1cfd002bb44a5b1448f83a9cd8341aded9d6 Catalin(ux) M. BOIE 2016-09-07 03:39:28
rg_exec has new parameters: two callbacks for stdout and stderr b25e97c24a24f00d3e6e36652ffc0b9c9bf0e241 Catalin(ux) M. BOIE 2016-09-05 16:47:02
We do not run update-server-info in post-update hook anymore because we do not support dumb protocol f580e2b006e60369265f3a2e660cb8af0701312d Catalin(ux) M. BOIE 2016-09-04 15:03:24
apikeys: we need to init some vars 84bfd35c59c1e8458be7250aff6c1059afb1f204 Catalin(ux) M. BOIE 2016-08-28 05:25:44
Spell checkings and ommisions 1e41a427ee47b128cd9385c3ed27565c67d27029 Catalin(ux) M. BOIE 2016-08-28 05:17:11
rg_exec function permits stdout streaming 37e9c670be82c66970a3972aee87af34553eec98 Catalin(ux) M. BOIE 2016-08-28 05:15:26
Added tutorials infrastructure and the first tutorial about CI 3fe5fc6d3dafa859e4e20c853f355dec279630b0 Catalin(ux) M. BOIE 2016-08-28 05:12:09
Spell checking c5c8cbc69ec8e33b623f49e5417ef85073d5aebe Catalin(ux) M. BOIE 2016-08-28 05:07:13
Fix a bug that prevented the log function to log invalid UTF-8 chars 3a5d9efe50b391c4b5f64a879e64d3203ba66ef0 Catalin(ux) M. BOIE 2016-07-31 04:40:12
rg_exec accepts a second para: data to be sent as stdin 71d2b273ae592e3c6e6a77e7b19df3f94aa1e9e9 Catalin(ux) M. BOIE 2016-07-31 03:05:23
Simplify event processing by passing full 'ui'; fixed 'confirmed' filed usage cbb6f8877db547d55b7b86e0fe5c41519d6c8b65 Catalin(ux) M. BOIE 2016-07-14 05:08:51
Fixed the unit tests (minor) 0e9cfc3911aba7119bb57140ecfa51ad6e3983bf Catalin(ux) M. BOIE 2016-07-14 05:05:37
Fixed e-mail confirmation logic. dd5b4be2e8e49aa612ddf7557e8ef0b1e0268822 Catalin(ux) M. BOIE 2016-07-11 21:09:19
Do more tests and resync some with the reality db9bb136ff176006cbb8f8848309b8adbf98d630 Catalin(ux) M. BOIE 2016-07-11 04:07:38
Improved user cache to not have null elements in JSON d6b75a2cc4830cfb8dfb92e911f1e5a41c2023bc Catalin(ux) M. BOIE 2016-07-11 04:06:25
Allow rights to have numbers and _ in name 4f5c38389bc98e2dcb60d36359917c33820e5779 Catalin(ux) M. BOIE 2016-07-11 04:05:40
Allow strange chars in cache names 00b05d99d3d3cf0229249718d2482af40f063972 Catalin(ux) M. BOIE 2016-07-11 04:04:08
Small improvements to builder and worker 08f9bc668f7f192af61868bebd644bea64b6aedd Catalin(ux) M. BOIE 2016-07-11 04:01:47
SELinux improvements to support the builder a2b52360b43be53786ee5d68c9fcb2db14f29c0c Catalin(ux) M. BOIE 2016-07-11 04:00:57
Commit f7db12862aa048feba85411fd64a2a97403c2e66 - Redo css for clone urls and added http url
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-09-17 10:14
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-09-17 10:19
Parent(s): 551f1cfd002bb44a5b1448f83a9cd8341aded9d6
Signing key:
Tree: bc289249e4478221683214a50fe6ae5641460a0d
File Lines added Lines deleted
inc/user/repo-page.php 12 7
root/themes/default/hints/repo/clone_http.html 6 0
root/themes/default/main.css 10 8
root/themes/default/repo/urls/footer.html 0 1
root/themes/default/repo/urls/header.html 1 1
root/themes/default/repo/urls/line.html 1 1
File inc/user/repo-page.php changed (mode: 100644) (index c640fc7..b6233be)
... ... $can_admin = rg_rights_allow($db, $x) === TRUE ? 1 : 0;
60 60
61 61 $rg['url_user'] = rg_re_userpage($rg['page_ui']); $rg['url_user'] = rg_re_userpage($rg['page_ui']);
62 62 $rg['url_repo'] = rg_re_repopage($rg['page_ui'], $repo); $rg['url_repo'] = rg_re_repopage($rg['page_ui'], $repo);
63 $rg['ssh'] = $rg['ri']['clone_url_ssh'];
64 $rg['git'] = $rg['ri']['clone_url_git'];
65 63 $rg['can_admin'] = $can_admin; $rg['can_admin'] = $can_admin;
66 64 $rg['HTML:hints'] = ''; $rg['HTML:hints'] = '';
67 65 $rg['mr'] = array('id' => ''); $rg['mr'] = array('id' => '');
 
... ... $_repo_body = "";
76 74
77 75 // build urls list // build urls list
78 76 $urls = array(); $urls = array();
77 $urls[]['HTML:clone_url'] = '<a href="' . $rg['ri']['clone_url_http']
78 . '">' . $rg['ri']['clone_url_http'] . '</a>';
79 79 if ($rg_ssh_port != 0) if ($rg_ssh_port != 0)
80 $urls[]['HTML:clone_url'] = '<a href="' . $rg['ssh'] . '">' . $rg['ssh'] . '</a>';
80 $urls[]['HTML:clone_url'] = '<a href="' . $rg['ri']['clone_url_ssh']
81 . '">' . $rg['ri']['clone_url_ssh'] . '</a>';
81 82 if ($rg_git_port != 0) if ($rg_git_port != 0)
82 $urls[]['HTML:clone_url'] = '<a href="' . $rg['git'] . '">' . $rg['git'] . '</a>';
83 $rg['HTML:urls'] = rg_template_table("repo/urls", $urls, $rg);
83 $urls[]['HTML:clone_url'] = '<a href="' . $rg['ri']['clone_url_git']
84 . '">' . $rg['ri']['clone_url_git'] . '</a>';
85 $rg['HTML:urls'] = rg_template_table('repo/urls', $urls, $rg);
84 86
85 87 function rg_add_clone_hints($db, &$rg, $ref) function rg_add_clone_hints($db, &$rg, $ref)
86 88 { {
 
... ... function rg_add_clone_hints($db, &$rg, $ref)
96 98 $hints[]['HTML:hint'] = rg_template("hints/repo/clone_owner.html", $hints[]['HTML:hint'] = rg_template("hints/repo/clone_owner.html",
97 99 $rg, TRUE /* xss */); $rg, TRUE /* xss */);
98 100 } else { } else {
101 $hints[]['HTML:hint'] = rg_template("hints/repo/clone_http.html",
102 $rg, TRUE /*xss*/);
103
99 104 if ($rg_ssh_port != 0) if ($rg_ssh_port != 0)
100 105 $hints[]['HTML:hint'] = rg_template("hints/repo/clone_ssh.html", $hints[]['HTML:hint'] = rg_template("hints/repo/clone_ssh.html",
101 $rg, TRUE /* xss */);
106 $rg, TRUE /*xss*/);
102 107
103 108 if ($rg_git_port != 0) if ($rg_git_port != 0)
104 109 $hints[]['HTML:hint'] = rg_template("hints/repo/clone_git.html", $hints[]['HTML:hint'] = rg_template("hints/repo/clone_git.html",
105 $rg, TRUE /* xss */);
110 $rg, TRUE /*xss*/);
106 111
107 112 $x = array(); $x = array();
108 113 $x['obj_id'] = $rg['ri']['repo_id']; $x['obj_id'] = $rg['ri']['repo_id'];
File root/themes/default/hints/repo/clone_http.html added (mode: 100644) (index 0000000..5876e5d)
1 <br />
2 Clone this repository using http:<br />
3 <div class="xcode">
4 git clone @@ri::clone_url_http@@ local_dir<br />
5 cd local_dir<br />
6 </div>
File root/themes/default/main.css changed (mode: 100644) (index 54ab39c..1143c05)
... ... legend { padding: 0px 2pt; }
356 356 flex-flow: column nowrap; flex-flow: column nowrap;
357 357 } }
358 358
359 .urls { padding: 3px 0px; margin: 5px 0px; }
360 .urls ul { list-style-type: none; }
361 .urls ul li {
362 display: inline;
359 .urls {
360 padding: 3px 0px;
361 margin: 5px 0px;
362 white-space: nowrap;
363 font-size: 9pt;
364 color: #666;
365 }
366 .url {
363 367 border: 1px solid #aaa; border: 1px solid #aaa;
364 368 border-radius: 4px 4px 4px 4px; border-radius: 4px 4px 4px 4px;
365 font-size: 9pt;
366 369 padding: 3px 3px; padding: 3px 3px;
367 370 background-color: #E5E5FF; background-color: #E5E5FF;
368 371 } }
369 .urls ul li a {
370 color: #666666;
371 white-space: nowrap;
372 .url a {
373 color: #666;
372 374 } }
373 375
374 376 .form_error { margin-top: 6pt; color: #F00; } .form_error { margin-top: 6pt; color: #F00; }
File root/themes/default/repo/urls/footer.html changed (mode: 100644) (index a9b0151..04f5b84)
1 </ul>
2 1 </div> </div>
File root/themes/default/repo/urls/header.html changed (mode: 100644) (index 2e2e2cf..90449ac)
1 1 <div class="urls"> <div class="urls">
2 <ul>
2 <span class="url">Clone urls:</span>
File root/themes/default/repo/urls/line.html changed (mode: 100644) (index 5e6becd..473b76b)
1 <li>@@clone_url@@</li>
1 <span class="url">@@clone_url@@</span>
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