[jira] [Created] (ISIS-1253) Default title for enums is not friendly name

2015-11-13 Thread Dan Haywood (JIRA)
Dan Haywood created ISIS-1253:
-

 Summary: Default title for enums is not friendly name
 Key: ISIS-1253
 URL: https://issues.apache.org/jira/browse/ISIS-1253
 Project: Isis
  Issue Type: Bug
  Components: Core
Affects Versions: 1.10.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: 1.11.0


eg in todoapp, ToDoItem#demoException(...)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-1241) Providing better feedback when RegEx validation does not match pattern

2015-11-13 Thread Yuri Tan (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15003918#comment-15003918
 ] 

Yuri Tan commented on ISIS-1241:


activated/implemented the regexPatternReplacement() which was Unused.

> Providing better feedback when RegEx validation does not match pattern
> --
>
> Key: ISIS-1241
> URL: https://issues.apache.org/jira/browse/ISIS-1241
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 1.9.0
>Reporter: Yuri Tan
>Assignee: Dan Haywood
>Priority: Minor
>
> Currently, when using RegEx validation, the error message could be improved. 
> When the input isn't valid, the following string is shown: "Doesn't match 
> pattern". But it doesn't tell you to which pattern the value must match. 
> Therefore I think that adding regexPatternDescription() next to the existing 
> regexPattern() could be an improvement. This way an incorrect pattern can be 
> clarified to a human-being by returning the patternDescription. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ISIS-1251) UrlEncodingService as a plugin point for serializing mementos into a URL-friendly string.

2015-11-13 Thread Dan Haywood (JIRA)
Dan Haywood created ISIS-1251:
-

 Summary: UrlEncodingService as a plugin point for serializing 
mementos into a URL-friendly string.
 Key: ISIS-1251
 URL: https://issues.apache.org/jira/browse/ISIS-1251
 Project: Isis
  Issue Type: New Feature
  Components: Core
Affects Versions: 1.10.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: 1.11.0


Previously this was hard-coded to use base64 encoding (and this should be 
retained as the default behaviour).

However, alternative implementations could:
a) use HMAC to encrypt, or
b) return a GUID as a token and hold the state server-side in some sort of 
"session cache"




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ISIS-1252) New TitleUiEvent, IconUiEvent and CssClassUiEvent as a means to allow subscribers to provide a title for domain objects.

2015-11-13 Thread Dan Haywood (JIRA)
Dan Haywood created ISIS-1252:
-

 Summary: New TitleUiEvent, IconUiEvent and CssClassUiEvent as a 
means to allow subscribers to provide a title for domain objects.
 Key: ISIS-1252
 URL: https://issues.apache.org/jira/browse/ISIS-1252
 Project: Isis
  Issue Type: New Feature
  Components: Core
Affects Versions: 1.10.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
 Fix For: 1.11.0


We already have @Mixins as a way to pull out behaviour from domain objects (eg 
entities or view models), but currently the title and the other UI hints must 
be implemented on the class itself.  This ticket is to allow this UI hints to 
be contributed via a subscriber.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ISIS-1254) Disable action/property/collection events if set to Noop domain events

2015-11-13 Thread Dan Haywood (JIRA)
Dan Haywood created ISIS-1254:
-

 Summary: Disable action/property/collection events if set to Noop 
domain events
 Key: ISIS-1254
 URL: https://issues.apache.org/jira/browse/ISIS-1254
 Project: Isis
  Issue Type: Improvement
  Components: Core
Affects Versions: 1.10.0
Reporter: Dan Haywood
Assignee: Dan Haywood
 Fix For: 1.11.0


Following the pattern introduced in ISIS-1252 for the XxxUiEvents.

Thus, to disable an event being fired for an action, use:

{code}
@Action(domainEvent=ActionDomainEvent.Noop.class)
public void someAction() { ... }
{code}

Note though that to avoid breaking backward compatibility the default for the 
annotation attribute is still "ActionDomainEvent.Default.class", meaning that:

{code}
@Action
public void someAction() { ... }
{code}

*will* (still) cause an event to be fired.

~~~
We will probably make Noop the default in 2.0.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-1243) Release activities for v1.11.0

2015-11-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15004396#comment-15004396
 ] 

ASF subversion and git services commented on ISIS-1243:
---

Commit 7f739b46d3ccea444b32b983ba8cb0a756c5f9f2 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=7f739b4 ]

ISIS-1243: minor update to release docs


> Release activities for v1.11.0
> --
>
> Key: ISIS-1243
> URL: https://issues.apache.org/jira/browse/ISIS-1243
> Project: Isis
>  Issue Type: Task
>  Components: Core
>Reporter: Dan Haywood
>Assignee: Dan Haywood
>Priority: Minor
> Fix For: 1.11.0
>
>
> Miscellaneous release activities for 1.11.0 release.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-1224) Upgrade select2 from v3.5.2 to v4, hopefully to address the floating drop-down problem

2015-11-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15004448#comment-15004448
 ] 

ASF subversion and git services commented on ISIS-1224:
---

Commit bd2a54bc07710637132e1e31fe39889062cf3b8e in isis's branch 
refs/heads/ISIS-1224-select2-v4 from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=bd2a54b ]

ISIS-1224 Upgrade select2 from v3.5.2 to v4, hopefully to address the floating 
drop-down problem

Fix the path to select2.css dependency


> Upgrade select2 from v3.5.2 to v4, hopefully to address the floating 
> drop-down problem
> --
>
> Key: ISIS-1224
> URL: https://issues.apache.org/jira/browse/ISIS-1224
> Project: Isis
>  Issue Type: Bug
>Reporter: Dan Haywood
>Assignee: Martin Grigorov
> Fix For: 1.11.0
>
>
> This ticket supercedes ISIS-1020 (where the problem was originally reported); 
> it is dependent upon ISIS-1223.
> Original screencast to demonstrate in Estatio: 
> https://drive.google.com/file/d/0B2jd2Sl73mDBZ0lqYUhtVjVRamc/view?usp=sharing
> This is reproducible in both IE11 and Chrome.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-1252) New TitleUiEvent, IconUiEvent and CssClassUiEvent as a means to allow subscribers to provide a title for domain objects.

2015-11-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15004389#comment-15004389
 ] 

ASF subversion and git services commented on ISIS-1252:
---

Commit 99c55b8c343f77baa796c59128d89c6fdd1f0d78 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=99c55b8 ]

ISIS-1252: adding support for CssClassUiEvent.  Also adding in concept of Noop 
events to suppress (and making these the default); also...

... some cosmetic UI changes for the downloadXml and downloadXsd mixin actions.


> New TitleUiEvent, IconUiEvent and CssClassUiEvent as a means to allow 
> subscribers to provide a title for domain objects.
> 
>
> Key: ISIS-1252
> URL: https://issues.apache.org/jira/browse/ISIS-1252
> Project: Isis
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 1.10.0
>Reporter: Dan Haywood
>Assignee: Dan Haywood
>Priority: Minor
> Fix For: 1.11.0
>
>
> We already have @Mixins as a way to pull out behaviour from domain objects 
> (eg entities or view models), but currently the title and the other UI hints 
> must be implemented on the class itself.  This ticket is to allow this UI 
> hints to be contributed via a subscriber.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-1252) New TitleUiEvent, IconUiEvent and CssClassUiEvent as a means to allow subscribers to provide a title for domain objects.

2015-11-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15004388#comment-15004388
 ] 

ASF subversion and git services commented on ISIS-1252:
---

Commit d556d519e83581224153395789aa550c1810812b in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=d556d51 ]

ISIS-1252: adding support for icons via UI event.


> New TitleUiEvent, IconUiEvent and CssClassUiEvent as a means to allow 
> subscribers to provide a title for domain objects.
> 
>
> Key: ISIS-1252
> URL: https://issues.apache.org/jira/browse/ISIS-1252
> Project: Isis
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 1.10.0
>Reporter: Dan Haywood
>Assignee: Dan Haywood
>Priority: Minor
> Fix For: 1.11.0
>
>
> We already have @Mixins as a way to pull out behaviour from domain objects 
> (eg entities or view models), but currently the title and the other UI hints 
> must be implemented on the class itself.  This ticket is to allow this UI 
> hints to be contributed via a subscriber.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-1250) JaxbService to marshall DTOs to XML.

2015-11-13 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15004385#comment-15004385
 ] 

ASF subversion and git services commented on ISIS-1250:
---

Commit b17dc0e1a9a5ff6267ab1d6a051b66f62627cf41 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=b17dc0e ]

ISIS-1250: boolean property to include/ignore the isis schemas for the 
toXsd(...) method.


> JaxbService to marshall DTOs to XML.
> 
>
> Key: ISIS-1250
> URL: https://issues.apache.org/jira/browse/ISIS-1250
> Project: Isis
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 1.10.0
>Reporter: Dan Haywood
>Assignee: Dan Haywood
>Priority: Minor
> Fix For: 1.11.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ISIS-1048) Make view model URLs more secure, eg through a private key.

2015-11-13 Thread Dan Haywood (JIRA)

 [ 
https://issues.apache.org/jira/browse/ISIS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Haywood updated ISIS-1048:
--
Fix Version/s: (was: 1.12.0)
   1.11.0

> Make view model URLs more secure, eg through a private key.
> ---
>
> Key: ISIS-1048
> URL: https://issues.apache.org/jira/browse/ISIS-1048
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: core-1.7.0
>Reporter: Dan Haywood
>Assignee: Dan Haywood
>Priority: Minor
> Fix For: 1.11.0
>
>
> At the moment it is possible to reverse engineer a view model URL, or perhaps 
> to steal it.  
> It ought to be encrypted somehow, eg using HMAC.
> http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AuthJavaSampleHMACSignature.html
> http://www.smartjava.org/content/protect-rest-service-using-hmac-play-20



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)