aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Finishes most of oauth, just decorator to completexray72242013-07-114-41/+80
|
* Adds more support for oauth - access_token & decorators still to doxray72242013-07-117-12/+259
|
* Adds oauth support up until authorizationxray72242013-07-117-42/+230
|
* Adds the docs for client registrationxray72242013-07-111-0/+158
|
* Client registration now supports application/x-www-form-urlencoded nowxray72242013-07-113-38/+118
|
* Adds update abilityxray72242013-07-111-1/+19
|
* Adds more support to begin to deal with updatesxray72242013-07-111-2/+32
|
* Working client registrationxray72242013-07-116-54/+101
|
* Moves json_response into tools/json.pyxray72242013-07-113-0/+69
|
* Moves json_response into tools/json.pyxray72242013-07-115-28/+45
|
* Revert "remove the list from response.vary. not sure why I was getting an ↵Christopher Allan Webber2013-07-101-1/+1
| | | | | | | | | error using openid without it, but everything seems to be working fine now" This reverts commit 05ceada051dad011bb9b3e1c93fb42b2d9875939. It turns out the reason for this in the first place was werkzeug backwards compatibility.
* Merge remote-tracking branch 'refs/remotes/rodney757/misc'Christopher Allan Webber2013-07-103-3/+6
|\
| * need to use .get('messages') to not get a keyerrorRodney Ewing2013-07-101-1/+1
| |
| * remove the list from response.vary. not sure why I was getting an error ↵Rodney Ewing2013-07-101-1/+1
| | | | | | | | using openid without it, but everything seems to be working fine now
| * only check password if there is a store_hashRodney Ewing2013-07-101-1/+4
| |
* | A few small formatting fixes on the release notesChristopher Allan Webber2013-07-101-0/+2
| |
* | 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