# |
Jun 20th 2019, 07:49 |
admad |
it fails even basic email string format matching, doesn't even need MX checking |
# |
Jun 20th 2019, 07:49 |
admad |
It's pretty obvious that `dsf564dsf2gmail.com` is an invalid email |
# |
Jun 20th 2019, 07:47 |
rohit.onus |
ok I'll check it.. |
# |
Jun 20th 2019, 07:45 |
rohit.onus |
No, i.e. If i send 5 mail than it will work perfect.. And all other email are also valid |
# |
Jun 20th 2019, 07:44 |
neon1024 |
Cake provides an email validation rule, with MX checking |
# |
Jun 20th 2019, 07:44 |
neon1024 |
Validate your email addresses before you send |
# |
Jun 20th 2019, 07:44 |
neon1024 |
Invalid email |
# |
Jun 20th 2019, 07:42 |
rohit.onus |
Hello, I'm sending bulk email using *CakeEmail*, I have 51 user to send mail at a time, But it gives error *Invalid email: dsf564dsf2gmail.com* |
# |
Jun 20th 2019, 01:51 |
challgren |
CakePHP 3.7.9 is out https://github.com/cakephp/cakephp/releases/tag/3.7.9 |
# |
Jun 19th 2019, 20:58 |
rightscoreanalysis |
but no info in the book |
# |
Jun 19th 2019, 20:58 |
rightscoreanalysis |
I am guessing I need to do something in the paginator template |
# |
Jun 19th 2019, 20:58 |
rightscoreanalysis |
the div is closed and the numbers are rendered outside of the div |
# |
Jun 19th 2019, 20:58 |
rightscoreanalysis |
<div class="pagination"> <?= $this->Paginator->options();?> </div> |
# |
Jun 19th 2019, 20:58 |
rightscoreanalysis |
for example this doe snot work |
# |
Jun 19th 2019, 20:58 |
rightscoreanalysis |
anyone know how I can wrap my paginated number list in a div |
# |
Jun 19th 2019, 19:29 |
chris-andre |
@challgren Thanks :slightly_smiling_face: @steinkel I will have I read. Was looking for some article earlier. |
# |
Jun 19th 2019, 19:22 |
challgren |
O_o thats new to me! |
# |
Jun 19th 2019, 19:21 |
steinkel |
@chris-andre @challgren check https://transloadit.com/ for a piece of the cake they do it for you, allowing you to upload the file directly to the cloud |
# |
Jun 19th 2019, 19:21 |
challgren |
The 2 plugins I posted are great |
# |
Jun 19th 2019, 19:20 |
challgren |
Yep |
# |
Jun 19th 2019, 19:20 |
chris-andre |
I will probably go for local storage for this app, but basicly 1. Upload image 2. Queue processes image 3. Queue update image paths |
# |
Jun 19th 2019, 19:18 |
challgren |
https://github.com/FriendsOfCake/cakephp-upload |
# |
Jun 19th 2019, 19:16 |
challgren |
And once the image is uploaded I then create another queue job set for 10 minutes in the future to delete the original image off the local server. That way if anyone has cached locations they can still use the image |
# |
Jun 19th 2019, 19:15 |
challgren |
User -> Server -> AWS |
# |
Jun 19th 2019, 19:14 |
challgren |
So how I have my app configured is the user uploads their image and a job is created. The user sees the image once its uploaded in its original format, then in the background the queue is handling the resize and uploading to AWS. Once thats done it updates the entity with the updated (AWS) location. and then if a user retrieves that entity the new info is provided and the image is updated |
# |
Jun 19th 2019, 19:12 |
challgren |
So every 20 seconds or however you config it, the queue process will look for jobs to do. |
# |
Jun 19th 2019, 19:12 |
challgren |
https://github.com/dereuromark/cakephp-queue runs as a background process on your host |
# |
Jun 19th 2019, 19:09 |
chris-andre |
Right, good point. Thanks. But, I don't know/understand, how can an image be uploaded after user "has left"? I mean, somehow the image must be available for the application. |
# |
Jun 19th 2019, 19:05 |
challgren |
Plus for the user with a big picture and slow internet, they aren’t getting timeouts due to processing the image |
# |
Jun 19th 2019, 19:04 |
challgren |
For example resizing/rotating gifs will take a while due to having to work on each frame individually so you don’t want that slowing down the user |
# |
Jun 19th 2019, 19:03 |
challgren |
then the CakePHP-Queue runner comes along grabs the file checks the exif data and then rotates and then resizes and then uploads |
# |
Jun 19th 2019, 19:02 |
challgren |
Yes, so I use CakePHP-upload and in the background I fix the exif rotation and then resize and then upload all in the background. When the user first uploads its stored locally |
# |
Jun 19th 2019, 19:01 |
chris-andre |
@challgren thats a valid alternative. The one you would go with? |
# |
Jun 19th 2019, 19:01 |
kiwi_17 |
https://ipfinder.io/ |
# |
Jun 19th 2019, 19:01 |
kiwi_17 |
and thank you so much |
# |
Jun 19th 2019, 19:01 |
kiwi_17 |
i want to start a project with phpcake for my company |
# |
Jun 19th 2019, 19:00 |
kiwi_17 |
hI guys |
# |
Jun 19th 2019, 19:00 |
challgren |
3. Orientate image in background queue |
# |
Jun 19th 2019, 18:48 |
chris-andre |
Image upload - image oriantation - Does anyone have a tip/thought about which option is the best? 1. Orientate image in storing process, or 2. Orientate image on print/echo |
# |
Jun 19th 2019, 18:37 |
admad |
$import is only for importing schema, not records |
# |
Jun 19th 2019, 18:37 |
admad |
@kailas https://book.cakephp.org/3.0/en/development/testing.html#importing-table-information |