History log of /web-bugs/www/gh-pull-add.php (Results 1 – 14 of 14)
Revision Date Author Comments
# 353abb3d 21-May-2019 Peter Kokot

Fix #64249: Bug tracker doesn't send notifies on adding of pull requests

This now sends also notification about GitHub pull request being
attached to a bug report.


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


# fe4c5e81 23-Dec-2018 Kalle Sommer Nielsen

Minor cleanup


# 10b0ad9c 16-Dec-2018 Peter Kokot

Refactor bugs_get_bug() to repository


# 44706d2e 05-Dec-2018 Peter Kokot

Refactor pull requests service class

Changes:
- Class moved to src under App namespace
- Code refactored into repository class and GitHub client for managing
pull requests

Refactor pull requests service class

Changes:
- Class moved to src under App namespace
- Code refactored into repository class and GitHub client for managing
pull requests
- When new pull request is attached to a bug report the info comment is
also added to bug activity as is practice with other activities
already.

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


# c8c85a57 05-Dec-2018 Peter Kokot

Replace PEAR error handling with exceptions in pull requests


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


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


# 8fe69141 23-Oct-2018 zrhoffman

Fix 76079: Attaching PRs to bug issues broken

This patch fixes attaching pull requests to bug tickets. This will need
to be resolved also using different consuming of the GitHub API in t

Fix 76079: Attaching PRs to bug issues broken

This patch fixes attaching pull requests to bug tickets. This will need
to be resolved also using different consuming of the GitHub API in the
near future due to possible rate limits and other limitations.
Additionally, would be good to get the PEAR dependency refactored for
handling the errors to not depend on outdated PEAR.

Otherwise, this fixes bug #76079 thanks to @zrhoffman

show more ...


# 180dccfe 17-Oct-2018 Peter Kokot

Trim trailing whitespace


# 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


# da44efe2 08-Feb-2013 Johannes Schlüter

Add possibility to add rull requests to a bug report