Commit graph

165 commits

Author SHA1 Message Date
jakedt
3b7b12085d User scope objects everywhere. Switch scope objects to namedtuples. Pass the user when validating whether the user has authorized such scopes in the past. Make sure we calculate the scope string using all user scopes form all previously granted tokens. 2014-03-19 18:09:09 -04:00
jakedt
c93c62600d Merge remote-tracking branch 'origin/master' into swaggerlikeus
Conflicts:
	data/database.py
	endpoints/api.py
	endpoints/common.py
	templates/base.html
	test/data/test.db
	test/specs.py
2014-03-19 15:39:44 -04:00
Joseph Schorr
d7a59ef0c2 Add checks for invalid scopes in the auth approval process 2014-03-18 17:05:27 -04:00
Joseph Schorr
d469b41899 Add an oauth authorization page 2014-03-14 18:57:28 -04:00
jakedt
25ceb90fc6 Add some sort of oauth. 2014-03-12 12:37:06 -04:00
Joseph Schorr
9ca41dec95 Add a 500 error page and make it automatically display if there is a 500 error as a result of an API call 2014-03-10 17:01:36 -04:00
jakedt
5f0969778e Fix the status badge logic again. 2014-03-05 15:14:12 -05:00
jakedt
7a89b0872f Fix the tag logic. 2014-03-05 14:57:14 -05:00
jakedt
638dbb3d8d Cache the status tags and fix the tag for images that were pushed from a build. 2014-03-05 14:35:11 -05:00
Joseph Schorr
3f806b10c2 Add support for build status tags, which link to the Quay.io repo 2014-02-28 16:23:36 -05:00
jakedt
f60f9eb62a Properly connect the github push webhook with the build worker. Still need to resolve the archive format. 2014-02-18 18:09:14 -05:00
jakedt
b5d4919364 Split out callbacks into their own blueprint. Add build trigger DB information and connect it with some APIs. Stub out the UI to allow for generation of triggers. Split out the triggers into a plugin-ish architecture for easily adding new triggers. 2014-02-18 15:50:15 -05:00
Joseph Schorr
98e57b9d2b Merge branch 'master' into tutorial
Conflicts:
	endpoints/index.py
	static/css/quay.css
	static/js/app.js
	static/js/controllers.js
	test/data/test.db
2014-02-06 21:23:27 -05:00
yackob03
bd47b9adf4 Add an about page. Change the terms in the footer. Add colors to the icons for the contact options. Update the sitemap. Remove empty controllers. 2014-02-06 19:20:19 -05:00
Joseph Schorr
b7afc83204 Merge branch 'bobthe' into tutorial 2014-02-06 13:37:41 -05:00
Joseph Schorr
dbed1300ad Start on work towards the tutorial. Note that this code is BROKEN 2014-02-05 21:00:04 -05:00
yackob03
2ddbad3d39 url_for must reference the blueprint name now. 2014-01-30 17:23:14 -05:00
yackob03
845985c859 Merge branch 'security'
Conflicts:
	endpoints/api.py
	endpoints/web.py
2014-01-23 14:51:43 -05:00
Joseph Schorr
f0add0e6cf Fix return values on confirm code 2014-01-17 17:23:52 -05:00
Joseph Schorr
c738113ca4 Handle duplicate emails on confirmation and make the confirmation error page nicer 2014-01-17 17:20:51 -05:00
Joseph Schorr
a363ada41c Add ability to view and change an account’s email address 2014-01-17 17:04:05 -05:00
yackob03
82c4c8a28b Merge branch 'master' into contact
Conflicts:
	static/js/controllers.js
	templates/base.html
2014-01-15 14:32:51 -05:00
yackob03
b6d4459080 Complete the login with GitHub functionality. 2014-01-15 13:55:57 -05:00
yackob03
f311885e2a Underpinnings of the ability to connect a GitHub account to an existing Quay account. 2014-01-14 15:23:44 -05:00
yackob03
8e4bbdf1dd Add no-cache as a response header. 2014-01-02 18:01:34 -05:00
Joseph Schorr
310c98df50 Move each flask module into a Blueprint and have CSRF protection only on the API blueprint 2013-12-30 17:05:27 -05:00
Joseph Schorr
b598c7ec85 Style fixes 2013-12-28 19:56:23 -05:00
Joseph Schorr
2e3be90054 Make sure Quay cannot be shown in frames 2013-12-28 13:28:52 -05:00
yackob03
6fb6eb64e1 Fix the imports when separating out the new common.py file. 2013-12-27 18:01:44 -05:00
Joseph Schorr
3d899b9f95 Embed the discovery information directly into the page 2013-12-27 17:19:14 -05:00
Joseph Schorr
c20e7dbcf7 - Add some more analytics events
- Enable business features for personal users on business plans
- Fix a bug in the credit card image view
2013-12-20 22:38:53 -05:00
yackob03
dec74fc608 When an email code has already been used, just redirect to signin. 2013-12-18 19:47:42 -05:00
yackob03
7c93688e30 Plumbing for the contact us page. 2013-12-17 17:02:37 -05:00
yackob03
b00f58d164 Add a security page and link it from the landing page and footer. 2013-11-22 15:54:23 -05:00
yackob03
4c21273cf4 Add a trademark disclaimer for the Docker trademark. Make all references to Docker proper nouns. 2013-11-22 12:32:05 -05:00
yackob03
f5e6af37cf Fix the nginx config to work with the new snapshots. Fix the snapshot creator to correctly create the request path. 2013-11-18 19:17:58 -05:00
yackob03
6355b4a217 Fix some things with the seo snapshots and use the pep8 style guite. 2013-11-18 18:42:27 -05:00
Joseph Schorr
738973cf39 Add the snapshot endpoint to web.py and have the phantomjs running only load the page's HTML once there are no further pending XHR requests 2013-11-18 17:11:06 -05:00
Joseph Schorr
4c6012f756 Add ability to download receipts in PDF form 2013-11-18 14:49:54 -05:00
Joseph Schorr
70c02eae16 Work in progress: Organizations page (with a fake tour) and start on the locations for the create new org and convert to org forms 2013-11-07 01:48:58 -05:00
yackob03
7991c3eff8 Remove an old todo since we are actually handling the case. 2013-11-04 16:44:51 -05:00
Joseph Schorr
d7148b1711 Start on controllers and the API for organizations. Also adds fake model methods 2013-10-31 18:17:26 -04:00
Joseph Schorr
70fd9afb2b Start on new repo page 2013-10-24 17:41:55 -04:00
Joseph Schorr
e382fa1e58 Add a status page to /v1/ so that people don't get confused by the message that docker emits 2013-10-17 17:45:08 -04:00
yackob03
449c0b0d46 Add a rule for the base repository route too to serve the index page. 2013-10-15 21:50:14 -04:00
yackob03
053ae056ce Fix logins. 2013-10-15 17:49:03 -04:00
yackob03
959016a6eb Remove unnecessary calls to the database for user and permission metadata. 2013-10-15 14:48:49 -04:00
yackob03
13298be5d3 Move the register code for github login to the actual registration part, not just login. 2013-10-15 01:12:23 -04:00
yackob03
4c15072c5a Move signin to use AJAX. Render all flask templates with the common header. Move the header to a partial. Add account recovery. 2013-10-14 17:50:07 -04:00
yackob03
e3db0398ce Add routes specifically for all angular subroutes so that 404s will start working again. Add a warning in app.js to hopefully ensure that new routes get created when necessary. 2013-10-13 22:06:31 -04:00
yackob03
ce81431cd3 Enable HTML5 mode for routing. 2013-10-10 19:06:04 -04:00
yackob03
32b28df2d2 Send a registration even for github created users. Alias their new username to their old mixpanel ID passed in the OAuth state parameter. 2013-10-10 17:32:32 -04:00
yackob03
87ff939ad2 Handle some of the error cases with github login. 2013-10-10 12:55:03 -04:00
yackob03
3d89227752 First iteration of sign-in with gihub. 2013-10-09 23:00:34 -04:00
yackob03
6a038bb24e PEP8 fixes. 2013-10-08 11:29:42 -04:00
yackob03
504bc7e04e Add a status endpoint that we can use to test if the instance is serving traffic. 2013-10-02 14:35:21 -04:00
Joseph Schorr
f5798b4364 Add a super basic TOS and privacy policy 2013-10-01 17:44:13 -04:00
yackob03
a713555915 Notify the user when their account needs verification. 2013-10-01 15:43:16 -04:00
yackob03
4746f9c324 Quick fix for the signin page, we should consider moving it over to AJAX though. 2013-10-01 13:48:37 -04:00
yackob03
32581c0621 Handle the confirmation codes to validate user emails. 2013-09-27 19:55:04 -04:00
yackob03
99341f7d53 Send a confirmation email when an account is created. Links don't do anything yet. 2013-09-27 19:29:01 -04:00
yackob03
539275d04e Add sign in and sign out. 2013-09-26 20:18:36 -04:00
yackob03
9278871381 Load flask principal permissions even for web and api endpoints. 2013-09-26 16:32:09 -04:00
yackob03
08446ef59e Fix some stuff with logins and permissions, add tags to the mode. 2013-09-25 16:46:28 -04:00
yackob03
ee5ea51532 Refactor the code into modules, it was getting unweildy. 2013-09-25 12:45:12 -04:00