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 1c50981db99bc9ba05cfa1a6e735eddc3af2a0e8

When editing rights, do not filter by uid. Reported by Gabi
Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-12-16 21:46
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2015-12-16 21:46
Parent(s): c16729a6930e8168b4c3fdf897319987d33b5ba7
Signing key:
Tree: 5419ad967642a4ed952933decc5295c638428943
File Lines added Lines deleted
inc/repo.inc.php 2 2
File inc/repo.inc.php changed (mode: 100644) (index 4a84433..bd79904)
... ... function rg_repo_admin_rights($db, $rg, $type)
1511 1511 while ($a['edit_id'] > 0) { while ($a['edit_id'] > 0) {
1512 1512 $owner = $rg['ri']['uid']; $owner = $rg['ri']['uid'];
1513 1513 $r = rg_rights_get($db, $rg['ri']['repo_id'], $type, $r = rg_rights_get($db, $rg['ri']['repo_id'], $type,
1514 $owner, $rg['login_ui']['uid'], $a['edit_id']);
1514 $owner, -1, $a['edit_id']);
1515 1515 if ($r['ok'] != 1) { if ($r['ok'] != 1) {
1516 1516 $list_errmsg[] = "cannot load rights: " . rg_rights_error(); $list_errmsg[] = "cannot load rights: " . rg_rights_error();
1517 1517 break; break;
 
... ... function rg_repo_admin_rights($db, $rg, $type)
1522 1522 break; break;
1523 1523 } }
1524 1524
1525 // Only one right is returned when we edit one
1525 // Only one right is returned when we edit by right_id
1526 1526 $a = $r['list'][0]; $a = $r['list'][0];
1527 1527
1528 1528 $load_defaults = 0; $load_defaults = 0;
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