Commit Graph

  • 9a899af02b Merge remote-tracking branch 'upstream/master' into basic_auth Rodney Ewing 2013-05-30 16:31:15 -07:00
  • 0e4d6221fa Commenting out the max-height restriction on thumbnails. Christopher Allan Webber 2013-05-30 10:23:50 -05:00
  • ea49f37821 Explained more clearly why it's okay for interface classes to be keys. Christopher Allan Webber 2013-05-29 18:10:09 -05:00
  • 9d881aeeb4 Provide a tip on how to do interfaces via our plugin API. Christopher Allan Webber 2013-05-29 17:21:15 -05:00
  • 4001909574 Actually use the right underlining for the wtforms hooks section Christopher Allan Webber 2013-05-29 16:12:24 -05:00
  • baf2c1c96e Additional hook tips! Documentation on how to modify a wtforms form. Christopher Allan Webber 2013-05-29 15:57:58 -05:00
  • 8ae5d20f19 Where do you find hooks? How do you add them? An explaination! Christopher Allan Webber 2013-05-29 15:35:37 -05:00
  • 69b888c22c cleanup after merge Rodney Ewing 2013-05-28 10:43:57 -07:00
  • 342f06f7bd modified verification emails to use itsdangerous tokens Rodney Ewing 2013-05-22 14:51:30 -07:00
  • a90b350f71 send_verification_email was moved to auth/tools Rodney Ewing 2013-05-29 13:19:36 -07:00
  • f670f48ddd form is already validated, no need to validate again Rodney Ewing 2013-05-29 13:13:50 -07:00
  • b21220e931 Actually link to the release notes when we say "see the release notes". Christopher Allan Webber 2013-05-29 14:13:12 -05:00
  • d861ffc9ad Link to the plugin api stuff and the database plugin sections from the quickstart. Christopher Allan Webber 2013-05-29 14:10:07 -05:00
  • d28c5066e8 The pdf.js iframe view is awesome so I'm making it the default. So there! ;) Christopher Allan Webber 2013-05-28 16:36:27 -05:00
  • ab4cbb103e Fixing bug where non-image types might break if app_config['original_date_visible'] is true Christopher Allan Webber 2013-05-28 16:34:47 -05:00
  • 8087f56b07 Merge remote-tracking branch 'upstream/master' into change_email Rodney Ewing 2013-05-28 10:46:46 -07:00
  • d1c9ef47c4 removed extra argument from check_login_simple in login view Rodney Ewing 2013-05-28 09:56:16 -07:00
  • d90f44d2a4 cleanup Rodney Ewing 2013-05-28 09:28:59 -07:00
  • bd7fe0c252 Merge remote-tracking branch 'upstream/master' into basic_auth Rodney Ewing 2013-05-28 09:20:35 -07:00
  • b85d9e9567 cleanup Rodney Ewing 2013-05-28 09:05:05 -07:00
  • 0578d8b31b Conflicts: mediagoblin/auth/tools.py mediagoblin/auth/views.py mediagoblin/plugins/basic_auth/tools.py Rodney Ewing 2013-05-27 19:34:49 -07:00
  • f9e032212d added a register_user function Rodney Ewing 2013-05-24 12:52:14 -07:00
  • 75fc93686d created a check_login_simple function Rodney Ewing 2013-05-25 07:59:03 -07:00
  • 02b6892c29 moved email_debug_message to gmg/tools/mail Rodney Ewing 2013-05-24 12:48:29 -07:00
  • 97aebda7de moved send_verification_email to auth/tools Rodney Ewing 2013-05-24 12:26:45 -07:00
  • 41258916f2 removed unused import Rodney Ewing 2013-05-23 14:56:32 -07:00
  • cff285b1cb Committing extracted and compiled translations Christopher Allan Webber 2013-05-27 13:55:06 -05:00
  • b1e02e0a70 modified get_user function to take kwargs instead of username Rodney Ewing 2013-05-27 11:13:23 -07:00
  • f81206df31 no need for user might be email kwarg in check_login_simple Rodney Ewing 2013-05-27 10:38:09 -07:00
  • 0ccc722ddc Merge branch 'pre-auth' into basic_auth Rodney Ewing 2013-05-27 09:04:53 -07:00
  • f855efff87 moved fp_verification_email to auth/tools Rodney Ewing 2013-05-27 08:57:56 -07:00
  • 117a27a3aa created a check_login_simple function Rodney Ewing 2013-05-25 07:59:03 -07:00
  • 68cc79eb4a added a register_user function Rodney Ewing 2013-05-24 12:52:14 -07:00
  • 81907fa0aa moved email_debug_message to gmg/tools/mail Rodney Ewing 2013-05-24 12:48:29 -07:00
  • c6e46c6bd9 moved send_verification_email to auth/tools Rodney Ewing 2013-05-24 12:26:45 -07:00
  • d7d5ce803d removed unused import Rodney Ewing 2013-05-23 14:56:32 -07:00
  • 53012d08c5 changed User model pw_hash field to nullable and added migrations Rodney Ewing 2013-05-23 14:33:56 -07:00
  • 3b8c733b98 no need for check_login with the new check_login_simple function Rodney Ewing 2013-05-27 08:54:25 -07:00
  • 3bcdc49088 renamed lib to tools Rodney Ewing 2013-05-27 08:43:12 -07:00
  • cdc6b571e3 cleanup after merge Rodney Ewing 2013-05-27 08:39:34 -07:00
  • bcd10ad663 Merge branch 'pre-auth' into basic_auth Rodney Ewing 2013-05-27 08:25:22 -07:00
  • 199685831d Extract footer into bits/base_footer.html. Elrond 2013-05-26 13:29:02 +02:00
  • 1d321f1c71 created a check_login_simple function Rodney Ewing 2013-05-25 07:59:03 -07:00
  • 310a44d57c added a register_user function Rodney Ewing 2013-05-24 12:52:14 -07:00
  • dd39fe6052 moved email_debug_message to gmg/tools/mail Rodney Ewing 2013-05-24 12:48:29 -07:00
  • 92783bc1fd moved send_verification_email to auth/tools Rodney Ewing 2013-05-24 12:26:45 -07:00
  • 61bfe64b23 removed unused import Rodney Ewing 2013-05-23 14:56:32 -07:00
  • 8ad734afc6 changed User model pw_hash field to nullable and added migrations Rodney Ewing 2013-05-23 14:33:56 -07:00
  • 377db0e7ff added error handling on bad token, fixed route, and added tests Rodney Ewing 2013-05-21 17:25:00 -07:00
  • 89e1563f68 added support for user to change email address Rodney Ewing 2013-05-21 16:21:33 -07:00
  • f339b76a4e moving forgot_password views back to gmg/auth and cleanup Rodney Ewing 2013-05-24 18:09:57 -07:00
  • 9008e09941 fixed failing tests after rebase Rodney Ewing 2013-05-23 13:55:11 -07:00
  • b194f29fe3 added gen_password_hash and check_password functions to auth/__init__ Rodney Ewing 2013-05-23 13:28:03 -07:00
  • 57e8be21bc added focus to form input Rodney Ewing 2013-05-23 13:22:13 -07:00
  • 09ae2df4eb modified basic_auth.check_login to check that the user has a pw_hash first Rodney Ewing 2013-05-23 13:20:13 -07:00
  • 569873d8f0 changed occurances of form.data['whatever'] to form.whatever.data Rodney Ewing 2013-05-23 13:18:47 -07:00
  • 94d77e1fc1 check if password field present in basic_auth create_user Rodney Ewing 2013-05-21 11:28:56 -07:00
  • 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. Rodney Ewing 2013-05-20 11:48:40 -07:00
  • 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. Rodney Ewing 2013-05-20 08:45:04 -07:00
  • 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. Rodney Ewing 2013-05-20 08:10:19 -07:00
  • 20583e8a4d removed check_login from db mixin Rodney Ewing 2013-05-20 07:45:17 -07:00
  • ba016fda9a added Copyright header to basic_auth/forms.py Rodney Ewing 2013-05-17 13:06:46 -07:00
  • 14efa7bdf1 moved fake_login_attempt to plugins Rodney Ewing 2013-05-17 11:03:41 -07:00
  • c9dec8b3cc log a previously logged in user when switched to no_auth mode Rodney Ewing 2013-05-17 10:50:46 -07:00
  • d93cd2684b made basic_auth a default plugin Rodney Ewing 2013-05-17 10:28:43 -07:00
  • dfd3f561af added tests for no_auth feature Rodney Ewing 2013-05-17 10:20:46 -07:00
  • f644293ea8 changed from sys.exit() to raise AuthError for handling no_auth=false in config and no auth plugin present Rodney Ewing 2013-05-17 07:51:08 -07:00
  • 7a98eb73d9 existing test all passing now Rodney Ewing 2013-05-16 19:01:45 -07:00
  • fa7232913c modified test .ini files and changed tests to use basic_auth bcrypt Rodney Ewing 2013-05-15 15:56:05 -07:00
  • f65615eaf9 renamed hook as to no conflict with existing hook names Rodney Ewing 2013-05-15 13:24:43 -07:00
  • 5b6923ab84 renamed basic_auth/tools to basic_auth/lib Rodney Ewing 2013-05-15 12:44:00 -07:00
  • 0bd654a346 modified check_login function to return None instead of False to be able to have multiple plugins check_login Rodney Ewing 2013-05-15 12:08:23 -07:00
  • 9c2c9be79d moved bcrypt_gen_password_hash to basic_auth/tools and added gen_password_hash function to auth/__init__ Rodney Ewing 2013-05-14 17:38:18 -07:00
  • d54cf48a33 moved bcrypt_check_password to basic_auth/tools from auth/lib Rodney Ewing 2013-05-14 17:14:48 -07:00
  • 744f1c83b9 add a check for authentication plugin on startup and respond according to no_auth config option. allows instance to be run w/o authentication Rodney Ewing 2013-05-14 16:14:19 -07:00
  • b56b6b1e77 changed User model pw_hash field to nullable and added migrations Rodney Ewing 2013-05-13 15:49:50 -07:00
  • 0f3504e35b moved normalize_user_or_email_field to auth/tools.py from auth/forms.py Rodney Ewing 2013-05-13 15:48:56 -07:00
  • 58460a8301 moved forgot pw views to basic_auth plugin Rodney Ewing 2013-05-07 08:36:04 -07:00
  • 77e1aca8db added login.html template hook and basic_auth login template Rodney Ewing 2013-05-03 13:48:48 -07:00
  • ebbc8fe069 reset mediagoblin.ini Rodney Ewing 2013-05-03 13:28:03 -07:00
  • ee355966c8 basic_auth v0 plugin working Rodney Ewing 2013-05-03 08:50:30 -07:00
  • b75eb88fab No more of this find_packages nonsense. Christopher Allan Webber 2013-05-24 18:49:06 -05:00
  • 5471e08e7e Improved docs Joar Wandborg 2013-05-24 23:07:09 +02:00
  • 7cb7653c64 moved normalize_user_or_email_field to auth/tools.py from auth/forms.py Rodney Ewing 2013-05-23 14:29:19 -07:00
  • 5de402781f Moving statcdirect automodule doc reference to autoclass per Elrond's suggestion. Christopher Allan Webber 2013-05-23 15:56:07 -05:00
  • 14aa2eaa19 Cleaned up EXIF view Joar Wandborg 2013-05-23 22:21:02 +02:00
  • 24ede04415 Documentation changes to reflect new plugin assetlink stuff Christopher Allan Webber 2013-05-23 13:43:04 -05:00
  • 23055eb394 Full unit test for the plugin assetlink command. Christopher Allan Webber 2013-05-23 13:14:01 -05:00
  • 9230968f7e Cleaning a bit: os.path.sep.join -> os.path.join Christopher Allan Webber 2013-05-23 13:12:20 -05:00
  • 247759caa7 docstring update: link theme... and plugins! Christopher Allan Webber 2013-05-23 10:55:09 -05:00
  • 6afc8364e0 Generalize "gmg theme assetlink" -> "gmg assetlink" and cover both theme and plugins Christopher Allan Webber 2013-05-23 09:52:57 -05:00
  • bdd23c0eae test_plugin_staticdirect now works and passes. Christopher Allan Webber 2013-05-22 15:55:21 -05:00
  • 1b2cf1e823 Simple "staticstuff" plugin for writing unit tests on plugin static asset linking. Christopher Allan Webber 2013-05-22 14:20:44 -05:00
  • df69695d9e Various fixes to plugin assetlinking command. Christopher Allan Webber 2013-05-22 14:07:41 -05:00
  • 491029bc36 Moving test_user_dev->user_dev in plugin app configs & adding plugin static serving Christopher Allan Webber 2013-05-22 12:23:06 -05:00
  • 505b4b39b8 Document assetlink and staticdirect usage for plugins. Christopher Allan Webber 2013-05-22 11:51:46 -05:00
  • 2f21842159 Oh right, actually mount /plugin_static/ :) Christopher Allan Webber 2013-05-22 10:06:24 -05:00
  • 5ccb16ca20 Work towards getting plugin static linking/serving to work Christopher Allan Webber 2013-05-21 16:07:18 -05:00
  • d6d2c771bd Start of ability to have plugins provide static resources! Christopher Allan Webber 2013-05-16 10:38:45 -05:00
  • 8ca51d32b6 Move "bits" templates with dashes in them to underscores Christopher Allan Webber 2013-05-22 16:44:50 -05:00