| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* EXreaction/feature/migrations: (48 commits)
[feature/migrations] Remove default values from necessary parameters
[feature/migrations] Revert unrelated changes to functions.php
[ticket/9737] Fix some comments
[ticket/9737] Fix a few minor things in migrations
[feature/migrations] Make sure migration data not done before running data step
[feature/migrations] Function to populate the migrations table (for install)
[feature/migrations] Function effectively_installed() in migrations
[feature/migrations] Make load_migrations recursive (optionally)
[feature/migrations] Make the test depends_on methods static
[feature/migrations] Make depends_on static to call it without dependencies
[feature/migrations] install/database_update_migrations.php
[feature/migrations] Move test.php -> install/database_update_migrations.php
[feature/migrations] Store depends on in the database (serialized)
[feature/migrations] Revert method completed
[feature/migrations] Basic reverting test
[feature/migrations] Test for calling a step multiple times
[feature/migrations] Creating revert method to attempt reverting a migration
[feature/migrations] Some comments in db_tools
[feature/migrations] Reverse data functionality
[feature/migrations] Comment
...
Conflicts:
phpBB/install/schemas/firebird_schema.sql
phpBB/install/schemas/mssql_schema.sql
phpBB/install/schemas/mysql_40_schema.sql
phpBB/install/schemas/mysql_41_schema.sql
phpBB/install/schemas/oracle_schema.sql
phpBB/install/schemas/postgres_schema.sql
phpBB/install/schemas/sqlite_schema.sql
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allows you to check if the migration is effectively installed
(entirely optionall)
This function is intended to help moving to migrations from a
previous database updater, where some migrations may have been
installed already even though they are not yet listed in the
migrations table.
PHPBB3-9737
|
| | |
| |
| |
| | |
PHPBB3-11318
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is required so that when migrations are reverted we can check through
all installed migrations and make sure that all dependencies are handled
properly and so that we are only required to load the migrations files
that could be dependent on the ones installed.
I believe in normal proper use the old way might have worked, but in case
something happens and an unrelated migration file is installed, but cannot
be loaded, this makes sure we do not stop everything unless we absolutely
must (one of those files is dependent on something we want to revert).
PHPBB3-9737
|
| | |
| |
| |
| | |
PHPBB3-9737
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This is used when a long-running process is needed during an update. For
example, iterating over all posts and applying some transformation. This
allows the process to be broken apart into multiple shorter steps to prevent
hitting the time limit.
PHPBB3-9737
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
If data step fails, attempt to roll back any previous calls from the
migration that failed.
Fix some failing tests
PHPBB3-9737
|
| | |
| |
| |
| | |
PHPBB3-9737
|
| | |
| |
| |
| | |
PHPBB3-9737
|
| | | |
|
| | |
| |
| |
| | |
PHPBB3-9737
|
| | |
| |
| |
| |
| |
| |
| | |
Returning the set of schema changes allows potentially aggregating to generate
the overall install schema automatically from a set of migrations
PHPBB3-9737
|
| | |
| |
| |
| | |
PHPBB3-9737
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The migrator takes care of applying migrations as necessary.
RFC: http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41337
PHPBB3-9737
|
| | |
| |
| |
| | |
PHPBB3-11295
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* develop-olympus:
[ticket/11295] Drop tables rather than database for postgres in test suite.
Conflicts:
tests/test_framework/phpbb_database_test_connection_manager.php
|
| | |\ \
| | | |
| | | |
| | | |
| | | | |
* p/ticket/11295:
[ticket/11295] Drop tables rather than database for postgres in test suite.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Doing so allows:
1. User running the tests no longer needs create database privilege.
2. Test database may be located in a non-default tablespace and generally
have site-specific options applied to it.
PHPBB3-11295
|
| | |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* p/ticket/11323-olympus:
[ticket/11323] Backport include_define test to olympus.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-11323
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-9492
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-9492
|
| |\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* develop-olympus:
[ticket/11323] Add tests for inclusion of defined variables
|
| | |\ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
# By Marc Alexander
# Via Marc Alexander
* marc1706/ticket/11323:
[ticket/11323] Add tests for inclusion of defined variables
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This adds 2 tests for the template engine. The test using
include_define_variable.html will test if a defined variable, which was
defined with another template variable, can be used to include a file.
The second test will do the same inside a loop using a loop variable.
PHPBB3-11323
|
| | |_|_|/
|/| | |
| | | |
| | | | |
PHPBB3-11320
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
create_user has calls to fetch the cache driver from the container. This
PR mocks the container and returns a null cache driver in that case.
PHPBB3-11305
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* p/ticket/11037:
[ticket/11037] Fix unit tests.
[ticket/11037] Update services.yml.
[ticket/11037] Add/update docblocks.
[ticket/11037] Eliminate globals from cache service.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-11037
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-11294
|
| |\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
* develop-olympus:
[ticket/11294] Capitalize phpunit.
[ticket/11294] Update required/optional extension list for olympus.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-11294
|
| | | |_|/
| |/| |
| | | |
| | | | |
PHPBB3-11294
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* p/ticket/10758:
[ticket/10758] Add return to the other compat function.
[ticket/10758] Add periods.
[ticket/10758] Yes, only one empty line.
[ticket/10758] Add deprecated tags.
[ticket/10758] Add compat functions.
[ticket/10758] Admin is not working yet.
[ticket/10758] Test moderator and admin permissions.
[ticket/10758] Check that acl was changed in the test.
[ticket/10758] Extract obtain_user_data for the benefit of tests.
[ticket/10758] Functional test for changing a user's permission.
[ticket/10758] Spelling fix.
[ticket/10758] Add a test for acp login.
[ticket/10758] Dependency inject parameters into update_foes.
[ticket/10758] Dependency inject parameters into cache_moderators.
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-10758
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-10758
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-10758
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-10758
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-10758
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* p/ticket/10758-upload:
[ticket/10758-upload] Mark tests that don't work incomplete.
[ticket/10758-upload] Convert error to a failure.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-10758
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-10758
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* p/ticket/11248:
[ticket/11248] Convert line endings to LF - develop edition.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11248
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* p/ticket/11037:
[ticket/11037] Eliminate global $db usage in cache drivers.
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The only time $db is needed in cache drivers is to navigate the
result set in sql_save. Pass it as a parameter in that function.
PHPBB3-11037
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | / /
| | |_|/ /
| |/| | | |
* develop-olympus:
[ticket/11285] Use more granularity in dependency checks in compress test
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Some of the tests can be run without zlib or bz2 extensions present.
PHPBB3-11285
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* marc1706/ticket/10763:
[ticket/10763] Use self when calling get_extension() in filespec class
[ticket/10763] Make functions for remote avatars static
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
fileupload::image_types() and filespec::get_extension() are called
statically while submitting the form for the remote avatar. Make them
static as described in the ticket in order to prevent a PHP notice.
Also change the tests to use the static functions.
PHPBB3-10763
|