aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix urlparse import in tools/routing.pyBerker Peksag2015-08-011-1/+1
| | | | | | | urlparse is already a function, so we don't need to specify a module name. Refs #5339
* Add the user models to the MODELS listJessica Tallon2015-07-313-17/+39
| | | | | | | | This adds the two new user models (LocalUser and RemoteUser) to the MODELS list that is in models.py. This stops the strange bug that occurs if you migrate a fresh database, the two models don't exist however migrating an existing database would create them as the migrations exist.
* Change codebase to query or create correct User modelJessica Tallon2015-07-3133-125/+156
| | | | | | | The code base had many references to User.username and other specific to LocalUser attributes as that was the way it use to exist. This updates those to query on the generic User model but filtering by attributes on the LocalUser.
* Add polymorphic properties to UserJessica Tallon2015-07-312-3/+25
| | | | | | | | | | This adds the ability to search for any user based on the generic User case and be given back the specific LocalUser or RemoteUser. This will require any code using the model to look which attributes they are searching on and specify the specific User model they are on if they're not on the generic User model. This will also require new users to be created with LocalUser.
* Add LocalUser and RemoteUser and migrationJessica Tallon2015-07-312-58/+217
|
* Regenerate po file after 8e832f84597bd1505f23f4abd4eef96ce12d3822Berker Peksag2015-07-221-112/+45
|
* Fix typos reported in #1102Berker Peksag2015-07-221-2/+2
|
* Return non-zero exit code if the command cannot be completed successfully.Berker Peksag2015-07-221-0/+6
| | | | Fixes #5084
* Pin mock 1.0.1 in Python 2 for now.Berker Peksag2015-07-221-1/+1
| | | | | | | | | mock recently dropped Python 2.6 support and then re-introduced it in its latest release (however, it's a bit unstable right now). I think at this point, we can be more cautious and just use mock==1.0.1.
* Change all unicode() calls with six.text_type().Berker Peksag2015-06-256-10/+18
| | | | Fixes #5329.
* Fix typo.Berker Peksag2015-06-251-1/+1
|
* Fix more print statements. Refs #5331Berker Peksag2015-06-252-3/+7
|
* Fix print statements to be python3 compatible. Refs #5331Sebastian Spaeth2015-06-251-2/+2
|
* Merge branch Generic Foreign Key changesJessica Tallon2015-06-245-176/+308
|\
| * Fix removal of ActivityIntermediatory migrationJessica Tallon2015-06-242-2/+23
| | | | | | | | | | | | | | | | | | | | The migration had a problem where other tables still referenced the migration as well as a typo in an earlier migration. They have both been fixed and tested on PostgreSQL and SQLite3. This also fixes a bug where sometimes when creating an activity it'd raise an Exception as the object hadn't got an ID. This has been fixed globally with a fix to the create_activity federation tool.
| * Fix some problems with activity mixins and migrationsJessica Tallon2015-05-265-76/+24
| |
| * Add a more verbose GenericForeignKey implementationJessica Tallon2015-05-262-67/+38
| |
| * Remove deprecated fields and fix activity creation in toolsJessica Tallon2015-05-262-11/+2
| |
| * More fixed recommended by ElrondJessica Tallon2015-05-261-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 stringsJessica Tallon2015-05-261-14/+41
| |
| * Add migration to remove ActivityIntermediatorJessica Tallon2015-05-262-59/+12
| | | | | | | | | | 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 implementationJessica Tallon2015-05-261-22/+36
| |
| * Migrate Activity to using the new GenericForeignKeyJessica Tallon2015-05-262-47/+166
| |
| * Add GenericForeignKey field and reference helper modelJessica Tallon2015-05-262-2/+93
| |
* | Import urlparse from six.moves to work on both Python 2 and 3.Berker Peksag2015-06-051-1/+3
| |
* | v0.8.0! Let's get this party started!Christopher Allan Webber2015-06-042-2/+2
| |
* | More things to include in MANIFEST.inChristopher Allan Webber2015-06-041-2/+5
| |
* | Note that users have to install node.js :\Christopher Allan Webber2015-06-031-3/+8
| |
* | More adjustments to manifest.inChristopher Allan Webber2015-06-031-1/+4
| | | | | | | | | | | | - include Makefile.in - include configure scripts - graft on devtools
* | We now store mediagoblin.example.ini, not mediagoblin.iniChristopher Allan Webber2015-06-031-1/+1
| |
* | Committing extracted and compiled translationsChristopher Allan Webber2015-06-034-59/+90
| |
* | Potentially require virtualenv as a requirement for "make dist"Christopher Allan Webber2015-06-031-1/+1
| |
* | "make check" should work, and "make dist" should use setup.pyChristopher Allan Webber2015-06-031-10/+3
| |
* | Right, also don't build _version.py in configure.acChristopher Allan Webber2015-06-031-1/+1
| |
* | readthedocs can't read the version using autotools, so back to _version.py ↵Christopher Allan Webber2015-06-031-1/+1
| | | | | | | | specifying it
* | Comment on why we're not using `make dist`... yetChristopher Allan Webber2015-06-021-0/+4
| |
* | Fix link from Gitorious -> SavannahChristopher Allan Webber2015-06-011-1/+1
| |
* | Better phrasing: "Should I Keep Open Registration Enabled?"Christopher Allan Webber2015-05-301-2/+2
| |
* | "Should I enable registration?" sectionChristopher Allan Webber2015-05-301-0/+23
|/
* docs: Added handling of user_dev permissionsJim Campbell2015-05-261-6/+11
| | | | | | | | | | | | The user_dev directory gets created when users get established and they start uploading media. However, the permissions aren't correct on the directory as it gets created. As a workaround, we create the directory at this stage, and then set the proper permissions. See this mailing list post for more information: http://lists.mediagoblin.org/pipermail/devel/2015-May/001201.html
* Use of deprecated frombytes when processing videos causes the task to failChristopher Allan Webber2015-05-221-1/+1
| | | | | | | | | | (Anonymous contribution, not by me) When transcoding a video using a recent version of PIL transcoding a video fails reproducible. The reason for this is an AttributeError: 'module' object has no attribute 'frombytes'gets raised, while a thumbnails is being created. This is because frombytes alias was deprecated in favor of fromstring.
* Clarifying the "note these steps"Christopher Allan Webber2015-05-221-1/+2
|
* No need to run git submodule init/update, run by bootstrap.shChristopher Allan Webber2015-05-221-1/+1
|
* Switch git remote urlChristopher Allan Webber2015-05-221-0/+2
|
* Wrong version number. Stupid copy-pasta!Christopher Allan Webber2015-05-221-1/+1
|
* 0.8.0 release notesChristopher Allan Webber2015-05-221-0/+52
| | | | | Theoretically correct... I need to verify that the steps work as expected
* Updating AUTHORS for 0.8.0Christopher Allan Webber2015-05-221-0/+3
|
* docs: Set paster service to start before celeryJim Campbell2015-05-191-1/+2
| | | | | | For some reason, celery wouldn't start if I started it first. Setting paster to start first. Celery starts just fine on initial run after paster is running.
* docs: Updated permissions. Tweaked install detailsJim Campbell2015-05-191-9/+27
| | | | | | | | | | | | | | Added nginx to installation packages. We say that our install uses nginx, so users should skip nginx if they want to use apache. Also, our group permissions depend on a web server being installed. Changed install directory for mediagoblin acct to /var/lib/mediagoblin It works better if we need to back up data. Assigned mediagoblin user to the same group as the web server. This is needed so that the server can access uploaded media. Created mediagoblin group for non-web-server things such as logs.
* docs: Removed systemcl enable/start. Already issued.Jim Campbell2015-05-181-5/+0
| | | | | | Debian-based platforms start the postgres server by default after installation. For RPM-based distros, we've already issued these commands prior to configuring the postgres server.