srchub

srchub Commit Details


Date:2015-10-15 21:24:05 (9 years 2 months ago)
Author:Natalie Adams
Branch:master
Commit:0b6fa7c64dff91209a618a5f975471898d294616
Parents: e130ec13e2c5cfd1ae574b0f504baf37539c2f0e
Message:Inspector cleanup

Changes:

File differences

indefero/scripts/bootstrap.php
1414
1515
1616
17
18
17
$user->administrator = true;
$user->active = true;
$user->create();
print "Bootstrap ok\n";
?>
print "Bootstrap ok\n";
indefero/src/IDF/Plugin/SyncMonotone.php
568568
569569
570570
571
571572
572573
573574
......
641642
642643
643644
644
645
645646
646647
647648
$keyGuard = new IDF_Plugin_SyncMonotone_ModelGuard($key);
foreach (Pluf::factory('IDF_Project')->getList() as $project) {
/** @var \IDF_Project $project */
$conf = new IDF_Conf();
$conf->setProject($project);
$scm = $conf->getVal('scm', 'mtn');
$read_perms, LOCK_EX) === false) {
$this->_diagnoseProblem(sprintf(
__('Could not write read-permissions for project "%s"'),
$shortname
$project->shortname
));
}
}
pluf/src/Pluf/DB/MySQL.php
195195
196196
197197
198
198
199199
200200
201201
function __toString()
{
return '<Pluf_DB_MySQL('.$this->con_id.')>';
return '<Pluf_DB_MySQL('.$this->con_id->info.')>';
}
}
pluf/src/Pluf/DB/SQLite.php
163163
164164
165165
166
166
167
167168
168169
169170
function __toString()
{
return '<Pluf_DB_SQLite('.$this->con_id.')>';
// According to PHPStorm \PDO does not define __toString
return '<Pluf_DB_SQLite()>';
}
}
pluf/src/Pluf/Form/Field/Datetime.php
5656
5757
5858
59
59
6060
6161
6262
str_pad($day, 2, '0', STR_PAD_LEFT).' '.
str_pad($date['tm_hour'], 2, '0', STR_PAD_LEFT).':'.
str_pad($date['tm_min'], 2, '0', STR_PAD_LEFT).':';
str_pad($date['tm_sec'], 2, '0', STD_PAD_LEFT);
str_pad($date['tm_sec'], 2, '0', STR_PAD_LEFT);
// we internally use GMT, so we convert it to a GMT date.
return gmdate('Y-m-d H:i:s', strtotime($date));
pluf/src/Pluf/Form/Widget/SelectMultipleInput/Checkbox.php
6565
6666
6767
68
68
6969
7070
7171
public function idForLabel($id)
{
if ($id) {
$id += '_0';
$id .= '_0';
}
return $id;
}
pluf/src/Pluf/Log.php
147147
148148
149149
150
150
151151
152152
153153
*/
public static function log($message)
{
return self::_log(self::ALL, $message);
self::_log(self::ALL, $message);
}
/**
pluf/src/Pluf/Middleware/GoogleAnalytics.php
4242
4343
4444
45
45
4646
4747
4848
{
if (isset($response) && !isset($response->status_code))
return $response;
if (!Pluf::f('google_analytics_id', false)) {
return $response;
}
pluf/src/Pluf/Template.php
153153
154154
155155
156
157156
158157
159158
} else {
throw new Exception(sprintf(__('Cannot write the compiled template: %s'), $this->compiled_template));
}
return false;
}
public static function markSafe($string)
pluf/src/Pluf/Text/MarkDown.php
33353335
33363336
33373337
3338
software, even if advised of the possibility of such damage.
*/
?>
pluf/src/Pluf/Translation/TemplateExtractor.php
402402
403403
404404
405
405
406406
407407
408408
$result.=$tok;
} elseif ($tok ==']') {
$result.=$tok;
} elseif ($getAsArray && $tok == ',') {
} elseif ($tok == ',') { // $getAsArray not defined anywhere...
$results[]=$result;
$result='';
} else {
pluf/src/Pluf/thirdparty/ccurl.php
142142
143143
144144
145
146
145
public function __tostring(){
return $this->_webpage;
}
}
?>
}
pluf/src/packager.php
8888
8989
9090
91
92
91
echo "\n";
echo 'Compiled files: '.count($files)."\n";
file_put_contents($output_file, '<?php '.implode("\n", $output).' ?>');
echo('Final size: '.(int)(100*filesize($output_file)/$size).'%'."\n");
?>
echo('Final size: '.(int)(100*filesize($output_file)/$size).'%'."\n");

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.11565s using 14 queries.