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 c308a9b435c9e5baa39ac3529c794df227ab9196

If user is suspended or deleted, show an error
Author: Catalin(ux) M. BOIE
Author date (UTC): 2017-01-06 07:12
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2017-01-06 07:12
Parent(s): 2a2338aca850737f16febc056c1d248daf935736
Signing key:
Tree: 9d96b3777225ba9d1e001793c5ac483217f89f61
File Lines added Lines deleted
inc/user/home-page.php 4 2
File inc/user/home-page.php changed (mode: 100644) (index e7bd91f..8b749fa)
... ... rg_log("FILE: /inc/user/home-page");
4 4 $_home = ''; $_home = '';
5 5
6 6 $rg['page_ui'] = rg_user_info($db, 0, $user, ""); $rg['page_ui'] = rg_user_info($db, 0, $user, "");
7 if ($rg['page_ui']['exists'] == 0) {
8 $_home .= rg_template("user/invalid.html", $rg, TRUE /* xss */);
7 if (($rg['page_ui']['exists'] == 0)
8 || ($rg['page_ui']['suspended'] > 0)
9 || ($rg['page_ui']['deleted'] > 0)) {
10 $_home .= rg_template("user/invalid.html", $rg, TRUE /*xss*/);
9 11 return; return;
10 12 } }
11 13
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