# |
Oct 8th 2016, 00:30 |
slackebot |
='.$this->Auth->User('distributor_id').' OR distributor_id=90 AND Events.start_date >= NOW()']); ``` |
# |
Oct 8th 2016, 00:30 |
ra7bi |
why this query is not working ``` //Change Search method to ParticipantSearch $this->Participants->behaviors()->get('Search')->config('searchConfigMethod', 'ParticipantSearch'); // How i can swtich between two search function here ? $query = $this->Participants->find('search', ['search' => $this->request->query])->contain(['Distributors', 'Events']); $query->where(['distributor_id |
# |
Oct 8th 2016, 00:30 |
ra7bi |
hello |
# |
Oct 7th 2016, 22:48 |
jeremyharris |
one last note: browsing to the plugin asset directly (/supervisor/js/supervisor.js) serves up the asset. It seems the AssetFilter is getting the stamped version somehow |
# |
Oct 7th 2016, 22:46 |
jeremyharris |
hereâ??s a gist of the entire rewrite process for the plugin (â??supervisorâ?) asset. You can see it gets rewritten correctly and goes all the way into the index file: https://gist.github.com/jeremyharris/cf60cb8e65f722388cca9618b763b6d5 |
# |
Oct 7th 2016, 22:41 |
slackebot |
AssetFilter and it seems to get the version stamped one for the plugin, despite being re-written according to the logs |
# |
Oct 7th 2016, 22:41 |
jeremyharris |
hey guys, Iâ??m debugging a htaccess/plugin issue and am at my limit. Basically, Iâ??m rewriting assets to something like `/css/styles.1234.css`, plugin the same, `/plugin/css/style.1234.css`. The rewrite rule runs successfully, loading the app style.css correctly. However, it doesnâ??t load the plugin on correctly (although debugging rewrite I follow the process and it gets rewritten/passed to index correctly). Any further debugging tip |
# |
Oct 7th 2016, 22:28 |
ceeram |
congrats |
# |
Oct 7th 2016, 22:22 |
moose517 |
i just landed my first official job as a web developer \o/ |
# |
Oct 7th 2016, 20:58 |
inoas |
or the netsplit is bad |
# |
Oct 7th 2016, 20:50 |
ankr |
The bakery seems quiet tonight. |
# |
Oct 7th 2016, 19:56 |
inoas |
like via controller->set()? |
# |
Oct 7th 2016, 19:56 |
inoas |
any way to set/assign variables from Crud Actions |
# |
Oct 7th 2016, 19:31 |
shealyw2 |
are the configuration options cached? |
# |
Oct 7th 2016, 19:06 |
mikatone |
*options |
# |
Oct 7th 2016, 19:06 |
mikatone |
where can i get the option list supported by orm get method ? |
# |
Oct 7th 2016, 18:34 |
inoas |
debug($this->_View->request->controller); |
# |
Oct 7th 2016, 18:31 |
inoas |
hm _View |
# |
Oct 7th 2016, 18:30 |
inoas |
inside a helper, how to get the controller name or view object? |
# |
Oct 7th 2016, 18:07 |
nemmons |
@julez in that case your usage of SessionComponent look fine to me. What precisely isn't working? |
# |
Oct 7th 2016, 17:55 |
slackebot |
Action: admad yawns |
# |
Oct 7th 2016, 17:03 |
doonot |
I have a strange problem when trying to test my CakePHP 3 app. When I start unit tests, some methods like beforeEvent() from the AppController are accessing the normal DB and not de test DB. Is this supposed to be like that? |
# |
Oct 7th 2016, 16:40 |
nemmons |
julez which version of cake |
# |
Oct 7th 2016, 15:52 |
asdfXXasdf |
Neon1024: Authentication locally, authorization with OAuth by remote calls? |
# |
Oct 7th 2016, 15:52 |
asdfXXasdf |
Neon1024: What do you mean with locally? |
# |
Oct 7th 2016, 15:47 |
Neon1024 |
Oh I see, I would manage that locally :) |
# |
Oct 7th 2016, 15:43 |
asdfXXasdf |
Neon1024: I think OAuth only supports Authorization, not Authentication... That's why I want to use OpenID ;-) |
# |
Oct 7th 2016, 15:42 |
Neon1024 |
Iz gud. |
# |
Oct 7th 2016, 15:42 |
Neon1024 |
OAuth2 |
# |
Oct 7th 2016, 15:42 |
Neon1024 |
Then use OAuth |
# |
Oct 7th 2016, 15:41 |
asdfXXasdf |
Neon1024: Probably not. I just want to use my own OpenID service with hybridauth as a client. |
# |
Oct 7th 2016, 15:41 |
Neon1024 |
Or perhaps Iâ??m thinking of OAuth? |
# |
Oct 7th 2016, 15:41 |
Neon1024 |
There are probably more adapters than youâ??d need |
# |
Oct 7th 2016, 15:41 |
Neon1024 |
Iirc |
# |
Oct 7th 2016, 15:41 |
Neon1024 |
It supports OpenID already |
# |
Oct 7th 2016, 15:41 |
Neon1024 |
asdfXXasdf: You read right, but incorrectly |
# |
Oct 7th 2016, 15:40 |
asdfXXasdf |
I read that hybridauth supports only specific providers. Does anybody know how to implement an additional OpenID provider? |
# |
Oct 7th 2016, 15:24 |
dakota |
0.9.9 is a very old version |
# |
Oct 7th 2016, 15:17 |
rchavik |
but recent ones should be headless and does not need xvfb afaik |
# |
Oct 7th 2016, 15:17 |
maikh |
yes, im reading... |
# |
Oct 7th 2016, 15:17 |
rchavik |
maikh, http://stackoverflow.com/questions/9604625/wkhtmltopdf-cannot-connect-to-x-server |