Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (358 - 360 of 1174)

Ticket Resolution Summary Owner Reporter
#965 fixed Change TextField to StringField in wtforms elements ayleph
Description

The WTFroms TextField alias to StringField has been deprecated. There are numerous TextField entries in various forms (login, register, blog, comments, etc). These cause warnings as such in the log.

/path/to/mediagoblin/lib/python2.7/site-packages/WTForms-2.0.1-py2.7.egg/wtforms/fields/simple.py:23: DeprecationWarning: The TextField alias for StringField has been deprecated and will be removed in WTForms 3.0

From http://wtforms.readthedocs.org/en/latest/whats_new.html :

The TextField alias for StringField is deprecated.

#969 fixed gmg user commands don't fail gracefully for non existant users ayleph
Description

Attempt to delete a non-existent user using bin/gmg deleteuser and you'll get a Traceback similar to below.

$ bin/gmg deleteuser idontexist
Traceback (most recent call last):
  File "bin/gmg", line 9, in <module>
    load_entry_point('mediagoblin==0.7.1.dev', 'console_scripts', 'gmg')()
  File "/path/to/mediagoblin/mediagoblin/gmg_commands/__init__.py", line 124, in main_cli
    args.func(args)
  File "/path/to/mediagoblin/mediagoblin/gmg_commands/users.py", line 132, in deleteuser
    username=unicode(args.username.lower())).one()
  File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/query.py", line 2329, in one
sqlalchemy.orm.exc.NoResultFound: No row was found for one()

Same problem exists for other commands in users.py.

#1005 fixed 'mediagoblin.db.extratypes.MutationDict object' has no attribute 'latitude' ayleph
Description

The new location changes don't seem to play nicely with the Geolocation plugin. The attached image produces a server error when geolocation plugin is enabled. I've now tested that this image displays correctly, that a image with full location data displays correctly and that an image without any location data displays correctly.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.