aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit
Commit message (Collapse)AuthorAgeFilesLines
* Removed almost all of the code from coresaksham11152016-07-193-96/+2
|
* Only video uploader can edit their subtitlessaksham11152016-07-191-1/+3
|
* Only video owner can upload the subtitle for the videosaksham11152016-07-191-1/+2
|
* Saing subtitle after editsaksham11152016-07-191-1/+5
|
* Opening ths subtitle using absolute path and open functionsaksham11152016-07-191-3/+4
|
* Converting the path to subtitle into a tuplesaksham11152016-07-191-0/+3
|
* Cleaning upsaksham11152016-07-192-30/+4
|
* Customizing Subs using Wtformssaksham11152016-07-193-2/+26
|
* Loading subtitle files [Not working]saksham11152016-07-191-2/+3
|
* Path decoded and sent to html pagesaksham11152016-07-191-1/+9
|
* Made decorators views for Customize Interfacesaksham11152016-07-191-3/+6
|
* Customize Interface in progresssaksham11152016-07-191-0/+9
|
* Minor Changesaksham11152016-07-192-4/+4
|
* Subtitle built over attachments : workingsaksham11152016-07-192-0/+64
|
* Fix #5451 - add_message inconsistenciesAndrew Browning2016-04-021-17/+26
| | | | | Reformat add_message function calls for consistency and PEP8 line continuations.
* Fix issue 5367 Edit view updatesayleph2016-01-061-1/+1
| | | | | | | This commit fixes issue 5367 by updating the edit view to be compatible with recent db migrations. Signed-off-by: Jessica Tallon <tsyesika@tsyesika.se>
* Fix bug on the OAuth client deauthorization pageJessica Tallon2015-12-201-1/+1
| | | | | | An exception was raised when a user tried to go to the authroization page this occured when we changed the field names on the models from "user" to actor. This patch corrects the query and resolves the error.
* Collection changes and migration for federationJessica Tallon2015-10-072-5/+5
| | | | | | | - Adds a "type" column to the Collection object and allows the CollectionItem model to contain any object. - Changes "items" to "num_items" as per TODO - Renames "uploader", "creator" and "user" to a common "actor" in most places
* Fix #994: Also set self.data when no change made to URL.Ben Sturmfels2015-09-081-1/+2
| | | | This partially reverts 2a1082e3
* Use StringField.process_formdata() if valuelist is empty.Berker Peksag2015-08-251-4/+6
|
* Fix #994: Don't require users to type the website URL scheme when updating ↵Ben Sturmfels2015-08-251-2/+18
| | | | | | | profile. Adds 'http://' if no scheme is provided. Eg. If you enter 'www.example.com', this will be updated to 'http://www.example.com'.
* Add the user models to the MODELS listJessica Tallon2015-07-311-1/+2
| | | | | | | | 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-311-3/+4
| | | | | | | 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.
* Change all unicode() calls with six.text_type().Berker Peksag2015-06-251-2/+2
| | | | Fixes #5329.
* wtforms.fields.TextField was deprecatedJakob Kramer2015-03-121-11/+11
| | | | | | | WTForms documentation: > The TextField alias for StringField is deprecated. Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
* Fix #1007 - get location object not string of location name; caused 500 when ↵Jessica Tallon2014-10-271-1/+1
| | | | editing profile
* Merge branch 'location'Jessica Tallon2014-10-092-3/+19
|\ | | | | | | | | | | | | | | | | | | | | | | 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-3/+19
| |
* | Fix #549 - Deauthorize OAuth applicationsJessica Tallon2014-10-012-1/+31
| |
* | Fix iteritems usage on python 3Christopher Allan Webber2014-09-161-1/+1
| | | | | | | | This commit sponsored by Ben (Free Software Melbourne) Finney. Thanks!
* | Merge branch 'master' into merge-python3-portChristopher Allan Webber2014-09-162-8/+77
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fixes #899 : DeprecationWarning about Required going away in WTForms 3.0. ↵Loïc Le Ninan2014-06-131-7/+7
| | | | | | | | Replaced Required with InputRequired.
| * Cleaned up the code a little bittilly-Q2014-05-141-2/+2
| |
| * Tweaked the metadata edit screen to run jsonschema validators against the data.tilly-Q2014-05-142-11/+36
| |
| * Made some changes so that the metadata editing page works well with the updatedtilly-Q2014-05-122-24/+6
| | | | | | | | metadata tools.
| * Changed the format of the wtforms table slightlytilly-Q2014-05-121-2/+2
| |
| * Added in a few blank lines when a user edits the metadata of a file that hastilly-Q2014-05-061-0/+10
| | | | | | | | none.
| * Made it so the metadata editting page is only one step away from functioningtilly-Q2014-05-061-1/+15
| | | | | | | | correctly.
| * Created a UI for editting a media's metadata. Had to add a new macro totilly-Q2014-05-062-6/+22
| | | | | | | | wtforms.html in the process.
| * Set up the metadata editor formstilly-Q2014-05-061-2/+8
| |
| * Created the media metadata editor pagetilly-Q2014-05-062-1/+17
| |
* | Use six.text_type instead of unicode().Berker Peksag2014-06-021-7/+9
|/ | | | I will be switch to use ``from __future__ import unicode_literals`` later.
* Merge remote-tracking branch 'refs/remotes/tilly-q/OPW-Moderation-Update'Christopher Allan Webber2013-10-072-4/+4
|\ | | | | | | | | | | | | Conflicts: mediagoblin/templates/mediagoblin/user_pages/user.html mediagoblin/tests/test_auth.py mediagoblin/tests/test_submission.py
| * Merge branch 'master' into OPW-Moderation-Updatetilly-Q2013-09-123-43/+75
| |\ | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py
| * | This has been an update to clean out the code a little bit. The primary changetilly-Q2013-08-132-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I made was I added the method has_privilege (which takes a variable amount of unicode privilege names as an argument) to the User model. This method allowed for much cleaner checks as to whether or not a user has a privilege. Other- wise, I also made it impossible for moderators to punish admins. I created a new url path and three new pages for Users to look at filed reports and the code of conduct for the mg instance. === Made reports on admins not resolvable by moderators: --\ mediagoblin/moderation/views.py --\ mediagoblin/templates/mediagoblin/moderation/report.html === Created new files for the new pages: --\ mediagoblin/meta/__init__.py --\ mediagoblin/meta/routing.py --\ mediagoblin/meta/views.py --\ mediagoblin/templates/mediagoblin/meta/code_of_conduct.html --\ mediagoblin/templates/mediagoblin/meta/reports_details.html --\ mediagoblin/templates/mediagoblin/meta/reports_panel.html --\ mediagoblin/routing.py --\ mediagoblin/static/css/base.css === Replaced vestigial methods of checking a user's privilege with the more ====== effective method has_privilege(u'privilege_name'): --\ mediagoblin/db/models.py --| Added in the has_privilege method to the User class --\ mediagoblin/db/migrations.py --\ mediagoblin/db/models.py --\ mediagoblin/decorators.py --\ mediagoblin/edit/lib.py --\ mediagoblin/edit/views.py --\ mediagoblin/gmg_commands/users.py --\ mediagoblin/moderation/views.py --\ mediagoblin/templates/mediagoblin/base.html --\ mediagoblin/templates/mediagoblin/user_pages/collection.html --\ mediagoblin/templates/mediagoblin/user_pages/media.html --\ mediagoblin/templates/mediagoblin/user_pages/user.html --\ mediagoblin/templates/mediagoblin/utils/collection_gallery.html --\ mediagoblin/user_pages/views.py === Minor UI changes --\ mediagoblin/templates/mediagoblin/moderation/report_panel.html --\ mediagoblin/templates/mediagoblin/moderation/user.html === Other Bugs: --\ mediagoblin/tools/response.py --\ mediagoblin/db/migrations.py
* | | Fixing ALL THE BROKEN TESTS. I probably broke most of them.Christopher Allan Webber2013-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - We've now broken out user.html and user_nonactive.html but the tests didn't reflect it - the location of one of the module imports broke, but I didn't notice because of .pyc files ;) This commit sponsored by Tiberiu C. Turbureanu (ceata.org). Thank you!
* | | Fixing import error after merge of basic_auth branch.Christopher Allan Webber2013-09-191-2/+3
| | | | | | | | | | | | This commit sponsored by geoffrey jost. Thank you!
* | | Merge remote-tracking branch 'refs/remotes/rodney757/auth_refactor'Christopher Allan Webber2013-09-193-43/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Conflicts: mediagoblin/auth/views.py mediagoblin/edit/forms.py mediagoblin/templates/mediagoblin/edit/edit_account.html
| * | moved change_pass to basic_auth and fixed some typos with the moving of ↵Rodney Ewing2013-08-163-56/+0
| |/ | | | | | | forgot pass
* | Improve checkbox descriptionSebastian Spaeth2013-09-041-1/+1
| | | | | | | | Do not Enable/Disable next to a checkbox. So what does an enabled checkbox do then?