Commit Graph

331 Commits

Author SHA1 Message Date
Sam Minnee
8e88295e78 Merge branch '2' 2019-11-29 10:47:30 +13:00
Robbie Averill
8e7701dae2
Merge pull request #106 from CrackerStealth/master
Updated PDO PostgreSQL Connection Creation
2019-11-27 17:42:28 -08:00
Robbie Averill
a7c3450d43 Merge branch 'pulls/docs-known-issue' into 2
# Conflicts:
 #	README.md
 #
2019-11-27 17:33:06 -08:00
Robbie Averill
0be39423a3 Merge branch '2.3' into 2 2019-11-27 17:28:00 -08:00
Robbie Averill
3d50b3f9ec Merge branch '2.2' into 2.3 2019-11-27 17:27:36 -08:00
Chris Graham
e145b84b7c Updated PDO PostgreSQL Connection Creation
In addition to the pre-check for PostgreSQL needing to use pgsql
as the module name, the connection generator helper also needed
to be updated.
2019-10-29 11:41:26 -06:00
Maxime Rainville
3e38f845e3 Bump branch alias to 2.4. 2019-10-02 14:48:55 +13:00
Maxime Rainville
4e3d3df565 Remove branch alias for 2.3.0 release 2019-10-02 14:45:33 +13:00
Maxime Rainville
753d73e1fe
BUG Fix issues preventing a site from being migrated from SS3 to SS4 (#104)
* BUG Enum value change wasn't being detected by alterTableAlterColumn because backslashes were not accounting

* BUG Update renameTable to also rename constraints

* BUG Add unit tests to cover requireTable and renameTable

* Fix liniting errors

* MINOR Update build to use xenial and add extra PHP version
2019-09-26 10:25:41 +12:00
Guy Marriott
beed6c7fb7
API Increased support to 9.2 (#102)
API Increased support to 9.2
2019-09-17 16:17:43 -07:00
Ingo Schommer
bf4fb87a01 API Increased support to 9.2
Anything older than 9.3 is unsupported by Postgres: https://www.postgresql.org/support/versioning/.
I don't think we should claim support in our module for unsupported versions,
particularly if we don't have CI on them.

Since we're *only* running CI on 9.2 at the moment, that's the safe claim
for our module support, even though it's already unsupported by Postgres.
See https://docs.travis-ci.com/user/database-setup/#using-a-different-postgresql-version

I'll raise a separate ticket about testing and supporting newer versions,
it's out of scope for this PR.
2019-09-03 15:41:23 +12:00
Ingo Schommer
66376db094 DOCS Known issue about collations
Moving from https://docs.silverstripe.org/en/4/getting_started/server_requirements/
since it's too much noise there.

Also removing the maintainer contact, that's an outdated concept.
2019-09-03 15:22:14 +12:00
Serge Latyntsev
d2e3bc90d0
Merge pull request #94 from CrackerStealth/bugfix/incorrect-pdo-precheck
Updated PDO PostgreSQL Check
2019-08-05 14:44:09 +12:00
Aaron Carlino
72b47428a4 Merge branch '2' into master 2019-07-13 21:52:59 +12:00
Ingo Schommer
d607a2bfa9
Merge pull request #100 from sminnee/drop-php5
NEW: Drop PHP 5.6 testing
2019-07-04 08:59:40 +12:00
Sam Minnée
f2ec228c72
Merge pull request #99 from sminnee/fix-9097
FIX: Don’t drop first row on repeated iteration
2019-07-03 14:27:21 +12:00
Sam Minnee
82f8a06afa NEW: Drop PHP 5.6 testing
PostgreSQL 2.3+, like Framework 4.5+, is able to be PHP 7.1+. Updated
the test matrix to reflect this.
2019-07-03 13:58:50 +12:00
Sam Minnee
75f4a35f71 FIX: Don’t drop first row on repeated iteration
Fixes https://github.com/silverstripe/silverstripe-framework/issues/9097

Related: https://github.com/silverstripe/silverstripe-framework/issues/9098

Co-authored-by: Guy Marriott <guy@scopey.co.nz>
2019-07-03 13:55:17 +12:00
Guy Marriott
08c8293328
Merge pull request #97 from open-sausages/pulls/2/fix-aliasing
FIX Usage of a bug-feature around aliases
2019-05-09 12:38:33 +12:00
Serge Latyntcev
0ffaf90512 FIX Usage of a bug-feature around aliases
Related https://github.com/silverstripe/silverstripe-postgresql/issues/95
2019-05-06 16:06:58 +12:00
Guy Marriott
04000ad878
Merge remote-tracking branch 'origin/2.2' into 2 2019-04-15 15:36:11 +12:00
Guy Marriott
3d6920c121
Remove branch alias 2019-04-15 15:14:05 +12:00
Guy Marriott
b6bab3561f
Bump branch alias for 2.3.x-dev 2019-04-15 11:11:50 +12:00
Chris Graham
c124e8c9f3 Updated PDO PostgreSQL Check
The pre-check for PostgreSQL needs to look for pgsql and changed the
error text to link to the PostgreSQL PDO documentation instead of the
Microsoft SQL Server documentation.
2019-04-11 16:59:30 -06:00
Sam Minnee
1b55ffaaf6 Merge branch '2' 2019-04-12 09:45:10 +12:00
Sam Minnee
fd27c17a80 MINOR: Add comment to explain ‘f’ coercion.
Follow-up to https://github.com/silverstripe/silverstripe-postgresql/pull/93
2019-01-23 22:19:26 +13:00
Robbie Averill
f85b46d047
Merge pull request #93 from sminnee/fix-boolean-coersion
FIX: Boolean ’t’/‘f’ strings need to be coerced to int properly.
2019-01-23 11:16:53 +02:00
Sam Minnee
32a0aad720 FIX: Boolean ’t’/‘f’ strings need to be coerced to int properly. 2019-01-23 13:50:32 +13:00
Robbie Averill
94428a7a14 Merge branch '2'
# Conflicts:
 #	code/PostgreSQLQuery.php
2018-11-26 14:30:28 +01:00
Loz Calver
0d9fcabc80
Merge pull request #91 from sminnee/strict-types
Strict types
2018-11-05 10:14:23 +01:00
Sam Minnee
8f70ac89ca FIX: Removed test that has been moved back to framework
This test has been added for all database types in framework
in https://github.com/silverstripe/silverstripe-framework/pull/8448
2018-11-05 18:13:47 +13:00
Sam Minnee
72787ae83e FIX: Return correct types in PostgreSQLQuery
Fixes https://github.com/silverstripe/silverstripe-postgresql/issues/90
Helps fix https://github.com/silverstripe/silverstripe-framework/issues/7039
2018-11-05 18:13:47 +13:00
Robbie Averill
522816fa00 Merge branch '2' 2018-09-24 12:50:48 +02:00
Robbie Averill
4c6034f350 Bump branch alias for 2.2.x-dev 2018-09-24 12:49:53 +02:00
Robbie Averill
edfa209a3c Merge branch '2.1' into 2 2018-09-24 12:49:36 +02:00
Robbie Averill
e123f69b7b Remove obsolete branch alias 2018-09-24 12:48:49 +02:00
Daniel Hensby
9590000630
Merge pull request #89 from creative-commoners/pulls/3.0/phpunit-version
FIX Ensure tests pass by reducing PHPUnit to 7.1.3
2018-08-20 17:47:15 +01:00
Robbie Averill
fb412d2c46 FIX Ensure tests pass by reducing PHPUnit to 7.1.3
See https://github.com/silverstripe/silverstripe-framework/pull/8271
2018-08-17 21:04:00 +12:00
Daniel Hensby
4157408adb
Merge branch '2' 2018-07-13 17:43:45 +01:00
Daniel Hensby
4c89d103c5
Merge branch '1' into 2 2018-07-13 17:42:10 +01:00
Maxime Rainville
6378003540 Prefer source so we get the tests. 2018-07-02 11:47:15 +12:00
Maxime Rainville
b210c7284f Targeting 4.3.x-dev
Third time's a charm.
2018-07-02 11:47:15 +12:00
Maxime Rainville
7fe935fc89 Correct typo in targeted version. 2018-07-02 11:47:15 +12:00
Maxime Rainville
694c4059b9 Test against recipe-cms 4. 2018-07-02 11:47:15 +12:00
Maxime Rainville
6d80ea2bfe Test against recipe-cms 5.x-dev.
Parent issue silverstripeltd/open-sourcerers#31
2018-06-29 16:29:36 +12:00
Robbie Averill
6cfc30952c
Merge pull request #86 from open-sausages/pulls/2/report-transaction-nesting
API Support better transaction nesting
2018-06-19 16:57:46 +12:00
Damian Mooyman
e0d5536715
API Support better transaction nesting 2018-06-19 16:20:07 +12:00
Damian Mooyman
01cc78ec94
Merge pull request #85 from creative-commoners/pulls/master/add-supported-module-badge
Add supported module badge to readme
2018-06-18 10:12:41 +12:00
Dylan Wagstaff
513c969c93 Add supported module badge to readme 2018-06-15 17:43:43 +12:00
Daniel Hensby
bb5bda6643
Merge pull request #84 from kinglozzer/generators
Update PostgreSQLQuery to use generators
2018-03-17 14:48:16 +00:00