Commit Graph

277 Commits

Author SHA1 Message Date
Loz Calver
25e57f4598 Update PostgreSQLQuery to use generators 2018-03-16 16:43:07 +00:00
Damian Mooyman
577988715f
Merge remote-tracking branch 'origin/2' 2018-02-09 10:06:00 +13: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
917884e015
Merge pull request #82 from creative-commoners/pulls/3.0/travis-update
Update dependencies to PHP 7.1 and PHPUnit 7
2018-01-23 18:04:30 +13:00
Robbie Averill
48992633c2 Prefer source for Travis build installations 2018-01-23 14:32:45 +13:00
Robbie Averill
892798c6fd FIX Prefer source for framework so we can run tests for it 2018-01-18 17:55:25 +13:00
Robbie Averill
6f11131d4f Update dependencies to PHP 7.1 and PHPUnit 7 2018-01-18 16:31:14 +13:00
Damian Mooyman
2e2868c237
Merge remote-tracking branch 'origin/2' 2017-12-07 16:31:59 +13: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
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
fc51749386
Framework 5.0 compatible branch 2017-11-28 10:39:22 +13:00
Damian Mooyman
6dbacea799
Merge branch '2' 2017-11-28 10:38:01 +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
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
Damian Mooyman
1277361a6c
Remove version constraint 2017-11-21 18:32:56 +13:00
Chris Joe
e41df60b40
Merge pull request #78 from open-sausages/pulls/4.0/update-4.0-stable
BUG Fix 4.0.0 compat / PDO not working
2017-11-20 11:14:34 +13:00
Damian Mooyman
685e33cf84
BUG Fix postgres + PDO not working
BUG Fix empty enums
2017-11-20 09:07:32 +13:00
Damian Mooyman
8c5f95fdaa Merge pull request #77 from Rudigern/insert-concurrency-issue
getGeneratedID to use currval() which is session dependent
2017-10-20 18:47:01 +13:00
Neil Gladwin
7a8bcd1ec5 Returns the last inserted ID using currval() which is session dependant rather than last_value which is across all sessions 2017-10-20 13:38:06 +10:00
Damian Mooyman
ff64974e45 Merge pull request #76 from open-sausages/pulls/2/vendorise-me-baby
Expose as vendor module
2017-10-03 16:16:18 +13:00
Ingo Schommer
49105eb19b Expose as vendor module 2017-10-03 03:05:20 +13:00
Loz Calver
4a1968df94 Merge pull request #75 from dhensby/pulls/yml-syntax
FIX Quote yample starting with %
2017-07-27 11:04:57 +01:00
Daniel Hensby
0c2b48421b
FIX Quote yample starting with % 2017-07-27 10:41:34 +01:00
Daniel Hensby
d7118b6267
Merge branch '1' 2017-07-26 16:33:23 +01:00
Daniel Hensby
0b5b6ddad2
Merge branch '1.2' into 1 2017-07-26 14:23:29 +01:00
Daniel Hensby
e3bebfe453
Merge branch '1.1' into 1.2 2017-07-26 14:23:02 +01:00
Daniel Hensby
5187e747b3
Actually run tests using postgres 2017-07-26 14:22:00 +01:00
Daniel Hensby
e6dbc0a708
Merge branch '1' 2017-07-26 13:57:30 +01:00
Daniel Hensby
5dd9b83b57
Merge branch '1.2' into 1 2017-07-26 13:53:47 +01:00
Daniel Hensby
1c953025e6
Merge branch '1.1' into 1.2 2017-07-26 12:15:02 +01:00
Daniel Hensby
6a168488ac
Stay on travis precise 2017-07-26 11:55:24 +01:00
Daniel Hensby
1a78f20b8a
Merge branch '1.0' into 1.1 2017-07-26 11:52:50 +01:00
Daniel Hensby
4b3fd28b3b
Backport of #48 2017-07-26 11:48:27 +01:00
Daniel Hensby
45a57a80f0 Update composer constraint 2017-07-26 11:39:17 +01:00
Damian Mooyman
c3dbb76ef6 Merge pull request #65 from phptek/issue/64
FIX: Fixes #64 by the addition on of the USING clause.
2017-07-26 16:35:38 +12:00
Russell Michell
45233e4e74 FIX: Fixes #64 by the addition on of the USING clause. 2017-07-26 08:04:48 +12:00
Daniel Hensby
6beeef75d0 Merge pull request #70 from silverstripe/pulls/test-with-php7
Testing in PHP7
2017-06-27 11:06:25 +01:00
Ingo Schommer
132c31bc80 Testing in PHP7
Now that we have support for PHP7 in SS 3.x, we should test the Postgres module against it.
I've set up the tests to run weekly on this branch (and master) via TravisCI new cron job feature.
While we have a nightly "all modules" run in silverstripe-installer, it doesn't have the same matrix coverage as this run here.

I've also removed removed tests against older (and unsupported) 3.x releases (it was testing against 3.2)
2017-06-27 15:58:40 +12:00
Ingo Schommer
29a2a06f41 Merge pull request #69 from open-sausages/pulls/4.0/fix-tests
Fix travis config
2017-06-21 14:27:02 +12:00
Damian Mooyman
307a6b673d
Fix travis config 2017-05-31 15:22:56 +12:00
Daniel Hensby
2cc0199591 Merge pull request #67 from open-sausages/pulls/4.0/fix-long-identifiers
API Ensure table aliases longer than max characters are safely re-written
2017-05-25 23:17:17 +01:00
Damian Mooyman
e941f0b122
API Ensure table aliases longer than max characters are safely re-written 2017-05-26 10:15:10 +12:00
Damian Mooyman
512f10d745 Merge pull request #68 from dhensby/pulls/2/db-indexes
Getting postgres to work with stricter index api
2017-05-26 09:53:30 +12:00
Daniel Hensby
35c1428c63
Getting postgres to work with stricter index api 2017-05-19 18:29:06 +01:00