Commit Graph

307 Commits

Author SHA1 Message Date
Steve Boyd
d3c8e2915e MNT Rearrange travis matrix 2021-01-18 11:37:36 +13:00
Maxime Rainville
dd4df9800b
Merge pull request #119 from creative-commoners/pulls/2.3/travis-shared
MNT Travis shared config, use sminnee/phpunit
2020-12-21 15:03:34 +13:00
Steve Boyd
082742ad23 MNT Travis shared config, use sminnee/phpunit 2020-12-02 15:41:59 +13:00
Robbie Averill
3d50b3f9ec Merge branch '2.2' into 2.3 2019-11-27 17:27:36 -08: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
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
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
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
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
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
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
Damian Mooyman
e3825697d0
Merge remote-tracking branch 'origin/2.0' into 2 2018-02-09 10:05:32 +13:00
Daniel Hensby
47a6ebb4e3 FIX Allow nested transactions 2018-02-09 10:05:00 +13:00
Damian Mooyman
2bbd73620d
Merge pull request #83 from dhensby/pulls/2.0/nested-transactions
FIX Allow nested transactions
2018-02-09 09:50:46 +13:00
Daniel Hensby
97afbd9a88
FIX Allow nested transactions 2018-02-08 20:00:49 +00:00
Damian Mooyman
f2392eb7c6
Merge remote-tracking branch 'origin/2.0' into 2 2017-12-07 16:31:21 +13:00
Damian Mooyman
1f6d892609
Merge remote-tracking branch 'origin/1.2' into 2.0
# Conflicts:
#	code/PostgreSQLDatabase.php
2017-12-07 16:30:22 +13:00
Damian Mooyman
2d11336dce
Merge remote-tracking branch 'origin/1.2' into 1 2017-12-07 16:26:06 +13:00
Damian Mooyman
aa16771922
Merge pull request #1 from silverstripe-security/patch/1.2/SS-2017-008
[SS-2017-008] Fix SQL injection in search engine
2017-12-07 15:59:04 +13:00
Damian Mooyman
05e15d85d6
Merge branch '2.0' into 2 2017-11-28 10:37:16 +13:00
Damian Mooyman
a401f7ad24
Remove alias from 2.0 branch 2017-11-28 10:36:18 +13:00
Loz Calver
390cb09928
FIX: Add missing $totalCount variable 2017-11-25 21:40:01 +00:00
Daniel Hensby
d110b92fc8
Merge pull request #80 from kinglozzer/fix-searchengine
Fix PostgreSQLDatabase::searchEngine()
2017-11-25 18:09:58 +00:00
Loz Calver
851309f187 Fix PostgreSQLDatabase::searchEngine() 2017-11-24 22:28:01 +00:00
Daniel Hensby
ee356b1ad7
[SS-2017-008] Fix SQL injection in search engine 2017-11-21 15:34:59 +00:00
Daniel Hensby
a32f5e556a
Correcting travis install steps 2017-11-21 11:38:00 +00:00