History log of /web-bugs/www/report.php (Results 1 – 25 of 68)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0edb3c21 24-Jun-2023 Nikita Popov

Disable bug reports completely

And point security issues to GitHub advisories.


# d50077c2 05-Mar-2022 Nikita Popov

Only allow links to php.net and github.com

Activity on bugs.php.net is pretty much down to link spam now.
Fight it by only allowing php.net and github.com links.


# 3fb5cb12 04-Dec-2021 Nikita Popov

Hide bug submission form by default

As people will not read anything no matter how red or bold it is,
hide the bug submission form by default. We don't want people to
submit their mu

Hide bug submission form by default

As people will not read anything no matter how red or bold it is,
hide the bug submission form by default. We don't want people to
submit their mundane bugs as security issues just because that's
the only option.

show more ...


# d0b0481c 04-Dec-2021 Nikita Popov

Point people to the new issue tracker


# 4efb5c34 21-Oct-2021 Nikita Popov

Disable submission of "Documentation Problem" bugs

Instead point people to the php/doc-en repository.

It's still possible to change the bug type to "Documentation
Problem" after

Disable submission of "Documentation Problem" bugs

Instead point people to the php/doc-en repository.

It's still possible to change the bug type to "Documentation
Problem" after it has been submitted, e.g. if it turns out a bug
is really a documentation issue.

show more ...


# 9d47b05f 22-May-2019 Peter Kokot

Convert all tabs to spaces


# 5cd2630a 24-Dec-2018 Peter Kokot

Add dependency injection container

This patch introduces a dependency injection container for the PHP bug
tracker application. Container deals with the creation of all service
classe

Add dependency injection container

This patch introduces a dependency injection container for the PHP bug
tracker application. Container deals with the creation of all service
classes and additionally provides retrieving of configuration parameters.
Service classes are used everywhere in the app - from accessing database
to uploading files. Configuration parameters include infrastructure
configuration (database credentials...) and application level
configuration (directories locations...).

Container is compatible with the PSR-11 container interface defined
so it is simple to quickly understand its usage. Advanced features
such as autowiring are not included in this phase.

show more ...


# ae57162e 16-Dec-2018 Peter Kokot

Refactor fetching versions

- Procedural code moved to OOP
- Added unit tests
- Added a more flexible tmp folder location and introduce var folder
(in production this won't work

Refactor fetching versions

- Procedural code moved to OOP
- Added unit tests
- Added a more flexible tmp folder location and introduce var folder
(in production this won't work yet, so we still use /tmp there).
For local development environments var directory in project root
is used for faster and easier project setup.
- Added initial extensible PSR-16-alike semi-compatible cache class
and refactored storing fetched versions.
- The versions list generator is now simpler and a bit more logical
what is happening. Versions sort order is the same as before.
- Added ComposerScripts utility/service class for creating required
directories (uploads and var/cache), and configuration file, when
installing application in development environment.

show more ...


# 422f6e5c 27-Dec-2018 Christoph M. Becker

Fix #77355: Filing a ticket links to the Edit tab of potential duplicates

We should link to the ticket generally, instead of the Edit tab.


# fe4c5e81 23-Dec-2018 Kalle Sommer Nielsen

Minor cleanup


# a5b6fa07 16-Dec-2018 Peter Kokot

Refactor get_resolve_reasons() to repository class


# 14f8c07a 14-Dec-2018 Peter Kokot

Refactor PDO wrapper

Some considerations were raised on the mailing list that this PHP
application doesn't need a PDO wrapper at all.

Changes:
- ::fetchRow() method removed

Refactor PDO wrapper

Some considerations were raised on the mailing list that this PHP
application doesn't need a PDO wrapper at all.

Changes:
- ::fetchRow() method removed in favor of the vanilla PDOStatement::fetch()
- ::fetchAll() override removed in favor of the vanilla
PDOStatement::fetchAll()
- ::fetchCol() removed since it is not used and is only a wrapper for
the PDOStatement::fetchColumn()
- PDO fetch_style synced accross the app. When no fetch style is passed
the default PDO::FETCH_ASSOC is used as set when connecting to db.
- Remove Database::escape() method
The custom ::escape() method is a wrapper around PDO::quote() which
additionally trims leading and trailing quotes from the string. All
this should ideally be done via prepared statements only, except where
we can and need to use PDO::quote() this step can be done on the given
string or variable at hand directly.
- Remove escapeSQL() function
The escapeSQL function is a wrapper around the PDO::quote() and is
using $dbh from the global scope which is not testable nor good practice
further on. Removed and refactored into only PDO::quote() usages on
required places.
- Remove ::fetchOne() method
The fetchOne() method is a simple wrapper around the PDOStatement::fetch()
method with very minor tweaks so the usage can be simplified even more.
The PDOStatement::fetch(\PDO::FETCH_NUM)[0] will always return either a
result from the database column or when row is empty a null.
- Probably this should be refactored to the database tables respected
repositories further on.
- Remove PDO wrapper
The app's current goal is to lean on a vanilla PDO wrapper only.
Current set of features also don't require additional functionality
and extending PDO to a wrapper or create a database abstraction layer
yet.

show more ...


# bae5fa6c 14-Dec-2018 Peter Kokot

Trim trailing whitespaces


# 9b248f9e 10-Dec-2018 Peter Kokot

Refactor get_pseudo_packages() to repository class

Changes:
- get_pseudo_packages() function is moved to its own repository class.
- Database::queryAll() removed since it is not used

Refactor get_pseudo_packages() to repository class

Changes:
- get_pseudo_packages() function is moved to its own repository class.
- Database::queryAll() removed since it is not used and the method
arguments don't match the number of used arguments anymore
- Project types configuration is moved to repository class for now.
- Some unused items removed
- Some template changes and show_project_options() helper function
integrated in the view layer directly since it is used in a simplified
way.

show more ...


# 8ab9a1d1 05-Dec-2018 Peter Kokot

Refactor patches uploading

This patch moves patches uploading functionality from the outdated
HTTP_Upload package to a dedicated service class in the app.

Additional changes in

Refactor patches uploading

This patch moves patches uploading functionality from the outdated
HTTP_Upload package to a dedicated service class in the app.

Additional changes in this context:
- Functionality concerning retrieving patches data from database has
been moved to a separate repository classes.
- Some missed bugs fixed when uploading patches and no developer info
were recorded.
- Obsoleting patches functionality is now working again.
- Added a simple unit test.

show more ...


# d337e731 05-Dec-2018 Peter Kokot

Add dual PSR-4 compatible classes autoloader

This patch is a workaround until Composer installation step can be used
in production bugs.php.net. Once Composer can be added to the deploym

Add dual PSR-4 compatible classes autoloader

This patch is a workaround until Composer installation step can be used
in production bugs.php.net. Once Composer can be added to the deployment
step together with rsync this can be simplified and only Composer's
autoload.php will be used.

show more ...


# 35218a28 03-Dec-2018 Peter Kokot

Refactor numerical Captcha package into class

The Text_CAPTCHA_Numeral can be integrated in the project source code
instead of using a separate unmaintained dependency.

This pat

Refactor numerical Captcha package into class

The Text_CAPTCHA_Numeral can be integrated in the project source code
instead of using a separate unmaintained dependency.

This patch also adds a simple unit test.

show more ...


# cd01d60c 24-Oct-2018 Peter Kokot

Remove redundant script type="text/javascript" attributes

Omitted type means that script is JavaScript [1] and for HTML 5 browsers
can be removed today.

[1] https://developer.mo

Remove redundant script type="text/javascript" attributes

Omitted type means that script is JavaScript [1] and for HTML 5 browsers
can be removed today.

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script

show more ...


# a06f85b0 24-Oct-2018 Peter Kokot

Refactor long array() syntax to short []

Since site is using PHP 5.4+ already, the longer `array()` syntax can be
refactored to shorter `[]`. Also code is already using short array
s

Refactor long array() syntax to short []

Since site is using PHP 5.4+ already, the longer `array()` syntax can be
refactored to shorter `[]`. Also code is already using short array
syntax on some places.

show more ...


# 8c1bedf1 23-Oct-2018 Peter Kokot

Update http to https

Changes:
- http links updated to https (those that work so far)
- us3.php.net mirror changed to php.net for fetching PHP versions
- some outdated links refre

Update http to https

Changes:
- http links updated to https (those that work so far)
- us3.php.net mirror changed to php.net for fetching PHP versions
- some outdated links refreshed

show more ...


# 5344b771 07-Oct-2018 zrhoffman

Fix #76273: Package affected section should be split

- include package-affected.js on bug reporting page
- package-affected.js: a dropdown for package categories
- package-affected.j

Fix #76273: Package affected section should be split

- include package-affected.js on bug reporting page
- package-affected.js: a dropdown for package categories
- package-affected.js: change the package list when the user selects a different package group
- packages affected: change select size to 5 so the user can see when the the package list changes

show more ...


# 180dccfe 17-Oct-2018 Peter Kokot

Trim trailing whitespace


# 966b95fe 21-Jul-2018 Rasmus Lerdorf

ipv6 here too


# 23298a12 17-Jul-2018 Rasmus Lerdorf

New bugs.php.net code


# a2524484 16-Sep-2015 Sobak

Slightly reword to reduce ammount of duplicated data


123