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

2019-01-17 07:48:52 GMT <alfresco-discord> <bhagyas> has anyone used kompose to deploy Alfresco on kubernets?

2019-01-17 07:48:55 GMT <alfresco-discord> <bhagyas> kubernetes*

2019-01-17 07:55:05 GMT <alfresco-discord> <yreg> I experimented with that

2019-01-17 07:55:20 GMT <alfresco-discord> <yreg> it needs a custom docker-compose format

2019-01-17 07:55:26 GMT <alfresco-discord> <yreg> and a few restrictions

2019-01-17 07:55:29 GMT <alfresco-discord> <yreg> but it is managable

2019-01-17 07:57:04 GMT <alfresco-discord> <bhagyas> did you get it working?

2019-01-17 07:58:07 GMT <alfresco-discord> <yreg> stuff at least partially

2019-01-17 07:58:17 GMT <alfresco-discord> <yreg> after multiple rounds of trial and error

2019-01-17 07:58:30 GMT <alfresco-discord> <bhagyas> I'm thinking of switching from docker compose to local kubernetes instead

2019-01-17 07:58:43 GMT <alfresco-discord> <yreg> too much overhead IMHO

2019-01-17 07:58:56 GMT <alfresco-discord> <bhagyas> (minikube)

2019-01-17 07:59:08 GMT <alfresco-discord> <yreg> and the learning curve is big even with the facilities that come with kompose

2019-01-17 07:59:15 GMT <alfresco-discord> <yreg> please don't

2019-01-17 07:59:20 GMT <alfresco-discord> <yreg> minikube is crap

2019-01-17 07:59:48 GMT <alfresco-discord> <yreg> since quite a while kubernetes ships with docker desktop OOTB

2019-01-17 08:00:23 GMT <alfresco-discord> <yreg> either use some cloud provider (Google, AWS, Azure) or locally

2019-01-17 08:00:40 GMT <alfresco-discord> <yreg> you can of course turne it on/off as it pleases you

2019-01-17 08:00:59 GMT <alfresco-discord> <bhagyas> minikube uses docker desktop

2019-01-17 08:01:01 GMT <alfresco-discord> <bhagyas> so..

2019-01-17 08:01:35 GMT <alfresco-discord> <bhagyas> which part should be avoided?

2019-01-17 08:02:36 GMT <alfresco-discord> <yreg> when I tried that a while back I needed to nuke minikube multiple times until I finally got it right

2019-01-17 08:02:38 GMT <alfresco-discord> <bhagyas> and docker uses virtualbox or a hypervisor

2019-01-17 08:02:50 GMT <alfresco-discord> <bhagyas> that supports the OS

2019-01-17 08:03:00 GMT <alfresco-discord> <yreg> and then out of no where sometime I stumble across issues pushing me to start fresh again

2019-01-17 12:50:49 GMT <alfresco-discord> <mbui> Is there a OOTB size limit on file uploads in Share?

2019-01-17 13:08:25 GMT <alfresco-discord> <MorganP> Look inside the share-documentlibrary-config.xml

2019-01-17 13:08:30 GMT <alfresco-discord> <MorganP> file-upload xml tag

2019-01-17 13:09:36 GMT <alfresco-discord> <MorganP> If I'm not mistaken, by default there is no limitation but if flash is disabled, the file needs to be uploaded first into the browser's memory which in the end can be a limitation because you workstation doesn't have infinite ram available

2019-01-17 13:11:00 GMT <alfresco-discord> <MorganP> That is for the drag&drop though, not sure if it applies to the upload for a single file as well, I don't believe so

2019-01-17 23:11:24 GMT <alfresco-discord> <jpotts> Anyone around that has had the pleasure of making big changes to the activity feed email?

2019-01-17 23:13:45 GMT <alfresco-discord> <jpotts> When the activity list includes a new or updated node, I need to grab some props off of it. I figured out how to find the nodeRef (activity.activitySummary.nodeRef), but turning it into a TemplateNode is a challenge because the root-scoped companyhome object does not appear to be injected into the activity notification email.

2019-01-17 23:37:50 GMT <AFaust> jpotts: When last I needed to extend the activity list, I've learnt to avoid trying to post-enhance the data in the feed (they may have changed since then anyway) and enhance them during the activity post recording instead.

2019-01-17 23:40:49 GMT <AFaust> That also helps with performance, as data is only added once instead of per mail (per user)

2019-01-17 23:44:00 GMT <alfresco-discord> <jpotts> I can understand that making the feed generic for many event types while keeping everything performant was challenging, but grokking the activity feed related code is a bit of a nightmare

2019-01-17 23:45:31 GMT <AFaust> Yeah, it is not the greatest (well, relative to the traditional core of Alfresco, not the messed up new stuff being added in the last couple of years)

2019-01-17 23:46:46 GMT <alfresco-discord> <jpotts> Are you saying to basically post my own activity entries when instances of a custom type are created/updated and then filter on the custom activity type in the email template?

2019-01-17 23:48:44 GMT <AFaust> One thing you could do in your case is to override the "feedModelBuilderPrototype" bean in the activities subsystem with a subclass that overrides the buildModel method which resolves the company home NodeRef and adds it to the model. THat would then get turned into a regular TemplateNode

2019-01-17 23:49:38 GMT <alfresco-discord> <jpotts> Yep, that makes sense.

2019-01-17 23:49:39 GMT <AFaust> And my suggestion was more like "override / facade the activity posting component to enhance the activity JSON for any activity" - not just for custom types

2019-01-17 23:50:21 GMT <alfresco-discord> <jpotts> Right, I was just thinking I'd hook it to a custom type because it is only instances of the custom type that have the properties I need to extract into the email

2019-01-17 23:50:38 GMT <AFaust> But the extension of the model builder would be cleaner (extension-wise), so the performance penalty in asynchronous email generation would be more than compensated...

2019-01-17 23:51:15 GMT <alfresco-discord> <jpotts> Agreed, okay, I'm going to give that a shot. Thanks, Axel

2019-01-17 23:51:26 GMT <AFaust> And having company home available in the FTL could be more useful for other aspects later on...

2019-01-17 23:51:34 GMT <alfresco-discord> <jpotts> Indeed

2019-01-17 23:52:29 GMT <AFaust> One thing that might be even better: instead of resolving only the company home NodeRef, you could use the template service to build the default model so you have 100% match with what other FTLs get as root objects

2019-01-17 23:54:24 GMT <AFaust> though looking at what the default model provides + requires to build, it isn't that great of an improvement. You'd still need to resolve the NodeRef(s) yourself, and the only other things handled are userhome, person, date, imageresolver

End of Daily Log

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