Re: [mezzanine-users] Images, mobile devices and Mezzanine

2015-03-30 Thread Josh Cartmell
a) no, they look good on the iPhone because they are being resized by css,
so it's just the browser rendering a larger image smaller
b) potentially more customization or easier logic separation between
mobile/desktop, realistically I wouldn't recommend using them as responsive
websites seem to be becoming the industry standard
c) I would say yes

Good luck!

On Sun, Mar 29, 2015 at 8:08 PM, Graham Oliver greenbay.gra...@gmail.com
wrote:

 I am confused as to how to go about making a Mezzanine web site I am
 developing work well with mobile devices (especially images).

 Initially I thought that I had to use Mobile templates, but I have noticed
 that, for example, with a bootstrap Carousel on the home page (with large
 images), it looks fine on an IPhone (the images are automatically shrunk).

 So, some questions if I may...

 a) Does Mezzanine automatically serve smaller images when a mobile device
 accesses a web page? If so, is this a feature of Django, Mezzanine or
 Bootstrap? Can you point me in the direction of the code...
 b) What would the advantages and disadvantages be of using the Mobile
 templates?
 c) Should I only ever have one copy of an image stored and rely on the
 software to do the resizing? (I am guessing yes)

 Thanks
 G

 --
 You received this message because you are subscribed to the Google Groups
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to mezzanine-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Problems About sending mail(Account Approval)

2015-03-30 Thread Josh Cartmell
If that snippet of code is really wrapped in ''' then you have essentially
made it a comment.  Maybe try removing those?

On Sun, Mar 29, 2015 at 9:59 PM, 传承 ppcc0...@gmail.com wrote:

 I want to use the function of account approval

 I config as follow
 '''
 ACCOUNTS_APPROVAL_REQUIRED = true
 EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
 EMAIL_HOST = 'smtp.qq.com'
 EMAIL_PORT = 25
 EMAIL_HOST_USER='1234567'
 EMAIL_HOST_PASSWORD='abcdefg'

 DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
 EMAIL_USE_TLS = True
 '''

 But when I runserver on localhost(127..) and set up an account,the 
 EMAIL_HOST_USER
 mailbox can't receive the mail.

 I attempt to call send_mail_template on shell,but nothing happened.
 Where is the problem?


  --
 You received this message because you are subscribed to the Google Groups
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to mezzanine-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Re: Mezzanine 3.1.10: Can't delete the media files in the admin page

2015-03-30 Thread Graham Oliver
Just ignorance on my part Mathias
I thought in my head 'I am searching the *total* Mezzanine code base', when
in fact I neglected to include the other parts such as filebrowser_safe.
Thanks for the heads up.
g

On 31 March 2015 at 00:38, Mathias Ettinger mathias.ettin...@gmail.com
wrote:

 Why searching for a filebrowser_safe issue in the mezzanine code base?

 The issue is thrown by the delete function in filebrowser_safe.views but
 there are 2 possible situations that can lead to this message. Either the
 path of the file failed to be normalized or the OS failed to delete the
 file properly.

 Can you modify the error messages of the views.py file of filebrowser_safe
 so we know which one is occuring?


 Le vendredi 27 mars 2015 07:47:29 UTC+1, Graham Oliver a écrit :

 yes I was just wondering if there was anything more helpful with the
 error message.
 I have searched the code base and I can only find the text 'An error
 occurred' in one place
 https://github.com/orotau/mezzanine/blob/master/mezzanine/core/static/
 mezzanine/js/editable.js#L19

 I don't know if that is where the error message is coming from?
 g

 On 27 March 2015 at 19:03, Wan Hsin Mao cindy5...@gmail.com wrote:

 Do u mean this page?


 https://fbcdn-sphotos-c-a.akamaihd.net/hphotos-ak-xfa1/v/t1.0-9/11100235_915791538441828_6765449119291652476_n.jpg?oh=c5460dffae23740a2f845ea8e4b1f93foe=55B73673__gda__=1436814405_303eb83f26420ae34f0a1ccbb5b792bb

  --
 You received this message because you are subscribed to the Google
 Groups Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to mezzanine-use...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 You received this message because you are subscribed to the Google Groups
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to mezzanine-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Images, mobile devices and Mezzanine

2015-03-30 Thread Graham

Awesome Josh thanks
g

On 31/03/15 04:41, Josh Cartmell wrote:
a) no, they look good on the iPhone because they are being resized by 
css, so it's just the browser rendering a larger image smaller
b) potentially more customization or easier logic separation between 
mobile/desktop, realistically I wouldn't recommend using them as 
responsive websites seem to be becoming the industry standard

c) I would say yes

Good luck!

On Sun, Mar 29, 2015 at 8:08 PM, Graham Oliver 
greenbay.gra...@gmail.com mailto:greenbay.gra...@gmail.com wrote:


I am confused as to how to go about making a Mezzanine web site I
am developing work well with mobile devices (especially images).

Initially I thought that I had to use Mobile templates, but I have
noticed that, for example, with a bootstrap Carousel on the home
page (with large images), it looks fine on an IPhone (the images
are automatically shrunk).

So, some questions if I may...

a) Does Mezzanine automatically serve smaller images when a mobile
device accesses a web page? If so, is this a feature of Django,
Mezzanine or Bootstrap? Can you point me in the direction of the
code...
b) What would the advantages and disadvantages be of using the
Mobile templates?
c) Should I only ever have one copy of an image stored and rely on
the software to do the resizing? (I am guessing yes)

Thanks
G
-- 
You received this message because you are subscribed to the Google

Groups Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it,
send an email to mezzanine-users+unsubscr...@googlegroups.com
mailto:mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google 
Groups Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to mezzanine-users+unsubscr...@googlegroups.com 
mailto:mezzanine-users+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups Mezzanine 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] Is it security without sign in required during checkout process?

2015-03-30 Thread Mario Gudelj
I can't see how mezzanine has anything to do with ddos. But you can safely
set this to true. You credit cart processor will stop the fake orders. I
haven't had issues with this.
On 31/03/2015 1:19 am, Wesley nisp...@gmail.com wrote:

 Hi all,
I just have a question here regarding SHOP_CHECKOUT_ACCOUNT_REQUIRED.
 I see that this guy defaults to False, thus, customer can finish one
 checkout process without signup/sign in.

 Actually, many customers like this style, and I tried to set this setting
 to True, then, many customers said it's complex because they need to
 signup(if they don't have one account yet) and sign in to continue the
 checkout process, what they want is just fill in the shipping details and
 next to place the order.

 So, I turned it off again, but, I am concern the security here.
 If we can make an order without sign in, how to avoid those fake orders,
 maybe somebody comes by, and random click but make an order...
 And, what's more, is this easy to attacked by something like DDOS, I mean,
 for example, write a robot to keep sending orders since we don't need
 login(we can place captcha here).

 So, do you guys have any suggestions here if I set this setting to False?
 Any code here to ensure the security or through any nginx settings?

 Thanks.
 Wesley

 --
 You received this message because you are subscribed to the Google Groups
 Mezzanine Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to mezzanine-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.