# |
Apr 25th 2019, 11:07 |
neon1024 |
I guess it all depends how much functionality you want to implement, how much time you have and what your budget is if there is one |
# |
Apr 25th 2019, 11:06 |
neon1024 |
Perhaps you’d need to use like a remember me cookie for that |
# |
Apr 25th 2019, 11:06 |
neon1024 |
As if I logged in, and the login method marked my user as logged in, if I close the browser I’d lose my session |
# |
Apr 25th 2019, 11:05 |
neon1024 |
As it would make logging out more important, and it would also mean session resumption would be an issue |
# |
Apr 25th 2019, 11:05 |
neon1024 |
..but I’d be a bit worried about how to log someone out |
# |
Apr 25th 2019, 11:05 |
neon1024 |
You’d have to store something in persistant storage for me |
# |
Apr 25th 2019, 11:02 |
thomas078 |
What is the easiest way to prevent same username to log in multiple times 2 at same time? |
# |
Apr 25th 2019, 10:05 |
egalles |
thx i was turning mad :) |
# |
Apr 25th 2019, 10:03 |
egalles |
ok i see $this->Flash->info(sprintf('<b>%s</b> %s', h($highlight), h($message)), ['escape' => false]); |
# |
Apr 25th 2019, 10:03 |
egalles |
maybe this ? $this->Flash->error('your_text'. <a href="'your_url"></a>',"escape=>false"); ? |
# |
Apr 25th 2019, 10:01 |
dereuromark |
any HTML is then possible |
# |
Apr 25th 2019, 10:01 |
dereuromark |
escape=>false |
# |
Apr 25th 2019, 10:01 |
egalles |
Hi everybody, is there a way to put a link in a flash message ? |
# |
Apr 25th 2019, 09:54 |
uwe.flaig |
@dereuromark thanks a bunch! |
# |
Apr 25th 2019, 09:05 |
dereuromark |
if you configure it you can retain the old % behavior/usage. |
# |
Apr 25th 2019, 09:05 |
dereuromark |
I think it comes from aura/intl dependency: https://github.com/cakephp/cakephp/blob/master/composer.json#L35 |
# |
Apr 25th 2019, 09:03 |
martin |
@uwe.flaig when I check the internet is is used by multiple things, not only by cakephp, but don’t know if it is a part of the standard |
# |
Apr 25th 2019, 08:58 |
dereuromark |
but we recently changed the default to not cache at all, since this is often not necessary |
# |
Apr 25th 2019, 08:57 |
dereuromark |
they dont cache, should be more the other way around if anything |
# |
Apr 25th 2019, 08:57 |
uwe.flaig |
https://en.wikipedia.org/wiki/Gettext but as far as I can see cakephp 3.x replaced the %s placeholders with curly brackets "{0}" Is this part of the gettext standard? Am I missing something? The wiki article is not mentioning curly brackets in any shape or form |
# |
Apr 25th 2019, 08:57 |
martin |
Why do routes cache when debug is enabled? :P |
# |
Apr 25th 2019, 08:55 |
uwe.flaig |
Hello there! I have a question about cakephp 3.x localization https://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html#language-files Cakephp is using the gettext standard |
# |
Apr 25th 2019, 07:47 |
charolastra |
dunno, seems like it |
# |
Apr 25th 2019, 07:46 |
neon1024 |
Morning all :wave: |
# |
Apr 25th 2019, 07:46 |
neon1024 |
I guess your routes were cached then right? |
# |
Apr 25th 2019, 07:46 |
neon1024 |
Super! |
# |
Apr 25th 2019, 07:45 |
charolastra |
neon1024: yesterday we talked about CSRF middleware. the InvalidCsrfTokenException disapeared after cleaning the tmp folder |
# |
Apr 25th 2019, 06:35 |
admad |
@kgb.acct.personal add a comment to the issue @kuokkanen_sampo_aleks opened :slightly_smiling_face: |
# |
Apr 25th 2019, 06:28 |
kgb.acct.personal |
I think it also applies to the company section. |
# |
Apr 25th 2019, 06:16 |
kuokkanen_sampo_aleks |
@admad Just opened an issue there: https://github.com/cakephp/cakephp.org/issues/125 |
# |
Apr 25th 2019, 05:33 |
admad |
@kuokkanen_sampo_aleks could you please open an issue here https://github.com/cakephp/cakephp.org |
# |
Apr 25th 2019, 05:33 |
admad |
@megan ^ |
# |
Apr 25th 2019, 05:19 |
kuokkanen_sampo_aleks |
This is not really that important, but does anyone know why the CakePHP site has light grey text on white? It's pretty hard to read. |
# |
Apr 25th 2019, 02:42 |
testdarl |
hahah |
# |
Apr 25th 2019, 02:42 |
Ramram |
kalibangon ka? |
# |
Apr 25th 2019, 02:42 |
Ramram |
hi testdarl |
# |
Apr 25th 2019, 02:42 |
testdarl |
test only by darl |
# |
Apr 25th 2019, 02:36 |
Ramil |
hi all |
# |
Apr 25th 2019, 02:23 |
voycey |
We just pass in the config when running with: `vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-html webroot/coverage` |
# |
Apr 25th 2019, 02:22 |
voycey |
@cnizzardini You shoudlnt have to - what is your phpunit command? |
# |
Apr 25th 2019, 00:11 |
cnizzardini |
i guess the simple answer is just add a step to the build to copy the file, seems jenky x) but okay |