Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 2 | -44/+81 |
| | | | | | | 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 | 7 | -23/+343 |
| | | | | | | | | 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.). | ||||
* | Make blog_post_listing easier to read | Jessica Tallon | 2014-08-19 | 1 | -1/+1 |
| | | | | | | This is Elronds change on #948. As 'blog_slug' is always set in request.matchdict there is no need to do a default-none get on the dictionary. This change just makes it easier to read. | ||||
* | List blogs by URL user rather than request user | ayleph | 2014-08-19 | 1 | -1/+1 |
| | | | | | | | | | | | | The blog_post_listing function in mediagoblin/media_types/blow/views.py attempts to access blogs based on the requesting user rather than the url user. This results in server errors when an unauthenticated user attempts to follow a link from another user's blog post listing, and 404 errors when an authenticated user attempts to follow a link from another user's blog post listing. This change bases blog post listings on the URL user rather than the request user. | ||||
* | Add docs on collection_add_media hook. | Elrond | 2014-08-19 | 1 | -0/+16 |
| | |||||
* | Start for documenting core hooks. | Elrond | 2014-08-19 | 2 | -0/+20 |
| | | | | | This is basicly a start by Chris Webber, I'm just commiting it for him. | ||||
* | Add new hook 'collection_add_media' | Odin Hørthe Omdal | 2014-08-18 | 1 | -7/+9 |
| | |||||
* | Tidy up federation code and add tests to cover more of the APIs | Jessica Tallon | 2014-08-18 | 11 | -242/+346 |
| | |||||
* | Use oauthlib's safe characters when generating client_key and client_secret | Jessica Tallon | 2014-08-18 | 1 | -4/+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! | ||||
* | Forgot to add starttls_config.ini | Jessica Tallon | 2014-08-12 | 1 | -0/+4 |
| | |||||
* | Fix #861 - Add unit test and documentation for email_smtp_force_starttls | Jessica Tallon | 2014-08-12 | 3 | -2/+44 |
| | |||||
* | 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! | ||||
* | Committing extracted and compiled translations | Christopher Allan Webber | 2014-08-04 | 73 | -622/+688 |
| | |||||
* | Committing present MediaGoblin translations before pushing extracted messages | Christopher Allan Webber | 2014-08-04 | 4 | -57/+5045 |
| | |||||
* | Add more security checks when updating objects and tests | Jessica Tallon | 2014-08-04 | 2 | -37/+129 |
| | |||||
* | Adding Pump API stuff to the docs index. | Christopher Allan Webber | 2014-08-04 | 1 | -0/+20 |
| | | | | This commit sponsored by Joel Luellwitz. Thanks! | ||||
* | Set up virtualenv to use py2 | Christopher Allan Webber | 2014-08-03 | 1 | -11/+1 |
| | | | | This commit sponsored by Jonas Öberg. Thanks Jonas! | ||||
* | Use the STARTTLS command to upgrade SMTP connections where possible. | Matt Molyneaux | 2014-08-02 | 2 | -0/+12 |
| | | | | | | | | | | | | | Adds the option `email_smtp_force_tls` which will cause `send_email` to error if it is unable to use the `STARTTLS` command (e.g. where the user knows the SMTPd supports `STARTTLS` and wishes to protect themselves against a downgrade attack) Setting both `email_smtp_user_ssl` and `email_smtp_force_tls` may result in undefined behaviour if the SMTPd has not been correctly configured. TODO: Unit tests? TODO: Documentation? | ||||
* | Updated video thumbnail pipeline to use decodebin2 | ayleph | 2014-08-01 | 1 | -1/+1 |
| | | | | The video thumbnailer uses decodebin to automatically detect the file type in the thumbnail pipeline. However, decodebin does not properly demux theora streams, which causes the thumbnailer to fail for .ogv files. decodebin2 properly demuxes the theora stream and successfully creates thumbnails for .ogv files. | ||||
* | Fix some security concerns regrding inpersonation in federation code. | Jessica Tallon | 2014-07-31 | 2 | -2/+98 |
| | |||||
* | Fix #927 - Clean up federation code after Elrond's review | Jessica Tallon | 2014-07-30 | 10 | -152/+182 |
| | | | | | | | | - 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. | ||||
* | Make chown more generic. | Elrond | 2014-07-30 | 1 | -2/+2 |
| | | | | | | | | | | Some distributions (ubuntu 14.04 maybe?) don't create a group for a new user. So change the "chown" to use the primary group of the user instead of forcing the group. This should do the right thing in more cases. Old: chown mediagoblin:mediagoblin New: chown mediagoblin: | ||||
* | Fix #923 - add allow_admin to user_has_privilege decorator | Jessica Tallon | 2014-07-29 | 5 | -33/+35 |
| | |||||
* | Avoid "lego translations" on the nothing currently featured strings | Christopher Allan Webber | 2014-07-29 | 1 | -7/+9 |
| | | | | This commit sponsored by Vinzenz Vietzke. Thank you! | ||||
* | Committing extracted and compiled translations | Christopher Allan Webber | 2014-07-29 | 71 | -3178/+12744 |
| | |||||
* | Committing present MediaGoblin translations before pushing extracted messages | Christopher Allan Webber | 2014-07-29 | 2 | -507/+1597 |
| | |||||
* | Make translatable table columns titles in media processing panel | Laura Arjona Reina | 2014-07-29 | 1 | -16/+16 |
| | |||||
* | Make translatable takeaway privileges actions | Laura Arjona Reina | 2014-07-29 | 1 | -7/+7 |
| | |||||
* | Make translatable the titles of TextAreas in moderation form | Laura Arjona Reina | 2014-07-29 | 1 | -1/+4 |
| | |||||
* | Make translatable 'Feature' button in the explanation about how to feature ↵ | Laura Arjona Reina | 2014-07-29 | 1 | -1/+1 |
| | | | | media. | ||||
* | Make consistent quotation marks when referring to button labels | Laura Arjona Reina | 2014-07-29 | 1 | -1/+1 |
| | |||||
* | Make translatable some strings that weren't i18n'ed | Laura Arjona Reina | 2014-07-29 | 3 | -4/+4 |
| | |||||
* | Remove the option about whether or not spectrograms are created. They ↵ | Christopher Allan Webber | 2014-07-25 | 2 | -14/+5 |
| | | | | | | always are. This commit sponsored by Emily O'Leary. Thanks, Emily! | ||||
* | 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. | ||||
* | Adding thallian to the authors list | Christopher Allan Webber | 2014-07-24 | 1 | -0/+1 |
| | |||||
* | Fix by thallian: use correct datetime.strptime | Christopher Allan Webber | 2014-07-24 | 1 | -1/+1 |
| | | | | datetime.dateime already imported, so.... | ||||
* | Merge branch 'Federation' | Jessica Tallon | 2014-07-23 | 25 | -228/+1389 |
|\ | |||||
| * | Switch from slug to ID and clean up style to conform to PEP-8 | Jessica Tallon | 2014-07-22 | 5 | -39/+88 |
| | | |||||
| * | Create test for garbage collection | Jessica Tallon | 2014-07-22 | 1 | -4/+37 |
| | |