History log of /web-bugs/www/stats.php (Results 1 – 24 of 24)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


# 8bf14f32 03-Sep-2021 peterdd

recent bugs stat floating table fix (#97)

* recent bugs stat tables better float

using display:inline-block; or flex layouts provide better method than using historic the float:left

recent bugs stat floating table fix (#97)

* recent bugs stat tables better float

using display:inline-block; or flex layouts provide better method than using historic the float:left approach.

* css for recent bugs stat tables

Using display:inline-block; is better than using float:left;

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


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


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


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


# c2a40c6b 22-Oct-2018 Peter Kokot

Replace PEAR MDB2 constants with PDO constants

The changed constants are more understandable using PDO constants
nor are the dedicated definition needed anymore.


# 8c52db69 17-Oct-2018 Peter Kokot

Sync leading and final newlines

This patch adds missing newlines, trims multiple redundant final
newlines into a single one and trims leading newlines at the beginning
of the files.

Sync leading and final newlines

This patch adds missing newlines, trims multiple redundant final
newlines into a single one and trims leading newlines at the beginning
of the files.

According to POSIX, a line is a sequence of zero or more non-'<newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2

show more ...


# 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


# ca5a8d0d 30-Jul-2016 Kalle Sommer Nielsen

Add a hover effect to the bug statistics page so its easier to identify a row


# 202e66ea 28-Dec-2014 Sobak

stats.php code cleanup


# 232f1497 03-Aug-2014 Michael

Remove XHTML


# 1e236800 06-Feb-2014 Hannes Magnusson

Fix notices (undefined constants)


# 9997cc0a 11-Aug-2013 Johannes Schlüter

Improve layout


# 8d01df7f 07-Aug-2013 Johannes Schlüter

The version might be unsafe


# 7406b120 07-Aug-2013 Johannes Schlüter

Improve formatting


# 3a9bc07b 07-Aug-2013 Johannes Schlüter

Add simple PHP version stats


# c3110c33 27-Jan-2012 Rasmus Lerdorf

- The end of an era - switch "Bogus" to "Not a bug" by popular demand
- Switch back to master
- Add site_method to make it easier to install on non-ssl test sites


# 9e3082dc 30-Aug-2011 Hannes Magnusson

There is no such status anymore, its a bug type


# 3934920f 03-Jul-2011 Felipe Pena

- Missing session_start();


# b0e24943 12-Dec-2010 Felipe Pena

- Added missing status (To be documented) to stats page


Revision tags: BEFORE_NEW_BUG_TRACKER
# e8ef23cd 03-Mar-2010 Jani Taskinen

- Rename to avoid unnecessary symlink