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 4e183a15605f4b338863ea97192e46e0cf62cfe8

Do not log password in logs
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-03-09 17:25
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-03-09 17:25
Parent(s): cd2a6a06d7867bb5da19108c6ab575e741b8b08e
Signing key:
Tree: dea4e23feb523ccef951c9097c1d1accfadb29ed
File Lines added Lines deleted
root/index.php 10 1
File root/index.php changed (mode: 100644) (index 74901ad..ded9141)
... ... $user = ""; $repo = ""; $organization = 0; // TODO: those are really used?
74 74
75 75 $rg['ua'] = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ""; $rg['ua'] = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : "";
76 76 $rg['ip'] = isset($_SERVER['REMOTE_ADDR']) ? rg_fix_ip($_SERVER['REMOTE_ADDR']) : ''; $rg['ip'] = isset($_SERVER['REMOTE_ADDR']) ? rg_fix_ip($_SERVER['REMOTE_ADDR']) : '';
77 rg_log("DEBUG: _REQUEST: " . rg_array2string($_REQUEST));
77 $req = $_REQUEST;
78 if (isset($req['pass']))
79 $req['pass'] = '*****';
80 if (isset($req['old_pass']))
81 $req['old_pass'] = '*****';
82 if (isset($req['pass1']))
83 $req['pass1'] = '*****';
84 if (isset($req['pass2']))
85 $req['pass2'] = '*****';
86 rg_log("DEBUG: _REQUEST: " . rg_array2string($req));
78 87 rg_log("DEBUG: _COOKIE: " . rg_array2string($_COOKIE)); rg_log("DEBUG: _COOKIE: " . rg_array2string($_COOKIE));
79 88 rg_log($rg['ip'] . " ver=$rocketgit_version"); rg_log($rg['ip'] . " ver=$rocketgit_version");
80 89
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