aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Change codebase to query or create correct User modelJessica Tallon2015-07-316-22/+23
| | | | | | | 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.
* Fix typos reported in #1102Berker Peksag2015-07-221-2/+2
|
* Change all unicode() calls with six.text_type().Berker Peksag2015-06-251-2/+5
| | | | Fixes #5329.
* wtforms.fields.TextField was deprecatedJakob Kramer2015-03-125-21/+21
| | | | | | | WTForms documentation: > The TextField alias for StringField is deprecated. Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
* Merge remote-tracking branch 'refs/remotes/breton/new_gst10'Christopher Allan Webber2015-02-181-13/+3
|\
| * Add new hook for two-step media type checkingBoris Bobrov2015-02-161-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before uploaded media files were checked by extension. This led to situations when a plugin can support file with specific extension but doesn't due to lack of codecs, for example. Since the plugin reported that it supports uploaded file type, the upload was being declared successful, but transcoding failed. The failures were not easy to debug. The change adds a new hook that could allow two-step checking of the content. The result of the hook execution returns a tuple with media type name, manager and a callable sniffer, that can be used to perform probably expensive checks of the content. Also the change adds implementation of the hook for video.
* | Remove deprecated oauth 2 pluginJessica Tallon2015-02-1511-1187/+0
| |
* | Remove html5slider Javascript helperAsheesh Laroia2015-02-131-2/+0
|/ | | | | | | | | | | | | | | | | | | | | | This helper was originally added as a "polyfill" (backward-compatibility shim) for Firefox version 23 and older, so that <input type="range"> that audio.js uses could render nicely in those versions of Firefox. Chromium did not need this shim, and Firefox 23 (released on Aug 6, 2013) added support for this. Therefore, let us remove this dependency. By current metrics at caniuse.com <http://caniuse.com/#feat=input-range>, 88.14% of web users support this attribute. Opera Mini and old versions of Internet Explorer (6-8) are the only holdouts. Note also that the html5slider.js is uninterested in adding this to the npm package manager (or any package manager) repository <https://github.com/fryn/html5slider/issues/5>, meaning that keeping it in the mediagoblin extlib section would mean manual maintenance/updating by the GNU MediaGoblin team. This commit also removes GMG's use of the shim.
* Fix #1005 - location.position is a dictionary so 'value' in dict check neededJessica Tallon2014-10-271-2/+2
|
* Merge branch 'location'Jessica Tallon2014-10-092-10/+9
|\ | | | | | | | | | | | | | | | | | | | | | | 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 migrationsJessica Tallon2014-10-092-10/+9
| |
* | Merge branch 'master' into merge-python3-portChristopher Allan Webber2014-09-1640-26/+2567
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Avoid "lego translations" on the nothing currently featured stringsChristopher Allan Webber2014-07-291-7/+9
| | | | | | | | This commit sponsored by Vinzenz Vietzke. Thank you!
| * Make translatable 'Feature' button in the explanation about how to feature ↵Laura Arjona Reina2014-07-291-1/+1
| | | | | | | | media.
| * Make consistent quotation marks when referring to button labelsLaura Arjona Reina2014-07-291-1/+1
| |
| * Tags can now be passed in for media entries submitted via the api pluginTryggvi Bjorgvinsson2014-07-101-0/+1
| |
| * Fixes #899 : DeprecationWarning about Required going away in WTForms 3.0. ↵Loïc Le Ninan2014-06-136-26/+26
| | | | | | | | Replaced Required with InputRequired.
| * Fixed another error created by my last fixNatalie Foust-Pilcher2014-06-121-1/+1
| |
| * Fixed a fatal error causing mediagoblin to crash when certain types of mediaNatalie Foust-Pilcher2014-06-121-1/+5
| | | | | | | | were uploaded
| * Merge branch 'metadata'tilly-Q2014-05-146-0/+191
| |\
| | * Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin into metadatatilly-Q2014-05-132-6/+11
| | |\ | | | | | | | | | | | | | | | | Conflicts: mediagoblin/gmg_commands/__init__.py
| | * | Made the metadata table functional within the new metadata_display plugin andtilly-Q2014-05-126-5/+156
| | | | | | | | | | | | | | | | removed all traces of it from core.
| | * | Merge branch 'metadata' of gitorious.org:mediagoblin/cwebbers-mediagoblin ↵tilly-Q2014-05-121-0/+40
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into metadata Conflicts: mediagoblin/plugins/metadata_display/templates/mediagoblin/plugins/metadata_display/metadata_table.html
| | | * | Move the metadata display table over to being contained in a pluginChristopher Allan Webber2014-05-121-0/+34
| | |/ /
| * | | Made it so that admins or moderators only would see the feature_management_paneltilly-Q2014-05-131-0/+3
| | | | | | | | | | | | | | | | link if they have the featurer privilege
| * | | Added a line to the readmetilly-Q2014-05-131-0/+2
| | | |
| * | | Removed unused imports and removed development only migrations fromctilly-Q2014-05-133-18/+1
| | | | | | | | | | | | | | | | archivalook plugin
| * | | Added a link to the manage feature screen in the dropdown menu fortilly-Q2014-05-133-0/+76
| | | | | | | | | | | | | | | | those that have the appropriate privilege. Added a readme.
| * | | Added the new plugin I've been working at all summer at this link:tilly-Q2014-05-1327-0/+2279
| | |/ | |/| | | | | | | https://gitorious.org/npigeons-mediagoblin/archivalook/source/6dbd68dab85650792456b8e24bbbd36a323c2018:
* | | Make sort_keys True to avoid hash randomize feature in Python 3.Berker Peksag2014-08-041-1/+1
| | |
* | | Cleanup mediagoblin._compat and fix translation tests.Berker Peksag2014-07-281-1/+1
| | |
* | | Remove sqlalchemy-migrate imports from the codebase. Do not touch tests yet.Berker Peksag2014-06-271-4/+0
| | |
* | | Use six.text_type instead of unicode().Berker Peksag2014-06-0210-20/+42
| | | | | | | | | | | | I will be switch to use ``from __future__ import unicode_literals`` later.
* | | Use six.moves.urllib.parse instead of the urlparse module.Berker Peksag2014-05-262-2/+4
| | |
* | | Use six.iteritems() instead of dict.iteritems().Berker Peksag2014-05-262-2/+4
|/ /
* / Tweak the trim whitespace plugin documentation.Berker Peksag2014-04-101-5/+10
|/ | | | | | - Fix code highlighting - Wrap all lines to 80 chars - Add more markup (eg. Response() to ``Response()``)
* LDAP readme linkChristopher Allan Webber2013-11-301-0/+15
|
* Making the API make use of the new submit tooling.Christopher Allan Webber2013-11-141-44/+47
| | | | This commit sponsored by Zakkai Kauffman-Rogoff. Thanks! :)
* Also switching piwigo integration of submit_media over to kwargs.Christopher Allan Webber2013-11-141-5/+6
| | | | This commit sponsored by Roberto Capone. Thanks!
* Porting the piwigo submit system over to using the new submit utility.Christopher Allan Webber2013-11-141-57/+38
| | | | | | This also adds upload limit checks to the piwigo plugin! This commit sponsored by Sam Black. Thank you!
* accoutn -> account. Typo fix caught by Laura Arjona! Thanks!Christopher Allan Webber2013-11-041-1/+1
| | | | This commit sponsored by Nick Adams! Thank you!
* Fixing up the email verified stuff to reflect the email_verified stuff!Christopher Allan Webber2013-10-081-8/+14
| | | | This commit sponsored by Derek Holdaway. Thanks!
* Merge remote-tracking branch 'refs/remotes/rodney757/new_ldap'Christopher Allan Webber2013-09-206-0/+342
|\ | | | | | | | | | | Conflicts: docs/source/index.rst mediagoblin/templates/mediagoblin/auth/login.html
| * catch a keyerrorRodney Ewing2013-08-151-5/+5
| |
| * typo in docsRodney Ewing2013-08-151-3/+3
| |
| * added docs for ldap pluginRodney Ewing2013-08-151-0/+49
| |
| * use pluginapi.get_configRodney Ewing2013-08-151-2/+2
| |
| * removed unused importRodney Ewing2013-08-151-1/+0
| |
| * added a create_account hookRodney Ewing2013-08-152-0/+33
| |
| * only create a user if the register_form is from the ldap pluginRodney Ewing2013-08-151-1/+2
| |