Joseph Schorr
e7fec9dd20
Change get_sample_data API to not require the custom notification tuple
2017-07-25 17:00:07 -04:00
Joseph Schorr
e7dbc4ee91
Move notification helper code into the root module
2017-07-25 17:00:07 -04:00
Joseph Schorr
ce56031846
Move notifications into its own package
2017-07-25 17:00:06 -04:00
Charlton Austin
be206a8b88
Merge pull request #2814 from charltonaustin/create_data_interface_for_subsystem_api/repository_633
...
refactor(endpoints/api/repository*): added in pre_oci_model abstraction
2017-07-25 13:59:52 -04:00
Evan Cordell
ac4ab92f03
Merge pull request #2802 from ecordell/QUAY-644/endpoints-api-init-v22
...
add pre-oci models for endpoints/api/__init__.py
2017-07-25 13:57:21 -04:00
Joseph Schorr
72a9652d0f
Change suconfig to use a data model interface
2017-07-24 16:30:44 -04:00
josephschorr
074b4e4981
Merge pull request #2810 from coreos-inc/joseph.schorr/QUAY-747/common-data-interface
...
Convert endpoints/common into using a data interface
2017-07-24 15:59:13 -04:00
Charlton Austin
8f1200b00d
style(data, endpoints, test): ran yapf against changed files
...
### Description of Changes
Issue: https://coreosdev.atlassian.net/browse/QUAY-633
## Reviewer Checklist
- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-24 11:05:15 -04:00
Charlton Austin
9e1106f164
refactor(endpoints/api/repository*): added in pre_oci_model abstraction
...
this is a part of getting ready for oci stuff
[TESTING->using new PR stack]
Issue: https://coreosdev.atlassian.net/browse/QUAY-633
- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-24 11:03:03 -04:00
josephschorr
94d516a2c8
Merge pull request #2813 from coreos-inc/joseph.schorr/QUAY-701/team-sync-nonsuperuser
...
Add option for self-service team synchronization
2017-07-21 12:58:29 -04:00
josephschorr
009ca829e8
Merge pull request #2803 from coreos-inc/joseph.schorr/QUAY-627/signing-data-interface
...
Change signing API to use a data model interface
2017-07-21 12:58:11 -04:00
Joseph Schorr
8a96647d6e
Add feature flag to enable team syncing setup when not a superuser
2017-07-21 11:06:21 -04:00
Joseph Schorr
f976ffbdc7
Change endpoints/common to use a data interface
2017-07-20 16:01:39 -04:00
Joseph Schorr
aecec02b6c
Change common_login to take in a user uuid, instead of a user DB object
2017-07-20 16:01:39 -04:00
Joseph Schorr
7736de24fe
Add common_login test
2017-07-20 16:01:39 -04:00
Joseph Schorr
41ac9019c6
Small formatting improvements to common
2017-07-20 16:01:38 -04:00
Joseph Schorr
5d69fc2aa3
Move param_required into the decorators module
2017-07-20 16:01:38 -04:00
Joseph Schorr
98e2ccf74d
Move parse_repository_name into decorators
2017-07-20 16:01:38 -04:00
Joseph Schorr
a64f268344
Remove unused random_string method
2017-07-20 16:01:38 -04:00
Joseph Schorr
0531f6c749
Small cleanups to the decorators file
2017-07-20 16:01:38 -04:00
Jimmy Zelinskie
d7b094f65c
Merge pull request #2801 from jzelinskie/keyserver-update
...
endpoints.keyserver: new fs org for data interface
2017-07-20 14:48:57 -04:00
Joseph Schorr
17f3de811e
Move route_show_if into decorators
...
Also removes unused route_hide_if
2017-07-20 11:07:31 -04:00
josephschorr
a6db05e8b5
Merge pull request #2718 from coreos-inc/tag-expiration
...
Formal tag expiration support
2017-07-19 17:48:11 -04:00
josephschorr
b8e5a21736
Merge pull request #2663 from coreos-inc/multi-instance-su-panel
...
Disable debug logs in superuser panel when under multiple instances
2017-07-19 17:28:05 -04:00
Joseph Schorr
9679ec91ec
Fix for hard merge
2017-07-19 17:13:49 -04:00
Joseph Schorr
7d4fed6892
Change error message when trying to pull a deleted or expired tag
...
Will let the users know they can recover the tag via time machine
Note: This was tested with the Docker protocol, but the new error code is *technically* out of spec; we should make sure its okay.
2017-07-19 17:13:48 -04:00
Joseph Schorr
99d7fde8ee
Add UI for viewing and changing the expiration of tags
2017-07-19 17:13:48 -04:00
Joseph Schorr
c5d8b5f86b
Add support for tag expiration based on a quay.expires-after
label
2017-07-19 17:13:06 -04:00
Joseph Schorr
7b8ce1df4c
Change signing API to use a data model interface
2017-07-19 16:29:58 -04:00
Charlton Austin
ae30a40921
Merge pull request #2800 from charltonaustin/create_data_interface_for_subsystem_api/logs_628
...
refactor(endpoints/api/logs*): Refactor to new data model
2017-07-19 15:51:57 -04:00
Charlton Austin
a7c818543d
refactor(endpoints/api/logs*): Refactor to new data model
...
moving things away from peewee data model to data model interface
[TESTING->locally with docker compose]
Issue: https://coreosdev.atlassian.net/browse/QUAY-628
- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-19 13:43:27 -04:00
josephschorr
38d3417ca7
Merge pull request #2636 from coreos-inc/auth-health-check
...
Add support to health checks for auth and make health checks more descriptive
2017-07-19 12:55:37 -04:00
Alec Merdler
a1ed482200
Merge pull request #2737 from alecmerdler/data-interface-refactor-api/subscribe
...
refactor(/endpoints/api/subscribe.py): data interfaces
2017-07-19 10:06:59 -04:00
alecmerdler
791bd5aefc
refactored endpoints.api.subscribe to use abstracted data interface
2017-07-19 09:47:13 -04:00
Joseph Schorr
b7d6bb12fa
Hide extended health check information behind superuser permission or a session property
...
Also adds an endpoint that (when specified with the proper secret), sets the session property
2017-07-19 16:17:02 +03:00
Evan Cordell
cb02610bfb
fix bad merge
2017-07-18 15:52:06 -04:00
Evan Cordell
b8fc20c191
add pre-oci models for endpoints/api/__init__.py
2017-07-18 15:37:44 -04:00
Evan Cordell
dd58008470
Add docs to data interface for repo notifications
2017-07-18 14:21:22 -04:00
Evan Cordell
3db8d54a31
delete weird incomplete refactor
2017-07-18 11:20:58 -04:00
Evan Cordell
94c28b624e
fix tests after rebase, use _get_namespace_name_from
2017-07-18 11:07:55 -04:00
Evan Cordell
57517adef3
Add tests for repository notification api
2017-07-17 17:56:32 -04:00
Evan Cordell
9dad44e93d
Don't use repository object anywhere in endpoints/api/repositorynotification
...
Also adds support for audit logging with repo name only
2017-07-17 17:55:00 -04:00
Evan Cordell
047722b295
add data interface and pre oci impelementation for repo notifications
2017-07-17 17:53:08 -04:00
Jimmy Zelinskie
42869cb00a
endpoints.keyserver: new fs org for data interface
2017-07-17 14:25:18 -04:00
Charlton Austin
69a0a10ab4
fix(endpoints/notificationmethod.py): deals with pre oci and the previous data model
...
Issue: NA
- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-14 10:32:38 -04:00
josephschorr
2f750bfc87
Merge pull request #2788 from coreos-inc/fix-notifications
...
Fix notification system to use the new tuple correctly
2017-07-14 00:26:16 +03:00
Joseph Schorr
63a97b6d2f
Add a TODO
2017-07-14 00:21:55 +03:00
Charlton Austin
48ed4f2875
Merge pull request #2787 from charltonaustin/create_data_interface_for_subsystem_api/repoemail_626
...
refactor(endpoints/api/repoemail): added in pre_oci model
2017-07-13 16:54:09 -04:00
Joseph Schorr
bf3e941d7f
Fix notification system to use the new tuple correctly
2017-07-13 22:43:26 +03:00
Charlton Austin
bbe9b033d0
style(endpoints/api/repoemail): ran yapf
...
### Description of Changes
Issue: https://coreosdev.atlassian.net/browse/QUAY-626
## Reviewer Checklist
- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-13 15:34:48 -04:00