Commit graph

1202 commits

Author SHA1 Message Date
Tim Nagel e25a5420a5 Logger enabled with debugging 2014-03-26 12:38:20 +11:00
Tim Nagel 37db040096 Merge pull request #435 from merk/documentation
Refactored documentation
2014-03-26 10:09:17 +11:00
Tim Nagel eb7758605e Documentation updates 2014-03-26 10:07:50 +11:00
Tim Nagel 49f077cc30 Merge pull request #510 from peterjmit/master
Make fetchSlice compatible with custom repo method
2014-03-26 10:01:18 +11:00
Tim Nagel befb0907cc Merge branch 'master' into documentation
Conflicts:
	DependencyInjection/Configuration.php
	README.md
2014-03-25 16:04:32 +11:00
Tim Nagel e83ea0b6c8 Merge pull request #505 from piotrantosik/fix_docblocks
Fix some block comment
2014-03-25 15:48:18 +11:00
Tim Nagel 1e44051442 Merge pull request #514 from jvandesande/MultiField
Unset fields if no nested fields are defined
2014-03-25 15:47:06 +11:00
nurikabe 361d80a720 Prevent division by zero error 2014-03-24 11:18:55 -04:00
nurikabe 720917f609 Clone entities on delete to preserve ids 2014-03-24 11:16:31 -04:00
Joris van de Sande 455ff9e0f7 Unset fields if no nested fields are defined 2014-03-24 15:06:24 +01:00
Peter Mitchell 2009f88109 Make fetchSlice compatible with custom repo method
If a user configures query_builder_method for the doctrine provider, and
does not alias the root entity to equal Provider::ENTITY_ALIAS then a
DQL error will occur during index population.

> [Semantical Error] [...] near 'a.id ASC': Error: 'a' is not defined.

Provider::countObjects already handles this by dynamically fetching the
alias with QueryBuilder::getRootAliases, and Provider::fetchSlice should
be doing the same.

nb. "Provider" refers to FOS\ElasticaBundle\Doctrine\ORM\Provider
2014-03-19 08:40:58 -04:00
Tim Nagel 514e63f26f Merge pull request #496 from rayrigam/master
Add support for clients requiring basic HTTP authentication
2014-03-19 12:32:48 +11:00
Ray 4dc08cd006 Added notice about added support for HTTP headers. 2014-03-18 20:07:30 -04:30
Ray 41b347dfe4 Merge remote-tracking branch 'upstream/master'
Conflicts:
	Logger/ElasticaLogger.php
	README.md
2014-03-18 19:59:27 -04:30
rayrigam de70e78b53 Update Configuration.php
Updated to support any HTTP request header type in the "headers" section.
2014-03-18 18:14:03 -04:30
Tim Nagel babe20800e Updated changelog 2014-03-18 09:12:11 +11:00
Tim Nagel 7d13823488 Bump symfony requirement 2014-03-18 09:10:44 +11:00
Tim Nagel dc01b189ed Update CHANGELOG-3.0.md 2014-03-17 09:26:16 +11:00
Tim Nagel 5292a2adad Merge pull request #463 from FriendsOfSymfony/add-hotswapping-aliased-indexes-on-populate
Add support for using aliases to allow hot swapping of indexes.
2014-03-17 09:20:12 +11:00
Tim Nagel 49521e9fc4 Merge branch 'master' into add-hotswapping-aliased-indexes-on-populate
Conflicts:
	Resetter.php
2014-03-17 09:18:57 +11:00
Tim Nagel 857c1c8e48 Merge pull request #415 from nurikabe/master
Refactoring to update ElasticSearch index in postFush
2014-03-17 09:11:43 +11:00
Piotr Antosik 6a26c63b2c fix some block comment 2014-03-14 18:41:49 +01:00
Tim Nagel cdd6e3af45 Bump elastica version 2014-03-14 08:59:59 +11:00
Tim Nagel 6cd69ad131 Merge pull request #361 from xphere-forks/master
Add support for include_in_parent and include_in_root options
2014-03-14 08:53:42 +11:00
Tim Nagel 7cf8cd446f Merge pull request #501 from FriendsOfSymfony/reset-type-ignore-type-missing-exception
Ignore TypeMissingException when resetting a single type. This allows to...
2014-03-14 08:48:59 +11:00
Tim Nagel 6beafd23f1 Merge pull request #494 from bastnic/patch-1
[doc] inform about the override of Elastica logger
2014-03-14 08:44:06 +11:00
Tim Nagel da0abca38c Merge pull request #487 from XWB/logger-cleanup
ElasticaLogger cleanup
2014-03-14 08:43:42 +11:00
Tim Nagel 48edc195cd Merge pull request #484 from bits4breakfast/containeraware-callback
Container is now available in Callback
2014-03-14 08:41:15 +11:00
Lea Haensenberger 2f9896c893 Check for TypeMissingException anywhere in exception message 2014-03-13 10:45:57 +01:00
Lea Haensenberger 726892c586 Ignore TypeMissingException when resetting a single type. This allows to create new types without having to recreate the whole index. 2014-03-13 10:43:35 +01:00
Lukas Kahwe Smith 33f85bec22 Merge pull request #499 from mvrhov/patch-2
Fix wrong annotation
2014-03-11 15:18:36 +01:00
Miha Vrhovnik fe871c5ac4 Fix wrong annotation 2014-03-11 14:50:00 +01:00
Ray 0116a6ac4f Add support for clients requiring basic HTTP authentication 2014-03-06 12:38:23 -04:30
Berny Cantos 7f53badad5 Add support for include_in_{parent,root} for nested and objects 2014-03-06 12:31:50 +01:00
Bastien Jaillot a1f7449efc [doc] inform about the override of Elastica logger
Add a documentation related to this change: https://github.com/FriendsOfSymfony/FOSElasticaBundle/pull/395#issuecomment-27729759
2014-03-05 16:13:51 +01:00
Tim Nagel 245732781b Merge pull request #493 from tgallice/url_parameter_fix
Rework configuration validation to fix #461
2014-03-05 09:12:44 +11:00
tgallice 418b9d72ce Rework configuration validation to fix #461 2014-03-04 17:58:10 +01:00
Karel Souffriau 2b04f6cf34 ElasticaLogger cleanup 2014-02-25 11:05:26 +01:00
Matteo Galli eecdd3474a Fixes #459 2014-02-21 16:47:42 +01:00
Tim Nagel c8c72f5f0b Merge pull request #481 from XWB/abstract-provider-cleanup
AbstractProvider cleanup
2014-02-21 09:23:45 +11:00
Tim Nagel 6f8b3a5a0f Fix populate command option 2014-02-21 08:58:43 +11:00
Karel Souffriau 1c74f61b4e AbstractProvider cleanup 2014-02-20 12:57:10 +01:00
Tim Nagel b7d664c665 Merge pull request #480 from XWB/populate-command-hotfix
Fixed bug made in #479
2014-02-19 23:02:13 +11:00
Karel Souffriau 891dd51abe Fixed bug made in #479 2014-02-19 12:50:48 +01:00
Tim Nagel dd718c9a63 Merge pull request #479 from XWB/populate-command-fix
Tweak: use hasOption() in PopulateCommand instead of checking for booleans
2014-02-19 22:45:37 +11:00
Karel Souffriau 63cca11a0b Tweak: use hasOption() in PopulateCommand instead of checking for booleans 2014-02-19 12:43:44 +01:00
Tim Nagel 20b16d4f8c Merge pull request #478 from XWB/fix-tests
Fixes in "stop on error" feature
2014-02-19 22:40:47 +11:00
Karel Souffriau 44180793fc Add changelog file for 3.0 2014-02-19 12:36:39 +01:00
Karel Souffriau 41bf07ec59 Fixed issues in #426 2014-02-19 12:19:34 +01:00
Tim Nagel 5fff46cc60 Merge pull request #477 from XWB/cs-fix
CS fix in AbstractProvider
2014-02-19 20:13:26 +11:00