Commit Graph

328 Commits

Author SHA1 Message Date
Dylan Wagstaff
76fb2b29dc Fix class loading issues 2018-01-19 16:27:18 +13:00
Damian Mooyman
2b6a70e529
Merge remote-tracking branch 'origin/1'
# Conflicts:
#	code/MSSQLDatabase.php
#	code/MSSQLSchemaManager.php
#	composer.json
2017-12-07 16:05:30 +13:00
Damian Mooyman
aa21b10005
Merge pull request #1 from silverstripe-security/patch/1/SS-2017-008
[SS-2017-008] Fix SQL injection in search engine
2017-12-07 15:58:57 +13:00
Daniel Hensby
ada270c884
[SS-2017-008] Fix SQL injection in search engine 2017-11-22 11:52:50 +00:00
Damian Mooyman
0f8c146e99 Merge pull request #43 from brettt89/fix-dropping-indexes-without-checking
Fix Dropping indexes on dev/build upgrade path
2017-02-15 15:34:17 +13:00
Brett Tasker
dac4be1a51 Fix DROP INDEX not checking correct schema 2017-02-15 15:24:46 +13:00
Sean Harvey
761b42f24a Merge pull request #42 from ajoneil/1
Fix index issues in /dev/build
2017-02-13 08:39:51 +13:00
Andrew O'Neil
d9ec128735 Fix index issues in /dev/build 2017-02-03 11:47:48 +11:00
Damian Mooyman
6a25ac4ab4 BUG Fix installer for 4.0 (#40) 2016-10-26 14:24:22 +13:00
Damian Mooyman
a34d67c753 Rename SS_ prefixed classes (#39) 2016-09-09 18:55:53 +12:00
Ingo Schommer
bdc3197351 Merge pull request #37 from open-sausages/pulls/4.0/namespace-everything
Upgrade code for core namespaces
2016-09-08 16:11:32 +12:00
Damian Mooyman
da6cefac06 Upgrade code for core namespaces 2016-08-30 13:08:11 +12:00
Sean Harvey
551ccfd352 Merge pull request #35 from tractorcow/pulls/docs
Updated docs
2016-08-17 09:40:54 +12:00
Damian Mooyman
97d8750f3d
Updated docs
Fix support for freetds
Fixes #19
Fixes #32
2016-08-16 18:11:58 +12:00
Damian Mooyman
9309cf3a50 API Namespace MSSQL connector (#31)
API Update to support customtable names
Update to support new namespaced orm
Cleanup PHPDoc
2016-07-15 13:57:54 +12:00
Daniel Hensby
f3574a616b Merge pull request #33 from silverstripe/fixes/ifindexexists
FIX: Check index exists before dropping
2016-07-13 10:02:34 +01:00
Will Rossiter
2e64e44087 FIX: Check index exists before dropping 2016-07-13 14:47:38 +12:00
Damian Mooyman
a3931654b7
Lock 1 branch to ^4 2016-07-04 10:17:46 +12:00
Damian Mooyman
04cf84be71 Merge pull request #30 from helpfulrobot/add-standard-code-of-conduct-file
Added standard code of conduct file
2016-02-16 16:04:36 +13:00
helpfulrobot
95a28e3ffe Added standard code of conduct file 2016-02-16 12:30:27 +13:00
Damian Mooyman
1d5d71c956 Merge pull request #29 from helpfulrobot/add-standard-gitattributes-file
Added standard .gitattributes file
2016-01-18 17:34:31 +13:00
helpfulrobot
23e867a918 Added standard .gitattributes file 2016-01-16 18:01:41 +13:00
Damian Mooyman
31eaa833ed Merge pull request #27 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-12-18 10:16:25 +13:00
helpfulrobot
4badb07597 Converted to PSR-2 2015-12-18 07:50:59 +13:00
Damian Mooyman
8da02fba62 Merge pull request #26 from helpfulrobot/add-standard-editorconfig-file
Added standard .editorconfig file
2015-12-17 14:06:40 +13:00
helpfulrobot
2eaa607a67 Added standard .editorconfig file 2015-12-17 10:22:29 +13:00
Sam Minnee
2cdd30f7d3 Added basic scrutinizer config.
This scrutinizer config should start generating scrutinizer badges for the mssql module.
2015-08-12 14:09:32 +12:00
Sam Minnee
1fab860174 FIX: Fix errors in Appveyor config
There were unfortunately a few errors in the Appveyor config. This commit
fixes them.
2015-08-12 14:03:47 +12:00
Sean Harvey
8101ca851d Merge pull request #25 from sminnee/master
Add Appveyor test configuration for Windows-based CI
2015-08-12 11:23:23 +12:00
Sam Minnee
4357cd38c3 Add composer hints to let 'composer install' run on module.
Scrutinizer will download the module and run 'composer install' to check
the module's code. Without these changes, it is looking for a stable version
of 3.2, which doesn't currently exist.
2015-08-12 11:16:31 +12:00
Sam Minnee
22b367be66 Add AppVeyor build status badge 2015-08-12 11:13:05 +12:00
Sam Minnee
1ec1ca86aa Add Appveyor test configuration for Windows-based CI
We can't use Travis for our Windows testing, so I have configured this
test run for Appveyor. It will run Windows + MSSQL!
2015-08-12 10:53:53 +12:00
Daniel Hensby
ade1ea69d7 Merge pull request #23 from tractorcow/pulls/1.0/update-api
Update API for 3.2 release
2015-06-17 11:13:13 +01:00
Damian Mooyman
be2e9469fd Update API for 3.2 release
See https://github.com/silverstripe/silverstripe-framework/pull/4288
2015-06-17 13:58:45 +12:00
Damian Mooyman
dd23af4278 Merge pull request #18 from ClaySolutions/master
Add bigint support
2015-02-25 08:51:58 +13:00
Ingo Schommer
1fedcfb37e Merge pull request #20 from dhensby/master
Adding .editorconfig
2015-01-04 11:07:17 +13:00
Damian Mooyman
16513227cf Relax framework requirement to include 4.0 2014-12-05 09:32:33 +13:00
Daniel Hensby
b7eb89cd17 Adding .editorconfig 2014-12-04 17:02:13 +00:00
ClayLennart
15ff8640a2 Add bigint support 2014-07-15 09:34:19 +02:00
Sean Harvey
05faf24483 Merge pull request #17 from halkyon/int_fix2
Fixing use of "bigint" and "decimal" for pure integer types.
2014-07-15 09:25:39 +12:00
Sean Harvey
093df443ea Fixing use of "bigint" and "decimal" for pure integer types.
See https://github.com/silverstripe/silverstripe-mssql/issues/14
for more info.

"bigint" doesn't work for PHP 32-bit, as the integer could get too big
for PHP to be able to interpret the value as an integer type. In that
case it would try to approximate it as a float, but that could lead
to a bad assumption for identity columns.

For compatibility, stick with standard "int" type which has a maximum
value of 2147483647.

Note that MySQLAdapter already has this maximum, so changing it to
this keeps this database adapter consistent with MySQL.
2014-07-11 13:46:44 +12:00
Sean Harvey
a6a9b25901 Removing reference to postgres, it doesn't belong in the mssql module. 2014-07-11 13:41:45 +12:00
Simon Welsh
73976c111a Merge pull request #7 from tractorcow/3.2-pdo-connector
API Upgraded module to use new database ORM
2014-07-11 09:31:06 +10:00
Simon Welsh
d50ba80512 Merge pull request #15 from tractorcow/pulls/alias-master
Alias master as 1.0
2014-07-11 09:21:54 +10:00
Damian Mooyman
0bf7212b6e Alias master as 1.0 2014-07-11 09:49:04 +12:00
Damian Mooyman
758fe810a5 API Upgraded module to use new database ORM 2014-07-11 09:46:32 +12:00
Simon Welsh
a9b1e03202 Minimum version is now 3.2 2014-07-09 19:39:10 +10:00
Sean Harvey
752664613e Merge pull request #13 from nikrolls/bug_indexes-not-fully-escaped
BUG: Indexes were not being fully escaped
2014-01-20 13:39:45 -08:00
Nik Rolls
e884a1cc31 BUG: Indexes were not being fully escaped (the parent table name was, but if the relational table is also namespaced then it would trigger an error). 2014-01-18 21:30:27 +13:00
Sean Harvey
e3db6f916d Updating README with more up to date instructions and requirements. 2013-09-13 16:33:34 +12:00