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