brooklyn-ui.git
2 days agoThis closes #117 master
Alex Heneveld [Wed, 16 Jan 2019 02:12:07 +0000 (02:12 +0000)] 
This closes #117

2 days agoremove 'verify' phase
Alex Heneveld [Tue, 15 Jan 2019 18:16:28 +0000 (18:16 +0000)] 
remove 'verify' phase

verify is failing with warnings about "warn" not being found (using new karaf-plugin version);
don't think we changed anything to cause that and the resulting assembly is fine.
not sure verify did much anyway!

this commit also bring versions and config for that plugin in synch with what is done elsewhere.

8 days agoadd the security provider filter to ui projects
Alex Heneveld [Wed, 9 Jan 2019 10:35:12 +0000 (10:35 +0000)] 
add the security provider filter to ui projects

replacing the attempt at using the login module. also add the needed import package.

10 days agodifferent approach, using a filter, set up for home module
Alex Heneveld [Mon, 7 Jan 2019 17:17:27 +0000 (17:17 +0000)] 
different approach, using a filter, set up for home module

other modules to follow

4 weeks agorequire login to webconsole for webapps
Alex Heneveld [Fri, 14 Dec 2018 12:40:22 +0000 (12:40 +0000)] 
require login to webconsole for webapps

the REST API has always been secured but we now secure these static assets also;
this gives a better experience on login, and it will be even more important when
we introduce oauth-based logins where the redirect page (served by the LoginModule
defined in the REST API module, connected to the LoginService defined in the jetty bundle,
both in brooklyn-server) should be served in response to the request for index.html,
not just on the REST calls

6 weeks agorecent addition of isMemberSpec needs additional guard
Alex Heneveld [Tue, 4 Dec 2018 15:38:46 +0000 (15:38 +0000)] 
recent addition of isMemberSpec needs additional guard

can get NPE since 2f61b7655706a1d96359e85b4e022cba78bb112d

6 weeks agoadd comments re adding unlisted parameters
Alex Heneveld [Fri, 30 Nov 2018 15:39:35 +0000 (15:39 +0000)] 
add comments re adding unlisted parameters

6 weeks agoadd comments on setting unlisted parameters
Alex Heneveld [Fri, 30 Nov 2018 15:37:39 +0000 (15:37 +0000)] 
add comments on setting unlisted parameters

6 weeks agoRevert "remove load-parameter-from-definition as it is not necessary, per PR comments"
Alex Heneveld [Fri, 30 Nov 2018 15:27:11 +0000 (15:27 +0000)] 
Revert "remove load-parameter-from-definition as it is not necessary, per PR comments"

This reverts commit 86c69c20f1f220c4f8ab7ef0ccfff4c7e2f7d8ae.

6 weeks agoremove load-parameter-from-definition as it is not necessary, per PR comments
Alex Heneveld [Fri, 30 Nov 2018 14:09:33 +0000 (14:09 +0000)] 
remove load-parameter-from-definition as it is not necessary, per PR comments

6 weeks agoThis closes #112
Alex Heneveld [Fri, 30 Nov 2018 14:06:09 +0000 (14:06 +0000)] 
This closes #112

7 weeks agoThis closes #113
Thomas Bouron [Sun, 25 Nov 2018 09:34:11 +0000 (09:34 +0000)] 
This closes #113

7 weeks agoadd a 'defer-to-preexisting-id' attribute to script tags 113/head
Alex Heneveld [Fri, 23 Nov 2018 12:20:16 +0000 (12:20 +0000)] 
add a 'defer-to-preexisting-id' attribute to script tags

this allows scripts in templates to "opt-in" to being overridable;
our custom decorator has no effect unless this attribute is set,
so we guarantee not to change any behaviour in 3rd party libraries

7 weeks agomake template url lookup consistent as per PR comments
Alex Heneveld [Fri, 23 Nov 2018 11:47:21 +0000 (11:47 +0000)] 
make template url lookup consistent as per PR comments

8 weeks agodecorate `script` directive to prevent re-overriding of templates
Alex Heneveld [Thu, 22 Nov 2018 11:07:47 +0000 (11:07 +0000)] 
decorate `script` directive to prevent re-overriding of templates

by default `<script>` will install to template cache whenever it is processed as a directive.
this decorates it to be no-op if there is already something in the cache with that name,
allowing programmatic overrides of templates configured using `<script id="...">` notation.

8 weeks agoinstall template to cache earlier
Alex Heneveld [Thu, 22 Nov 2018 11:07:20 +0000 (11:07 +0000)] 
install template to cache earlier

not really needed, but is consistent with how done elsewhere,
and allows override

8 weeks agoThis closes #99
Thomas Bouron [Wed, 21 Nov 2018 18:40:25 +0000 (18:40 +0000)] 
This closes #99

8 weeks agoDSL editor: support referencing `brooklyn.parameters` 112/head
Aled Sage [Wed, 21 Nov 2018 16:55:24 +0000 (16:55 +0000)] 
DSL editor: support referencing `brooklyn.parameters`

8 weeks agotweak so slight shadow when resting 99/head
Alex Heneveld [Wed, 21 Nov 2018 10:27:48 +0000 (10:27 +0000)] 
tweak so slight shadow when resting

8 weeks agoMerge branch 'master' into palette-border
Alex Heneveld [Wed, 21 Nov 2018 09:48:07 +0000 (09:48 +0000)] 
Merge branch 'master' into palette-border

8 weeks agoThis closes #111
Aled Sage [Tue, 20 Nov 2018 21:45:43 +0000 (21:45 +0000)] 
This closes #111

8 weeks agoThis closes #109
Aled Sage [Tue, 20 Nov 2018 14:56:36 +0000 (14:56 +0000)] 
This closes #109

8 weeks agofix json editor state 111/head
Alex Heneveld [Tue, 20 Nov 2018 13:35:07 +0000 (13:35 +0000)] 
fix json editor state

8 weeks agomore PR comments addressed 109/head
Alex Heneveld [Tue, 20 Nov 2018 10:17:18 +0000 (10:17 +0000)] 
more PR comments addressed

8 weeks agoaddress PR comments
Alex Heneveld [Tue, 20 Nov 2018 10:04:08 +0000 (10:04 +0000)] 
address PR comments

8 weeks agoThis closes #110
Thomas Bouron [Tue, 20 Nov 2018 09:48:12 +0000 (09:48 +0000)] 
This closes #110

8 weeks agoadd UI support for {required,forbidden}UnlessAnyOf, and simplify constraint messages 110/head
Alex Heneveld [Tue, 20 Nov 2018 02:16:28 +0000 (02:16 +0000)] 
add UI support for {required,forbidden}UnlessAnyOf, and simplify constraint messages

2 months agouse new icon url source
Alex Heneveld [Fri, 16 Nov 2018 14:37:57 +0000 (14:37 +0000)] 
use new icon url source

2 months agocatalog saver to support 'application', 'template', and 'entity'
Alex Heneveld [Fri, 16 Nov 2018 13:42:17 +0000 (13:42 +0000)] 
catalog saver to support 'application', 'template', and 'entity'

in line with https://github.com/apache/brooklyn-server/pull/1015
also when using a template the metadata is not populated as the intention is probably not to overwrite,
unless the user selects to save it as a template

2 months agoThis closes #108
Thomas Bouron [Tue, 13 Nov 2018 10:40:02 +0000 (10:40 +0000)] 
This closes #108

2 months agoaddress PR comments 108/head
Alex Heneveld [Tue, 13 Nov 2018 10:17:32 +0000 (10:17 +0000)] 
address PR comments

- reference filter function using $filter
- add placeholder content for when there is no display name set

2 months agoMerge branch 'master' into catalog-saver-autocomplete
Alex Heneveld [Tue, 13 Nov 2018 10:09:26 +0000 (10:09 +0000)] 
Merge branch 'master' into catalog-saver-autocomplete

2 months agoremove blank line added in #107
Alex Heneveld [Tue, 13 Nov 2018 09:32:27 +0000 (09:32 +0000)] 
remove blank line added in #107

2 months agoThis closes #107
Alex Heneveld [Tue, 13 Nov 2018 09:30:22 +0000 (09:30 +0000)] 
This closes #107

2 months agoChange to radio buttons with help text 107/head
Andrew Donald Kennedy [Mon, 12 Nov 2018 16:09:23 +0000 (16:09 +0000)] 
Change to radio buttons with help text

Signed-off-by: Andrew Donald Kennedy <andrew.kennedy@cloudsoftcorp.com>
2 months agoimprove logic and ui for inferring bundle and type name when saving to catalog
Alex Heneveld [Mon, 12 Nov 2018 16:09:06 +0000 (16:09 +0000)] 
improve logic and ui for inferring bundle and type name when saving to catalog

2 months agoUse checkboxes for blueprint type in save modal
Andrew Donald Kennedy [Wed, 7 Nov 2018 13:53:11 +0000 (13:53 +0000)] 
Use checkboxes for blueprint type in save modal

Signed-off-by: Andrew Donald Kennedy <andrew.kennedy@cloudsoftcorp.com>
2 months agoThis closes #106
Thomas Bouron [Fri, 9 Nov 2018 13:26:35 +0000 (13:26 +0000)] 
This closes #106

2 months agoUpdate reference to dialog model and blueprint service 106/head
Andrew Donald Kennedy [Fri, 9 Nov 2018 11:48:04 +0000 (11:48 +0000)] 
Update reference to dialog model and blueprint service

Signed-off-by: Andrew Donald Kennedy <andrew.kennedy@cloudsoftcorp.com>
2 months agoAdds optional advanced section to catalog save modal
Andrew Donald Kennedy [Wed, 7 Nov 2018 13:27:53 +0000 (13:27 +0000)] 
Adds optional advanced section to catalog save modal

Signed-off-by: Andrew Donald Kennedy <andrew.kennedy@cloudsoftcorp.com>
2 months agoConfigure various catalog properties based on current blueprint
Andrew Donald Kennedy [Wed, 24 Oct 2018 13:51:44 +0000 (14:51 +0100)] 
Configure various catalog properties based on current blueprint

Signed-off-by: Andrew Donald Kennedy <andrew.kennedy@cloudsoftcorp.com>
2 months agoThis closes #98
Alex Heneveld [Thu, 8 Nov 2018 16:44:04 +0000 (16:44 +0000)] 
This closes #98

2 months agoMerge branch 'master' into jcCompactList 98/head
Juan Cabrerizo [Thu, 8 Nov 2018 16:37:16 +0000 (16:37 +0000)] 
Merge branch 'master' into jcCompactList

2 months agoThis closes #97
Alex Heneveld [Thu, 8 Nov 2018 15:28:31 +0000 (15:28 +0000)] 
This closes #97

2 months agomake palette icons have a light border not a shadow
Alex Heneveld [Thu, 8 Nov 2018 12:41:46 +0000 (12:41 +0000)] 
make palette icons have a light border not a shadow

gives it a nicer flat look

2 months agoadd compact list view mode
Juan Cabrerizo [Wed, 7 Nov 2018 16:41:39 +0000 (16:41 +0000)] 
add compact list view mode

2 months agoModularise components for blueprint composer + update directive to use $templateCache 97/head
Thomas Bouron [Wed, 7 Nov 2018 11:32:20 +0000 (11:32 +0000)] 
Modularise components for blueprint composer + update directive to use $templateCache

2 months agoApply naming convention for templates used with $templateCache
Thomas Bouron [Wed, 7 Nov 2018 09:39:34 +0000 (09:39 +0000)] 
Apply naming convention for templates used with $templateCache

This is using the following: <module-id>/(component|view)/<component-id>/<template-id>.html

2 months agoThis closes #96
Thomas Bouron [Tue, 6 Nov 2018 15:20:58 +0000 (15:20 +0000)] 
This closes #96

2 months agofix popover title and flicker, minor other code tidies following PR 96/head
Alex Heneveld [Fri, 2 Nov 2018 14:27:05 +0000 (14:27 +0000)] 
fix popover title and flicker, minor other code tidies following PR

also add message for freeform tile

2 months agoMerge branch 'master' into relevance-and-other-composer-tweaks
Alex Heneveld [Fri, 2 Nov 2018 11:42:48 +0000 (11:42 +0000)] 
Merge branch 'master' into relevance-and-other-composer-tweaks

2 months agofix for #95
Alex Heneveld [Fri, 2 Nov 2018 11:40:52 +0000 (11:40 +0000)] 
fix for #95

2 months agoMerge branch 'master' into relevance-and-other-composer-tweaks
Alex Heneveld [Fri, 2 Nov 2018 11:06:37 +0000 (11:06 +0000)] 
Merge branch 'master' into relevance-and-other-composer-tweaks

2 months agoThis closes #95
Alex Heneveld [Fri, 2 Nov 2018 11:06:13 +0000 (11:06 +0000)] 
This closes #95

2 months agoallow selection text and behaviour to be customized in palette
Alex Heneveld [Thu, 1 Nov 2018 11:22:53 +0000 (11:22 +0000)] 
allow selection text and behaviour to be customized in palette

when adding, clicking the icon adds it directly; but on palette clicking opens popup;
and popup button gets correct configurable message

2 months agoallow spec editor sections to be customized
Alex Heneveld [Wed, 31 Oct 2018 16:56:58 +0000 (16:56 +0000)] 
allow spec editor sections to be customized

2 months agoquick info pane is toggle-able, and has buttons to add
Alex Heneveld [Wed, 31 Oct 2018 16:37:10 +0000 (16:37 +0000)] 
quick info pane is toggle-able, and has buttons to add

2 months agomake default view 3x wide rather than 4x wide
Alex Heneveld [Wed, 31 Oct 2018 13:24:47 +0000 (13:24 +0000)] 
make default view 3x wide rather than 4x wide

2 months agosort search results by relevance
Alex Heneveld [Wed, 31 Oct 2018 12:56:20 +0000 (12:56 +0000)] 
sort search results by relevance

and display sort fields dropdown in order used

2 months agoAllow to configure the blueprint loading methods 95/head
Sylvain Ferot [Wed, 24 Oct 2018 10:04:29 +0000 (12:04 +0200)] 
Allow to configure the blueprint loading methods

2 months agoThis closes #94
Thomas Bouron [Tue, 30 Oct 2018 17:35:47 +0000 (17:35 +0000)] 
This closes #94

2 months agoThis closes #93
Thomas Bouron [Tue, 30 Oct 2018 17:33:36 +0000 (17:33 +0000)] 
This closes #93

2 months agoThis closes #73
Alex Heneveld [Tue, 30 Oct 2018 15:42:33 +0000 (15:42 +0000)] 
This closes #73

2 months agoThis closes #92
Alex Heneveld [Tue, 30 Oct 2018 15:39:40 +0000 (15:39 +0000)] 
This closes #92

2 months agoaddress PR comments on #93 94/head
Alex Heneveld [Tue, 30 Oct 2018 14:34:05 +0000 (14:34 +0000)] 
address PR comments on #93

2 months agoaddress PR comments
Alex Heneveld [Tue, 30 Oct 2018 14:20:30 +0000 (14:20 +0000)] 
address PR comments

2 months agoThis closes #91
Thomas Bouron [Tue, 30 Oct 2018 13:28:00 +0000 (13:28 +0000)] 
This closes #91

2 months agouse pluralize, tidy messages and formatting for palette filter esp when empty
Alex Heneveld [Tue, 30 Oct 2018 13:18:25 +0000 (13:18 +0000)] 
use pluralize, tidy messages and formatting for palette filter esp when empty

(no more lemon, now use null symbol)

2 months agoheight can vary by a few px depending on pads etc so be slightly more generous with...
Alex Heneveld [Tue, 30 Oct 2018 13:00:42 +0000 (13:00 +0000)] 
height can vary by a few px depending on pads etc so be slightly more generous with max to prevent multiline from kicking in

2 months agouse date-fns instead of moment, much smaller footprint
Alex Heneveld [Tue, 30 Oct 2018 10:01:38 +0000 (10:01 +0000)] 
use date-fns instead of moment, much smaller footprint

2 months agoThis closes #89
Thomas Bouron [Mon, 29 Oct 2018 12:13:36 +0000 (12:13 +0000)] 
This closes #89

2 months agoadd missing header
Alex Heneveld [Fri, 26 Oct 2018 14:12:02 +0000 (15:12 +0100)] 
add missing header

2 months agoadd a footer to make it easier to navigate palette when filters don't match
Alex Heneveld [Fri, 26 Oct 2018 10:29:47 +0000 (11:29 +0100)] 
add a footer to make it easier to navigate palette when filters don't match

2 months ago"Recent" filter shows a page-full of most recent items
Alex Heneveld [Fri, 26 Oct 2018 09:05:16 +0000 (10:05 +0100)] 
"Recent" filter shows a page-full of most recent items

last used shown in popup, and a tag can be used to preselect items for inclusion in the "recent" view

2 months agocomponent specific code moved downstream 89/head
frogfather [Fri, 26 Oct 2018 09:02:04 +0000 (10:02 +0100)] 
component specific code moved downstream

2 months agoimprove sort by, including sort-by recency
Alex Heneveld [Thu, 25 Oct 2018 16:31:07 +0000 (17:31 +0100)] 
improve sort by, including sort-by recency

next need to enable recent filter (shows one page of recent items),
set defaults,
and add a tidied footer to disable categories when needed

could also show last used in popup, and in catalog, and allow clearing in catalog

2 months agopalette allows filters to be specified, with placeholder for recent
Alex Heneveld [Thu, 25 Oct 2018 13:25:23 +0000 (14:25 +0100)] 
palette allows filters to be specified, with placeholder for recent

2 months agocss so add member spec use of palette can share format 93/head
Alex Heneveld [Thu, 25 Oct 2018 09:54:57 +0000 (10:54 +0100)] 
css so add member spec use of palette can share format

2 months agosupport 'mode' parameter for sections
Alex Heneveld [Thu, 25 Oct 2018 09:28:09 +0000 (10:28 +0100)] 
support 'mode' parameter for sections

2 months agoExpand relationship support to memberspecs 92/head
Thomas Bouron [Wed, 24 Oct 2018 18:52:00 +0000 (19:52 +0100)] 
Expand relationship support to memberspecs

2 months agomake member spec selector act like main catalog palette, filtered for type
Alex Heneveld [Wed, 24 Oct 2018 16:37:24 +0000 (17:37 +0100)] 
make member spec selector act like main catalog palette, filtered for type

2 months agotidy dropdown and other composer styling
Alex Heneveld [Wed, 24 Oct 2018 15:43:23 +0000 (16:43 +0100)] 
tidy dropdown and other composer styling

2 months agoshare palette view state among all palettes
Alex Heneveld [Wed, 24 Oct 2018 15:08:57 +0000 (16:08 +0100)] 
share palette view state among all palettes

2 months agoallow palette to have view mode customised to show 6, 4, 3, or 1 item per row
Alex Heneveld [Wed, 24 Oct 2018 14:45:34 +0000 (15:45 +0100)] 
allow palette to have view mode customised to show 6, 4, 3, or 1 item per row

2 months agoThis closes #90
Thomas Bouron [Wed, 24 Oct 2018 14:12:21 +0000 (15:12 +0100)] 
This closes #90

2 months agoThis closes #88
Thomas Bouron [Wed, 24 Oct 2018 14:11:11 +0000 (15:11 +0100)] 
This closes #88

2 months agominor styling changes to make palette nicer
Alex Heneveld [Wed, 24 Oct 2018 13:45:34 +0000 (14:45 +0100)] 
minor styling changes to make palette nicer

esp for drag and to work with multi-width

2 months agoAdd callback for customising catalog save configuration 91/head
Andrew Donald Kennedy [Mon, 15 Oct 2018 12:38:57 +0000 (13:38 +0100)] 
Add callback for customising catalog save configuration

2 months agodynamically compute pagination limit for palette based on height
Alex Heneveld [Wed, 24 Oct 2018 12:37:39 +0000 (13:37 +0100)] 
dynamically compute pagination limit for palette based on height

2 months agoAllow to resolve different virtual type according to the entity config 88/head
Ludovic Plantin [Wed, 24 Oct 2018 10:58:33 +0000 (12:58 +0200)] 
Allow to resolve different virtual type according to the entity config

- Add entity config as a third parameter of paletteApi.getBundleType method for consistency

2 months agocorrect missing quotes
frogfather [Wed, 24 Oct 2018 10:21:51 +0000 (11:21 +0100)] 
correct missing quotes

2 months agorename btn-ouline to btn-outline
Alex Heneveld [Wed, 24 Oct 2018 09:25:29 +0000 (10:25 +0100)] 
rename btn-ouline to btn-outline

2 months agoDSL editor: allow ref to entity anywhere 90/head
Aled Sage [Wed, 24 Oct 2018 09:09:18 +0000 (10:09 +0100)] 
DSL editor: allow ref to entity anywhere

2 months agospec editor hook
frogfather [Wed, 24 Oct 2018 08:36:18 +0000 (09:36 +0100)] 
spec editor hook

2 months agoone minor change as per PR review
Alex Heneveld [Tue, 23 Oct 2018 16:43:20 +0000 (17:43 +0100)] 
one minor change as per PR review

2 months agoThis closes #84
Alex Heneveld [Tue, 23 Oct 2018 15:20:31 +0000 (16:20 +0100)] 
This closes #84

2 months agoThis closes #83
Alex Heneveld [Tue, 23 Oct 2018 12:22:06 +0000 (13:22 +0100)] 
This closes #83

2 months agoThis closes #82
Alex Heneveld [Tue, 23 Oct 2018 12:22:04 +0000 (13:22 +0100)] 
This closes #82

2 months agoAllow to resolve different virtual type according to the entity config 87/head
Ludovic Plantin [Mon, 22 Oct 2018 08:32:20 +0000 (10:32 +0200)] 
Allow to resolve different virtual type according to the entity config

- Add entity config as a third parameter of paletteApi.getType method

2 months agoThis closes #77
Andrew Donald Kennedy [Fri, 19 Oct 2018 12:20:17 +0000 (13:20 +0100)] 
This closes #77

* origin/pr/77:
  tidy config editor styling