# |
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 |
# |
Oct 6th 2016, 14:49 |
dereuromark |
and I can confirm it is passed to the adapter all the way like this |
# |
Oct 6th 2016, 14:48 |
dereuromark |
I get "?error=redirect_uri_mismatchanderror_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application" though but the domain matches both in github and local setup (http://app.local/account/login) |
# |
Oct 6th 2016, 14:42 |
dereuromark |
You need sth like ``` 'wrapper' => [ 'path' => ..., 'class' => 'Hybrid_Providers_GitHub' ] ``` |
# |
Oct 6th 2016, 14:41 |
dereuromark |
;) I was too focused on trying to get the github thing to work, it is not trivial |
# |
Oct 6th 2016, 14:40 |
admad |
well you didn't follow the readme :slightly_smiling_face: Don't load the plugin's bootstrap if you don't want to use separate config file |
# |
Oct 6th 2016, 14:33 |
dereuromark |
I have it in config default and bootstrap overloads it |