xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
Commit 9578a66fd047f044525e37469e6fc1db052ad486

Another bulk update.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2011-03-16 04:27
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2011-03-16 04:27
Parent(s): 2ad8a84b27b80b66efa680f778dbf562d08da099
Signing key:
Tree: ad056536d5e7842b583ad1f8c5b2824812c9b37f
File Lines added Lines deleted
artwork/rocketgit v1 16x16.png 0 0
artwork/rocketgit v1.png 0 0
artwork/rocketgit v1.svg 87 0
inc/repo/search.form.php 36 0
inc/util.inc.php 52 0
root/favicon.ico 0 0
File artwork/rocketgit v1 16x16.png added (mode: 100644) (index 0000000..a3bf4bb)
File artwork/rocketgit v1.png added (mode: 100644) (index 0000000..2d105d2)
File artwork/rocketgit v1.svg added (mode: 100644) (index 0000000..c25dfd6)
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4 <svg
5 xmlns:dc="http://purl.org/dc/elements/1.1/"
6 xmlns:cc="http://creativecommons.org/ns#"
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8 xmlns:svg="http://www.w3.org/2000/svg"
9 xmlns="http://www.w3.org/2000/svg"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="744.09448819"
13 height="1052.3622047"
14 id="svg2"
15 version="1.1"
16 inkscape:version="0.48.1 r9760"
17 sodipodi:docname="rocketgit v1.svg">
18 <defs
19 id="defs4" />
20 <sodipodi:namedview
21 id="base"
22 pagecolor="#ffffff"
23 bordercolor="#666666"
24 borderopacity="1.0"
25 inkscape:pageopacity="0.0"
26 inkscape:pageshadow="2"
27 inkscape:zoom="0.48082306"
28 inkscape:cx="16.407057"
29 inkscape:cy="526.18109"
30 inkscape:document-units="px"
31 inkscape:current-layer="layer1"
32 showgrid="false"
33 inkscape:window-width="1280"
34 inkscape:window-height="727"
35 inkscape:window-x="0"
36 inkscape:window-y="25"
37 inkscape:window-maximized="1" />
38 <metadata
39 id="metadata7">
40 <rdf:RDF>
41 <cc:Work
42 rdf:about="">
43 <dc:format>image/svg+xml</dc:format>
44 <dc:type
45 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
46 <dc:title></dc:title>
47 </cc:Work>
48 </rdf:RDF>
49 </metadata>
50 <g
51 inkscape:label="Layer 1"
52 inkscape:groupmode="layer"
53 id="layer1">
54 <path
55 style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
56 d="m 191.33858,272.4495 c 3.3598,16.87295 37.66474,-14.64983 47.36866,1.8369 -13.99545,14.80635 -56.12648,27.43753 -21.40752,30.91733 15.05554,-10.93515 46.96475,-41.25936 58.45624,-28.40427 -11.95088,13.86087 -43.38998,27.23832 -38.07809,44.67544 11.76999,1.364 42.80792,-36.57348 36.26476,-10.85725 -9.25333,9.20951 -40.56445,37.41804 -15.38287,41.37959 18.70544,-3.54519 35.18782,-52.87818 48.96043,-31.92691 2.35496,11.44825 -46.93611,39.51502 -27.63011,48.01214 16.44856,7.31998 58.97074,-33.97823 45.27275,-8.25607 -5.03411,13.55954 -33.48515,24.49106 -9.20064,30.23798 10.143,5.56775 25.50356,3.88843 47.65149,-15.78292 9.6106,-29.85051 23.82374,-44.27808 13.83319,-71.42627 -7.59005,-33.75652 -106.43607,-85.71621 -138.63238,-82.15666 -26.05898,6.56573 -45.40965,32.00239 -47.47591,51.75102 z"
57 id="path3786"
58 inkscape:connector-curvature="0"
59 sodipodi:nodetypes="cccccccccccccccc"
60 inkscape:export-filename="/home/catab/Desktop/gg/text2995.png"
61 inkscape:export-xdpi="90"
62 inkscape:export-ydpi="90" />
63 <path
64 style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
65 d="M 322.31325,226.69462 C 351.76855,145.97448 431.7913,89.672611 524.05066,95.669289 508.95556,182.79637 469.28346,239.17322 363.90859,255.81136 c 0,0 29.11674,49.91441 -14.55837,103.98835 10.39884,-72.79184 -12.4786,-70.71207 -12.4786,-70.71207 l -60.31325,33.27627 27.03697,-62.39301 c 0,0 -35.55506,-24.65517 -101.90859,0 98.97554,-64.11722 80.50531,-59.84482 120.6265,-33.27628 z"
66 id="path2993"
67 inkscape:connector-curvature="0"
68 sodipodi:nodetypes="ccccccccc"
69 inkscape:export-filename="/home/catab/Desktop/gg/text2995.png"
70 inkscape:export-xdpi="90"
71 inkscape:export-ydpi="90" />
72 <text
73 xml:space="preserve"
74 style="font-size:40px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans Bold"
75 x="163.98395"
76 y="428.81619"
77 id="text2995"
78 sodipodi:linespacing="125%"
79 transform="matrix(0.73954347,-0.6731088,0.6731088,0.73954347,0,0)"
80 inkscape:export-xdpi="90"
81 inkscape:export-ydpi="90"><tspan
82 sodipodi:role="line"
83 id="tspan2997"
84 x="163.98395"
85 y="428.81619">Git</tspan></text>
86 </g>
87 </svg>
File inc/repo/search.form.php added (mode: 100644) (index 0000000..2491cea)
1 <?php
2
3 $_form = '
4 <form type="post" action="' . $_SERVER['PHP_SELF'] . '">
5 <input type="hidden" name="op" value="' . $op . '">
6 <input type="hidden" name="subop" value="' . $subop . '">
7 <input type="hidden" name="doit" value="1">
8
9 <table>
10 <tr>
11 <td>Name:</td>
12 <td>
13 <input type="text" name="q" value=""><br />
14 </td>
15 </tr>
16
17 <tr>
18 <td>Only masters?</td>
19 <td>
20 <select name="masters">
21 <option value="1">Yes</option>
22 <option value="0">No</option>
23 </select>
24 </td>
25 </tr>
26
27 <tr>
28 <td colspan="2"><input type="submit" value="Search!"></td>
29 </tr>
30
31 </table>
32 </form>
33 ';
34
35
36 ?>
File inc/util.inc.php added (mode: 100644) (index 0000000..7f8245c)
1 <?php
2
3 function gg_1024($v)
4 {
5 if ($v <= 9999)
6 return number_format($v);
7 $v /= 1024;
8
9 if ($v <= 9999)
10 return number_format($v) . "KiB";
11 $v /= 1024;
12
13 if ($v <= 9999)
14 return number_format($v) . "MiB";
15 $v /= 1024;
16
17 if ($v <= 9999)
18 return number_format($v) . "GiB";
19 $v /= 1024;
20
21 return number_format($v) . "TiB";
22 }
23
24 /*
25 * Unique ID generator
26 */
27 function gg_id($len)
28 {
29 $id = "";
30
31 $f = @fopen("/dev/urandom", "r");
32 if ($f !== NULL) {
33 $buf = @fread($f, 128);
34 if ($buf !== NULL)
35 $id = sha1($buf);
36 fclose($f);
37 }
38
39 if (empty($id))
40 $id = sha1(mt_rand() . serialize($_REQUEST));
41
42 return substr($id, 0, $len);
43 }
44
45 /*
46 * XSS protection
47 */
48 function gg_xss($v)
49 {
50 return htmlspecialchars($v, ENT_QUOTES);
51 }
52 ?>
File root/favicon.ico added (mode: 100644) (index 0000000..35a1ec3)
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://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

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