1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 23:37:39 +02:00

40 Commits

Author SHA1 Message Date
rxu
86195ac0f9 [ticket/17530] Better classes naming
PHPBB-17530
2025-07-19 23:32:42 +07:00
rxu
980b6e6f9e [ticket/17530] Use Doctrine driver middleware instead of 'platform' parameter
PHPBB-17530
2025-07-19 10:43:09 +07:00
rxu
40cd938e51 [ticket/17528] Review code fix
PHPBB-17528
2025-07-13 14:58:59 +07:00
rxu
69a4990b2b [ticket/17507] Fix PostgreSQL errors
PHPBB-17507
2025-07-09 11:46:31 +07:00
rxu
53360e0c17 [ticket/17528] Fix typo
PHPBB-17528
2025-07-07 23:17:59 +07:00
rxu
83f1ed8de4 [ticket/17528] Fix PostgreSQL platform issues
PHPBB-17528
2025-07-07 23:17:58 +07:00
rxu
98c6a88438 [ticket/17528] Fix MySQL platform
PHPBB-17528
2025-07-07 23:17:58 +07:00
rxu
9cccf26311 [ticket/17528] Fix phpBB PostgreSQL platform [ci skip]
PHPBB-17528
2025-07-07 23:17:57 +07:00
rxu
aa3f266b8c [ticket/17525] Address the PR review comments
PHPBB-17525
2025-07-05 12:51:40 +07:00
rxu
5eaabb1c39 [ticket/17525] Fix handling index name prefix logic for renaming
PHPBB-17525
2025-07-04 01:25:04 +07:00
rxu
8e0ec1edd2 [ticket/17525] Automatically handle index name prefixes
PHPBB-17525
2025-07-01 21:01:09 +07:00
rxu
58b3e5dee0 [ticket/17525] Migration to rename actual database indexes if any
Also generate short table names rather than use hardcoded map

PHPBB-17525
2025-07-01 00:11:36 +07:00
rxu
5e9d616f57 [ticket/17525] Map Sphinx table, add more test assertions
PHPBB-17525
2025-06-25 23:48:45 +07:00
rxu
de1f6329ff [ticket/17525] Fix tests
PHPBB-17525
2025-06-25 22:44:08 +07:00
rxu
75c5fe9459 [ticket/17525] Add index names test for generated database schema
PHPBB-17525
2025-06-25 22:24:50 +07:00
rxu
a229797cd7 [ticket/17525] Add database schema getter
PHPBB-17525
2025-06-25 21:02:30 +07:00
rxu
1339a31c23 [ticket/17525] Rename all indexes to make names unique
With this reNAMING schema, max index name length is 23.

PHPBB-17525
2025-06-25 17:42:36 +07:00
rxu
d8bbe3e58c [ticket/17509] Upgrade Doctrine dbal to the v.3.9
PHPBB-17509
2025-05-29 22:13:32 +07:00
rxu
7d1ae5bf19 [ticket/17496] Fix Implicitly marking parameters as nullable PHP deprecations
Also use union types consistently instead of question marks.
Fixed with php-cs-fixer.

PHPBB-17496
2025-05-02 22:48:46 +07:00
rxu
692c96978a [ticket/17488] Fix PHP error when MySQL PDO driver is not enabled
Check pdo_mysql extension for being loaded
to use respective \PDO::MYSQL_ATTR_FOUND_ROWS constant.

PHPBB-17488
2025-04-04 12:26:08 +07:00
Marc Alexander
661a8a6117 [ticket/17281] Update psalm config and fix issues
PHPBB3-17281
2023-12-30 17:41:12 +01:00
Marc Alexander
cedd447659 [ticket/16955] Resolve incompatibilities with doctum
PHPBB3-16955
2022-12-28 08:37:25 +01:00
Marc Alexander
948023078b [ticket/16955] Clean up code in db classes
PHPBB3-16955
2022-12-28 08:37:20 +01:00
rxu
e7eb1cdd52 [ticket/16965] Adjust docblocks
PHPBB3-16965
2022-02-11 12:54:28 +07:00
rxu
ae799c57c0 [ticket/16965] Allow empty value as default database server name on installing
PHPBB3-16965
2022-02-11 10:02:33 +07:00
rxu
38fe1a4479 [ticket/16964] Fix doctrine error in installer
Currently AbstractPostgreSQLDriver requires Postgres platform to be an instance
of PostgreSQL94Platform. When this will be changed in Doctrine,
this fix can be reverted.

PHPBB3-16964
2022-02-09 00:18:54 +07: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
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
a0584b8677 [ticket/16741] Code review fixes
PHPBB3-16741
2021-12-05 11:19:05 +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
Tristan Darricau
6ce708539b [ticket/16741] General fixes
PHPBB3-16741
2021-11-09 02:48:34 +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
ce08da5165 [ticket/16748] Enable code sniffing for static placement and adjust code
PHPBB3-16748
2021-04-03 23:12:04 +02:00
Máté Bartus
4737da3ec7 [ticket/16736] Fix static declarations on master
PHPBB3-16736
2021-03-24 01:22:27 +01:00
Máté Bartus
1ce97fe8ea [ticket/16643] Fixes
PHPBB3-16643
2021-02-01 22:09:15 +01:00
Máté Bartus
aab2679966 [ticket/16643] Add Doctrine DBAL to phpBB
PHPBB3-16643
2021-01-31 11:33:42 +01:00