Jake Moshenko
|
c68d49dfce
|
Fix the get_matching_users query to work with peewee 2.3+
|
2014-09-22 18:42:48 -04:00 |
|
Jake Moshenko
|
a6225ad34a
|
Set an aggressive timeout on the redis connections to allow the unit tests to run when communication with redis is disabled.
|
2014-09-22 18:42:22 -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
|
297c8ad29c
|
Add migration to backfill uncompressed image sizes on the storage
|
2014-09-22 15:04:28 -04:00 |
|
Joseph Schorr
|
1658475ac1
|
Previous revision should not have the image storage col in it
|
2014-09-22 14:39:44 -04:00 |
|
Joseph Schorr
|
f16878cce9
|
Add migration for synthetic image tables
|
2014-09-22 14:38:42 -04:00 |
|
Joseph Schorr
|
70e0aba257
|
Add a script for generating schema migrations. Should be run from the root quay directory.
|
2014-09-22 14:36:52 -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 |
|
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
|
8c00eabedd
|
Merge remote-tracking branch 'origin/better-emails'
|
2014-09-19 10:04:02 -04:00 |
|
Joseph Schorr
|
6b05b55225
|
Add unicode password support
|
2014-09-18 17:36:26 -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
|
b212dbb2ab
|
Merge branch 'master' into better-emails
|
2014-09-18 13:20:32 -04:00 |
|
Jake Moshenko
|
8b5e7621d2
|
Add the required notification kind for team invites to the migration that was previously run.
|
2014-09-16 10:11:18 -04:00 |
|
Joseph Schorr
|
e3c52fa0eb
|
Work in progress. This is currently broken!
|
2014-09-16 00:18:57 -04:00 |
|
Jake Moshenko
|
e13c027631
|
Add a migration for team member invites.
|
2014-09-15 23:57:05 -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 |
|
Jake Moshenko
|
2b59a0cbe1
|
Merge branch 'master' of bitbucket.org:yackob03/quay
|
2014-09-15 15:59:18 -04:00 |
|
Jake Moshenko
|
efb66f7c1e
|
Select the random row function based on DB driver.
|
2014-09-15 15:58:56 -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
|
c01de4a916
|
Set redis logs entries to expire rather than to immediately delete them to make the logs archiver idempotent.
|
2014-09-12 13:13:14 -04:00 |
|
Jake Moshenko
|
353da13b16
|
Set up the service monitoring for the log migration script. Add a database migration to add the logs_archived column.
|
2014-09-12 11:57:47 -04:00 |
|
Jake Moshenko
|
b55e79e5d3
|
Merge remote-tracking branch 'origin/master' into waltermitty
|
2014-09-12 11:45:07 -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 |
|
Jake Moshenko
|
5388633f9a
|
Merge remote-tracking branch 'origin/master' into pullfail
|
2014-09-12 10:36:38 -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
|
2455c17f96
|
Merge remote-tracking branch 'origin/master' into waltermitty
Conflicts:
app.py
data/userfiles.py
|
2014-09-11 11:18:28 -04:00 |
|
Jake Moshenko
|
548f855f71
|
Use the pure python io module to avoid some interaction between gunicorn, wsgi, and bufferedreader that prevents gunicorn from properly sending the files.
|
2014-09-09 22:28:25 -04:00 |
|
Jake Moshenko
|
c9e1648781
|
Small fixes to bugs in the streaming handler for use with magic and radosgw.
|
2014-09-09 18:30:14 -04:00 |
|
Jake Moshenko
|
756e8ec848
|
Send the content type through to the cloud engines.
|
2014-09-09 16:52:53 -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 |
|
Jake Moshenko
|
451e034ca1
|
Archived logs commit 1. Squash me.
|
2014-09-08 16:43:17 -04:00 |
|
Jake Moshenko
|
54fbb2a4c0
|
Rename collections to morecollections to avoid a conflict with the built in module.
|
2014-09-08 16:42:43 -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
|
c7e873366d
|
Inject the tables metadata into the upgrade and downgrade functions. Fix a bunch of the downgrades to actually work.
|
2014-09-04 20:58:29 -04:00 |
|
Joseph Schorr
|
6fa5a365b3
|
Add loginservice for Google
|
2014-09-04 18:45:23 -04:00 |
|
Joseph Schorr
|
fa1abd5eda
|
Don't require the invite email to match the invited user
|
2014-09-04 18:42:23 -04:00 |
|
Joseph Schorr
|
b9a4d2835f
|
Add migration for the new DB field
|
2014-09-04 18:18:19 -04:00 |
|
Joseph Schorr
|
e028d4ae0a
|
Merge master into branch
|
2014-09-04 18:08:18 -04:00 |
|
Jake Moshenko
|
8910c6ff01
|
Add a migration to remove the webhooks table.
|
2014-09-03 13:44:05 -04:00 |
|
Jake Moshenko
|
21f7acf7ca
|
Fix the default value for the migration to use a string
|
2014-09-03 13:34:36 -04:00 |
|
Jake Moshenko
|
0bd9ba523e
|
Add a migration for the brute force prevention fields to the user table.
|
2014-09-03 13:07:53 -04:00 |
|
Jake Moshenko
|
2dcdd7ba5b
|
Add exponential backoff of login attempts.
|
2014-09-02 15:27:05 -04:00 |
|
Jake Moshenko
|
68ecebc704
|
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
|
2014-08-29 13:16:41 -04:00 |
|
Jake Moshenko
|
ce7e3a8733
|
Do not link against layers that are still marked as uploading, there is no guarantee that they will ever be completed and their ancestry may be incomplete.
|
2014-08-29 13:16:32 -04:00 |
|
Joseph Schorr
|
3b72b26836
|
Merge branch 'master' into comewithmeifyouwanttowork
|
2014-08-28 20:50:13 -04:00 |
|
Joseph Schorr
|
f15b3f345e
|
Review updates
|
2014-08-28 19:07:22 -04:00 |
|
Joseph Schorr
|
85ab7a8c8d
|
Fix migration downgrade for the regenerating robot kind
|
2014-08-28 18:40:33 -04:00 |
|
Joseph Schorr
|
9142ff69a3
|
Add migration for new notification kinds
|
2014-08-28 18:39:35 -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
|
d2880807b2
|
- Further fixes for license stuff
- Small fixes to ensure Quay works for Postgres
|
2014-08-21 19:21:20 -04:00 |
|
Joseph Schorr
|
d5027d2383
|
Add a migration script for the new table and log entry kinds
|
2014-08-18 20:45:48 -04:00 |
|
Joseph Schorr
|
daa43c3bb9
|
Add better messaging around pulling of base images when they fail due to invalid or missing credentials
|
2014-08-18 20:34:39 -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
|
56d7a3524d
|
Work in progress: Require invite acceptance to join an org
|
2014-08-15 17:47:43 -04:00 |
|
Joseph Schorr
|
f6f857eec2
|
Add US West region
|
2014-08-15 15:02:26 -04:00 |
|
Joseph Schorr
|
27c2680380
|
Plan update and fix about page
|
2014-08-13 14:25:48 -04:00 |
|
Joseph Schorr
|
bd4bbe0bdb
|
Add missing image location for enterprise
|
2014-08-12 22:29:17 -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 |
|
yackob03
|
420d02cd71
|
Fix the migration script to add and remove the logentrykinds for notifications.
|
2014-08-05 14:21:29 -07:00 |
|
yackob03
|
b07eff41f6
|
Switch the table names to use lower case.
|
2014-08-05 13:44:18 -07:00 |
|
yackob03
|
cd5af72ba8
|
Temporarily prevent the deletion of the webhooks table to allow a migration path which keeps prod working.
|
2014-08-04 13:44:22 -07:00 |
|
Joseph Schorr
|
2c3fe2e60f
|
Switch web hook migration script to fully use the alembic context and connection
|
2014-08-01 13:37:27 -04:00 |
|
Joseph Schorr
|
a44345338d
|
Add bidirectional migration code of webhooks to/from repo-push webhook notifications.
|
2014-07-31 16:02:14 -04:00 |
|
Jake Moshenko
|
ee2abf590a
|
Merge branch 'redalert' of ssh://bitbucket.org/yackob03/quay into redalert
|
2014-07-31 14:01:17 -04:00 |
|
Jake Moshenko
|
3f6466fccd
|
Add a migration to move the existing webhooks over and another migration to remove the legacy webhooks table.
|
2014-07-31 14:01:03 -04:00 |
|
Joseph Schorr
|
346d3491ff
|
Merge branch 'redalert' of https://bitbucket.org/yackob03/quay into redalert
|
2014-07-31 13:31:16 -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 |
|
Jake Moshenko
|
53a1f62614
|
Create a migration to prepare the database for the new notification types.
|
2014-07-31 13:27:05 -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
|
9ad7fc7a54
|
Prevent extra queries to load image storage data.
|
2014-07-22 16:46:36 -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 |
|
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 |
|
Joseph Schorr
|
8d7493cb86
|
Convert over to notifications system. Note this is incomplete
|
2014-07-17 22:51:58 -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 |
|
Jake Moshenko
|
5645b6da32
|
Add support for read slave databases.
|
2014-07-02 19:10:24 -04:00 |
|
Jake Moshenko
|
d851feef6e
|
One of the calls which returns an image was not using the base format which includes locations yet.
|
2014-06-30 14:51:01 -04:00 |
|
Jake Moshenko
|
684c26bc1a
|
Populate image storage objects with locations everywhere.
|
2014-06-27 20:04:26 -04:00 |
|
Jake Moshenko
|
e68d6a7302
|
Merge branch 'master' of ssh://bitbucket.org/yackob03/quay
|
2014-06-27 19:18:35 -04:00 |
|
Jake Moshenko
|
4e5e8a08de
|
Add a maintenance notification kind and make it of the level warning.
|
2014-06-27 19:18:27 -04:00 |
|
Joseph Schorr
|
76165b5d2b
|
Add API and UI support for displaying image locations
|
2014-06-24 18:48:42 -04:00 |
|
Jake Moshenko
|
6047f3759f
|
Remove the placement fallback since the DB has been fully backfilled.
|
2014-06-24 17:01:23 -04:00 |
|
Jake Moshenko
|
6e3a545c7f
|
Add a migration to upgrade to the version of the database supporting placements.
|
2014-06-18 17:46:20 -04:00 |
|
Jake Moshenko
|
0a62f7f725
|
Add the ability to look up images which do not have a placement yet.
|
2014-06-18 12:40:23 -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
|
6d07cf94d2
|
Add a migration to remove the image fields that were migrated to image storage, and add some uniqueness constraints to some indexes.
|
2014-06-12 19:51:57 -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
|
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 |
|