1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-27 11:02:51 +01:00

243 Commits

Author SHA1 Message Date
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
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
rxu
7275cdd152
[ticket/16895] Adjust test
PHPBB3-16895
2021-10-27 00:15:46 +07:00
rxu
b1e6fad38a
[ticket/16895] Add test
PHPBB3-16895
2021-10-26 20:14:45 +07:00
Marc Alexander
7a310cc7d9
[ticket/15392] Replace remaining dirname(__FILE__) with __DIR__
PHPBB3-15392
2021-03-04 16:56:07 +01:00
DinHere
8c9d26db1f
[ticket/15392] Changed dirname(__FILE__) to __DIR__
Changed dirname(__FILE__) to __DIR__ everywhere

PHPBB3-15392
2021-03-03 22:24:10 +01:00
rxu
f1c178b544
[ticket/16549] Rewrite at() calls
See https://github.com/sebastianbergmann/phpunit/issues/4297

PHPBB3-16549
2020-11-15 18:56:22 +07:00
rxu
ec565de6cb
[ticket/16549] Fix tests
PHPBB3-16549
2020-10-18 10:37:16 +07:00
rxu
4c4debf004
[ticket/16549] PHPUnit function declarations tiny cleanup
PHPBB3-16549
2020-10-18 10:36:42 +07:00
Matt Friedman
b69507be8a [ticket/16527] Add a role_exists method to permissions migrator tool
PHPBB3-16527
2020-06-14 11:02:40 -07:00
Marc Alexander
ebac54aa9e
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
2019-05-09 21:40:06 +02:00
javiexin
5a0c9763d1
[ticket/15274] Allow "custom" migrations to use parameters
Remove references in migration tool.

PHPBB3-15274
2019-05-08 22:06:39 +02:00
javiexin
5c001df380
[ticket/15274] Allow "custom" migrations to use parameters
Add the possibility to have custom migrations with parameters,
allowing the use of a single function for several uses.

PHPBB3-15274
2019-05-08 22:06:34 +02:00
rxu
42b7782927
[ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
2019-05-08 21:57:00 +02:00
Marc Alexander
0d166e87b8
[ticket/15996] Rename dataProvider to not start with test_
PHPBB3-15996
2019-03-19 21:13:27 +01:00
Marc Alexander
ff171f3a3b
Merge pull request #5158 from kasimi/ticket/15586
[ticket/15586] Fixed adding module the automatic way without specifying modes
2018-06-17 11:35:08 +02:00
Matt Friedman
d7db5d366b [ticket/15595] Fix module exists tool when parent is false
PHPBB3-15595
2018-03-19 16:45:44 -07:00
kasimi
aa9d24ad31
[ticket/15586] Added tests for adding modules the automatic way
PHPBB3-15586
2018-03-11 22:17:26 +01:00
Derky
182a96f273 Merge pull request #4680 from marc1706/ticket/15055
[ticket/15055] Add appveyor file to allow running tests on appveyor as well
2018-01-05 22:44:34 +01:00
Marc Alexander
ee8b72d733 [ticket/15055] Properly support index length check on mssql
PHPBB3-15055
2018-01-01 18:57:50 +01:00
Marc Alexander
a999718b42 [ticket/15055] Support console questions on windows
PHPBB3-15055
2018-01-01 18:56:20 +01:00
Marc Alexander
400fc0f73d [ticket/15055] Only drop dependent PK indexes and fix more tests for mssql
PHPBB3-15055
2018-01-01 18:55:12 +01:00
Marc Alexander
635befa00e [ticket/15055] Drop primary keys when necessary and fix test comparisons
PHPBB3-15055
2018-01-01 18:54:41 +01:00
Marc Alexander
f296014c23 [ticket/15055] Start fixing missing keys in fixtures
PHPBB3-15055
2018-01-01 18:54:24 +01:00
rxu
f8fbe37936
[ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
2018-01-01 13:56:04 +01:00
Marc Alexander
d90680d685
Merge pull request #4971 from Elsensee/ticket/15339
[ticket/15339] Use manual method when adding modules
2017-12-28 10:50:55 +01:00
Oliver Schramm
2b16b7cada [ticket/15339] Fix tests
PHPBB3-15339
2017-12-24 19:55:03 +01:00
kasimi
490626d985
[ticket/15396] Added test for correct order of revert_schema() steps
PHPBB3-15396
2017-10-14 15:59:42 +02:00
lavigor
24bde10028 [ticket/15259] Fatal error on SQLite/Oracle database update
Add a test.

PHPBB3-15259
2017-07-06 02:37:35 +03:00
Tristan Darricau
b13910ee45
Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14831] Optimize code construction
  [ticket/14831] Add more tests against UCP modules
  [ticket/14831] Add more tests, better name for $e placeholder
  [ticket/14831] Do not throw exception on the module existence checking
  [ticket/14831] Fix module migrator tool
2016-10-24 22:24:26 +02:00
rxu
849cd74700 [ticket/14831] Add more tests against UCP modules
PHPBB3-14831
2016-10-23 23:33:03 +07:00
rxu
51ef1ae346 [ticket/14831] Add more tests, better name for $e placeholder
PHPBB3-14831
2016-10-23 22:44:47 +07:00
Marc Alexander
dff950162c Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/phpbb/db/migration/tool/module.php
2016-08-31 21:41:17 +02:00
Marc Alexander
f008708d5c Merge pull request #4377 from rxu/ticket/14703
[ticket/14703] Fix parent module selection for custom extension modules
2016-08-31 21:39:09 +02:00
rxu
557f85e7fc [ticket/14703] Improve exception testing
PHPBB3-14703
2016-08-28 21:51:52 +07:00
Oliver Schramm
210310b584 Merge branch 'ticket/14742' into ticket/14742-32x 2016-08-11 18:30:35 +02:00
Oliver Schramm
c12d67cd90 [ticket/14742] Add test for (not) reverting if
PHPBB3-14742
2016-08-11 18:11:39 +02:00
rxu
8cf2790d55 [ticket/14703] Add test for the case multiple parent module_langname found
PHPBB3-14703
2016-07-24 02:31:44 +07:00
Matt Friedman
14e8113fcf [ticket/14576] Move common required files to bootstrap
PHPBB3-14576
2016-03-31 11:06:47 -07:00
brunoais
062352e312 [feature/sql-bool-builder] Changing syntax pt2. Fix tests
PHPBB3-13652
2015-11-11 08:38:38 +00:00
Tristan Darricau
cd114a68e9 Merge pull request #3441 from brunoais/feature/sql-bool-builder
[feature/sql-bool-builder] Extending DBAL query builder for boolean generation

* brunoais/feature/sql-bool-builder:
  [feature/sql-bool-builder] Improved tests output to show the SQL error.
  [feature/sql-bool-builder] Adding the IS operator to predicted operators
  [feature/sql-bool-builder] test_single_not_like
  [feature/sql-bool-builder] test_single_like
  [feature/sql-bool-builder] test_single_not_in
  [feature/sql-bool-builder] test_single_in
  [feature/sql-bool-builder] test_and_of_or_of_and
  [feature/sql-bool-builder] test_triple_and_with_in
  [feature/sql-bool-builder] test_double_and_with_not_of_and
  [feature/sql-bool-builder] test_triple_and_with_is_null
  [feature/sql-bool-builder] Prepare testing class
  [feature/sql-bool-builder] Added LIKE and NOT_LIKE to the comparations
  [feature/sql-bool-builder] Explain better the code in the first
  [feature/sql-bool-builder] Also use parenthesis for the NOT operator
  [feature/sql-bool-builder] AS keyword must be lowercase;
  [feature/sql-bool-builder] Added code to use this feature for the WHERE clause
  [feature/sql-bool-builder] Removed non-necessary spaces
  [feature/sql-bool-builder] First working version
2015-10-14 16:18:46 +02:00
Joas Schilling
00c15c76c3 Merge branch '3.1.x' 2015-06-09 20:23:29 +02:00
rxu
c221571963 [ticket/13779] Add permission set tests
PHPBB3-13779
2015-06-06 15:15:17 +07:00
MateBartus
fcff3ee4ad [ticket/13777] Fix tests
PHPBB3-13777
2015-05-31 13:22:46 +02:00
Marc Alexander
b3cc20a575 [ticket/13782] Rename null driver to dummy for PHP7 compatibility
PHPBB3-13782
2015-05-04 10:10:12 +02:00
MateBartus
179a470022 [ticket/13762] Moving language related functionality into a separate class
PHPBB3-13762
2015-05-02 13:37:12 +02:00
MateBartus
57072a1e28 [ticket/13793] Remove translation on throwing exceptions
PHPBB3-13793
2015-05-01 12:40:53 +02:00
MateBartus
4bdef6fd21 [ticket/13697] Moving filesystem related functions to filesystem service
* Moving filesystem service to \phpbb\filesystem namespace
 * Wraping Symfony's Filesystem component
 * Moving filesystem related functions from includes/functions.php
   into \phpbb\filesystem\filesystem
   Functions moved (and deprecated):
     - phpbb_chmod
     - phpbb_is_writable
     - phpbb_is_absolute
     - phpbb_own_realpath
     - phpbb_realpath
 * Adding interface for filesystem service

PHPBB3-13697
2015-04-16 13:24:10 +02:00
brunoais
fe132f19e8 [feature/sql-bool-builder] Improved tests output to show the SQL error.
PHPBB3-13652
2015-03-17 20:33:10 +00:00
brunoais
576eaa0cff [feature/sql-bool-builder] Adding the IS operator to predicted operators
PHPBB3-13652
2015-03-17 20:31:26 +00:00