Home
last modified time | relevance | path

Searched refs:name (Results 1 – 19 of 19) sorted by relevance

/web-bugs/src/Utils/
H A DPatchTracker.php72 private function getPatchDir(int $bugId, string $name): string argument
74 return $this->uploadsDir.'/p'.$bugId.'/'.$name;
80 private function createPatchDir(int $bugId, string $name): void argument
82 $patchDir = $this->getPatchDir($bugId, $name);
153 $this->uploader->setDir($this->getPatchDir($bugId, $name));
169 $this->validatePatchName($name);
171 $this->createPatchDir($bugId, $name);
175 $this->detach($bugId, $name, $revision);
208 private function validatePatchName(string $name): void argument
210 if (!preg_match('/^[\w\-\.]+\z/', $name) || strlen($name) > 80) {
[all …]
/web-bugs/src/Template/
H A DContext.php89 public function block(string $name): string argument
91 return $this->blocks[$name] ?? '';
99 public function start(string $name): void argument
101 $this->blocks[$name] = '';
112 public function append(string $name): void argument
114 if (!isset($this->blocks[$name])) {
115 $this->blocks[$name] = '';
126 public function end(string $name): void argument
132 if (!empty($this->blocks[$name])) {
133 $this->blocks[$name] .= $content;
[all …]
H A DEngine.php75 public function register(string $name, callable $callable): void argument
77 if (method_exists(Context::class, $name)) {
79 $name.' is already registered by the template engine. Use a different name.'
83 $this->callables[$name] = $callable;
/web-bugs/tests/Mocks/responses/
H A Dstable-body.txt1name":"PHP 5.6.39 (tar.bz2)","sha256":"b3db2345f50c010b01fe041b4e0f66c5aa28eb325135136f153e18da015…
/web-bugs/www/
H A Dstats.php115 foreach ($pkg[$sort_by] as $name => $value) {
116 if ($name != 'all') {
123 <td class="bug_head">{$name}</td>
130 echo bugstats($key, $name), "</td>\n";
162 function bugstats($status, $name) argument
166 if ($name == 'all') {
174 if (empty($pkg[$status][$name])) {
187 function sort_url($name) argument
191 if ($name == $sort_by) {
196 if ($sort_by != $name) {
[all …]
H A Dfix.php156 … $result = bugs_add_comment($bug_id, $auth_user->email, $auth_user->name, $log_comment, 'log');
162 … $result = bugs_add_comment($bug_id, $auth_user->email, $auth_user->name, $ncomment, 'comment');
H A Dbug.php248 $_POST['in']['name'] = $auth_user->name;
410 $comment_name = $auth_user->name;
1092 foreach ($revs as $name => $revisions)
1094 … $obsolete = $obsoletePatchRepository->findObsoletingPatches($bug_id, $name, $revisions[0][0]);
1096 $url_name = urlencode($name);
1097 $clean_name = clean($name);
H A Dgh-pull-add.php128 $res = bugs_add_comment($bug_id, $email, $auth_user->name, $text, 'patch');
H A Dpatch-add.php149 $res = bugs_add_comment($bug_id, $email, $auth_user->name, $text, 'patch');
/web-bugs/src/Repository/
H A DPatchRepository.php86 public function getPatchContents(int $bugId, string $name, int $revision): string argument
94 $statement->execute([$bugId, $name, $revision]);
97 $contents = @file_get_contents($this->getPatchPath($bugId, $name, $revision));
100 … throw new \Exception('Cannot retrieve patch revision "'.$revision.'" for patch "'.$name.'"');
106 … throw new \Exception('No such patch revision "'.$revision.'", or no such patch "'.$name.'"');
112 private function getPatchPath(int $bugId, string $name, int $revision): string argument
114 return $this->uploadsDir.'/p'.$bugId.'/'.$name.'/'.'p'.$revision.'.patch.txt';
H A DReasonRepository.php116 'name' => 'needtrace',
133 'name' => 'needscript',
/web-bugs/www/js/
H A Djquery.cookie.js56 jQuery.cookie = function(name, value, options) { argument
80 … document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
88 if (cookie.substring(0, name.length + 1) == (name + '=')) {
89 cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
H A Duserlisting.php54 $lookup[] = $row['name'];
59 'name' => $row['name'],
H A Dpackage-affected.js14 packageGroup.name = 'in[package_group]';
/web-bugs/sql/
H A Dfixtures.sql3 INSERT INTO bugdb_pseudo_packages SET id = '1', parent = '0', name = 'Web Site', long_name = 'Web…
4 INSERT INTO bugdb_pseudo_packages SET id = '2', parent = '1', name = 'Bug System', long_name = 'Bug…
H A Dschema.sql66 name varchar(80) NOT NULL default '', field
72 UNIQUE KEY (name, project)
77 name varchar(100) NOT NULL, field
/web-bugs/
H A Dcomposer.lock11 "name": "doctrine/instantiator",
49 "name": "Marco Pivetta",
81 "name": "myclabs/deep-copy",
141 "name": "phar-io/manifest",
208 "name": "phar-io/version",
437 "name": "phpunit/php-timer",
556 "name": "phpunit/phpunit",
783 "name": "sebastian/diff",
1279 "name": "sebastian/type",
1335 "name": "sebastian/version",
[all …]
/web-bugs/include/
H A Dfunctions.php663 foreach ($bug_group[2] as $name) {
664 $child = $pseudo_pkgs[$name];
667 if ((is_array($current) && in_array($name, $current)) || ($name == $current)) {
754 if (array_key_exists($name, $in) && array_key_exists($name, $bug)) {
755 $to = trim($in[$name]);
756 $from = trim($bug[$name]);
795 foreach ($diff as $name => $content) {
864 foreach ($fields as $name => $desc) {
866 if (isset($changed[$name])) {
873 if ($name == 'email') {
[all …]
/web-bugs/docs/
H A Dtemplates.md136 <input type="text" name="title">
152 <input type="text" name="title">

Completed in 61 milliseconds