List of commits:
Subject Hash Author Date (UTC)
Do not free resources if query fails. 57baca81e9087a00a8e2e1807c932de2fb9769c4 Catalin(ux) M. BOIE 2016-06-26 11:47:09
Packaging changes: prepared for Debian build c32cb09dc84615f4984ce5f8fac4064accbeeb28 Catalin(ux) M. BOIE 2016-06-12 05:59:14
webhooks - rename Name to Type 7d774d4818950b3d3916e834b0dde3081b90960e Catalin(ux) M. BOIE 2016-05-08 11:36:45
Correct license for spec file (Affero -> A) 3635ec1e7b416524ad15e06c884b4546600d68e4 Catalin(ux) M. BOIE 2016-05-08 11:09:01
Bump version to 0.54 a6f90aaaedcaa67073408100b6a0abd5c7ddd6fa Catalin(ux) M. BOIE 2016-05-08 11:06:23
SELinux: permit access to /tmp b33571b8aa45d49053ef20cbb485ef36dc6f5e49 Catalin(ux) M. BOIE 2016-05-08 11:05:44
TODO changes 55917d4f8f63aefcac02b4c583dbe252ee04aa87 Catalin(ux) M. BOIE 2016-05-08 11:04:35
Get rid of php-mbstring: is not a standard extention 0934a66ce1a94f4066b1b7e18edbe0acb4dd3206 Catalin(ux) M. BOIE 2016-05-08 11:04:20
Corrected set_pass function cache actions e6fd4033b3018fb20d22f6e29c162b4330ec935f Catalin(ux) M. BOIE 2016-04-25 05:20:03
Cosmetic changes for config file 746371ed9154915f748f8b0bd95293e823673193 Catalin(ux) M. BOIE 2016-04-24 11:10:10
Add build_jobs table to statistics 37730a66237d430bd5a17edd9605054e694d7649 Catalin(ux) M. BOIE 2016-04-24 10:58:46
More changes to support RedHat derivates 9ac924d9ba12145d4f01d446f5141b016329eea5 Catalin(ux) M. BOIE 2016-04-24 10:52:44
Do not give internal errors if commit ID is wrong 24f863dcb0cbc5def61e820f9aa2368e61cce860 Catalin(ux) M. BOIE 2016-04-24 10:48:06
Added web instructions for RedHat based distributions cc493d13f83fd121cee56d7e0da1ec742d37b774 Catalin(ux) M. BOIE 2016-04-23 17:14:45
Bump version to v0.53 9bcae435949c6740cdab1b92ae31dea2cfa168ab Catalin(ux) M. BOIE 2016-04-23 16:51:43
Improve installation instructions for Redhat/Oracle/CentOS cf6eddb844cde38eb1ce70d8bc7d64b012b7161d Catalin(ux) M. BOIE 2016-04-23 16:51:30
Bump version to v0.52 696615520a55b963126c4ae50016e13daa6aa326 Catalin(ux) M. BOIE 2016-04-23 16:47:44
Lots of fixes and added the build hook for continuous integration be2dc0276c24d26adb9814c6b9f6d1f649c0cf1f Catalin(ux) M. BOIE 2016-04-23 16:46:04
Allow del_tree on a non-existing repository ecee062a80ca607be91942347deff00f042f6489 Catalin(ux) M. BOIE 2016-04-06 16:17:41
Improved user info caching a0ec540e7be1aa620a559c6f77537b9687aacc11 Catalin(ux) M. BOIE 2016-04-06 16:16:54
Commit 57baca81e9087a00a8e2e1807c932de2fb9769c4 - Do not free resources if query fails.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-06-26 11:47
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-06-26 11:47
Parent(s): c32cb09dc84615f4984ce5f8fac4064accbeeb28
Signing key:
Tree: d40e25ca364acd113e97ec33577c9b864d65da8d
File Lines added Lines deleted
scripts/cron.php 10 5
File scripts/cron.php changed (mode: 100644) (index c03d79a..6aaa8fb)
... ... if (gmdate("Hi") == "0105") {
140 140 . " WHERE uid = " . $row['uid'] . " WHERE uid = " . $row['uid']
141 141 . " AND disk_used_mb != " . $row['disk_used_mb']; . " AND disk_used_mb != " . $row['disk_used_mb'];
142 142 $res2 = rg_sql_query($db, $sql); $res2 = rg_sql_query($db, $sql);
143 rg_sql_free_result($res2);
143 if ($res2 !== FALSE)
144 rg_sql_free_result($res2);
144 145 } }
145 146 rg_sql_free_result($res); rg_sql_free_result($res);
146 147 break; break;
 
... ... if (gmdate("Hi") == "0105") {
150 151 if (gmdate("Hi") == "0300") { if (gmdate("Hi") == "0300") {
151 152 rg_log_enter("Clean old forget_pass entries..."); rg_log_enter("Clean old forget_pass entries...");
152 153 $sql = "DELETE FROM forgot_pass WHERE expire < $now"; $sql = "DELETE FROM forgot_pass WHERE expire < $now";
153 $res = rg_sql_query($db, $sql);
154 if ($res !== FALSE)
155 $res = rg_sql_query($db, $sql);
154 156 rg_sql_free_result($res); rg_sql_free_result($res);
155 157 rg_log_exit(); rg_log_exit();
156 158 } }
 
... ... if (gmdate("i") == "30") {
159 161 rg_log_enter("Clean old tokens..."); rg_log_enter("Clean old tokens...");
160 162 $sql = "DELETE FROM tokens WHERE expire < $now"; $sql = "DELETE FROM tokens WHERE expire < $now";
161 163 $res = rg_sql_query($db, $sql); $res = rg_sql_query($db, $sql);
162 rg_sql_free_result($res);
164 if ($res !== FALSE)
165 rg_sql_free_result($res);
163 166 rg_log_exit(); rg_log_exit();
164 167 } }
165 168
 
... ... if (gmdate("i") == "01") {
167 170 rg_log_enter("Clean old sess entries..."); rg_log_enter("Clean old sess entries...");
168 171 $sql = "DELETE FROM sess WHERE expire < $now"; $sql = "DELETE FROM sess WHERE expire < $now";
169 172 $res = rg_sql_query($db, $sql); $res = rg_sql_query($db, $sql);
170 rg_sql_free_result($res);
173 if ($res !== FALSE)
174 rg_sql_free_result($res);
171 175 rg_log_exit(); rg_log_exit();
172 176 } }
173 177
 
... ... if (gmdate("Hi") == "0605") {
175 179 rg_log_enter("Clean old login_tokens_ip entries..."); rg_log_enter("Clean old login_tokens_ip entries...");
176 180 $sql = "DELETE FROM login_tokens_ip WHERE expire < $now"; $sql = "DELETE FROM login_tokens_ip WHERE expire < $now";
177 181 $res = rg_sql_query($db, $sql); $res = rg_sql_query($db, $sql);
178 rg_sql_free_result($res);
182 if ($res !== FALSE)
183 rg_sql_free_result($res);
179 184 rg_log_exit(); rg_log_exit();
180 185 } }
181 186
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