Commit Graph

192 Commits

Author SHA1 Message Date
Ivan Meredith f813a1a007 token push 2016-04-07 08:50:47 +12:00
Ivan Meredith 6d928f8c7e UX-159: Add a crumb exclusion for json 2016-04-06 10:58:05 +12:00
tfennelly f25d367664 Fix maven build warning wrt git plugin dependency 2016-03-31 22:09:41 +01:00
Josh McDonald 8390a3814a Merge remote-tracking branch 'github-bees/master' into feature/UX-33 2016-03-30 10:27:40 +11:00
Josh McDonald 13ae2fdf31 UX-33: Add support for client-side routing with react-router, as well as routing within the blueocean-admin plugin
Squashed commit of the following:

commit 16e5b1c8ece9e4e2757c6a9e4be6be487bf39777
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 11:11:19 2016 +1100

    josh/ux-33 * Remove last TODO and console.log

commit 06b83340abcc8c9dc5230f2f86dcf3cc4e779fcb
Merge: 66bbf86 e6cb4cb
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 11:09:19 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/ux-33

commit 66bbf868988d20ef5a9271f14359d5d89e0036ae
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 11:03:14 2016 +1100

    josh/ux-33 * Add tests for pipelinePropProvider

commit f73655ecfa6040ae460bc3568fff71f5c218154e
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 10:16:52 2016 +1100

    josh/ux-33 * move the app base url data- on <HEAD> like the rest

commit 0d7906226e10f54b1be71a6ed8039f015542e3ec
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 10:13:02 2016 +1100

    josh/ux-33 * Test and lint fixes

commit bb8454b9d1250a1ac0a41a54b87f3e13caffbc49
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 08:05:05 2016 +1100

    josh/ux-33 * Add an indexredirect to /pipelines as a temporary solution to not having a default route mechanism

commit e687e599eb6a910e997d8ebe001987798b84b1df
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 07:46:54 2016 +1100

    josh/ux-33 * Add some documentation:

commit 488db5aa13c512e5dee81d2d5283298832ade1ce
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 07:16:06 2016 +1100

    josh/ux-33 * Remove more TODOs

commit 7dc9276b7de4464932b4c0748eb90d124f7fd407
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 29 07:11:28 2016 +1100

    josh/ux-33 * More cleanup

commit 32656ddd9d49879bbf4aa66046471e1bfaf4ebf1
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 20:02:05 2016 +1100

    josh/ux-33 * Harden AjaxHoc somewhat so it's a little happier waiting for a url, fix the issues where trailing slash caused loading to fail

commit d264a74f7e221f3cd182da8c247c8054c826670d
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 18:06:49 2016 +1100

    josh/ux-33 * Remove last reference to jenkins.main.body

commit 494de36b8a4b119b4bf12b954cf5aa5407c2f70d
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 18:03:35 2016 +1100

    josh/ux-33 * Pull Requests view working

commit 406237257b5cd506e4d502ca57294436e40fb1aa
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 16:54:21 2016 +1100

    josh/ux-33 * Pipeline Activity page

commit c364ed8f05e3a7281340af61409b87b5928cd55a
Merge: 994d05b 5a8899e
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 09:40:52 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/ux-33

commit 994d05bddb221e176684726d6229744091b0dc78
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 24 09:16:53 2016 +1100

    josh/ux-33 * Routing for /branches working

commit b1d3c0adf7deb18df9f1630b9b4d59d4585d9ab3
Merge: 8cdaac6 cdd302f
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Wed Mar 23 10:39:38 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/ux-33

commit 8cdaac6a489687ad9cec359390a90d89412d8c41
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Wed Mar 23 10:37:38 2016 +1100

    josh/ux-33 * Require latest jdl/extensions in admin

commit c14ef1b0c7c32702481f0de8102e3ef46c005163
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Wed Mar 23 09:31:28 2016 +1100

    josh/ux-33 * Pipelines view working via nested route

commit a4f28409ebbfe9c060d7898d6bed58fad63bce26
Merge: 3f0a108 f20319d
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 21:32:22 2016 +1100

    Merge branch 'feature/UX-33-js-extensions' into josh/ux-33

commit 3f0a108a1cb8e0254ebe42f96d39a2542157d04a
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 19:28:25 2016 +1100

    josh/UX-33 * Bump version on js-extensions

commit 5ea2c059b3f0143b60d3c55bbd701346deedb594
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 19:26:05 2016 +1100

    josh/UX-33 * WIP on routification of pipelines screens

commit e0cc13706e9ce2b193b6dde0f998e99e3ee409ad
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 15:56:45 2016 +1100

    josh/UX-33 * More cleanup

commit 39a97edd3aab72271bdbf8b454f5750687a39f28
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 15:49:18 2016 +1100

    josh/UX-33 * Clean up some TODOs and logging

commit 6e48cd0df7d66e6127638c0141f6294e2c3f61a1
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 13:22:26 2016 +1100

    josh/UX-33 * WORKS MOFO

commit 6695fd85e4d53754252c3794ded4871f294b8d34
Merge: e7603ab 3f5bd73
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 12:05:40 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/UX-33

commit e7603aba62a531c3f6b06403e65c3b97de74ab10
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 22 11:56:30 2016 +1100

    josh/UX-33 * Finally got to a state where Routes are coming from plugins via extension point

commit d429e68714f880e5578bbdb3bcd9aa7fe6905479
Merge: ec3290e 9124c0b
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 17 11:32:19 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/UX-33

commit ec3290e4af75a5a6da75945290f702fadc5e74cc
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Thu Mar 17 11:31:12 2016 +1100

    josh/UX-33 * RR finally working with some throwaway components, still using the extensionpoint for content tho

commit e1b311e7801aabab55164f7f74f5693b559f8cd4
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 15 10:51:00 2016 +1100

    josh/UX-33 * +react-router, add some metadata

commit c2a309a7d0f795c45959b84ff35b7747f55bb2a4
Merge: 26fca05 a6d710a
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Tue Mar 15 10:30:42 2016 +1100

    Merge branch 'master' into josh/UX-33

commit 26fca052f28a0eba8b1080cef9c013b450a65613
Merge: 19ae247 a674817
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Wed Mar 9 09:43:18 2016 +1100

    Merge remote-tracking branch 'github-bees/master' into josh/UX-33

commit 19ae247d6bd5660a12a8d0a04ee581e56a79342d
Author: Josh McDonald <josh@joshmcdonald.info>
Date:   Wed Mar 9 09:42:40 2016 +1100

    josh/UX-33 * Fix description in rest POM, small adjustment to main UI entry point on backend to allow for client-side routes
2016-03-29 11:14:41 +11:00
Vivek Pandey b82abb1c9d UX-219# Fix for duplicates and some cleanup 2016-03-25 15:56:06 -07:00
Vivek Pandey 65d7cc1831 UX-216# jobs inside folder were not handled correctly resulting in 404 2016-03-22 21:42:50 -07:00
Vivek Pandey 3957c9654e Merge branch 'feature/UX-96' into feature/UX-97 2016-03-14 13:17:11 -07:00
Vivek Pandey e8e02a9738 Merge remote-tracking branch 'origin/master' into feature/UX-96 2016-03-14 12:57:43 -07:00
Vivek Pandey 47a2c389af UX-96# fix in multi branch pipeline test, order of branches are not guarunteed. 2016-03-14 12:44:01 -07:00
Vivek Pandey 9e0963c987 Merge branch 'feature/UX-96' into feature/UX-97 2016-03-14 11:19:21 -07:00
Vivek Pandey 3a0cff1902 UX-96# Incorporated PR comments for some refactoring and doc enhancements. 2016-03-14 10:05:52 -07:00
Ivan Meredith a92ba9f73d Switch to using latest scm-api and git-branch-source-plugin 2016-03-14 10:50:36 +13:00
Vivek Pandey 915e836e1f UX-97# Pipeline Run's node log API 2016-03-11 20:20:10 -08:00
Vivek Pandey 6744b9492f UX-96# Compilation error and test fixes. 2016-03-11 19:06:46 -08:00
Vivek Pandey a932895fa7 UX-96# minor refactor 2016-03-11 18:23:22 -08:00
Vivek Pandey 54a826c23c UX-96# Removed unused code 2016-03-11 10:32:04 -08:00
Vivek Pandey 308e833df1 UX-96# Added more tests and fixes. 2016-03-11 10:21:58 -08:00
Vivek Pandey 8360d58c84 UX-96# Pipeline run nodes API 2016-03-11 00:44:03 -08:00
Ivan Meredith 9b93c2f0cc Adds a commitId to a run if if git was used. 2016-03-10 13:28:26 +13:00
Ivan Meredith 1d43039ccf Add getRuns to MultiBranchPipelines
Calls to /organizations/jenkins/pipelines/$p/runs returns runs for multibranchpipelines now, sorted by date. Most recent are first
2016-03-10 11:42:45 +13:00
Ivan Meredith aded9880f9 Fix test case 2016-03-08 17:00:14 +13:00
Ivan Meredith c786663b02 Include the latest run in the branch REST api. 2016-03-08 16:54:29 +13:00
Ivan Meredith 067c7f4963 Merge remote-tracking branch 'origin/master' into feature/UX-114
# Conflicts:
#	blueocean-rest/src/main/java/io/jenkins/blueocean/rest/model/BlueRun.java
2016-03-08 13:51:16 +13:00
vivek 77c9dc04c7 Merge pull request #41 from cloudbees/feature/UX-94
Feature/ux 94
2016-03-07 15:53:56 -08:00
Ivan Meredith 08bf2622e0 Merge remote-tracking branch 'origin/master' into feature/UX-114 2016-03-08 12:50:00 +13:00
Ivan Meredith 64466ff38c Merge pull request #40 from cloudbees/feature/UX-111
UX-111: Add PR's to BranchImpl
2016-03-08 12:24:01 +13:00
Ivan Meredith ff65b379fb Rename resultState to result 2016-03-08 12:20:45 +13:00
Vivek Pandey deca470dce Merge remote-tracking branch 'origin/master' into feature/UX-94 2016-03-07 12:03:20 -08:00
Ivan Meredith 2a5363d265 Merge branch 'master' into feature/UX-114
# Conflicts:
#	blueocean-rest/src/main/java/io/jenkins/blueocean/rest/model/BlueRun.java
2016-03-07 17:44:03 +13:00
Ivan Meredith 4fcfa03849 Add a BlueRunState.
BlueRunState gives the state of te job run (NOT_STARTED, RUNNING, FINISHED).

Status has been renamed to BlueRunResultState to make it more clear as to what it was about.
2016-03-07 17:39:09 +13:00
Ivan Meredith eff10c9b83 Removed PullRequests from common rest api. Will just expose it via the driver 2016-03-07 12:51:42 +13:00
Vivek Pandey 920d01af44 Merge remote-tracking branch 'origin/master' into feature/UX-120 2016-03-03 21:28:06 -08:00
Vivek Pandey a7a95c265d UX-120# NPE fix in case of Multibranch project where non-master branch is scanned. 2016-03-03 21:13:21 -08:00
Vivek Pandey b6d7dcb69f UX-97# API to fetch run log 2016-03-03 15:54:55 -08:00
Vivek Pandey 0c26fd832d Merge remote-tracking branch 'origin/master' into feature/UX-94 2016-03-02 17:57:48 -08:00
Vivek Pandey 3444522f29 ChangeSet implementation 2016-03-02 17:57:12 -08:00
Ivan Meredith d7ec6bab90 Fix getProperties to always return a list 2016-03-03 14:28:35 +13:00
Ivan Meredith 32b501b7c2 UX-111: Add a property to a branch to denark it as a Pull Request 2016-03-03 14:02:52 +13:00
Ivan Meredith 12a8e5b026 Merge pull request #34 from cloudbees/feature/UX-65
[UX-65] Add basic PR information to REST api
2016-03-03 12:34:55 +13:00
Kohsuke Kawaguchi ea881e0f94 Extensibility in REST API
If Run defines Action and the caller wants it, s/he should get it.
2016-03-02 15:10:28 -08:00
Kohsuke Kawaguchi bbe467e1cd ChangeSetResource is now a full fledged resource class 2016-03-02 15:01:01 -08:00
Vivek Pandey 59c3c40128 ChangeSet related changes with latest stapler 2016-03-02 14:49:15 -08:00
Vivek Pandey 753a7ea97c Merge remote-tracking branch 'origin/master' into feature/UX-94 2016-03-02 14:14:39 -08:00
tfennelly f7c9efc3ed Simple private REST endpoint for getting jenkins-js-extensions info 2016-03-02 11:53:18 +00:00
Ivan Meredith 69e35e162e Merge remote-tracking branch 'origin/master' into feature/UX-65
# Conflicts:
#	blueocean-rest/src/main/java/io/jenkins/blueocean/rest/model/BlueMultiBranchPipeline.java
2016-03-02 17:13:24 +13:00
Ivan Meredith fad39c22ca [UX-65] Add basic PR information to REST api
This commit adds the total number and build statuses of Github Pull Requests.

It also filters out pull requests from the branch statistics.

Future work includes: filtering out PR's from other branch calls and getting more data about the PR for the uI
2016-03-02 17:02:44 +13:00
Vivek Pandey 6a53b17188 Revert "[UX-97] expose progressive log text"
This reverts commit 5db5d4a8daee34dc218e793c44e812e139f2c533.
2016-03-01 19:16:38 -08:00
Vivek Pandey 640d5f29ae Mostly implemented... 2016-03-01 19:16:38 -08:00
Kohsuke Kawaguchi 788800b3a1 [UX-97] expose progressive log text
TODO: maybe AnnotatedText needs to be massaged to have more kosher URL
TODO: README.md needs to describe this contract
2016-03-01 19:16:38 -08:00
Kohsuke Kawaguchi cc9a81be01 Bind changesets
TODO: make the code a bit more DRY, especially around how we convert
ChangeLogSet into a Map
2016-03-01 19:16:38 -08:00
Kohsuke Kawaguchi ab10ee411d Generic implementation of Container and Resource
... to help bind more things to REST API more quickly without defining typed interfaces for each of them
2016-03-01 19:16:37 -08:00
Vivek Pandey 97bc6c3819 UX-94# Initial commit 2016-03-01 19:16:37 -08:00
Vivek Pandey e47e7d0f2c UX-101# weather should be for all types of jobs 2016-03-01 17:50:11 -08:00
Michael Neale 2369d74ff9 docs to reflect the best way to work with it 2016-03-01 20:18:07 +11:00
Michael Neale 44beeb0ae4 cleanup and adding in some runtime deps for debugging 2016-03-01 18:48:34 +11:00
Vivek Pandey 3439eedfd1 UX-64# Renamed branches to branchNames in Pipeline model 2016-02-29 19:34:11 -08:00
Vivek Pandey ae4009afc7 UX-37# Multibranch pipeline model 2016-02-29 18:17:54 -08:00
Vivek Pandey 2450755526 Merge branch 'feature/UX-53' of github.com:cloudbees/blueocean into feature/UX-53 2016-02-29 13:50:25 -08:00
Vivek Pandey 2e6c317907 Do not return multi-branch project's children jobs 2016-02-29 13:23:52 -08:00
Vivek Pandey 88fa40f2d0 UX-53# Rename, refactoring. 2016-02-29 10:16:13 -08:00
Vivek Pandey 59c1a55e6c UX-53# MultiBranch pipeline and branch implementation
See blueocean-rest/README.md for details on MB pipeline specific rest apis.
2016-02-29 10:16:13 -08:00
tfennelly 60c0f977e7 Loading an extension (nav link) from another HPI
A topNav extension
2016-02-28 18:30:53 +00:00
tfennelly eca6db302a Link HPI execution across sub-modules 2016-02-28 18:30:52 +00:00
tfennelly 79f144290b Revert "Disable tests until they pass"
This reverts commit a9d5e1ecaf.
2016-02-28 18:26:26 +00:00
tfennelly a9d5e1ecaf Disable tests until they pass 2016-02-28 12:16:53 +00:00
Vivek Pandey 3c53131053 UX-53# MultiBranch pipeline and branch implementation
See blueocean-rest/README.md for details on MB pipeline specific rest apis.
2016-02-26 19:28:16 -08:00
Michael Neale 7bfa2d402b README clarifications and editing 2016-02-26 17:10:59 +11:00
Vivek Pandey fe825deb57 bo changed to blue 2016-02-25 18:20:20 -08:00
Vivek Pandey d9fca7e00c Merge remote-tracking branch 'origin/master' into feature/UX-12 2016-02-25 11:31:21 -08:00
tfennelly 6972bbbda3 blueocean-plugin plugin dependency fix 2016-02-25 13:06:21 +00:00
Vivek Pandey a0442fcc4c blueocean-plugin functionally complete. 2016-02-24 19:29:40 -08:00
Vivek Pandey b256b25d65 Run API implementation completed. 2016-02-24 18:22:36 -08:00
Kohsuke Kawaguchi ebe0b9d8ba No more name conflict 2016-02-24 16:21:12 -08:00
Kohsuke Kawaguchi 1756dbe739 Using BO prefix on model objects to avoid name collisions
There are class names like User and Run that collie with those in
Jenkins. While discussing this stuff with Vivek, it became clear that
this is confusing.

Having a bit of prefix (and just in model classes) make this much
easier, and hopefully people are OK with it.
2016-02-24 16:19:10 -08:00
Vivek Pandey 5f6437e39b Merge branch 'feature/UX-12' of github.com:cloudbees/blueocean into feature/UX-12 2016-02-24 16:17:02 -08:00
Vivek Pandey 7238dc9395 Run API, still under development. 2016-02-24 16:14:44 -08:00
Kohsuke Kawaguchi 0fef8e8244 ProfileService has been moved over to users/org containers 2016-02-24 16:03:46 -08:00
Kohsuke Kawaguchi 85e9b96823 ProfileService has mvoed to UserContainer and OrgContainer now 2016-02-24 15:47:08 -08:00
Kohsuke Kawaguchi 00ad66aff8 Fixed up tests for the new profile service 2016-02-24 15:15:10 -08:00
Kohsuke Kawaguchi 57e22e221c This is a good example of how access control works in Jenkins
If the identity that's making the HTTP call has a specific permission (in this case Jenkins.ADMINISTER = god access) in the eyes of the currently installed AuthorizationStrategy, then this check returns true.

We could have defined a new permission here if we wanted, but Jenkins.ADMINISTER is sufficient. AuthorizationStrategy allows any user to have the god access on himself/herself, so anyone can
read any information about himself.

What this allow you to do, in addition, is that for example when CJP RBAC plugin is in place, there can be ops team lead "ben" account that has ADMINISTER permission on every User object, and those decision making logic is decoupled from the application logic.
2016-02-24 15:02:46 -08:00
Kohsuke Kawaguchi a1c4a29c61 Signup doesn't belong to BlueOcean.
It is at most a concern for a specific driver implementation, aka
Panther. So it doesn't belong to the API, and instead it should be just
additional driver-specific behaviours.

See my comment in AuthenticationAction
2016-02-24 14:48:48 -08:00
Vivek Pandey 9d14ca5390 Forgot to checkin 2016-02-24 14:34:49 -08:00
Vivek Pandey 911d7235d0 Merge branch 'feature/UX-12' of github.com:cloudbees/blueocean into feature/UX-12 2016-02-24 14:34:00 -08:00
Kohsuke Kawaguchi d9db9e6dce To implement org membership I have to have this 2016-02-24 14:33:16 -08:00
Vivek Pandey 6ee78b4389 Pipeline APIs implemented, tests passing 2016-02-24 14:23:06 -08:00
Kohsuke Kawaguchi 894b392695 Organization has users as members 2016-02-24 14:18:37 -08:00
Kohsuke Kawaguchi 82ccb05bd5 Basics of the profile service API for users 2016-02-24 14:14:23 -08:00
Vivek Pandey 7c3d65ddba Auth refactoring
- auth related code moved out from blueocean-web to blueocean-authentication-service and blueocean-security-api
- blueocean-plugin no more depends on any auth service code. Reference to Identity and Credential to be removed later
2016-02-23 23:15:59 -08:00
Vivek Pandey bdcb18a19a Merge remote-tracking branch 'origin/master' into feature/UX-12 2016-02-23 21:50:53 -08:00
Vivek Pandey 9c89b95b32 UX-39# Removed war module and some more cleanup 2016-02-23 16:30:48 -08:00
Vivek Pandey c6cfbc375f UX-39# blueocean-embedded-driver renamed to blueocean-plugin 2016-02-23 15:40:12 -08:00