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 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