# |
Oct 6th 2016, 16:04 |
hmic |
so as i said: basically replace the cake folder with the new one and give it a shot |
# |
Oct 6th 2016, 16:04 |
hmic |
additionally this sentence, the first one of the migration guide: "CakePHP 2.5 is a fully API compatible upgrade from 2.4" |
# |
Oct 6th 2016, 16:03 |
hmic |
just run your testsuite |
# |
Oct 6th 2016, 16:02 |
hmic |
you should really give it a try and dont hide after the unknown codebase and size - and time constraits and so on :p |
# |
Oct 6th 2016, 16:01 |
hmic |
as you can see, its quite good. it tells about things that have changed and are common pitfalls to look out for and about new things that might be handy too |
# |
Oct 6th 2016, 16:01 |
hmic |
follow the things mentioned in there. then go on till you hit a problem |
# |
Oct 6th 2016, 16:00 |
hmic |
thats it. you start with 2.4 -> 2.5 of course |
# |
Oct 6th 2016, 16:00 |
hmic |
there is actually! |
# |
Oct 6th 2016, 15:59 |
Neon1024 |
Hah |
# |
Oct 6th 2016, 15:58 |
hmic |
if you want it upgraded faster, tell me the url, i'd see if a known security vulnarablity makes your decision makers want to upgrade it :p |
# |
Oct 6th 2016, 15:57 |
hmic |
not that this would be enough :p but its far better then the 2.4 thing already |
# |
Oct 6th 2016, 15:57 |
hmic |
upgrade to 2.6 should be a drop-in, really! |
# |
Oct 6th 2016, 15:56 |
hmic |
2.6 should be just a drop-in upgrade. from there you might get the one or the other warning of things you need to fix actually |
# |
Oct 6th 2016, 15:55 |
hmic |
upgrade! |
# |
Oct 6th 2016, 15:54 |
hmic |
still: i'd just render the email element instead! |
# |
Oct 6th 2016, 15:54 |
hmic |
just assign it to a viewvar to render in the view later! |
# |
Oct 6th 2016, 15:54 |
hmic |
so you've got the html and text data in the array - hurray! |
# |
Oct 6th 2016, 15:52 |
hmic |
dont create the actual email at all! just render the email element inside your "preview" view |
# |
Oct 6th 2016, 15:52 |
hmic |
you can quite easily render the email element in any view, if you set the same viewvars before! |
# |
Oct 6th 2016, 15:50 |
hmic |
you *cannot* easily extract this of the already ready to send mail with a custom transport anymore! |
# |
Oct 6th 2016, 15:50 |
dereuromark |
@admad Almost perfectly working, after logout I always need to flush the profiles table, though: $this->Users->SocialProfiles->deleteAll(['user_id' => $this->Auth->user('id')]); Otherwise re-login fails |
# |
Oct 6th 2016, 15:49 |
hmic |
so in case of your email, if you render the html element, you get this in return. just set it as a viewvar |
# |
Oct 6th 2016, 15:49 |
hmic |
julez, if you render a view, it will return you exactly that. - the rendered view! |
# |
Oct 6th 2016, 15:48 |
hmic |
why dont you upgrade this ancient version to a decent 2.x release? |
# |
Oct 6th 2016, 15:09 |
dereuromark |
Most answers are given looking at the awesome list :slightly_smiling_face: |
# |
Oct 6th 2016, 15:07 |
titans |
thanks |
# |
Oct 6th 2016, 15:06 |
dakota |
specifically https://github.com/markstory/asset_compress |
# |
Oct 6th 2016, 15:06 |
dakota |
titans, https://github.com/friendsofcake/awesome-cakephp#asset-management |
# |
Oct 6th 2016, 15:00 |
mikatone |
I see dereuromark https://github.com/dereuromark/cakephp-queue |
# |
Oct 6th 2016, 14:59 |
titans |
I mean what is the best plugin for doing that |
# |
Oct 6th 2016, 14:59 |
titans |
Is There a solution to minify + obfuscate js files ? |
# |
Oct 6th 2016, 14:58 |
titans |
Hi guys |
# |
Oct 6th 2016, 14:58 |
mikatone |
can i trigger shell command tcpdump from cakephp without exec ? |
# |
Oct 6th 2016, 14:57 |
dereuromark |
either way you want to trigger it async via shell, should not be sync from browser |
# |
Oct 6th 2016, 14:57 |
mikatone |
hum that would be nice |
# |
Oct 6th 2016, 14:57 |
dereuromark |
haha, yeah if you want that shell, you can also steal the idea of how to invoke mysqldump command and build in manually |
# |
Oct 6th 2016, 14:56 |
mikatone |
i'm using cakephp 3 already do I have to assume I still have to upgrade DbDump version? |
# |
Oct 6th 2016, 14:56 |
dereuromark |
Then you can also implement a restore button, at your own risk :P |
# |
Oct 6th 2016, 14:55 |
dereuromark |
You upgrade my DbDump shell from 2.x to 3.x and then trigger that, ideally from a Queue :slightly_smiling_face: done |
# |
Oct 6th 2016, 14:55 |
mikatone |
any ideia? |
# |
Oct 6th 2016, 14:53 |
mikatone |
Hi, my client has requested a "button" in order to backup the entire database! I can't argue with... but I haven't any knowledge on how to do it from frontend with cakephp 3 |