Commit Graph

122 Commits

Author SHA1 Message Date
Daniel Hensby
b20738573f
Merge pull request #46 from creative-commoners/pulls/3.0/remove-deps
Remove unused symfony dependencies and FileTextExtractor::get_mime
2018-07-04 10:28:06 +01:00
Robbie Averill
1b8ea2e451 Remove unused symfony dependencies and FileTextExtractor::get_mime 2018-07-04 16:23:22 +12:00
Dylan Wagstaff
9795866abe
Merge pull request #45 from creative-commoners/pulls/3.0/ss4-updates
API Update namespaces and SilverStripe API implementations for SilverStripe 4 compat
2018-07-04 11:34:17 +12:00
Robbie Averill
9e8ed243d0 Seperate Tika tests, group them for phpunit, further reduce log level, make Extractors injectable 2018-07-03 17:15:18 +12:00
Robbie Averill
397e7a5d40 API FileTextExtractor::getContent now supports a File and a filename path string 2018-07-03 17:03:47 +12:00
Robbie Averill
40e4b05f5d DOCS Update documentation for SilverStripe 4 2018-07-03 17:03:19 +12:00
Robbie Averill
5e5a1f05da FIX Reduce log level to prevent it being caught in SilverStripe error handler
See https://github.com/silverstripe/silverstripe-framework/issues/8044 for context
2018-07-03 16:40:40 +12:00
Robbie Averill
6bf932e5f0 FIX unlink call checks that a file exists first, and tests pass a File object 2018-07-03 16:30:05 +12:00
Robbie Averill
770af5cfc9 Add versioned as a requirement, and php codesniffer 2018-07-03 16:22:43 +12:00
Robbie Averill
3c1457c0ee Update broken path in phpunit configuration 2018-07-03 16:00:31 +12:00
Robbie Averill
5d53be9df6 Set minimum stability and reformat composer.json 2018-07-03 15:58:12 +12:00
Robbie Averill
edb02e9189 API FileTextExtractable::getContent now takes a File instance instead of a path 2018-07-03 15:55:02 +12:00
Robbie Averill
8bd019b2aa Update codebase to ensure relative PSR-2 compliance 2018-07-03 11:37:38 +12:00
Robbie Averill
e2404fc904 Update gitattributes and Scrutinizer configuration 2018-07-03 11:36:04 +12:00
Robbie Averill
8d295ada9c Add phpunit/phpcs configuration and update Travis configuration 2018-07-03 11:35:52 +12:00
Robbie Averill
fe5148e678 API Add namespaces to tests and update SapphireTest implementation 2018-07-03 11:35:24 +12:00
Robbie Averill
66c9db8c0d API Update namespaces for FileTextCache and add upgrader mapping 2018-07-03 11:23:27 +12:00
Robbie Averill
f1bacd2aa9 Bump license year 2018-07-03 10:48:02 +12:00
Robbie Averill
300941c9e8 Update readme badges and requirements for SilverStripe 4 2018-07-03 10:47:56 +12:00
Robbie Averill
dd292bd554 Switch to vendor module 2018-07-03 10:41:41 +12:00
Robbie Averill
45cd9ae4ed
Merge pull request #44 from creative-commoners/pulls/master/add-supported-module-badge
Add supported module badge to readme
2018-06-18 10:43:02 +12:00
Dylan Wagstaff
d06569c8fd Add supported module badge to readme 2018-06-15 17:50:30 +12:00
Dylan Wagstaff
31925d654e
Merge pull request #41 from silverstripe/pulls/3.0/constraints
Update dependency constraints in composer.json
2018-02-02 14:44:19 +13:00
Robbie Averill
e491042d3b
Update dependency constraints in composer.json 2018-02-02 12:52:19 +13:00
Robbie Averill
33746e0cd7
Merge pull request #38 from phptek/issue/37
FIX: Fixes #37 First-pass SS4 compatibility.
2018-01-17 14:07:59 +13:00
Russell Michell
912c457c7d FIX: Updated namespace refs for GuzzleHttp (from Guzzle\Http) 2017-12-22 14:34:40 +13:00
Russell Michell
d09a5aa97c FIX: Upgraded Guzzle to 6.latest 2017-12-22 14:00:41 +13:00
Russell Michell
f341010d7a FIX: First-pass SS4 compatibility.
- Added namespaces, use statements
- Added missing docblocks etc
- Uses SS4's new Cache system
- Uses proper environment vars
- Cannot instantiate 'FileTextCache' (interface) as a service. This can be configured through YML, so default to FileTextCache_Cache
- Modded YML config to make it run.
- Fixes to allow TIKA to actually get file contents.
- Addresses issues raised by @robbieaverill
- Rebased against github.com/silverstripe/silverstripe-textextraction:master
- Replaced `SS_Log` with Monolog.
2017-12-21 10:41:06 +13:00
Robbie Averill
875e608d0f Update branch alias for 3.x-dev 2017-12-20 16:43:15 +13:00
Robbie Averill
c83a7c3403 Merge branch '2' 2017-12-20 16:42:44 +13:00
Robbie Averill
95d96efe40 Merge branch '2.1' into 2 2017-12-20 16:42:35 +13:00
Robbie Averill
9f04583ed5 Merge branch '2.0' into 2.1 2017-12-20 16:41:27 +13:00
Robbie Averill
a8a4e0c02f Remove obsolete branch alias 2017-12-20 16:40:57 +13:00
Robbie Averill
9f3819408c Update branch alias for 2.x-dev 2017-12-20 16:39:28 +13:00
Daniel Hensby
eb25505a8e
Merge pull request #2 from cam-findlay/patch-1 2017-11-23 13:18:44 +00:00
Jake Dale Ovenden
eb7a45865b Allow username and password in requests to Tika server (#35) 2017-11-23 10:24:32 +13:00
Robbie Averill
40ba6a245d
DOCS Fix build badges in readme 2017-11-23 09:52:40 +13:00
Robbie Averill
3d289b4e05 DOCS Add Windows note back into Configuration guide, bump license year 2017-11-23 09:49:05 +13:00
Robbie Averill
f8c3015161 Merge pull request #19 from camfindlay/feature/make-supported 2017-11-23 09:39:34 +13:00
Damian Mooyman
23e255b5c6 Merge pull request #34 from jvdanker/disable-cache-fix
Don't try to save the object to the cache if it has been disabled
2017-02-22 15:30:59 +13:00
Juan van den Anker
0761311170 Don't try to save the object to the cache if it has been disabled 2017-02-22 15:17:32 +13:00
Damian Mooyman
1b89000fcd Merge pull request #33 from alwex/master
fixed the version comparison for tika server text extractor
2016-10-19 16:10:05 +13:00
Alexandre Guidet
196007314a fixed the version comparison using version_compare() instead of plain float 2016-10-19 15:46:30 +13:00
Damian Mooyman
545e711f16 Merge pull request #31 from dhensby/pulls/composer-alias
Bumping composer alias
2016-10-04 12:35:58 +13:00
Daniel Hensby
5d24770d79
Bumping composer alias 2016-10-04 00:17:39 +01:00
Damian Mooyman
5a5c648c1e Merge pull request #30 from dhensby/pulls/pdf-extraction
FIX PDFTextExtractor no longer smushes words together than break acro…
2016-10-04 12:13:09 +13:00
Daniel Hensby
e9e33605b4
FIX PDFTextExtractor no longer smushes words together than break across lines 2016-10-03 23:59:18 +01:00
Damian Mooyman
e0125ba745 Merge pull request #29 from dhensby/pulls/fix-text-extraction-config
FIX UnexpectedValueException thrown when trying to set SolrCellTextEx…
2016-10-04 10:02:58 +13:00
Daniel Hensby
aaf9238384
FIX UnexpectedValueException thrown when trying to set SolrCellTextExtraction.base_url in config 2016-10-03 20:19:30 +01:00
Daniel Hensby
61750e33fc Merge pull request #28 from SilbinaryWolf/fix-windowscompat
fix(PDFTextExtractor): Added support for Windows, but only if 'binary_location' config is defined
2016-05-14 12:14:31 +01:00