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 b9fc8caf35f1e5e2289490e02808642a070d6b9e

Always display date of bug deletion
Instead of doing it for non-anonymous users only.
Author: xaizek
Author date (UTC): 2019-07-07 20:39
Committer name: xaizek
Committer date (UTC): 2019-07-07 20:39
Parent(s): 51f62fb8019e30adbccd52db393667368853a024
Signing key: 99DC5E4DB05F6BE2
Tree: b95271eeda48d21843373b477c5a0132787b06d3
File Lines added Lines deleted
inc/bug.inc.php 3 2
File inc/bug.inc.php changed (mode: 100644) (index f61e106..be7a16e)
... ... function rg_bug_cosmetic($db, &$row)
275 275 if (isset($row['deleted'])) { if (isset($row['deleted'])) {
276 276 $row['deleted_text'] = ""; $row['deleted_text'] = "";
277 277 $row['deleted_who_name'] = ""; $row['deleted_who_name'] = "";
278
278 279 if (isset($row['deleted_who']) && ($row['deleted_who'] > 0)) { if (isset($row['deleted_who']) && ($row['deleted_who'] > 0)) {
279 280 $_ui = rg_user_info($db, $row['deleted_who'], "", ""); $_ui = rg_user_info($db, $row['deleted_who'], "", "");
280 281 if ($_ui['exists'] == 1) if ($_ui['exists'] == 1)
281 282 $row['deleted_who_name'] = $_ui['username']; $row['deleted_who_name'] = $_ui['username'];
282
283 $row['deleted_text'] = gmdate("Y-m-d H:i", $row['deleted']);
284 283 } }
284
285 $row['deleted_text'] = gmdate("Y-m-d H:i", $row['deleted']);
285 286 } }
286 287
287 288 if (isset($row['state'])) if (isset($row['state']))
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