Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Active older topics
13 new of 13 - Apr 8
16 new of 16 - Mar 19
1 new of 1 - Mar 19
15 new of 15 - Mar 11
3 new of 3 - Mar 8
1 new of 1 - Feb 7
1 new of 1 - Nov 26 2012
1 new of 1 - Oct 31 2012
2 new of 2 - Oct 9 2012
5 new of 5 - Sep 15 2012
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 36  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Group for discussing HasGeek code.
 

New DSL in requestargs in coaster.views 
  Today I introduced another tiny DSL in coaster with the '[]' string suffix in requestargs: [link] This is the second instance: load_models accepts parameters in the "parent.child" convention to look up the child object inside the parent object.... more »
By Kiran Jonnalagadda  - May 8 - 6 new of 6 messages    

Flask-Lastuser model changes 
  Hello all, I'm considering adding more columns to the User model in Flask-Lastuser. Lastuser recently acquired a `status` column that allows a user account to be suspended or marked as merged. There is no such column in the Flask-Lastuser, so no way to suspend a user at the app level. Adding a column will affect all apps that use Flask-Lastuser, which will mean they need migrations. I'm not aware of any means by which Flask-Lastuser can itself publish an Alembic migration path for client apps.... more »
By Kiran Jonnalagadda  - May 3 - 1 new of 1 message    

limiting size of uploaded files 
  I was trying to put a limit for size of upload files in Imgee by setting MAX_CONTENT_LENGTH (as prescribed in [1]). It raises "413 Request Entity Too Large" when the file size exceeds the limit, as expected. Good so far. Handling that exception would let go the error and give back response status to be 200, but the browsers complain "The connection to <host> was... more »
By Devi  - May 2 - 2 new of 2 messages    

How to reuse some of the HG code to create an event site 
  Hi, I have to create a web site for the Open World Forum 2013 (an open source conference that will take place). Due to personal preferences, I'd like to use Flask for the public-facing website and I'm looking for an appropriate back office so that contributors can work on the content. Is it something Nodular could be useful for ? I don't see an admin UI in... more »
By Stéfane Fermigier  - Apr 27 - 3 new of 3 messages    

Contact Point: Tornado, Diesel?? 
  Hi, I just came across diesel ([link]). In the long-run, for contactpoint ([link]), does it make more sense to use diesel, rather than tornado? -- Mitesh Ashar Sent with Sparrow ([link])
By Mitesh Ashar  - Apr 21 - 2 new of 2 messages    

New Lastuser is live 
  Over the last couple of days I added Alembic migrations to Lastuser, added a "status" flag to indicate active/suspended/merged accounts, and merged the code-reorg branch into master. It's now live at auth.hasgeek.com. I will next be using Flask-SQLAlchemy "binds" to allow the blueprints to be used in other apps while talking to an independent database. This will allow lastuser's UI to be merged into hasweb.... more »
By Kiran Jonnalagadda  - Apr 21 - 2 new of 2 messages    

Nodular on Windows 
  A couple of days ago I noticed I was using os.path.join to construct paths, but the os.* modules are OS-dependent. That means os.path.join uses '/' as a separator on POSIX environments, but could be different on other platforms. Sure enough, the Windows version uses '\'. That means nodular will not work on Windows, so I cloned the POSIX os.path.join into a custom function inside Nodular. [link]... more »
By Kiran Jonnalagadda  - Apr 4 - 2 new of 2 messages    

size in the image name? 
  Currently, the url for an image with a different resolution is /<image_id>?size=<width>x<heig ht>, which doesn't look nice, IMO. How about /<image_id>-w<width>-h<height> .<extn>? Here width, height and extn could be optional. We can store the images with the name in the above format so that we don't need the Thumbnail table [1] which just stores the size info and... more »
By Devi  - Mar 28 - 7 new of 7 messages    

Eventframe and SQLAlchemy 0.8.x 
  Hi all, As of SQLAlchemy 0.8.x, column names cannot be reused across joined-table polymorphic models, the sort Eventframe and Nodular use. This is the fix for a bug I reported a few months ago. If you have an old Eventframe installation from SQLAlchemy 0.7.x, your DB will be outdated. Please drop the additional columns.... more »
By Kiran Jonnalagadda  - Mar 27 - 1 new of 1 message    

Imgee storage 
  Couple of queries - - Currently, the uploaded images are saved on to the disk first and then uploaded to AWS. Is this 2 step process intended? Do we want to maintain a local copy too? In that case, do we want to do batch uploads to S3 periodically? - We make a unique name for each image uploaded and store it in S3... more »
By Devi  - Mar 26 - 13 new of 13 messages    

1 - 10 of 36   « Newer | Older »

XML       Send email to this group: hasgeek-code@googlegroups.com