Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix the GenericForeignKey implementation | Jessica Tallon | 2015-05-26 | 1 | -22/+36 | |
| | ||||||
* | Migrate Activity to using the new GenericForeignKey | Jessica Tallon | 2015-05-26 | 2 | -47/+166 | |
| | ||||||
* | Add GenericForeignKey field and reference helper model | Jessica Tallon | 2015-05-26 | 2 | -2/+93 | |
| | ||||||
* | Fix the token issues in the migration | Christopher Allan Webber | 2015-02-17 | 1 | -3/+3 | |
| | | | | | | There's no .id on access/request token tables, so fixed to use the .token field. Also switched a reference of client_table -> rt_table | |||||
* | acess_token->access_token | Christopher Allan Webber | 2015-02-17 | 1 | -1/+1 | |
| | ||||||
* | Fixing typo: notifiction->notification | Christopher Allan Webber | 2015-02-17 | 1 | -1/+1 | |
| | ||||||
* | This one should be dt_to_utc, not db_to_utc, I believe | Christopher Allan Webber | 2015-02-17 | 1 | -1/+1 | |
| | ||||||
* | Fix #1065 - Migrate from native datetimes to UTC | Jessica Tallon | 2015-02-15 | 2 | -20/+146 | |
| | ||||||
* | Change 'federation' name to 'api' which is more suitable | Jessica Tallon | 2015-02-15 | 2 | -9/+9 | |
| | ||||||
* | Fix #1052 - Make activity cascade delete work when deleting a user | Jessica Tallon | 2015-01-27 | 1 | -1/+2 | |
| | ||||||
* | Fix 1e0c938 by allowing target to be translatable in Activity.content | Jessica Tallon | 2014-12-22 | 1 | -9/+17 | |
| | ||||||
* | Allow Activity.content to be fully translatable | Jessica Tallon | 2014-12-22 | 1 | -2/+19 | |
| | ||||||
* | Fix #1077 - Fix updating comment via API and add test | Jessica Tallon | 2014-12-16 | 1 | -22/+16 | |
| | ||||||
* | Fix #1053 - Add height and width attributes and MetadataProcess task | Jessica Tallon | 2014-12-11 | 1 | -0/+16 | |
| | | | | | | | | Added "height" and "width" attributes to "image" and "fullImage" in the API where possible. The height and width of images wasn't being stored anywhere so I've created a task to add or update the metadata on images and also started adding those to new images when they're submitted in the InitialProcessor. | |||||
* | Fix #1054 - Add missing attributes to Activity.serialize | Jessica Tallon | 2014-12-08 | 1 | -0/+5 | |
| | ||||||
* | Fix #1049 - name renamed to displayName for Location | Jessica Tallon | 2014-12-05 | 1 | -3/+3 | |
| | ||||||
* | There's absolutely no reason for a Session().commit object mirrored onto ↵ | Christopher Allan Webber | 2014-12-03 | 1 | -4/+0 | |
| | | | | | | Session() :) Thanks for catching, Elrond :) | |||||
* | Make all mixin methods ignore mg_globals and use self._app instead | Christopher Allan Webber | 2014-12-03 | 1 | -4/+3 | |
| | | | | This commit sponsored by Daniel Lang. Thank you! | |||||
* | Attach the MediaGoblinApp to the engine, and provide a way for models to access | Christopher Allan Webber | 2014-12-03 | 2 | -1/+10 | |
| | | | | | | | This allows SQLAlchemy models to gain access to app-level configuration without the need for global variables. This commit sponsored by Peter Hogg. Thank you, Peter! | |||||
* | Adding query property to DatabaseMaster for forward compatibility | Christopher Allan Webber | 2014-12-03 | 1 | -0/+4 | |
| | ||||||
* | Attach the base models to sessions and the DatabaseMaster for backwards ↵ | Christopher Allan Webber | 2014-12-03 | 1 | -2/+14 | |
| | | | | | | compatibility Really we should stop relying on that though. | |||||
* | Only conditionally import Session in db/util.py | Christopher Allan Webber | 2014-12-03 | 1 | -1/+5 | |
| | ||||||
* | Move the scoped_session, sessionmaker imports | Christopher Allan Webber | 2014-12-03 | 1 | -1/+1 | |
| | ||||||
* | Some docstrings | Christopher Allan Webber | 2014-12-03 | 1 | -0/+13 | |
| | ||||||
* | Return DatabaseManager or DatabaseMaster depending on DISABLE_GLOBALS | Christopher Allan Webber | 2014-12-03 | 1 | -2/+6 | |
| | | | | They're both similar! One sets up sessions, one grabs sessions from a global object. | |||||
* | Oops, got the boolean backwards :P | Christopher Allan Webber | 2014-12-03 | 1 | -1/+1 | |
| | ||||||
* | Adding DatabaseManager as an alternative to DatabaseMaster | Christopher Allan Webber | 2014-12-03 | 1 | -25/+77 | |
| | | | | | This is another step to get to a no-globals configuration. I'm not sure if this code works yet or not... :) | |||||
* | An environment variable to transition towards removing global variables | Christopher Allan Webber | 2014-12-03 | 1 | -5/+9 | |
| | ||||||
* | Give our sqlalchemy objects access to their own session | Christopher Allan Webber | 2014-12-03 | 1 | -0/+6 | |
| | ||||||
* | Fix #1040 - Comments should have published attribute | Jessica Tallon | 2014-11-27 | 1 | -1/+4 | |
| | ||||||
* | Fix unicode handling in "gmg addmedia". | Berker Peksag | 2014-11-22 | 1 | -1/+5 | |
| | ||||||
* | Fix #1025 - Make API IDs IRIs | Jessica Tallon | 2014-11-21 | 2 | -12/+35 | |
| | ||||||
* | Fix #1039 - Fix typo in user model 'oublished' to 'published' | Jessica Tallon | 2014-11-20 | 1 | -1/+1 | |
| | ||||||
* | Fix #1023 - Make timestamps in API timezone aware | Jessica Tallon | 2014-11-19 | 2 | -6/+16 | |
| | ||||||
* | Fix User and MediaEntry serialize and add serialize to models which need it | Jessica Tallon | 2014-11-04 | 1 | -2/+17 | |
| | ||||||
* | Fix problem where duplicate slug would cause an update exception | Jessica Tallon | 2014-10-22 | 1 | -15/+18 | |
| | ||||||
* | Fix #984 - Improvements to Activity and ActivityIntermediator | Jessica Tallon | 2014-10-21 | 2 | -10/+14 | |
| | | | | | | - Add unit tests to cover get and set methods on Activity - Rewrite the set to remove set and use Session.flush instead - Use sqlalchemy's validator instead of .save hack | |||||
* | Merge branch 'location' | Jessica Tallon | 2014-10-09 | 2 | -4/+149 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | Add Location model which holds textual, geolocation coordiantes or postal addresses. This migrates data off Image model metadata onto the general Location model. It also adds the ability for location to be set on MediaEntry, User, MediaComment and Collection models. The geolocation plugin has been updated so that the location can be displayed in more general places rather than explicitely on the MediaEntry view. If GPS coordiantes are set for the User the profile page will also have the OSM provided by the geolocation plugin. | |||||
| * | Add location model and migrations | Jessica Tallon | 2014-10-09 | 2 | -5/+151 | |
| | | ||||||
* | | Merge branch '905-activities' | Jessica Tallon | 2014-10-07 | 3 | -16/+503 | |
|\ \ | | | | | | | | | | | | | | | | Add Activity and Generator models which allow for activities to be created. This now works with the feed API. | |||||
| * | | Add __repr__ to Activity and Generator class | Jessica Tallon | 2014-10-07 | 2 | -1/+19 | |
| | | | ||||||
| * | | Fix bug where activity.content was not populated | Jessica Tallon | 2014-10-06 | 1 | -2/+6 | |
| | | | ||||||
| * | | Fix all the unit tests and clean up code | Jessica Tallon | 2014-10-06 | 3 | -43/+53 | |
| | | | ||||||
| * | | Only have Model.activity for activity compatable objects/targets | Jessica Tallon | 2014-09-03 | 2 | -85/+47 | |
| | | | ||||||
| * | | Fix migrations and refactor object_type | Jessica Tallon | 2014-09-02 | 3 | -89/+155 | |
| | | | | | | | | | | | | | | | | | | | | | - Make changes to objectType to be more pythonic "object_type" - Move object_type to mixins rather than be on the models - Convert migrations to sqlalchemy core rather than ORM (fix) - Change TYPES to use descriptive strings rather than numbers | |||||
| * | | Add ActivityIntermediator table and refactor some of Activity model | Jessica Tallon | 2014-08-27 | 3 | -220/+364 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This has introduced a intermediatory table between object/target and the activity. This allows for multiple activities to be associated with one object/target. - This moves some of the methods off Activity model into a mixin which didn't need to interact with database things. - This also cleaned up the migrations as well as adding retroactive creation of activities for collection creation. | |||||
| * | | Add better support for targets on Activities | Jessica Tallon | 2014-08-26 | 1 | -43/+80 | |
| | | | | | | | | | | | | | | | | | | This adds betters upport for targets in the content generation and on the model itself. Adding getters for properties which would otherwise require looking up e.g. get_author. | |||||
| * | | Create activity model and add activity creation | Jessica Tallon | 2014-08-22 | 2 | -3/+249 | |
| |/ | | | | | | | | | | | | | | | This creates the Activity and Genrator models from the Activity Streams spec and. I then created a migration which retro-actively create activities for media uploaded and comments created. Through out the code I've added so automatically activties are created when a user peforms an action (uploading media, commenting, etc.). | |||||
* | | Add initial migration guide. | Berker Peksag | 2014-10-02 | 1 | -1/+57 | |
| | | | | | | | | This can be moved to docs/source/devel/migrations.rst. | |||||
* | | Do not call AlembicMigrationManager.init_tables() for now. | Berker Peksag | 2014-10-02 | 1 | -6/+8 | |
| | | | | | | | | sqlalchemy-migrate will do this for us. |