Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Nov 03, 2011
@mrmorphic mrmorphic BUGFIX: report query times correctly b08cf4b
Commits on Feb 11, 2012
@halkyon halkyon BUGFIX Fixed support for fulltext search in PostgreSQLDatabase::searc…
…hEngine() by supporting DataList/PaginatedList/ArrayList when these classes are available
7a3024d
@halkyon halkyon Merge pull request #2 from mrmorphic/master
Operator precedence error means query execution times are meaningless. This corrects them.
b9e6314
Commits on Apr 15, 2012
@robert-h-curry robert-h-curry BUGFIX: Fixes #7123. Sets timezone of database if specified. 43ac0a4
@halkyon halkyon Merge pull request #3 from robert-h-curry/7123-postgresql-dbdatetime-…
…test-failure

BUGFIX: Fixes #7123. Sets timezone of database if specified.
ae506b4
Commits on May 01, 2012
@halkyon halkyon BUGFIX Fixing PostgreSQL support in SS 3.x, removing sqlQueryToString…
…() since SQLQuery does the work of fixing selects instead.
6e30463
Commits on May 03, 2012
@halkyon halkyon ENHANCEMENT Use simplier query syntax for SS3 ORM 8152ddc
Commits on May 08, 2012
@halkyon halkyon BUGFIX Fixing PostgreSQLDatabase::searchEngine to work with SS3 1fd2088
Commits on Jun 12, 2012
@halkyon halkyon BUGFIX Fixing index building failing on array check when the index is…
… a string.
200dcf3
@halkyon halkyon BUGFIX Fixing check for array when building indexes 29512e5
Commits on Jun 28, 2012
@kmayo-ss kmayo-ss #BUGFIX: Ticket 7533 fixed a bug which I found whilst testing this an…
…d amended the README.md
501c158
Commits on Jun 29, 2012
@wilr wilr MINOR: update Postgres doc for docviewer support. FIXES: #6681 fa1faec
Commits on Jul 04, 2012
@halkyon halkyon MINOR Updating installation instructions 6551128
Commits on Jul 06, 2012
@chillu chillu Added supportsTimezoneOverride() method bb07e6c
Commits on Jul 18, 2012
@phalkunz phalkunz BUG Fix PostgreSQL error when creating a table for namespaced data ob…
…ject.

This issue is caused by the presence of backslash characters (PHP namespace delimiter) in entity names
eeaa32a
@phalkunz phalkunz Revert "BUG Fix PostgreSQL error when creating a table for namespaced…
… data object."

This reverts commit eeaa32a.
0ffaf3d
@phalkunz phalkunz BUG: BUG Fix PostgreSQL error when creating a table for namespaced da…
…ta object

This issue is caused by the presence of backslash characters (PHP namespace delimiter) in entity names.
fe85c32
Commits on Aug 10, 2012
@hafriedlander hafriedlander Merge pull request #5 from phalkunz/master
BUG: Fix PostgreSQL error when creating a table for namespaced data object
5ba1b80
Commits on Aug 21, 2012
@sminnee sminnee BUGFIX: Fix support for \ characters in table names. f74e9c2
@sminnee sminnee BUGFIX: Make indexList() return double-quotes in index names to preve…
…nt unnecessary recreation of the indexes.
8cd458b
Commits on Sep 16, 2012
@tractorcow tractorcow FIXED: Improved parsing of index strings to support more index format…
…s (array, string, variable index types in either form, etc).

UPDATED: Syntax to conform (better) to SS coding convention
UPDATED: Refactor, cleanup, and simplification of alterTable to reduce duplication of effort. Use of index parsing mechanism to pre-prepare indexe specifications for generation.
UPDATED: Better naming of variables (For instance, $indexName instead of $k)
BUG: Index generation is still not working properly. To investigate.
dc73340
Commits on Sep 17, 2012
@tractorcow tractorcow FIXED: Issue with correct extraction of index names from the database…
…. The root cause of this issue was the way that columns from indxes were retrieved. It was assumed that the column names formed the index name, which isn't necessarily true (E.g. when the index is named "SearchFields"). The behaviour of the module was updated to create case-sensitive index and trigger names, which could then be used to later tell Silverstripe which indexes existed in the database. These could be compared to the SiteTree::$indexes property in a case-sensitive fashion to determine which indexes needed to be created / updated. This update fixes a lot of the unnecessary/broken DDL operations that occurred.
3291147
@tractorcow tractorcow FIXED: Incorrect paging on full text search results 37199fc
@sminnee sminnee Merge pull request #6 from tractorcow/3.0-ddl-fixes
3.0 ddl fixes
c22f7fa
Commits on Sep 18, 2012
@sminnee sminnee Removed unnecessary exec bit. 8cd7cc5
@sminnee sminnee FIX: Fixed PostgreSQLDatabase::indexList() / PostgresSQLDatabase::req…
…uireIndex() so that it doesn't need to infer the ORM-name for the index in order to determine the schema update.
54821bd
@sminnee sminnee FIX: Fix the apparently obsolete code for extracting search index col…
…umns from the trigger meta-data.
06f80d3
@sminnee sminnee Merge pull request #7 from silverstripe/index-fixes
Index fixes
c46e45f
Commits on Sep 19, 2012
@sminnee sminnee FIX: Conditional revert of 06f80d3 as the original code is necessary …
…in some configurations.

Now we have the magic of an if block to guide us.
3fe7671
Commits on Sep 22, 2012
@vikas-srivastava vikas-srivastava New : Added composer.json
Added composer.json file which will help this module for submission on proposed extension.silverstripe.org website. Please add more fields according to requirement.

For more information please visit at http://extension.openbees.org/instructions/
53d8639
@chillu chillu Merge pull request #9 from vikas-srivastava/composer
New : Added composer.json
9924c8d
Commits on Sep 24, 2012
@tractorcow tractorcow FIXED: Minor typo in string concatenation ef4cd20
@sminnee sminnee Merge pull request #10 from tractorcow/3.0-index-typo-fix
FIXED: Minor typo in string concatenation
c5eb666
Commits on Oct 12, 2012
@chillu chillu Corrected minimum requirements, 3.0 only since at least 6e30463 7ba07e9
Commits on Nov 16, 2012
@tractorcow tractorcow BUG Unescaped underscore in query unintentionally hid any table begin…
…ning with 'SQL' or 'PG'
9b623a2
@sminnee sminnee Merge pull request #11 from tractorcow/3.0-unescaped-query-fix
BUG Unescaped query fix
12e2d69
Commits on Dec 11, 2012
@chillu chillu BUG Support for case sensitive searches
Through newly added Database->comparisonClause() API
fc7a21b
@chillu chillu BUG Faulty query escape in tableList()
This caused tables starting with "sql" to be excluded from
the tableList() results, where only "sql_" should be filtered.
An unescaped underscore in ANSI SQL pattern matching stands
for "any single character", the escape needed to be doubled
to account for PHP's own escape expanding.

This broke SQLQueryTest since the test data wasn't reset
between test runs.
cd7b761
Commits on Feb 26, 2013
@stojg stojg BUG: Infinite loop on failed connect to a postgresql server
When a postgres db server is down or credentials are wrone, the adapter still tries to check for a existing database and loops back into trying to connect again.
201e5b7
@sminnee sminnee Merge pull request #12 from stojg/bug-infinite-loop-on-failed-connect
BUG: Infinite loop on failed connect to a postgresql server
c389d79
Commits on Mar 23, 2013
@ss23 ss23 Update PostgreSQLDatabaseConfigurationHelper.php
In prepration for silverstripe/silverstripe-framework#1319
Probably should accept this at the same time.

If someone knows of the relevant ALTER permissions in Postgres, feel free to implment.
0c7362b
Commits on Mar 24, 2013
@simonwelsh simonwelsh Merge pull request #13 from ss23/patch-1
Update PostgreSQLDatabaseConfigurationHelper.php
9e8b755
Commits on Jun 06, 2013
@stojg stojg 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\"");
082adb4
@halkyon halkyon Merge pull request #22 from stojg/unittest-speed-improvements
NEW: Improve the unittest running time by not truncating tables
65702e4
Commits on Dec 20, 2013
@simonwelsh simonwelsh Better error handling and support passwords with spaces in them b8771b7
Commits on Feb 14, 2014
@sminnee sminnee FIX: PostgreSQLDatabase::selectDatabase() should switch to the databa…
…se 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.
f967c20
@sminnee sminnee Merge pull request #24 from sminnee/fix-select-database
FIX: PostgreSQLDatabase::selectDatabase() should switch to the database ...
bc37bf7
@sminnee sminnee FIX: Fix fatal bugs in previous commit. 863ead3
Commits on Feb 18, 2014
@chillu chillu Added travis support 4ca243f
Commits on Apr 08, 2014
@torleif torleif 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: silverstripe/silverstripe-framework#2242 The difference being comparisonClause(...) being more apt solution in SS 3.1
7626d74
Commits on Jul 09, 2014
@simonwelsh simonwelsh Minimum version is now 3.2 f3be117
Commits on Jul 10, 2014
@tractorcow tractorcow API Upgraded module to use new database ORM abe3843
@tractorcow tractorcow Alias dev-master as 1.2
Include composer installation instructions
c864f27
@simonwelsh simonwelsh Merge pull request #29 from tractorcow/pulls/alias-version
Alias dev-master as 1.2
191846e
@simonwelsh simonwelsh Don't test against unsupported core versions 042eb98
Commits on Jul 11, 2014
@simonwelsh simonwelsh Merge pull request #14 from tractorcow/3.2-pdo-connector
API Upgraded module to use new database ORM
0c07807
Commits on Jul 15, 2014
@LensArt LensArt Add bigint support d9699fa
Commits on Jul 18, 2014
@tractorcow tractorcow BUG Fix issues in master 010ce57
@tractorcow tractorcow Merge pull request #31 from tractorcow/pulls/fix-master
BUG Fix issues in master
731e25f
Commits on Sep 24, 2014
@halkyon halkyon Merge pull request #26 from torleif/patch-1
FIX postgres can filter on non text fields
846f31b
Commits on Dec 04, 2014
@tractorcow tractorcow Relax framework requirement to include 4.0 f920d13
Commits on Jan 03, 2015
@dhensby dhensby Adding .editorconfig 62b87b7
Commits on Feb 24, 2015
@tractorcow tractorcow Merge pull request #30 from ClaySolutions/master
Add bigint support
1aeb7b1
Commits on Mar 13, 2015
@RantyDave RantyDave Fixes alter table problem
If you can log in (with write permissons), you can alter tables.
7bb29a9
Commits on Apr 30, 2015
@RantyDave RantyDave Merge pull request #1 from RantyDave/3951-actually-can-alter
Fixes alter table problem
1fe26a8
@chillu chillu Merge pull request #38 from RantyDave/master
Fixes "alter table" problem when installing.
6661b0e
@chillu chillu Fixed indentation from last commit 5a7ea69
Commits on May 04, 2015
@kinglozzer kinglozzer NEW: Allow 'null' limit in database queries 0a61b16
@tractorcow tractorcow Merge pull request #40 from kinglozzer/pulls/orm-null-limit
NEW: Allow 'null' limit in database queries
52b8a73
@tractorcow tractorcow Merge pull request #36 from dhensby/master
Adding .editorconfig
f6229a4
Commits on Jun 15, 2015
@dhensby dhensby Updating travis provisioner
Travis will now be more resilient to `composer self-update` failures
31abb29
Commits on Jun 17, 2015
@tractorcow tractorcow Update API for 3.2 release
Fix bug with literal question mark in conditions
See silverstripe/silverstripe-framework#4288
a596d9d
@dhensby dhensby Merge pull request #42 from tractorcow/pulls/1.2/update-api
Update API for 3.2 release
db12e5b