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

2017-07-14 07:23:18 GMT <angelborroy> someone succesful configuring hotswap as agent for Alfresco SDK 3.0?

2017-07-14 07:23:55 GMT <angelborroy> Following User Guide (https://community.alfresco.com/docs/DOC-6855-alfresco-sdk-30-beta-user-guide) but no luck

2017-07-14 07:23:57 GMT <alfbot> Title: Alfresco SDK 3.0 Beta User Guide | Alfresco Community (at community.alfresco.com)

2017-07-14 07:24:17 GMT <angelborroy> (I know, jrebel is an easier and better alternative)

2017-07-14 07:34:56 GMT <angelborroy> ok, solved we were picking hotswap-agent SNAPSHOT (1.1.0) but it only works with hotswap-agent STABLE (0.3)

2017-07-14 07:35:14 GMT <angelborroy> which (obviously) makes sense :)

2017-07-14 07:38:21 GMT <angelborroy> sorry, latest release (STABLE) is 1.0

2017-07-14 07:55:32 GMT <fcorti> Hi angelborroy, we are very very close to release some dozen of pages of documentation on this

2017-07-14 07:55:43 GMT <fcorti> containing also this topic

2017-07-14 07:55:45 GMT <fcorti> until then

2017-07-14 07:55:54 GMT <fcorti> I defined a PDF with a draft

2017-07-14 07:55:55 GMT <fcorti> https://drive.google.com/a/alfresco.com/file/d/0B3ad78RgvVx6WHQzX0JuX0VhSFk/view?usp=sharing

2017-07-14 07:55:57 GMT <alfbot> Title: Sign in - Google Accounts (at www.google.com)

2017-07-14 07:56:11 GMT <fcorti> Let me know if it helps.

2017-07-14 07:56:36 GMT <fcorti> (I feel bad because it's something we should have a looooooot of time ago)

2017-07-14 08:02:35 GMT <angelborroy> fcorti thanks, I’ll take a look

2017-07-14 08:03:14 GMT <fcorti> Feel free to request the access guys (someone already did it)

2017-07-14 08:32:18 GMT <yreg> hehe, fcorti you clearly want to know if people are reading it, otherwise you would have specified that every one with the link should have access (anonymously)

2017-07-14 08:35:33 GMT <fcorti> well, the truth is that it was faster to share this link as I usually do... ;-)

2017-07-14 08:35:57 GMT <fcorti> I can release it also without control... feel free to do it, if you want. ;-)

2017-07-14 08:39:20 GMT <yreg> Yes, doing that from company account makes some restrictions

2017-07-14 08:39:33 GMT <yreg> s/makes/adds/

2017-07-14 09:07:50 GMT *** angelborroy_ is now known as angelborroy

2017-07-14 09:28:57 GMT *** angelborroy_ is now known as angelborroy

2017-07-14 10:04:13 GMT *** angelborroy_ is now known as angelborroy

2017-07-14 11:19:58 GMT *** angelborroy_ is now known as angelborroy

2017-07-14 12:33:23 GMT <douglascrp> morning guys

2017-07-14 12:57:17 GMT <angelborroy> I’m trying to extend Alfresco PDF Toolkit to customise action visibility

2017-07-14 12:57:44 GMT <angelborroy> by default every action is shown by all the users

2017-07-14 12:58:31 GMT <angelborroy> is there any way to override this configuration by using an external Alfresco project?

2017-07-14 12:58:43 GMT <angelborroy> I do not want to modify the “official” one

2017-07-14 13:02:37 GMT <douglascrp> angelborroy, the actions are added by the project by using extension modules

2017-07-14 13:02:39 GMT <douglascrp> https://github.com/ntmcminn/alfresco-pdf-toolkit/blob/master/pdf-toolkit-share/src/main/amp/config/alfresco/web-extension/site-data/extensions/alfresco-pdf-toolkit-extension.xml

2017-07-14 13:02:40 GMT <alfbot> Title: alfresco-pdf-toolkit/alfresco-pdf-toolkit-extension.xml at master · ntmcminn/alfresco-pdf-toolkit · GitHub (at github.com)

2017-07-14 13:02:56 GMT <angelborroy> I know

2017-07-14 13:03:03 GMT <douglascrp> so I guess you can change that behaviour dinamically by usine the deploy modules page

2017-07-14 13:03:13 GMT <angelborroy> nice approach

2017-07-14 13:03:24 GMT <angelborroy> so changing the order should be enough

2017-07-14 13:03:27 GMT <douglascrp> there you can add the "filters" using evaluators

2017-07-14 13:03:45 GMT <douglascrp> you, like, add a group evaluator without even touch code

2017-07-14 13:03:57 GMT <angelborroy> it’s not “automatic”, but it will be enough

2017-07-14 13:04:07 GMT <angelborroy> thanks!

2017-07-14 13:04:11 GMT <douglascrp> the nicest thing about this project is that he added each action as an module

2017-07-14 13:04:18 GMT <douglascrp> I didn't remember that part

2017-07-14 13:04:52 GMT <douglascrp> usually I do not use the share part of this project

2017-07-14 13:05:10 GMT <douglascrp> when I install it, I only use the actions through javascript to manipulate content in folder rules

2017-07-14 13:05:32 GMT <douglascrp> I think the addon is too "sophisticated" for my users :D

2017-07-14 13:05:37 GMT <angelborroy> hehe

2017-07-14 13:05:51 GMT <douglascrp> they would destroy content too easily if I let them use it

2017-07-14 13:06:21 GMT <angelborroy> this is why I’m filtering this actions only to a selected group of users ;-)

2017-07-14 13:06:32 GMT <douglascrp> wise decision

2017-07-14 13:30:36 GMT <jpotts> I've had multiple clients ask to customize Share to support login via Google OAuth. We started with this project (https://github.com/gdepourtales/share-oauth-sso) and got it working with 5.2 but it needs additional work.

2017-07-14 13:30:37 GMT <alfbot> Title: GitHub - gdepourtales/share-oauth-sso: Alfresco Share OAuth SSO Support (at github.com)

2017-07-14 13:31:23 GMT <jpotts> Before we do that I wanted to get opinions on whether or not there are better approaches

2017-07-14 13:31:44 GMT <angelborroy> jpotts I have tested a customisation of that project in our Alfresco instance

2017-07-14 13:31:54 GMT <angelborroy> jpotts but I’ve never get it working properly

2017-07-14 13:32:13 GMT <angelborroy> in that project there is an “awful” fixed password for every user

2017-07-14 13:32:32 GMT <jpotts> Yes, I've seen that

2017-07-14 13:32:51 GMT <angelborroy> we had different problems with Google session persistence

2017-07-14 13:33:00 GMT <jpotts> It will also let anyone with Google log in to Alfresco, even if they don't have an Alfresco account. We fixed that.

2017-07-14 13:33:22 GMT <angelborroy> sometimes it was necessary to close the session in Google to re-enter Alfreco

2017-07-14 13:33:36 GMT <jpotts> Hmm, we haven't seen that one yet.

2017-07-14 13:33:48 GMT <jpotts> What the customer doesn't like at this point is that if you log out, you get logged right back in

2017-07-14 13:33:55 GMT <jpotts> We think we can fix that

2017-07-14 13:34:08 GMT <angelborroy> yep, that was also a compliance

2017-07-14 13:34:15 GMT <IanW1> I've sort of been intending to modify my CAS project for oauth - in theory it should just be a matter of changing the filters - but don't have the time

2017-07-14 13:34:39 GMT <jpotts> IanW1: Yes, I had that thought last night. That maybe letting CAS handle it would be better

2017-07-14 13:36:29 GMT <jpotts> An additional complication of the gdepourtales project is that it requires users to have the same password, and that password has to be known by the add-on. So to switch someone between Google auth or Alfresco-managed you have to reset the password

2017-07-14 13:37:55 GMT <angelborroy> jpotts we fixed that easily

2017-07-14 13:38:10 GMT <IanW1> I'd like to try configuring CAS as an oauth server and see where that gets me - it would be more useful to support oauth than CAS I think - (incidentally ALF-21848 got moved to ACE yesterday)

2017-07-14 13:38:15 GMT <angelborroy> jpotts that project have also a dependency problem, as is not using office Google client

2017-07-14 13:38:53 GMT <angelborroy> office > official

2017-07-14 13:39:29 GMT <jpotts> angelborroy: Right, it uses a different one, scribe IIRC

2017-07-14 13:40:35 GMT <angelborroy> probably Ian approach is better, but starting from scratch is required for that

2017-07-14 13:42:32 GMT <jpotts> I hate for the client to spend much more money on this if Alfresco might implement something in an up-coming release

2017-07-14 13:43:18 GMT <angelborroy> I can share my customizations with you

2017-07-14 13:43:29 GMT <angelborroy> but they are not final and different problems are unsolved

2017-07-14 13:43:30 GMT <jpotts> I've always found it odd that Alfresco jumped on Google Docs very early but never implemented Google auth

2017-07-14 13:44:01 GMT <angelborroy> agree

2017-07-14 13:44:22 GMT <jpotts> angelborroy: I'd love to take a look. Are you planning on contributing them back to gdepourtales in a pull request?

2017-07-14 13:44:31 GMT <angelborroy> not really

2017-07-14 13:44:46 GMT <angelborroy> as they are quick fixes and un-tested

2017-07-14 13:44:56 GMT <jpotts> angelborroy: Don't want to spend the time on it or cannot legally do it?

2017-07-14 13:44:56 GMT <angelborroy> we were using it for 6 months in the office

2017-07-14 13:45:08 GMT <angelborroy> just the time

2017-07-14 13:45:22 GMT <angelborroy> it was an internal dev, so no legal restrictions

2017-07-14 13:45:47 GMT <jpotts> I think anything would help move that module forward because gdepourtales has said they have no time to work on it

2017-07-14 13:46:18 GMT <jpotts> I can also contribute our customizations if it makes sense to do so

2017-07-14 13:46:39 GMT <angelborroy> sincerely… I reach a point where modifications had no sense

2017-07-14 13:46:58 GMT <angelborroy> so I realised that a whole new development should be done to get it working

2017-07-14 13:47:08 GMT <jpotts> Ugh

2017-07-14 13:47:13 GMT <angelborroy> so I left the module “abadoned"

2017-07-14 13:47:19 GMT <jpotts> This is one of those areas where a hint from resplin or someone else would keep us from wasting our time

2017-07-14 13:49:04 GMT <jpotts> ~ later tell resplin There is a module that supports Share google oauth that either needs fixing or re-development. Some of us can help, but we don't want to waste our time. Can you give us some hints on whether or not Share might support google auth soon?

2017-07-14 13:49:04 GMT <alfbot> jpotts: The operation succeeded.

2017-07-14 13:49:40 GMT <IanW1> I know SSO is high on the list for Brian to look at - slightly worried that it might only be between content and process services but I think oauth and openid-connect are potentially involved

2017-07-14 13:49:41 GMT <angelborroy> btw I guess Share will not support Google Auth ever

2017-07-14 13:50:12 GMT <jpotts> angelborroy: I have the same feeling, but I'd like to hear from the horse's mouth

2017-07-14 13:50:17 GMT <angelborroy> right

2017-07-14 13:52:49 GMT <jpotts> Surely the stance is not "We are never going to add any additional new features to Share"

2017-07-14 13:53:15 GMT <angelborroy> sadly, this could be truth

2017-07-14 13:53:21 GMT <jpotts> Maybe I'm in denial

2017-07-14 13:54:03 GMT <IanW1> I find it interesting how many people haven't bothered to upgrade...

2017-07-14 13:54:40 GMT <jpotts> I have many customers who would be very upset by being told that they'll have to be happy with Share as-is

2017-07-14 13:55:52 GMT <jpotts> IanW1: Yes, when I was looking at the "thumbnail ping" numbers every month I was shocked at how many old installs that were running

2017-07-14 13:57:11 GMT <jpotts> IanW1: I stay very busy (too busy, actually) doing upgrades so I'm doing my part. Everyone else needs to pick up the slack! :)

2017-07-14 13:58:30 GMT <IanW1> I think I'd be worried if I was releasing new versions and knew that people didn't think the upgrades were worthwhile

2017-07-14 13:58:54 GMT <IanW1> I know it's not easy, hence my BeeCon talk/project, but still...

2017-07-14 13:59:46 GMT <jpotts> IanW1: I think any upgrade decision is a cost-benefit analysis. For a long time, upgrades were very scary and somewhat risky. So if someone does the calculus and decides the risk/cost isn't worth the benefit they won't do it.

2017-07-14 14:01:46 GMT <IanW1> Absolutely but, from an Alfresco point of view, I'd be concerned that the benefit is seen to be too small vs the risk/cost

2017-07-14 14:01:56 GMT <jpotts> Agreed

2017-07-14 14:02:24 GMT <jpotts> I've been thinking about going back through all of the servers I have access to and looking at their "originally installed/currently installed" spread and calculating the average breadth of releases covered. I'd love to see that globally.

2017-07-14 14:04:20 GMT <jpotts> I have a 1.x - 4.x customer right now. You know that server has seen some things!

2017-07-14 14:09:14 GMT <jpotts> Just checked, here's the log entry: "Alfresco started (Enterprise). Current version: 4.2.7 (r134921-b7) schema 6,086. Originally installed version: 1.2.1 schema 12."

2017-07-14 14:09:47 GMT <jpotts> I've never seen one that broad, if that's the right adjective

2017-07-14 14:10:55 GMT <angelborroy> My long race was 3.4.3 to 5.1.0

2017-07-14 19:07:12 GMT *** HasanAtizaz is now known as Guest91936

End of Daily Log

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