History log of /web-bugs/www/index.php (Results 1 – 25 of 46)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 11c6f02e 03-Nov-2020 Gabriel Caruso

Add PHP 8.0 to common searches

Closes GH-87.


# 60aa74c6 19-Jun-2020 Derick Rethans

Restrict search links to PHP bugs only; drop PHP 7.1


# 9f5c30ff 14-Jun-2019 Christoph M. Becker

Add search link for PHP 7.4 bugs


# 80d03e3e 04-Jan-2019 Peter Kokot

Move simple pages to templates

This is initial patch of the series of patches that moves the most
simple pages to templates.


# 7e3870ef 10-Feb-2019 Gabriel Caruso

Remove PHP 5.6 from "Common searches" list


# 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 ...


# 068d8514 17-Dec-2018 Peter Kokot

Add template engine

This patch adds an initial simplistic template engine to separate logic
from the presentation.

Basic initial features:
- escaping via Context::noHtml() a

Add template engine

This patch adds an initial simplistic template engine to separate logic
from the presentation.

Basic initial features:
- escaping via Context::noHtml() and Context::e() methods
- blocks
- nesting options using includes and extending layouts
- PHP syntax
- variable scopes dedicated to template scope only
- Appending blocks (when JS files are in need to be appended)
- initial unit and functional tests
- Main index page refactored as an example of usage
- Very short intro docs how to use the template layer
- Thanks to @nhlm for the code review and numerous suggestions to
improve the usability and code stability,
- Thanks to @KalleZ and for the code review and numerous common sense
suggestions about templates themselves.
- Thanks to @Maikuolan for the code review and numerous suggestions
about the usability.
- Moved hash ids redirection to aseparate JavaScript file
- Use location instead of window.location in the JavaScript redirection

Discussions:
- http://news.php.net/php.webmaster/27603
- https://github.com/php/web-bugs/pull/66

show more ...


# ad8bc2d5 19-Dec-2018 Peter Kokot

Move bugdb queries to repository


# 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 ...


# d9ada8ec 15-Dec-2018 Kalle Sommer Nielsen

PHP 7.0 is EOL


# 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 ...


# 180dccfe 17-Oct-2018 Peter Kokot

Trim trailing whitespace


# e11c6cc3 22-Jul-2018 Rasmus Lerdorf

Merge PR #39


# b902b496 08-Jun-2018 Christoph M. Becker

Add search link for PHP 7.3 bugs


# d04d379e 24-Jul-2017 Kalle Sommer Nielsen

Authenticate before each call to the header, this should probably be done in the header function anyway.

Fixes some navigational links only showing on certain pages


# 95cdd442 15-May-2017 Kalle Sommer Nielsen

Added quick link to 7.2 bugs


# b0f9757d 19-Dec-2016 Anatol Belski

link the security document


# b175427a 01-Sep-2016 Kalle Sommer Nielsen

Fixed bugs.php.net part of bug #72880 (snaps.php.net still linked from other php.net sites)

Note, this removes the entire snaps section on the How to report page, since the Windows snaps pag

Fixed bugs.php.net part of bug #72880 (snaps.php.net still linked from other php.net sites)

Note, this removes the entire snaps section on the How to report page, since the Windows snaps page neither seems to be available, at least for now. Because of the Windows part, I have linked the backtrace page to actual stable releases, it works for now I suppose

show more ...


# 220350b6 30-Jul-2016 Kalle Sommer Nielsen

5.5 is EOL


# ea6da707 13-Jul-2016 Kalle Sommer Nielsen

Fix typo (part of bug #72549)


# 1f99324e 30-Jun-2016 Kalle Sommer Nielsen

Add 7.1 quick link on the main page


# 931c5341 08-Nov-2015 Adam Harvey

Pouring one out for 5.4 as we speak.


# 5b314cd1 26-May-2015 Kalle Sommer Nielsen

Added PHP7 to the frontpage quick searches


12