Joseph Schorr
91c829bd14
Merge branch 'master' into gitfix
2015-06-16 15:18:24 -04:00
Joseph Schorr
33b31a2451
Fix logs view in superuser panel
...
This seems to have been broken ever since we moved to syslog
2015-06-15 20:55:23 -04:00
Joseph Schorr
6e0dc1df08
Add health check endpoint to verify that the locally running DB revision matches that of the database
...
Fixes #132
2015-06-15 15:55:30 -04:00
Jake Moshenko
860c7faf61
Merge pull request #127 from coreos-inc/vatotax
...
Add support for custom fields in billing invoices
2015-06-12 16:51:46 -04:00
Joseph Schorr
e7fa560787
Add support for custom fields in billing invoices
...
Customers (especially in Europe) need the ability to add Tax IDs, VAT IDs, and other custom fields to their invoices.
Fixes #106
2015-06-12 16:45:01 -04:00
Joseph Schorr
da120a1ef2
Handle the case where GH auth fails on a trigger request
...
Fixes #124
2015-06-12 16:34:13 -04:00
Joseph Schorr
88aa5a0830
Switch BitBucket code to always use the latest commit
...
Before this change, we'd use the first commit, which could be incorrect if there are multiple commits in a single push
Fixes #99
2015-06-11 14:12:01 -04:00
Joseph Schorr
44f49a43dd
Fix creation of repositories when having a creator permission
...
This fixes the grants on a user's session when creating a repository with only the creator permission
Fixes #117
2015-06-10 16:12:42 -04:00
Jake Moshenko
e09d84b3c8
Merge pull request #55 from coreos-inc/oauthdeny
...
Fix OAuth redirect for denial action when generating for internal tokens
2015-06-05 14:00:16 -04:00
Jake Moshenko
2a2414d6af
Merge pull request #60 from coreos-inc/jwtauthentication
...
Add support for an external JWT-based authentication system
2015-06-05 13:37:42 -04:00
Joseph Schorr
8aac3fd86e
Add support for an external JWT-based authentication system
...
This authentication system hits two HTTP endpoints to check and verify the existence of users:
Existance endpoint:
GET http://endpoint/ with Authorization: Basic (username:) =>
Returns 200 if the username/email exists, 4** otherwise
Verification endpoint:
GET http://endpoint/ with Authorization: Basic (username:password) =>
Returns 200 and a signed JWT with the user's username and email address if the username+password validates, 4** otherwise with the body containing an optional error message
The JWT produced by the endpoint must be issued with an issuer matching that configured in the config.yaml, and the audience must be "quay.io/jwtauthn". The JWT is signed using a private key and then validated on the Quay.io side with the associated public key, found as "jwt-authn.cert" in the conf/stack directory.
2015-06-05 13:20:10 -04:00
josephschorr
63f289a8cb
Merge pull request #59 from jzelinskie/custom-git-fix
...
triggers: metadata.commit_sha -> metadata.commit
2015-06-02 16:10:26 -04:00
Joseph Schorr
477a3fdcdc
Add a test to verify that all important blueprints have all their methods decorated
...
This ensures that we don't accidentally add a blueprint method without either explicitly blacklisting or whitelisting anonymous access
2015-06-02 15:56:44 -04:00
Jimmy Zelinskie
e01bdd4ab0
triggers: metadata.commit_sha -> metadata.commit
...
This resolves an issue where the custom-git trigger's public facing
schema was not the same as the internal metadata schema. Instead of
breaking users, we rework the internal metadata schema to be the same as
the custom-git JSON schema. This commit also updates everything that
used `metadata.commit_sha` including the test database.
2015-06-02 15:32:28 -04:00
Joseph Schorr
075c75d031
Change to always granting a signed token if there is a valid user OR if there is valid permissions on a repository
...
This fixes the issue whereby attempting to pull a public repository as an authenticated user with anonymous access disabled caused an unexpected 401. This change also adds tests for a few other use cases to verify we haven't broken anything.
2015-06-02 15:16:22 -04:00
Joseph Schorr
c0e995c1d4
Merge branch 'master' into nolurk
2015-06-02 13:55:16 -04:00
Jake Moshenko
42da017d69
Merge pull request #48 from coreos-inc/nobots
...
Change API calls that expect non-robots to explicitly filter
2015-06-02 12:31:19 -04:00
Joseph Schorr
5516911de9
Fix OAuth redirect for denial action when generating for internal tokens
2015-06-02 12:25:59 -04:00
Joseph Schorr
25ee46f5a2
Fix bitbucket triggers when the branch tag filter removes all branches
2015-06-01 15:35:59 -04:00
Joseph Schorr
fdd43e2490
Change API calls that expect non-robots to explicitly filter
...
Before this change, we'd filter in the UI but calls to the API could allow robots accounts where we only expect real users
2015-05-26 17:47:33 -04:00
Joseph Schorr
b3ea4ecaa2
Remove unneeded mime type set; jsonify does this for us
2015-05-26 17:30:10 -04:00
Joseph Schorr
9888c3ad9b
Add an endpoint for downloading the logs of a build.
2015-05-26 17:24:18 -04:00
Joseph Schorr
ecabf086ea
Add missing newline at end of decorators.py
2015-05-26 16:48:59 -04:00
Joseph Schorr
374d1d7e89
Fix case where the auth token was not written properly for BitBucket
2015-05-26 13:40:21 -04:00
Joseph Schorr
855f3a3e4d
Have the verifyUser endpoint use the same confirm_existing_user method
...
This will prevent us from encountering the same problem as the generated encrypted password issue when using LDAP
2015-05-22 16:26:26 -04:00
Joseph Schorr
b0d763b5ff
Fix encrypted password generator to use the LDAP username, not the Quay username.
...
Currently, we use the Quay username via `verify_user` when we go to create the encrypted password. This is only correct if Quay has not generated its own different username for the LDAP user, and fails if it has. We therefore add a new method `confirm_existing_user`, which looks up the federated login for the LDAP user and then runs the auth flow using that username.
2015-05-20 16:37:09 -04:00
Jimmy Zelinskie
7bed404302
Merge pull request #33 from coreos-inc/branchregex
...
Add some more debug logging around bitbucket triggers and add some te…
2015-05-20 14:22:33 -04:00
Joseph Schorr
eb773e40a2
Add some more debug logging around bitbucket triggers and add some tests to verify we properly handle trigger branch filters
2015-05-20 14:18:12 -04:00
Jimmy Zelinskie
fe3f0dc10b
custom-git: accept commit SHAs 7+ chars in length
2015-05-20 12:53:43 -04:00
Joseph Schorr
54992c23b7
Add a feature flag for disabling unauthenticated access to the registry in its entirety.
2015-05-19 17:52:44 -04:00
Joseph Schorr
2379af71f8
Parse the client secret properly
2015-05-18 15:01:37 -04:00
Joseph Schorr
fb8e718c44
Fix OAuth 2 handler to support retrieving parameters from other places; various OAuth client (such as the Go library) send the values in the request body or even the Auth header
2015-05-18 12:38:39 -04:00
Joseph Schorr
0bc1c29dff
Switch the Python side to Swagger v2
2015-05-14 16:47:38 -04:00
Joseph Schorr
28bd9af4ff
Fix tutorial
2015-05-13 14:55:39 -04:00
Joseph Schorr
0e86fc80ca
Fix bitbucket trigger to use the specified branch name before the default branch
2015-05-13 13:55:44 -04:00
Joseph Schorr
3e1abba284
Add ability for super users to rename and delete organizations
2015-05-11 18:03:25 -04:00
Joseph Schorr
1c41d34b7c
Add ability for superusers to change user emails
2015-05-11 14:38:10 -04:00
Joseph Schorr
de6267700e
Fix bugs with the custom git trigger and make error reporting better
2015-05-10 13:38:47 -04:00
Joseph Schorr
f858caf6cd
Only return the team and repo permissions when listing robots when we absolutely need them.
2015-05-08 16:43:07 -04:00
Joseph Schorr
c767aafcd6
Make the repository API faster by only checking the log entries table once for each kind of entry, rather than twice. We make use of a special subquery-like syntax, which allows us to count those entries that are both 30 days only and 1 day old in the same query. This was tested successfully on MySQL, Postgres and Sqlite.
2015-05-07 22:49:11 -04:00
Joseph Schorr
3627de103c
Minimize the queries used when retrieve builds. Previously, we'd call out to SQL extra times per build.
2015-05-07 21:11:15 -04:00
Joseph Schorr
8eb9c376cd
Add constructors for the QuayDeferredPermissionUser so that we can avoid extraneous DB lookups of the user whenever we already have the object
2015-05-07 15:04:12 -04:00
Joseph Schorr
a46d367276
Remove unneeded repo filter
2015-05-06 20:55:17 -04:00
Joseph Schorr
e647d91e8b
Switch the repos page to use a single API call, rather than one per namespace + one for star repos
2015-05-06 19:15:03 -04:00
Joseph Schorr
2d83e5c7e7
Change to using the SSH url; git urls cannot be used with private repos on GitHub
2015-05-06 12:23:46 -07:00
Joseph Schorr
65d0332176
Skip bitbucket trigger if there is no commit branch and no commit tag
2015-05-05 09:40:23 -07:00
Joseph Schorr
df2883bfb6
Fix variable access error
2015-05-03 18:15:11 -07:00
Joseph Schorr
ff89cc9f1d
Fix key issue in gitlab
2015-05-03 18:08:14 -07:00
Jimmy Zelinskie
b3bf947af5
gitlab: consistent commit for _prepare_build
2015-05-03 17:58:30 -07:00
Joseph Schorr
0b990677a0
More code cleanup and fix bug around can_admin in the trigger_view
2015-05-03 11:02:05 -07:00
Joseph Schorr
d07f9f04e9
UI and code improvements to make working with the multiple SCMs easier
2015-05-03 10:38:11 -07:00
Joseph Schorr
f091aaa07e
Get basic support for GitLab working in the UI
2015-05-03 09:58:48 -07:00
Joseph Schorr
e3aededcbc
Merge branch 'master' into gitlab
2015-05-03 12:13:09 -04:00
Jimmy Zelinskie
3ac884beb4
gitlab oauth
2015-05-02 17:54:48 -04:00
Jimmy Zelinskie
7426a540dd
initial gitlab angular stuff
2015-05-02 13:31:54 -04:00
Jimmy Zelinskie
d21fbb1204
endpoints.trigger: address gitlab PR comments
2015-05-01 23:35:54 -04:00
Jimmy Zelinskie
ae83da75ce
endpoints.trigger: initial gitlab handler
2015-05-01 20:30:55 -04:00
Joseph Schorr
b8785dfc04
Fix github login to use the github auth endpoint
2015-05-01 12:58:50 -04:00
Joseph Schorr
c14368fc66
Fix typo
2015-04-30 16:47:16 -04:00
Joseph Schorr
b96e35b28c
Merge master into bitbucket
2015-04-30 15:52:08 -04:00
Joseph Schorr
b7317f894b
UI fixes for all the new trigger stuff
2015-04-30 15:33:19 -04:00
Jimmy Zelinskie
ded28f6b30
redirect ac-discovery=1 to the index
...
This is a temp fix because rkt doesn't follow redirects.
2015-04-30 13:03:50 -04:00
Joseph Schorr
60036927c9
Really disallow usage of the same account for an org as the one being converted. Before, you could do so via email.
2015-04-29 20:30:37 -04:00
Joseph Schorr
d5c70878c5
Get build preparation working for bitbucket and do a lot of code cleanup around this process across all the triggers. Note: tests are not yet updated.
2015-04-29 17:04:52 -04:00
Jimmy Zelinskie
edd0ba4cdb
endpoints.verbs: 202 for unfinished aci sigs
2015-04-29 15:33:20 -04:00
Joseph Schorr
6479f8ddc9
Work In Progress!
...
Get the full activation and deactivation cycle working for bitbucket.
2015-04-28 18:15:12 -04:00
Joseph Schorr
5cc91ed202
Work in progress: bitbucket support
2015-04-24 18:36:48 -04:00
Joseph Schorr
01698e8d16
Fix OAuth 500 error
2015-04-24 16:42:31 -04:00
Joseph Schorr
c480fb2105
Work in progress: bitbucket support
2015-04-24 15:13:08 -04:00
Jimmy Zelinskie
852aa33101
endpoints.trigger: activate: ret private config
2015-04-23 18:16:09 -04:00
Jimmy Zelinskie
2a13eade80
Merge pull request #22 from coreos-inc/git
...
git's a pretty cool guy
2015-04-23 17:33:36 -04:00
Jimmy Zelinskie
aa1658f0c7
endpoints.trigger: more logical comment blocks
2015-04-23 14:02:05 -04:00
Jimmy Zelinskie
07b730c7ad
generic trigger credentials
2015-04-22 17:07:16 -04:00
Joseph Schorr
d6a1493d52
Fix build logs on Safari by having the client JS handle the redirect manually, rather than the browser itself; Safari doesn't support 302 redirects to another domain inside an XHR.
2015-04-22 15:16:59 -04:00
Jimmy Zelinskie
cfcd636cc0
only send build config to admins
2015-04-22 14:30:06 -04:00
Jimmy Zelinskie
9703850e8f
enforce short SHAs throughout build pipeline
2015-04-22 13:22:04 -04:00
Jimmy Zelinskie
133ed7190e
trigger: validate that the commit is a short SHA
2015-04-22 11:24:04 -04:00
Jimmy Zelinskie
02498d72ba
almost all PR discussion fixes
2015-04-21 18:04:25 -04:00
Joseph Schorr
f1ea20315a
Finish mobilification of org view
2015-04-20 14:00:10 -04:00
Joseph Schorr
62770674d4
Switch to a 0.5 modifier
2015-04-20 13:00:56 -04:00
Joseph Schorr
ae55b8dd0e
Make the search action not return scores of zero if there is no character matching
2015-04-20 13:00:38 -04:00
Joseph Schorr
16e05e83b1
Score based on the robot short name
2015-04-20 12:51:47 -04:00
Jimmy Zelinskie
93cd459460
Merge branch 'master' into git
2015-04-20 10:58:49 -04:00
Joseph Schorr
d1e2d072ea
Add unit tests and a stronger restriction on the revert API call
2015-04-19 15:43:16 -04:00
josephschorr
56b5d7ddfb
Merge pull request #21 from coreos-inc/greatscott
...
Working time machine
2015-04-19 15:16:09 -04:00
Jimmy Zelinskie
ba2cb08904
Merge branch 'master' into git
2015-04-16 17:38:35 -04:00
Joseph Schorr
f19d2f684e
Add ability to revert tags via time machine
2015-04-16 17:18:00 -04:00
Joseph Schorr
3cd11c8f45
GitHub login fixes:
...
- Allow for case insensitivity in the org name list
- Remove the check for verified email addresses when under Enterprise; it isn't supported there.
2015-04-16 12:17:39 -04:00
Jimmy Zelinskie
2236270741
add webhook URL to custom trigger dialog
2015-04-16 12:06:48 -04:00
Jimmy Zelinskie
0c3becd204
endpoints.api.trigger: clarify token->write_token
2015-04-16 12:06:05 -04:00
Jimmy Zelinskie
3798c5f377
trigger: return non-json metadata
2015-04-15 17:02:53 -04:00
Jimmy Zelinskie
bd57c6a8fb
trigger: custom git payload JSON schema
2015-04-15 16:52:46 -04:00
Joseph Schorr
f8c80f7d11
Add a history view to the tags page. Next step will add the ability to revert back in time
2015-04-15 15:21:09 -04:00
Joseph Schorr
703f48f194
Add auto-redirect to user and org pages for the new layout
2015-04-10 15:35:23 -04:00
Joseph Schorr
1df025b57e
Change search to use a set of queries for repo lookup rather than a single monolithic query, in the hopes that this will make things significantly faster and actually useable. The individual queries have been tested by hand on MySQL, but the real test will be staging
2015-04-10 15:27:37 -04:00
Joseph Schorr
0be0aed17d
Move the repo sorting by pull count into the main matching query, to both make it more accurate and make the search faster
2015-04-09 14:41:59 -04:00
Joseph Schorr
396cba64e6
Fix search to return better results by searching for robots and namespaces in different queries.
2015-04-09 12:57:20 -04:00
Joseph Schorr
4f4bb05621
Fix search SQL issues
2015-04-08 17:41:08 -04:00
Jimmy Zelinskie
ed88e76843
custom trigger: tag with git sha
2015-04-08 16:56:47 -04:00
Joseph Schorr
19e25ac340
Merge branch 'master' into bing
2015-04-08 15:23:36 -04:00
Joseph Schorr
d09f2f6e22
Get the new context-sensitive new menu working
2015-04-07 18:33:43 -04:00
Joseph Schorr
40a6892a49
Add search tests
2015-04-07 14:05:12 -04:00
Joseph Schorr
1b56567268
Make sure also include teams from organizations that the user admins
2015-04-07 13:45:49 -04:00
Joseph Schorr
a34d56045f
Add scoring based on the string distance
2015-04-07 12:32:23 -04:00
Joseph Schorr
951b0cbab8
Start on new interactive search
2015-04-06 19:17:18 -04:00
Jimmy Zelinskie
c8b931609e
unsupported alert for robot selection
2015-04-06 14:53:54 -04:00
Jimmy Zelinskie
d0f5808a62
trigger: fix custom tags
2015-04-03 17:20:30 -04:00
Jimmy Zelinskie
f782764ba5
trigger: add commit_sha to json schema
2015-04-03 17:20:30 -04:00
Joseph Schorr
4cb7921c3a
Make sure to show public repos on the user and orgs pages
2015-04-03 14:55:09 -04:00
Joseph Schorr
094f91fb8b
Fix the tutorial's user events
2015-04-03 12:13:33 -04:00
Joseph Schorr
036c8e56e0
Add proper error handling when the config volume is mounted in a read-only state.
2015-04-02 18:54:09 -04:00
Joseph Schorr
f67eeee8c8
Start conversion of the user admin/view
2015-04-02 16:34:41 -04:00
Joseph Schorr
5fc8e632d6
Redo the permissions table to have different sections for users and robot accounts
2015-04-01 14:23:39 -04:00
Joseph Schorr
5cd500257d
Merge branch 'master' into orgview
2015-04-01 13:56:49 -04:00
Joseph Schorr
fde9666647
Add the team membership to the robots view
2015-04-01 13:56:30 -04:00
Joseph Schorr
1f5e6df678
- Fix tests
...
- Add new endpoints for retrieving the repo permissions for a robot account
- Have the robots list return the number of repositories for which there are permissions
- Other UI fixes
2015-03-31 18:50:43 -04:00
Joseph Schorr
9018cf14eb
Better UI for the permissions table in the repository, as well as fix some other avatar issues
2015-03-31 14:36:09 -04:00
Joseph Schorr
27a9b84587
Switch avatars to be built out of CSS and only overlayed with the gravatar when a non-default exists
2015-03-30 17:55:04 -04:00
Jimmy Zelinskie
7d1d53ebcb
custom trigger: initial setup wizard
2015-03-27 17:07:06 -04:00
Jimmy Zelinskie
fba61d96dc
callbacks: add proper custom git callback
2015-03-27 11:22:07 -04:00
Joseph Schorr
384d6083c4
Make sure to conduct login after the password change now that the session will be invalidated for the user
2015-03-26 20:04:32 -04:00
Jimmy Zelinskie
998c6007cd
trigger: initial custom git trigger
2015-03-26 16:20:53 -04:00
Joseph Schorr
aaf1b23e98
Address CL concerns and switch to a real encryption system
2015-03-26 15:10:58 -04:00
Joseph Schorr
e4b659f107
Add support for encrypted client tokens via basic auth (for the docker CLI) and a feature flag to disable normal passwords
2015-03-25 18:43:12 -04:00
Joseph Schorr
2459b6b467
Start on new org view
2015-03-25 15:31:05 -04:00
Jimmy Zelinskie
cd1b003ca6
buildcomponent: handle builds without resource_key
2015-03-23 15:46:23 -04:00
Joseph Schorr
85d6500daa
Merge resistanceisfutile into master
2015-03-23 15:39:08 -04:00
Jimmy Zelinskie
d29c8d60c7
trigger: pass trigger into manual_start & handle_trigger_request
2015-03-23 12:14:47 -04:00
Joseph Schorr
049148cb87
Work in progress: new image view
2015-03-20 17:46:02 -04:00
Jimmy Zelinskie
b851986cf5
add git_url to metadata, add git to buildargs
2015-03-19 18:09:27 -04:00
Jimmy Zelinskie
f6f93e9079
consolidate everything into one GitHub trigger
2015-03-19 17:12:27 -04:00
Jimmy Zelinskie
80ae3fd310
trigger-service: specific callback URLs for GH-git
2015-03-19 15:13:03 -04:00
Jimmy Zelinskie
e1def540da
endpoints.callbacks: add github-git service URL
2015-03-19 15:07:02 -04:00
Jimmy Zelinskie
89efb9f62c
endpoints.trigger: rm unused import
2015-03-19 14:37:09 -04:00
Jimmy Zelinskie
e6a7156657
triggers: gen ssh keypair outside of activate()
...
This keeps the private key from ever being exposed to the client.
2015-03-19 14:31:01 -04:00
Jimmy Zelinskie
5a29218c5c
Merge branch 'master' into git
2015-03-19 12:10:34 -04:00
Jimmy Zelinskie
e4ebfc95bb
endpoints.trigger: reminder to rm keys from config
2015-03-19 12:05:49 -04:00
Jimmy Zelinskie
1594b92f71
endpoints: initial github trigger that uses keys
2015-03-18 17:33:43 -04:00
Joseph Schorr
ab2331a486
Performance improvements for the repo API and the new repo UI
2015-03-18 14:47:53 -04:00
Joseph Schorr
56be893d7e
Fix Github Trigger handling when there is no committer
2015-03-17 16:54:18 -04:00
Joseph Schorr
699cb9a5da
Fix last modified date time handling for tags with no date times, and fix the sort ordering
2015-03-17 16:49:22 -04:00
Joseph Schorr
3c305beeea
Merge branch 'tagview'
2015-03-16 17:14:43 -04:00
Joseph Schorr
333e0acd6d
Add the builds tab
2015-03-13 15:34:28 -07:00
Joseph Schorr
81c4513ec1
Add support for the new ACI signature extension
2015-03-10 17:26:00 -07:00
Joseph Schorr
002dc083f2
Get the main repo page design working
2015-03-10 17:22:46 -07:00
Joseph Schorr
afc8e95e19
Start on new tag view
2015-03-09 22:03:39 -07:00
Jimmy Zelinskie
2355ad8d74
trackhelper: add user-agent to analytics
2015-03-06 12:02:40 -05:00
Joseph Schorr
43ab838998
Merge branch 'newbuildview'
2015-03-05 16:17:29 -05:00
Joseph Schorr
86447c0a99
Merge branch 'master' into pagesnew
2015-03-05 14:22:10 -05:00
Joseph Schorr
2e840654d3
PR changes
2015-03-05 12:07:39 -05:00
Joseph Schorr
c47c9d6cb4
Don't send the full image list on the /images call, as Docker doesn't seem to be using it anyway
2015-03-04 16:36:32 -05:00
Joseph Schorr
4ca5d9b04b
Add support for filtering github login by org
2015-03-03 19:58:42 -05:00
Jimmy Zelinskie
15e76d11f1
remove all pylint comments
2015-03-03 16:53:05 -05:00
Joseph Schorr
edafa26e6e
Fix email confirmation for users created through the superuser API
2015-03-03 14:26:48 -05:00
Jake Moshenko
a37978c971
Move the user creation feature flag check to the user creation path of the user login post method.
2015-03-02 15:38:03 -05:00
Jimmy Zelinskie
9dd6e8e639
api/user: remove log_action comments for stars
...
It is not necessary to log the starring of repositories.
2015-03-02 13:25:58 -05:00
Joseph Schorr
e227d7e526
Start on the new build view
2015-02-26 17:45:28 -05:00
Jimmy Zelinskie
fb0d3d69c2
changes to reflect PR comments (not finished)
2015-02-24 17:50:54 -05:00
Joseph Schorr
b7901d2adb
Add trigger metadata (which includes the SHA) and the built image_id to the event data
2015-02-24 15:13:51 -05:00
Jake Moshenko
204f58d95b
Switch temporary token to grants now that the production stack supports both.
2015-02-24 13:22:19 -05:00
Jake Moshenko
6601e98770
Temporarily switch back to the old type of access tokens.
2015-02-24 12:09:14 -05:00
Jimmy Zelinskie
a9fe26fb56
api: fix bug in showing starred logic
2015-02-23 15:36:05 -05:00
Jimmy Zelinskie
3dbaafbd60
Merge branch 'pagesnew' into star
2015-02-23 15:07:49 -05:00
Jake Moshenko
450b112f2c
Propagate the grant user context to the signed grant to fix image sharing.
2015-02-23 15:07:38 -05:00
Joseph Schorr
83d25d8c2b
Add a page for toggling the cookie used for the new layout experiment
2015-02-23 14:48:33 -05:00
Jimmy Zelinskie
35a2414d85
tests: star security tests
2015-02-23 14:23:32 -05:00
Joseph Schorr
5f605b7cc8
Fix queue handling to remove the dependency from repobuild, and have a cancel method
2015-02-23 13:38:01 -05:00
Jimmy Zelinskie
3780434279
endpoints.api.user: require useradmin for star ops
2015-02-19 17:03:36 -05:00
Jake Moshenko
78c8354174
Switch our temporary token lookups for signed grants which will not require DB access.
2015-02-19 16:54:23 -05:00
Jake Moshenko
4e5d671349
Fix a bug in the concurrent push code which prevented failed pushes from being resumed.
2015-02-19 16:46:01 -05:00
Jimmy Zelinskie
917dd6b674
Merge branch 'master' into star
2015-02-18 17:36:58 -05:00
Jake Moshenko
ec01373240
Rename the config variable for temp tag expiration per the pull request feedback.
2015-02-18 17:06:41 -05:00
Jake Moshenko
41108a0856
Allow tags to be marked as hidden. Create a hidden tag on every image during a push to prevent them from getting GCed.
2015-02-18 17:05:16 -05:00
Jake Moshenko
59b794dd61
Move the creation of images to when the JSON is uploaded.
2015-02-18 17:04:25 -05:00
Joseph Schorr
89eb5bdcc5
Merge branch 'quark'
2015-02-18 15:59:36 -05:00
Joseph Schorr
a5ff765f3b
Validate that we have a valid JSON body
2015-02-18 15:57:05 -05:00
Joseph Schorr
7c81d90cda
Start recording the commit sha and other metadata about github triggered builds. We'll eventually show this information in the UI
2015-02-18 14:12:59 -05:00
Jake Moshenko
2dd03f1bed
Merge remote-tracking branch 'origin/master' into rockyhorror
...
Conflicts:
test/data/test.db
2015-02-18 10:56:01 -05:00
Joseph Schorr
854c6e8ba3
Add a try-catch around the realtime logs stuff
2015-02-17 19:18:56 -05:00
Joseph Schorr
ff7e97faf7
Merge branch 'master' into quark
2015-02-17 19:16:12 -05:00
Joseph Schorr
524705b88c
Get dashboard working and upgrade bootstrap. Note: the bootstrap fixes will be coming in the followup CL
2015-02-17 19:15:54 -05:00
Joseph Schorr
83e05d2342
Add tracking of the kind of temporary access tokens, so we can display if a pull/push by token is for a build worker
2015-02-17 12:35:16 -05:00
Joseph Schorr
79f39697fe
- Fix superuser panel for debugging
...
- Start work on the gauges panel
2015-02-17 11:31:50 -05:00
Joseph Schorr
fbdbc21eb1
Merge branch 'master' into quark
2015-02-13 16:24:53 -05:00
Joseph Schorr
81ce4c771e
Add ability to cancel builds that are in the waiting state
2015-02-13 15:54:01 -05:00
Jake Moshenko
4a921a49b9
Merge remote-tracking branch 'origin/master' into rockyhorror
2015-02-12 16:24:30 -05:00
Joseph Schorr
f84d1bad45
Handle internal errors in a better fashion: If a build would be marked as internal error, only do so if there are retries remaining. Otherwise, we mark it as failed (since it won't be rebuilt anyway)
2015-02-12 16:19:44 -05:00
Jake Moshenko
b154e7acef
Merge remote-tracking branch 'origin/master' into rockyhorror
2015-02-12 15:27:28 -05:00
Jake Moshenko
990739b1e5
Add the APIs required to change the time machine policy for users and organizations.
2015-02-12 14:37:11 -05:00
Joseph Schorr
f107b50a46
Merge branch 'master' into ackbar
2015-02-12 12:04:45 -05:00
Jake Moshenko
90c0a9c1e0
First stab at time machine using fixed two week expiration policy.
2015-02-11 14:15:40 -05:00
Jake Moshenko
0f3d87466e
Unify the logging infrastructure and turn the prod logging level to INFO in preparation for picking up a new cloud logger.
2015-02-11 14:15:18 -05:00
Joseph Schorr
045614c6c8
Merge branch 'master' into ackbar
2015-02-09 17:16:42 -05:00
Joseph Schorr
09a10b6153
Have cache busting hashes be generated as part of the build process.
2015-02-06 17:52:09 -05:00
Joseph Schorr
5f431e966e
Add x86_64 compatibility check
2015-02-06 12:22:27 -05:00
Joseph Schorr
cf774e23df
Merge branch 'master' into v2
2015-02-05 15:37:14 -05:00
Joseph Schorr
bc119aed22
Clarify why we need database.UserThenDisconnect
2015-02-05 15:00:19 -05:00
Joseph Schorr
9dfe523615
Merge master changes
2015-02-05 13:11:16 -05:00
Joseph Schorr
bfb0784abc
Add signing to the ACI converter
2015-02-04 15:29:24 -05:00
Joseph Schorr
a1938593a9
Better handling of retries on build errors
2015-02-03 16:29:47 -05:00
Jimmy Zelinskie
844a960608
linter: rm unused imports, shut the linter up
2015-02-02 16:38:58 -05:00
Jake Moshenko
432da28b42
Reduce the retry count to 2.
2015-02-02 15:28:51 -05:00
Joseph Schorr
84e5c0644e
Address comments
2015-02-02 14:07:32 -05:00
Jake Moshenko
64750e31fc
Add the ability to select for update within transactions to fix some write after read hazards. Fix a bug in extend_processing.
2015-01-30 16:32:13 -05:00
Joseph Schorr
1022355bb1
Revert changes accidentally checked in
2015-01-29 15:00:44 -05:00
Joseph Schorr
9583023749
Start cleanup in prep for merge
2015-01-29 14:25:42 -05:00
Jake Moshenko
84f5780c1d
Up the number of retries available for builds.
2015-01-29 11:52:42 -05:00
Jake Moshenko
b12c56f227
Merge remote-tracking branch 'origin/master' into ephemeral
2015-01-29 11:04:13 -05:00
Joseph Schorr
d359c849cd
Add the build worker and job count information to the charts
2015-01-28 17:12:33 -05:00
Joseph Schorr
2eceb01e63
Add a bit better exception logging in the layer handling
2015-01-28 12:39:00 -05:00
Joseph Schorr
63cd6ffcc3
Start on adding usage charts
2015-01-28 12:35:01 -05:00
Joseph Schorr
30b895b795
Merge branch 'grunt-js-folder' of https://github.com/coreos-inc/quay into ackbar
2015-01-23 17:26:14 -05:00
Joseph Schorr
c8229b9c8a
Implement new step-by-step setup
2015-01-23 17:19:15 -05:00
Jake Moshenko
44f7ab53a2
Merge remote-tracking branch 'origin/master' into ephemeral
2015-01-21 13:39:27 -05:00
Joseph Schorr
1cce87b136
Add is_testing info and mirror the moved endpoints so we can migrate safely.
2015-01-20 16:58:29 -05:00
Joseph Schorr
b74b7de197
Clean up the health checking code and move the endpoints to /health/instance and /health/endtoend.
2015-01-20 16:53:05 -05:00
Joseph Schorr
92d32bc636
Make the DB health check first attempt a simple DB connection. If the database is in the middle of a failover, this will fail after 3 seconds (the connection timeout specified), rather than hanging and causing the ELB health checks to timeout and fail.
2015-01-20 14:46:22 -05:00
Joseph Schorr
28d319ad26
Add an in-memory superusermanager, which stores the current list of superusers in a process-shared Value. We do this because in the ER, when we add a new superuser, we need to ensure that ALL workers have their lists updated (otherwise we get the behavior that some workers validate the new permission and others do not).
2015-01-20 12:43:11 -05:00
Joseph Schorr
2a89accc49
Fix exception handling in the registry health check and make sure the user_loader is registered before the process is forked
2015-01-16 22:41:54 -05:00
Jimmy Zelinskie
296fc938a2
Merge pull request #5 from coreos-inc/regcheck
...
Have the health check also ping the registry endpoint to make sure it is...
2015-01-16 16:08:10 -05:00
Joseph Schorr
b89ba61286
Change to only run the cloud watch reporter in the gunicorn_web
2015-01-16 13:44:29 -05:00
Joseph Schorr
2bae008bb1
Add a timeout to the health check on the registry workers
2015-01-16 13:22:54 -05:00
Joseph Schorr
99bd16a69c
Fix github names for private orgs
2015-01-15 15:02:20 -05:00
Joseph Schorr
a4de476a85
Have the health check also ping the registry endpoint to make sure it is functional.
2015-01-14 23:39:58 -05:00
Joseph Schorr
5bbf1d0c14
Make sure the ac-discovery URL is generated properly from config values
2015-01-13 18:00:01 -05:00
Joseph Schorr
6ed28930b2
Work in progress: Docker -> ACI conversion
2015-01-13 17:46:11 -05:00
Joseph Schorr
6d604a656a
Move config handling into a provider class to make testing much easier
2015-01-09 16:23:31 -05:00
Joseph Schorr
47fb10b79f
Merge branch 'master' into ackbar
2015-01-08 13:57:39 -05:00
Joseph Schorr
5e0ce4eea9
Add validation of github to the config tool
2015-01-08 13:26:24 -05:00
Joseph Schorr
7933bd44fd
Add tests for the new super user config API and make sure both super user API endpoint sets are all guarded against being used in production
2015-01-08 12:53:36 -05:00
Joseph Schorr
f125efa8ca
Fix broken check
2015-01-07 16:42:09 -05:00
Joseph Schorr
63504c87fb
Get end-to-end configuration setup working, including verification (except for Github, which is in progress)
2015-01-07 16:20:51 -05:00
Joseph Schorr
219730c341
Better config defaults and remove some unneeded code
2015-01-05 13:01:32 -05:00
Joseph Schorr
40d2b1748f
Fix handling of secret key: We now generate it on app startup if it doesn't exist in the config (which it doesn't anymore in the base config.py).
2015-01-05 12:31:02 -05:00
Joseph Schorr
27e7447569
Fix spacing
2015-01-05 12:12:00 -05:00
Joseph Schorr
8085ff81a8
Only call get_authenticated_* once in the track_and_log, and add better logging to it
2015-01-04 14:50:08 -05:00
Joseph Schorr
1bf25f25c1
WIP
2015-01-04 14:38:41 -05:00
Jimmy Zelinskie
8464b54ad9
star status shown in normal repo listings
2014-12-30 15:07:14 -05:00
Jimmy Zelinskie
e8cd24781a
remove 'include_starred' option on repo listings
2014-12-29 14:11:46 -05:00
Joseph Schorr
30c7cbb80b
Merge branch 'master' of https://github.com/coreos-inc/quay
2014-12-29 12:29:03 -05:00
Joseph Schorr
cac19cac57
Add back in the ability to create users
2014-12-23 14:25:04 -05:00
Joseph Schorr
4ca877c1d4
Add ability to download system logs
2014-12-23 14:01:00 -05:00
Joseph Schorr
5c7a9d0daf
Add the ability to view the system logs in the superuser endpoint
2014-12-23 11:40:51 -05:00
Jake Moshenko
e53b6b0e21
Merge remote-tracking branch 'origin/master' into ephemeral
2014-12-22 12:14:59 -05:00
Jake Moshenko
12ee8e0fc0
Switch a few of the buildman methods to coroutines in order to support network calls in methods. Add a test for the ephemeral build manager.
2014-12-22 12:14:16 -05:00
Jimmy Zelinskie
6968c148f7
Allow redirects to specific tags
2014-12-18 16:01:59 -05:00
Joseph Schorr
914df9af1a
Merge branch 'master' of https://github.com/coreos-inc/quay
2014-12-18 18:08:59 +02:00
Joseph Schorr
5168f47321
Only lookup if the repo is public if necessary
2014-12-18 18:08:50 +02:00
Jimmy Zelinskie
a6762531e8
remove unused imports
2014-12-16 12:16:49 -05:00
Joseph Schorr
107847a4bb
Fix Slack notification setup to support the new slack web hook format and convert all existing data to use the new format (so we only have one code path)
2014-12-16 14:34:43 +02:00
Jimmy Zelinskie
5a484cfe11
Initial redesigned UI for repo listings w/ stars.
2014-12-11 15:07:41 -05:00
Joseph Schorr
73ebcd45e3
Only perform the heartbeat check if the build is actually running. If it has completed, or has an error, then we know it is done.
2014-12-11 21:10:54 +02:00
Jimmy Zelinskie
4f5a78ca2c
Add missing args param.
2014-12-02 17:32:43 -08:00
Jimmy Zelinskie
aa4903c3cd
add docs for star repo api
2014-12-02 17:31:21 -08:00
Jimmy Zelinskie
eb956e5b7d
initial work on adding models for starring repos.
...
I'm sick of using `git stash`.
2014-12-02 17:31:21 -08:00
Jimmy Zelinskie
f3259c862b
Merge branch 'koh'
...
Conflicts:
auth/scopes.py
requirements-nover.txt
requirements.txt
static/css/quay.css
static/directives/namespace-selector.html
static/js/app.js
static/partials/manage-application.html
templates/oauthorize.html
2014-12-01 12:30:09 -08:00
Joseph Schorr
72d613614d
Merge branch 'bagger'
2014-12-01 12:48:59 -05:00
Jimmy Zelinskie
8591889c62
Generate PNG avatars.
2014-11-26 16:52:24 -05:00
Joseph Schorr
b7a489813a
Fix build system to work with Github Enterprise
2014-11-26 12:37:20 -05:00
Jimmy Zelinskie
eab79ff1ad
Add caching headers to avatar endpoint.
2014-11-26 10:54:16 -05:00
Jimmy Zelinskie
182c87b983
Remove unused imports.
2014-11-26 10:53:51 -05:00
Joseph Schorr
b3240de1f8
Rename gravatar field after the bees merge.
2014-11-25 19:59:24 -05:00
Jimmy Zelinskie
d9f0d36dfe
Add missing InvalidResponse class.
2014-11-25 16:08:01 -05:00
Joseph Schorr
3a935822fc
Fix PhantomJS by always using the local copy of CDN files, and making sure to specify TLS (instead of the default SSLv3, which is now deprecated)
2014-11-25 15:32:10 -05:00
Joseph Schorr
0e13ef3ff8
Fix various bugs and styling issues
2014-11-24 19:40:03 -05:00
Joseph Schorr
7bf96c506f
Merge branch 'bees' into koh
2014-11-24 19:25:53 -05:00
Joseph Schorr
e9cac407df
Add a configurable avatar system and add an internal avatar system for enterprise
2014-11-24 19:25:13 -05:00
Jimmy Zelinskie
716d7a737b
Strip whitespace from ALL the things.
2014-11-24 16:07:38 -05:00
Joseph Schorr
b8e873b00b
Add support to the build system for tracking if/when the build manager crashes and make sure builds are restarted within a few minutes
2014-11-21 14:27:06 -05:00
Jimmy Zelinskie
dee4c389a8
Base sessions on UUIDs.
...
Now that a backfill has been applied, sessions can now be based on UUIDs
because all users will have one.
2014-11-20 18:44:36 -05:00
Jake Moshenko
2b8c246476
Temporarily put user rename behind a feature flag. Switch queue names back to using the username for namespace while we figure out a real migration strategy.
2014-11-20 15:36:39 -05:00
Jake Moshenko
768a60b414
Redirect to repository pages if the repository exists, and it's public or the user has read access, and the route doesn't match any other route.
2014-11-20 15:12:37 -05:00
Jimmy Zelinskie
12ff4b107c
Undo sessions being driven by UUID.
...
Basing sessions on UUIDs must be done in phases. First all users
must obtain an UUID. Once a backfill has given all previous users
UUIDs and new users are being generated with UUIDs, then we can
actually change the session to be based on that value.
2014-11-20 12:57:17 -05:00
Joseph Schorr
8fab3b6d34
Make sure to switch the context back to LogEntry and make sure to only include the performer if actually present
2014-11-20 12:04:53 -05:00
Jimmy Zelinskie
9d677b8eb3
Add UUID to User model and use in cookie.
2014-11-19 13:28:16 -05:00
Jake Moshenko
3815e9a293
Switch to installing paths in github which do not include repository information.
2014-11-18 10:29:59 -05:00
Jake Moshenko
a7bae6c1d9
Fix robot renaming. Allow for trigger URLs to contain or omit the repository in the path. Fix calls to get_trigger to remove the namespace and repository.
2014-11-18 10:24:48 -05:00
Jake Moshenko
f4681f2c18
Merge branch 'master' into nomenclature
...
Conflicts:
test/data/test.db
2014-11-17 17:59:59 -05:00
Joseph Schorr
58ca76239b
Add ability to one-click generate an authorization access token in the applications panel
2014-11-17 14:54:07 -05:00
Joseph Schorr
ccc16fd6f4
Merge branch 'master' into bees
2014-11-17 13:14:27 -05:00
Joseph Schorr
003afc0c25
Add back the accidentally removed user event code. This fixes the tutorial.
2014-11-14 19:55:31 -05:00
Joseph Schorr
3e550b4b71
Make sure to sort the images for the squashed image system
2014-11-13 15:13:44 -05:00
Joseph Schorr
e7cbda86f7
Merge branch 'perf'
2014-11-10 21:52:27 -05:00
Joseph Schorr
091f821a6a
- Rename get_repo_image to get_repo_image_extended and get_repo_image_directly to get_repo_image
...
- Remove the configure call from CloseForLongOperation
- Other small fixes
2014-11-10 13:44:36 -05:00
Joseph Schorr
a1147236ea
Fix OAuth login to try usernames until it finds a valid username
2014-11-10 11:30:47 -05:00
Jake Moshenko
ca435fc7a6
Rename robots when we rename a user. Do not use the namespace from the path to check permissions from the incoming webhooks since the namespace may have changed and we cannot recreate them in remote services easily.
2014-11-09 17:50:57 -05:00
Joseph Schorr
691be49817
Fix issues with the perf updated code
2014-11-07 14:36:32 -05:00
Joseph Schorr
9d1b6d829a
Make sure the external login link for GHE links to the enterprise GitHub and not the hosted version
2014-11-06 20:35:52 -05:00
Joseph Schorr
d5bbb57481
Change registry code to disconnect from the DB before long I/O operations
2014-11-06 18:00:52 -05:00
Joseph Schorr
23d9bd2b42
Change verbs to use short lived database connections
2014-11-06 17:50:48 -05:00
Joseph Schorr
c569299e5c
Database optimizations around image creation and logs lookup
2014-11-06 14:48:16 -05:00
Joseph Schorr
3e79379942
- Make the OAuth config system centralized
...
- Add support for Github Enterprise login
2014-11-05 16:43:37 -05:00
Joseph Schorr
a35bc11912
Add perf comments
2014-11-05 12:27:38 -05:00
Joseph Schorr
6adf4644b4
Remove unneeded extra logging call
2014-11-03 17:17:05 -05:00
Joseph Schorr
98602a2d0c
Add a new configurable health check, to make sure production instances are not taken down by Redis or non-local DB issues
2014-11-02 15:06:17 -05:00
Joseph Schorr
4eedd54b66
- Make usage language more accurate by stating "repositories"
...
- Have usage counter be based on a 4 weeks TTL
- Add a simple usage counter breakage test
2014-10-30 13:26:02 -04:00
Joseph Schorr
79e4864eb2
Move the the track_and_log code into its own module. This breaks a dependency chain between index -> common -> api -> subscribe -> common again.
2014-10-30 12:49:51 -04:00
Joseph Schorr
c1398c6d2b
- Add a log entry for repo verb handling and make the container usage calculation take it into account
...
- Move all the repo push/pull/verb logging into a central track_and_log method
- Readd images accidentally deleted in the last CL
- Make the uncompressed size migration script better handle exceptions
2014-10-29 15:42:44 -04:00
Joseph Schorr
dfe143270c
Add is_testing value to the status endpoint
2014-10-29 13:51:05 -04:00
Joseph Schorr
e7f98d991f
Fix bug which caused manual builds to always build the master branch
2014-10-29 12:04:34 -04:00
Joseph Schorr
109850b428
Add a basic usage counter for enterprise
2014-10-28 16:33:13 -04:00
Joseph Schorr
93cd7de0e0
Handle email errors in a better manner
2014-10-28 12:10:44 -04:00
Joseph Schorr
fb2470615b
Add support for filtering based on tags, in addition to branches
2014-10-23 16:39:10 -04:00
Jake Moshenko
1461310ab8
Merge remote-tracking branch 'origin/master' into nomenclature
...
Conflicts:
endpoints/common.py
endpoints/notificationhelper.py
test/data/test.db
workers/dockerfilebuild.py
2014-10-23 13:25:37 -04:00
Joseph Schorr
5db9cd948b
Add better (jinja-based) messaging to the notifications and add some fixes for the email templates
2014-10-22 19:01:56 -04:00
Joseph Schorr
ea96dbb2ad
Remove the pushed_image_count since we aren't getting the data anyway
2014-10-22 15:26:29 -04:00
Joseph Schorr
208c97776f
Make sure builds are queued under a transaction. This should prevent a queue item from existing without its repository build object (or vice versa).
2014-10-22 15:20:53 -04:00
Joseph Schorr
8b331b453e
Make the contact page dynamic so that enterprise customers can configure it however they like
2014-10-22 14:49:33 -04:00
Joseph Schorr
612a5e5102
Fix the updated_tags information by storing it in the session
2014-10-22 14:14:56 -04:00
Joseph Schorr
0ef17b082b
Make sure to disconnect from the database when finished with the processes
2014-10-21 17:40:57 -04:00
Joseph Schorr
47be7cab7a
Compute the tarsum only when required. Newer versions of Docker only require the simple SHA256 checksum, so this should save us from writing to a temp file.
2014-10-20 13:11:33 -04:00
Joseph Schorr
5e74edc116
Add extra image check for put_image_checksum
2014-10-17 17:57:10 -04:00
Joseph Schorr
346b594b66
Make the external login error messaging nicer when an email address conflict occurs
2014-10-17 11:44:31 -04:00
Joseph Schorr
a423032e80
- Make sure we log when an exception occurs in the squashing code
...
- Have queue file always try to return any remaining data in the buffer
- Remove the raise of the exception when we get an empty tar file
2014-10-16 12:54:16 -04:00
Joseph Schorr
d43109d7cb
- Merge branch 'master' into sha-lom
...
- Extract out the tar handling from streamlayerformat into tarlayerformat
- Add a new tarfileappender class to make it easy to append data to gzipped tars
- Fix the gzipwrap to properly close
- Have the .git injection use the new appender
2014-10-15 15:51:34 -04:00
Joseph Schorr
da28bc4ce9
- Handle missing images properly
...
- Add support for deleting directories
- Add a slew of tests for deletion of directories and other kinds of deletion and layering
2014-10-14 21:40:02 -04:00
Joseph Schorr
c3171a2690
Redo the UI for the trigger setup dialog and add the ability for github triggers to be filtered using a regex on their branch name.
2014-10-14 15:46:35 -04:00
Joseph Schorr
37aa70c28e
Notifications must check for the user OR an organization with the namespace name
2014-10-10 19:05:20 -04:00
Joseph Schorr
07f3bd6f8c
Add a synthetic .git directory containing the commit sha so that 'git rev-parse HEAD' works from inside builds
2014-10-10 17:20:07 -04:00
Joseph Schorr
adc915a5eb
Fix the subprocesses to also use their own storage classes; this fixes a socket error when talking to S3
2014-10-08 16:54:03 -04:00
Joseph Schorr
d16fdde528
Fix bug in dockerloadformat and make sure we handle exceptions properly in the verb call
2014-10-08 13:43:12 -04:00
Jake Moshenko
a0d94f9d59
Merge remote-tracking branch 'origin/laffa' into nomenclature
...
Conflicts:
test/data/test.db
2014-10-07 15:56:28 -04:00
Joseph Schorr
f38ce51943
Merge master into laffa
2014-10-07 14:03:17 -04:00
Jake Moshenko
ed8bcff39e
Merge remote-tracking branch 'origin/master' into nomenclature
...
Conflicts:
test/data/test.db
workers/dockerfilebuild.py
2014-10-06 10:29:39 -04:00
Jake Moshenko
6bc982b77b
Add a note about updating nginx config when updating the _ping endpoint.
2014-10-06 10:24:40 -04:00
Joseph Schorr
e0993b26af
Make query params only read from query params, not JSON as well
2014-10-03 15:05:34 -04:00
Joseph Schorr
e654b2b608
Branch.name has to use a dot accessor, not a dict lookup
2014-10-03 12:35:58 -04:00
Joseph Schorr
1d8ec59362
Merge branch master into bees
2014-10-02 15:08:32 -04:00
Joseph Schorr
c682899861
Add a feature flag to disable user creation
2014-10-02 14:49:18 -04:00
Jake Moshenko
5c18ffe67d
Allow the namespace column to be null, and also non-unique. Fix the uncompressed size clobbering the size on the wire field. Add metadata constraints so that foreign key constraints get predictable names. Fix all downgrade migrations.
2014-10-02 10:46:20 -04:00
Jake Moshenko
e8b3d1cc4a
Phase 4 of the namespace to user migration: actually remove the column from the db and remove the dependence on serialized namespaces in the workers and queues
2014-10-01 14:23:46 -04:00
Joseph Schorr
d9c7e92637
Add superuser abilities: create user, show logs. Also fix the super users UI to show the user drop down and make all superuser API calls require fresh login
2014-10-01 13:55:09 -04:00
Joseph Schorr
039d53ea6c
- Fix initdb
...
- Add ability to specific custom fields for manual running of build triggers and add a "branch name" selector for running github builds
2014-09-30 16:29:32 -04:00
Joseph Schorr
474add0fb1
Have the layer PUT method calculate the uncompressed size in realtime, as trusting the JSON is fraught with complications
2014-09-29 17:00:47 -04:00
Joseph Schorr
dd4c26cb00
Only operations with nicknames can be added to the swagger doc
2014-09-28 15:40:08 -04:00
Jake Moshenko
03190efde3
Phase 2 of migrating repo namespaces to referencing user objects, backfilling the rows without a value for namespace_user, and changing all accesses to go through the namespace_user object. All tests are passing, manual testing still required.
2014-09-24 18:01:35 -04:00
Joseph Schorr
ec484e3efc
Move size and checksum updates into the metadata call
2014-09-23 15:49:28 -04:00
Joseph Schorr
86dfca2e3e
Add uncompressed size field to the image storage and add a backfill script (which is not yet automatically called)
2014-09-23 14:01:27 -04:00
Joseph Schorr
87bc37f6c8
Merge branch 'sunday'
2014-09-23 11:29:03 -04:00
Joseph Schorr
ba0963a81c
Update the worker code to better handle exceptions, fix the utcdate issue and make sure we send the proper retry. Also updates notification workers to send JobExceptions rather than returning true or false
2014-09-23 11:01:50 -04:00
Joseph Schorr
8dd2330ce7
Switch to using straight docker IDs instead of a hashing scheme
2014-09-23 11:01:50 -04:00
Joseph Schorr
9621566d31
Instead of sending DB IDs, send "internal IDs" which are DB IDs hashed. This way, we can still calculate the ancestors without hitting the DB further, but without leaking the size of the images table
2014-09-23 11:01:50 -04:00
Joseph Schorr
f3b03ebc34
Add a feature flag for disabling all emails
2014-09-22 19:11:48 -04:00
Jake Moshenko
3259cda000
The new strategy is to do a three phase migration. This is the first phase: getting the namespace user in the db and written for all new repositories.
2014-09-22 17:27:02 -04:00
Joseph Schorr
dc685b2387
Merge branch 'huggies'
2014-09-22 13:41:29 -04:00
Joseph Schorr
f23038c6ee
Update the worker code to better handle exceptions, fix the utcdate issue and make sure we send the proper retry. Also updates notification workers to send JobExceptions rather than returning true or false
2014-09-22 12:52:57 -04:00
Joseph Schorr
e5055763f6
Make the squashed path smaller and handle failure cases on the curl side
2014-09-19 12:54:52 -04:00
Joseph Schorr
e273dca4b4
Change back to using a docker load format
2014-09-19 12:22:54 -04:00
Jake Moshenko
8626d1cd70
Initial changes to move repositories from using a namespace string to referencing a user object. Also stores the user id in the cookie rather than the username, to allow users to be renamed. This commit must not be used unmodified because the database migration is too aggressive for live migration.
2014-09-19 10:17:23 -04:00
Jake Moshenko
11bb8e6448
Actually store the generated image storage in the database, and allow it to be garbage collected when the parent image storage is collected.
2014-09-18 17:26:40 -04:00
Joseph Schorr
a90aab4665
Switch to using straight docker IDs instead of a hashing scheme
2014-09-18 17:16:10 -04:00
Joseph Schorr
b212dbb2ab
Merge branch 'master' into better-emails
2014-09-18 13:20:32 -04:00
Joseph Schorr
efc06b54f6
Add a TODO and some slightly better naming
2014-09-16 22:44:45 -04:00
Joseph Schorr
1cfb6fc353
Have the squashing system write the data (via a double queue system and multiprocessing) to both the client and the stack's storage. On subsequent calls, if the synthetic image exists, it will be returned directly instead of being recomputed
2014-09-16 22:43:19 -04:00
Joseph Schorr
5cca609c55
Switch back to send_file and add a bit of gzip buffering
2014-09-16 14:20:42 -04:00
Joseph Schorr
9344839295
Get squashed endpoint for docker import
working
2014-09-16 11:53:54 -04:00
Joseph Schorr
e3c52fa0eb
Work in progress. This is currently broken!
2014-09-16 00:18:57 -04:00
Jake Moshenko
75d2ef377e
Merge remote-tracking branch 'origin/master' into comewithmeifyouwanttowork
...
Conflicts:
data/model/legacy.py
2014-09-15 17:52:17 -04:00
Joseph Schorr
913b3e472f
Add ability to detach external login services
2014-09-15 12:01:02 -04:00
Joseph Schorr
e8ad01cb41
Lots of small NPE and other exception fixes
2014-09-15 11:27:33 -04:00
Joseph Schorr
10faa7de84
Only allow users matching the team invite to accept, if the invite was specified for a user (rather than an email)
2014-09-12 14:29:01 -04:00
Jake Moshenko
c5ca46a14b
Merge remote-tracking branch 'origin/master' into comewithmeifyouwanttowork
...
Conflicts:
data/model/legacy.py
static/js/app.js
2014-09-12 11:03:30 -04:00
Joseph Schorr
8d3ce44682
Address comments on code review
2014-09-11 15:45:41 -04:00
Jake Moshenko
8b3a3178b0
Finish the build logs archiver, add handlers for cloud and local that handle gzip encoded archived content.
2014-09-11 15:33:10 -04:00
Jake Moshenko
539fc04205
Seek the file pointer to zero since we now use multipart for upload of userfiles, which does not seek automatically.
2014-09-10 17:18:49 -04:00
Jake Moshenko
29d40db5ea
Add a new RadosGW storage engine. Allow engines to distinguish not only between those that can support direct uploads and downloads, but those that support doing it through the browser. Rename resumeable->resumable.
2014-09-09 15:54:03 -04:00
Joseph Schorr
7c45aca405
Code review changes
2014-09-08 17:20:01 -04:00
Joseph Schorr
63628678b8
Instead of sending DB IDs, send "internal IDs" which are DB IDs hashed. This way, we can still calculate the ancestors without hitting the DB further, but without leaking the size of the images table
2014-09-08 15:02:26 -04:00
Joseph Schorr
3c20402b32
Add a common base email template, translate the emails over to using jinja and add emails when e-mail addresses and passwords are changed.
2014-09-05 19:57:33 -04:00
Jake Moshenko
64480fd4ed
Merge remote-tracking branch 'origin/master' into yellowalert
...
Conflicts:
data/migrations/versions/82297d834ad_add_us_west_location.py
test/data/test.db
2014-09-05 11:30:30 -04:00
Jake Moshenko
3c57e612b3
Merge remote-tracking branch 'origin/zegooglesdosomething'
2014-09-04 20:10:16 -04:00
Joseph Schorr
987177fd7e
Have require_fresh_login not apply if there is no password set for the user
2014-09-04 19:47:12 -04:00
Jake Moshenko
1a230f635a
Use datetime.min instead of a fixed span for the last login default time.
2014-09-04 19:15:06 -04:00
Joseph Schorr
e028d4ae0a
Merge master into branch
2014-09-04 18:08:18 -04:00
Joseph Schorr
1c2de35f28
Code review fixes
2014-09-04 17:54:51 -04:00
Joseph Schorr
e783df31e0
Add the concept of require_fresh_login to both the backend and frontend. Sensitive methods will now be marked with the annotation, which requires that the user has performed a login within 10 minutes or they are asked to do so in the UI before running the operation again.
2014-09-04 14:24:20 -04:00
Joseph Schorr
1e7e012b92
Add a requirement for the current password to change the user's password or email address
2014-09-03 15:41:25 -04:00
Jake Moshenko
2dcdd7ba5b
Add exponential backoff of login attempts.
2014-09-02 15:27:05 -04:00
Joseph Schorr
3b72b26836
Merge branch 'master' into comewithmeifyouwanttowork
2014-08-28 20:50:13 -04:00
Joseph Schorr
ae92098b23
Add invite by email (WIP)
2014-08-28 20:49:11 -04:00
Joseph Schorr
7ca853adee
Rename the method so it doesn't shadow the model method.
2014-08-28 18:53:04 -04:00
Joseph Schorr
6f1a4030b6
Add response schema validation (only when in TESTING mode) and add one schema. More will be added in a followup CL
2014-08-27 20:57:46 -04:00
Joseph Schorr
6ec89bb179
Add Slack notification support
2014-08-26 22:09:56 -04:00
Joseph Schorr
d76d4704a0
Add pagination to the notifications API and make the UI only show a maximum of 5 notifications (beyond that, it shows "5+").
2014-08-26 15:19:39 -04:00
Joseph Schorr
a129aac94b
Add ability to regenerate robot account credentials
2014-08-25 17:19:23 -04:00
Joseph Schorr
99d75bede7
Handle error cases better for external services
2014-08-25 15:30:29 -04:00
Joseph Schorr
09a1c4d2b5
Add test fix and make sure Quay ups the connection count in its container
2014-08-25 14:23:21 -04:00
Joseph Schorr
80435d9c0b
Add support for docker search, now that auth is fixed
2014-08-22 19:41:22 -04:00
Joseph Schorr
d2880807b2
- Further fixes for license stuff
...
- Small fixes to ensure Quay works for Postgres
2014-08-21 19:21:20 -04:00
Joseph Schorr
4fd249589d
Add scopes to many org admin methods and remove the internal_only on ones we can now expose
2014-08-19 19:21:41 -04:00
Joseph Schorr
53fb7f4136
Add documentation for all path parameters
2014-08-19 19:05:28 -04:00
Joseph Schorr
32ea1d194f
Add support for the Hipchat room notification API
2014-08-19 17:40:36 -04:00
Joseph Schorr
35bd28a77e
Add support for the Flowdock Team chat API: https://www.flowdock.com/api/push
2014-08-19 14:33:33 -04:00
Joseph Schorr
02d3b70013
Make sure to search teams as well when determining the robots which have access to a private repo
2014-08-18 19:19:01 -04:00
Joseph Schorr
43b6695f9c
Get team invite confirmation working and fully tested
2014-08-18 17:24:00 -04:00
Joseph Schorr
1460879169
Change an ancestry error into a 404
2014-08-18 13:35:03 -04:00
Joseph Schorr
7d7cca39cc
New team view interface
2014-08-15 20:51:31 -04:00
Joseph Schorr
56d7a3524d
Work in progress: Require invite acceptance to join an org
2014-08-15 17:47:43 -04:00
Joseph Schorr
e7daca5d95
Add better messaging and UI around repos and images that are currently being pushed
2014-08-13 17:54:15 -04:00
Jake Moshenko
29f1b048a3
Add support for Google Cloud Storage.
2014-08-12 02:06:44 -04:00
Joseph Schorr
11176215e1
Commit new DB changes and make sure the metadata is always present in some form
2014-08-11 18:35:26 -04:00
Joseph Schorr
389c88a7c4
Update federated login to store metadata and have the UI pull the information from the metadata
2014-08-11 18:25:01 -04:00
Joseph Schorr
2597bcef3f
Add support for login with Google. Note that this CL is not complete
2014-08-11 15:47:44 -04:00
Jake Moshenko
5d4a6fc279
Add support for GA at least for the initial page load.
2014-08-07 20:44:59 -04:00
Jake Moshenko
979f78f677
Stop clobbering the scope variable.
2014-08-06 18:51:04 -04:00
Joseph Schorr
e0bb94e439
Add path param description support
2014-08-06 17:47:32 -04:00
Joseph Schorr
05a1413153
Handle UI for dangerous scopes
2014-08-05 21:21:22 -04:00
Jake Moshenko
02e47ed572
Begin the work to allow robots and teams to be managed via API.
2014-08-05 20:53:00 -04:00
Joseph Schorr
7e8713171e
- Change updated_tags into the expected dict, not a list
...
- Update the event code on both sides to expect the dict
- Add filter support to the string builder
2014-08-05 17:45:40 -04:00
Jake Moshenko
0372013f70
Merge remote-tracking branch 'origin/redalert'
...
Conflicts:
app.py
2014-08-04 16:56:34 -04:00
Joseph Schorr
49801bc2c4
- Add web hook queue code back in. We'll remove it and turn it off after this CL goes to prod
...
- Make notification lookup always be by repo and its UUID, rather than the internal DB ID
- Add the init script for the notification worker
2014-07-31 13:30:54 -04:00
Joseph Schorr
b12d63ce9a
Make sure to always return the same cache busting string on prod, so that reloads of the page can still use the same cached resources
2014-07-29 20:54:16 -04:00
Joseph Schorr
1c7d72914b
The queue already adds 'notification' to the path
2014-07-29 15:19:05 -04:00
Joseph Schorr
a2f0f57414
- Small title fix
...
- Make sure sample event data uses the real event data generation code
2014-07-29 13:39:26 -04:00
Joseph Schorr
7de1dd7dc0
Merge branch 'master' into redalert
2014-07-28 18:35:39 -04:00
Joseph Schorr
32b2ecdfa6
Add ability to dismiss notifications
2014-07-28 18:23:46 -04:00
Joseph Schorr
34fc279092
Add e-mail authorization to the repository notification flow. Also validates the creation of the other notification methods.
2014-07-28 14:58:12 -04:00
Jake Moshenko
268c28649a
The previous order of removing triggers and their push keys violated a DB constraint.
2014-07-25 13:46:22 -04:00
Joseph Schorr
54ee94754e
- Add support for orgs in the entity search and the notification system
...
- Fix the titles/names of the different notification types
- Fix the styling of the options buttons on the notifications
2014-07-22 13:39:41 -04:00
Jake Moshenko
b39b847c98
Add messaging around required params for oauth. Style fixes.
2014-07-21 15:09:31 -04:00
Joseph Schorr
752efb9e0f
Fix the spawn_notification to work in all cases and clean up some of the remaining code
2014-07-18 16:34:52 -04:00
Joseph Schorr
591cd020b8
Merge branch 'master' into redalert
2014-07-18 15:58:56 -04:00
Joseph Schorr
af31bde997
Add support for the remaining events to the frontend and the backend
2014-07-18 15:58:18 -04:00
Jake Moshenko
70a35ab421
Some uninitialized build triggers may not yet have a write token.
2014-07-18 15:05:39 -04:00
Jake Moshenko
8a2c88488a
Filter tokens with an associated build trigger from the list API. Delete associated tokens when deleting a trigger.
2014-07-18 14:56:26 -04:00
Jake Moshenko
3d852aa9d3
tiny style fixes
2014-07-18 14:55:55 -04:00
Joseph Schorr
f7c154abb5
Get Quay notification support working in the notification methods
2014-07-18 14:12:20 -04:00
Joseph Schorr
df7b8d651c
Fix bugs in the initial impl of the notification event and notification method libs.
2014-07-18 11:52:36 -04:00
Joseph Schorr
8d7493cb86
Convert over to notifications system. Note this is incomplete
2014-07-17 22:51:58 -04:00
Joseph Schorr
a45054bf2e
Change tag_view to avoid a DB lookup and only return the tag's image ID. We map the ID in the frontend based on the image data returned
2014-07-17 15:16:22 -04:00
Joseph Schorr
de8e898ad0
Add UI for managing repo notifications
2014-07-17 13:32:39 -04:00
Joseph Schorr
a84fe0681a
Start on data model changes and API changes for the new repository notification system
2014-07-16 16:30:47 -04:00
Joseph Schorr
8eacbfbce4
Password field may be optional from the Docker CLI
2014-07-14 21:24:38 -04:00
Joseph Schorr
b0c4f5b2f5
- Fix tests to not hit remote Redis endpoint
...
- Fix convert organization to allow admin email address, in addition to username
- Add test for the above
2014-07-08 18:19:13 -04:00
Jake Moshenko
c40f6abb7a
Fix some bugs with resume support.
2014-07-07 18:19:52 -04:00
Jake Moshenko
f40b7dbc54
Merge remote-tracking branch 'origin/resume'
2014-07-07 18:09:10 -04:00
Joseph Schorr
af46d3d455
Remove path from get_supports_resumeable_download
2014-07-07 16:21:27 -04:00
Jake Moshenko
c338b7d621
Merge remote-tracking branch 'origin/touchdown'
...
Conflicts:
static/css/quay.css
static/js/controllers.js
test/data/test.db
2014-07-07 15:33:51 -04:00
Joseph Schorr
e850d17e29
Handle potential NPE in the registry code
2014-07-03 17:18:14 -04:00
Joseph Schorr
0ac6312c8a
Get resumable downloads working in a way that the Docker CLI will actually understand. Also rename the method to conform the the name used in the Docker source code.
2014-07-02 21:18:46 -04:00
Joseph Schorr
0d89fd7f26
Add code for resumable downloads from S3
2014-07-02 00:39:59 -04:00
Jake Moshenko
b3bf782035
Fix the diffs worker.
2014-06-30 13:51:42 -04:00
Jake Moshenko
684c26bc1a
Populate image storage objects with locations everywhere.
2014-06-27 20:04:26 -04:00
Joseph Schorr
ee0d483efd
Fix "Run Build Again" to send the tags to which we should push.
2014-06-26 19:55:16 -04:00
Joseph Schorr
76165b5d2b
Add API and UI support for displaying image locations
2014-06-24 18:48:42 -04:00
Jake Moshenko
da12b940a9
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay into carmensandiego
2014-06-23 11:26:14 -04:00
Joseph Schorr
46d1dc98ce
Make absolutely sure to skip requests without a valid payload
2014-06-19 17:20:43 -04:00
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
jakedt
60015f0ae0
Add internal API filtering.
2014-03-14 18:07:03 -04:00
jakedt
5ca594b641
Change related to quayUserRelated.
2014-03-14 17:42:19 -04:00
jakedt
76e9b9681f
Re-order classes to dependencies are in place.
2014-03-14 17:37:57 -04:00
jakedt
83bc965556
Link the org api calls to their related user resources.
2014-03-14 17:35:52 -04:00
jakedt
4d551a079b
Re-organize the imports for the api endpoints.
2014-03-14 16:11:31 -04:00
jakedt
dfdc3faa57
Port the remaining APIs and fix some locations.
2014-03-14 16:09:16 -04:00
jakedt
1bbe2283dc
Port logs and robots.
2014-03-14 16:02:13 -04:00
jakedt
3c268de025
Port over the billing apis.
2014-03-14 15:35:20 -04:00
jakedt
a667714d3d
Port permission prototypes and org members.
2014-03-14 14:51:18 -04:00
jakedt
e4e4f8c553
Migrate teams and orgs.
2014-03-14 14:20:51 -04:00
jakedt
ab60a10a93
Add some missing documentation.
2014-03-14 13:27:56 -04:00
jakedt
ae6bfb072d
Fix some documentation.
2014-03-14 13:24:55 -04:00
jakedt
cd276773ff
Port over tokens.
2014-03-14 13:24:01 -04:00
jakedt
3d4ece31f3
Port over images, permissions, and tags.
2014-03-14 13:06:58 -04:00
jakedt
21d0ec2012
Port triggers to new API.
2014-03-14 12:11:48 -04:00
jakedt
e475e9809d
Port over webhooks, search, and builds.
2014-03-13 16:31:37 -04:00
jakedt
85eb585a85
Port most of the user related apis.
2014-03-13 15:19:49 -04:00
jakedt
0e3fe8f3b1
Port a few more repository methods to the new API interface.
2014-03-12 20:33:57 -04:00
Joseph Schorr
e5a461989f
Add a check_repository_usage method which adds (or removes) a notification on the user/org when they go over their plan usage
2014-03-12 19:19:39 -04:00
Joseph Schorr
525ef8d14f
Add support for targeting notifications to organizations and remove the password_required notification for new orbs
2014-03-12 19:00:24 -04:00
jakedt
e74eb3ee87
Add scope ordinality and translations. Process oauth tokens and limit scopes accordingly.
2014-03-12 16:31:37 -04:00
jakedt
25ceb90fc6
Add some sort of oauth.
2014-03-12 12:37:06 -04:00
Joseph Schorr
368a8da7db
- Add data classes for notifications
...
- Add basic API for notifications
- Change the password required to be a notification
2014-03-12 00:49:03 -04:00
jakedt
220649e579
Use doc strings for resource and method docs. Tweak some docs. Switch to 100 length lines.
2014-03-11 15:20:03 -04:00
Joseph Schorr
e650da5278
Make sure a JSON error in build or trigger config never causes a crash
2014-03-11 14:52:20 -04:00
Joseph Schorr
c5fa12329c
Update path matching regex to support dots
2014-03-11 14:42:53 -04:00
Joseph Schorr
e699739b23
Fix handling of repository names that match known endpoints (build, trigger, etc) and add tests to ensure it is fixed
2014-03-11 14:30:00 -04:00
jakedt
978d68f0e0
Holy black magic batman, move the query parameters to decorators and expose them through discovery.
2014-03-11 12:57:33 -04:00
jakedt
b3e0dfae48
More fully replicate the swagger API.
2014-03-10 23:54:55 -04:00
jakedt
de1a44f853
First attempt at using flask-restful and swagger api documentation.
2014-03-10 18:30:41 -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
Joseph Schorr
dbb234c76c
Better upwell messaging for everyone and show the upsell for organization admins
2014-03-06 18:36:52 -05:00
jakedt
c561ce5a06
Properly log the exception to the trigger deactivation problem warning.
2014-03-06 14:48:46 -05:00
jakedt
f8a1535e78
Fix the trigger delete code and enable peewee autorollback.
2014-03-06 14:47:02 -05:00
Joseph Schorr
89d9bcd894
- Make sure to send the subdirectory when restarting a build
...
- Make sure to use the subdirectory to read the Dockerfile's location in a build package, and display the path
- Nicer UI for showing the trigger description in the build view
- Fix an NPE in the file change tree
2014-03-05 16:27:56 -05:00
jakedt
fde96c736a
Fix a problem with initdb and add a limit to the builds API.
2014-03-05 15:50:32 -05: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
jakedt
2af3d24557
Merge remote-tracking branch 'origin/taggedrustedbuilds' into rustedbuilds
2014-03-04 16:59:54 -05:00
jakedt
7add6679b6
Merge branch 'rustedbuilds' of ssh://bitbucket.org/yackob03/quay into rustedbuilds
2014-03-03 18:45:48 -05:00
jakedt
b5b3d6ce18
Add the resource key to the build view.
2014-03-03 18:45:40 -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
Joseph Schorr
20ad666308
Add ability to tag images from the UI, including moving existing tags to different images
2014-02-28 00:12:09 -05:00
Joseph Schorr
39eaca346d
Add an icon for build triggers and properly handle build trigger activation errors
2014-02-26 18:43:16 -05:00
Joseph Schorr
eca525e18c
This 404 is expected by Docker, so don't use the "normal" abort for it.
2014-02-26 16:03:00 -05:00
Joseph Schorr
206049dbf8
- Add a build now command to the trigger
...
- Have the trigger description use the master_branch in the config
2014-02-25 19:53:41 -05:00
jakedt
011490d36d
Refactor a lot of the build create code out into a common method. Add an endpoint for manually starting triggers.
2014-02-25 19:39:43 -05:00
Joseph Schorr
a6128978cb
Merge branch 'rustedbuilds' of https://bitbucket.org/yackob03/quay into rustedbuilds
2014-02-25 18:22:59 -05:00
Joseph Schorr
e687b4d2d4
Add logging descriptions for the new trigger logs
2014-02-25 18:22:55 -05:00
jakedt
c13f7cd9df
Add the resource_key back to the repository build.
2014-02-25 18:22:02 -05:00
jakedt
b9580c1c29
Merge remote-tracking branch 'origin/master' into rustedbuilds
2014-02-25 17:19:15 -05:00
jakedt
9afd49e882
Leave ISEs as 400s, but log exceptions and have slightly improved error messages.
2014-02-25 17:19:02 -05:00
jakedt
de49ce151b
Merge remote-tracking branch 'origin/master' into rustedbuilds
2014-02-25 17:00:38 -05:00
jakedt
fa4c925e4d
Allow exception tracebacks to get logged to the log file.
2014-02-25 16:54:49 -05:00
jakedt
4b689a7a7c
Fix the translation of old ids to new ids, again.
2014-02-25 16:31:52 -05:00
Joseph Schorr
61ca29de04
Move the auth context methods into their own file so that we don't have auth trying to import itself
2014-02-25 15:07:24 -05:00
Joseph Schorr
a120f6c64a
Make sure all aborts have message information
2014-02-25 14:15:12 -05:00
jakedt
aa20a807bd
Link up the build trigger when a build is created from a webhook.
2014-02-24 23:12:09 -05:00
jakedt
001c822d74
Merge branch 'rustedbuilds' of ssh://bitbucket.org/yackob03/quay into rustedbuilds
2014-02-24 22:58:03 -05:00
jakedt
b23a7ed130
Extract the top level zipball subdir from the zip file.
2014-02-24 22:57:58 -05:00
Joseph Schorr
ef02e769fb
Merge branch 'rustedbuilds' of https://bitbucket.org/yackob03/quay into rustedbuilds
2014-02-24 20:38:57 -05:00
Joseph Schorr
d1fdc31549
- Add a dropdown-select directive and use it in the git trigger setup dialog both times
...
- Add a dropdown-select for the docker file folder
- Add an API method for listing the build source sub directories
2014-02-24 20:36:54 -05:00
jakedt
b094480164
Add code that will allow build triggers to be deactivated or deleted from their services.
2014-02-24 16:36:49 -05:00
jakedt
cbb1ab5e68
Merge remote-tracking branch 'origin/master' into rustedbuilds
2014-02-24 16:11:33 -05:00
jakedt
13dea98499
Prepare the build worker to support multiple tags and subdirectories. Change the build database config to accept a job config object instead of breaking out the parameters into independent blocks.
2014-02-24 16:11:23 -05:00
jakedt
4b0f4c0a7b
Handle the case of empty repositories in the trigger.
2014-02-24 14:12:54 -05:00
jakedt
d861f9b646
Add some code for finding Dockerfiles in the repository.
2014-02-24 13:56:21 -05:00
jakedt
86e93a2c0f
Write triggers are successfully installing on GitHub, noice!
2014-02-21 17:09:56 -05:00
jakedt
b3fe3a32e4
Fix logins for access tokens.
2014-02-21 16:07:08 -05:00
jakedt
a6400171b3
First stab at implementing token.activate.
2014-02-21 16:02:31 -05:00
jakedt
d5304f7db0
Merge remote-tracking branch 'origin/master' into rustedbuilds
...
Conflicts:
data/database.py
endpoints/api.py
endpoints/common.py
test/data/test.db
2014-02-21 14:52:40 -05:00
jakedt
f339160ab9
Fix for mapping translations for existing images.
2014-02-21 08:00:47 -05:00
jakedt
a63a49caa1
Fix up the shared base images stuff.
2014-02-20 22:26:10 -05:00
Joseph Schorr
5519d93a64
Get UI for activating github build triggers in place and working. Note that the actual server-side activation is still not done (but the proper method is invoked)
2014-02-20 18:57:49 -05:00
jakedt
05dd00d495
Make our registry respond with their silly response message that will make login work without saying account created every time.
2014-02-20 14:49:34 -05:00
jakedt
9e426816a5
Pass trigger information on build status. Set up a trigger for the sample building repository. Allow to list the builds started from a trigger. Protect the callback with the proper auth for creating a trigger on a repo.
2014-02-19 16:08:33 -05:00
jakedt
f4642be11a
Merge remote-tracking branch 'origin/allyourbaseimage'
...
Conflicts:
test/data/test.db
test/test_api_usage.py
2014-02-18 19:15:14 -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
ed38bcdafc
Merge remote-tracking branch 'origin/master' into rustedbuilds
...
Conflicts:
test/data/test.db
2014-02-18 16:13:34 -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
bc0d51656a
Add ability to see a build's build pack, including browsing and downloading of the contents if it is a zip
2014-02-17 17:28:20 -05:00
jakedt
fc4983ed8b
Merge remote-tracking branch 'origin/master' into rustedbuilds
2014-02-17 16:40:28 -05:00
jakedt
46de02a9ec
Merge remote-tracking branch 'origin/master' into allyourbaseimage
2014-02-17 15:18:01 -05:00
jakedt
369417c3ad
Fix the test for where extended image properties should come from. Fix the delete tag dialog to specify that the repo will be gc'ed after tag deletion.
2014-02-17 14:52:46 -05:00
jakedt
e7064f1191
Fix the tests and the one bug that it highlighted.
2014-02-16 18:59:24 -05:00
jakedt
b619356907
Get the base image stuff working. Checkpoint before fixing the tests.
2014-02-16 17:38:47 -05:00
Joseph Schorr
55d846061e
Add ability to re-run a dockerfile build
2014-02-14 18:37:06 -05:00
jakedt
8135e0266e
Merge branch 'master' into tutorial
...
Conflicts:
static/directives/header-bar.html
2014-02-13 16:54:02 -05:00
jakedt
4d8ae230dc
Disable retries on builds.
2014-02-13 15:54:47 -05:00
yackob03
ade20952e2
Merge branch 'master' into tutorial
...
Conflicts:
config.py
static/js/app.js
test/data/test.db
2014-02-13 14:35:20 -05:00
yackob03
8f6cdabde3
Merge branch 'bobthe'
...
Conflicts:
test/data/test.db
2014-02-13 12:47:59 -05:00
yackob03
b920a0cb1f
Really try to emulate the logs format with the test logs. Switch to a simplified flat logs format.
2014-02-12 18:58:40 -05:00
yackob03
85694dd110
Add a build display name, set it from the etag reported by s3 for file uploads.
2014-02-12 13:52:12 -05:00
yackob03
6b1fcefc26
Check in progress on github connection, this will not work.
2014-02-11 13:53:44 -05:00
yackob03
7f89a5b7f0
Add the start time to the repository build object and APIs.
2014-02-11 12:25:38 -05:00
yackob03
6fd343741b
Change to the new paging format with the commands available at the top.
2014-02-10 19:12:43 -05:00
yackob03
dee6088b90
Update the test logs generate to generate command logs.
2014-02-10 15:10:53 -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
Joseph Schorr
fa1bf94af1
Get the basic tutorial working completely, including reacting to server-side events
2014-02-06 20:58:26 -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
yackob03
7d593b1078
Switch the delete tag response code to match the registry spect.
2014-02-06 17:33:50 -05:00
yackob03
f5fff3657c
Merge remote-tracking branch 'origin/unittesting'
2014-02-06 14:16:34 -05:00
yackob03
ef68982728
Garbage collect repositories on push and on tag deletion.
2014-02-06 14:13:35 -05:00
Joseph Schorr
b7afc83204
Merge branch 'bobthe' into tutorial
2014-02-06 13:37:41 -05:00
Joseph Schorr
c2fb1e5d78
Checkin start on real-time stuff so we can merge the bob the branch
2014-02-06 13:36:32 -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
df389e81c7
Fix up the test endpoints with better fake data. Install them at a known location. Update the building test repository to point to the new fakes.
2014-02-05 20:01:23 -05:00
yackob03
44fe17754a
Fix the API discovery method to not rely on globals().
2014-02-05 20:00:18 -05:00
yackob03
67e0736fc6
Separate out the dockerfile build stuff to a separate class. Add a dependency on docker-py master.
2014-02-05 11:07:54 -05:00
yackob03
5270066d6d
Switch to the redis backed build logs and status.
2014-02-03 19:08:37 -05:00
Joseph Schorr
08160afdde
Finish API endpoint unit tests
2014-02-03 18:18:33 -05:00
Joseph Schorr
36d37e839b
Continue on API unit tests: Now 50% (or so) coverage
2014-01-31 18:54:31 -05:00
Joseph Schorr
8fede11620
Fix broken API routes
2014-01-31 17:54:56 -05:00
Joseph Schorr
05b33dced4
Continue on API unit tests
2014-01-31 17:54:01 -05:00
Joseph Schorr
900ccd4c47
Start on unit tests for the API endpoint
2014-01-31 16:19:29 -05:00
yackob03
31ff854031
Fix the permissions for the build status tests. Fix a problem with logging the csrf token information when the user is anonymous.
2014-01-30 19:36:21 -05:00
yackob03
f840592b6e
Merge branch 'master' of bitbucket.org:yackob03/quay
2014-01-30 19:07:22 -05:00
yackob03
fff5da6354
Fix the response codes for errors.
2014-01-30 19:06:10 -05:00
Joseph Schorr
6d412c726b
Change the image 404 to a flask_abort to avoid logging it
2014-01-30 17:44:12 -05:00
yackob03
2ddbad3d39
url_for must reference the blueprint name now.
2014-01-30 17:23:14 -05:00
yackob03
96a97f667c
Merge remote-tracking branch 'origin/better-error'
2014-01-30 13:44:33 -05:00
yackob03
05febb1a0c
Switch the CSRF token to logging only to test for a little while in prod.
2014-01-30 13:42:25 -05:00
Joseph Schorr
3dc3af9eb2
The CLI can be… odd… when handling errors. Make them nicer for the CLI
2014-01-29 14:08:14 -05:00
Joseph Schorr
2b134158f5
Add issue URLs to most errors. The corresponding issue pages will be checked into the public docs repo
2014-01-28 18:29:45 -05:00
Joseph Schorr
96e15d285d
Public building repositories should allow users to see the build status
2014-01-27 13:55:40 -05:00
yackob03
f585430399
Make abort return a json block, which is apparently what the client expects. Remove unused imports. Fix line length and kwarg problems.
2014-01-24 17:00:42 -05:00
Joseph Schorr
3b62d883f4
Add missing make_response
2014-01-24 15:20:46 -05:00
Joseph Schorr
30a26d099f
Have the index use the same abort method
2014-01-24 15:01:40 -05:00
Joseph Schorr
aa5f669e69
Add the request args
2014-01-24 14:25:41 -05:00
Joseph Schorr
98109a28cd
Better error messages when using the API, index and registry
2014-01-24 14:12:04 -05:00
Joseph Schorr
335733ad68
Fix routes for prototype endpoints
2014-01-23 14:55:11 -05:00
yackob03
845985c859
Merge branch 'security'
...
Conflicts:
endpoints/api.py
endpoints/web.py
2014-01-23 14:51:43 -05:00
Joseph Schorr
bd4c8c794d
Merge branch 'umask' of https://bitbucket.org/yackob03/quay into umask
2014-01-21 18:35:02 -05:00
Joseph Schorr
3da5a77e33
Add support for org-wide default permissions
2014-01-21 18:34:54 -05:00
yackob03
648128cfaa
Return true for robots in an org, not null.
2014-01-21 18:02:24 -05:00
yackob03
525b63b83a
Fix robots being reported outside of org.
2014-01-21 18:00:23 -05:00
yackob03
15dfd887d0
Fix the user view in the prototype.
2014-01-21 17:43:47 -05:00
yackob03
7ceb249858
Add is_org_member to the prototype_view. Fix some line length problems. Fix a bug with using uuid objects as strings.
2014-01-21 17:32:49 -05:00
Joseph Schorr
3864fc3e88
Add logs support for the new default permissions model
2014-01-21 17:04:00 -05:00
Joseph Schorr
74df6b1df7
Streamline and cleanup the entity-reference so it can be used everywhere in a simple fashion. Also changes the entity-search to use the reference as its icon source when in persistent mode
2014-01-21 16:23:00 -05:00
Joseph Schorr
ca934ac162
Get create permission working
2014-01-21 15:09:47 -05:00
Joseph Schorr
e17c3590a7
- Add model functions for working with prototypes
...
- Add API calls for working with prototypes
- Get UI for prototypes working (minus add)
2014-01-21 14:18:20 -05:00
Joseph Schorr
cbf80281ba
Add ability to change an organization’s email address
2014-01-20 16:12:23 -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
Joseph Schorr
e5f6a68248
Allow for email address-based login
2014-01-16 16:14:38 -05:00
Joseph Schorr
9d26c79db0
Better messaging in create repo
2014-01-15 19:15:38 -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
c72cae954b
Expose the command through the API for images.
2014-01-14 12:18:23 -05:00
yackob03
97d179cafb
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
2014-01-13 16:33:04 -05:00
yackob03
e23c750bfb
Harvest commands from the Docker json information and add to the database.
2014-01-13 16:32:51 -05:00
Joseph Schorr
58b3ce2647
Add page support to the public repo list
2014-01-13 14:49:05 -05:00
yackob03
1f8a82eefe
Make it so that our error responses to login attempts are legible to the user.
2014-01-10 13:11:41 -05:00
yackob03
518cd1be85
Actually delete the image data when deleting the tag.
2014-01-09 17:13:26 -05:00
yackob03
4234ceabe6
Merge remote-tracking branch 'origin/spartan'
...
Conflicts:
test/data/test.db
2014-01-08 17:04:40 -05:00
Joseph Schorr
9da93c7caf
Add frontend and API support for deleting tags. Model support is needed.
2014-01-06 15:20:58 -05:00
yackob03
d52d913276
Update the test endpoint to reflect the new build status.
2014-01-06 13:10:22 -05:00
Joseph Schorr
e7904f0a9e
- Fix image size saving to occur before the return of the response
...
- Make the image size say ‘Unknown’ if it is not known
2014-01-03 16:42:38 -05:00
Joseph Schorr
0a63690e25
Add code for saving and displaying the size of images
2014-01-03 16:32:00 -05:00
yackob03
8e4bbdf1dd
Add no-cache as a response header.
2014-01-02 18:01:34 -05:00
yackob03
ee80f43375
Make that change which allows for sparse pushes.
2014-01-02 17:39:38 -05:00
yackob03
96fdae4f0d
Merge branch 'master' into fix_build
2014-01-02 14:33:23 -05:00
yackob03
06e03b1260
Make the data block returned by the server mirror that of the build server. Make the UI respond to the new status format for pushing.
2014-01-02 14:13:16 -05:00
yackob03
39fa982ef2
Add some logging to the registry for failure cases.
2013-12-31 16:22:27 -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
21ac1c9210
Add CSRF protection to every API call
2013-12-28 14:07:44 -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
56bb46ffb2
- Make the discovery information be preloaded via a bootstrap.js file before angular runs
...
- Have ApiService generate all the api methods specified by the API discovery information
- Change all call sites (except for a select few when it does not make sense) to use ApiService
2013-12-26 17:45:16 -05:00
Joseph Schorr
1904e6d0c8
Change to nicer API method names and add the internal_api_call decorator in prep for the automatic discovery mechanism
2013-12-24 21:56:03 -05:00
yackob03
445145f9b9
Merge branch 'restructure'
2013-12-24 14:24:24 -05:00
yackob03
3950904fb3
Prevent a user from subscribing to a deprecated plan through the API.
2013-12-23 14:50:01 -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
4ae40b7370
Fix the readme to reference the application, update the response code for create repo when no auth credentials are present.
2013-12-20 16:21:07 -05:00
Joseph Schorr
3f062ee602
NOTE: The plans page is still broken
...
- Change the subscribe method to allow for subscribing to the free plan, even when an org
- Change the frontend to no longer have different plan groups
- Change the frontend to display the proper plans (i.e. hide the deprecated plans unless it is the current plan, etc)
2013-12-19 21:51:46 -05:00
yackob03
e3504b91de
Make sure the right people are required to select a business plan.
2013-12-19 17:10:09 -05:00
yackob03
5633c1fc79
Merge the plans and mark many as deprecated. Fix a bunch of pylint errors.
2013-12-19 17:06:04 -05:00
Joseph Schorr
5778076abb
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2013-12-18 23:03:32 -05:00
Joseph Schorr
ed82d65dd1
- Add API for returning the user’s used private repos and available private repos
...
- Fix the same API for orgs
- Change the chosen plan in the create repo view to use the API
- Add an account indicator if the user is over their plan
2013-12-18 23:03:19 -05:00
yackob03
dec74fc608
When an email code has already been used, just redirect to signin.
2013-12-18 19:47:42 -05:00
Joseph Schorr
b2e4b8152e
Add a loading bar and convert to using the new ApiService and resource-view (part #2 )
2013-12-17 22:56:28 -05:00
yackob03
7c93688e30
Plumbing for the contact us page.
2013-12-17 17:02:37 -05:00
Joseph Schorr
3302b58cc3
Switch to using the UserService’s cache of org information for whether a user is an admin of a namespace/org ( #2 )
2013-12-10 15:49:34 -05:00
Joseph Schorr
df1500b6d0
Switch to using the UserService’s cache of org information for whether a user is an admin of a namespace/org
2013-12-10 15:22:22 -05:00
Joseph Schorr
9197a20a77
Add a dropdown next to the entity search which shows all the user’s teams and robot accounts, and lets them create new ones on the fly
2013-12-10 01:38:05 -05:00
Joseph Schorr
6cc0482bfb
Make sure to properly load the entries for the last day
2013-12-09 21:13:21 -05:00
Joseph Schorr
a3b834cd66
Add ability to pick the dates of the logs viewed
2013-12-09 17:28:23 -05:00
root
61618c7eab
We can't count on auth tokens being sent anymore, so we set the namespace and repository for the session when the original put on the repo is made.
2013-12-09 04:24:29 +00:00
Joseph Schorr
a0f9e1646a
Add a logs view for specific members of an organization
2013-12-06 19:25:27 -05:00
Joseph Schorr
59046b2e79
Add ability to download logs
2013-12-06 15:59:59 -05:00
yackob03
06582369df
Merge branch 'pullredirect'
2013-12-04 14:40:46 -08:00
Joseph Schorr
95340eeb6e
Fix invoice view when there is no associated plan
2013-12-04 14:32:55 -05:00
yackob03
bf85013ef6
Try to use a 301 redirect to download directly from s3. Allow the s3 and userfiles to run without internet access.
2013-12-03 16:39:07 -08:00
yackob03
25063f176c
Remove some spurious print statements.
2013-12-02 16:16:59 -05:00
Joseph Schorr
3fd7626ef1
Merge branch 'lumberjack' of https://bitbucket.org/yackob03/quay into lumberjack
2013-12-02 14:55:11 -05:00
Joseph Schorr
782405fe65
- Add log view under repos
...
- Make the logs a bit nicer by adding context-sensitive icons
- Fix some of the log descriptions
2013-12-02 14:55:04 -05:00
yackob03
03198210c3
Re-add the removed pull_username code.
2013-12-02 14:08:10 -05:00
Joseph Schorr
a77aeaaef9
Performer will sometimes by None
2013-12-02 13:50:51 -05:00
Joseph Schorr
b77dabd586
Move log descriptions into the client side
2013-11-29 00:04:50 -05:00
Joseph Schorr
378aebe1ec
Style fixes
2013-11-27 20:49:23 -05:00
Joseph Schorr
6c1d2afc0f
CL fixes
2013-11-27 16:56:07 -05:00
Joseph Schorr
cca5daf097
Add support for full logging of all actions in Quay, and the ability to view and filter these logs in the org’s admin view
2013-11-27 02:29:31 -05:00
Joseph Schorr
d5c0f768c2
Abstract out the display of entities (users, robot accounts, and teams) into a nice directive to ensure that we always display the correctly formatted entity information (icon and name)
2013-11-26 14:37:55 -05:00
Joseph Schorr
9577b428e9
Make sure robot accounts never validate when checking the auth cookie
2013-11-22 20:23:46 -05:00
Joseph Schorr
12eb932da1
Get robots UI working
2013-11-22 20:14:44 -05:00
Joseph Schorr
43f2dd80a0
Merge branch 'master' into looksirdroids
2013-11-22 18:22:29 -05:00
Joseph Schorr
098b3b1b33
Start on robots UI
2013-11-22 18:20:51 -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
e69591c7d6
Add the ability to login with a robot, use the wrench icon for robots all over the place.
2013-11-20 19:43:19 -05:00
yackob03
b407c1d9fb
Add robots to the entity search.
2013-11-20 18:23:59 -05:00
yackob03
026ed7ffb4
Start fleshing out support for robots.
2013-11-20 16:13:03 -05:00
Joseph Schorr
b0ac7883e3
Fix so that credit card issues are displayed to the user
2013-11-19 17:06:17 -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
yackob03
98a77299b8
Fix a bug in the registry which tried to use a string as a repo object.
2013-11-18 12:12:35 -05:00
yackob03
e787d8b2d8
Make the worker post json. Add a retry timeout after an incompletel queue item is processed. Submit webhook jobs to the queue on a successful push.
2013-11-16 15:05:26 -05:00
yackob03
f55e4074e0
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay into webhooks
2013-11-16 14:47:29 -05:00
Joseph Schorr
cc0f042c00
Add ability to view and change the credit card associated with an account
2013-11-15 18:17:12 -05:00
yackob03
ecc5f8fba7
Wire up webhooks to the UI.
2013-11-15 17:45:37 -05:00
yackob03
7ae78e5370
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay into webhooks
...
Conflicts:
endpoints/api.py
test/data/test.db
2013-11-15 16:48:55 -05:00
yackob03
c1ea6263e1
Flesh out the webworkers a bit.
2013-11-15 16:45:02 -05:00
yackob03
41c92deb0d
Fix a bunch of errors that pylint was complaining about.
2013-11-15 16:12:12 -05:00
Joseph Schorr
6a2b439863
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2013-11-15 15:31:11 -05:00
Joseph Schorr
04780cb3fa
Fix token bug in stripe payments
2013-11-15 15:31:05 -05:00
Joseph Schorr
457b619647
Add receipt/invoice email support and option to Quay
2013-11-15 14:42:31 -05:00
yackob03
5a45f50583
Log the repository name when pushing and pulling.
2013-11-14 14:53:55 -05:00
Joseph Schorr
8615e9236b
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2013-11-13 17:47:59 -05:00
Joseph Schorr
e649e669e1
Check in a basic invoice view for organizations
2013-11-13 17:47:45 -05:00
yackob03
5a2728c6a8
Fix the curl usage to get a single tag.
2013-11-11 20:00:01 -05:00
Joseph Schorr
b8dc051705
Change 403 handling to 401 and have a modal dialog (that cannot be removed) display when the user's session has expired. This forces them to reload the page, and thus reset all the state.
2013-11-11 19:26:56 -05:00
Joseph Schorr
e2c9c91080
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2013-11-11 19:03:24 -05:00
Joseph Schorr
07b9128ab6
Return 403 if the user logged in is now an org and handle it on the client
2013-11-11 19:03:18 -05:00
yackob03
6467e24ba2
All for free user to free business migration.
2013-11-11 19:02:42 -05:00
yackob03
6be20ff626
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
2013-11-11 18:05:29 -05:00
yackob03
e5994bab9b
Check for the repository since we can no longer rely on permissions for the existence of repositories.
2013-11-11 18:05:21 -05:00
Joseph Schorr
743e95c50e
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2013-11-11 17:53:29 -05:00
yackob03
64cbc735fb
403s on pulls have to be 404s for now.
2013-11-11 17:11:21 -05:00
yackob03
3187539509
Catch an error when trying to generate an access token.
2013-11-11 17:01:21 -05:00
yackob03
2e9f7cd19d
Restore the temp_store_handler.
2013-11-11 16:41:33 -05:00
yackob03
e6926b62be
Actually use the namesapce rather than the literal word namespace, doh
2013-11-11 16:31:56 -05:00
yackob03
18809842b8
Fix a typo in the index code and follow some pylint recommendations.
2013-11-11 16:28:05 -05:00
yackob03
1f1565fdaa
Fix the bug where trying to unsubscribe a customer with no subscription throws an error.
2013-11-11 11:58:30 -05:00
Joseph Schorr
68e1658849
Add automatic email loading to the stripe dialog
2013-11-08 17:50:42 -05:00
Joseph Schorr
8f5710afe5
Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs
2013-11-07 23:36:19 -05:00
Joseph Schorr
be0fba276f
Bug fixes:
...
- Report proper errors when trying to change permissions
- Turn off the auto-caps of the team names
- Fix the is_org_member checks everywhere
- Fix resetting of roles if the change was not successful
2013-11-07 23:35:27 -05:00
yackob03
5fe1a6806e
Fix the team results for the entities query.
2013-11-07 23:35:20 -05:00
yackob03
9f1bf1499d
Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs
...
Conflicts:
static/partials/new-organization.html
2013-11-07 22:47:27 -05:00
yackob03
d524559bce
Fix the repo search to include repos that you get through a team and repos for which you have admin on the org.
2013-11-07 22:44:18 -05:00
Joseph Schorr
fe69ba5ec1
- Fix a bug with subscribing in the new repo view
...
- Have conversion to organization update its plan to a business plan
- Fix bug in the repo donut usage graph thingy where it had zero size when not in the default tab
2013-11-07 22:08:23 -05:00
yackob03
71f7320532
Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs
2013-11-07 17:11:10 -05:00
yackob03
05ccd4e793
Make some responses from the index api more appropriate.
2013-11-07 17:09:47 -05:00
yackob03
603ad53f6a
Fix some bugs in the tags registry api.
2013-11-07 17:09:15 -05:00
Joseph Schorr
3f2d51651e
Start on organization conversion. Note that this does not yet move over the user's plan to an org plan
2013-11-07 16:33:56 -05:00
Joseph Schorr
d45de5a8dd
required_json_args is gone
2013-11-07 15:22:15 -05:00
Joseph Schorr
5858ba0ee0
Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs
2013-11-07 15:19:57 -05:00
Joseph Schorr
44f1ff0ef1
Add ability to create a new organization
2013-11-07 15:19:52 -05:00
yackob03
2663a534d7
Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs
2013-11-07 12:55:35 -05:00
yackob03
ff7cd2f0a5
Subtle tweaks to the api and a fix for one bug where teams could be added to repository permissions through the API even if they were not part of the org.
2013-11-07 12:54:21 -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
Joseph Schorr
0c4dec6de4
- Fix namespace drop down to save the namespace last selected (and validate)
...
- Add a "can_create_repo" entry to the organization and have orgs grayed out in the new repo view if the user cannot create a repo
- Fix the multiple-orgs bug in the model
- Have the "create new repository" button disappear on landing if the org is selected and the user does not have create permissions for that org
2013-11-07 00:49:13 -05:00
yackob03
babc6fa867
We were asking for too many parameters for changing the plan, token is not always necessary.
2013-11-06 23:35:37 -05:00
yackob03
2b0f3a9ba7
Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs
2013-11-06 23:22:02 -05:00
yackob03
2cd98fc58e
Make the app config more powerful in terms of injecting fake dependencies. Refactor the tests to use metaclasses and to actually all run.
2013-11-06 23:21:12 -05:00
Joseph Schorr
56f777448a
Add the members tab to the org admin
2013-11-06 19:06:59 -05:00
yackob03
2a849f631b
Add the next batch of tests and fixes.
2013-11-06 17:56:31 -05:00
yackob03
db59b5bf9c
Add some tests to verify we're not leaking anything to completely public users (we're not)
2013-11-06 17:09:22 -05:00
Joseph Schorr
934acce6d4
Fix bug around free business plan and verify that a plan requested is in the correct set
2013-11-06 14:48:59 -05:00
Joseph Schorr
e356a10378
Add support for org-based subscriptions
2013-11-06 14:19:56 -05:00
yackob03
e3a3ce0f80
Prevent the user from revoking their own admin privileges.
2013-11-05 18:37:28 -05:00
Joseph Schorr
91806ee252
Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs
2013-11-05 17:20:56 -05:00
Joseph Schorr
237614dcef
Finish up create team
2013-11-05 17:20:43 -05:00
yackob03
a1476b32ea
Fix the problem where users in normal repos are marked as outside of the organization.
2013-11-05 17:10:14 -05:00
yackob03
427ffea6b7
Fill in the remove team methods.
2013-11-05 15:50:56 -05:00
Joseph Schorr
d2601c6fe4
Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs
...
Conflicts:
endpoints/api.py
2013-11-05 15:16:20 -05:00
yackob03
296695cb87
Fix the call that determines if an organization has enough private repositories.
2013-11-05 14:55:05 -05:00
Joseph Schorr
1f44166311
Wire up delete team UI
2013-11-05 14:53:48 -05:00
yackob03
b11ab44285
Add the business plans in.
2013-11-05 14:40:45 -05:00
Joseph Schorr
1cd4fa8d9b
Add team permissions support
2013-11-04 22:58:21 -05:00
Joseph Schorr
97fa69a361
Add ability to display and edit the team's description
2013-11-04 20:17:58 -05:00
Joseph Schorr
96730965cd
Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs
2013-11-04 19:11:17 -05:00
Joseph Schorr
e70f863350
Work in progress: Continue on org view
2013-11-04 19:11:13 -05:00
yackob03
c1b246c3b5
Remove a TODO and make sure a user is part of an org to get access to typeahead information for an org.
2013-11-04 19:11:01 -05:00
yackob03
6aeac247fa
Teams are part of organizations.
2013-11-04 19:06:56 -05:00
yackob03
5838e1bc07
Fix a merge error in create_repo_api.
2013-11-04 19:01:58 -05:00
yackob03
3a11ea4229
Made a stupid assumption about when users belonged to an organization, now paying for my terrible ways.
2013-11-04 18:52:38 -05:00
Joseph Schorr
b56bb92801
Work in progress: Continue on org view
2013-11-04 16:51:25 -05:00
Joseph Schorr
17a07ea6e0
Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs
2013-11-04 16:44:35 -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
ba7360f2a9
Work in progress: Start on org view
2013-11-04 16:39:29 -05:00
Joseph Schorr
0175bd91bf
Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs
2013-11-04 16:25:54 -05:00
Joseph Schorr
61e9b1629d
Work in progress: Start on org view and finish up the team members view
2013-11-04 16:21:49 -05:00
yackob03
2eb7ff2442
Add a bunch of the missing permissions from the API.
2013-11-04 16:18:40 -05:00
yackob03
ad4e227aff
Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs
...
Conflicts:
data/model.py
endpoints/api.py
test/data/test.db
2013-11-04 15:47:27 -05:00
yackob03
dd77ebd64f
Next batch of backend permissions for orgs.
2013-11-04 15:42:08 -05:00
Joseph Schorr
e6fadbca05
Add ability to change the members of a team
2013-11-04 15:31:38 -05:00
Joseph Schorr
633f603f9d
Merge branch 'master' into orgs
...
Conflicts:
endpoints/api.py
static/partials/new-repo.html
2013-11-04 14:59:00 -05:00
Joseph Schorr
ecbd1f1ef3
Work in progress: Add the team management page
2013-11-04 14:56:54 -05:00
Joseph Schorr
100ec563fa
- Add an entity-search directive for adding a nice search box for users or teams
...
- Add support for team-based permissions to the repos
2013-11-01 21:48:10 -04:00
Joseph Schorr
09afe0753f
Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs
2013-11-01 19:34:56 -04:00
yackob03
1aaefe6053
Merge branch 'orgs' of ssh://bitbucket.org/yackob03/quay into orgs
...
Conflicts:
data/model.py
2013-11-01 19:34:58 -04:00
Joseph Schorr
5ed85cf833
Work in progress: Start on marking user permissions on whether they are inside or outside the repo's org
2013-11-01 19:34:46 -04:00
yackob03
4c0f987af3
Flesh out some of the organization methods and fix the models.
2013-11-01 19:34:17 -04:00
Joseph Schorr
9fa77aaa48
Add proper messaging if an organization has gone over the repo limit. This change also moves plan information into the server
2013-11-01 19:13:58 -04:00
Joseph Schorr
1f0b142535
Add a namespace selector for choosing the namespace in the new repo view
2013-11-01 17:35:26 -04: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
c3b10c12bb
Add check for existing repo with the same name
2013-10-31 15:04:07 -04:00
Joseph Schorr
dbbec5a853
Fix description handling in new repo view
2013-10-29 20:21:18 -04:00
yackob03
78d6c9d9a3
Just use the current server as the registry server, this will work for all externally available addresses.
2013-10-29 16:11:54 -04:00
yackob03
d7f51fb764
Bug fixes and associated changes involved with spinning up build nodes and sending jobs to them.
2013-10-27 19:06:20 -04:00
yackob03
3026f83c2c
Remove the test build starter as it no longer works.
2013-10-27 16:01:14 -04:00
yackob03
0ff19d5401
Filter the inactive builds when computing the is_building flag.
2013-10-27 16:00:44 -04:00
yackob03
b1a5b9c343
Fix CORS s3 upload.
2013-10-26 18:37:53 -04:00
yackob03
c276bce177
Merge branch 'dockerbuild' of ssh://bitbucket.org/yackob03/quay into dockerbuild
2013-10-26 17:41:32 -04:00
yackob03
be035637f6
Require API login for the build APIs.
2013-10-26 17:41:29 -04:00
Joseph Schorr
28f6ff1605
Get file dropping working and wire it up to call the build repo endpoint
2013-10-26 17:20:59 -04:00
Joseph Schorr
fc6e3258a8
Work in progress: Add the UI for the build status and start on the file drop stuff
2013-10-26 16:03:11 -04:00
yackob03
78d2d6cad0
Add a test endpoint that allows us to manually create builds. Add access tokens to the build data.
2013-10-25 18:17:43 -04:00
yackob03
684ce83058
Add a test api to test repositories which are currenlty building.
2013-10-25 15:47:34 -04:00
yackob03
ffc33e454c
Fixes and refinements to the dockerfile build system.
2013-10-25 15:13:11 -04:00
yackob03
9b9a29c310
Flesh out the create API and wire everything up together. Next up, testing.
2013-10-25 01:14:38 -04:00
Joseph Schorr
70fd9afb2b
Start on new repo page
2013-10-24 17:41:55 -04:00
Joseph Schorr
d51ab5952b
- Add a repo-circle directive and change all repo icons uses to it
...
- Have the repo-circle directive show the padlock in all places
- Mention SSL on the landing page and the pricing page
2013-10-22 01:26:14 -04:00
yackob03
cf1b545dee
Marisa trie needs a real file to read from a stream, use the bytes version instead.
2013-10-20 02:39:45 -04:00
yackob03
13b457c440
Add caching to the changes api since it is so expensive and can return large results.
2013-10-20 01:18:31 -04:00
Joseph Schorr
0afea3a779
Add the image view page with the changes view, filterable by typing into a field. Still needs pagination or some other mechanism for getting an overview
2013-10-18 22:28:46 -04:00
yackob03
4679b0dfcc
Fix bugs and clean up data in the way diffs are generated.
2013-10-18 20:19:05 -04:00
yackob03
2fcd8df42b
Get the worker and the registry playing nice together.
2013-10-18 17:27:09 -04:00
yackob03
63ffa52245
Make the diffs absolute and sort them.
2013-10-18 17:05:51 -04:00
yackob03
a1164269be
Complete the diff generating functionality.
2013-10-18 14:31:14 -04:00
yackob03
5e43cba0f5
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay into diffs
2013-10-17 18:25:44 -04:00
yackob03
93b856bdb3
First few changes for the image diffs feature.
2013-10-17 18:25:19 -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
283f9b81ae
First stab at token auth. The UI could use a little bit of polishing.
2013-10-16 14:24:10 -04:00
yackob03
f1746417b1
Make the image delete recursive to remove any tags which depend on it.
2013-10-15 22:10:53 -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
984e14f9c5
Fix a bug where images can't be pushed that would remove a dependency image.
2013-10-15 16:13:10 -04:00
yackob03
1af0cb3341
Fix indentation on the StreamReader.
2013-10-15 16:12:53 -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
16ee147eae
Add a form for changing the password and prompt the user to do so when there is no password on the account.
2013-10-10 13:44:34 -04:00
yackob03
87ff939ad2
Handle some of the error cases with github login.
2013-10-10 12:55:03 -04:00
Joseph Schorr
b924fa5336
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2013-10-10 00:40:30 -04:00
yackob03
392307a937
Add a repository view with all images that has the list of tags for each image.
2013-10-10 00:40:25 -04:00
Joseph Schorr
9f094af1b2
Begin work on an image history tree view
2013-10-10 00:40:18 -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
3eca5f65e1
Add a visible free plan. Tweak the plans and pricing page. Move all plans to a central plans service to have a single point for editing. Support the free plan on the user admin page. Tweak the landing page.
2013-10-04 14:35:51 -04:00
yackob03
8d40f12165
Fix a bug with anonymous pull.
2013-10-03 19:18:03 -04:00
yackob03
00b8244661
Add analytics on push and pull repo events in the backend.
2013-10-03 16:19:01 -04:00
yackob03
e90f9b37d4
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
...
Conflicts:
endpoints/api.py
2013-10-02 16:35:18 -04:00
Joseph Schorr
c2e9a766f7
Make the account settings view a tiny bit nicer looking
2013-10-02 14:50:02 -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
yackob03
70a9e79157
Add extra logging to figure out why checksums don't match in prod.
2013-10-02 14:06:12 -04:00
yackob03
f572749ace
Fix a bug in billing dealing with former customers.
2013-10-02 12:43:25 -04:00
yackob03
35c1e6e53b
Allow user to unsubscribe and change their plan.
2013-10-02 02:05:53 -04:00
yackob03
c044893ff9
Add some feedback about the number of private repositories used.
2013-10-02 01:40:11 -04:00
yackob03
20765b7e37
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
...
Conflicts:
static/js/app.js
2013-10-02 00:48:48 -04:00
yackob03
7bd18c1bab
Checkpointing stripe work.
2013-10-02 00:48:03 -04:00
Joseph Schorr
927b280f1a
Redo the landing page to:
...
- Show the user's top repos if they have any
- Show a link to the guide and the repos list if they do not
- Add a getting starting guide
- Redo the repos list to show the user's repos and the top 10 public repos separately
2013-10-02 00:28:24 -04:00
Joseph Schorr
31914da4ca
- Better error messages for sign up
...
- Show a throbber while working on sign up
- Have the front page redirect to the repositories view when logged in
2013-10-01 22:13:43 -04:00
yackob03
211fd6bcd7
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
...
Conflicts:
static/js/controllers.js
2013-10-01 19:39:28 -04:00
yackob03
0d6d463fc1
Allow a user to register from the landing page. Fix spacing issues.
2013-10-01 19:37:33 -04:00
Joseph Schorr
b1ec63893d
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2013-10-01 17:44:21 -04:00
Joseph Schorr
f5798b4364
Add a super basic TOS and privacy policy
2013-10-01 17:44:13 -04:00
yackob03
a7537ba621
Missed some Image.image_id instances.
2013-10-01 17:23:44 -04:00
Joseph Schorr
d09c402675
Add ability to search for repos by their full path
2013-10-01 17:02:49 -04:00
yackob03
540815b943
Revert "Try moving the redirect to the app layer."
...
This reverts commit 0cba17efe3
.
2013-10-01 16:54:05 -04:00
yackob03
0cba17efe3
Try moving the redirect to the app layer.
2013-10-01 16:48:19 -04:00
yackob03
a713555915
Notify the user when their account needs verification.
2013-10-01 15:43:16 -04:00
yackob03
cbe0590ce5
Fix s3 delete.
2013-10-01 14:46:44 -04:00
yackob03
96896b9067
Rename Image.image_id to Image.docker_image_id to reduce confusion.
2013-10-01 14:14:39 -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
f5e121d98d
Fix user login from the command line.
2013-10-01 12:25:06 -04:00
yackob03
4b9c6d9aae
Add api function to fully delete a repository.
2013-10-01 12:13:25 -04:00
yackob03
891f992bf2
Allow for anonymous access tokens for public repositories.
2013-10-01 01:18:05 -04:00
yackob03
6148a59b38
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
...
Conflicts:
endpoints/api.py
2013-09-30 17:54:06 -04:00
yackob03
cb3d3a9a9a
Add a special api_login_required which does not generate the signin redirect.
2013-09-30 17:51:07 -04:00
Joseph Schorr
e4653cd7cf
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2013-09-30 17:33:14 -04:00
Joseph Schorr
294d02a595
Fix public browsing
2013-09-30 17:32:03 -04:00
yackob03
b0720aac1c
Update to support running on elasticbeanstalk.
2013-09-30 16:14:48 -04:00
yackob03
ea6df2b725
Add image ancestry and update the test db accordingly.
2013-09-30 15:30:00 -04:00
yackob03
abdf731f7a
Combine the registry and index processes.
2013-09-30 14:39:10 -04:00
Joseph Schorr
4382ebfd20
Add ability to change the visibility of a repo, and show whether the repo is private in the repo-view screen
2013-09-28 17:11:10 -04:00
yackob03
b718dbc6e3
Full add public repository support.
2013-09-28 00:05:32 -04:00
yackob03
540dfd5343
Switch the search to use SQL query.
2013-09-27 23:25:57 -04:00
yackob03
a0adffdc8e
PEP8 fixes.
2013-09-27 20:03:07 -04:00
yackob03
32581c0621
Handle the confirmation codes to validate user emails.
2013-09-27 19:55:04 -04:00
yackob03
5508402bb7
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
2013-09-27 19:29:05 -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
Joseph Schorr
038e9afc97
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2013-09-27 19:24:30 -04:00
Joseph Schorr
edaad6eea2
Add repo autocomplete for searching.
2013-09-27 19:21:54 -04:00
yackob03
87dc3b6344
Add checks for username and passwords, move checks to model.
2013-09-27 18:38:41 -04:00
yackob03
1574be3c07
Make sure usernames and emails are unique and message is sent to user.
2013-09-27 18:16:26 -04:00
yackob03
730f4f2d66
Update landing page to use gravatar.
2013-09-27 18:15:31 -04:00
Joseph Schorr
bf926aceee
Get the tabs working and the UI for the image history. Note that the model changes for the image history are WRONG and need to be fixed
2013-09-27 17:01:45 -04:00
yackob03
53f2a31547
Fix some bugs with the permissions API. Prevent the user from removing themelves as admin.
2013-09-27 15:53:39 -04:00
yackob03
98dc20542c
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
...
Conflicts:
endpoints/api.py
2013-09-27 14:57:03 -04:00
yackob03
1883014ad9
Flesh out the API for managing permissions.
2013-09-27 14:56:14 -04:00
Joseph Schorr
685479da7b
Slightly better repo list screen
2013-09-27 13:49:50 -04:00
yackob03
6bcb5cfcaa
Flesh out some permissions APIs.
2013-09-27 13:24:07 -04:00
yackob03
539275d04e
Add sign in and sign out.
2013-09-26 20:18:36 -04:00
yackob03
2f98c95d21
Add a user service and load the user information dynamically from the backend.
2013-09-26 19:59:58 -04:00
Joseph Schorr
2e476625de
Merge and add tag descriptions for the latest image
2013-09-26 18:10:09 -04:00
Joseph Schorr
27ce5c00b2
Start on UI for Quay
2013-09-26 17:59:20 -04:00
yackob03
9278871381
Load flask principal permissions even for web and api endpoints.
2013-09-26 16:32:09 -04:00
yackob03
23cbcb2979
Make images belong to one repository only. Add a description field to the repository. Fix a bug with access tokens. Fix an embarrasing bug with multiple select criteria in peewee. Update the test db.
2013-09-26 15:58:11 -04:00
yackob03
5caa54ffb3
Fix a bug with pulls and repeate pushes, add permissions checks to all repository endpoints.
2013-09-26 13:42:24 -04:00
yackob03
44255421df
Namespace the storage in the registry to prevent leaking images if one acquires the image id.
2013-09-25 20:00:22 -04:00
yackob03
deee70d53b
Add the registry code.
2013-09-25 17:50:03 -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