Commit Graph

3220 Commits

Author SHA1 Message Date
Benoît Burnichon
932ab09dc0 Remove some possible SQL injections by using IN (:parameter) prepared statements 2015-03-12 15:08:24 +01:00
Benoît Burnichon
51a3ff25b5 Change string to array parameter to prevent SQL injections 2015-03-12 15:08:24 +01:00
Benoît Burnichon
565a3af9ce Fixup test of ConfigurationServiceProvider. 2015-03-12 14:40:54 +01:00
Benoît Burnichon
86cc3550ee in_array should use strict mode for integer checks 2015-03-12 14:40:54 +01:00
Nicolas Le Goff
95f6c9a366 Merge pull request #1289 from nlegoff/more-fix-39
[3.9] More tests fix
2015-03-12 13:28:23 +01:00
Nicolas Le Goff
743dda54b6 Merge pull request #1291 from mdarse/query-and-operator
Use conjonction for coalesced words in text nodes
2015-03-12 13:28:13 +01:00
Mathieu Darse
99e61d6368 Use conjonction for coalesced words in text nodes 2015-03-12 11:41:19 +01:00
Nicolas Le Goff
24036bf4ed Fix some tests 2015-03-11 21:50:36 +01:00
Nicolas Le Goff
b536c7ae59 Remove unused function 2015-03-11 21:50:36 +01:00
Nicolas Le Goff
3115729da4 Deprecate client 2015-03-11 21:50:36 +01:00
Nicolas Le Goff
d5a56165a2 Fix search route tests 2015-03-11 21:50:36 +01:00
Nicolas Le Goff
61e9c6f215 Index record en search engine 2015-03-11 21:50:36 +01:00
Nicolas Le Goff
ae26a9563f Merge pull request #1285 from mdarse/es-bulk-throw-error
Throw on failing bulk operation item
2015-03-11 21:11:17 +01:00
Mathieu Darse
3974e24888 Fix indexing issue after first candidate term in a new field 2015-03-11 17:10:20 +01:00
Mathieu Darse
4d7ea8debb Throw on failing bulk operation item 2015-03-11 17:06:51 +01:00
Benoît Burnichon
118bb2f03c Some fixup for ES instance 2015-03-11 15:22:20 +01:00
Mathieu Darse
63eaaf1596 Merge remote-tracking branch 'upstream/master' into elastic-indexer
Conflicts:
	composer.lock
	www/scripts/apps/admin/main/app.js
2015-03-10 15:25:20 +01:00
Mathieu Darse
400ecad8e6 Use thesaurus bulk API for indexing 2015-03-10 14:53:32 +01:00
Mathieu Darse
89c23ec4ae Resolve indexing performance issues with candidate terms 2015-03-10 14:53:32 +01:00
Nicolas Le Goff
ed3ffb59a6 Merge remote-tracking branch 'upstream/master' into 20150306-elastic-indexer
Conflicts:
	bin/console
	bower.json
	composer.json
	composer.lock
	lib/Alchemy/Phrasea/Application.php
	lib/Alchemy/Phrasea/Border/Manager.php
	lib/Alchemy/Phrasea/Controller/Api/V1.php
	lib/Alchemy/Phrasea/Core/PhraseaEvents.php
	lib/Alchemy/Phrasea/SearchEngine/SearchEngineOptions.php
	lib/classes/caption/field.php
	lib/classes/record/Interface.php
	templates/web/prod/index.html.twig
	www/skins/prod/000000/prodcolor.css
2015-03-10 14:36:31 +01:00
Mathieu Darse
bcff55962c Merge pull request #32 from nlegoff/pr-facets
Add dynamic facets query & take care of ACL for business fields
2015-03-10 12:03:34 +01:00
Mathieu Darse
3599b05950 Some tidying / cleanup 2015-03-10 12:02:24 +01:00
Mathieu Darse
d5137bcd11 Merge pull request #36 from nlegoff/fix-use
Fix use statement
2015-03-10 11:57:44 +01:00
Nicolas Le Goff
42a21e8e7d Merge pull request #1277 from nlegoff/locale39
[3.9] Fix locales extraction
2015-03-10 11:56:29 +01:00
Mathieu Darse
5d3f8b3123 Merge pull request #35 from nlegoff/poplate-by-database
Add possibilty to explicitely set database to populate
2015-03-10 11:55:10 +01:00
Mathieu Darse
e889d19b7d Filter databoxes earlier (in Indexer) and databox id error handling 2015-03-10 11:52:30 +01:00
Nicolas Le Goff
4999173467 Merge pull request #1273 from nlegoff/remove-ws
[3.9] Remove Websockets dependencies
2015-03-10 11:05:47 +01:00
Nicolas Le Goff
9ee42e44fe Fix locales extraction 2015-03-10 10:26:06 +01:00
Nicolas Le Goff
bd4836aaa7 Remove Websockets dependencies 2015-03-10 09:55:43 +01:00
Nicolas Le Goff
09a2224cdd Merge pull request #1274 from nlegoff/fix-gh-1271
[3.9] Fix #1271 Can not add user trough validation process
2015-03-10 09:50:49 +01:00
Nicolas Le Goff
3f6bb70b57 Fix #1271 Can not add user trough validation process 2015-03-09 20:35:09 +01:00
Nicolas Le Goff
c8e7bc1633 Merge pull request #1257 from nlegoff/compat-mysql-strict-mode
[3.9] Fix strict mode sql issue
2015-03-06 18:49:18 +01:00
Nicolas Le Goff
0d239e1acb Merge pull request #1265 from bburnichon/feature/install-fixes
Add connection test. Currently, returns false in all cases.
2015-03-06 18:49:09 +01:00
Nicolas Le Goff
86585fef76 Fix patch migration 2015-03-06 13:09:37 +01:00
Nicolas Le Goff
2c2915e58b Fix doctrine schema 2015-03-06 12:51:11 +01:00
Nicolas Le Goff
2c4c1f35fd Set default value 2015-03-06 12:35:18 +01:00
Nicolas Le Goff
5a55732b46 Fix strict mode sql issue 2015-03-06 12:35:18 +01:00
Benoît Burnichon
fa2dd4af65 Add connection test. Currently, returns false in all cases. 2015-03-05 17:53:20 +01:00
Mathieu Darse
ac42daa062 Fill candidate terms while indexing 2015-03-05 14:49:26 +01:00
Nicolas Le Goff
17681fdb32 Merge pull request #1263 from bburnichon/feature/fix-build
Properly Retrieve LazaretFile repo. Update LazaretTests
2015-03-04 20:10:24 +01:00
Benoît Burnichon
c7fb23d28c Properly Retrieve LazaretFile repo. Update LazaretTests 2015-03-04 19:33:20 +01:00
Benoît Burnichon
1d6d0ab82f DatabaseHelper does not try to connect twice. 2015-03-04 18:50:47 +01:00
Mathieu Darse
fadf0abd90 Remove QueryContext fields prefixing (only used on term nodes) 2015-03-03 19:02:32 +01:00
Mathieu Darse
32293a9b84 Strict option on concept finding command 2015-03-03 18:58:31 +01:00
Benoît Burnichon
bfabecc1ad Fix phraseanet install (generate ORM proxies) 2015-03-03 18:56:10 +01:00
Mathieu Darse
c917c7f952 Thesaurus matching while indexing records
- Add a new hydrator to ask query thesaurus on the fly
- Add a filtering system on thesaurus
- And a databox filter friend
2015-03-03 18:50:34 +01:00
Nicolas Le Goff
6ddff1923e Fix use stmt 2015-02-27 16:24:19 +01:00
Nicolas Le Goff
4daf40029a Add possibilty to explicitely set database to populate 2015-02-27 16:23:26 +01:00
Nicolas Le Goff
709af5bba0 Optim 2015-02-27 16:09:10 +01:00
Nicolas Le Goff
2924d8f29f Fix mount database 2015-02-27 16:08:53 +01:00