1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-14 05:36:30 +02:00
Commit Graph

596 Commits

Author SHA1 Message Date
ecb98ce81f Merge pull request #4006 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 #4005 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 #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
8c3fdfe4e1 Merge branch '3.1.x' 2015-10-11 10:48:53 +02:00
f6c8338358 Merge pull request #3864 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 #3903 from Zoddo/ticket/13101
[ticket/13101] Remove MSN/WLM custom profile field
2015-10-10 20:52:52 +02:00
d1b7101fed Merge pull request #3896 from Zoddo/ticket/14157
[ticket/14157] Allow to set the alt/title attribute on post icons
2015-10-10 16:43:15 +02:00
3937f1f4ae [ticket/14157] Allow to set the alt/title attribute on post icons
PHPBB3-14157
2015-10-10 15:29:31 +02:00
21201aa1ab [ticket/13101] Remove existing MSN/WLM custom profile field
PHPBB3-13101
2015-10-10 15:24:22 +02:00
64641f9b1f Merge pull request #3904 from Zoddo/ticket/14162
[ticket/14162] Add CLI commands to manage migrations
2015-10-07 14:03:02 +02:00
a7ba640ea7 [ticket/14182] Move v310\notifications_board migration to v320\...
PHPBB3-14182
2015-09-21 10:47:20 +02:00
2596fba487 [ticket/14162] Add CLI command db:revert
This command allow to revert a migration from the CLI

PHPBB3-14162
2015-09-20 12:26:46 +02:00
956723af0e [ticket/12769] Properly include FA 2015-09-17 18:37:25 +02:00
aa01ee1bbc [ticket/8920] Revert update_module_auth() on revert_data()
PHPBB3-8920
2015-09-13 14:06:10 +02:00
542d75b3a9 Merge pull request #3870 from Zoddo/ticket/9485
[ticket/9485] Add a "View post" link in the moderation logs

* Zoddo/ticket/9485:
  [ticket/9485] Fix tests
  [ticket/9485] Add post_id to relevant $phpbb_log->add()
  [ticket/9485] Add a "View post" link in the moderation logs
2015-09-09 11:04:13 +02:00
23205ca0cc Merge branch '3.1.x'
* 3.1.x:
  [ticket/13423] Set busyTimeout on connect to prevent db locking
2015-09-09 11:01:03 +02:00
ea594d00f7 [ticket/13423] Set busyTimeout on connect to prevent db locking
PHPBB3-13423
2015-09-07 12:23:49 +02:00
fb3e9d9a77 Merge branch '3.1.x'
Conflicts:
	build/build.xml
2015-09-05 15:20:38 +02:00
5258fba2e0 [prep-release-3.1.6] Add migration for 3.1.6 2015-09-05 12:45:53 +02:00
306fbf23a8 [ticket/9485] Add a "View post" link in the moderation logs
PHPBB3-9485
2015-08-30 19:52:00 +02:00
e9e199bc37 [ticket/8920] Add a MCP PM reports view permission
Anybody who has the permission to read reports in one forum
can read PM reports.

Solving this problem by adding a new permission to read PM reports.

PHPBB3-8920
2015-08-30 12:18:37 +02:00
afccb9cb49 [ticket/12505] Fix variable usage in migration file
PHPBB3-12505
2015-08-24 00:40:38 +03:00
1f16704d34 [ticket/12505] Add migration
PHPBB3-12505
2015-08-24 00:40:38 +03:00
05851e2b4b Merge branch '3.1.x'
Conflicts:
	build/build.xml
	phpBB/includes/constants.php
	phpBB/install/schemas/schema_data.sql
	phpBB/styles/prosilver/style.cfg
	phpBB/styles/subsilver2/style.cfg
2015-08-23 18:27:30 +02:00
623a8f2d0f [prep-release-3.1.6] Add migration for 3.1.6-RC1 2015-08-23 16:54:43 +02:00
0a5f7d2e51 Merge branch '3.1.x'
* 3.1.x:
  [ticket/14116] sql_affectedrows method has no arguments
2015-08-20 03:52:34 +02:00
50a7167c9a [ticket/14116] sql_affectedrows method has no arguments
PHPBB3-14116
2015-08-19 16:12:01 -07:00
92b23df864 Merge branch '3.1.x'
* 3.1.x:
  [ticket/14069] Corrected sql_fetchfield() in style_update_p1 migration
2015-08-10 13:20:04 +02:00
32f5dc3d8b [ticket/14069] Corrected sql_fetchfield() in style_update_p1 migration
Changed the sql_fetchfield() call to comply to the function definition.

PHPBB3-14069
2015-08-05 19:07:02 +02:00
cbe74844b0 Merge pull request #3698 from s9e/ticket/13935
[ticket/13935] Allow more admin-configurable schemes in post links

* s9e/ticket/13935:
  [ticket/13935] Removed cache invalidation from acp_board
  [ticket/13935] Removed UI
  [ticket/13935] Allow more admin-configurable schemes in post links
2015-08-05 12:59:55 +02:00
df56b2ed36 [ticket/8708] Add f_announce_global permission
PHPBB3-8708
2015-07-19 21:26:47 +02:00
da7fc9e5da [ticket/13935] Allow more admin-configurable schemes in post links
PHPBB3-13935
2015-07-15 22:05:06 +02:00
be0d4e20d4 [ticket/11444] Moving the in-board notifications to a method class
Currently the in-board method for the notifications is hardcoded and
cannot be disabled. This method should be in his own class extending
`phpbb\notification\method\method_interface`.

It also add the possibility, for each method, to be enabled by default (ie:
no entry in the DB => notification enabled).

https://tracker.phpbb.com/browse/PHPBB3-11444
https://tracker.phpbb.com/browse/PHPBB3-11967

PHPBB3-11444
2015-07-13 22:41:13 +02:00
2a662c5e07 Merge branch '3.1.x'
Conflicts:
	build/build.xml
	phpBB/phpbb/user.php
2015-06-14 17:40:18 +02:00
8f5d761112 [prep-release-3.1.5] Add migration for 3.1.5 2015-06-14 16:14:07 +02:00