Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | Fix #549 - Deauthorize OAuth applications | Jessica Tallon | 2014-10-01 | 1 | -0/+4 |
| | | |||||
* | | Fix migrations on Python 2. | Christopher Allan Webber | 2014-09-30 | 1 | -0/+3 |
| | | | | | | | | This commit sponsored by Loïc Grobol. Thank you! | ||||
* | | Merge branch 'master' into merge-python3-port | Christopher Allan Webber | 2014-09-16 | 5 | -67/+409 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |
| | | |||||
| * | Fix a python2.6 compatibility issue. Removing a dict comprehension. | Christopher Allan Webber | 2014-08-18 | 1 | -1/+2 |
| | | | | | | | | This commit sponsored by Christopher Beppler. Thanks! | ||||
| * | Always remove the session when running check_db_up_to_date() | Christopher Allan Webber | 2014-08-15 | 1 | -5/+10 |
| | | | | | | | | This commit sponsored by Francois Marier. Thank you! | ||||
| * | Elrond keeps pointing out places I should "is not None" at :) | Christopher Allan Webber | 2014-08-08 | 1 | -2/+2 |
| | | |||||
| * | Okay, we don't know that indexes are falsey, so let's make it clearer. Yeek! | Christopher Allan Webber | 2014-08-08 | 1 | -1/+1 |
| | | |||||
| * | this negation needs parens. | Christopher Allan Webber | 2014-08-08 | 1 | -1/+1 |
| | | |||||
| * | Pull the indexes out of the dictionary directly | Christopher Allan Webber | 2014-08-08 | 1 | -8/+11 |
| | | | | | | | | Instead of checking for their keys and pulling them out later, that is. | ||||
| * | If the constraint already exists, roll back to a sane state. | Christopher Allan Webber | 2014-08-08 | 1 | -1/+1 |
| | | |||||
| * | Explaining why we're committing mid-migration | Christopher Allan Webber | 2014-08-08 | 1 | -0/+4 |
| | | |||||
| * | Only add the constraint if we need to. Catch an exception if we don't. | Christopher Allan Webber | 2014-08-07 | 1 | -6/+10 |
| | | | | | | | | Also, updating the comment about sqlite being crazy :) | ||||
| * | Document both migrations, comment out old migration | Christopher Allan Webber | 2014-08-07 | 1 | -9/+35 |
| | | |||||
| * | Add a new migration which removes/fixes the old migration | Christopher Allan Webber | 2014-08-07 | 2 | -1/+51 |
| | | | | | | | | | | | | | | 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 | 2 | -1/+16 |
| | | | | | | | | | | | | 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. | ||||
| * | Fix by thallian: use correct datetime.strptime | Christopher Allan Webber | 2014-07-24 | 1 | -1/+1 |
| | | | | | | | | datetime.dateime already imported, so.... | ||||
| * | 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 |
| | | |||||
| * | Fix issue where create_uuid doesn't exist nor used | Jessica Tallon | 2014-07-22 | 1 | -1/+2 |
| | | |||||
| * | 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 |
| | | |||||
| * | Fixes problem where full URL was being used inplace of host | xray7224 | 2014-07-22 | 1 | -1/+1 |
| | | |||||
| * | Use the the slug as the UUID instead of a newly generated UUID | xray7224 | 2014-07-22 | 1 | -6/+1 |
| | | |||||
| * | Add image URL's (thumb & full) | Jessica Tallon | 2014-07-22 | 2 | -0/+17 |
| | | |||||
| * | Fixes where User id in API would return url rather than host | Jessica Tallon | 2014-07-22 | 1 | -1/+1 |
| | | |||||
| * | Adds comments for the MediaEntry api | Jessica Tallon | 2014-07-22 | 1 | -5/+16 |
| | |