1801 Commits

Author SHA1 Message Date
Derick Rethans
d38d456a8e Try to shut up some heavy queries from at least the sensible search engines 2025-07-17 14:56:01 +01:00
Jim Winstead
c9451f7a96 Only show 'Add a Pull Request' to logged in users 2024-09-10 14:28:23 -07:00
Christoph M. Becker
dc639be31d We still may need the package list 2024-08-01 14:46:13 +01:00
Christoph M. Becker
c73a67a69f Disable voting (fixes #112) 2024-08-01 14:46:13 +01:00
Christoph M. Becker
8794eabf15 Disallow users to comment 2024-08-01 14:46:13 +01:00
Christoph M. Becker
4a29f1a266 GH-114: Lock down bug tracker to developers only
All further conversation about bugs is supposed to happen on Github.
We still allow developers to edit the bug tracker, so they can clean
up.

We start by disallowing users to add patches.
2024-08-01 14:46:13 +01:00
Derick Rethans
31edeaf6f5 Fixed 'Last Modified' checking correctly 2024-08-01 13:59:12 +01:00
Derick Rethans
4792d12069 Fix PHP 8.2/8.3 warnings and deprecations 2024-08-01 13:59:12 +01:00
Derick Rethans
2d6fbb56f4 Update composer and dependencies for PHP 8.2 2024-08-01 13:59:12 +01:00
Jakub Zelenka
7e33404735 Add Niels to trusted devs (#119) 2024-03-20 11:29:24 +00:00
Derick Rethans
9ed00f752f Fixed line endings for setting headers
During the recent server upgrades, it seems that the MTA does no longer
'convert' this. In fact, this has always been wrong.
2023-11-20 12:43:16 +00:00
Derick Rethans
8a36df538c Remove visitor_ip from columns. The value we collected was wrong, and new MariaDB bails out on it 2023-09-17 14:12:32 +01:00
Remi Collet
095752f90f debug builds are not required for GDB (#117) 2023-09-11 12:32:24 +01:00
Derick Rethans
e17a669417 Merged pull request #115 2023-08-31 14:44:25 +01:00
Nikita Popov
0edb3c2193 Disable bug reports completely
And point security issues to GitHub advisories.
2023-08-31 14:43:49 +01:00
Nikita Popov
bc9db6eacf Make spam filter stricter again 2023-07-09 09:21:21 +02:00
Nikita Popov
717f16a6d9 Make spam filter stricter
Require that php.net/github.com is in the host portion.
2023-06-24 21:19:47 +02:00
Nikita Popov
7d1c27f5fb Add ilutov as trusted dev 2022-03-27 22:12:15 +02:00
Nikita Popov
d50077c254 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.
2022-03-05 18:16:40 +01:00
Christoph M. Becker
2255979dc8 Try to prevent further SPAM by them 2022-02-15 12:56:09 +01:00
Christoph M. Becker
4025362c44 Fix erroneous HTML markup 2022-01-07 18:33:35 +01:00
Nikita Popov
3fb5cb1201 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.
2021-12-04 21:07:31 +01:00
Nikita Popov
d0b0481c1c Point people to the new issue tracker 2021-12-04 17:05:05 +01:00
Nikita Popov
4efb5c3428 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.
2021-10-28 21:10:04 +02:00
peterdd
010107def9 clickable labels for radio and checkboxes in bug search form (#96)
* usability: make label clickable for  radio input

* set a right padding for the label

so it is obvious the label is for the left side radio select.

* clickable labels for asc/desc radio select

* right padding also for the asc/desc labels

* make the "NOT" checkbox labels clickable
2021-10-21 14:16:19 +02:00
sy-records
29b70e2986 Fix the problem that undefined state status can be used 2021-10-21 12:36:12 +02:00
Nikita Popov
39ce725941 Update composer.lock
Avoids phpunit deprecation warnings
2021-10-21 12:03:58 +02:00
Nikita Popov
1062abe498 Fix JS error when resizing package group select
If nothing is selected, we should skip all the updating code.
2021-10-21 11:56:12 +02:00
peterdd
7dac397fc2 top align selects on report.php
With the new flexibility of resizing the package category select the appearing of the 2 selects side by side on https://bugs.php.net/report.php might look a bit odd.

This PR fixes it by align the 2 selects always to the top.
2021-10-21 11:24:05 +02:00
peterdd
2edddded73 Check if params for reporting a bug are is_string()
Closes GH-104.
2021-10-21 11:19:54 +02:00
Danack
49be135fd8 Group by needs to specifically reference a column name, not a variable. 2021-10-21 11:19:46 +02:00
peterdd
c2a59a52fa fix typo in tests/bootstrap.php
I had to fix the path there to enable running the phpunit tests.
2021-10-21 11:12:53 +02:00
Stanislav Malyshev
5853f7850c Add Stas to trusted dev list to clean up spam 2021-10-17 20:46:49 -07:00
Nikita Popov
fcfdfef2ca Add tvfun to spam list 2021-10-07 15:52:54 +02:00
peterdd
90f86d6ab9 add css classes to status select in search form (#106)
Reuses the existing CSS classes to apply the same backgorund colors as in the bug search result table rows.

I know that Chrome and Safari ignore applying a background-color to option tags of a single select. But when bugs.php.net supports also multiselect for the status select both will show the background-color in multi selects (multiple="multiple" attribute for xhtml compatible modus)
2021-10-06 12:31:50 -07:00
Sara Golemon
2f06b4d7bb Add X-Frame-Options: SAMEORIGIN 2021-09-27 14:42:13 +00:00
Christoph M. Becker
7febedd645 Add Kamil Tekiela as trusted dev
Closes GH-89.
2021-09-17 13:16:18 +02:00
peterdd
5589a716dc Make multiple selects resizable
Just wanted report a bug on bugs.php.net, but letting the user scroll 460 entries (optgroups+options) in a 6 line height tiny multiselect in the bug search is torture.

Closes GH-84.
2021-09-17 13:10:49 +02:00
peterdd
8bf14f324b 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;
2021-09-03 10:04:30 +02:00
peterdd
98896cb95e fix a fatal error when passed null to e()
Fatal error: Uncaught TypeError: Argument 1 passed to App\Template\Context::e() must be of the type string, null given, called in /srv/www/htdocs/web-bugs/templates/pages/admin/database_status.php on line 64 and defined in /srv/www/htdocs/web-bugs/src/Template/Context.php:159
2021-09-02 00:04:20 +02:00
Nikita Popov
4bc692453d Add lildurk to spam list 2021-09-01 20:24:12 +02:00
Peter Cowburn
3bccfcba4f add mikemike as trusted dev 2021-09-01 10:27:56 +01:00
Nikita Popov
f259231094 Count https:// URLs towards spam 2021-08-26 14:22:04 +02:00
沈唁
8061e3a0be Update ReasonRepository.php 2021-08-18 09:51:40 +02:00
Christoph M. Becker
d13a5fe370 Fix #81292: Issue tracker: How to Search claims advanced search defaults Find bugs to "all" 2021-07-25 17:37:01 +02:00
沈唁
d9bb38995c Update style (#93) 2021-07-23 11:49:15 +02:00
Nikita Popov
3a2b043585 Point forgot password link to main 2021-04-06 15:37:55 +02:00
Rasmus Lerdorf
4f2b72f626 master->main 2021-04-05 21:58:19 -07:00
Nikita Popov
381dea4249 Directly check token for rpc.php
Make this code independent of user authentication by checking
for a hardcoded token.
2021-04-05 23:02:03 +02:00
Nikita Popov
867d920587 Add forgot password link 2021-03-31 21:12:40 +02:00