List of commits:
Subject Hash Author Date (UTC)
Compute repo disk size only for not deleted repos 551d1798802853e5af1e12a1908cc10fbc432d17 Catalin(ux) M. BOIE 2019-09-30 22:08:27
git_log2listing big changes e91fdef76511d586af30a3aa4b44273a1203bd36 Catalin(ux) M. BOIE 2019-09-30 19:54:38
typo 0ef09cd6e02fa3bf79e0a26b887badc103b03d87 Catalin(ux) M. BOIE 2019-09-30 19:53:56
Some more error testing for http_confirm test 1f36b1f55465c57e935b830e456d8f8044ec17da Catalin(ux) M. BOIE 2019-09-30 19:53:38
fixes: ignore some errors 584eef4cbfb5427eaae34d72ea99b94ec4da29a4 Catalin(ux) M. BOIE 2019-09-30 19:52:45
cache: functional test for timeout acaeca2fbceb797b0fb58f1c05bdd8d1f9025f25 Catalin(ux) M. BOIE 2019-09-30 19:51:35
Fixed rg_git_merge because it was broken 797a976065420525f9f2c6a096ae306ffa5ed78d Catalin(ux) M. BOIE 2019-09-30 19:50:41
Disable GC when serving requests from web/fetch/push; we will do it from cron fd16c96f5f0a6d24e0c6aaf45c5a02833579667a Catalin(ux) M. BOIE 2019-09-30 19:48:49
git: fixes display of filenames which are not UTF-8 valid 83b6f641a547a4652aad6e921486d2b91cffdb9f Catalin(ux) M. BOIE 2019-09-30 19:46:07
rg_change_pass missed a log file name e49fc9f8c896414098713e418205d97b2e594c1f Catalin(ux) M. BOIE 2019-09-22 09:32:59
totp: remove a double DELETE sql query and invalidate cache after we remove the data from db ff22d7ddabc1c64a37fcb1749f54321974b0f8d3 Catalin(ux) M. BOIE 2019-09-22 09:28:30
selinux: added map (for packs) 911b2cffa2d754d466a31693af71d6c58639dd9d Catalin(ux) M. BOIE 2019-09-22 06:58:44
Do not allow : char in user name 460b846752c03368990b60efbbf12f74e229bda5 Catalin(ux) M. BOIE 2019-09-22 05:58:37
Do not allow : char in repo name b072ba3cd6c46e2ee7d07dc5890c8671d8462a09 Catalin(ux) M. BOIE 2019-09-22 05:56:56
Fix an XSS in repo description ee2d11f0b16b436d9e64a0c5ac57361d25e098e1 Catalin(ux) M. BOIE 2019-09-22 05:45:11
Do not allow a user name to start with minus; strlen -> mb_strlen 755f2a47e99dc3a56cee90b424ee8a9bd84236f8 Catalin(ux) M. BOIE 2019-09-22 05:07:01
Do not allow a repo to start with minus; strlen -> mb_strlen 8ac45126805015c868ae8054ea328dc5a16cf31c Catalin(ux) M. BOIE 2019-09-22 05:06:41
Limit the desciption of the project to 100 chars to be able to pack more repos per page 1d2714726347b1eb9f113bd9c4d65d301d6502bd Catalin(ux) M. BOIE 2019-09-22 04:59:11
Changed CIF 47e6a7b3939898729d4344b8e3a01ac0dbd3e3b1 Catalin(ux) M. BOIE 2019-09-22 04:42:59
Added git_log1_strange.php to generate strange filenames 66083c9e3e6633c953bd5e77f28d993687ef2b73 Catalin(ux) M. BOIE 2019-09-17 20:01:10
Commit 551d1798802853e5af1e12a1908cc10fbc432d17 - Compute repo disk size only for not deleted repos
Author: Catalin(ux) M. BOIE
Author date (UTC): 2019-09-30 22:08
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2019-09-30 22:08
Parent(s): e91fdef76511d586af30a3aa4b44273a1203bd36
Signer:
Signing key:
Signing status: N
Tree: 958475c7e6ca4b6ac5e5f29139a2935b3b934e8a
File Lines added Lines deleted
scripts/cron.php 2 1
File scripts/cron.php changed (mode: 100644) (index d6d9524..471e832)
... ... if (gmdate("Hi") == "0105") {
63 63 while (1) { while (1) {
64 64 rg_log("Compute repository sizes if dirty..."); rg_log("Compute repository sizes if dirty...");
65 65 // delete 'dirty' files // delete 'dirty' files
66 $sql = "SELECT uid, repo_id, master, disk_used_mb FROM repos";
66 $sql = 'SELECT uid, repo_id, master, disk_used_mb FROM repos'
67 . ' WHERE deleted = 0';
67 68 $res = rg_sql_query($db, $sql); $res = rg_sql_query($db, $sql);
68 69 if ($res === FALSE) { if ($res === FALSE) {
69 70 // TODO: rg_internal_error? it must notify me in case of problems // TODO: rg_internal_error? it must notify me in case of problems
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