Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix some problems with activity mixins and migrations | Jessica Tallon | 2015-05-26 | 1 | -13/+14 |
| | |||||
* | Add a more verbose GenericForeignKey implementation | Jessica Tallon | 2015-05-26 | 1 | -65/+36 |
| | |||||
* | Remove deprecated fields and fix activity creation in tools | Jessica Tallon | 2015-05-26 | 1 | -9/+0 |
| | |||||
* | More fixed recommended by Elrond | Jessica Tallon | 2015-05-26 | 1 | -11/+8 |
| | | | | | | | This fixes the problem where GenericForeignKey could only be used with models that are in the core of Mediagoblin, it now can be used with any model that SQLAlchemy knows about, including plugins. This also fixes some small bugs caused by incorrect ordering of params into a function. | ||||
* | Add some fixes Elrond suggested and doc strings | Jessica Tallon | 2015-05-26 | 1 | -14/+41 |
| | |||||
* | Add migration to remove ActivityIntermediator | Jessica Tallon | 2015-05-26 | 1 | -56/+0 |
| | | | | | Migration to drop the table and removal of it from the model as it has now been superseeded by the GenericForeignKey field. | ||||
* | Fix the GenericForeignKey implementation | Jessica Tallon | 2015-05-26 | 1 | -22/+36 |
| | |||||
* | Migrate Activity to using the new GenericForeignKey | Jessica Tallon | 2015-05-26 | 1 | -46/+26 |
| | |||||
* | Add GenericForeignKey field and reference helper model | Jessica Tallon | 2015-05-26 | 1 | -2/+78 |
| | |||||
* | Fix #1065 - Migrate from native datetimes to UTC | Jessica Tallon | 2015-02-15 | 1 | -20/+20 |
| | |||||
* | Change 'federation' name to 'api' which is more suitable | Jessica Tallon | 2015-02-15 | 1 | -7/+7 |
| | |||||
* | Fix #1052 - Make activity cascade delete work when deleting a user | Jessica Tallon | 2015-01-27 | 1 | -1/+2 |
| | |||||
* | 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 #1049 - name renamed to displayName for Location | Jessica Tallon | 2014-12-05 | 1 | -3/+3 |
| | |||||
* | 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 | 1 | -11/+28 |
| | |||||
* | 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 | 1 | -4/+11 |
| | |||||
* | Fix User and MediaEntry serialize and add serialize to models which need it | Jessica Tallon | 2014-11-04 | 1 | -2/+17 |
| | |||||
* | Fix #984 - Improvements to Activity and ActivityIntermediator | Jessica Tallon | 2014-10-21 | 1 | -8/+9 |
| | | | | | | - 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 | 1 | -4/+112 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -5/+114 |
| | | |||||
* | | Merge branch '905-activities' | Jessica Tallon | 2014-10-07 | 1 | -13/+189 |
|\ \ | | | | | | | | | | | | | | | | 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 | 1 | -0/+18 |
| | | | |||||
| * | | 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 | 1 | -2/+2 |
| | | | |||||
| * | | Only have Model.activity for activity compatable objects/targets | Jessica Tallon | 2014-09-03 | 1 | -62/+34 |
| | | | |||||
| * | | Fix migrations and refactor object_type | Jessica Tallon | 2014-09-02 | 1 | -45/+36 |
| | | | | | | | | | | | | | | | | | | | | | - 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 | 1 | -182/+148 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | 1 | -3/+191 |
| |/ | | | | | | | | | | | | | | | 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.). | ||||
* | | Fix #549 - Deauthorize OAuth applications | Jessica Tallon | 2014-10-01 | 1 | -0/+4 |
| | | |||||
* | | Merge branch 'master' into merge-python3-port | Christopher Allan Webber | 2014-09-16 | 1 | -19/+201 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Has some issues, will iteratively fix! Conflicts: mediagoblin/gmg_commands/__init__.py mediagoblin/gmg_commands/deletemedia.py mediagoblin/gmg_commands/users.py mediagoblin/oauth/views.py mediagoblin/plugins/api/views.py mediagoblin/tests/test_api.py mediagoblin/tests/test_edit.py mediagoblin/tests/test_oauth1.py mediagoblin/tests/test_util.py mediagoblin/tools/mail.py mediagoblin/webfinger/views.py setup.py | ||||
| * | | Add __repr__ for Collection and CollectionItem | Odin Hørthe Omdal | 2014-09-07 | 1 | -1/+15 |
| |/ | |||||
| * | Tidy up federation code and add tests to cover more of the APIs | Jessica Tallon | 2014-08-18 | 1 | -10/+3 |
| | | |||||
| * | Add a new migration which removes/fixes the old migration | Christopher Allan Webber | 2014-08-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | The previous migration, as it turns out, was not needed, and there were many inconsistencies put in place by adding it. See issue #920. This commit sponsored by Gergő Tisza. Thank you! | ||||
| * | Fix #927 - Clean up federation code after Elrond's review | Jessica Tallon | 2014-07-30 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | - Add json_error and use inplace of json_response where appropriate. - Add garbage_collection to config spec file. - Fix bugs in both garbage collection task and test - Handle /api/whoami when no user logged in and a test for such a case. - Validate ID is correct and user has comment privilege to comment. | ||||
| * | Fix #923 - add allow_admin to user_has_privilege decorator | Jessica Tallon | 2014-07-29 | 1 | -14/+15 |
| | | |||||
| * | Add __unicode__ representation to Notification and MediaCommentMixin | Tryggvi Bjorgvinsson | 2014-07-25 | 1 | -0/+8 |
| | | | | | | | | | | | | Instead of having __repr__ return a unicode object which it should not do, we use the __unicode__ method to allow use of Notification and MediaCommentMixin objects in unicode strings. | ||||
| * | Switch from slug to ID and clean up style to conform to PEP-8 | Jessica Tallon | 2014-07-22 | 1 | -2/+2 |
| | | |||||
| * | Add unseralize for API objects | Jessica Tallon | 2014-07-22 | 1 | -0/+31 |
| | | |||||
| * | Add test for API object endpoint | Jessica Tallon | 2014-07-22 | 1 | -0/+11 |
| | | |||||
| * | Add more tests for federation APIs | Jessica Tallon | 2014-07-22 | 1 | -3/+12 |
| | | |||||
| * | Refactors api uploading to media managers | xray7224 | 2014-07-22 | 1 | -12/+10 |
| | | |||||
| * | Add basic comment support and flesh out some other endpoints | Jessica Tallon | 2014-07-22 | 1 | -8/+1 |
| | | |||||
| * | Add static pump_io to API and fix problem where null appeared in profile | Jessica Tallon | 2014-07-22 | 1 | -2/+13 |
| | | |||||
| * | Support some webfinger API's and real profile and /api/user/<user>/ | xray7224 | 2014-07-22 | 1 | -1/+1 |
| | | |||||
| * | Support for the comments endpoint | xray7224 | 2014-07-22 | 1 | -2/+10 |
| | |