Joas Schilling
0806c74084
[ticket/12710] Prefix column so it does not start with a number
...
PHPBB3-12710
2014-08-09 14:42:31 +02:00
Joas Schilling
ef9360d285
[ticket/12710] Pass the original column data to the create function
...
PHPBB3-12710
2014-08-09 14:42:28 +02:00
Joas Schilling
37a1874782
[ticket/12710] Fix foreach generation
...
PHPBB3-12710
2014-08-09 14:41:25 +02:00
Joas Schilling
c8e7db60ba
[ticket/12710] Compare to uppercase version
...
PHPBB3-12710
2014-08-09 13:34:22 +02:00
Joas Schilling
f03a003bea
[ticket/12710] Do not try to match the uniqueness in the query
...
PHPBB3-12710
2014-08-09 13:14:08 +02:00
Joas Schilling
7d44995f16
[ticket/12710] Remove table_name from index_name before deleting and recreating them
...
PHPBB3-12710
2014-08-09 12:53:15 +02:00
Joas Schilling
078c68da63
[ticket/12710] Can not use upper in oracles where claus
...
PHPBB3-12710
2014-08-09 12:46:59 +02:00
Joas Schilling
12eb993d23
[ticket/12710] Correctly select index name and compare to column name
...
PHPBB3-12710
2014-08-09 08:54:40 +02:00
Joas Schilling
cdcfd1fe1e
[ticket/12710] Fix problems with creating unique indexes on oracle
...
PHPBB3-12710
2014-08-09 08:28:44 +02:00
Joas Schilling
96fc29eecc
[ticket/12710] Correctly fetch unique and normal indexes only in MSSQL
...
PHPBB3-12710
2014-08-09 08:27:10 +02:00
Geolim4
01943adbf7
[ticket/12671] Possibility to use NOT LIKE expression
...
PHPBB3-12671
2014-08-08 18:32:17 +02:00
Geolim4
6b60153ab4
[ticket/12671] Possibility to use NOT LIKE expression
...
PHPBB3-12671
2014-08-08 16:40:33 +02:00
Joas Schilling
0465e9d1b9
Merge pull request #2838 from dhruvgoel92/ticket/12738
...
[ticket/12738] Pass $this->config in content_visibility constructor
* dhruvgoel92/ticket/12738:
[ticket/12738] Pass $this->config in content_visibility constructor
2014-08-08 16:05:55 +02:00
Dhruv
fcb57edd06
[ticket/12738] Pass $this->config in content_visibility constructor
...
PHPBB3-12738
2014-08-08 15:54:42 +02:00
Joas Schilling
b39305b9f6
[ticket/12710] Fix changing the column type on oracle
...
PHPBB3-12710
2014-08-07 19:45:34 +02:00
Joas Schilling
339bf90ec2
[ticket/12710] Prepare get_existing_indexes() for other DBMS
...
PHPBB3-12710
2014-08-07 18:43:48 +02:00
Joas Schilling
9b36b5283c
Merge pull request #2761 from Nicofuma/ticket/12873
...
[ticket/12873] Test the correct identifier in \phpbb\db\tools
* Nicofuma/ticket/12873:
[ticket/12873] Add migration to rename the index
[ticket/12873] Don not touch the existing migrations
[ticket/12873] Test the good identifier in \phpbb\db\tools
2014-08-07 16:49:37 +02:00
Tristan Darricau
2b3e15cf64
[ticket/12873] Add migration to rename the index
...
PHPBB3-12873
2014-08-07 14:27:12 +02:00
Tristan Darricau
27b4ab9241
[ticket/12873] Don not touch the existing migrations
...
PHPBB3-12873
2014-08-07 14:16:57 +02:00
n-aleha
ffcf45abf3
[ticket/12557] Fix doc block errors found by Sami pt1
...
PHPBB3-12557
2014-08-03 07:03:08 +03:00
Joas Schilling
f4fc1bde03
Merge pull request #2767 from Nicofuma/ticket/12882
...
[ticket/12882] Update search_type when it's not prefixed by phpbb_search
* Nicofuma/ticket/12882:
[ticket/12882] Use a new migration
[ticket/12882] Update search_type when it's not prefixed by phpbb_search
2014-07-31 14:03:23 +02:00
Tristan Darricau
ae350bda42
[ticket/12870] Add doc block
...
PHPBB3-12870
2014-07-28 15:17:19 +02:00
Tristan Darricau
a8e81b6e9f
[ticket/12870] Create the migrations table with a method in the migrator
...
PHPBB3-12870
2014-07-27 11:08:13 +02:00
Dhruv Goel
1c8357a1cb
Merge pull request #2651 from nickvergessen/ticket/12448
...
[ticket/12448] Allow null as default value for columns
2014-07-22 00:08:07 +05:30
Tristan Darricau
2fbf12456d
[ticket/12882] Use a new migration
...
PHPBB3-12882
2014-07-21 17:53:01 +02:00
Tristan Darricau
db3bddf15c
[ticket/12882] Update search_type when it's not prefixed by phpbb_search
...
PHPBB3-12882
2014-07-21 11:29:37 +02:00
Tristan Darricau
919aeb3879
[ticket/12873] Test the good identifier in \phpbb\db\tools
...
We need to rename the index key because with the default prefix (phpbb_)
this key has a length of 31. And because we don't accept the keys longer
than 30 characters we should ensure that by default no key is longer than
30 characters.
PHPBB3-12873
2014-07-20 23:15:34 +02:00
Stanislav Atanasov
1043d1a27c
[ticket/12846] SQLite3 bug in profilefield_base_migration.php
...
Using profilefield_base_migration.php to create a custom profile
field with SQlite3 DBMS returns warning:
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/sqlite3.php
on line 218: SQLite3Result::fetchArray(): Unable to execute statement:
constraint failed
This is due passing filed_id and lang_id to the DB driver in
unspecified format. As they are always int we should cast them
in int to prevent the error message appearance.
PHPBB3-12846
2014-07-13 01:45:20 +03:00
Joas Schilling
4449793b07
[prep-release-3.1.0-RC2] Add migration for 3.1.0-RC2
2014-07-11 16:04:27 +02:00
Andreas Fischer
147b942e5c
Merge pull request #2711 from n-aleha/ticket/12829
...
[ticket/12829] Remove check for pgsql 8.3/8.2
* n-aleha/ticket/12829:
[ticket/12829] Remove check for pgsql 8.3/8.2
2014-07-11 10:17:03 +02:00
Joas Schilling
d5fd1ecfc8
Merge pull request #2675 from lucifer4o/ticket/12786
...
[ticket/12786] Extend profilefield_base_migration.php class
* lucifer4o/ticket/12786:
[ticket/12786] Correcting some tabs
[ticket/12786] Array_merge instead copy array parts
[ticket/12786] Some changes of the comments.
[ticket/12786] Dixing a typo
[ticket/12786] Some minor fixes of comments and function naming
[ticket/12786] Add clean_cpf_db_entries
[ticket/12786] White spaces found
[ticket/12786] Add create_language_entries
[ticket/12786] Add get_custom_field_id
[ticket/12786] Extend profilefield_base_migration.php class
2014-07-09 17:00:43 +02:00
Stanislav Atanasov
c468a5d8d4
[ticket/12786] Correcting some tabs
...
Some tabs needed corection
PHPBB3-12786
2014-07-08 22:01:49 +03:00
Tristan Darricau
b170c6a8db
Merge pull request #2695 from VSEphpbb/ticket/12812
...
[ticket/12812] Add a migrator tool for config_text database changes
* VSEphpbb/ticket/12812:
[ticket/12812] Remove unused global $db from tests
[ticket/12812] Improve migrator config_text tool tests
[ticket/12812] Improve migrator config_text tool tests
[ticket/12812] Add a migrator tool for config_text database changes
2014-07-08 00:52:51 +02:00
n-aleha
b08497f66c
[ticket/12829] Remove check for pgsql 8.3/8.2
...
Remove check for pgsql 8.3/8.2 and set multi_insert to true.
PHPBB3-12829
2014-07-07 23:10:18 +03:00
Tristan Darricau
42fde81b21
Merge pull request #2690 from Noxwizard/ticket/12802
...
[ticket/12802] Properly handle connection failures in SQLite3
* Noxwizard/ticket/12802:
[ticket/12802] Properly handle connection failures in SQLite3
2014-07-07 21:56:35 +02:00
Matt Friedman
606d82f7dd
[ticket/12812] Add a migrator tool for config_text database changes
...
PHPBB3-12812
2014-07-05 00:57:34 -07:00
Nils Adermann
53ff23671c
Merge remote-tracking branch 'github-nicofuma/ticket/12446' into develop-ascraeus
...
* github-nicofuma/ticket/12446:
[ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_exts
2014-07-04 21:08:20 +02:00
Stanislav Atanasov
4cec5bcd55
[ticket/12786] Array_merge instead copy array parts
...
nickvergessen proposed this
PHPBB3-12786
2014-07-04 14:49:23 +03:00
Patrick Webster
3ca708edad
[ticket/12802] Properly handle connection failures in SQLite3
...
PHPBB3-12802
2014-07-03 13:05:54 -05:00
Stanislav Atanasov
c9da9ec858
[ticket/12786] Some changes of the comments.
...
Comments and quotes
PHPBB3-12786
[ticket/12786]
PHPBB3-12786
Revert "[ticket/12786]"
This reverts commit 61a6647101731110f67689b109de953f7449b03e.
2014-07-03 20:18:51 +03:00
Stanislav Atanasov
41047bc369
[ticket/12786] Dixing a typo
...
Typos fixed
PHPBB3-12786
2014-06-29 22:46:45 +03:00
Stanislav Atanasov
ffbd7cf1a7
[ticket/12786] Some minor fixes of comments and function naming
...
PHPBB3-12786
2014-06-29 22:38:05 +03:00
Stanislav Atanasov
18631801d5
[ticket/12786] Add clean_cpf_db_entries
...
Add function to clean the cpf fields entries
PHPBB3-12786
2014-06-29 16:29:09 +03:00
Stanislav Atanasov
52204e0e6d
[ticket/12786] White spaces found
...
Removed some white spaces
PHPBB3-12786
2014-06-29 12:21:40 +03:00
Stanislav Atanasov
e3b07274ef
[ticket/12786] Add create_language_entries
...
Add function to create entries in PROFILE_FIELDS_LANG_TABLE
PHPBB3-12786
2014-06-29 11:51:47 +03:00
Stanislav Atanasov
b70a1cc4af
[ticket/12786] Add get_custom_field_id
...
Adding function to get CPFs ID
PHPBB3-12786
2014-06-29 11:50:40 +03:00
Stanislav Atanasov
564924e876
[ticket/12786] Extend profilefield_base_migration.php class
...
If extensions authors will use profilefield_base_migration.php
class as base class for creation of CPFs, the class need to be
extended a bit.
At the moment there are two issues with it:
It does not create entries for PROFILE_FIELDS_LANG_TABLE
(as it can't know what fields to create).
The migration is not "cleaning" the DBMS after purging
the extension and leaves everything except the CPF column.
Adding profilefield_language_data
PHPBB3-12786
2014-06-29 11:48:06 +03:00
Joas Schilling
919e1a6bc8
Merge pull request #2660 from marc1706/ticket/12764
...
[ticket/12764] Properly handle errors upon connecting to MySQLi database
* marc1706/ticket/12764:
[ticket/12764] Properly handle errors upon connecting to MySQLi database
2014-06-27 15:39:07 +02:00
Tristan Darricau
ff6e026a40
[ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_exts
...
PHPBB3-12446
2014-06-26 21:09:19 +02:00
Stanislav Atanasov
deb393bff3
[ticket/12771] Shanging substr to strpos
...
Logical change ...
PHPBB3-12771
2014-06-26 20:56:00 +03:00