Custom Query (1173 matches)
Results (256 - 258 of 1173)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #962 | invalid | ActivityIntermediator.TYPES doesn't allow plugins to use activities | ||
| Description |
With #905 we now have the activities that can be created when the user does something on GMG. However there is a fixed TYPES dictionary which doesn't allow plugins to add their models as objects which take part in activites. The way this could be changed is to have a ActivityTypes table which is this map. The current TYPES can be populated by the FOUNDATIONS system and plugins can add themsleves to this table. |
|||
| #971 | fixed | Add location model that all objects can use | ||
| Description |
Add a location model that can be used by MediaEntry, User, Collection and MediaComment so that location data from other servers in the pump.io API can retain this data and see it. This has been outlined here. |
|||
| #982 | fixed | Database migrations no longer work | ||
| Description |
Since the python 3 merge, database migrations no longer work. To produce the error you should run -> Updating main mediagoblin tables:
+ Running migration 19, "drop_MediaEntry_collected"... Traceback (most recent call last):
File "./bin/gmg", line 9, in <module>
load_entry_point('mediagoblin==0.7.2.dev', 'console_scripts', 'gmg')()
File "/Users/jessica/Documents/Workspace/mediagoblin/mediagoblin/gmg_commands/__init__.py", line 130, in main_cli
args.func(args)
File "/Users/jessica/Documents/Workspace/mediagoblin/mediagoblin/gmg_commands/dbupdate.py", line 160, in dbupdate
run_dbupdate(app_config, global_config)
File "/Users/jessica/Documents/Workspace/mediagoblin/mediagoblin/gmg_commands/dbupdate.py", line 128, in run_dbupdate
run_all_migrations(db, app_config, global_config)
File "/Users/jessica/Documents/Workspace/mediagoblin/mediagoblin/gmg_commands/dbupdate.py", line 155, in run_all_migrations
migration_manager.init_or_migrate()
File "/Users/jessica/Documents/Workspace/mediagoblin/mediagoblin/db/migration_tools.py", line 286, in init_or_migrate
migration_func(self.session)
File "/Users/jessica/Documents/Workspace/mediagoblin/mediagoblin/db/migrations.py", line 724, in drop_MediaEntry_collected
media_collected.drop()
File "build/bdist.macosx-10.9-x86_64/egg/sqlalchemy/sql/expression.py", line 2855, in __getattr__
AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'drop'
The version of SQLAlchemy that I'm using is: 0.8.7 |
|||
