Commit graph

576 commits

Author SHA1 Message Date
Joseph Schorr
3d6c92901c Switch to using an aggregated logs query and infinite scrolling
This should allow users to work with large logs set.

Fixes #294
2015-07-31 16:38:02 -04:00
Joseph Schorr
4160b720f9 UI and API improvements for working with large repositories
- Change the tag check bar to only select the current page (by default), but allow for selecting ALL tags
- Limit the number of tags compared in the visualization view to 10
- Fix the multiselect dropdown to limit itself to 10 items selected
- Remove saving the selected tags in the URL, as it is too slow and overloads the URLs in Chrome when there are 1000+ tags selected
- Change the images API to not return locations: By skipping the extra join and looping, it made the /images API call 10x faster (in hand tests)

Fixes #292
Fixes #293
2015-07-31 16:31:29 -04:00
Jimmy Zelinskie
242c322850 Merge pull request #267 from coreos-inc/deletethrob
Add a throbber and better dialog for deleting repo
2015-07-23 11:28:06 -04:00
Joseph Schorr
b7581a8d3f Add a throbber and better dialog for deleting repo
Fixes #265
2015-07-22 17:03:47 -04:00
Joseph Schorr
ede9936722 Add a proper throbber to the repo list table 2015-07-22 16:59:31 -04:00
Joseph Schorr
93c614ae31 Default sort by popularity instead of starred 2015-07-22 16:54:21 -04:00
Joseph Schorr
2ff1dfc8b7 Switch to log base for the repo popularity 2015-07-22 14:20:46 -04:00
Joseph Schorr
687bab1c05 Support invite codes for verification of email
Also changes the system so we don't apply the invite until it is called explicitly from the frontend

Fixes #241
2015-07-22 13:41:27 -04:00
Jimmy Zelinskie
486ac45783 Merge pull request #226 from coreos-inc/robotadd
Feedback bar for showing response to user actions
2015-07-21 16:47:27 -07:00
Joseph Schorr
634190d1f9 Better messaging when creating a user on the landing page
Fixes #230
2015-07-14 14:00:29 +03:00
Joseph Schorr
ab47089872 Add feedback to prototype manager, application manager and the builds tab 2015-07-14 12:39:49 +03:00
Joseph Schorr
fd354469da Add feedback to the teams manager 2015-07-14 12:28:53 +03:00
Joseph Schorr
d74da9a3db Update styling of feedback bar to use the alert styles and string builder 2015-07-14 12:22:18 +03:00
Joseph Schorr
dcf8922799 Feedback bar for showing response to user actions
Fixes #215
2015-07-14 12:02:57 +03:00
Jimmy Zelinskie
cf4800c06c Merge pull request #213 from coreos-inc/orgmember
Add a secondary tab to Teams for managing org members
2015-07-06 11:48:40 -04:00
Jimmy Zelinskie
3e29420718 Merge pull request #201 from coreos-inc/basepullissue
Record phase information and make better error messages on pull failure
2015-07-02 11:26:40 -04:00
Joseph Schorr
3a59c99b08 Add a secondary tab to Teams for managing org members
Also adds the ability to completely remove a user from an organization (repo permissions and teams), in a single click

Fixes #212
2015-07-02 17:06:36 +03:00
Joseph Schorr
b535e222b8 Have the fetch tag dialog show a warning for robot accounts without access
Before this change, we'd show the squash pulling command with the proper credentials, but it then 403s on the end user.
2015-07-01 19:37:52 +03:00
Jake Moshenko
411ddceee0 Merge pull request #195 from coreos-inc/tidy
Delete all the old UI code and branches for new UI
2015-06-30 14:34:43 -04:00
Joseph Schorr
e06435fee4 Record phase information and make better error messages on pull failure 2015-06-30 18:04:44 +03:00
Joseph Schorr
2b1bbcb579 Add a table view to the repos list page
Fixes #104
2015-06-29 21:12:53 +03:00
Jimmy Zelinskie
7043ddc935 Merge pull request #187 from coreos-inc/adblock
Add messaging when archived build logs loads fail.
2015-06-29 13:34:42 -04:00
Joseph Schorr
dc5af7496c Allow superusers to disable user accounts 2015-06-29 18:40:52 +03:00
Joseph Schorr
3342f2392d Remove long build descriptions (not properly used in the new UI) 2015-06-29 12:36:39 +03:00
Joseph Schorr
ff3d8bb013 Delete the old UI! 2015-06-29 12:33:00 +03:00
Joseph Schorr
094c94c0fb Add messaging when archived build logs loads fail.
This code also checks for an ad blocker, and adjusts the message accordingly.

Fixes #184
2015-06-28 09:14:48 +03:00
Joseph Schorr
f0f864a375 Fix handling of long build commit messages
Fixes #175
2015-06-26 16:09:35 -04:00
Joseph Schorr
672e8a5ba9 Add pagination to the tags view 2015-06-25 16:19:39 -04:00
Joseph Schorr
0d133b0fa4 appLinkTarget needs to be lazy 2015-06-25 16:19:36 -04:00
Joseph Schorr
dde8d32984 Switch CheckStateController to not be O(n) for the isChecked call 2015-06-25 16:19:04 -04:00
Joseph Schorr
43330bcfad Make loading of the tags tab async 2015-06-25 16:19:04 -04:00
Joseph Schorr
143036be9c Allow manual triggering of both branches and tags
Fixes #100
2015-06-19 14:38:26 -04:00
Joseph Schorr
96bcfa84ae Add better messaging around squashed fetching when the user is not a namespace admin
Fixed #147
2015-06-17 16:38:31 -04:00
Jimmy Zelinskie
7315736c1f Merge pull request #134 from coreos-inc/permapprove
Default to the read role in the permissions table
2015-06-16 17:37:46 -04:00
Joseph Schorr
b2d2fbe18f Fix bug in the logs view UI 2015-06-15 17:26:58 -04:00
Joseph Schorr
34ab6e4ccc Default to the read role in the permissions table
Fixes #126
2015-06-15 16:11:39 -04:00
Jimmy Zelinskie
ae779cade2 Merge pull request #130 from coreos-inc/setupbuildnow
Add button for running a newly setup trigger
2015-06-15 15:53:50 -04:00
Joseph Schorr
16a205c108 Add button for running a newly setup trigger
This allows users quick access to test their new trigger they just setup

Fixes #125
2015-06-12 17:02:58 -04:00
Joseph Schorr
e7fa560787 Add support for custom fields in billing invoices
Customers (especially in Europe) need the ability to add Tax IDs, VAT IDs, and other custom fields to their invoices.

Fixes #106
2015-06-12 16:45:01 -04:00
josephschorr
63f289a8cb Merge pull request #59 from jzelinskie/custom-git-fix
triggers: metadata.commit_sha -> metadata.commit
2015-06-02 16:10:26 -04:00
Jimmy Zelinskie
7f4dd7d42f triggers: backwards compatible schema for metadata 2015-06-02 16:05:17 -04:00
Jimmy Zelinskie
e01bdd4ab0 triggers: metadata.commit_sha -> metadata.commit
This resolves an issue where the custom-git trigger's public facing
schema was not the same as the internal metadata schema. Instead of
breaking users, we rework the internal metadata schema to be the same as
the custom-git JSON schema. This commit also updates everything that
used `metadata.commit_sha` including the test database.
2015-06-02 15:32:28 -04:00
Joseph Schorr
c0e995c1d4 Merge branch 'master' into nolurk 2015-06-02 13:55:16 -04:00
Joseph Schorr
d414111fa7 Fix small JS issue if the underlying repository has no branches defined
This allows the user to continue the setup, even if the repo is empty.
2015-06-01 15:45:13 -04:00
Joseph Schorr
cb733ef25a We only add the build to the build list if present, not if missing 2015-05-26 13:49:58 -04:00
Joseph Schorr
54992c23b7 Add a feature flag for disabling unauthenticated access to the registry in its entirety. 2015-05-19 17:52:44 -04:00
Joseph Schorr
628d80895d Make sure to escape error messages and add clarification to the trigger activation dialog 2015-05-11 13:47:40 -04:00
Joseph Schorr
4feb2a2032 Hide unneeded user elements when in LDAP 2015-05-11 13:32:24 -04:00
Joseph Schorr
f858caf6cd Only return the team and repo permissions when listing robots when we absolutely need them. 2015-05-08 16:43:07 -04:00
Joseph Schorr
180e0a67cd Make sure we show the move tag warning 2015-05-08 15:05:31 -04:00
Joseph Schorr
3627de103c Minimize the queries used when retrieve builds. Previously, we'd call out to SQL extra times per build. 2015-05-07 21:11:15 -04:00
Joseph Schorr
2105ad90a0 Show the billing options in the user and org views 2015-05-07 16:43:45 -04:00
Joseph Schorr
7ea02c186a Fix error display on the convert user widget 2015-05-07 16:28:58 -04:00
Joseph Schorr
23fafa6b4a Make images loaded lazily on the repo tags page, as they will not be needed in the read-only (common) case. 2015-05-07 15:51:49 -04:00
Joseph Schorr
d53f2f9fc8 Fix NPE 2015-05-06 18:28:18 -04:00
Joseph Schorr
b63b378088 Fix NPE 2015-05-06 18:27:04 -04:00
Joseph Schorr
3b3102478a Fix NPE 2015-05-06 18:24:09 -04:00
Joseph Schorr
61dcf86d2a Fix NPE 2015-05-06 18:22:42 -04:00
Joseph Schorr
c04cb4e988 Change the repo view page to minimize the number of API calls necessary until such time as the information is needed (lazy load everything). Also increase the build timer to 30s. 2015-05-06 18:16:03 -04:00
Joseph Schorr
df596edaac Fix property access issue 2015-05-05 12:19:56 -07:00
Joseph Schorr
7789e99b99 Fix another bug in user conversion 2015-05-05 11:59:31 -07:00
Joseph Schorr
3818593717 Add missing services 2015-05-05 09:38:35 -07:00
Joseph Schorr
0334d3a31a Fix NPE 2015-05-05 09:37:19 -07:00
Joseph Schorr
251a843d21 Add missing lib 2015-05-05 09:36:23 -07:00
Joseph Schorr
70cc895b95 Fix JS NPEs 2015-05-04 09:17:58 -07:00
Joseph Schorr
2a321ed920 Make sure to copy over the repository url 2015-05-03 17:45:50 -07:00
Joseph Schorr
0b990677a0 More code cleanup and fix bug around can_admin in the trigger_view 2015-05-03 11:02:05 -07:00
Joseph Schorr
c8d3ded95a Fix icons for gitlab and some spacing 2015-05-03 10:43:08 -07:00
Joseph Schorr
b96e35b28c Merge master into bitbucket 2015-04-30 15:52:08 -04:00
Joseph Schorr
b7317f894b UI fixes for all the new trigger stuff 2015-04-30 15:33:19 -04:00
Joseph Schorr
6673d90818 Fix builds tab to reload if a new build comes in 2015-04-30 13:01:40 -04:00
Joseph Schorr
de29a441c8 Work in progress: UI fixes for the new trigger type 2015-04-29 19:50:13 -04:00
Joseph Schorr
6479f8ddc9 Work In Progress!
Get the full activation and deactivation cycle working for bitbucket.
2015-04-28 18:15:12 -04:00
Joseph Schorr
5741656411 Get a nice dropdown of tags working on the visualize tags tab 2015-04-27 17:36:31 -04:00
Joseph Schorr
be9906167a Make repo pull and push counts on the info page be abbreviated 2015-04-27 14:43:55 -04:00
Joseph Schorr
4834dbd7c9 Add confirmation for deleting a robot 2015-04-27 14:19:50 -04:00
Joseph Schorr
5cc91ed202 Work in progress: bitbucket support 2015-04-24 18:36:48 -04:00
Jimmy Zelinskie
2a13eade80 Merge pull request #22 from coreos-inc/git
git's a pretty cool guy
2015-04-23 17:33:36 -04:00
Joseph Schorr
8663bcd1c7 Switch to the new robot icon 2015-04-23 16:41:47 -04:00
Joseph Schorr
864bedf79b Make sure to support capital letters in the commit sha 2015-04-23 15:24:41 -04:00
Joseph Schorr
4dff6557ae Fix create robot and create team in the new layout "new" header button 2015-04-23 14:40:01 -04:00
Joseph Schorr
b02b98def3 Fix bug in robots manager around adding a new robot and make the robots listing using bind once to reduce the number of listeners 2015-04-23 13:56:25 -04:00
Joseph Schorr
518419097f Really sort robots by name. Also sort teams by name and fix team create. 2015-04-23 13:20:03 -04:00
Joseph Schorr
67c70860c5 Add rocket fetch command to the fetch tag dialog 2015-04-23 12:18:54 -04:00
Jimmy Zelinskie
07b730c7ad generic trigger credentials 2015-04-22 17:07:16 -04:00
Joseph Schorr
ee9d6ae66a Have entity reference link to the new user and org pages for showing robots 2015-04-22 15:26:01 -04:00
Joseph Schorr
d6a1493d52 Fix build logs on Safari by having the client JS handle the redirect manually, rather than the browser itself; Safari doesn't support 302 redirects to another domain inside an XHR. 2015-04-22 15:16:59 -04:00
Joseph Schorr
9f3395ada1 Fix docker file build form to read the files from its local uploader, rather than just the first one it finds 2015-04-22 13:22:09 -04:00
Jimmy Zelinskie
9703850e8f enforce short SHAs throughout build pipeline 2015-04-22 13:22:04 -04:00
Jimmy Zelinskie
02498d72ba almost all PR discussion fixes 2015-04-21 18:04:25 -04:00
Joseph Schorr
70d5200858 JS scoping sucks sometimes 2015-04-21 16:21:26 -04:00
Joseph Schorr
afa59da8d6 Make the org and user views more performant by only loading teams and robots when requested, making some loads async, and skipping others entirely on mobile 2015-04-21 16:07:24 -04:00
Joseph Schorr
54097c351e Finish work on the new role group and make sure it only appears when the new layout is enabled 2015-04-21 12:02:59 -04:00
Joseph Schorr
a4cacd7307 Start on mobilification of repo view 2015-04-20 17:42:33 -04:00
Joseph Schorr
f8192a1140 Merge master into ibranch 2015-04-20 13:23:02 -04:00
Joseph Schorr
72abd80f08 Make robot accounts filter rather than display the dialog when "showRobot" is passed to the manager 2015-04-20 13:11:21 -04:00
Joseph Schorr
a500477bbc Fix NPE 2015-04-20 12:00:26 -04:00
Jimmy Zelinskie
93cd459460 Merge branch 'master' into git 2015-04-20 10:58:49 -04:00
Joseph Schorr
32635cc641 - Make robots manager fully responsive
- Add a cor-table which automatically stacks and collapses on mobile views
2015-04-17 16:43:53 -04:00
Jimmy Zelinskie
ba2cb08904 Merge branch 'master' into git 2015-04-16 17:38:35 -04:00
Joseph Schorr
f19d2f684e Add ability to revert tags via time machine 2015-04-16 17:18:00 -04:00
Jimmy Zelinskie
de3fa5f42d directives: ssh-key-dialog -> trigger credentials 2015-04-16 14:58:25 -04:00
Joseph Schorr
2a77bd2c92 - UI improvements in prep for adding undo ability
- Move the tag history into its own directive and clean up the code
2015-04-15 18:39:05 -04:00
Joseph Schorr
20b399318e Fix off by one issue 2015-04-15 16:11:04 -04:00
Joseph Schorr
0533130de3 Fix NPE 2015-04-15 15:23:50 -04:00
Joseph Schorr
f8c80f7d11 Add a history view to the tags page. Next step will add the ability to revert back in time 2015-04-15 15:21:09 -04:00
Jimmy Zelinskie
876d9c53f2 View SSH Key modal 2015-04-14 14:11:02 -04:00
Jimmy Zelinskie
222101482f add post-activation trigger setup dialog 2015-04-13 13:45:34 -04:00
Joseph Schorr
dddab60058 Better empty messages on billing, prototype and application managers. Also properly handles the 404 for the invoices manager. 2015-04-09 16:25:10 -04:00
Joseph Schorr
3a2f271362 Slight UI improvements to the teams page: sort members by whether they are a robot, reduce the number displayed to 20, and make users clickable 2015-04-09 15:12:03 -04:00
Joseph Schorr
c2e4cbe95b Nicer handling of robots: sort the robots by name and add a filtering box 2015-04-09 15:03:07 -04:00
Joseph Schorr
5ae2975134 Properly debounce searching and make sure to only show results matching the current query. 2015-04-08 16:40:22 -04:00
Joseph Schorr
0f49beaaa8 Hide the squashed tag fetch when the user is not an admin on the repository 2015-04-08 15:49:32 -04:00
Joseph Schorr
b1cf180ab0 auto-select the first result in the search 2015-04-08 15:42:19 -04:00
Joseph Schorr
2e3704f7ba Redo header bar to trim options when we can and make the repositories page the default landing page for logged in users 2015-04-08 15:15:21 -04:00
Joseph Schorr
af468a8c6a - UI feedback fixes: text cutoffs, misformatting fixes, etc
- Add hotkey support for searching and creating repositories
- Make search animations significantly faster
2015-04-08 14:39:52 -04:00
Joseph Schorr
7bdd7c5f82 Remove some code duplication by moving the robot and team creation dialogs to the create service 2015-04-08 11:54:04 -04:00
Joseph Schorr
4b64236d8e Get new docker file build action working 2015-04-07 18:38:58 -04:00
Joseph Schorr
d09f2f6e22 Get the new context-sensitive new menu working 2015-04-07 18:33:43 -04:00
Joseph Schorr
55a2c54ab6 Better keyboard handling and show score on results 2015-04-07 12:11:16 -04:00
Joseph Schorr
951b0cbab8 Start on new interactive search 2015-04-06 19:17:18 -04:00
Jimmy Zelinskie
4ceb68d568 trigger-setup: set config to activated config 2015-04-06 16:30:42 -04:00
Jimmy Zelinskie
c8b931609e unsupported alert for robot selection 2015-04-06 14:53:54 -04:00
Joseph Schorr
cafc96fe28 Switch the "Account Settings" link to the new user view page's settings tab 2015-04-03 17:56:08 -04:00
Jimmy Zelinskie
1b953c8cd6 custom trigger: remove subdir rewrite 2015-04-03 17:20:31 -04:00
Joseph Schorr
2d8237bd83 Fix avatar in the user view 2015-04-03 12:34:52 -04:00
Joseph Schorr
f67eeee8c8 Start conversion of the user admin/view 2015-04-02 16:34:41 -04:00
Joseph Schorr
c31eea8f79 Restyle the billing invoices tab 2015-04-01 15:04:01 -04:00
Joseph Schorr
5fc8e632d6 Redo the permissions table to have different sections for users and robot accounts 2015-04-01 14:23:39 -04:00
Jimmy Zelinskie
818b76d825 custom trigger: rewrite / subdir to empty string 2015-04-01 14:12:20 -04:00
Joseph Schorr
fde9666647 Add the team membership to the robots view 2015-04-01 13:56:30 -04:00
Jimmy Zelinskie
4e097c1f9d custom trigger: build trigger config 2015-04-01 13:31:51 -04:00
Joseph Schorr
1f5e6df678 - Fix tests
- Add new endpoints for retrieving the repo permissions for a robot account
- Have the robots list return the number of repositories for which there are permissions
- Other UI fixes
2015-03-31 18:50:43 -04:00
Jimmy Zelinskie
d2f9a8838c custom trigger: more wizard progress 2015-03-31 17:12:40 -04:00
Joseph Schorr
27a9b84587 Switch avatars to be built out of CSS and only overlayed with the gravatar when a non-default exists 2015-03-30 17:55:04 -04:00
Jimmy Zelinskie
7d1d53ebcb custom trigger: initial setup wizard 2015-03-27 17:07:06 -04:00
Joseph Schorr
2459b6b467 Start on new org view 2015-03-25 15:31:05 -04:00
Joseph Schorr
1ed814a469 Better filtering of repo builds 2015-03-23 15:44:17 -04:00
Joseph Schorr
3f4801ea7e Switch the squashed image icon 2015-03-23 15:23:34 -04:00
Joseph Schorr
8042f1a985 - Finished new image view
- Add the CoreOS icon font
2015-03-23 15:22:22 -04:00
Joseph Schorr
049148cb87 Work in progress: new image view 2015-03-20 17:46:02 -04:00
Joseph Schorr
3959ea2ff9 Add ability to add/move a tag in the tag view 2015-03-19 15:23:34 -04:00
Joseph Schorr
70aec00914 Add a fetch tag dialog 2015-03-19 15:08:18 -04:00
Joseph Schorr
c1d58bdd6c Make messaging around the connected user invoking builds better 2015-03-18 16:26:27 -04:00
Joseph Schorr
99c56b7f98 Delink the build-mini-status if the user is not the repo admin 2015-03-18 15:43:53 -04:00
Joseph Schorr
ab2331a486 Performance improvements for the repo API and the new repo UI 2015-03-18 14:47:53 -04:00
Joseph Schorr
bc6baae050 Add scheduled scheduled maintenances to the status bar 2015-03-18 13:49:34 -04:00
Joseph Schorr
e58144eec5 Add selection of images by railroad track 2015-03-18 12:06:47 -04:00
Joseph Schorr
e0f11f46e5 Fix since filter on the builds list 2015-03-18 11:59:22 -04:00
Joseph Schorr
3cd867b3ab Fix build view when job_config is missing 2015-03-17 16:56:21 -04:00
Joseph Schorr
699cb9a5da Fix last modified date time handling for tags with no date times, and fix the sort ordering 2015-03-17 16:49:22 -04:00
Joseph Schorr
5479ffdf32 Small fixes 2015-03-16 17:09:46 -04:00
Joseph Schorr
31480de8c1 Get the remainder of the repo settings panel working 2015-03-16 17:03:26 -04:00
Joseph Schorr
32956b6713 Finish permissions table support 2015-03-16 14:49:57 -04:00
Joseph Schorr
dc5d40ddc3 Start work on the repo permissions table 2015-03-16 14:17:27 -04:00
Joseph Schorr
958caa6fc7 Make sure we use the single-tag deletion path if only a single tag is selected 2015-03-13 15:39:14 -07:00
Joseph Schorr
333e0acd6d Add the builds tab 2015-03-13 15:34:28 -07:00
Joseph Schorr
347bf31f2d Have tags selected be handled universally throughout the entire repository view page. 2015-03-12 12:22:47 -07:00
Joseph Schorr
a18148b058 Get full actions working in the repo changes tab 2015-03-11 17:46:50 -07:00
Joseph Schorr
002dc083f2 Get the main repo page design working 2015-03-10 17:22:46 -07:00
Joseph Schorr
3d3c8ca198 Some improvements to image tracks in the repo list view 2015-03-10 11:00:11 -07:00
Joseph Schorr
afc8e95e19 Start on new tag view 2015-03-09 22:03:39 -07:00
Joseph Schorr
91ea6b5a45 Only show the "Waiting" message if we are actually waiting 2015-03-06 14:10:07 -05:00
Joseph Schorr
12b458780b Handle loading status better for each namespace displayed in the repo list and update the database we use for testing 2015-03-05 16:25:16 -05:00
Joseph Schorr
43ab838998 Merge branch 'newbuildview' 2015-03-05 16:17:29 -05:00
Joseph Schorr
86447c0a99 Merge branch 'master' into pagesnew 2015-03-05 14:22:10 -05:00
Joseph Schorr
08f006a90c Add the namespaces box to the right hand side and make other small UI improvements to the repo list view 2015-03-05 14:21:46 -05:00
Joseph Schorr
9ccd26cc74 Remove console log 2015-03-04 16:02:26 -05:00
Joseph Schorr
ed46d37ea7 - Add copy button to the build logs
- Add support for timestamps in the build logs
- Other small UI improvements to the build view
2015-02-27 16:00:32 -05:00
Joseph Schorr
e227d7e526 Start on the new build view 2015-02-26 17:45:28 -05:00
Joseph Schorr
d8048b09d2 Make the hip chat setup field show more help information if the user enters a room name instead of a number 2015-02-26 12:35:28 -05:00
Joseph Schorr
ace6da5514 Add a service status indicator to the footer and add a notification bar for any incidents 2015-02-24 17:41:30 -05:00
Jimmy Zelinskie
498d0af6a4 directives: add optional placeholder for markdown 2015-02-23 16:43:59 -05:00
Jimmy Zelinskie
3dbaafbd60 Merge branch 'pagesnew' into star 2015-02-23 15:07:49 -05:00
Joseph Schorr
9b87999c1c Code cleanup part #1: move all the services and directive JS code in the app.js file into its own files 2015-02-19 16:21:54 -05:00
Jimmy Zelinskie
3da0228aaa Add repo-list-grid directive 2015-01-12 17:43:36 -05:00