Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2016-12-08 08:09:32 GMT <yreg_> Morninig

2016-12-08 08:09:36 GMT *** yreg_ is now known as yreg

2016-12-08 08:17:36 GMT <yreg> ~later tell ohej friendly reminder about ADF extensibility and customization

2016-12-08 08:17:36 GMT <alfbot> yreg: The operation succeeded.

2016-12-08 08:37:51 GMT <alfbot> ohej: Sent 20 minutes ago: <yreg> friendly reminder about ADF extensibility and customization

2016-12-08 08:38:21 GMT <ohej> yreg: Good morning!

2016-12-08 09:01:07 GMT <yreg> Morning ohej

2016-12-08 09:01:18 GMT <ohej> so back to your question from yesterday

2016-12-08 09:01:49 GMT <ohej> In it's current state, most ADF components are meant to be used in your own page/component and they're very dynamic and configurable

2016-12-08 09:02:19 GMT <ohej> i.e if you pull in the document list you can add/remove columns, sorting, pagination and add custom actions with very, very little effort

2016-12-08 09:03:07 GMT <ohej> The goal is to have the components be flexible to cater for the most common use cases. However, one thing you can't do currently is for example to provide your own template and build it out from scratch

2016-12-08 09:03:36 GMT <ohej> This is something we have in the roadmap for early next year: to decouple the view from the logic. This will enable you to easily extend a component and provide your own view

2016-12-08 09:04:09 GMT <ohej> common use cases for this would be to get rid of material design and do your own thing, or maybe you only want to leverage the services/bindings and build everything else yourself

2016-12-08 09:06:16 GMT <yreg> Ok thanks, that pretty much answers it

2016-12-08 09:07:01 GMT <yreg> So the components are easily customizable in so many ways that you often do not need to inherit/extend

2016-12-08 09:07:13 GMT <yreg> (which you can not do)

2016-12-08 09:07:57 GMT <yreg> but I heard typescript support the inheritance model

2016-12-08 09:09:35 GMT <yreg> I can see that the alfresco-ng2-components project is using that

2016-12-08 09:10:09 GMT <yreg> which suggests some components are coded in ts

2016-12-08 09:10:37 GMT <yreg> do those have support for inheritance (to support the non trivial usecases)

2016-12-08 09:10:38 GMT <yreg> ?

2016-12-08 09:14:47 GMT <ohej> all the components we've created are in typescript but they are transpiled into JS so if you don't like TS you can go without it ;)

2016-12-08 09:15:13 GMT <ohej> but yes, the general idea is that you should be able to grab the "layer" you need, i.e the services and extend/reuse them

2016-12-08 09:15:30 GMT <ohej> but as I said we're not quite there just yet

2016-12-08 10:17:39 GMT <AFaust> Muahaha - SSL security for Repository-SOLR communication is a joke in Alfresco 5.1+

2016-12-08 10:19:38 GMT <AFaust> If I configure the solr.secureComms setting not in alfresco-global.properties but in the proper SOLR subsystem location, the Repository will not enforce X509 authentication on SOLR tracking APIs

2016-12-08 10:22:10 GMT <AFaust> And even though I have configured my SOLR instance with alfresco.secureComms set to https the X509 authentication is also not enforced on SOLR APIs...

2016-12-08 10:26:20 GMT <AFaust> Only reason SSL is not supported in sharding use case is because someone decided it was not worth it to implement the couple of extra lines necessary to handle SOLR<->SOLR SSL interaction

2016-12-08 10:37:28 GMT <AFaust> ah - damn, shared.properties in SOLR isn't really what its name suggests - it cannot be used to define just "any" property (like alfresco.secureComms) that should be shared amongst all cores and thus isn't checked in order to determine if SOLR APIs need to be X509-secured

2016-12-08 10:38:37 GMT * AFaust should have read the doc more carefully

2016-12-08 10:49:35 GMT <AFaust> New X509 handling logic means you can't have "SOLR --ssl--> Repository" on public port at the same time as "Repository --none--> SOLR" on private, firewalled port without being forced to write your own filters

2016-12-08 12:33:37 GMT <Loftux> If I where to make an action including a form available in current document library available from the search results (aikau based), can I reuse the action and forms, or do I have to make it all Aikau?

2016-12-08 12:40:49 GMT <AFaust> I am sceptical of that. ___Dave has added support for the Forms engine recently but it isn't part of the core product yet as far as I can see....

2016-12-08 12:41:54 GMT <AFaust> https://www.alfresco.com/blogs/developer/2016/07/08/aikau-1-0-76-form-runtime-support/

2016-12-08 12:41:55 GMT <alfbot> Title: Aikau 1.0.76 Form Runtime Support | Alfresco Developer Blog (at www.alfresco.com)

2016-12-08 12:42:22 GMT <AFaust> ^^ mentions that you'd need to add an additional JAR file to Share to use the forms support

2016-12-08 12:42:56 GMT <AFaust> So - since even latest 5.2 EA does not include that library I very much doubt that your case is currently supported in faceted-search

2016-12-08 12:46:34 GMT <Loftux> AFaust: Thats what I figured. the actions are just a click or two away anyway if you click your search result and go to the documentlibrary page. I'll tell the customer its probably not worth the investment at this stage.

2016-12-08 13:29:02 GMT <___Dave> Loftux: AFaust: It's not part of the core product... yet

2016-12-08 13:29:27 GMT <___Dave> I would agree that at this stage it's not worth the effort

2016-12-08 13:53:49 GMT <Fiifi> Hi! Guys! A potential customer is looking for an e-signature with stylux solution

2016-12-08 13:55:46 GMT <Fiifi> Do we have an Add-on that does stylus signing? We currently use Countersign but it has limitations....

2016-12-08 14:30:19 GMT <yreg> Fiifi, where does he need it exactly ? in a doclib action ?

2016-12-08 14:30:29 GMT <yreg> a workflow task ?

2016-12-08 14:31:01 GMT <yreg> should it be automatically integrated (inserted) in some document ?

2016-12-08 14:31:25 GMT <yreg> in such case, what would the document type be ?

2016-12-08 14:34:40 GMT <yreg> just want to learn more about the usecase

2016-12-08 14:56:49 GMT <Fiifi> yreg: Document (PDF,Doc) shd be signed with touch screen or stylux

2016-12-08 14:59:06 GMT <Fiifi> yreg: Yes! doclibrary Action is fine!

2016-12-08 15:00:44 GMT <Fiifi> yreg: In a workflow would be a plus!

2016-12-08 15:06:30 GMT <yreg> I do not know of any addon that does that, but it is doable, easier for word documents than it is for PDFs that's for sure

2016-12-08 15:11:03 GMT <yreg> Fiifi, it sounds like there is an addon for that after all : https://addons.alfresco.com/addons/digital-signing

2016-12-08 15:11:05 GMT <alfbot> Title: Digital signing | Alfresco Add-ons - Alfresco Customizations (at addons.alfresco.com)

2016-12-08 15:11:31 GMT <yreg> so maybe it is worth checking up !

2016-12-08 15:32:02 GMT <Fiifi> Already testing countersign and SKYTIZENS!

2016-12-08 16:12:06 GMT <AFaust> Great - default sharding by ACL is very unbalanced... all the even numbered shards get most of the content (with inherited ACLs) while the odd numbered shards mostly manage those (single) items at which an ACL is defined / modified

2016-12-08 16:15:00 GMT <AFaust> After a day of testing and generating half a million nodes, the largest shard is twice as large as the next largest shards, and 18 times as large as the smallest shard...

2016-12-08 16:21:22 GMT <IanW1> my experiments with sharding haven't shown it to be worthwhile (not Alfresco but 100M rows) despite relatively even distribution but it will depend on the data, and probably more importantly on the queries that are run

2016-12-08 16:26:32 GMT <AFaust> yes, the type of queries will be essential - if your data set is very structured data and your queries are mostly simple retrievals / faceting I would not expect sharding to have much of an impact

2016-12-08 16:28:04 GMT <AFaust> for the kind of full text indexing with wildcard queries I expect sharding to allow significant improvements

2016-12-08 16:29:07 GMT <AFaust> provided of course the distribution is halfway decent and the shards are not sharing some IO bottleneck...

2016-12-08 16:30:49 GMT <IanW1> I think (it was a while ago) it didn't help us mainly because the queries were unpredictable and often across shards

2016-12-08 16:32:13 GMT <IanW1> didn't spend too much time on it in the end as a combination of other approaches and indexes got something good enough

2016-12-08 16:34:39 GMT <AFaust> the latter will always be the case in Alfresco currently - I have seen indication in HEAD that sharding by property may be coming "soon-ish" (I'd say 5.3 or via an update to the newly independant search services module), which would allow at least some queries (with distinct property query conditions) to target specific shards

2016-12-08 16:34:55 GMT <AFaust> the latter = queries across shards

2016-12-08 16:36:21 GMT <IanW1> As is always the case the only way to know will be to test it out...

2016-12-08 16:37:08 GMT <AFaust> hence my experiments

2016-12-08 16:39:08 GMT <IanW1> https://blog.codinghorror.com/hardware-is-cheap-programmers-are-expensive/

2016-12-08 16:39:09 GMT <alfbot> Title: Hardware is Cheap, Programmers are Expensive (at blog.codinghorror.com)

2016-12-08 16:43:27 GMT <AFaust> true

2016-12-08 16:53:52 GMT <AFaust> oh well, SOLR was lying to me: largest shard is actually same size as the next 4, but all even numbered shards expect one are 4x - 9x as large as odd numbered ones

2016-12-08 16:54:03 GMT <AFaust> "except", not "expect"

2016-12-08 17:20:49 GMT <douglascrp> I have some custom code in order to add the preview into the edit-metadata page

2016-12-08 17:21:13 GMT <douglascrp> what I did is like, the "dirty" customization, that is replacing both edit-metadata.xml and edit-metadata.ftl

2016-12-08 17:21:24 GMT <douglascrp> what is the clean way to customize this?

2016-12-08 17:21:34 GMT <douglascrp> is there an extension method for page instance and template?

2016-12-08 17:23:17 GMT <AFaust> douglascrp: What about Surf extension modules and sub-components?

2016-12-08 17:23:36 GMT <douglascrp> ah, sub-components

2016-12-08 17:23:37 GMT <douglascrp> right

2016-12-08 17:23:40 GMT <douglascrp> I forgot about that one

2016-12-08 17:23:47 GMT <AFaust> I did add a dynamic preview component to a task form that way once

2016-12-08 17:23:48 GMT <douglascrp> let me take a look... tks for reminding me

2016-12-08 17:24:05 GMT <douglascrp> nothing public, I guess

2016-12-08 17:24:19 GMT <AFaust> "dynamic preview" => reacting to an action on the "selected items" list so it shows the preview of any one of the contained documents

2016-12-08 17:24:38 GMT <douglascrp> wow, that's even better

2016-12-08 17:24:48 GMT <douglascrp> like, with a package with multi-documents

2016-12-08 17:24:54 GMT <douglascrp> interesting

2016-12-08 17:24:56 GMT <AFaust> yep, nothing public - part of a customer project at PRODYNA

2016-12-08 17:25:03 GMT <douglascrp> ok, no problem

2016-12-08 17:25:07 GMT <douglascrp> I'm reading about that right now

2016-12-08 17:25:09 GMT <douglascrp> tks

2016-12-08 17:25:41 GMT * AFaust is trying to remember "which" project that was...

2016-12-08 17:26:15 GMT <douglascrp> I remembered about you another day while driving

2016-12-08 17:26:21 GMT <douglascrp> I saw a street called nabuco

2016-12-08 17:26:22 GMT <AFaust> I just know I did this, but for the life of me can't remember which customer / project...

2016-12-08 17:26:29 GMT <AFaust> Damn...

2016-12-08 17:26:33 GMT <douglascrp> wasn't that the name of the project you created there?

2016-12-08 17:26:36 GMT <douglascrp> with captiva?

2016-12-08 17:26:37 GMT <AFaust> but it was missing a "c"

2016-12-08 17:26:51 GMT <douglascrp> right :D

2016-12-08 17:27:28 GMT <AFaust> Actually it was a brand name that PRODYNA used for a while for its own products (open source or not)

2016-12-08 17:27:41 GMT <douglascrp> got it

2016-12-08 17:27:54 GMT <AFaust> "NABUCCO Alfresco Web Scan" was the name of the module which included the Captiva integration

2016-12-08 17:28:24 GMT <douglascrp> yes, I remember I watched when you presented it

2016-12-08 17:28:40 GMT <douglascrp> I was working in a documentum partner

2016-12-08 17:28:52 GMT <douglascrp> and they where trying to find a way to do the "web scan"

2016-12-08 17:28:57 GMT <douglascrp> they loved what you did

2016-12-08 17:29:14 GMT <AFaust> The brand name has since been discontinued, the domain is no longer registered and you'll only find old references to it where it hasn't been adapted yet

2016-12-08 19:03:55 GMT <magp> Hi, I'm getting accessdenied exceptions when trying to edit online with aos, any idea why?

2016-12-08 22:51:13 GMT <digcat> ~later tell ohej congrats btw the wedding pics looked great !

2016-12-08 22:51:13 GMT <alfbot> digcat: The operation succeeded.

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco