3607 Commits

Author SHA1 Message Date
Christopher Allan Webber
b21220e931 Actually link to the release notes when we say "see the release notes".
This commit sponsored by Brian Kemp.  Thank you!
2013-05-29 14:13:12 -05:00
Christopher Allan Webber
d861ffc9ad Link to the plugin api stuff and the database plugin sections from the quickstart.
This commit sponsored by Nathan Stephenson.  Thank you!
2013-05-29 14:10:07 -05:00
Christopher Allan Webber
d28c5066e8 The pdf.js iframe view is awesome so I'm making it the default. So there! ;)
This commit sponsored by Jay Turley.  Thank you!
2013-05-28 16:36:27 -05:00
Christopher Allan Webber
ab4cbb103e Fixing bug where non-image types might break if app_config['original_date_visible'] is true
Not all media managers have the .get_original_date attribute, so of
course break.  This is fixed by making a new space where individual
media types can define this if they like.

This commit sponsored by Matthieu Dupont de Dinechin.  Thank you!
2013-05-28 16:35:14 -05:00
Rodney Ewing
8087f56b07 Merge remote-tracking branch 'upstream/master' into change_email
Conflicts:
	mediagoblin/auth/lib.py
2013-05-28 10:46:46 -07:00
Rodney Ewing
d1c9ef47c4 removed extra argument from check_login_simple in login view 2013-05-28 09:56:16 -07:00
Rodney Ewing
d90f44d2a4 cleanup 2013-05-28 09:28:59 -07:00
Rodney Ewing
bd7fe0c252 Merge remote-tracking branch 'upstream/master' into basic_auth
Conflicts:
	mediagoblin/auth/tools.py
	mediagoblin/auth/views.py
	mediagoblin/plugins/basic_auth/tools.py
2013-05-28 09:20:35 -07:00
Rodney Ewing
b85d9e9567 cleanup 2013-05-28 09:05:05 -07:00
Rodney Ewing
0578d8b31b Conflicts:
mediagoblin/auth/tools.py
	mediagoblin/auth/views.py
	mediagoblin/plugins/basic_auth/tools.py
2013-05-27 19:34:49 -07:00
Rodney Ewing
f9e032212d added a register_user function
cherry picked from rodney757 and fixed for out of order
picking.
2013-05-28 01:22:19 +02:00
Rodney Ewing
75fc93686d created a check_login_simple function
cherry-picked from rodney757, fixed few conflicts due to
out of order cherry-picking. Thanks to rodney757 for making
my idea even better.
2013-05-28 00:11:36 +02:00
Rodney Ewing
02b6892c29 moved email_debug_message to gmg/tools/mail 2013-05-27 23:33:18 +02:00
Rodney Ewing
97aebda7de moved send_verification_email to auth/tools 2013-05-27 23:29:39 +02:00
Rodney Ewing
41258916f2 removed unused import 2013-05-27 23:23:34 +02:00
Christopher Allan Webber
cff285b1cb Committing extracted and compiled translations 2013-05-27 13:55:06 -05:00
Rodney Ewing
b1e02e0a70 modified get_user function to take kwargs instead of username 2013-05-27 11:14:08 -07:00
Rodney Ewing
f81206df31 no need for user might be email kwarg in check_login_simple 2013-05-27 10:38:43 -07:00
Rodney Ewing
0ccc722ddc Merge branch 'pre-auth' into basic_auth
Conflicts:
	mediagoblin/auth/tools.py
	mediagoblin/auth/views.py
	mediagoblin/plugins/basic_auth/tools.py
2013-05-27 09:04:53 -07:00
Rodney Ewing
f855efff87 moved fp_verification_email to auth/tools 2013-05-27 08:58:09 -07:00
Rodney Ewing
117a27a3aa created a check_login_simple function 2013-05-27 08:58:09 -07:00
Rodney Ewing
68cc79eb4a added a register_user function 2013-05-27 08:58:09 -07:00
Rodney Ewing
81907fa0aa moved email_debug_message to gmg/tools/mail 2013-05-27 08:58:09 -07:00
Rodney Ewing
c6e46c6bd9 moved send_verification_email to auth/tools 2013-05-27 08:58:09 -07:00
Rodney Ewing
d7d5ce803d removed unused import 2013-05-27 08:58:09 -07:00
Rodney Ewing
53012d08c5 changed User model pw_hash field to nullable and added migrations 2013-05-27 08:58:09 -07:00
Rodney Ewing
3b8c733b98 no need for check_login with the new check_login_simple function 2013-05-27 08:54:25 -07:00
Rodney Ewing
3bcdc49088 renamed lib to tools 2013-05-27 08:43:12 -07:00
Rodney Ewing
cdc6b571e3 cleanup after merge 2013-05-27 08:39:34 -07:00
Rodney Ewing
bcd10ad663 Merge branch 'pre-auth' into basic_auth
Conflicts:
	mediagoblin/auth/tools.py
	mediagoblin/auth/views.py
	mediagoblin/db/migrations.py
	mediagoblin/plugins/basic_auth/lib.py
	mediagoblin/plugins/httpapiauth/__init__.py
	mediagoblin/plugins/piwigo/views.py
2013-05-27 08:25:22 -07:00
Elrond
199685831d Extract footer into bits/base_footer.html. 2013-05-26 13:29:02 +02:00
Rodney Ewing
1d321f1c71 created a check_login_simple function 2013-05-25 07:59:03 -07:00
Rodney Ewing
310a44d57c added a register_user function 2013-05-24 18:16:53 -07:00
Rodney Ewing
dd39fe6052 moved email_debug_message to gmg/tools/mail 2013-05-24 18:16:53 -07:00
Rodney Ewing
92783bc1fd moved send_verification_email to auth/tools 2013-05-24 18:16:53 -07:00
Rodney Ewing
61bfe64b23 removed unused import 2013-05-24 18:16:53 -07:00
Rodney Ewing
8ad734afc6 changed User model pw_hash field to nullable and added migrations 2013-05-24 18:16:53 -07:00
Rodney Ewing
377db0e7ff added error handling on bad token, fixed route, and added tests 2013-05-24 18:16:12 -07:00
Rodney Ewing
89e1563f68 added support for user to change email address 2013-05-24 18:16:12 -07:00
Rodney Ewing
f339b76a4e moving forgot_password views back to gmg/auth and cleanup 2013-05-24 18:09:57 -07:00
Rodney Ewing
9008e09941 fixed failing tests after rebase 2013-05-24 16:52:50 -07:00
Rodney Ewing
b194f29fe3 added gen_password_hash and check_password functions to auth/__init__ 2013-05-24 16:52:50 -07:00
Rodney Ewing
57e8be21bc added focus to form input
Conflicts:
	mediagoblin/auth/views.py
	mediagoblin/plugins/openid/views.py
2013-05-24 16:52:50 -07:00
Rodney Ewing
09ae2df4eb modified basic_auth.check_login to check that the user has a pw_hash first 2013-05-24 16:52:49 -07:00
Rodney Ewing
569873d8f0 changed occurances of form.data['whatever'] to form.whatever.data
Conflicts:
	mediagoblin/plugins/basic_auth/__init__.py
	mediagoblin/plugins/openid/__init__.py
2013-05-24 16:52:49 -07:00
Rodney Ewing
94d77e1fc1 check if password field present in basic_auth create_user 2013-05-24 16:52:49 -07:00
Rodney Ewing
5784c12d79 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. 2013-05-24 16:52:49 -07:00
Rodney Ewing
c94316bff4 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. 2013-05-24 16:52:49 -07:00
Rodney Ewing
c3e3882e39 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. 2013-05-24 16:52:49 -07:00
Rodney Ewing
20583e8a4d removed check_login from db mixin 2013-05-24 16:52:49 -07:00