Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Use base_url function instead of the obsolete web_url variable | a821ee84f3dcf7294ee569dbc2da8b442cb60f29 | Catalin(ux) M. BOIE | 2017-05-24 19:03:49 |
Declare state as loaded only if I can really save it in cache | 10c2fcf9b78d6eb568e81ec34addfa2246d32618 | Catalin(ux) M. BOIE | 2017-05-24 18:53:25 |
Small texts fixes | 9f7998f23276d44435bd3319099d13bcb40c6b7e | Catalin(ux) M. BOIE | 2017-05-24 18:51:50 |
Improved http tests by using persistent connections | 9b77048af3f73f8bf30128d5b07a2bae28315d45 | Catalin(ux) M. BOIE | 2017-05-24 18:48:50 |
Big change allowing http and https to work in parallel | 3f1836953c50735c7860da1f951eb82a42a1940b | Catalin(ux) M. BOIE | 2017-05-24 15:19:39 |
Do not generate an internal error if the user has no e-mail | 6c355fe874750a9b5f454cbeeea28b5cf0f00236 | Catalin(ux) M. BOIE | 2017-05-06 10:55:41 |
Use rg_exec in tests to polute the output | df300f967ebfaa70499d5b599dcb1dfae02a89f3 | Catalin(ux) M. BOIE | 2017-04-29 22:56:05 |
Send errors on sterr instead of stdout for ssh commands | 006772c3e526e6cdbc92a52b452842bf8b46c4eb | Catalin(ux) M. BOIE | 2017-04-29 22:53:25 |
Added samples config files in the doc folder | 6dad3cb75cba2203fe2f091285a708822192f306 | Catalin(ux) M. BOIE | 2017-04-29 15:12:05 |
Added sample nginx config file | c7c1a7057ddf6fcca6e02ee63d46777bfa94c8bd | Catalin(ux) M. BOIE | 2017-04-29 14:46:56 |
Improved error reporting when php-fpm receives chunked encoding | fe158537256add633f02076e8359cd8f2267d54f | Catalin(ux) M. BOIE | 2017-04-29 14:46:18 |
Get rid of strage rewriting in we server config | 8f845f11e9edfa5291965f570a5c971056416b62 | Catalin(ux) M. BOIE | 2017-04-29 14:43:23 |
Do not allow anyone to activate the debug (rg_debug). | 0a296ec27e6988e91db8cac50e53345a8bce1c81 | Catalin(ux) M. BOIE | 2017-04-26 20:09:06 |
Forgot to add diff_too_big file | b6297ed622b8fd1562f6ab05b279290367612b89 | Catalin(ux) M. BOIE | 2017-04-26 20:08:29 |
Added a functional test for http.postBuffer problem | ff650d024cd5f82f796a225c204e156c9e1213f4 | Catalin(ux) M. BOIE | 2017-04-26 20:07:47 |
Added a 'Thanks' section | e7c9731dd32fe48befc58bf08044fd5649f523f4 | Catalin(ux) M. BOIE | 2017-04-26 20:06:49 |
Some big fixes for push over http | 56ebd277c71c50e40af9465cd3867dc885f054b9 | Catalin(ux) M. BOIE | 2017-04-26 20:00:53 |
Do not recursively set the rights - not needed | a9edce3101ad2450b67a575265827aa69efd5c63 | Catalin(ux) M. BOIE | 2017-04-17 07:16:01 |
Cosmetic changes | 4bb36da63972e7e152e4e476e84ed55baba02911 | Catalin(ux) M. BOIE | 2017-04-15 09:29:09 |
Add possibility for admin to limit the git log --patch limit | 1865405c40ebe92aa1bc6fd4569dcbb0e3af476c | Catalin(ux) M. BOIE | 2017-04-15 09:28:46 |
File | Lines added | Lines deleted |
---|---|---|
inc/admin.inc.php | 4 | 5 |
File inc/admin.inc.php changed (mode: 100644) (index 2396e8d..3defc63) | |||
... | ... | function rg_admin_report1_suggestions($db, $from, $to) | |
322 | 322 | function rg_admin_report1($db, $rg) | function rg_admin_report1($db, $rg) |
323 | 323 | { | { |
324 | 324 | global $rg_admin_email; | global $rg_admin_email; |
325 | global $rg_web_url; | ||
326 | 325 | ||
327 | 326 | $body = ''; | $body = ''; |
328 | 327 | ||
328 | $site = rg_base_url(); | ||
329 | 329 | $y_start = gmmktime(0, 0, 0, gmdate("m"), gmdate("d") - 1); | $y_start = gmmktime(0, 0, 0, gmdate("m"), gmdate("d") - 1); |
330 | 330 | $y_end = gmmktime(0, 0, 0, gmdate("m"), gmdate("d")) - 1; | $y_end = gmmktime(0, 0, 0, gmdate("m"), gmdate("d")) - 1; |
331 | 331 | ||
332 | 332 | $body .= "Report between " . gmdate('Y-m-d H:i:s', $y_start) | $body .= "Report between " . gmdate('Y-m-d H:i:s', $y_start) |
333 | 333 | . " and " . gmdate('Y-m-d H:i:s', $y_end) . " UTC\n"; | . " and " . gmdate('Y-m-d H:i:s', $y_end) . " UTC\n"; |
334 | $body .= 'For site ' . $rg_web_url . "\n"; | ||
334 | $body .= 'For site ' . $site . "\n"; | ||
335 | 335 | ||
336 | 336 | $list = array( | $list = array( |
337 | 337 | 'users' => 'users', | 'users' => 'users', |
... | ... | function rg_admin_report1($db, $rg) | |
433 | 433 | $rg['mail']['subject'] = 'RocketGit report' | $rg['mail']['subject'] = 'RocketGit report' |
434 | 434 | . ' [' . $users . 'u]' | . ' [' . $users . 'u]' |
435 | 435 | . ' [' . $repos . 'r]' | . ' [' . $repos . 'r]' |
436 | . ' [' . $total_yesterday_changes . 'c]'; | ||
437 | if (!empty($rg_web_url)) | ||
438 | $rg['mail']['subject'] .= ' (' . $rg_web_url . ')'; | ||
436 | . ' [' . $total_yesterday_changes . 'c]' | ||
437 | . ' (' . $site . ')'; | ||
439 | 438 | $rg['mail']['body'] = $body; | $rg['mail']['body'] = $body; |
440 | 439 | rg_mail_template("mail/admin/report1", $rg); | rg_mail_template("mail/admin/report1", $rg); |
441 | 440 | } | } |