aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db
Commit message (Collapse)AuthorAgeFilesLines
* Add __unicode__ representation to Notification and MediaCommentMixinTryggvi Bjorgvinsson2014-07-252-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.strptimeChristopher Allan Webber2014-07-241-1/+1
| | | | datetime.dateime already imported, so....
* Switch from slug to ID and clean up style to conform to PEP-8Jessica Tallon2014-07-221-2/+2
|
* Add unseralize for API objectsJessica Tallon2014-07-221-0/+31
|
* Add test for API object endpointJessica Tallon2014-07-221-0/+11
|
* Add more tests for federation APIsJessica Tallon2014-07-221-3/+12
|
* Fix issue where create_uuid doesn't exist nor usedJessica Tallon2014-07-221-1/+2
|
* Refactors api uploading to media managersxray72242014-07-221-12/+10
|
* Add basic comment support and flesh out some other endpointsJessica Tallon2014-07-221-8/+1
|
* Add static pump_io to API and fix problem where null appeared in profileJessica Tallon2014-07-221-2/+13
|
* Support some webfinger API's and real profile and /api/user/<user>/xray72242014-07-221-1/+1
|
* Support for the comments endpointxray72242014-07-221-2/+10
|
* Fixes problem where full URL was being used inplace of hostxray72242014-07-221-1/+1
|
* Use the the slug as the UUID instead of a newly generated UUIDxray72242014-07-221-6/+1
|
* Add image URL's (thumb & full)Jessica Tallon2014-07-222-0/+17
|
* Fixes where User id in API would return url rather than hostJessica Tallon2014-07-221-1/+1
|
* Adds comments for the MediaEntry apiJessica Tallon2014-07-221-5/+16
|
* Changes serialization to .serialize method on object - MediaEntryJessica Tallon2014-07-221-0/+43
|
* Make sure new media has a new uuid added onJessica Tallon2014-07-222-7/+10
|
* Adds migration on MediaEntry to add uuidJessica Tallon2014-07-222-2/+1
|
* Starts the user (profile) endpoint and lays groundwork for inbox and feed ↵Jessica Tallon2014-07-221-1/+25
| | | | endpoint
* Adds seralize on userJessica Tallon2014-07-221-0/+10
|
* Use unicode for logging commentsTryggvi Bjorgvinsson2014-07-182-2/+2
| | | | | | | | | | | | | The comment problems detailed in issue 791 are related to logging of comments creation. The log tries to format unicode comments into an ascii string (that is the unicode comment content). This also creates problems with mark seen functionality since that also logs the comments which breaks and you end up with a lot of international comments in your message queue. This commit makes both log messages unicode as well as the representation of the comment.
* Fix #894 - index User.username fieldJessica Tallon2014-07-172-2/+16
| | | | This commit sponsored by Emily O'Leary. Thank you!
* Removing legacy mongo-related docstringChristopher Allan Webber2014-06-231-33/+0
|
* Adding comments in the migration explaining a bit what's going on.Christopher Allan Webber2014-06-111-0/+2
| | | | This commit sponsored by Philip Horger. Thank you!
* Explicitly set the column names to "user" and "privilege"Christopher Allan Webber2014-06-112-2/+6
|
* Switch "user_id" to "privilege" and "privilege_id" to "user".Christopher Allan Webber2014-06-102-19/+25
| | | | | | | | | 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 mergetestChristopher Allan Webber2014-06-102-4/+48
|\ | | | | | | | | Conflicts: mediagoblin/db/migrations.py
| * Made the columns properly referenced in models and migrations.tilly-Q2014-04-232-14/+9
| |
| * Renamed the columns on core__privileges_users table so that they are unique andtilly-Q2014-04-222-2/+47
| | | | | | | | will not cause any more problems.
* | Set a default value to MediaEntry.media_metadatatilly-Q2014-05-142-2/+4
| |
* | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin into metadatatilly-Q2014-05-131-0/+6
|\| | | | | | | | | Conflicts: mediagoblin/gmg_commands/__init__.py
| * Issue #686: Create User.url_for_self() method.Berker Peksag2014-04-101-0/+6
| | | | | | | | | | *Note from cwebber on merge of this branch:* Thanks also to Sturm who provided an early version of this patch.
* | Changed the name of the metadata columntilly-Q2014-04-212-2/+2
| |
* | Moved the metadata column to MediaEntry rather than MediaFiletilly-Q2014-04-212-5/+5
| |
* | In this commit, I added a new column which will be used for RDFa metadata oftilly-Q2014-04-212-0/+13
|/ | | | media.
* Not only the web server starts MediaGoblin app! Better phrasing.Christopher Allan Webber2014-01-021-1/+1
|
* Merge remote-tracking branch 'refs/remotes/rodney757/dbupdate'Christopher Allan Webber2014-01-021-1/+17
|\ | | | | | | | | | | Conflicts: mediagoblin/db/util.py mediagoblin/gmg_commands/dbupdate.py
| * check if db is up to dateRodney Ewing2013-09-021-1/+16
| |
* | I went through the code and just removed some blank spaces. I also looked ittilly-Q2013-11-192-4/+3
| | | | | | | | thru and it looked great.
* | Addressed ticket number 630 by removing MediaEntry.collectedJosie2013-11-182-2/+15
| |
* | Renaming replace_table to replace_table_hack and documenting why it's a hackChristopher Allan Webber2013-10-102-6/+12
| | | | | | | | | | | | We'd still prefer people use other solutions when possible! This commit sponsored by Michał Masłowski. Thank you!
* | Actually rename the table back, or else we just lose the old table! ;)Christopher Allan Webber2013-10-101-1/+1
| |
* | Merge remote-tracking branch 'tilly-q/merge-tillyq-moderation' into ↵Christopher Allan Webber2013-10-102-21/+31
|\ \ | | | | | | | | | merge-tillyq-moderation
| * | I made some changes in this commit to help out with other people trying to worktilly-Q2013-10-092-21/+31
| | | | | | | | | | | | | | | | | | 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 postgresqlChristopher Allan Webber2013-10-101-3/+3
|/ / | | | | | | Was comparing/assigning to integers... but that's not how postgres rolls!
* | Fixing migration to account for new fields added to User modelChristopher Allan Webber2013-10-091-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 Webber2013-10-091-5/+9
|\ \ | | | | | | | | | merge-tillyq-moderation
| * | This was a quick update to clean up some of my templates and fix the formattingtilly-Q2013-10-081-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.