Commit Graph

11 Commits

Author SHA1 Message Date
jygaulier
595be077c4 PHRAS-3671_slow_share_basket_worker (#4013)
* PHRAS-3671_slow_share_basket_worker
remove doctrine transaction
optim acl
prefetch records
gc_collect

* PHRAS-3671_slow_share_basket_worker
fasten lightbox by:
- don't create votes if not necessary
- remove useless join on dql
- add restricting criteria on left join dql
- prevent multiple calls to same fct (in twig)

* don't create votes during share-worker

* DEBUG : traces in tmp/ (default sql "replace" acl)

* PHRAS-3677 include "not-voted" in wz/baskets
2022-05-17 11:51:10 +02:00
Jean-Yves Gaulier
a8c19de4d3 PHRAS-2927_optimize-feedback-process_4.1
add route "lightbox/ajax/GET_ELEMENTS/{{basket_id}}/" to get counts of elements validated as "yes", "no" or "nul".
Will allow front to display alert before submitting
2020-02-13 18:22:54 +01:00
Benoît Burnichon
51023c5533 bump copyright year 2016-01-05 13:38:14 +01:00
Benoît Burnichon
4880f2bf5a Add getAuthenticator usage
Replace $app['authentication']->getUser() by $app->getAuthenticatedUser()
replace twig app['authentication'].getUser() with corresponding method
2015-07-02 12:33:18 +02:00
Benoît Burnichon
e25cd4097c Change DispatcherAware to accept concrete instances
Dispatcher is already instanciated when invoking controller. So useless to lazy load it.
2015-05-14 21:06:39 +02:00
Benoît Burnichon
634f5366ae use DispatcherAware wherever possible 2015-05-12 17:15:11 +02:00
Benoît Burnichon
554239d366 Add ControllerProviderTrait
Ease writing of controller providers and reduce duplication
2015-04-30 21:27:59 +02:00
Benoît Burnichon
10a655e294 DataboxesController Refactor, CS fixup 2015-04-02 10:50:51 +02:00
Benoît Burnichon
054195d3c0 Finish Lightbox Controller 2015-03-30 14:41:15 +02:00
Benoît Burnichon
bcf59c560d Partial LightboxController refactor 2015-03-27 19:13:07 +01:00
Benoît Burnichon
1342756b84 Rename Controller to ControllerProvider 2015-03-27 12:55:43 +01:00