Tristan Darricau
8323de331e
Merge pull request #4492 from marc1706/ticket/14831
...
[ticket/14831] Make sure migrations always start with backslash
* marc1706/ticket/14831:
[ticket/14831] Rename migration and replace preg_replace() with simpler methods
[ticket/14831] Compare depends_on for migrations and remove prefixless names
[ticket/14831] Add migration for deduplicating entries and fix typo
[ticket/14831] Add method for getting valid migration name
[ticket/14831] Fall back to possible migration names instead of adding prefix
[ticket/14831] Make sure migrations always start with backslash
2016-11-14 21:22:11 +01:00
Marc Alexander
ffc6623dd4
[ticket/14831] Rename migration and replace preg_replace() with simpler methods
...
PHPBB3-14831
2016-10-25 20:25:57 +02:00
Marc Alexander
6f8c0df1c6
[ticket/14831] Compare depends_on for migrations and remove prefixless names
...
PHPBB3-14831
2016-10-23 22:17:19 +02:00
Marc Alexander
c891277996
[ticket/14831] Add migration for deduplicating entries and fix typo
...
PHPBB3-14831
2016-10-23 22:00:02 +02:00
rxu
77f1bac64b
[ticket/14831] Optimize code construction
...
PHPBB3-14831
2016-10-24 01:41:24 +07:00
rxu
51ef1ae346
[ticket/14831] Add more tests, better name for $e placeholder
...
PHPBB3-14831
2016-10-23 22:44:47 +07:00
rxu
a02b124dd0
[ticket/14831] Do not throw exception on the module existence checking
...
PHPBB3-14831
2016-10-23 21:58:29 +07:00
Marc Alexander
9f2867b115
[ticket/14831] Add method for getting valid migration name
...
PHPBB3-14831
2016-10-23 11:37:10 +02:00
Marc Alexander
2059d57c04
[ticket/14831] Fall back to possible migration names instead of adding prefix
...
Instead of just adding the backslash as prefix if needed, this will take care
of falling back to any possible migration with or without backslash no matter
how the mgiration was saved in the database or called in the migrations file.
This will result in a more robust migrator in regards to naming the migrations
and previously run migrations.
PHPBB3-14831
2016-10-23 10:28:22 +02:00
rxu
0cc0920734
[ticket/14831] Fix module migrator tool
...
PHPBB3-14831
2016-10-23 00:57:37 +07:00
Marc Alexander
8b8f693d00
[ticket/14831] Make sure migrations always start with backslash
...
The migration system expects every migration to start with a backslash.
If depends on definitions do not supply that leading backslash, we should
make sure it's added manually before calling the depends on migration.
PHPBB3-14831
2016-10-22 19:19:36 +02:00
Marc Alexander
71e632b9f0
[prep-release-3.1.10] Add 3.1.10 migration
2016-10-02 21:07:18 +01:00
Jakub Senko
ec24f739e8
[ticket/8301] Add log_time index
...
PHPBB3-8301
2016-09-25 19:51:37 +02:00
Marc Alexander
c958ba13e8
[prep-release-3.1.10] Add migration for 3.1.10-RC1
2016-09-24 14:50:46 +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
Oliver Schramm
773f6d08a5
[ticket/14742] Reset migration_data_state before reverting
...
PHPBB3-14742
2016-08-20 22:31:08 +02:00
Oliver Schramm
463e8e4b13
[ticket/14742] Change constants to use Symfony values
...
This is to avoid errors when comparing verbosity levels
in a CLI output handler that is using Symfony's OutputInterface
for example.
PHPBB3-14742
2016-08-20 22:28:29 +02:00
Oliver Schramm
7c99fcf782
[ticket/14742] Pause after each update_data step too
...
Rewriting process_data_step() to remove the now
useless foreach() loop.
PHPBB3-14742
2016-08-20 22:20:21 +02:00
Oliver Schramm
775d1c855a
[ticket/14742] Improve readability of the code
...
PHPBB3-14742
2016-08-20 22:20:20 +02:00
Oliver Schramm
e050cf5c11
[ticket/14742] Fix comments in migrator
...
PHPBB3-14742
2016-08-20 03:35:38 +02:00
Oliver Schramm
263fbe54fc
[ticket/14742] Enhance measured time for migrations
...
PHPBB3-14742
2016-08-12 02:03:52 +02:00
Oliver Schramm
4a92a8efb5
[ticket/14742] Improve verbosity of migrator output
...
PHPBB3-14742
2016-08-12 02:01:01 +02:00
Oliver Schramm
52afa74f4e
[ticket/14742] Avoid loop while reverting schema
...
PHPBB3-14742
2016-08-11 18:00:10 +02:00
Oliver Schramm
b00a39b9ad
[ticket/14742] Make $last_run_migration protected
...
PHPBB3-14742
2016-08-11 17:59:51 +02:00
Oliver Schramm
6078bae7f8
[ticket/14742] Fix schema update
...
First make it work, then avoid a loop
PHPBB3-14742
2016-08-11 13:31:23 +02:00
Oliver Schramm
a277f9cf07
[ticket/14742] Small fixes to migrator
...
PHPBB3-14742
2016-08-11 01:09:11 +02:00
Oliver Schramm
8e1461ca61
[ticket/14742] Avoid loop while reverting data
...
This combines reverted updata_data and revert_data into a single array.
PHPBB3-14742
2016-08-11 01:09:11 +02:00
Oliver Schramm
9fb649793d
[ticket/14742] Pause after each schema change
...
It is certainly better than running them all at once
PHPBB3-14742
2016-08-11 01:03:23 +02:00
rxu
8e8e25cc1f
[ticket/14703] Fix the docblock
...
PHPBB3-14703
2016-07-24 23:35:20 +07:00
rxu
5eb493fa86
[ticket/14703] Fix existance checking if multiple parent module_langname found
...
PHPBB3-14703
2016-07-24 21:22:37 +07: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
rxu
eaafb758ce
[ticket/14703] Select the parent module id from the several found
...
PHPBB3-14703
2016-07-23 21:34:05 +07:00
rxu
652e3da28d
[ticket/14703] Refine the parent module selection for custom extension modules
...
PHPBB3-14703
2016-07-10 21:47:04 +07:00
rxu
a3c10f575b
[ticket/14703] Fix parent module selection for custom modules removal
...
PHPBB3-14703
2016-07-03 02:23:34 +07:00
rxu
2f53761eaf
[ticket/14703] Fix parent module selection for custom extension modules
...
PHPBB3-14703
2016-07-03 01:31:42 +07:00
Joas Schilling
1b01667c7b
[prep-release-3.1.9] Add migration for 3.1.9
2016-04-16 12:16:23 +02:00
Joas Schilling
5ee6c216e5
[prep-release-3.1.9] Add migration for 3.1.9-RC1
2016-04-09 08:13:31 +02:00
Marc Alexander
48283d7c62
[ticket/14532] Do not escape column default in mssql
...
The column default shouldn't be escaped for mssql. This is a regression
from 743d816631292a2081af4c5f7fc2fad2aff17c58. Prior to that commit, the
default value for the column was not escaped. Escaping it will cause SQL
errors while altering columns.
PHPBB3-14532
2016-03-31 16:07:05 +02:00
Matt Friedman
39de59e65f
[ticket/14570] Use phpbb_version_compare
...
PHPBB3-14570
2016-03-29 10:01:03 -07:00
Matt Friedman
b8dd3ef43a
[ticket/14570] Add effectively installed to 3.1.x versions
...
PHPBB3-14570
2016-03-29 09:54:22 -07:00
Marc Alexander
244d171cb0
[ticket/14136] Add back X-UA-Compatible meta tag
...
This was previously removed without needing to. Adding it back to force
users to not emulate the page for previous versions of IE. The
imagetoolbar http-equiv tag was not restored as IE does not contain that
anymore since IE7. Also, the chome=1 has been removed from the
X-UA-Compatible content as ChromeFrame does not receive any further
updates since 2014 and is potentially broken.
PHPBB3-14136
2016-03-24 16:07:07 +01:00
Oliver Schramm
b77856a903
[ticket/14514] Don't skip users when converting passwords
...
PHPBB3-14514
2016-03-06 16:11:29 +01:00
Joas Schilling
9745d8d80e
Add migration for 3.1.8
2016-02-18 18:04:47 +01:00
Joas Schilling
a1a84c9930
[prep-release-3.1.8] Add migration for 3.1.8-RC1
2016-02-13 14:55:24 +01:00
Marc Alexander
0c34641abd
Merge pull request #3718 from javiexin/ticket/13908
...
[ticket/13908] "After" clause in migration not working
2016-01-17 23:28:29 +01:00
Joas Schilling
fd5e66cbf1
Merge branch 'prep-release-3.1.7' into 3.1.x
...
Conflicts:
build/build.xml
phpBB/includes/constants.php
phpBB/install/schemas/schema_data.sql
2016-01-09 18:42:07 +01:00
Joas Schilling
29a239a4db
[prep-release-3.1.7] Add migration for 3.1.7-pl1
2016-01-09 09:35:53 +01:00
Marc Alexander
9fe8d05d5b
[ticket/14396] Use VCHAR_UNI and correct depends_on() version
...
PHPBB3-14396
2016-01-08 16:55:40 +01:00
Saeed Hubaishan
a339b9e84f
[ticket/13180] Increase dateformat field size
...
remove empty line as marc1706 guided
PHPBB3-13180
2016-01-07 20:03:35 +01:00
Saeed Hubaishan
678ca5dcdc
[ticket/13180] Increase dateformat field size
...
[ticket/13180] Increase dateformat field size
change field size to 64 in these files
add new migration file to update the database schema
PHPBB3-13180
2016-01-07 17:36:02 +01:00