Commit graph

1985 commits

Author SHA1 Message Date
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
bab3a0949c Make sure completion marking is also under the lock 2014-07-30 18:45:40 -04:00
Joseph Schorr
4aec422e24 Add a lock around accessing the current queue item and make sure to report it as incomplete whenever the worker becomes unhealthy 2014-07-30 18:30:54 -04:00
Joseph Schorr
7e935f5a8c Make build workers report that they are unhealthy when we get an LXC error or a Docker connection issue 2014-07-30 17:54:58 -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
af32b53a4e Fix create token form in the repo-admin view. We had to add type="button" to the delete-ui button so that clicking it doesn't submit the form (and keep the focus there) 2014-07-29 18:53:23 -04:00
Joseph Schorr
1c7d72914b The queue already adds 'notification' to the path 2014-07-29 15:19:05 -04:00
Joseph Schorr
6b85ee3eb6 Make sure all user emails that can be sent in enterprise properly adjust to the app's URL 2014-07-29 13:47:54 -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
Jake Moshenko
a661ef4fa8 Centrally disable the expiration module for now. 2014-07-28 17:55:01 -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
Jake Moshenko
0fcb7da6a1 Change the ownership of files as theyre being unpacked from the tar. 2014-07-25 13:45:56 -04:00
Jake Moshenko
0489a51b01 Upgrade to tutum docker 1.1.1, remove the workdir statements from dockerfiles. 2014-07-24 17:23:28 -04:00
Jake Moshenko
4c6272913f Do not automatically tag repos with latest in the bobfile. 2014-07-22 16:46:59 -04:00
Jake Moshenko
9ad7fc7a54 Prevent extra queries to load image storage data. 2014-07-22 16:46:36 -04:00
Jake Moshenko
d4c41f2b11 Remove the insane repository. 2014-07-22 16:46:19 -04:00
Joseph Schorr
56fec63fcd Add test for API change to entity search 2014-07-22 13:47:35 -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
1ffbc77106 Make the web hook documentation link in the create dialog a bit smarter 2014-07-18 17:00:12 -04:00
Joseph Schorr
a5d9a2aee1 - Fix getting started links
- Add a link in the notifications menu for web hook documentation
2014-07-18 16:57:46 -04:00
Joseph Schorr
d5d9cb7a45 UI improvements to entity-search and the create-external-notification-dialog 2014-07-18 16:51:05 -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
74d1c4e6b0 Update the worker status endpoint to be ELB friendly. 2014-07-18 15:04:20 -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
3865e3b1b7 Refactor the entity-search directive/control to make its interface much cleaner and to add support for ng-model validity checking 2014-07-18 13:45:08 -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
Jake Moshenko
78a2590631 Simplify the dockerfiles using a dockerignore. 2014-07-17 23:17:43 -04:00
Jake Moshenko
6af6305edd Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-07-17 23:17:05 -04:00
Joseph Schorr
397af2ffc9 Fix tooltip in tag-specific-images-view to properly bind 2014-07-17 23:03:22 -04:00
Joseph Schorr
afebb7780d Add an NPE check to lookup up a tag's image's ancestors 2014-07-17 23:02:18 -04:00
Joseph Schorr
566fda9351 Add an NPE check to loadImageChanges 2014-07-17 23:00:25 -04:00
Joseph Schorr
fc384b20a6 Fix missing change to code handling tags and images 2014-07-17 22:59:17 -04:00
Joseph Schorr
8d7493cb86 Convert over to notifications system. Note this is incomplete 2014-07-17 22:51:58 -04:00
Jake Moshenko
4726b9d6b2 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-07-17 15:17:28 -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
126371f8a1 Fix non-library Dockerhub links 2014-07-17 14:36:06 -04:00
Jake Moshenko
db953cdc79 Temporarily downgrade the gunicorn version until the fix for this bug is available: https://github.com/benoitc/gunicorn/issues/790 2014-07-17 14:04:51 -04:00
Joseph Schorr
de8e898ad0 Add UI for managing repo notifications 2014-07-17 13:32:39 -04:00
Jake Moshenko
cceb09d4f6 Remove some unused dependencies and update the rest. 2014-07-17 12:08:07 -04:00
Joseph Schorr
85ce3c6bb2 Remove the HTML escaping in the dockerfile-view directive; the text escaping is handled by the nested controls and Angular itself 2014-07-16 16:47:59 -04:00