1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-08 13:37:17 +02:00
Commit Graph

5647 Commits

Author SHA1 Message Date
Máté Bartus
e92b5caf66 Merge pull request #6273 from CHItA/ticket/16741
[ticket/16741] Database tools to use Doctrine
2022-01-17 20:08:50 +01:00
Marc Alexander
66ecc0c19c [ticket/16741] Split of callable into schema_perform_changes()
PHPBB3-16741
2022-01-17 17:10:06 +01:00
Marc Alexander
81cddb2bc6 [ticket/16741] Clean up functions, add missing docblocks and return type hints
PHPBB3-16741
2022-01-17 17:09:38 +01:00
Marc Alexander
5e6065ff9e [ticket/16741] Replace deprecated functions
PHPBB3-16741
2022-01-17 17:08:42 +01:00
Marc Alexander
78528d2b32 [ticket/16741] Add support for dropping primary keys and removing constraints
PHPBB3-16741
2022-01-16 20:48:56 +01:00
rxu
c75a9b772a [ticket/16902] Fix PostgreSQL search TypeError
PHPBB3-16902
2022-01-15 13:16:57 +07:00
rxu
343551f2ce [ticket/16902] Fix PosgreSQL author topics search results count
PHPBB3-16902
2022-01-15 12:08:08 +07:00
rxu
5a69fc22b4 [ticket/16902] Improve test, use DISTINCT for precise results count
PHPBB3-16902
2022-01-15 11:11:11 +07:00
rxu
f78f3135fc [ticket/16902] Improve search results count for MySQL
PHPBB3-16902
2022-01-15 11:11:10 +07:00
rxu
ba487a24dc [ticket/16902] Fix PosgreSQL author topics search results count
PHPBB3-16902
2022-01-15 10:18:16 +07:00
rxu
e7c81cd1a6 [ticket/16902] Improve test, use DISTINCT for precise results count
PHPBB3-16902
2022-01-15 10:16:54 +07:00
rxu
bf7936380a [ticket/16902] Improve search results count for MySQL
PHPBB3-16902
2022-01-15 10:16:14 +07:00
Marc Alexander
b5b8d26536 Merge branch '3.3.x' 2022-01-12 21:26:12 +01:00
Marc Alexander
b9a22c02e5 [ticket/16935] Remove not needed truncate on new table
PHPBB3-16935
2022-01-12 21:16:00 +01:00
rxu
afe97fb573 [ticket/16688] Fix issues with custom repositories
Make any custom repo non-canonical to give repo.packagist.org (if enabled)
higher repository priority in case custom repo contains outdated/incorrect
packages/dependencies.

PHPBB3-16688
2021-12-20 23:53:19 +07:00
rxu
4d9e33aa32 [ticket/16688] Fix Composer error on installing extensions via catalog
Do not pass packages update list on installing extension.

PHPBB3-16943
2021-12-19 18:16:11 +07:00
rxu
6404ed2502 [ticket/16688] Do not restore current working dir before json file restoring
PHPBB3-16688
2021-12-19 16:57:40 +07:00
rxu
d4d26987e5 [ticket/16688] Fix PHP fatal errors on installing extensions via catalog
PHPBB3-16688
2021-12-18 18:49:37 +07:00
Dark❶
a4302d9fa5 [ticket/16940] Optimize phpBB Native Search
PHPBB3-16940
2021-12-14 16:28:50 +05:30
rxu
165adb3b07 [ticket/16935] Add sphinx tests
PHPBB3-16935
2021-12-13 21:16:14 +07:00
Dark❶
6389a57633 [ticket/16940] Optimize phpBB Native Search
- Use `ORDER BY post_id ASC` for batch posts.

PHPBB3-16940
2021-12-13 19:39:01 +05:30
Dark❶
ff6f7c4186 [ticket/16940] Optimize phpBB Native Search
- Fixed infinite loop

PHPBB3-16940
2021-12-13 00:38:35 +05:30
Dark❶
90433d0d89 [ticket/16940] Optimize phpBB Native Search
- Removed `end()` replaced with `$ids[count($ids) - 1]`

PHPBB3-16940
2021-12-12 20:46:07 +05:30
Dark❶
0dc0527939 [ticket/16940] Optimize phpBB Native Search
- Use `sql_query_limit` instead of `sql_query`
- Update SQL query to reflect the above change
- Assign proper last `post_id` to `$post_counter`

PHPBB3-16940
2021-12-12 20:15:48 +05:30
Marc Alexander
9c15561a6b [ticket/16935] Refactor sphinx to use new clases and remove unused parts
PHPBB3-16935
2021-12-11 22:54:22 +01:00
rxu
d6a591cde3 [ticket/16933] Consistent handling of hyphen by phpBB Native search backend
PHPBB3-16933
2021-12-11 19:03:29 +07:00
Marc Alexander
d4b119893b Merge branch '3.3.x' 2021-12-07 21:58:15 +01:00
Marc Alexander
ec75f1741b Merge pull request #6337 from marc1706/ticket/16924
[ticket/16924] Do not double escape values inserted into config table
2021-12-07 21:57:47 +01:00
Máté Bartus
d4b8a48f11 [ticket/16741] Fix tests
PHPBB3-16741
2021-12-05 22:30:59 +01:00
Máté Bartus
59ca29232a [ticket/16741] Fix coding style issues
PHPBB3-16741
2021-12-05 21:35:34 +01:00
Máté Bartus
a663a6c394 [ticket/16741] Debug SQLServer Tests
PHPBB3-16741
2021-12-05 20:57:06 +01:00
Máté Bartus
e93c914da3 [ticket/16741] Fix tests
PHPBB3-16741
2021-12-05 18:27:56 +01:00
Máté Bartus
a0584b8677 [ticket/16741] Code review fixes
PHPBB3-16741
2021-12-05 11:19:05 +01:00
Marc Alexander
4e62768375 [ticket/16895] Correctly place static qualifier
PHPBB3-16895
2021-12-03 22:47:03 +01:00
Marc Alexander
e9720f5545 Merge branch '3.3.x' 2021-12-03 21:08:15 +01:00
Marc Alexander
c1b88de806 Merge pull request #6312 from rxu/ticket/16895
[ticket/16895] Fix role removal for migrator permission tool
2021-12-03 21:06:14 +01:00
Marc Alexander
89168c507b [ticket/16895] Add missing return and remove not needed declarations
PHPBB3-16895
2021-12-03 20:14:26 +01:00
Marc Alexander
8cc6075d92 [ticket/16924] Do not double escape values inserted into config table
PHPBB3-16924
2021-12-02 21:01:45 +01:00
Ruben Calvo
0650d6f302 [ticket/16790] Remove useless command parameter
PHPBB3-16790
2021-12-01 12:14:06 +01:00
Tristan Darricau
b8d555f56a [ticket/16741] Specific DBs fixes
MSSQL:
- Fix bool type
- Fix comparator
- Drop Default constraint before deleting column
- Rename Default constraint to use phpBB's names
- Re-create the indices when changing the type of one column
- Uses varchar instead of varbinary

PostgreSQL:
- Creates auto increment sequences by hand instead of using serial
  in order to use phpBB's names
- Drop constraint on unique / primary indices

Oracle:
- Rename indices to use phpBB's names
- Fix string not null behaviour
- Fix broken regex in Oracle driver
- Handle to long indices on Oracle
- Rename auto_increment trigger and sequence
- Automatically lowercase keys in assoc results

PHPBB3-16741
2021-11-11 04:55:28 +01:00
rxu
69b895caae [ticket/16895] Rename custom method
PHPBB3-16895
2021-11-10 14:13:02 +07:00
rxu
d7f433fbf7 [ticket/16895] Rename migration file
PHPBB3-16895
2021-11-10 13:30:14 +07:00
Tristan Darricau
b266ebbcef [ticket/16741] Test fixes
PHPBB3-16741
2021-11-09 02:49:56 +01:00
Tristan Darricau
6ce708539b [ticket/16741] General fixes
PHPBB3-16741
2021-11-09 02:48:34 +01:00
Marc Alexander
771dbc7cda Merge branch '3.3.x' 2021-11-01 16:57:35 +01:00
Máté Bartus
300e5399f5 [ticket/16741] Fix coding style issue
PHPBB3-16741
2021-10-31 01:58:53 +02:00
Máté Bartus
98134abe20 [ticket/16741] Database tools to use Doctrine
PHPBB3-16741
2021-10-31 01:58:53 +02:00
Marc Alexander
8246023e0f Merge pull request #6313 from Nicofuma/ticket/16891
[ticket/16891] Do not change an extension status in the midle of a request
2021-10-30 21:57:15 +02:00
Tristan Darricau
b28b94b1f1 [ticket/16891] Do not change an extension status in the middle of a request
When enabling an extension, it should be considered as not being enabled for
the entire request as if the "enabled" flag is switch during the request, the
extension will stay not loaded (same when disabling an extension).

Example when it can be an issue today : if the router is called for the first
time after enabling the extension and if the extension uses a custom route
loader (like phpbb/pages) then the router will fail because the custom route
will be found but the custom loader will not be loaded and available.

PHPBB3-16891
2021-10-30 04:25:31 +02:00
Marc Alexander
118b67caac Merge branch '3.3.x' 2021-10-29 21:26:26 +02:00