Commit Graph

125 Commits

Author SHA1 Message Date
Damian Mooyman
941fc9d857 Merge pull request #16 from helpfulrobot/add-standard-gitattributes-file
Added standard .gitattributes file
2016-01-18 15:25:37 +13:00
helpfulrobot
0c0dceacac Added standard .gitattributes file 2016-01-16 19:32:49 +13:00
Damian Mooyman
608458ccb8 Merge pull request #15 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-12-18 10:05:28 +13:00
helpfulrobot
b2d40ed61e Converted to PSR-2 2015-12-18 07:11:01 +13:00
Damian Mooyman
7daf437e24 Merge pull request #14 from helpfulrobot/add-standard-editorconfig-file
Added standard .editorconfig file
2015-12-17 14:07:08 +13:00
helpfulrobot
4b6dcd8dde Added standard .editorconfig file 2015-12-17 10:06:47 +13:00
Damian Mooyman
e76bd4b1a1 API Update master to new major version for 4.0 compat 2015-10-16 11:17:24 +13:00
Sean Harvey
feb9676d7d Merge pull request #12 from dhensby/patch-2
Move to new travis containerised infrastructure
2015-07-21 08:40:30 +12:00
Daniel Hensby
e2293d4dab Move to new travis containerised infrastructure 2015-07-20 16:10:08 +01:00
Damian Mooyman
45c97db3ae Merge pull request #10 from dhensby/patch-1
Updating travis provisioner
2015-07-02 12:15:29 +12:00
Sam Minnée
85f82c2517 Merge pull request #11 from silverstripe-labs/pulls/1.4/update-api
Update API for 3.2 release
2015-06-17 15:47:31 +01:00
Damian Mooyman
b06bff09bf Update API for 3.2 release
See https://github.com/silverstripe/silverstripe-framework/pull/4288
2015-06-17 15:03:36 +12:00
Daniel Hensby
de919e1700 Updating travis provisioner
Travis will now be more resilient to `composer self-update` failures
2015-06-15 10:27:00 +01:00
Damian Mooyman
dda4c3ab48 Merge pull request #9 from kinglozzer/fix-null-offset
Fix null offset
2015-05-05 09:50:49 +12:00
Loz Calver
4a91d999ee Fix null offset 2015-05-04 22:37:13 +01:00
Damian Mooyman
e4960193b8 Merge pull request #8 from kinglozzer/pulls/orm-null-limit
NEW: Allow 'null' limit in database queries
2015-05-05 09:03:25 +12:00
Loz Calver
9bad442cc5 Enable 'null' limit 2015-05-04 15:35:35 +01:00
Damian Mooyman
de9c9274da Merge pull request #6 from ClaySolutions/master
Add bigint support
2015-02-25 08:51:33 +13:00
Damian Mooyman
a3bb5cdfb7 Relax framework requirement to include 4.0 2014-12-05 09:38:57 +13:00
ClayLennart
f9153ab6c2 Add bigint support 2014-07-15 09:50:51 +02:00
Simon Welsh
eb6280e78f Merge pull request #3 from tractorcow/3.2-pdo-connector
API Upgraded module to use new database ORM
2014-07-11 09:29:43 +10:00
Simon Welsh
52fac83cf1 Don't test against unsupported core versions 2014-07-11 09:24:43 +10:00
Simon Welsh
c8e4579ba0 Merge pull request #5 from tractorcow/pulls/alias-composer
Update docs and alias dev-master as 1.4
2014-07-11 09:23:55 +10:00
Damian Mooyman
b3b82810a0 API Upgraded module to use new database ORM
API Use SQLite3::version to directly get connection version
2014-07-11 09:06:33 +12:00
Damian Mooyman
a599b53809 Update docs and alias dev-master as 1.4 2014-07-11 08:57:13 +12:00
Simon Welsh
ec64174b33 Now require ~3.2 of framework 2014-07-10 12:33:55 +10:00
Simon Welsh
400920f8de Merge pull request #4 from tractorcow/pulls/deprecate-memory
BUG Properly deprecate old 'memory' config setting
2014-03-06 10:50:50 +13:00
Damian Mooyman
c8235c0f06 BUG Properly deprecate old 'memory' config setting 2014-03-06 10:40:14 +13:00
Ingo Schommer
0bd9ef2904 Travis support 2014-02-18 17:59:45 +13:00
Sean Harvey
0a00f5ca9c Cleaning up long line lengths in _config.php 2014-02-18 16:45:59 +13:00
Sean Harvey
69fee85469 Change database path to allow use of ":memory:"
Instead of using a custom "memory" key in the $databaseConfig
which never really got used this now allows someone to simply enable
in-memory databases by setting the path to ":memory:" or to use the
following environment variable:

define('SS_SQLITE_DATABASE_PATH', ':memory:');
2014-02-18 16:44:00 +13:00
Simon Welsh
7a11b353d7 Create LICENSE 2013-09-02 21:20:35 +12:00
Ingo Schommer
3766c67a17 Clarified config settings 2013-04-01 21:24:29 +03:00
Ingo Schommer
06f2559050 Defaulting to memory DB if 'path' not specified
Given that we're only using SQLite3 for testing, this is a
reasonable default - and it means we don't need to have a
special _config.php for CI.
2013-03-28 23:02:41 +01:00
Ingo Schommer
589c35dfdb Defaulting to memory DB if 'path' not specified
Given that we're only using SQLite3 for testing, this is a
reasonable default - and it means we don't need to have a
special _config.php for CI.
2013-03-28 21:01:55 +01:00
Simon Welsh
7e02ff12ea Merge pull request #2 from ss23/patch-1
Update SQLiteDatabaseConfigurationHelper.php
2013-03-24 03:05:23 -07:00
Stephen Shkardoon
5e82d842ad Update SQLiteDatabaseConfigurationHelper.php
In preparation for https://github.com/silverstripe/sapphire/pull/1319
Probably should accept this at the same time.

If someone knows of the relevant ALTER permissions in SQLite, feel free to implement.
2013-03-24 03:31:09 +13:00
Ingo Schommer
426b669233 Minor typos in README 2013-03-15 09:50:53 +01:00
Ingo Schommer
069ed7ff52 BUG Normalize index specs to avoid false positives on schema regen 2012-12-11 14:40:49 +01:00
Ingo Schommer
36f15a52b4 BUG Using GLOB for case sensitive matches in SQLite3
As opposed to LIKE, the GLOB operator is case sensitive by default
in SQlite3. It uses "*" instead of "%" for wildcards,
which necessitated a new SearchFilter->getWildcard() method.

SQlite3 doesn't support per-term modifiers,
COLLATE BINARY LIKE is case insensitive by default
unless the field collation is set up accordingly.
There's connection-level modifiers (PRAGMA case_sensitive_like = true),
but that would affect all comparisators in the executed query.
2012-12-11 01:43:37 +01:00
Ingo Schommer
96fdd9178a BUG Removed MetaTitle and MetaKeywords cols from search engine
They have been removed from core in the 3.1 release line.
2012-12-10 23:38:35 +01:00
Sam Minnee
faa611172f Added composer config 2012-11-03 14:28:55 +13:00
Normann Lou
1df648f6bb MINOR: use framework to replace sapphire for inline document. 2012-07-16 14:53:17 +12:00
Normann Lou
583e88b571 MINOR: use framework to replace sapphire for inline document. 2012-07-16 14:45:36 +12:00
Ingo Schommer
66ec67f838 Updated compat in README 2012-07-06 15:57:01 +02:00
Ingo Schommer
7c9156ebaf BUG Ignore col quotes in renameTable() 2012-07-06 14:05:59 +02:00
Ingo Schommer
356872236a Added supportsTimezoneOverride() method 2012-07-06 11:37:11 +02:00
Ingo Schommer
5594036d0c BUGFIX: indexList() returns indexes escaped by double quotes
See a1e7c1f9b in framework for same commit related to MySQLDatabase.
2012-07-05 15:08:01 +02:00
Ingo Schommer
14601368b8 API Don't run in-memory by default.
While the SQLite3 module is predominantly used for testing,
its best to leave this decision to the code using it.
We should default to a conservative setting (slower, but persistent).
Also remove coupling to SapphireTest when setting this value.
Don't bother creating the directory if running in-memory.
2012-07-05 13:43:46 +02:00
Ingo Schommer
7061e7a7c6 BUG Allow backslashes in fieldList() for namespaced classes 2012-07-05 12:16:20 +02:00