Re: [mezzanine-users] Re: Proposal: page_move signals

2014-05-23 Thread Ahmad Khayyat
Here we go: https://bitbucket.org/stephenmcd/mezzanine/pull-request/62/ Create and send pre_page_move and post_page_move signals. Any value returned by any receiver of the pre_page_move signal will abort the move. The value is considered an error message, and will be displayed. The first value

Re: [mezzanine-users] Collecting additional information on a per product basis in Cartridge

2014-05-23 Thread Stephen McDonald
Great post Josh, thanks! On Sat, May 24, 2014 at 5:17 AM, Josh Cartmell wrote: > Hey all, I just wrote up a blog post on how I had Cartridge collect extra > information when particular products were added to a user's cart. I > thought I would share and hope it's helpful for someone: > > > http

Re: [mezzanine-users] Re: Proposal: page_move signals

2014-05-23 Thread Stephen McDonald
Sounds like a good idea, go for it. On Sat, May 24, 2014 at 6:19 AM, Josh Cartmell wrote: > I think this sounds really cool, I've definitely wanted to do things along > these lines before. > > > On Fri, May 23, 2014 at 4:08 PM, Ahmad Khayyat wrote: > >> T​​ >> o complete the thought, here is w

[mezzanine-users] adding captcha to existing site, throws error

2014-05-23 Thread roland balint
i had tested captcha on a fresh install w/o any issues but, when added captcha to a site that already had some forms created, started throwing errors when accessing the form, gives this error for the template "form.html"; - Invalid block tag: 'errors_for', expected 'endif' - line25 {% errors_for

[mezzanine-users] Re: asset_proxy url for source editor generated with HTTP (should be https)

2014-05-23 Thread Brad Bode
It turns out I made a mistake. Not being completely aware of how Tiny MCE works, I didn't put the 'asset_proxy" into the SSL_FORCE_URL_PREFIXES. So, if you want to make sure the Tiny MCE source editor works over SSL, ensure that you have setup Mezzanine to use SSL for any asset_proxy url. The

Re: [mezzanine-users] Re: Proposal: page_move signals

2014-05-23 Thread Josh Cartmell
I think this sounds really cool, I've definitely wanted to do things along these lines before. On Fri, May 23, 2014 at 4:08 PM, Ahmad Khayyat wrote: > T​​ > o complete the thought, here is what I’m doing now with what I described > earlier: > > diff --git a/mezzanine/pages/static/mezzanine/js/

[mezzanine-users] Re: Proposal: page_move signals

2014-05-23 Thread Ahmad Khayyat
T​​ o complete the thought, here is what I’m doing now with what I described earlier: diff --git a/mezzanine/pages/static/mezzanine/js/admin/page_tree.js b/mezzanine/pages/static/mezzani--- a/mezzanine/pages/static/mezzanine/js/admin/page_tree.js+++ b/mezzanine/pages/static/mezzanine/js/admin/page

[mezzanine-users] Proposal: page_move signals

2014-05-23 Thread Ahmad Khayyat
Objective Support arbitrary rules in the page tree, e.g. some content types have to always by under some other types, or specific objects, and having sections of the page tree that are exclusive to some specific content type(s). Description The admin_page_ordering

[mezzanine-users] Collecting additional information on a per product basis in Cartridge

2014-05-23 Thread Josh Cartmell
Hey all, I just wrote up a blog post on how I had Cartridge collect extra information when particular products were added to a user's cart. I thought I would share and hope it's helpful for someone: http://bitofpixels.com/blog/collecting-additional-information-on-a-per-product-basis-in-cartridge/

[mezzanine-users] Re: tinymce JS files on Amazone S3 CDN requires AWS_QUERYSTRING_AUTH = False?

2014-05-23 Thread Brad Bode
Although you are having a slightly different issue you might want to join in on my discussion (with myself). It's a very similar problem. https://groups.google.com/d/msg/mezzanine-users/A7wEDWprYZY/gb-FBYxJjzQJ I am using AWS S3 with SSL for the admin. The only problem I have left is getting t

[mezzanine-users] Re: asset_proxy url for source editor generated with HTTP (should be https)

2014-05-23 Thread Brad Bode
So this is particular to using Amazon S3 and boto "ProtocolIndependentOrdinaryCallingFormat". When you are using a ProtocolIndependentOrdinaryCallingFormat the URL's for resources are constructed without a protocol (http or https). For instance, '//s3.amazonaws.com/martialmoves.com/static/js/

[mezzanine-users] Re: asset_proxy url for source editor generated with HTTP (should be https)

2014-05-23 Thread Brad Bode
Is the purpose of the asset proxy to load files that are not on the same domain (from a CDN) so that Tiny MCE works? It seems that way to me. What I haven't figured out yet is where the asset_proxy url is inserted! The HTTPS needs to be entered, not HTTP Any help? -- You received this messag

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-05-23 Thread Mathias Ettinger
Just ran into it too :) I’ll set up some tests in the next couple days, then. In the meantime, can you give me some feedback on my modeltranslationformissue branch (https://github.com/Kniyl/mezzanine/tree/modeltranslationformissue). It duplicates translatable settings in the admin for every la

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-05-23 Thread Eduardo Rivas
I think you can access the settings module like every other place in the code base. This example recommends the setup and teardown methods for modifying settings in unit tests: http://stackoverflow.com/a/913596. Hope that helps :-) -- You received this message because you are subscribed to the

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-05-23 Thread Eduardo Rivas
I should have read the whole Stack Overflow thread! It looks like Django has built in ways of doing it. https://docs.djangoproject.com/en/1.6/topics/testing/tools/#overriding-settings -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubsc

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-05-23 Thread Mathias Ettinger
I had some thoughts about what tests to add and how to write them. But everything lead to the same question: how is it possible to configure several languages for the tests without hardcoding them into settings.py? -- You received this message because you are subscribed to the Google Groups "M