Jake Moshenko
bf0e01fba5
Fix bugs with pushing, pulling, and deleting.
2014-06-17 16:37:48 -04:00
Jake Moshenko
bf98575feb
Add the basics of geographic data distribution and get the tests to work.
2014-06-17 16:03:43 -04:00
Jake Moshenko
f405d575a3
Remove to code path to check image for size, always use the imagestorage.
2014-06-12 19:51:17 -04:00
Jake Moshenko
fb465fd66f
Eradicate the s3 versions of the checksum and the uploading flag.
2014-06-12 19:27:43 -04:00
Jake Moshenko
22bb1dc8cc
Use the old checksum header for compatibility with older clients.
2014-06-11 22:00:37 -04:00
Jake Moshenko
7a5605a568
Add an exact abort and use it to send the expected response for 409s.
2014-06-11 16:55:38 -04:00
Jake Moshenko
78c5aec5b9
Switch the checksums to use the registry computed value, remove all assumptions of namespaced paths for legacy storage, fix an upload race condition in the registry code.
2014-06-11 15:37:45 -04:00
Jake Moshenko
4b13ddc118
Fix the size calculation to prefer the shared version if both are available.
2014-06-10 15:34:32 -04:00
Joseph Schorr
738c4a86ff
Check to make sure we can load the github user data
2014-06-04 16:12:31 -04:00
Joseph Schorr
c630d7e948
Merge branch 'master' into touchdown
...
Conflicts:
static/js/app.js
static/partials/organizations.html
test/data/test.db
2014-06-03 13:22:26 -04:00
Jake Moshenko
0057ced98c
Move GitHub build trigger behind a feature flag.
2014-05-30 18:28:18 -04:00
Jake Moshenko
d1f4fbdacc
Split out the redis hostname for user events and build logs as a string config. Modularize the user events and fix all callers.
2014-05-30 14:25:29 -04:00
Jake Moshenko
8e6328a5f0
Merge branch 'driversed' of ssh://bitbucket.org/yackob03/quay into driversed
2014-05-29 11:24:44 -04:00
Jake Moshenko
0683f2657e
Rename the email util to not conflict with a builtin library.
2014-05-28 18:22:48 -04:00
Joseph Schorr
69be86be97
Add extra seat check in the user API call and turn off user->org conversion when authentication is LDAP
2014-05-28 15:53:53 -04:00
Joseph Schorr
205362bc7b
Add UI for handling the case when an enterprise has reached its maximum seat count
2014-05-28 15:22:36 -04:00
Jake Moshenko
decefbf168
Switch the seat count for the superuser API to the real value from the license.
2014-05-28 13:54:02 -04:00
Jake Moshenko
33b43b75c0
Eliminate a lot of the if cases in create_user by separating them out. Add a limit to the number of users which can be created based on the license. Add support for creating and loading licenses.
2014-05-28 13:51:52 -04:00
Joseph Schorr
81f235e5d6
Fix error when no token is returned by Github
2014-05-23 15:20:40 -04:00
Joseph Schorr
a9a8105fbc
Add credit card expiration date to the billing info screen
2014-05-22 16:52:51 -04:00
Jake Moshenko
f6726bd0a4
Merge branch 'ldapper'
...
Conflicts:
Dockerfile
app.py
data/database.py
endpoints/index.py
test/data/test.db
2014-05-22 12:13:41 -04:00
Jake Moshenko
d14798de1d
Add a queue capacity reporter plugin to the queue. Move the queue definitions to app. Add a cloudwatch reporter to the dockerfile build queue.
2014-05-21 19:50:37 -04:00
Jake Moshenko
8c3448080c
Merge remote-tracking branch 'origin/master' into touchdown
...
Conflicts:
test/data/test.db
2014-05-21 14:43:57 -04:00
Joseph Schorr
62930aa9b5
Make sure we have a head_commit in the payload from Github
2014-05-16 15:45:13 -04:00
Jake Moshenko
8b5c781f84
Change the health check to ping the db and the redis build logs.
2014-05-13 18:53:42 -04:00
Jake Moshenko
11c6c5fa52
Merge remote-tracking branch 'origin/master' into ldapper
...
Conflicts:
app.py
2014-05-13 16:55:02 -04:00
Jake Moshenko
2da8b4737e
Fix the registry to work with unicode usernames in LDAP.
2014-05-13 15:22:31 -04:00
Jake Moshenko
5fdccfe3e6
Add an alembic migration for the full initial database with the data. Switch LDAP to using bind and creating a federated login entry. Add LDAP support to the registry and index endpoints. Add a username transliteration and suggestion mechanism. Switch the database and model to require a manual initialization call.
2014-05-13 12:17:26 -04:00
Joseph Schorr
08ccad7fe4
Add support for not using CDN-based resources. When USE_CDN = False, all CDN-based resources will instead be used from the local system.
2014-05-09 18:49:33 -04:00
Jake Moshenko
bcb993a914
Set up the build logs to use our fake build logs on test and local.
2014-05-09 18:45:11 -04:00
Jake Moshenko
027ada1f5c
First stab at LDAP integration.
2014-05-09 17:39:43 -04:00
Jake Moshenko
580bb152fe
Fix a typo in one of the abort errors.
2014-05-08 11:50:38 -04:00
Jake Moshenko
73a0cc791b
Merge remote-tracking branch 'origin/master' into touchdown
...
Conflicts:
static/js/app.js
2014-05-07 15:32:27 -04:00
Jake Moshenko
ef9fe871fc
Move the upload flag to the database, and use the database stored image size rather than going to s3.
2014-05-02 16:59:46 -04:00
Jake Moshenko
21304a5678
We are not a standalone registry.
2014-05-02 14:52:03 -04:00
Jake Moshenko
1d8cbf1376
Merge remote-tracking branch 'origin/profilelog'
2014-05-02 13:44:51 -04:00
Joseph Schorr
fe2430f158
Remove test "True" that breaks permissions on the Github trigger
2014-05-01 21:35:07 -04:00
Joseph Schorr
4da49da730
Add general+trackable logging to every request and add fine grain logging to the index and registry for determining possible performance regressions
2014-05-01 21:19:52 -04:00
Joseph Schorr
c2ed1a9e52
Add support for skipping Dockerfile builds via the [skip build] or [build skip] message
2014-05-01 15:25:46 -04:00
Joseph Schorr
c244f367ba
Start on tour UI and make some small changes to the overall Quay UI
2014-04-29 00:45:42 -04:00
Jake Moshenko
fe665118bb
Add sentry exception monitoring.
2014-04-28 18:59:22 -04:00
Jake Moshenko
0331e88fa2
Fix a stupid error in the webhook code.
2014-04-28 12:47:48 -04:00
Joseph Schorr
8f66c39ff5
Use the customer information, not an existing subscription, to determine whether the button should say "Start Free Trial" or "Subscribe"
2014-04-23 01:17:34 -04:00
Joseph Schorr
a5c2fc7185
Add a display alert that shows when the trial period ends (if applicable). Also change the name of the Subscribe buttons to "Start Trial" when no existing subscription is found
2014-04-23 01:10:31 -04:00
jakedt
189903ffe9
Send an email automatically when a payment fails.
2014-04-22 13:56:34 -04:00
jakedt
9b3f61e410
Add robots.txt and update the sitemap.
2014-04-21 19:46:00 -04:00
Joseph Schorr
50d73a1d03
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-04-17 16:53:55 -04:00
jakedt
a0cbead5aa
Update the subscription change webhook to be more friendly and not send emails for payments.
2014-04-17 16:18:37 -04:00
Joseph Schorr
d8efb399b0
Merge branch 'tagyourit'
2014-04-17 14:20:28 -04:00
jakedt
56a19aa24e
Merge remote-tracking branch 'origin/peon'
...
Conflicts:
Dockerfile
2014-04-17 13:03:40 -04:00
Joseph Schorr
975de452d7
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-04-16 22:48:09 -04:00
Joseph Schorr
a3bd2a065a
Merge branch 'githublogin'
2014-04-16 22:48:03 -04:00
jakedt
893e5136a0
Make the local userfiles 404 if the file is not there. Remove some extraneous logging from the trigger.
2014-04-16 22:43:57 -04:00
jakedt
be728ceccb
Fix the implementation of local userfiles and switch master_branch to default_branch to match the github api.
2014-04-16 22:35:47 -04:00
jakedt
31aab09be5
Sort the files before we send them to the template renderer. Remove a stack symlink if present to avoid interfering with the volume.
2014-04-16 14:23:22 -04:00
jakedt
d95c321e28
Respond to subscription change events so I can stop polling the stripe event list.
2014-04-15 17:00:32 -04:00
Joseph Schorr
ede8ed21f4
Enable DEBUGGING mode, which loads the individual script files rather than the minimized bundles created by grunt
2014-04-15 16:35:15 -04:00
jakedt
3f42d15335
Merge remote-tracking branch 'origin/master' into tagyourit
...
Conflicts:
static/css/quay.css
static/js/graphing.js
static/partials/view-repo.html
test/data/test.db
2014-04-15 15:58:30 -04:00
Joseph Schorr
5fa4733a2f
- Enable minification for the frontend JS bundle
...
- Make sure we are pegged to version 3.3.3 of D3
2014-04-15 15:58:00 -04:00
Joseph Schorr
7aab6a9fdd
Get basic grunt-ified CSS and JS working. Note that this currently uses the dist bundles for both prod and debug.
2014-04-15 15:51:32 -04:00
jakedt
dcc993a20e
Fix the cache buster.
2014-04-15 14:27:00 -04:00
jakedt
0827e0fbac
Merge remote-tracking branch 'origin/master' into ncc1701
...
Conflicts:
endpoints/web.py
static/directives/signup-form.html
static/js/app.js
static/js/controllers.js
static/partials/landing.html
static/partials/view-repo.html
test/data/test.db
2014-04-14 19:37:22 -04:00
jakedt
52fdd60779
Merge remote-tracking branch 'origin/detective'
...
Conflicts:
static/partials/repo-admin.html
2014-04-14 16:15:32 -04:00
jakedt
61a6db236f
Finish the implementation of local userfiles. Strip charsets from mimetypes in the build worker. Add canonical name ordering to the build queue. Port all queues to the canonical naming version.
2014-04-11 18:34:47 -04:00
jakedt
14fba3ae7c
Rename SERVER_NAME to SERVER_HOSTNAME to fix the subdomain routing problems.
2014-04-11 11:17:45 -04:00
jakedt
73f23f155c
Merge branch 'ncc1701' of ssh://bitbucket.org/yackob03/quay into ncc1701
2014-04-10 15:20:26 -04:00
jakedt
d39f3cc5d4
Fix the tests and implement a fake stripe.
2014-04-10 15:20:16 -04:00
Joseph Schorr
0e320c964f
- Add support for super users
...
- Add a super user API
- Add a super user interface
2014-04-10 00:26:55 -04:00
Joseph Schorr
3a3758654c
- Move all quay.io domain references to config and add new methods for easy construction of URLs
...
- Make the Olark chat live behind a feature flag
2014-04-08 20:33:20 -04:00
Joseph Schorr
da859203f7
- Add a config whitelist
...
- Send the config values to the frontend
- Add a service class for exposing the config values
- Change the directives to inject both Features and Config
- Change directive users to make use of the new scope
2014-04-08 19:14:24 -04:00
jakedt
8e9faf6121
Toward running quay in a docker container.
2014-04-07 01:20:09 -04:00
Joseph Schorr
badf002e92
Turn off all references and API calls to github login if the feature is disabled
2014-04-06 00:50:30 -04:00
Joseph Schorr
19a20a6c94
Turn off all references and API calls to billing if the feature is disabled
2014-04-06 00:36:19 -04:00
Joseph Schorr
c374e8146a
- Add code for placing the features information on the frontend
...
- Add a Features service for examining feature flags on the frontend
- Add a directive (quay-requires) that matches feature flags and, if any one does not match, removes the element from the DOM
- Add a directive (quay-show) that injects the features into the scope so that expressions of the form "Features.BILLING || something" work out of the box to show/hide the element
- Add a directive (quay-classes) that allows for setting of CSS classes on an element based on feature expression(s) such as {"!BILLING": "active"} (e.g. the BILLING flag is set to false, add the class "active".
2014-04-04 23:26:10 -04:00
Joseph Schorr
e685dced84
Fix receipt downloading by properly loading the permissions for the user/org
2014-04-04 03:01:48 -04:00
Joseph Schorr
4f4112b18d
Add show_if and hide_if methods for routes and APIs, as well as proper comparison of feature values
2014-04-03 19:32:09 -04:00
jakedt
e87ffa20cf
First attempt at making config loadable through string config overrides in an env variable.
2014-04-03 17:31:46 -04:00
Joseph Schorr
7c466dab7d
- Add an analyze method on triggers that, when given trigger config, will attempt to analyze the trigger's Dockerfile and determine what pull credentials, if any, are needed and available
...
- Move the build trigger setup UI into its own directive (makes things cleaner)
- Fix a bug in the entitySearch directive around setting the current entity
- Change the build trigger setup UI to use the new analyze method and flow better
2014-04-02 23:33:58 -04:00
jakedt
204fecc1f9
Restore the cache buster.
2014-04-02 12:22:32 -04:00
Joseph Schorr
193824a196
Change Github Login to use its own application/client ID so that we don't accidentally lower valid trigger tokens
2014-04-01 22:49:18 -04:00
Joseph Schorr
9a79d1562a
Change to store the pull robot on the repository build and only add the credentials to the queue item. This prevents the credentials from being exposed to the end user. Also fixes the restart build option
2014-04-01 21:49:06 -04:00
jakedt
d768b60a3c
Merge remote-tracking branch 'origin/master' into tagyourit
...
Conflicts:
test/data/test.db
2014-04-01 19:09:41 -04:00
jakedt
3525e383df
Merge remote-tracking branch 'origin/master' into pullinprivate
...
Conflicts:
test/data/test.db
2014-04-01 18:28:48 -04:00
Joseph Schorr
35f69b9f5b
Add support for .tar.gz build packs in the build package viewer
2014-04-01 00:23:53 -04:00
jakedt
d67a1cddc2
Merge remote-tracking branch 'origin/master' into pullinprivate
...
Conflicts:
workers/dockerfilebuild.py
2014-03-31 18:10:34 -04:00
jakedt
e7c20e1052
Add tarball support to the builder and pull github code as a tarball.
2014-03-31 15:40:24 -04:00
Joseph Schorr
6fd2440294
Handle empty GitHub repositories and do not 500 if the repository cannot be read
2014-03-28 15:32:56 -04:00
Joseph Schorr
abfc38f10a
Really fix the build status
2014-03-28 14:42:29 -04:00
Joseph Schorr
795de4235d
Change "cannot connect to redid" to be a raised exception
2014-03-28 14:20:06 -04:00
Joseph Schorr
2006917e03
Add support for pull credentials on builds and build triggers
2014-03-27 18:33:13 -04:00
jakedt
302bfb27ae
Merge remote-tracking branch 'origin/master' into tagyourit
...
Conflicts:
endpoints/api.py
static/js/app.js
static/partials/view-repo.html
test/data/test.db
test/specs.py
test/test_api_usage.py
2014-03-26 19:42:29 -04:00
jakedt
cf14d5af05
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
2014-03-26 18:37:06 -04:00
jakedt
910fabe103
Disable that pesky browser cache in the ways that matter.
2014-03-26 18:36:59 -04:00
Joseph Schorr
1fc3c922a9
Properly handle a redirect URI mismatch
2014-03-26 16:45:11 -04:00
jakedt
95dcf58b90
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
2014-03-26 16:37:33 -04:00
jakedt
4a4ea52041
Use the URL scheme and use the host in the other discovery url.
2014-03-26 16:37:28 -04:00
Joseph Schorr
2c1a31f9d1
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-03-26 16:32:39 -04:00
Joseph Schorr
85a1fdaea0
Add missing var in the index
2014-03-26 16:32:35 -04:00
jakedt
0a80f67355
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
2014-03-26 16:28:42 -04:00
jakedt
bb05daf090
Fix the discovery doc to point to the stack specific auth endpoint.
2014-03-26 16:28:35 -04:00
Joseph Schorr
6ae147de29
Handle oauth tokens in the index
2014-03-26 16:19:04 -04:00
jakedt
8fefe239b5
Fix public repository permissions checking.
2014-03-26 15:56:51 -04:00
jakedt
4d2e090bea
Fix the problem with login on new triggers.
2014-03-26 15:52:24 -04:00
jakedt
4e80f95012
Format_date has to support missing dates.
2014-03-25 18:01:50 -04:00
jakedt
8538455cef
Fix the user API to throw the nicer 401 that the FE can handle.
2014-03-25 17:58:19 -04:00
jakedt
f1a7f86780
Fix CSRF token generation.
2014-03-25 17:51:22 -04:00
jakedt
41cfadac23
Protect the search and repository list endpoints appropriately. Add more differentiating data to some need types. Remove the notification about password change from the user admin page. Select the dependent models for the visible repo list.
2014-03-25 17:26:45 -04:00
jakedt
5f98bf8dab
Merge remote-tracking branch 'origin/master' into swaggerlikeus
...
Conflicts:
endpoints/api.py
2014-03-25 15:50:03 -04:00
Joseph Schorr
4a66bd4af2
Fix the status view when it cannot be loaded
2014-03-25 15:48:12 -04:00
jakedt
f39793b3ac
Check CSRF after processing the oauth token.
2014-03-25 15:37:58 -04:00
jakedt
219fbd6950
Make the CSRF checks mandatory.
2014-03-25 14:35:19 -04:00
jakedt
f060fd6ae0
Fix and unify CSRF support across web and API endpoints.
2014-03-25 14:32:26 -04:00
jakedt
0097daebc2
Formatting changes.
2014-03-25 14:32:02 -04:00
Joseph Schorr
16d3ddd8cc
Nicely handle the case where we cannot connect to Redis
2014-03-25 13:29:06 -04:00
jakedt
b81e48cb41
Merge branch 'swaggerlikeus' of ssh://bitbucket.org/yackob03/quay into swaggerlikeus
...
Conflicts:
test/data/test.db
2014-03-25 12:43:09 -04:00
jakedt
cbc40588cb
Finally figure out what the data field is supposed to be for and use it to implement and fix 3LO.
2014-03-25 12:42:40 -04:00
Joseph Schorr
c82d1ffe98
Add ability for users to see their authorized applications and revoke the access
2014-03-24 20:57:02 -04:00
Joseph Schorr
e92cf37583
Add cancel button to the oauth authorization page, add the org icon to said page, and fix some other minor bugs
2014-03-24 18:30:22 -04:00
jakedt
283ce5e1c3
Make the new app management APIs internal and fix the schemas to work with swagger.
2014-03-24 18:16:46 -04:00
Joseph Schorr
f7c27f250b
Add full application management API, UI and test cases
2014-03-20 15:46:13 -04:00
jakedt
a9c0e016f3
Add the ability to use an oauth token to interact with the index and registry.
2014-03-20 12:09:25 -04:00
jakedt
0992c8a47e
Fix some permissions problems still around due to some usage of scopes as strings.
2014-03-19 18:21:58 -04:00
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
jakedt
f2d0a2f479
Split out organization repo roles and org management roles.
2014-03-19 14:36:56 -04:00
jakedt
6fc369bed2
Change non logged in 403s to 401s.
2014-03-19 13:57:36 -04:00
jakedt
7bd4b9a71c
Merge branch 'swaggerlikeus' of ssh://bitbucket.org/yackob03/quay into swaggerlikeus
...
Conflicts:
endpoints/api/trigger.py
2014-03-19 12:13:07 -04:00
jakedt
6267275d6f
Mark a whole slew of APIs as internal only.
2014-03-19 12:09:07 -04:00
Joseph Schorr
807fa68fe4
Fix the remainder of the API usage tests. Note that this still fails when the blueprint is registered again, so each subset of tests has to be run on its own
2014-03-18 20:32:37 -04:00
jakedt
19c7453f99
Merge branch 'swaggerlikeus' of ssh://bitbucket.org/yackob03/quay into swaggerlikeus
2014-03-18 19:21:53 -04:00
jakedt
64071b9e8e
Add a user info scope and thread it through the code. Protect the org modification API.
2014-03-18 19:21:27 -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
b0dcb5d7e3
Merge branch 'swaggerlikeus' of https://bitbucket.org/yackob03/quay into swaggerlikeus
2014-03-18 16:46:28 -04:00
Joseph Schorr
9ae4506a0d
Add OAuth usage information the API logs, have it be displayed in the logs UI and start on the code to display application information when clicked. Note that this does not (yet) do anything with the information returned as we need to wait for the mainline merge of Angular 1.2.9 (which is in master) before I can continue on the display
2014-03-18 16:45:18 -04:00
jakedt
6f39e158d6
Eliminate all of the exceptions when running the tests.
2014-03-18 15:58:37 -04:00
jakedt
e1b704bdac
We must check repository permissions before parsing args.
2014-03-18 14:45:14 -04:00
jakedt
7d163833bd
Some small fixes in the API.
2014-03-18 14:22:14 -04:00
jakedt
3b3d71bfd7
Feed error messages through a cors wrapper so that people on other domains can see what's happening.
2014-03-17 16:57:35 -04:00
jakedt
4673f40dd2
Fix the org robot create response.
2014-03-17 15:26:16 -04:00
jakedt
bb2767ff16
Fix url_for for api endpoints.
2014-03-17 15:23:49 -04:00
jakedt
535947a06d
Change the image changes to return a python block.
2014-03-17 15:10:08 -04:00
jakedt
5cc2bdbc71
Fix some errors.
2014-03-17 14:52:52 -04:00
jakedt
3542a520f5
Fix bugs, mostly related to date formatting.
2014-03-17 13:10:12 -04:00
jakedt
ddf5f2053c
Convert old style jsonschema required params to new style.
2014-03-17 12:25:41 -04:00
jakedt
5bb4008880
Fix cookie auth to work with oauth token auth. Make sure user loading is truly deferred to save DB connections.
2014-03-17 12:01:13 -04:00
Joseph Schorr
e759066ae0
Change ApiService to use the new swagger-backed discovery and the new /v1/ API endpoints. Also changes all other /api/ calls (the few that are still manually invoked)
2014-03-14 23:40:41 -04:00
Joseph Schorr
767ab1085a
Merge branch 'swaggerlikeus' of https://bitbucket.org/yackob03/quay into swaggerlikeus
2014-03-14 18:57:35 -04:00
Joseph Schorr
d469b41899
Add an oauth authorization page
2014-03-14 18:57:28 -04:00
jakedt
67353de179
Convert a current_user to get_authenticated_user in the repository api.
2014-03-14 18:41:14 -04:00
jakedt
092e236694
Write a flask-restful version of cache-control. Remove the comments to add back in post methods.
2014-03-14 18:39:31 -04:00