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


# e3c4b0ac 23-Jan-2019 Peter Kokot

Replace deprecated Text_Diff PEAR package with Horde Text_Diff

This patch replaces obsolete Text_Diff PEAR package with newer and still
maintained Horde Text_Diff version 2.2.0 as sugges

Replace deprecated Text_Diff PEAR package with Horde Text_Diff

This patch replaces obsolete Text_Diff PEAR package with newer and still
maintained Horde Text_Diff version 2.2.0 as suggested in the packages
descriptions.

Since bugs.php.net production is not ready for Composer installations yet,
the Text_Diff package is bundled in the Git repository directly. Its
classes are not compliant with PSR-4 yet so the classmap has been used
until future PSR-4 migration and refactorings.

show more ...


# fe4c5e81 23-Dec-2018 Kalle Sommer Nielsen

Minor cleanup


# 10b0ad9c 16-Dec-2018 Peter Kokot

Refactor bugs_get_bug() to repository


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


# 97246d71 21-Jul-2018 Rasmus Lerdorf

Fix patch display


# 638a3fb1 25-Jul-2017 Kalle Sommer Nielsen

Hopefully last round of fixes for missing session_start() calls, also fixes a poor call to redirect() in login.php


# 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


# 30f26dbf 20-Jan-2017 Sobak

Remove dependency on PEAR_HTTP


# 17cd2501 12-Oct-2011 Felipe Pena

- Missing project type information


# 80c74b65 30-Mar-2011 Felipe Pena

- Added missing session_start()


# f2e2af72 12-Dec-2010 Felipe Pena

- Added bug access checks


# 998ecc69 12-Dec-2010 Felipe Pena

- Added list of security developers
- Changed bugs_authenticate function
new prototype: (&$user, &$pw, &$logged_in, &$user_flags)

$user_flags:
define('BUGS_NORMAL_USER', 1<<

- Added list of security developers
- Changed bugs_authenticate function
new prototype: (&$user, &$pw, &$logged_in, &$user_flags)

$user_flags:
define('BUGS_NORMAL_USER', 1<<0);
define('BUGS_DEV_USER', 1<<1);
define('BUGS_TRUSTED_DEV', 1<<2);
define('BUGS_SECURITY_DEV', 1<<3);

show more ...


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

- Rename to avoid unnecessary symlink