Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge branch 'pre-auth' into basic_auth | Rodney Ewing | 2013-05-27 | 2 | -13/+6 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| * | | created a check_login_simple function | Rodney Ewing | 2013-05-25 | 2 | -12/+7 | |
| |/ | ||||||
* | | moving forgot_password views back to gmg/auth and cleanup | Rodney Ewing | 2013-05-24 | 6 | -306/+3 | |
| | | ||||||
* | | added gen_password_hash and check_password functions to auth/__init__ | Rodney Ewing | 2013-05-24 | 1 | -0/+5 | |
| | | ||||||
* | | modified basic_auth.check_login to check that the user has a pw_hash first | Rodney Ewing | 2013-05-24 | 1 | -3/+4 | |
| | | ||||||
* | | changed occurances of form.data['whatever'] to form.whatever.data | Rodney Ewing | 2013-05-24 | 1 | -9/+10 | |
| | | | | | | | | | | | | Conflicts: mediagoblin/plugins/basic_auth/__init__.py mediagoblin/plugins/openid/__init__.py | |||||
* | | check if password field present in basic_auth create_user | Rodney Ewing | 2013-05-24 | 1 | -1/+1 | |
| | | ||||||
* | | Modified basic_auth plugin to work with modified auth plugin hooks. Added ↵ | Rodney Ewing | 2013-05-24 | 2 | -32/+27 | |
| | | | | | | | | context variables. Removed basic_auth/tools which was previously renamed to basic_auth/lib. | |||||
* | | removed check_login from db mixin | Rodney Ewing | 2013-05-24 | 2 | -2/+4 | |
| | | ||||||
* | | added Copyright header to basic_auth/forms.py | Rodney Ewing | 2013-05-24 | 1 | -0/+15 | |
| | | ||||||
* | | moved fake_login_attempt to plugins | Rodney Ewing | 2013-05-24 | 3 | -2/+23 | |
| | | ||||||
* | | renamed hook as to no conflict with existing hook names | Rodney Ewing | 2013-05-24 | 1 | -1/+1 | |
| | | ||||||
* | | renamed basic_auth/tools to basic_auth/lib | Rodney Ewing | 2013-05-24 | 2 | -4/+103 | |
| | | ||||||
* | | modified check_login function to return None instead of False to be able to ↵ | Rodney Ewing | 2013-05-24 | 1 | -1/+4 | |
| | | | | | | | | have multiple plugins check_login | |||||
* | | moved bcrypt_gen_password_hash to basic_auth/tools and added ↵ | Rodney Ewing | 2013-05-24 | 1 | -2/+6 | |
| | | | | | | | | gen_password_hash function to auth/__init__ | |||||
* | | moved bcrypt_check_password to basic_auth/tools from auth/lib | Rodney Ewing | 2013-05-24 | 1 | -2/+3 | |
| | | ||||||
* | | add a check for authentication plugin on startup and respond according to ↵ | Rodney Ewing | 2013-05-24 | 1 | -0/+5 | |
| | | | | | | | | no_auth config option. allows instance to be run w/o authentication | |||||
* | | moved normalize_user_or_email_field to auth/tools.py from auth/forms.py | Rodney Ewing | 2013-05-24 | 1 | -1/+1 | |
| | | ||||||
* | | moved forgot pw views to basic_auth plugin | Rodney Ewing | 2013-05-24 | 4 | -0/+267 | |
| | | ||||||
* | | added login.html template hook and basic_auth login template | Rodney Ewing | 2013-05-24 | 1 | -3/+0 | |
| | | ||||||
* | | basic_auth v0 plugin working | Rodney Ewing | 2013-05-24 | 2 | -0/+125 | |
|/ | ||||||
* | Piwigo minor fix in categories_getList. | Mats Sjöberg | 2013-05-21 | 1 | -3/+3 | |
| | ||||||
* | Piwigo: some sanity checks before adding to collection as per Elrond's ↵ | Mats Sjöberg | 2013-05-21 | 1 | -1/+2 | |
| | | | | suggestions. | |||||
* | Piwigo: return collections list only to logged in users. | Mats Sjöberg | 2013-05-21 | 1 | -6/+7 | |
| | ||||||
* | Rudimentary collections support for piwigo plugin. | Mats Sjöberg | 2013-05-21 | 1 | -2/+21 | |
| | ||||||
* | Fixed minor typo in piwigo logging. | Mats Sjöberg | 2013-05-21 | 1 | -1/+2 | |
| | ||||||
* | Refactor submit util new_upload_entry | Elrond | 2013-05-21 | 2 | -10/+4 | |
| | | | | | | This tool creates an initial media entry for a given user. No magic. It just prefills the license with the user's default license and adds the user as uploader. | |||||
* | piwigo: Return proper error for wrong user/password. | Elrond | 2013-05-20 | 2 | -6/+6 | |
| | | | | And fix tests. | |||||
* | piwigo: Add PwgError class. | Elrond | 2013-05-20 | 1 | -2/+14 | |
| | | | | | This allows to return piwigo xml errors. Those can also be matched into html error codes. | |||||
* | A bit of pep8 and small typo fix. | Elrond | 2013-05-20 | 1 | -2/+2 | |
| | ||||||
* | Added upload processing to the piwigo/addSimple | Joar Wandborg | 2013-05-19 | 1 | -3/+58 | |
| | ||||||
* | piwigo: Fix validator usage. | Elrond | 2013-05-12 | 1 | -1/+1 | |
| | | | | | wtforms.validators.Optional doesn't take an argument. I don't know, why I gave it one. | |||||
* | piwigo: Better logging for login. | Elrond | 2013-05-09 | 1 | -1/+4 | |
| | ||||||
* | piwigo: Let getStatus return the current user. | Elrond | 2013-05-09 | 1 | -1/+5 | |
| | | | | If there is a user logged in, show his name. | |||||
* | Create new session system for piwigo plugin. | Elrond | 2013-05-09 | 3 | -7/+55 | |
| | | | | | | | Using the brand new itsdangerous sessions to power the sessions for piwigo. The real point is: Clients want to have the session in a "pwg_id" cookie and don't accept any other cookie name. | |||||
* | piwigo: Add .images.add including form handling. | Elrond | 2013-05-09 | 3 | -3/+41 | |
| | | | | | To make things a bit easier, switch to WTForms for validating the received data. | |||||
* | piwigo: Remove possibly_add_cookie. | Elrond | 2013-05-09 | 1 | -15/+0 | |
| | | | | | This one was a fake thing to make clients happy. Real sessions coming sonn. | |||||
* | Fixing API setup with new plugin "config spec" world | Christopher Allan Webber | 2013-05-08 | 1 | -2/+2 | |
| | | | | | It shouldn't reference the config until in the setup_plugin() method, else there's a race condition. | |||||
* | Removed unused imports in httpapiauth | Joar Wandborg | 2013-05-05 | 1 | -2/+1 | |
| | ||||||
* | Fix-bug-667-Use-lazy_pass_to_ugettext-for-forms. | Aditi Mittal | 2013-04-24 | 1 | -1/+1 | |
| | ||||||
* | piwigo: Send NotImplemented for unknown methods. | Elrond | 2013-04-18 | 1 | -3/+2 | |
| | | | | That's somewhat, what piwigo does. | |||||
* | Use check_file_field in pwg_images_addSimple. | Elrond | 2013-04-18 | 1 | -0/+4 | |
| | ||||||
* | Start to use six for basestring. | Elrond | 2013-04-18 | 1 | -2/+3 | |
| | | | | | | six allows us to smoothly get more forward compatible with py3. The idea is to change things over to use six, when/if we feel a need for it. | |||||
* | OAuth: Support refresh tokens, etc | Joar Wandborg | 2013-04-06 | 5 | -94/+252 | |
| | | | | | | | | | | | | | | Initially I was going to write a failing test for refresh tokens. Thus this fix includes an orphaned 'expect_failure' method in test utils. I ended up writing support for OAuth refresh tokens, as well as a lot of cleanup (hopefully) in the OAuth plugin code. **Rebase**: While waiting for this stuff to be merged, the testing framework changed, it comes with batteries included regarding fails. Removed legacy nosetest helper. Also added a lot of backref=backref([...], cascade='all, delete-orphan') | |||||
* | Merge remote-tracking branch 'JDShu/649_use_form_data_field' | Elrond | 2013-03-30 | 1 | -4/+4 | |
|\ | | | | | | | | | | | | | | | | | | | * JDShu/649_use_form_data_field: Use WTForms data field in user_pages/views.py Use WTForms data field in auth/views.py auth: whitespace cleanup in views.py Use WTForms data field in plugins/oauth/views.py Use WTForms data field in submit/views.py Use WTForms data field in edit/views.py | |||||
| * | Use WTForms data field in plugins/oauth/views.py | Hans Lo | 2013-03-28 | 1 | -4/+4 | |
| | | ||||||
* | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin | Christopher Allan Webber | 2013-03-29 | 3 | -6/+47 | |
|\ \ | ||||||
| * | | Refactor file field checking. | Elrond | 2013-03-29 | 1 | -5/+3 | |
| |/ | | | | | | | | | When uploading, the file field needs some checks, it seems. So refactor them into check_file_field and use around. | |||||
| * | piwigo: Fix pwg_getversion | Elrond | 2013-03-26 | 1 | -1/+1 | |
| | | | | | | | | | | This one needs to return just "2.5.0 (Mediagoblin)" instead of "Piwigo 2...". | |||||
| * | piwigo: Start at pwg.images.addSimple. | Elrond | 2013-03-26 | 2 | -0/+43 | |
| | | | | | | | | | | | | | | | | Without a session and a logged in user, this can't go much further. Misses check for the file upload field. Need refactored test tool for this. |