List of commits:
Subject Hash Author Date (UTC)
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
Fixed bad interaction between fixes and structure fc0fabf8d429a18978908694bc9a86d09bed702b Catalin(ux) M. BOIE 2016-01-25 21:27:13
Commit 4c02703e69e56289670e96952b49c55fadcab671 - minor: reorder functions
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-02-14 09:40
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-02-14 09:40
Parent(s): 980da7f8b9c3380c169547c2b1f522e7d52f0398
Signer:
Signing key:
Signing status: N
Tree: add7147248ad4066e284fdfa21132c62dc4af90e
File Lines added Lines deleted
inc/repo.inc.php 39 39
File inc/repo.inc.php changed (mode: 100644) (index 19c3317..bf1c8d8)
... ... rg_rights_register("repo_path", $rg_repo_path_rights, "P",
55 55 rg_rights_register("repo", $rg_repo_rights, "AaB", rg_rights_register("repo", $rg_repo_rights, "AaB",
56 56 FALSE, "rg_repo_rights_inject"); FALSE, "rg_repo_rights_inject");
57 57
58 /*
59 * Improve repo info
60 */
61 function rg_repo_cosmetic($db, &$row)
62 {
63 // Because this field was added later and the cache may not have it
64 if (!isset($row['template']))
65 $row['template'] = '';
66
67 if (strlen(substr($row['description'], 0, 1)) == 1) {
68 $_a = rg_xss_safe($row['description']);
69 $row['HTML:description_nlbr'] = nl2br($_a);
70 } else {
71 $row['HTML:description_nlbr'] = 'n/a';
72 }
73
74 if (isset($row['itime']))
75 $row['HTML:itime_nice'] = gmdate('Y-m-d', $row['itime']);
76
77 $_ui = rg_user_info($db, $row['uid'], '', '');
78 if ($_ui['exists'] == 1) {
79 $row['owner'] = $_ui['username'];
80 $row['url_user'] = rg_base_url() . rg_re_userpage($_ui);
81 $row['url_repo'] = rg_base_url() . rg_re_repopage($_ui, $row['name']);
82 }
83
84 $master_repo = '-';
85 if ($row['master'] > 0) {
86 $master_repo = '?';
87 $_mi = rg_repo_info($db, $row['master'], 0, '');
88 if ($_mi['exists'] = 1)
89 $master_repo = $_mi['name'];
90 }
91 $row['clone_of'] = $master_repo;
92
93 if (isset($row['disk_used_mb']))
94 $row['disk_used'] = rg_1024($row['disk_used_mb'] * 1024 * 1024);
95 }
96
58 97 /* /*
59 98 * Returns info about a repo * Returns info about a repo
60 99 * If you want to lookup by repo_id or uid/repo_name * If you want to lookup by repo_id or uid/repo_name
 
... ... function rg_repo_path_by_name($uid, $repo_name)
796 835 return rg_user_path_by_id($uid) . "/repos/by_name/" . $repo_name . ".git"; return rg_user_path_by_id($uid) . "/repos/by_name/" . $repo_name . ".git";
797 836 } }
798 837
799 /*
800 * Improve repo info
801 */
802 function rg_repo_cosmetic($db, &$row)
803 {
804 // Because this field was added later and the cache may not have it
805 if (!isset($row['template']))
806 $row['template'] = '';
807
808 if (strlen(substr($row['description'], 0, 1)) == 1) {
809 $_a = rg_xss_safe($row['description']);
810 $row['HTML:description_nlbr'] = nl2br($_a);
811 } else {
812 $row['HTML:description_nlbr'] = 'n/a';
813 }
814
815 if (isset($row['itime']))
816 $row['HTML:itime_nice'] = gmdate('Y-m-d', $row['itime']);
817
818 $_ui = rg_user_info($db, $row['uid'], '', '');
819 if ($_ui['exists'] == 1) {
820 $row['owner'] = $_ui['username'];
821 $row['url_user'] = rg_base_url() . rg_re_userpage($_ui);
822 $row['url_repo'] = rg_base_url() . rg_re_repopage($_ui, $row['name']);
823 }
824
825 $master_repo = '-';
826 if ($row['master'] > 0) {
827 $master_repo = '?';
828 $_mi = rg_repo_info($db, $row['master'], 0, '');
829 if ($_mi['exists'] = 1)
830 $master_repo = $_mi['name'];
831 }
832 $row['clone_of'] = $master_repo;
833
834 if (isset($row['disk_used_mb']))
835 $row['disk_used'] = rg_1024($row['disk_used_mb'] * 1024 * 1024);
836 }
837
838 838 /* /*
839 839 * Delete a repo * Delete a repo
840 840 */ */
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