1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-16 06:09:40 +02:00
Commit Graph

779 Commits

Author SHA1 Message Date
7d2a58e271 [ticket/14434] Schema generator should ignore migration helpers
PHPBB3-14434
2016-01-26 11:45:06 -08:00
b7db2717b2 Merge pull request from marc1706/ticket/13733
[ticket/13733] Allow non-migration files inside migrations folder

* marc1706/ticket/13733:
  [ticket/13733] Remove validate_classes method argument
  [ticket/13733] Make sure migration classes always have same order in tests
  [ticket/13733] Properly test setting validate_classes to false/true
  [ticket/13733] Use interface for migratinos
  [ticket/13733] Update comment explaining migration class validation
  [ticket/13733] Add isInstantiable() check.
  [ticket/13733] Braces on their own lines
  [ticket/13733] Allow tests the skip class validation
  [ticket/13733] Properly handle nonexistent classes as well
  [ticket/13733] Handle nonexistent classes as well
  [ticket/13733] Only use migration classes that extension the base migration class.
2016-01-25 09:08:23 +01:00
39c9baa574 Merge pull request from marc1706/ticket/11875
[ticket/11875] Use 4-byte integer instead of 3-byte integer for ID columns

* marc1706/ticket/11875:
  [ticket/11875] Add back new line
  [ticket/11875] Change more columns to use UINT and add missings ones
  [ticket/11875] Add migration file
  [ticket/11875] Recreate schemas for install
  [ticket/11875] Create new map for UNSIGNED 4-byte integer
  [ticket/11875] Upgrade default data type from MEDIUMINT to INT
2016-01-18 23:29:41 +01:00
e954b0b82b [ticket/13733] Use interface for migratinos
PHPBB3-13733
2016-01-18 14:54:54 +01:00
a30ecb81f8 Merge branch '3.1.x' 2016-01-17 23:28:33 +01:00
0c34641abd Merge pull request from javiexin/ticket/13908
[ticket/13908] "After" clause in migration not working
2016-01-17 23:28:29 +01:00
7cd7bb3c01 [ticket/11875] Change more columns to use UINT and add missings ones
PHPBB3-11875
2016-01-13 19:35:04 +01:00
31607771e1 [ticket/11875] Add migration file
PHPBB3-11875
2016-01-13 17:02:42 +01:00
192a5f19f4 Merge pull request from hjpotter92/ticket/11875
[ticket/11875] Set default data type from MEDIUMINT (3byte) to INT(10) (4byte)

Conflicts:
	phpBB/includes/db/schema_data.php
	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/phpbb/db/tools/tools.php
2016-01-13 13:21:08 +01:00
7f7b09fdeb Merge branch '3.1.x'
Conflicts:
	build/build.xml
	phpBB/docs/CHANGELOG.html
	phpBB/includes/acp/acp_bbcodes.php
2016-01-09 18:45:32 +01:00
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
b2324607ad Merge pull request from marc1706/ticket/13454
[ticket/13454] Remove unused variables, globals, and parameters

* marc1706/ticket/13454:
  [ticket/13454] Add excessively removed code back
  [ticket/13454] Remove more unused variables
  [ticket/13454] Remove double semi-colons
  [ticket/13454] Remove unused variables
  [ticket/13454] Fix code sniffer complaints
  [ticket/13454] Fix a few issues introduced by overdeleting stuff
  [ticket/13454] Remove unused variables
  [ticket/13454] Remove unused variables
  [ticket/13454] Remove unused variables
  [ticket/13454] Remove unused variables
2016-01-09 17:53:04 +01:00
29a239a4db [prep-release-3.1.7] Add migration for 3.1.7-pl1 2016-01-09 09:35:53 +01:00
f6524f4902 Merge branch '3.1.x' 2016-01-08 18:22:40 +01:00
9fe8d05d5b [ticket/14396] Use VCHAR_UNI and correct depends_on() version
PHPBB3-14396
2016-01-08 16:55:40 +01:00
0028ed3e95 Merge branch '3.1.x'
Conflicts:
	phpBB/styles/subsilver2/template/ucp_prefs_personal.html
2016-01-08 16:39:33 +01:00
a339b9e84f [ticket/13180] Increase dateformat field size
remove empty line as marc1706 guided

PHPBB3-13180
2016-01-07 20:03:35 +01:00
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
73900d1857 [ticket/13454] Remove more unused variables
This should be the last part. Off to checking if the changes were correct.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
7a6a16e3a5 [ticket/13454] Remove unused variables
This is part 5 and there is more to come.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
266576c6a4 [ticket/13454] Remove unused variables
Part 4

PHPBB3-13454
2016-01-06 13:52:11 +01:00
f50ba9ab4f [ticket/13454] Remove unused variables
This is part 2 of the pr.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
73e6e5b77f [ticket/13454] Remove unused variables
This is the first part of the changes. More to come.

PHPBB3-13454
2016-01-06 13:51:19 +01:00
8ed59fb82a [ticket/14250] Change token_storage class to fit changed interface
PHPBB3-14250
2016-01-04 03:38:28 +01:00
8daeb6962a [prep-release-3.2.0-a2] Add migration for 3.2.0-a2 2015-12-19 17:17:01 +01:00
9a814e21aa Merge branch '3.1.x'
Conflicts:
	build/build.xml
2015-12-19 14:23:12 +01:00
e3acdfed92 [prep-release-3.1.7] Add migration to update the version 2015-12-19 12:21:25 +01:00
b2a26ab5f4 Merge branch '3.1.x'
Conflicts:
	build/build.xml
	phpBB/docs/CHANGELOG.html
	phpBB/includes/constants.php
	phpBB/install/convertors/convert_phpbb20.php
	phpBB/install/schemas/schema_data.sql
	phpBB/styles/prosilver/style.cfg
	phpBB/styles/subsilver2/style.cfg
2015-12-12 15:24:29 +01:00
69cf32613d [prep-release-3.1.7] Add migration for 3.1.7-RC1 2015-12-12 01:35:05 +01:00
ecb98ce81f Merge pull request from brunoais/feature/sql-bool-builder
[feature/sql-bool-builder] New syntax for DBAL query builder for boolean generation

* brunoais/feature/sql-bool-builder:
  [feature/sql-bool-builder] Fixing misuse of LOGICAL_OP instead of STATEMENTS
  [feature/sql-bool-builder] Fixing typos in previous commit
  [feature/sql-bool-builder] Changing syntax pt3. Don't use magic numbers
  [feature/sql-bool-builder] Changing syntax pt2. Fix tests
  [feature/sql-bool-builder] Changing syntax
2015-12-05 11:23:27 +01:00
b4bbc7056a Merge pull request from Elsensee/ticket/14257
[ticket/14257] Reparse after update

* Elsensee/ticket/14257:
  [ticket/14257] Add tests for reparser manager
  [ticket/14257] Fix CLI reparser and set cron interval
  [ticket/14257] Fix CLI error message
  [ticket/14257] Fix phpdoc in CLI command
  [ticket/14257] Add text_reparser manager
  [ticket/14257] Use migrations instead of cron job for some reparsers
  [ticket/14257] Fix lock acquire in CLI command
  [ticket/14257] Fix if condition
  [ticket/14257] Add reparse_lock to CLI command
  [ticket/14257] Add cron tasks for reparsing text
2015-12-05 11:21:40 +01:00
a3a163dea1 [feature/sql-bool-builder] Fixing misuse of LOGICAL_OP instead of STATEMENTS
PHPBB3-13652
2015-11-24 07:31:37 +00:00
335be2e59f [feature/sql-bool-builder] Fixing typos in previous commit
PHPBB3-13652
2015-11-12 06:52:34 +00:00
9725f5757e [feature/sql-bool-builder] Changing syntax pt3. Don't use magic numbers
PHPBB3-13652
2015-11-11 08:38:38 +00:00
bb260f02e0 [feature/sql-bool-builder] Changing syntax
Changing the syntax used to the one Nicofuma suggested.

PHPBB3-13652
2015-11-11 08:38:37 +00:00
2144f35e9d [prep-release-3.2.0-a1] Add migration for 3.2.0-a1 2015-11-09 20:20:26 +01:00
d04c7687c0 [ticket/14277] Use user_id if available
PHPBB3-14277
2015-11-09 09:11:03 +01:00
e02432ec82 [ticket/14277] Fix undefined index error in migrations
PHPBB3-14277
2015-11-08 22:11:14 +01:00
900ccd79af [ticket/14257] Fix CLI reparser and set cron interval
PHPBB3-14257
2015-11-08 03:29:37 +01:00
25e2b17837 [ticket/14257] Add text_reparser manager
PHPBB3-14257
2015-10-26 01:39:52 +01:00
33500fd372 [ticket/14257] Use migrations instead of cron job for some reparsers
PHPBB3-14257
2015-10-25 02:30:01 +01:00
df53d40922 [ticket/14044] Automatically trigger rollback on insert in transaction
This will cause the sqlite3 driver to automatically rollback transactions
if an insert fails during a transaction. Other dbms trigger a rollback
inside the sql_error() function with a rollback command. However,
this manual rollback command might fail on sqlite3 due to ongoing queries.

With this change, sqlite3 itself will abort any ongoing queries and
initiate the rollback automatically. Since manually triggered rollbacks
will fail after the rollback was started automatically, we catch
exceptions output by the exec() command during rollback and any exception
that might be thrown by fetchArray() due to aborted queries.

PHPBB3-14044
2015-10-23 20:47:56 +02:00
e0d06ee83e [ticket/14044] Fix Sqlite error in tests
PHPBB3-14044
2015-10-23 11:46:03 +02:00
94bd35fd3b [ticket/14039] Fix migrator's language calls
PHPBB3-14039
2015-10-18 18:28:12 +02:00
8f5a0ad6f7 [ticket/14039] Revamp updater
PHPBB3-14039
2015-10-17 23:05:57 +02:00
84150d0d44 [ticket/13652] Fix coding style
PHPBB3-13652
2015-10-14 17:15:09 +02:00
cd114a68e9 Merge pull request 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
8c3fdfe4e1 Merge branch '3.1.x' 2015-10-11 10:48:53 +02:00
f6c8338358 Merge pull request from Zoddo/ticket/8920
[ticket/8920] Add a MCP PM reports view permission
2015-10-11 10:47:44 +02:00
f6f796770a Merge pull request from Zoddo/ticket/13101
[ticket/13101] Remove MSN/WLM custom profile field
2015-10-10 20:52:52 +02:00