-
Notifications
You must be signed in to change notification settings - Fork 1k
Register Page / Registration Flow #334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
All we wanted were 4 random bytes in hex!
Simplify some code, use less confusing crypto nonsense
Fix #212 - Allow configuration of the search index
Document our current configuration options and format
Remove warehouse.download_statistics, it is now linehaul
Enable Warehouse to run on Python 3.3+, Python 2.7, and PyPy
Fix #190 - Document the requirement for uuid-ossp PostgreSQL extension
Enable the use of Camo to remove mixed content warnings
Implement the legacy XMLRPC search API
Convert new lines to line breaks when we can't render the description
Switch to using whitenoise instead of Werkzeug for static files
Document sentry's configuration
Use the new deterministic gzip support in whitenoie 0.12
I was trying to ensure compatibility with Pypi (in terms of data). Here's some notes I jotted down along the way:
Next StepsIf this looks like a good direction, I'm going to add the agreeing to the terms page, and also add the e-mail sending part of it. |
@@ -36,7 +36,7 @@ def test_basic_instantiation(): | |||
"access_token": "testing", | |||
}, | |||
"database": { | |||
"url": "postgres:///test_warehouse", | |||
"url": "postgres:///warehouse", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change (and the one in tests/test_config.yaml) intentional?
Apart from the bizarro documentation build error and my couple of notes this looks good (huge changes get fewer comments dontcha know ;) |
Not only is it not a valid HTTP header but it also doesn't exist in the API.
I've fixed the documentation error from master; please rebase. |
* modified engine to query app directly, allowing transacted methods
* fixing tests with using a connections vs an engine directly * adding tests for user registration
* fixing tests * getting coverage to 100% * fixing flake8 issues
@r1chardj0n3s thanks! I realize I should probably do smaller commits, but it's a bit hard to chunk full workflows like this... I'll definitely make sure to keep as small as possible though :) |
I'm not going to close this, but I've started porting Warehouse over to Pyramid to ease the concerns of the custom framework-ish thing I've got going on here. That work is on the pyramid branch inside this repository. I'm leaving this open because I'm going to need to port this PR over to that new branch, and I want to be able to re-use the work done here. |
@dstufft ok! Let me know if you want any help with that: I'm happy to spend some time to port it over. |
If you want to do that, that'd be great :) I wasn't going to ask that since my decision to switch is what invalidated this PR but if you're willing to do that, it'd be great! |
Anything I can do to help get Warehouse out there :) Just letting you know I'm going to start the work now. I don't have an ETA, but i'll start a pull request as soon as I have something. |
Awesome! If you need any help just let me know. Hopefully the new setup is easier to work on than before. |
@toumorokoshi is it helpful to you to have this Pull Request remain open while you work on getting register support into the Pyramid based Warehouse? If not I'll close it now that you're working on it. |
Nope! Just wanted to let people know I'd like to tackle it, but I guess that's apparent now :) |
Related to #322, this is a first draft at a registration page / registration flow. As of the initial pull request, it is the full workflow sans sending a confirmation e-mail, and and agreeing to a terms of use.