List of commits:
Subject Hash Author Date (UTC)
Fixed suggestions' 'yesterday' report. d6b54bd62c35ca1e58b4b7e45bb5d3e48844712b Catalin(ux) M. BOIE 2015-07-09 03:30:36
More texts changes and ToS is bigger now. 062bd66f4c403116edd34d592ac668732a0dde05 Catalin(ux) M. BOIE 2015-07-09 03:29:36
If user has no repos, go directly to 'create' page. d22f90ace3af3241e5554c82bbf633d68a549be4 Catalin(ux) M. BOIE 2015-07-09 03:28:47
On account creation, we did not set the 'confirmed' field. 7e83a1661aa078ae9a3160aa43586c76307e56d0 Catalin(ux) M. BOIE 2015-07-09 03:27:41
Do not add a border for submenus. b51bce132dceef556d32f7e7caa788ec9b3cd519 Catalin(ux) M. BOIE 2015-07-06 04:31:14
Small changes to the rights pages. a1fea38da6d0ca29126d9f030addc426cb2b0ab2 Catalin(ux) M. BOIE 2015-07-06 04:30:46
Improved a little but the report1. f4196351fc9cda4e9c213d30077859e7be7ead65 Catalin(ux) M. BOIE 2015-07-06 04:01:03
Add a history entry when a repo is created. 884f64b72469b10a14b086e6572b6e464ce23378 Catalin(ux) M. BOIE 2015-07-06 03:49:37
Cache improvements (no wait when no needed) and layout changes. e51ecf91f18a7533a009530075bb0710e4caae63 Catalin(ux) M. BOIE 2015-07-02 19:39:46
Seems empty additional_headers will trigger a nasty error in php. 3aaa0b5b7cc18277a8ca4b404c40b0eb15383681 Catalin(ux) M. BOIE 2015-07-02 04:53:58
Improved ls-tree operation a little bit. bb450d8c2e47b30b98f6571ef80ae310387b4823 Catalin(ux) M. BOIE 2015-06-26 04:07:16
Lots of fixes, mostly cache performance ones. c42469d7e9ea84b23776c945cb0dd46ea82a589f Catalin(ux) M. BOIE 2015-06-24 04:22:07
Use HTTP/1.1 caching only with HTTP/1.1 protocol. 7998f5b0ba9cbd06deb5a5e5270629f9213cf2b7 Catalin(ux) M. BOIE 2015-06-18 21:46:13
Bumpped version to 0.34 65d54e7a4a50527a22a4a325a2fb423b60acc77d Catalin(ux) M. BOIE 2015-06-09 16:06:42
More stuff in TODO. 16bce74aefff9696959c7b186031a4b4e36a1d79 Catalin(ux) M. BOIE 2015-06-09 16:05:05
More design stuff. a87db7c7448cd59cd2f56fb108c5ed12f01d4e06 Catalin(ux) M. BOIE 2015-06-09 16:04:49
Fixed UTF-8 chars whn connecting by ssh and issueing command repos c363832f1e7c6bc3672f823ac5c0c2f3244b4615 Catalin(ux) M. BOIE 2015-06-09 16:04:04
Add caching by using ETag / If-None-Match 132cd07d19e33b382ab4e7a0a0b0e057fe316652 Catalin(ux) M. BOIE 2015-06-09 16:03:27
Add debug support for rpm instalation. c091b24f82c135b5606181f417d2f18151d951ae Catalin(ux) M. BOIE 2015-06-06 11:00:44
SSH key fingerprint: add SHA256 support f774edcd0c17f66dd4de54aa35a543bbafaff609 Catalin(ux) M. BOIE 2015-06-04 20:31:35
Commit d6b54bd62c35ca1e58b4b7e45bb5d3e48844712b - Fixed suggestions' 'yesterday' report.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-07-09 03:30
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2015-07-09 03:30
Parent(s): 062bd66f4c403116edd34d592ac668732a0dde05
Signing key:
Tree: f75138ae31532907d4a892dc4ac1c420469ff0be
File Lines added Lines deleted
inc/admin.inc.php 7 4
inc/struct.inc.php 1 0
File inc/admin.inc.php changed (mode: 100644) (index 4a59268..c789d85)
... ... function rg_init($db, $rg)
266 266 function rg_admin_report1_suggestions($db, $from, $to) function rg_admin_report1_suggestions($db, $from, $to)
267 267 { {
268 268 $ret = array(); $ret = array();
269 $ret['yesterday'] = "";
269 $ret['yesterday'] = 0;
270 $ret['yesterday_text'] = '';
271 $ret['total'] = 0;
270 272
271 273 // Total // Total
272 274 $sql = "SELECT COUNT(*) AS total FROM suggestions"; $sql = "SELECT COUNT(*) AS total FROM suggestions";
273 275 $res = rg_sql_query($db, $sql); $res = rg_sql_query($db, $sql);
274 276 if ($res === FALSE) { if ($res === FALSE) {
275 $ret['total'] = "ERR";
277 $ret['total'] = -1;
276 278 } else { } else {
277 279 $row = rg_sql_fetch_array($res); $row = rg_sql_fetch_array($res);
278 280 $ret['total'] = $row['total']; $ret['total'] = $row['total'];
 
... ... function rg_admin_report1_suggestions($db, $from, $to)
295 297 $list .= sprintf("%8u %s\n", $list .= sprintf("%8u %s\n",
296 298 $row['uid'], $row['suggestion']); $row['uid'], $row['suggestion']);
297 299 } }
300 $ret['yesterday'] = $count;
298 301 if ($count) if ($count)
299 $ret['yesterday'] = "\nYesterday suggestions"
302 $ret['yesterday_text'] = "\nYesterday suggestions"
300 303 . " (" . $count . "):\n" . $list; . " (" . $count . "):\n" . $list;
301 304 } }
302 305 rg_sql_free_result($res); rg_sql_free_result($res);
 
... ... function rg_admin_report1($db, $rg)
391 394 $rg['mail']['subject'] = 'RocketGit report' $rg['mail']['subject'] = 'RocketGit report'
392 395 . ' [' . $users . '/' . $total_users . ']' . ' [' . $users . '/' . $total_users . ']'
393 396 . ' [' . $repos . '/' . $total_repos . ']' . ' [' . $repos . '/' . $total_repos . ']'
394 . $sug['yesterday'] . 's';
397 . ' ' . $sug['yesterday'] . 's';
395 398 $rg['mail']['body'] = $body; $rg['mail']['body'] = $body;
396 399 rg_mail_template("mail/admin/report1", $rg); rg_mail_template("mail/admin/report1", $rg);
397 400 } }
File inc/struct.inc.php changed (mode: 100644) (index 6d5654f..da058c3)
... ... $rg_sql_struct[33]['other'] = array(
423 423
424 424 TODO: do not fill email in suggestions - we have the uid! TODO: do not fill email in suggestions - we have the uid!
425 425 TODO: "suggestion_drop_email" => "ALTER TABLE suggestions DROP email" TODO: "suggestion_drop_email" => "ALTER TABLE suggestions DROP email"
426 TODO: change report1 to activate yesterday suggestions!
426 427 */ */
427 428
428 429 // This must be the last line // This must be the last line
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