Commit Graph

255 Commits

Author SHA1 Message Date
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
Daniel Hensby
a0b9010b90 Merge pull request #61 from kinglozzer/fix-seek-pt2
FIX: PostgreSQLQuery::seek() returning indexed array instead of associative
2017-01-13 11:31:49 +00:00
Loz Calver
b5214def7c FIX: PostgreSQLQuery::seek() returning indexed array instead of associative 2017-01-13 11:04:01 +00:00
Damian Mooyman
33e97cc49f Merge pull request #60 from kinglozzer/fix-seek
FIX: PostgreSQLQuery::seek() failed to return a row
2017-01-13 09:05:46 +13:00
Loz Calver
72ca91981f FIX: PostgreSQLQuery::seek() failed to return a row 2017-01-12 16:19:27 +00:00
Daniel Hensby
d3d2875012
FIX BigIng bug with default clause 2016-11-10 00:21:28 +00:00
Damian Mooyman
f2ba2f6717 BUG Fix reference to obsolete API (#59) 2016-10-28 16:50:09 +13:00
Damian Mooyman
a5738dbfd1 BUG Fix installer for 4.0 (#58) 2016-10-26 14:24:00 +13:00
Damian Mooyman
d8aab6383e Rename SS_ prefixed classes (#57) 2016-09-09 15:47:01 +12:00
Ingo Schommer
69a0f136a1 Merge pull request #56 from open-sausages/pulls/4.0/namespace-everything
Fix injector reference
2016-09-08 17:19:47 +12:00
Damian Mooyman
8c1014b849 Fix injector reference 2016-09-08 17:16:32 +12:00
Ingo Schommer
38dcdff18e Merge pull request #55 from open-sausages/pulls/4.0/namespace-everything
Update for framework namespacing
2016-09-08 16:11:26 +12:00
Damian Mooyman
fc915b856a Update for framework namespacing 2016-09-01 16:22:17 +12:00
Daniel Hensby
7d23f2c97d Merge pull request #53 from open-sausages/pulls/4.0/namespace-cms
Update for SilverStripe\CMS namespace
2016-08-12 12:28:14 +01:00
Damian Mooyman
586fbce1e8 Update for SilverStripe\CMS namespace 2016-08-12 10:28:47 +12:00
Damian Mooyman
e2096d690c Suppress upgrade of certain strings 2016-07-05 16:27:31 +12:00
Sam Minnée
eadb7ac352 Merge pull request #52 from open-sausages/pulls/namespace
Update for namespaced changes
2016-07-04 15:46:24 +12:00
Damian Mooyman
6568b41550
Update phpunit version 2016-07-04 15:11:06 +12:00
Damian Mooyman
0abd6a6c68
Suppress upgrade of DB service name 2016-07-04 14:37:00 +12:00
Damian Mooyman
db2d4574d8 Remove dead code 2016-07-04 13:53:54 +12:00
Damian Mooyman
f83fa173d9 Move config into private statics for future maintainability 2016-07-04 13:53:54 +12:00
Damian Mooyman
f797f49aeb BUG Fix pg_query / pg_query_params not correctly raising exceptions on error 2016-07-04 13:32:41 +12:00
Damian Mooyman
946d429c41 Upgrade code for new namespaces 2016-07-04 13:32:41 +12:00