List of commits:
Subject Hash Author Date (UTC)
Corrected <label> tags 7e8621e79480b8964e04de8c54f10f1a702ea1fd Catalin(ux) M. BOIE 2012-03-20 04:25:38
Fixed unit testing 31bfe5672e7d3b620d0e7b3c07ff72d84c149001 Catalin(ux) M. BOIE 2012-03-17 17:21:21
Fixed hook_update.sh unit testing 86c4079e81efc5a4a7878e91d8f4318e443961f7 Catalin(ux) M. BOIE 2012-03-16 22:32:35
Bulk updates f696473a7faee50782d3cc01e96cc85e7900b3de Catalin(ux) M. BOIE 2012-03-14 04:38:23
Style changes. 87e30b1df29b7c6efa438be1cf369192a8068655 Catalin(ux) M. BOIE 2012-02-19 22:50:22
Bulk 0923407bff68a58a0b7b034f8a6b4489ece5b237 Catalin(ux) M. BOIE 2012-02-12 22:21:44
Bulk update 30310488bca37cefeba96b52b71c9c3e72c32907 Catalin(ux) M. BOIE 2011-12-15 23:34:03
Profiling tests. afd1df2940fe440cde9b8ede988ff24c051a10d6 Catalin(ux) M. BOIE 2011-11-03 22:10:13
More bulk updates. a2a2e2545eaad61d0c675ea2afb801f207534515 Catalin(ux) M. BOIE 2011-11-03 22:09:34
Another round of bulk updates. 45bb00a88c420d439b4dd19971808722e4a70895 Catalin(ux) M. BOIE 2011-10-24 22:31:14
Bulk update. Mostly css. 04734cd7cfc4fd4ec55dad70a3490f3065027639 Catalin(ux) M. BOIE 2011-10-03 23:18:26
Added rg_exec function and converted all calls from exec to rg_exec. 097157e5886dace2b9f67ca238a1063a3baff4a0 Catalin(ux) M. BOIE 2011-09-28 03:28:49
Another round of bulk updates cb9dbb75518ab3c214167646197ca7eb0de8e4e6 Catalin(ux) M. BOIE 2011-09-26 19:22:12
Bulk updates cad0c710542dc3fb072268eba40b0abe11217fa9 Catalin(ux) M. BOIE 2011-09-21 20:25:23
Bulk changes. d5274ef5f261086a2af6bd19ac04061bb3d55584 Catalin(ux) M. BOIE 2011-09-15 20:16:46
Store the fist instalation date in 'state' table. e4ba8a9239e72e8de5eed0b3bb1f2a5f2d429105 Catalin(ux) M. BOIE 2011-08-31 16:14:44
Bulk changes. 645d3deb19e399c05a8b14dd88c5151520482b6a Catalin(ux) M. BOIE 2011-08-25 20:39:25
Another bulk update - css related. 3867eb5deadf9827450b40a53efe6c83f518a07b Catalin(ux) M. BOIE 2011-07-26 22:01:13
Bulk update. 9d680f000b7c486be4664e1cb944f424c977c874 Catalin(ux) M. BOIE 2011-07-25 19:06:14
Some ssh and anonymous rights fixes. 9bb20c348a4933056d8f67bd151eb35cf0325835 Catalin(ux) M. BOIE 2011-07-05 22:00:00
Commit 7e8621e79480b8964e04de8c54f10f1a702ea1fd - Corrected <label> tags
Author: Catalin(ux) M. BOIE
Author date (UTC): 2012-03-20 04:25
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2012-03-20 04:25
Parent(s): 31bfe5672e7d3b620d0e7b3c07ff72d84c149001
Signing key:
Tree: 6c75887dc23126ec4d3c6e2acb0c36b1ac8c1d11
File Lines added Lines deleted
TODO 0 1
inc/admin/users/user.form.php 8 8
inc/feedback/suggestion.form.php 2 2
inc/login/login.form.php 2 2
inc/repo/repo.form.php 6 18
inc/repo/search.form.php 2 4
inc/user/forgot.form.php 2 8
inc/user/forgot_send.form.php 1 5
inc/user/keys/add.form.php 1 4
inc/user/pass/pass.form.php 3 11
File TODO changed (mode: 100644) (index 10dcefb..6716da8)
22 22 [ ] 'cop' variable is not good - I do not remember what it means! [ ] 'cop' variable is not good - I do not remember what it means!
23 23 [ ] Why is not working to access a user page ("invalid repo")?! [ ] Why is not working to access a user page ("invalid repo")?!
24 24 [ ] Delay connection to database. [ ] Delay connection to database.
25 [ ] Fix <label></label> and set class form_item_title!
26 25 [ ] Get memory statistics from /proc. [ ] Get memory statistics from /proc.
27 26 [ ] CSRF token is not used in admin page for an ordinary user! [ ] CSRF token is not used in admin page for an ordinary user!
28 27 [ ] Differentiate between owner of a repository, currently logged in user and admin. [ ] Differentiate between owner of a repository, currently logged in user and admin.
File inc/admin/users/user.form.php changed (mode: 100644) (index 0cbe6c6..47f82d4)
... ... if ($admin_mode == 1)
21 21 $_form .= '<input type="hidden" name="uid" value="' . $uid . '" />'; $_form .= '<input type="hidden" name="uid" value="' . $uid . '" />';
22 22
23 23 $_form .= ' $_form .= '
24 <label for="xuser">User name</label><br />
24 <label for="xuser" class="form_item_title">User name</label><br />
25 25 <input type="text" name="xuser" value="' . $xuser . '" /> <input type="text" name="xuser" value="' . $xuser . '" />
26 26 <br /> <br />
27 27 <br /> <br />
28 28
29 <label for="email">E-mail</label><br />
29 <label for="email" class="form_item_title">E-mail</label><br />
30 30 <input type="text" name="email" value="' . $email . '" /> <input type="text" name="email" value="' . $email . '" />
31 31 <br /> <br />
32 32 <br /> <br />
 
... ... $_form .= '
34 34
35 35 if ($pass_mode > 0) { if ($pass_mode > 0) {
36 36 $_form .= ' $_form .= '
37 <label for="xpass">Password</label><br />
37 <label for="xpass" class="form_item_title">Password</label><br />
38 38 <input type="password" name="xpass" value="' . $xpass . '" /> <input type="password" name="xpass" value="' . $xpass . '" />
39 39 <br /> <br />
40 40 <br /> <br />
 
... ... $_form .= '
43 43
44 44 if ($pass_mode > 1) { if ($pass_mode > 1) {
45 45 $_form .= ' $_form .= '
46 <label for="xpass2">Password (confirmation)</label><br />
46 <label for="xpass2" class="form_item_title">Password (confirmation)</label><br />
47 47 <input type="password" name="xpass2" value="' . $xpass2 . '" /> <input type="password" name="xpass2" value="' . $xpass2 . '" />
48 48 <br /> <br />
49 49 <br /> <br />
 
... ... $_form .= '
52 52
53 53 if ($admin_mode == 1) { if ($admin_mode == 1) {
54 54 $_form .= ' $_form .= '
55 <label for="is_admin">Admin?</label><br />
55 <label for="is_admin" class="form_item_title">Admin?</label><br />
56 56 <select name="is_admin"> <select name="is_admin">
57 57 <option value="0"' . $sel_is_admin[0] . '>No</option> <option value="0"' . $sel_is_admin[0] . '>No</option>
58 58 <option value="1"' . $sel_is_admin[1] . '>Yes</option> <option value="1"' . $sel_is_admin[1] . '>Yes</option>
 
... ... $_form .= '
60 60 <br /> <br />
61 61 <br /> <br />
62 62
63 <label for="disk_quota_mb">Disk quota (MiB)</label><br />
63 <label for="disk_quota_mb" class="form_item_title">Disk quota (MiB)</label><br />
64 64 <input type="text" name="disk_quota_mb" value="' . $disk_quota_mb . '" /> <input type="text" name="disk_quota_mb" value="' . $disk_quota_mb . '" />
65 65 <br /> <br />
66 66 <br /> <br />
67 67
68 <label for="rights">Rights</label><br />
68 <label for="rights" class="form_item_title">Rights</label><br />
69 69 ' . rg_rights_checkboxes("user", $rights) . ' ' . rg_rights_checkboxes("user", $rights) . '
70 70 <br /> <br />
71 71 <br /> <br />
 
... ... $_form .= '
73 73 } }
74 74
75 75 $_form .= ' $_form .= '
76 <label for="session_time">Preferred session time (in seconds)</label><br />
76 <label for="session_time" class="form_item_title">Preferred session time (in seconds)</label><br />
77 77 <input type="text" name="session_time" value="' . $session_time . '" /> <input type="text" name="session_time" value="' . $session_time . '" />
78 78 <br /> <br />
79 79 <br /> <br />
File inc/feedback/suggestion.form.php changed (mode: 100644) (index d6475c2..cb8c765)
... ... $_form .= '
11 11 <input type="hidden" name="doit" value="1" /> <input type="hidden" name="doit" value="1" />
12 12 <input type="hidden" name="token" value="' . rg_token_get($db, $sid) . '" /> <input type="hidden" name="token" value="' . rg_token_get($db, $sid) . '" />
13 13
14 <label for="email">Your e-mail</label><br />
14 <label for="email" class="form_item_title">Your e-mail</label><br />
15 15 <input type="text" name="email" value="' . $email . '" /> <input type="text" name="email" value="' . $email . '" />
16 16 <br /> <br />
17 17 <br /> <br />
18 18
19 <label for="suggestion">Suggestion</label><br />
19 <label for="suggestion" class="form_item_title">Suggestion</label><br />
20 20 <textarea name="suggestion" rows="6" cols="50">' . $suggestion . '</textarea> <textarea name="suggestion" rows="6" cols="50">' . $suggestion . '</textarea>
21 21 <br /> <br />
22 22 <br /> <br />
File inc/login/login.form.php changed (mode: 100644) (index dc32f70..e9fa7cf)
... ... $_form .= '
9 9 <input type="hidden" name="subop" value="1" /> <input type="hidden" name="subop" value="1" />
10 10 <input type="hidden" name="doit" value="1" /> <input type="hidden" name="doit" value="1" />
11 11
12 <label for="username">Username</label><br />
12 <label for="username" class="form_item_title">Username</label><br />
13 13 <input type="text" name="user" value="' . $user . '" /> <input type="text" name="user" value="' . $user . '" />
14 14 <br /> <br />
15 15 <br /> <br />
16 16
17 <label for="password">Password</label><br />
17 <label for="password" class="form_item_title">Password</label><br />
18 18 <input type="password" name="pass" value="' . $pass . '" /> <input type="password" name="pass" value="' . $pass . '" />
19 19 <br /> <br />
20 20 <br /> <br />
File inc/repo/repo.form.php changed (mode: 100644) (index bb7d48a..4511afa)
... ... if ($master_repo_id > 0) {
22 22 } }
23 23
24 24 $_form .= ' $_form .= '
25 <label for="name">
26 <span class="form_item_title">Name</span><br />
25 <label for="name" class="form_item_title">Name</label><br />
27 26 <input type="text" name="name" value="' . $name . '" /> <input type="text" name="name" value="' . $name . '" />
28 </label>
29 27 <br /> <br />
30 28 <br /> <br />
31 29
32 <label for="max_commit_size">
33 <span class="form_item_title">Max commit size (bytes)</span><br />
30 <label for="max_commit_size" class="form_item_title">Max commit size (bytes)</label><br />
34 31 <input type="text" name="max_commit_size" value="' . $max_commit_size . '" /> <input type="text" name="max_commit_size" value="' . $max_commit_size . '" />
35 </label>
36 32 <br /> <br />
37 33 <br /> <br />
38 34
39 <label for="max_users">
40 <span class="form_item_title">Max number of users</span><br />
35 <label for="max_users" class="form_item_title">Max number of users</label><br />
41 36 <input type="text" name="max_users" value="' . $max_users . '" /> <input type="text" name="max_users" value="' . $max_users . '" />
42 </label>
43 37 <br /> <br />
44 38 <br /> <br />
45 39
46 <label for="description">
47 <span class="form_item_title">Description</span><br />
40 <label for="description" class="form_item_title">Description</label><br />
48 41 <textarea name="description" value="' . $description . '" rows="4" cols="30">' . $description . '</textarea> <textarea name="description" value="' . $description . '" rows="4" cols="30">' . $description . '</textarea>
49 </label>
50 42 <br /> <br />
51 43 <br /> <br />
52 44
53 45
54 <label for="default_rights">
55 <span class="form_item_title">Default rights</span><br />
56 (for anonymous access, un-select all for private repositories)<br />
46 <label for="default_rights" class="form_item_title">Default rights for anonymous access</label><br />
47 (un-check all for private repositories)<br />
57 48 ' . rg_rights_checkboxes("repo", $rights) . ' ' . rg_rights_checkboxes("repo", $rights) . '
58 </label>
59 49 <br /> <br />
60 50 <br /> <br />
61 51
62 <label for="button">
63 52 <input type="submit" name="button" value="' . $_action . '" /> <input type="submit" name="button" value="' . $_action . '" />
64 </label>
65 53
66 54 </form> </form>
67 55 </div> </div>
File inc/repo/search.form.php changed (mode: 100644) (index b458786..f91f189)
... ... $_form .= '
8 8 <form method="post" action="' . rg_re_post($cop) . '"> <form method="post" action="' . rg_re_post($cop) . '">
9 9 <input type="hidden" name="doit" value="1" /> <input type="hidden" name="doit" value="1" />
10 10
11 <label for="q">Name</label><br />
11 <label for="q" class="form_item_title">Name</label><br />
12 12 <input type="text" name="q" value="" /> <input type="text" name="q" value="" />
13 13 <br /> <br />
14 14 <br /> <br />
15 15
16 <label for="masters">Only masters?</label><br />
16 <label for="masters" class="form_item_title">Only masters?</label><br />
17 17 <select name="masters"> <select name="masters">
18 18 <option value="1">Yes</option> <option value="1">Yes</option>
19 19 <option value="0">No</option> <option value="0">No</option>
 
... ... $_form .= '
21 21 <br /> <br />
22 22 <br /> <br />
23 23
24 <label for="button">
25 24 <input type="submit" name="button" value="Search!" /> <input type="submit" name="button" value="Search!" />
26 </label>
27 25
28 26 </form> </form>
29 27 </div> </div>
File inc/user/forgot.form.php changed (mode: 100644) (index f9bae34..76aa4f7)
... ... $_forgot_form .= '
10 10 <input type="hidden" name="doit" value="1" /> <input type="hidden" name="doit" value="1" />
11 11 <input type="hidden" name="token" value="' . rg_token_get($db, $sid) . '" /> <input type="hidden" name="token" value="' . rg_token_get($db, $sid) . '" />
12 12
13 <label for="pass1">
14 <span class="form_item_title">New password</span<br />
13 <label for="pass1" class="form_item_title">New password</label><br />
15 14 <input type="password" name="pass1" value="" /> <input type="password" name="pass1" value="" />
16 </label>
17 15 <br /> <br />
18 16 <br /> <br />
19 17
20 <label for="pass2">
21 <span class="form_item_title">New password (re-type)</span><br />
18 <label for="pass2" class="form_item_title">New password (re-type)</label><br />
22 19 <input type="password" name="pass2" value="" /> <input type="password" name="pass2" value="" />
23 </label>
24 20 <br /> <br />
25 21 <br /> <br />
26 22
27 <label for="button">
28 23 <input type="submit" name="button" value="Change password" /> <input type="submit" name="button" value="Change password" />
29 </label>
30 24
31 25 </form> </form>
32 26 </div> </div>
File inc/user/forgot_send.form.php changed (mode: 100644) (index e75894a..1a25042)
... ... $_form .= '
8 8 <form method="post" action="' . rg_re_post($cop . "/forgot_send") . '"> <form method="post" action="' . rg_re_post($cop . "/forgot_send") . '">
9 9 <input type="hidden" name="doit" value="1" /> <input type="hidden" name="doit" value="1" />
10 10
11 <label for="email">
12 <span class="form_item_title">E-mail</span><br />
11 <label for="email" class="form_item_title">E-mail</label><br />
13 12 <input type="text" name="email" value="' . $email . '" /> <input type="text" name="email" value="' . $email . '" />
14 </label>
15 13 <br /> <br />
16 14 <br /> <br />
17 15
18 <label for="button">
19 16 <input type="submit" name="button" value="Recover password" /> <input type="submit" name="button" value="Recover password" />
20 </label>
21 17
22 18 </form> </form>
23 19 </div> </div>
File inc/user/keys/add.form.php changed (mode: 100644) (index c270760..9fbb6ea)
... ... $_form .= '
12 12 <input type="hidden" name="add" value="1" /> <input type="hidden" name="add" value="1" />
13 13 <input type="hidden" name="token" value="' . rg_token_get($db, $sid) . '" /> <input type="hidden" name="token" value="' . rg_token_get($db, $sid) . '" />
14 14
15 <label for="key">Key string (starts with ssh-...)</label><br />
15 <label for="key" class="form_item_title">Key string (starts with ssh-...)</label><br />
16 16 <textarea name="key" value="' . $key . '" rows="4" cols="50"></textarea> <textarea name="key" value="' . $key . '" rows="4" cols="50"></textarea>
17 17 <br /> <br />
18 18 <br /> <br />
19 19
20 <label for="button">
21 20 <input type="submit" name="button" value="Add!" /> <input type="submit" name="button" value="Add!" />
22 </label>
23 21
24 22 </form> </form>
25 23 </div> </div>
26 24 '; ';
27 25
28
29 26 ?> ?>
File inc/user/pass/pass.form.php changed (mode: 100644) (index 7fa0b75..0e4b71b)
... ... $_chpass_form .= '
11 11 <input type="hidden" name="doit" value="1" /> <input type="hidden" name="doit" value="1" />
12 12 <input type="hidden" name="token" value="' . rg_token_get($db, $sid) . '" /> <input type="hidden" name="token" value="' . rg_token_get($db, $sid) . '" />
13 13
14 <label for="old_pass">
15 <span class="form_item_title">Old password</span><br />
14 <label for="old_pass" class="form_item_title">Old password</label><br />
16 15 <input type="password" name="old_pass" value="" /> <input type="password" name="old_pass" value="" />
17 </label>
18 16 <br /> <br />
19 17 <br /> <br />
20 18
21 <label for="pass1">
22 <span class="form_item_title">New password</span><br />
19 <label for="pass1" class="form_item_title">New password</label><br />
23 20 <input type="password" name="pass1" value="" /> <input type="password" name="pass1" value="" />
24 </label>
25 21 <br /> <br />
26 22 <br /> <br />
27 23
28 <label for="pass2">
29 <span class="form_item_title">New password (re-type)</span><br />
24 <label for="pass2" class="form_item_title">New password (re-type)</label><br />
30 25 <input type="password" name="pass2" value="" /> <input type="password" name="pass2" value="" />
31 </label>
32 26 <br /> <br />
33 27 <br /> <br />
34 28
35 <label for="button">
36 29 <input type="submit" name="button" value="Change password" /> <input type="submit" name="button" value="Change password" />
37 </label>
38 30
39 31 </form> </form>
40 32 </div> </div>
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