aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release-0.4.1'Christopher Allan Webber2013-07-105-6/+23
|\ | | | | | | | | Conflicts: mediagoblin/_version.py
| * Updating docs regarding pulling in and fetching git submodulesChristopher Allan Webber2013-07-102-2/+8
| | | | | | | | | | | | We use this for PDF.js now... we should reference that. This commit sponsored by Bonnie King. Thanks!
| * Fix by Rodney Ewing so render_http_exception works with newer Werkzeug versions.Christopher Allan Webber2013-07-101-1/+1
| | | | | | | | This commit back-cherry-picked from current master for the 0.4.1 fix release.
| * PyTest needs to be >= 2.3.1Christopher Allan Webber2013-07-101-1/+1
| |
| * Release notes v0.4.1 ... fixes serious issue with conversion via libreoffice.Christopher Allan Webber2013-07-102-1/+12
| | | | | | | | This commit sponsored by William Linna. Thank you!
| * Fixing bug that effectively broke document support in 0.4.0.. how embarassing :(Christopher Allan Webber2013-07-101-2/+2
| | | | | | | | This fix sponsored by Christophe Drevet. Thank you!
* | Mention setup.py develop --upgrade also in release notes.Christopher Allan Webber2013-07-091-1/+3
| | | | | | | | This commit sponsored by Christoph Schumacher. Thank you!
* | Merge remote-tracking branch 'remotes/lotusecho/trac_711_test_speed'Christopher Allan Webber2013-07-037-15/+38
|\ \
| * | Updated comments for run_all_migrations and config_spec.ini.Emily O'Leary2013-06-272-3/+10
| | |
| * | Improved test runtime from 352 seconds to 59 seconds by implementing an ↵Emily O'Leary2013-06-257-16/+32
| | | | | | | | | | | | in-memory sqlite DB and including an option to run migrations on this newly created database by adding a config option called run_migrations to the config_spec and passing it along in app.py to the setup_database function.
* | | Fix missing quoteChristopher Allan Webber2013-07-031-1/+1
| | |
* | | changed hook name to reuse with personaRodney Ewing2013-07-034-6/+6
| | |
* | | use template hooks instead of hardcoding in templatesRodney Ewing2013-07-038-40/+85
| | |
* | | forgot to pass request.form into LoginForm classRodney Ewing2013-07-031-1/+1
| | |
* | | typoRodney Ewing2013-07-031-1/+1
| | |
* | | fixed openid store cleanupAssociationsRodney Ewing2013-07-031-7/+6
| | |
* | | removed openid/lib, since the get forms functions were not needed for ↵Rodney Ewing2013-07-032-30/+1
| | | | | | | | | | | | persona plugin
* | | merge --squash openid branch to take care of a false merge commit in theRodney Ewing2013-07-0324-60/+1506
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | basic_auth branch that openid is forked from Commits squashed together (in reverse chronological order): - do the label thing only for boolean fields - made edit_account to autofocus on the first field - added feature to render_divs where if field.label == '' then it will render form.description the same a render_label - added allow_registration check - refactored create_user - removed verification_key from create_user - removed get_user from openid - cleanup after removing openid from template_env.globals - fix for werkzueg 0.9.1 - cleanup after merge - more tests - restored openid extra_validation just for safety - tests for openid - deleted openid extra_validation - passed next parameter in session for openid - fixed a bug that was deleting the messages - implemented openid store using sqlalchemy - ask openid provider for 'nickname' to prefill username in registration form - refactored delete openid url to work with generic urls such as google and to not allow a user to delete a url if it is there only one and they don't have a pw - refactored login to register user workflow, which fixed a problem where the 'or register with a password link' wasn't showing up when the finish_login view called the register view because there wasn't any redirect. - added the ability to remove openid's - added the ability to add openids to an existing account - refactored start_login and finish_login views - modified edit_account.html to use render_divs - modified gmg/edit/views to behave appropriatly if no password authentication is enabled. moved the update email stuff to it's own funtion to make edit_account view cleaner. edit_account now modifies the form depending on the plugins. - minor typos - added retrieving email from openid provider - moved allow_registration check to a decorator - moved check if auth is enabled to a decorator - changed openid user registration to go through login first - cleanup after merge - modified verification emails to use itsdangerous tokens - added error handling on bad token, fixed route, and added tests - added support for user to change email address - added link to login view openid/password in login template - updated openid get_user function - modified get_user function to take kwargs instead of username - no need for user might be email kwarg in check_login_simple - added gen_password_hash and check_password functions to auth/__init__ - added focus to form input - made imports fully qualified - modified basic_auth.check_login to check that the user has a pw_hash first - changed occurances of form.data['whatever'] to form.whatever.data - convert tabs to spaces in register template, remove unsed templates, and fixed trans tags in templates - in process of openid login. it works, but needs major imporvements - make password field required in basic_auth form - check if password field present in basic_auth create_user - modified openid create_user function - modified models based on Elronds suggestions - changed register form action to a variable to be passed in by the view using the template - openid plugin v0, still need to authenticate via openid. - added a register_user function to be able to use in a plugin's register view, and modified auth/views.register to redirect to openid/register if appropriate. - Modified basic_auth plugin to work with modified auth plugin hooks. Added context variables. Removed basic_auth/tools which was previously renamed to basic_auth/lib. - modified auth/__init__ hooks to work better with multiple plugins. Removed auth/lib.py. And added a basic_extra_verification function that all plugins will use. - added models and migrations for openid plugin
* | | fixing the config section we pull things out of for basic_authChristopher Allan Webber2013-07-031-1/+1
| | |
* | | More clarifications on what ./bin/gmg dbupdate does on each run.Christopher Allan Webber2013-06-281-0/+6
| | | | | | | | | | | | This commit sponsored by Jessica Howard. Thanks, sistah!
* | | Some documentation on how to write database migrations.Christopher Allan Webber2013-06-282-0/+57
| | | | | | | | | | | | This commit sponsored by Andrei Cristian Petcu. Thanks!
* | | typoRodney Ewing2013-06-261-1/+1
| | |
* | | do the label thing only for boolean fieldsRodney Ewing2013-06-261-1/+1
| | |
* | | made edit_account to autofocus on the first fieldRodney Ewing2013-06-261-1/+1
| | |
* | | added feature to render_divs where if field.label == '' then it will render ↵Rodney Ewing2013-06-253-9/+9
| | | | | | | | | | | | form.description the same a render_label
* | | Explain about sqlite dropping the constraint and why we're adding it back ↵Christopher Allan Webber2013-06-251-0/+2
| | | | | | | | | | | | manually.
* | | cleanup after mergeRodney Ewing2013-06-253-7/+11
| | |
* | | Merge remote-tracking branch 'upstream/master' into authRodney Ewing2013-06-2580-5537/+4234
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/app.py mediagoblin/auth/forms.py mediagoblin/auth/tools.py mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/edit/views.py mediagoblin/plugins/basic_auth/tools.py mediagoblin/tests/test_edit.py
| * | | Add a bit more docs to plugin configurationChristopher Allan Webber2013-06-251-0/+26
| |/ / | | | | | | | | | This commit sponsored by Michael Rauch. Thank you!
| * | Reverting "No more of this find_packages nonsense."Christopher Allan Webber2013-06-241-2/+2
| | | | | | | | | | | | This reverts commit b75eb88fabdac4a9fdc863969ec9472110732607.
| * | Adding a docstring to fixture_media_entryChristopher Allan Webber2013-06-221-0/+8
| | | | | | | | | | | | | | | | | | | | | It's not complete, but it makes clearer how to avoid errors with fake_upload :) This commit sponsored by Harper Sanford. Thank you!
| * | Fix the data integrity bug in test_misc.Christopher Allan Webber2013-06-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out this has to do with some additions to the fixture adding of media entries. Since the new fake_upload field is True by default, adding multiple entries that have media_files at once meant that multiple additions of FileKeynames would be added at once if they were not saved at the same time. Tricky! Thankfully, Elrond helped us figure this one out. Thanks, Elrond :) And thanks also to Aapo Rantalainen for sponsoring this commit!
| * | Padding on the header-dropdown areaChristopher Allan Webber2013-06-221-0/+1
| | | | | | | | | | | | | | | This helps make it a bit clearer that things are "contained inside" the header dropdown area.
| * | Merge remote-tracking branch 'refs/remotes/joar/notifications'Christopher Allan Webber2013-06-2228-30/+911
| |\ \ | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py
| | * | New notifications, fixedJoar Wandborg2013-06-094-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | - Remove notification-gem if notifications are null - Move comment-susbscription next to add-comment button - Add copyright header to notifications.js
| | * | New notificationsJoar Wandborg2013-06-0928-29/+891
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added request.notifications - Email configuration fixes - Set config_spec default SMTP port to `0` and switch to SSL/non-SSL default if `port == 0` - Added email_smtp_use_ssl configuration setting - Added migrations for notification tables - Added __repr__ to MediaComment(Mixin) - Added MediaComment.get_entry => MediaEntry - Added CommentSubscription, CommentNotification, Notification, ProcessingNotification tables - Added notifications.task to celery init - Fixed a bug in the video transcoder where pygst would hijack the --help argument. - Added notifications - views - silence - subscribe - routes - utility methods - celery task - Added half-hearted .active comment CSS style - Added quick JS to show header_dropdown - Added fragment template to show notifications in header_dropdown - Added fragment template to show subscribe/unsubscribe buttons on media/comment pages - Updated celery setup tests with notifications.task - Tried to fix test_misc tests that I broke - Added notification tests - Added and extended tests.tools fixtures - Integrated new notifications into media_home, media_post_comment views - Bumped SQLAlchemy dependency to >= 0.8.0 since we need polymorphic for the notifications to work
| * | | Fix by Rodney Ewing so render_http_exception works with newer Werkzeug versions.Christopher Allan Webber2013-06-221-1/+1
| | | |
| * | | Removing the "enter your password to change your email" bit.Christopher Allan Webber2013-06-214-76/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A good idea, though it feels fairly clumsy in the form, and I think if you're logged in you can already sabotage the user pretty well. This commit sponsored by Sergey Matveev. Thanks!
| * | | Merge remote-tracking branch 'refs/remotes/rodney757-github/mail'Christopher Allan Webber2013-06-2113-115/+370
| |\ \ \
| | * | | cleanup after mergeRodney Ewing2013-05-291-0/+1
| | | | |
| | * | | modified verification emails to use itsdangerous tokensRodney Ewing2013-05-297-84/+105
| | | | |
| | * | | send_verification_email was moved to auth/toolsRodney Ewing2013-05-291-1/+2
| | | | |
| | * | | form is already validated, no need to validate againRodney Ewing2013-05-291-6/+2
| | | | |
| | * | | Merge remote-tracking branch 'upstream/master' into change_emailRodney Ewing2013-05-2867-5258/+7656
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/auth/lib.py
| | * | | | added error handling on bad token, fixed route, and added testsRodney Ewing2013-05-243-7/+120
| | | | | |
| | * | | | added support for user to change email addressRodney Ewing2013-05-246-27/+150
| | | | | |
| * | | | | Indenting some stuff in pdf.html and wrapping width and height parameters in ↵Christopher Allan Webber2013-06-201-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | quotes
| * | | | | pdf: remove two unused files (we use pdf.js in an iframe, no need for our ↵Alon Levy2013-06-212-5063/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | own bastard copy) Signed-off-by: Alon Levy <alevy@redhat.com>
| * | | | | What is models_v0.py? An explaination!Christopher Allan Webber2013-06-201-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | This commit sponsored by Alex Hannan-Joyner. Thanks!
| * | | | | Now in dev mode on 0.4.1Christopher Allan Webber2013-06-171-1/+1
| | |_|_|/ | |/| | |