# |
Dec 6th 2019, 10:29 |
dereuromark |
md5 is probably the worst idea after plaintext :slightly_smiling_face: why not using the built in way of comparing it? |
# |
Dec 6th 2019, 10:26 |
conehead |
Would it be safe to save an md5 of the password? Or does anyone see any security risks in that? |
# |
Dec 6th 2019, 10:25 |
conehead |
Hmm is there a way to check if the password is equals to the last password? Was going to store the last used hashed password. But this differes every time :) I want to prevent the user to reuse passwords |
# |
Dec 6th 2019, 09:45 |
neon1024 |
Noel’s way sounds much much more complex |
# |
Dec 6th 2019, 09:45 |
neon1024 |
All I did was built a Vue.js application on top of a Cake api |
# |
Dec 6th 2019, 09:30 |
alexdd55976 |
did you guys do a stream on a collection somewhere |
# |
Dec 6th 2019, 09:27 |
noel |
@alex no, I made it up as far as I went. What I can tell you is that my general approach was to create a bake theme, with my own FormHelper and associated form helper templates and widgets and then a layout that creates the Vue object and attaches it to the HTML. Then I used `->fetch` to bring in various script blocks into that layout and the blocks were defined in the twig templates that are part of the bake theme. |
# |
Dec 6th 2019, 09:22 |
neon1024 |
https://docs.google.com/presentation/d/1bgilFVNRtvhp9KyCLVWMMKtlS-Q39rx07AXCOpf67G4/edit?usp=sharing |
# |
Dec 6th 2019, 09:22 |
neon1024 |
I noted some learning resources in my Cakefest slides |
# |
Dec 6th 2019, 09:16 |
alexdd55976 |
or sample code? |
# |
Dec 6th 2019, 09:16 |
alexdd55976 |
@neon1024 @noel any tutorials on the nodejs, vue, mongodb you can recommend? |
# |
Dec 6th 2019, 09:14 |
birdy247 |
@challgren I ended up just calling the job directly from the test |
# |
Dec 6th 2019, 09:09 |
alexdd55976 |
morning |
# |
Dec 6th 2019, 09:05 |
challgren |
Like the job running? |
# |
Dec 6th 2019, 09:02 |
birdy247 |
Has anyone else done this? |
# |
Dec 6th 2019, 09:01 |
birdy247 |
We are trying to unit test a job |
# |
Dec 6th 2019, 09:01 |
birdy247 |
I am use cake quesadilla in one of our project |
# |
Dec 6th 2019, 08:49 |
slackebot2 |
'logoutRedirect' => [ 'controller' => 'Pages', 'action' => 'display', 'home' ] ]); } public function beforeFilter(Event $event) { $this->Auth->allow(['index', 'view', 'display']); } //... }``` I solved thanks to your advice |
# |
Dec 6th 2019, 08:49 |
gianmarxgagliardi |
```// src/Controller/AppController.php namespace App\Controller; use Cake\Controller\Controller; use Cake\Event\Event; class AppController extends Controller { //... public function initialize() { $this->loadComponent('Flash'); $this->loadComponent('Auth', [ 'loginRedirect' => [ 'controller' => 'Articles', 'action' => 'index' ], |
# |
Dec 6th 2019, 08:47 |
gianmarxgagliardi |
morning |
# |
Dec 6th 2019, 08:06 |
rk.thedigifrog |
solution to get quick result in query builder inner join cakephp3. |
# |
Dec 6th 2019, 02:02 |
cnizzardini |
On Cake 3.7.9 anyone else notice this, perhaps after some recent package updates on ubuntu 18? |
# |
Dec 6th 2019, 02:01 |
cnizzardini |
Just started getting this: Warning (512): Cache engine Cake\Cache\Engine\RedisEngine is not properly configured. [CORE/src/Cache/Cache.php, line 179] |
# |
Dec 6th 2019, 00:24 |
nuzulfikrie |
if i go back to cake default template, it will behave as per configured |
# |
Dec 6th 2019, 00:24 |
nuzulfikrie |
Hi @jotpe. @challgren , that is precisely what i did, but something broke it up. |
# |
Dec 6th 2019, 00:15 |
challgren |
should be `/src/Template/CakeDC/Users/User/action.ctp` for example |
# |
Dec 6th 2019, 00:13 |
jotpe |
@nuzulfikrie If you want to override a Template by a Plugin you need to place the template files in your plugin folder (eg. `plugins/YOURPLUGIN/src/Template/x/x/file.ctp`) |
# |
Dec 6th 2019, 00:03 |
nuzulfikrie |
nothing much on the error log |
# |
Dec 6th 2019, 00:03 |
nuzulfikrie |
can js script ever interfere with cakephp view rendering? |
# |
Dec 6th 2019, 00:02 |
nuzulfikrie |
*Attempted change :* If revert back to default cakephp template, it behaves as expected. |
# |
Dec 6th 2019, 00:02 |
nuzulfikrie |
*What happened :* Cake continues render the file set in default.ctp |
# |
Dec 6th 2019, 00:02 |
nuzulfikrie |
hi support , I am using a custom template, of which i used to override the default 'default.ctp' . *Expected result.* CakePHP should override the view by rendering from /src/Template/Plugin/x/x/file.ctp. |
# |
Dec 5th 2019, 21:53 |
storkovo |
@fhxfhx if this app doesnt use auth then cakephp 1.3 will not return 403 for unprotected page, it could be webserver misconfiguration |
# |
Dec 5th 2019, 21:50 |
fhxfhx |
k tx |
# |
Dec 5th 2019, 21:49 |
storkovo |
there should be something in error.log even with debug 0 |
# |
Dec 5th 2019, 21:48 |
storkovo |
@fhxfhx set debug to 2, and read logs |
# |
Dec 5th 2019, 21:48 |
fhxfhx |
any debug tip ? |
# |
Dec 5th 2019, 21:47 |
storkovo |
if so, read app/tom/logs/* |
# |
Dec 5th 2019, 21:47 |
storkovo |
@fhxfhx /app/tmp and subfolders writable? debug 2? |
# |
Dec 5th 2019, 21:44 |
challgren |
Yeah but people that know Cake 1.3.6 is probably very slim |
# |
Dec 5th 2019, 21:43 |
fhxfhx |
anyone here ? |