List of commits:
Subject Hash Author Date (UTC)
Autodetect admin e-mail based on host name 52901d8c0f73af6e909738ac8bc1cf331787e55e Catalin(ux) M. BOIE 2016-09-20 02:43:55
When ssh host nmae is autodetected, it must not also use the http port c5dea927e57df2ac32a34037c5c36d829dc9356f Catalin(ux) M. BOIE 2016-09-19 16:25:14
Adapt a little bit the install guide because of php-fpm cd6a0d9755dfb7b2a8b283e53d838b9724f22697 Catalin(ux) M. BOIE 2016-09-17 10:45:59
Bump version to 0.56 5c2c03e15864ebe466ac4dd3f8b0d761c363b13e Catalin(ux) M. BOIE 2016-09-17 10:45:16
Debian: adapt a little bit the dependencies 47f680a9e0330a360919b33255a403d1d99e47fc Catalin(ux) M. BOIE 2016-09-17 10:44:43
Now is safe to install rocketgit on a multiuser machine 5e945f6440609d2da3240acde977ca60b9e94b97 Catalin(ux) M. BOIE 2016-09-17 10:23:30
Big (bulk) update: fetch/push by http(s) e771f072b8b8393b8e40283ee87c663025407d70 Catalin(ux) M. BOIE 2016-09-17 10:22:17
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
Commit 52901d8c0f73af6e909738ac8bc1cf331787e55e - Autodetect admin e-mail based on host name
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-09-20 02:43
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-09-20 02:43
Parent(s): c5dea927e57df2ac32a34037c5c36d829dc9356f
Signing key:
Tree: e258ddd29726eb7bee4fc6dfed26e15b811e52b8
File Lines added Lines deleted
inc/init.inc.php 3 0
samples/config.php 3 2
File inc/init.inc.php changed (mode: 100644) (index b0be6da..3ffb8fd)
... ... if (empty($_dt))
12 12 // For escapeshellarg to work with UTF-8, we are forced to set a locale // For escapeshellarg to work with UTF-8, we are forced to set a locale
13 13 setlocale(LC_CTYPE, "en_US.UTF-8"); setlocale(LC_CTYPE, "en_US.UTF-8");
14 14
15 if (!isset($rg_admin_email) || empty($rg_admin_email))
16 $rg_admin_email = 'root@' . php_uname('n');
17
15 18 $rg['rg_http_host'] = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : php_uname('n'); $rg['rg_http_host'] = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : php_uname('n');
16 19 $_t = explode(':', $rg['rg_http_host']); $_t = explode(':', $rg['rg_http_host']);
17 20 $rg['rg_http_host_no_port'] = $_t[0]; $rg['rg_http_host_no_port'] = $_t[0];
File samples/config.php changed (mode: 100644) (index 73b0a8a..ef1c04d)
... ... $rg_user_max_len = 32;
35 35 // SSH parameters for authorized_keys // SSH parameters for authorized_keys
36 36 $rg_ssh_paras = "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty"; $rg_ssh_paras = "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
37 37
38 // From what address we will send mails (forgot pass etc.)?
38 // From what name and address we will send mails (forgot pass etc.)?
39 // If e-mail is empty, it will be root@<local host name>
39 40 $rg_admin_name = "RocketGit Admin"; $rg_admin_name = "RocketGit Admin";
40 $rg_admin_email = "op@rocketgit.com";
41 $rg_admin_email = '';
41 42
42 43 // Set to 1 to allow any visitor to create an account. // Set to 1 to allow any visitor to create an account.
43 44 // Else, only the admin can create accounts. // Else, only the admin can create accounts.
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