Commit graph

7810 commits

Author SHA1 Message Date
Charlton Austin
78f77017e8 Merge pull request #2829 from charltonaustin/fix_bug_with_v2_2
fix(error with repository): removed a field that is not being used
2017-07-27 10:40:43 -04:00
Charlton Austin
11b1dca994 fix(error with repository): removed a field that is not being used
this causes an exception when getting releases

Issue: https://coreosdev.atlassian.net/browse/QUAY-753

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-27 10:20:55 -04:00
Antoine Legrand
af9a6caa49 Merge pull request #2713 from coreos-inc/alegrand/QUAY-569/show-code-coverage
add coverage report
2017-07-27 12:41:19 +02:00
Antoine Legrand
9fd455de28 show migration head 2017-07-27 12:39:15 +02:00
Antoine Legrand
851686dd0b add coverage report 2017-07-27 12:12:56 +02:00
Jake Moshenko
90ed0c28be Merge pull request #2828 from jakedt/attribs
Use a more pro-active approach to identify an uninitialized db proxy.
2017-07-26 18:25:10 -04:00
Jake Moshenko
e9a5fdbad1 Use a more pro-active approach to identify an uninitialized db proxy. 2017-07-26 18:23:05 -04:00
josephschorr
d2dc3c40bf Merge pull request #2827 from coreos-inc/remove-validate-storage
Remove unnecessary bucket validation call in storage
2017-07-26 18:17:16 -04:00
Joseph Schorr
cdee387d3f Remove unnecessary bucket validation call in storage 2017-07-26 18:14:53 -04:00
josephschorr
cc79a2a3db Merge pull request #2825 from coreos-inc/remove-db-config
Remove the configure call in UseThenDisconnect
2017-07-26 14:16:35 -04:00
Joseph Schorr
50c144a7c4 Remove the configure call in UseThenDisconnect
This hopefully avoids us creating secondary connections
2017-07-26 14:14:52 -04:00
Jake Moshenko
c8cdd39d04 Merge pull request #2823 from jakedt/buildhilarity
Release database connections after updating build statuses.
2017-07-26 12:45:47 -04:00
Jake Moshenko
0011ddda16 Release database connections after updating build statuses. 2017-07-26 12:29:51 -04:00
josephschorr
543bf21e6b Merge pull request #2824 from coreos-inc/close-build-connection
Close the database connection after operations in buildman
2017-07-26 12:19:04 -04:00
Joseph Schorr
9febb539a7 Close the database connection after operations in buildman
Also adds a *temporary* hack to prevent this from breaking tests
2017-07-26 12:10:48 -04:00
Alec Merdler
27e3dd4f7c Merge pull request #2822 from alecmerdler/fix-statusbar
Fix Quay.io Status Bar Visibility
2017-07-26 11:40:38 -04:00
josephschorr
a7de27fe14 Merge pull request #2821 from coreos-inc/fix-expiration
Reporting the expiration got lost in a rebase
2017-07-26 11:39:34 -04:00
Joseph Schorr
f0b932559d Reporting the expiration got lost in a rebase
This ensure the tag expiration shows up in the UI
2017-07-26 11:29:21 -04:00
Alec Merdler
25f514a03d fixed status bar not showing 2017-07-26 11:24:12 -04:00
josephschorr
c271b1f386 Merge pull request #2793 from coreos-inc/notifications-refactor
Refactor the notifications system into its own package and add much better testing
2017-07-25 17:32:14 -04:00
Joseph Schorr
48c79003c6 yap 2017-07-25 17:18:06 -04:00
Joseph Schorr
e7d6e60d97 Update for merge and make additional interface improvements 2017-07-25 17:00:08 -04:00
Joseph Schorr
543cba352b Add end-to-end notification worker tests for all notification methods 2017-07-25 17:00:07 -04:00
Joseph Schorr
348b544f23 Notification method tests 2017-07-25 17:00:07 -04:00
Joseph Schorr
5e5e191f87 Merge tests into a single suite 2017-07-25 17:00:07 -04:00
Joseph Schorr
b1d5990ab3 Make sure event_names returns *all* events 2017-07-25 17:00:07 -04:00
Joseph Schorr
875a303762 Add missing build event template 2017-07-25 17:00:07 -04:00
Joseph Schorr
be49dda756 Change test to use pytest 2017-07-25 17:00:07 -04:00
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
5739e2ef4d Move notifications test into notifications package 2017-07-25 17:00:06 -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
josephschorr
635d8888ff Merge pull request #2819 from coreos-inc/joseph.schorr/QUAY-621/suconfig-api-data-model
Change suconfig to use a data model interface
2017-07-24 18:40:49 -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
ec71d787af Add config option to enable self-service team syncing 2017-07-21 11:16:19 -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