Commit Graph

187 Commits

Author SHA1 Message Date
helpfulrobot cd17ce4f94 Added standard code of conduct file 2016-02-16 11:43:48 +13:00
Daniel Hensby efb3a9dfa2 Merge pull request #48 from tractorcow/pulls/fix-constraints
BUG Fix constraints ignoring schema
2016-01-22 12:21:45 +00:00
Damian Mooyman 3780d1b152 BUG Fix constraints ignoring schema 2016-01-21 09:52:37 +13:00
Damian Mooyman e46a37090c Converted to PSR-2 2016-01-21 09:49:28 +13:00
Damian Mooyman 24caacbf3b Merge remote-tracking branch 'origin/1.2'
# Conflicts:
#	code/PostgreSQLSchemaManager.php
#	composer.json
2016-01-21 09:30:15 +13:00
Damian Mooyman 2122e548e2 Merge pull request #47 from helpfulrobot/add-standard-gitattributes-file
Added standard .gitattributes file
2016-01-18 15:47:06 +13:00
helpfulrobot c451c72efa Added standard .gitattributes file 2016-01-16 19:34:48 +13:00
Damian Mooyman 934fa61433 Merge pull request #46 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-12-18 10:06:49 +13:00
helpfulrobot 605ba3eeff Converted to PSR-2 2015-12-18 07:18:01 +13:00
Damian Mooyman 091c4d8a1c Merge pull request #45 from helpfulrobot/add-standard-editorconfig-file
Added standard .editorconfig file
2015-12-17 13:30:38 +13:00
helpfulrobot 8b04cd4bb1 Added standard .editorconfig file 2015-12-17 10:09:26 +13:00
Ingo Schommer 6f4dc4d8d2 Merge pull request #43 from tractorcow/pulls/1.2/fix-decimal
BUG Fix decimal not supporting non-integer values
2015-11-03 09:53:33 +13:00
Damian Mooyman 2b3da3c9a8 BUG Fix decimal not supporting non-integer values 2015-11-03 09:14:10 +13:00
Ingo Schommer 1b7216fcf9 Updated supported SS release in README 2015-11-03 08:45:29 +13:00
Ingo Schommer eb4b7cca86 Updated PHP build versions to match new core minimum reqs 2015-11-03 08:43:07 +13:00
Damian Mooyman 90a7539ebd Fix incorrect SQL 2015-10-16 11:47:58 +13:00
Damian Mooyman f932aa4b04 Update master to 2.0 for 4.0 compatibility 2015-10-16 11:30:00 +13:00
Damian Mooyman 28160fa065 Restrict 1.2 branch to 3.2 compatibility 2015-10-16 11:25:35 +13:00
Daniel Hensby 750f4a9d9f Move to new travis containerised infrastructure 2015-07-20 16:01:39 +01:00
Daniel Hensby db12e5bae3 Merge pull request #42 from tractorcow/pulls/1.2/update-api
Update API for 3.2 release
2015-06-17 11:09:31 +01:00
Damian Mooyman a596d9d343 Update API for 3.2 release
Fix bug with literal question mark in conditions
See https://github.com/silverstripe/silverstripe-framework/pull/4288
2015-06-17 13:50:36 +12:00
Daniel Hensby 31abb29c5d Updating travis provisioner
Travis will now be more resilient to `composer self-update` failures
2015-06-15 10:03:16 +01:00
Damian Mooyman f6229a4ebb Merge pull request #36 from dhensby/master
Adding .editorconfig
2015-05-05 09:51:22 +12:00
Damian Mooyman 52b8a7324c Merge pull request #40 from kinglozzer/pulls/orm-null-limit
NEW: Allow 'null' limit in database queries
2015-05-05 09:03:21 +12:00
Loz Calver 0a61b16caf NEW: Allow 'null' limit in database queries 2015-05-04 15:36:49 +01:00
Ingo Schommer 5a7ea699a0 Fixed indentation from last commit 2015-04-30 23:30:23 +12:00
Ingo Schommer 6661b0e133 Merge pull request #38 from RantyDave/master
Fixes "alter table" problem when installing.
2015-04-30 21:34:44 +12:00
David Preece 1fe26a8198 Merge pull request #1 from RantyDave/3951-actually-can-alter
Fixes alter table problem
2015-04-30 16:36:15 +12:00
David Preece 7bb29a9288 Fixes alter table problem
If you can log in (with write permissons), you can alter tables.
2015-03-14 12:14:54 +13:00
Damian Mooyman 1aeb7b1436 Merge pull request #30 from ClaySolutions/master
Add bigint support
2015-02-25 08:52:57 +13:00
Daniel Hensby 62b87b7ee3 Adding .editorconfig 2015-01-03 17:19:27 +00:00
Damian Mooyman f920d13f7f Relax framework requirement to include 4.0 2014-12-05 09:36:05 +13:00
Sean Harvey 846f31b31c Merge pull request #26 from torleif/patch-1
FIX postgres can filter on non text fields
2014-09-24 18:06:06 +12:00
Damian Mooyman 731e25fe5a Merge pull request #31 from tractorcow/pulls/fix-master
BUG Fix issues in master
2014-07-18 17:08:00 +12:00
Damian Mooyman 010ce575ed BUG Fix issues in master 2014-07-18 13:06:58 +12:00
ClayLennart d9699fa28d Add bigint support 2014-07-15 09:44:01 +02:00
Simon Welsh 0c07807e1f Merge pull request #14 from tractorcow/3.2-pdo-connector
API Upgraded module to use new database ORM
2014-07-11 10:34:13 +10:00
Simon Welsh 042eb98dfe Don't test against unsupported core versions 2014-07-11 09:25:44 +10:00
Simon Welsh 191846ee4a Merge pull request #29 from tractorcow/pulls/alias-version
Alias dev-master as 1.2
2014-07-11 09:23:38 +10:00
Damian Mooyman c864f27d61 Alias dev-master as 1.2
Include composer installation instructions
2014-07-11 09:35:34 +12:00
Damian Mooyman abe3843012 API Upgraded module to use new database ORM 2014-07-11 09:13:52 +12:00
Simon Welsh f3be11732c Minimum version is now 3.2 2014-07-09 19:31:12 +10:00
torleif 7626d74bee FIX postgres can filter on non text fields
This issue causes the comparison to fail if comparing a non text fields (for example, a date or integer). This will cause the CMS to fail in places such as Gridfield selector. 

Similar fix as this one: https://github.com/silverstripe/silverstripe-framework/pull/2242 The difference being comparisonClause(...) being more apt solution in SS 3.1
2014-04-08 13:24:05 +12:00
Ingo Schommer 4ca243fc68 Added travis support 2014-02-18 17:56:10 +13:00
Sam Minnee 863ead3255 FIX: Fix fatal bugs in previous commit. 2014-02-14 15:27:36 +13:00
Sam Minnée bc37bf7a4f Merge pull request #24 from sminnee/fix-select-database
FIX: PostgreSQLDatabase::selectDatabase() should switch to the database ...
2014-02-14 14:34:49 +13:00
Sam Minnee f967c20383 FIX: PostgreSQLDatabase::selectDatabase() should switch to the database if it exists.
Previous implementation of PostgreSQLDatabase::selectDatabase() just updated internal
registers, and expected connectDatabase() or similar to be called.  This is out of line
with MySQLDatabase's behaviour, and frankly a bit stupid.  FullTextSearch's test system
expected different behaviour from selectDatabase() and so this is needed to fix that.

Since it's making PostgreSQLDatabase match the behaviour of MySQLDatabase, I don't consider
it an API change.
2014-02-14 13:49:11 +13:00
Simon Welsh b8771b79da Better error handling and support passwords with spaces in them 2013-12-20 14:34:31 +13:00
Sean Harvey 65702e4a6b Merge pull request #22 from stojg/unittest-speed-improvements
NEW: Improve the unittest running time by not truncating tables
2013-06-06 16:40:49 -07:00
Stig Lindqvist 082adb4fd6 NEW: Improve the unittest running time by not truncating tables
When clearing tables this will delete all rows instead of truncating it.

Benchmarking this change by running the full cms and framework test suit changed improved the running time from 32 minutes to 9 minutes.

If truncate functionality is needed for any special cases it should be run as

    DB::query("TRUNCATE \"TableToTruncate\"");
2013-06-06 13:43:31 +12:00