Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 1 | -0/+126 |
| | |||||
* | Merge branch 'location' | Jessica Tallon | 2014-10-09 | 1 | -0/+37 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 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 | -0/+37 |
| | | |||||
* | | Merge branch '905-activities' | Jessica Tallon | 2014-10-07 | 1 | -2/+193 |
|\ \ | | | | | | | | | | | | | | | | Add Activity and Generator models which allow for activities to be created. This now works with the feed API. | ||||
| * | | Fix all the unit tests and clean up code | Jessica Tallon | 2014-10-06 | 1 | -32/+42 |
| | | | |||||
| * | | Only have Model.activity for activity compatable objects/targets | Jessica Tallon | 2014-09-03 | 1 | -23/+13 |
| | | | |||||
| * | | Fix migrations and refactor object_type | Jessica Tallon | 2014-09-02 | 1 | -43/+105 |
| | | | | | | | | | | | | | | | | | | | | | - 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 | -37/+108 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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. | ||||
| * | | Create activity model and add activity creation | Jessica Tallon | 2014-08-22 | 1 | -0/+58 |
| |/ | | | | | | | | | | | | | | | 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 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 | 1 | -9/+179 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | 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! | ||||
| * | 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 | 1 | -0/+50 |
| | | | | | | | | | | | | | | 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 issue where create_uuid doesn't exist nor used | Jessica Tallon | 2014-07-22 | 1 | -1/+2 |
| | | |||||
| * | Make sure new media has a new uuid added on | Jessica Tallon | 2014-07-22 | 1 | -7/+6 |
| | | |||||
| * | Adds migration on MediaEntry to add uuid | Jessica Tallon | 2014-07-22 | 1 | -1/+0 |
| | | |||||
| * | Fix #894 - index User.username field | Jessica Tallon | 2014-07-17 | 1 | -1/+15 |
| | | | | | | | | This commit sponsored by Emily O'Leary. Thank you! | ||||
| * | Adding comments in the migration explaining a bit what's going on. | Christopher Allan Webber | 2014-06-11 | 1 | -0/+2 |
| | | | | | | | | This commit sponsored by Philip Horger. Thank you! | ||||
| * | Explicitly set the column names to "user" and "privilege" | Christopher Allan Webber | 2014-06-11 | 1 | -2/+4 |
| | | |||||
| * | Switch "user_id" to "privilege" and "privilege_id" to "user". | Christopher Allan Webber | 2014-06-10 | 1 | -17/+23 |
| | | | | | | | | | | | | | | | | | | This builds on the previous code Natalie wrote, but makes some changes: - More direct alterations for non-sqlite code - In both cases, I've made it so that we switched the field names from privilege_id and user_id to user and privilege respectively. This way we can do the name swap, but in one case it's "easy": just changing the name. (In the sqlite case it's still tricky though.) | ||||
| * | Merge remote-tracking branch 'refs/remotes/tilly-q/ticket-874' into mergetest | Christopher Allan Webber | 2014-06-10 | 1 | -0/+46 |
| |\ | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py | ||||
| | * | Made the columns properly referenced in models and migrations. | tilly-Q | 2014-04-23 | 1 | -10/+7 |
| | | | |||||
| | * | Renamed the columns on core__privileges_users table so that they are unique and | tilly-Q | 2014-04-22 | 1 | -0/+45 |
| | | | | | | | | | | | | will not cause any more problems. | ||||
| * | | Set a default value to MediaEntry.media_metadata | tilly-Q | 2014-05-14 | 1 | -1/+2 |
| | | | |||||
| * | | Changed the name of the metadata column | tilly-Q | 2014-04-21 | 1 | -1/+1 |
| | | | |||||
| * | | Moved the metadata column to MediaEntry rather than MediaFile | tilly-Q | 2014-04-21 | 1 | -4/+4 |
| | | | |||||
| * | | In this commit, I added a new column which will be used for RDFa metadata of | tilly-Q | 2014-04-21 | 1 | -0/+12 |
| |/ | | | | | | | media. | ||||
* | | Remove sqlalchemy-migrate imports from the codebase. Do not touch tests yet. | Berker Peksag | 2014-06-27 | 1 | -1/+1 |
| | | |||||
* | | Use six.text_type instead of unicode(). | Berker Peksag | 2014-06-02 | 1 | -2/+4 |
|/ | | | | I will be switch to use ``from __future__ import unicode_literals`` later. | ||||
* | I went through the code and just removed some blank spaces. I also looked it | tilly-Q | 2013-11-19 | 1 | -3/+2 |
| | | | | thru and it looked great. | ||||
* | Addressed ticket number 630 by removing MediaEntry.collected | Josie | 2013-11-18 | 1 | -0/+14 |
| | |||||
* | Renaming replace_table to replace_table_hack and documenting why it's a hack | Christopher Allan Webber | 2013-10-10 | 1 | -3/+3 |
| | | | | | | We'd still prefer people use other solutions when possible! This commit sponsored by Michał Masłowski. Thank you! | ||||
* | Merge remote-tracking branch 'tilly-q/merge-tillyq-moderation' into ↵ | Christopher Allan Webber | 2013-10-10 | 1 | -21/+4 |
|\ | | | | | | | merge-tillyq-moderation | ||||
| * | I made some changes in this commit to help out with other people trying to work | tilly-Q | 2013-10-09 | 1 | -21/+4 |
| | | | | | | | | | | | | around the SQLite problems with Alter table. I added a new function to migration_tools (replace_table) which does all the work I did in my migration of core__users, but is now usable for other migrations. | ||||
* | | Fix the create_moderation_tables migration to work with postgresql | Christopher Allan Webber | 2013-10-10 | 1 | -3/+3 |
|/ | | | | Was comparing/assigning to integers... but that's not how postgres rolls! | ||||
* | Fixing migration to account for new fields added to User model | Christopher Allan Webber | 2013-10-09 | 1 | -1/+5 |
| | | | | | Uploaded and upload_limit were added after this migration was first written. Tricky! | ||||
* | Merge remote-tracking branch 'tilly-q/OPW-Moderation-Update' into ↵ | Christopher Allan Webber | 2013-10-09 | 1 | -5/+9 |
|\ | | | | | | | merge-tillyq-moderation | ||||
| * | This was a quick update to clean up some of my templates and fix the formatting | tilly-Q | 2013-10-08 | 1 | -5/+9 |
| | | | | | | | | | | | | | | in some of my other bits of code. In migrations.py, I clarified the comments & fixed the code to stay within 80 columns. In each of the templates, I fixed the spacing as well to stay within 80 columns and I also corrected my improper uses of the trans tag to ensure that these pages can be translated correctly. |