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

2018-05-17 05:24:06 GMT <anamika> Hi all

2018-05-17 05:24:41 GMT <anamika> I am trying to disable the password saving option while doing the login in alfresco

2018-05-17 05:26:01 GMT <anamika> So,I have tried putting this https://pastebin.com/6ZqdTvCd in login.get.html.ftl file

2018-05-17 05:26:02 GMT <alfbot> Title: <form id="theForm" action="/your/login" method="post"> <input type="hidden" i - Pastebin.com (at pastebin.com)

2018-05-17 05:27:45 GMT <anamika> but it is still asking for the option to save the password or not while doing the login

2018-05-17 05:28:08 GMT <anamika> any help would be greatly appreciated

2018-05-17 06:59:02 GMT <yreg> Morning folks

2018-05-17 07:19:15 GMT <anushree> hi all

2018-05-17 07:19:43 GMT <anushree> I a trying to disable the password saving option while doing the login in alfresco

2018-05-17 07:21:22 GMT <anushree> So,I have tried to make the two hidden fields for username and password and copy the visible username and password to the hidden username and password in the following way

2018-05-17 07:21:31 GMT <anushree> https://pastebin.com/Zpbec6EQ

2018-05-17 07:21:32 GMT <alfbot> Title: <@markup id="form"> <div class="form-field"> <input typ - Pastebin.com (at pastebin.com)

2018-05-17 07:22:13 GMT <anushree> but the browser is still asking for the option to save the password or not

2018-05-17 07:22:26 GMT <anushree> any help would be greatly appreciated

2018-05-17 07:25:45 GMT <anushree> Sorry,I forget to mention that I have made these changes in login.get.html.ftl file

2018-05-17 08:07:27 GMT *** angelborroy_ is now known as angelborroy

2018-05-17 08:24:43 GMT <AFaust> ~later tell anushree: I believe it was already mentioned yesterday that browsers do not always obey autocomplete="off"... also, you are missing autocomplete="off" on your <form>

2018-05-17 08:24:43 GMT <alfbot> AFaust: The operation succeeded.

2018-05-17 08:25:04 GMT <AFaust> ~later tell anushree: Just googling brings up https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields

2018-05-17 08:25:04 GMT <alfbot> AFaust: The operation succeeded.

2018-05-17 08:25:53 GMT <AFaust> ~later tell anushree: There it is stated: "If a site sets autocomplete="off" for username and password input fields, then the browser will still offer to remember this login, and if the user agrees, the browser will autofill those fields the next time the user visits the page."

2018-05-17 08:25:53 GMT <alfbot> AFaust: The operation succeeded.

2018-05-17 08:26:26 GMT <AFaust> ~later tell anushree: So I guess you probably have to give up your quest...

2018-05-17 08:26:26 GMT <alfbot> AFaust: The operation succeeded.

2018-05-17 08:56:46 GMT <Proto> hi

2018-05-17 08:57:06 GMT <tanmay> Hi all

2018-05-17 08:58:03 GMT <Proto> Which credentials are used to access nexus repo? I'm trying with the Customer Portal but isn't working :(

2018-05-17 09:00:11 GMT <tanmay> Is there any way to disable the popup for saving the password while doing the login in alfresco

2018-05-17 09:04:02 GMT <Proto> tanmay, that looks more like the browser config, not alfresco

2018-05-17 09:04:45 GMT <tanmay> yes,but I want to disable it through the code due to security concern

2018-05-17 09:05:49 GMT <tanmay> is there any way to do that in alfresco

2018-05-17 09:08:34 GMT <Loftux> tanmay: Are you the same person as anushree? AFaust just answered anushree. If not, looks like you are working on the same task here and should coordinate

2018-05-17 09:09:08 GMT <Proto> tanmay, maybe this will help you: https://stackoverflow.com/questions/32775342/how-to-disable-chromes-saved-password-prompt-setting-through-javascript

2018-05-17 09:09:09 GMT <alfbot> Title: jquery - How to disable Chrome's saved password prompt setting through JavaScript - Stack Overflow (at stackoverflow.com)

2018-05-17 09:09:09 GMT <AFaust> We had multiple different names in the last couple of days inquire about that...

2018-05-17 09:09:46 GMT <Proto> BTW, Which credentials are used to access nexus repo? I'm trying with the Customer Portal but isn't working :(

2018-05-17 09:10:24 GMT <angelborroy> Proto you need to ask for different credentials

2018-05-17 09:10:36 GMT <angelborroy> Just open a ticket and ask for credentials

2018-05-17 10:09:24 GMT <yreg> angelborroy, how do you do that ?

2018-05-17 10:09:36 GMT <angelborroy> yreg sorry?

2018-05-17 10:09:43 GMT <yreg> How do you monitor the community platform for new content that fast

2018-05-17 10:10:01 GMT <angelborroy> Can you explain further?

2018-05-17 10:10:08 GMT <angelborroy> Ah, ok, I’m following Stefan

2018-05-17 10:10:09 GMT <yreg> Whenever there is great content there, you're often the first one to tweet about it

2018-05-17 10:10:18 GMT <yreg> Aha, that explains it

2018-05-17 10:10:20 GMT <yreg> :D

2018-05-17 10:10:30 GMT <angelborroy> I really liked this last blog post

2018-05-17 10:10:45 GMT <angelborroy> It smells like old stuff from Alfresco Engineers

2018-05-17 10:11:22 GMT <yreg> Yeah, I really like the openness in the approach

2018-05-17 10:27:33 GMT <Proto> alfresco 3.1 content services release notes?

2018-05-17 10:34:48 GMT <AFaust> Google / community.alfresco.com is your friend: https://community.alfresco.com/docs/DOC-5686-release-31

2018-05-17 10:34:50 GMT <alfbot> Title: Release 3.1 | Alfresco Community (at community.alfresco.com)

2018-05-17 10:45:57 GMT <Proto> AFaust, links inside that web page don't work :/

2018-05-17 11:09:05 GMT <AFaust> Proto: Sure - it is an ancient page that has been migrated "as-is" from the old wiki which had a different URL. You'll have to do Google / platform searches to find the correct link targets yourself

2018-05-17 11:09:24 GMT <AFaust> Is there a reason you need to check the release notes of this ancient Alfresco version anyway?

2018-05-17 11:10:03 GMT <Proto> migration....

2018-05-17 11:12:54 GMT <Proto> It's really hard to find 3.x release info (platforms, notes, best practices...)

2018-05-17 11:16:09 GMT <kkore> Good afternoon all

2018-05-17 11:16:35 GMT <angelborroy> Proto https://file.io/HToJKb

2018-05-17 11:16:43 GMT <angelborroy> Some information I have for Alfresco 3

2018-05-17 11:17:06 GMT <kkore> I am trying to get the aspects which are added to document in cmis after creation of document but getting error please see code https://bpaste.net/show/68d6a17fe301

2018-05-17 11:17:07 GMT <alfbot> Title: show at bpaste (at bpaste.net)

2018-05-17 11:17:08 GMT <angelborroy> Also relevant: Alfresco 3 Web Services by Ugo Cei & Piergiogio Lucidi

2018-05-17 11:17:31 GMT <angelborroy> And Alfresco 3 Business Solutions by Martin Bergljung

2018-05-17 11:17:40 GMT <angelborroy> Both books from Packt Publishing

2018-05-17 11:18:25 GMT <douglascrp> morning guys

2018-05-17 11:19:22 GMT <douglascrp> does anyone have any tip on how to configure a service to get emails from office365 and forward them to an alfresco server that does not have direct access to the internet?

2018-05-17 11:19:49 GMT <angelborroy> kkore why are you using SOAP endpoint?

2018-05-17 11:20:04 GMT <douglascrp> this alfresco server is configured with inbound mail, so, all emails sent to office365 have to be saved into alfresco

2018-05-17 11:20:21 GMT <bhagyas> douglascrp: see dm

2018-05-17 11:20:30 GMT <Proto> angelborroy, link doesn't work :/

2018-05-17 11:20:32 GMT <angelborroy> kkore SOAP is CMIS 1.0 and you need CMIS 1.1 to use secondaryObjectTypeIds

2018-05-17 11:20:50 GMT <angelborroy> kkore just switch to AtomPUB or Browser protocol

2018-05-17 11:21:06 GMT <angelborroy> Proto probably some other hit the link

2018-05-17 11:21:10 GMT <angelborroy> Let me create another

2018-05-17 11:21:15 GMT <angelborroy> First to click is the winner

2018-05-17 11:21:15 GMT <angelborroy> :D

2018-05-17 11:21:16 GMT <Proto> oh, ty

2018-05-17 11:21:21 GMT <Proto> xD

2018-05-17 11:21:22 GMT <kkore> in properties I mention like this user.id=admin user.password=admin repository.service= atomPub.URL=

2018-05-17 11:22:23 GMT <AFaust> angelborroy: Single use links are probably not good here since alfbot will hit the link automatically

2018-05-17 11:22:25 GMT <angelborroy> You are using “repository.service”

2018-05-17 11:22:38 GMT <angelborroy> AFaust I’m looking another service, yes

2018-05-17 11:22:47 GMT <angelborroy> But I don’t want to register

2018-05-17 11:22:56 GMT <Proto> hahaha, want my email?

2018-05-17 11:23:12 GMT <Proto> (a not official one)

2018-05-17 11:23:12 GMT <kkore> angelborroy: yes I am using

2018-05-17 11:23:17 GMT <angelborroy> yes, please

2018-05-17 11:23:25 GMT <angelborroy> use a private message in this IRC

2018-05-17 11:23:35 GMT <Proto> peperojascamelleto@hotmail.com

2018-05-17 11:23:41 GMT <kkore> yes

2018-05-17 11:23:56 GMT <AFaust> well, you better create a new email after that...

2018-05-17 11:24:27 GMT <angelborroy> yep

2018-05-17 11:24:37 GMT <angelborroy> That’s why I said “private”, Proto

2018-05-17 11:24:43 GMT <angelborroy> anyway, you have your info there

2018-05-17 11:24:50 GMT <Proto> it is a rubbish one, dont worry

2018-05-17 11:25:18 GMT <angelborroy> kkore you have to change to ATOM

2018-05-17 11:25:24 GMT <angelborroy> kkore as you are using SOAP right now

2018-05-17 11:26:01 GMT <kkore> I am using cxf to connect with both soap and rest

2018-05-17 11:26:12 GMT <angelborroy> kkore use AtomPub endpoint

2018-05-17 11:26:54 GMT <kkore> means need to add atompub endpoint in properties

2018-05-17 11:28:34 GMT <Proto> Gracias angel!

2018-05-17 11:55:15 GMT <yreg> Guys do we have a date already on which we should expect ACS 6.0 EE release ?

2018-05-17 11:56:00 GMT <AFaust> As always, my estimate is EE GA ~= CE GA + ~12 weeks

2018-05-17 11:56:22 GMT <AFaust> Since there is no CE GA date (as usual, "when it is ready") there can be no EE date...

2018-05-17 12:03:28 GMT <ayushi> hi all

2018-05-17 12:04:09 GMT <ayushi> I am trying to add the jquery in login.get.html.ft file in alfresco in the following way

2018-05-17 12:05:36 GMT <ayushi> https://pastebin.com/meQXhmcP

2018-05-17 12:05:37 GMT <alfbot> Title: <@markup id="js"> <#-- JavaScript Dependencies --> <@script src="${url.c - Pastebin.com (at pastebin.com)

2018-05-17 12:05:52 GMT <ayushi> but the jquery is not working

2018-05-17 12:06:07 GMT <ayushi> any ideas on how to get it work?

2018-05-17 12:10:01 GMT <yreg> -= THIS MESSAGE NOT LOGGED =-

2018-05-17 12:11:21 GMT <AFaust> -= THIS MESSAGE NOT LOGGED =-

2018-05-17 12:12:07 GMT <AFaust> -= THIS MESSAGE NOT LOGGED =-

2018-05-17 12:21:49 GMT <douglascrp> so, I was thinking about using fetchmail to get the emails from Office365 and forward them using procmail

2018-05-17 12:21:58 GMT <douglascrp> but I am not sure if this is going to be the best solution

2018-05-17 12:22:05 GMT <douglascrp> I am open to ideas

2018-05-17 12:23:43 GMT <yreg> douglascrp, can you setup a forwarder on the office365 side, and then a proxy on an exposed host to the internet to relay forwarded emails to alfresco ?

2018-05-17 12:24:10 GMT <douglascrp> the alfresco server is not exposed, and the client is not going to expose it in no way

2018-05-17 12:24:28 GMT <douglascrp> so I have to use something from inside the server, that is going to get the emails

2018-05-17 12:24:55 GMT <douglascrp> this is the only access it is going to have

2018-05-17 12:25:17 GMT <douglascrp> before moving to office365, they had an exchange server configure just like you described, using a connector

2018-05-17 12:25:25 GMT <douglascrp> but now, they do not have that server anymore

2018-05-17 12:25:58 GMT <douglascrp> yreg, but about the relay, what tool do you recommend

2018-05-17 12:26:18 GMT <douglascrp> I guess I can have the relay local, working together with fetchmail or another alternative tool

2018-05-17 12:26:27 GMT <douglascrp> right now, I am just trying to define what to use

2018-05-17 12:26:38 GMT <douglascrp> the HOW TO use is the next task

2018-05-17 12:27:20 GMT <yreg> I would turn to google for suggestion :P

2018-05-17 12:30:06 GMT <douglascrp> yreg, I am doing that right now, but there are so many options

2018-05-17 12:30:06 GMT <Loftux> douglascrp: I've used IMAP sync for a project https://github.com/imapsync/imapsync

2018-05-17 12:30:07 GMT <alfbot> Title: GitHub - imapsync/imapsync (at github.com)

2018-05-17 12:30:52 GMT <douglascrp> then I decided to ask to you guys... why reinvent the wheel when there must be someone here with experience in the topic

2018-05-17 12:30:53 GMT <Loftux> In that, they have a drop folder, imap sync picks up from that folder and moves into Alfresco

2018-05-17 12:31:09 GMT <douglascrp> Loftux, interesting... I am going to take a look at that

2018-05-17 12:31:13 GMT <douglascrp> Loftux, tks

2018-05-17 12:32:12 GMT <douglascrp> Loftux, seems promissing

2018-05-17 12:32:35 GMT <douglascrp> it is just the case to setup the imap into alfresco and it's done

2018-05-17 12:38:22 GMT <hi-ko_> douglascrp: what we do is using a frontup exim configured in dns with highes prio having a split domain config forwarding mails for a special subdomain or special pattern to the alfresco server

2018-05-17 12:39:23 GMT <Loftux> douglascrp: What I did at the time was to drop all incoming mails via imapsync in one folder, then they had to classify emails in Share for customer id etc. Only showed user their own emails (matching sent to email with in Alfresco stored user email).

2018-05-17 12:40:05 GMT <Loftux> Lots of manual work, but wanted details info on each mail that is just not available from the email

2018-05-17 12:40:13 GMT <douglascrp> Loftux, in my case, all I have to do is to extract the attachments and put them in a folder where someone will classify or discard it

2018-05-17 12:40:18 GMT <bhagyas> angelborroy: Do you do deployments on AWS now?

2018-05-17 12:40:35 GMT <angelborroy> I’ve been deploying on AWS regularly, yes

2018-05-17 12:40:37 GMT <angelborroy> why?

2018-05-17 12:40:48 GMT <douglascrp> hi-ko_, they are not going to do so

2018-05-17 12:41:09 GMT <douglascrp> but is nice to know one more option

2018-05-17 12:41:12 GMT <douglascrp> tks anyway

2018-05-17 12:41:45 GMT <douglascrp> Loftux, judging by the project's documentation, it seems it does all I need

2018-05-17 12:42:04 GMT <douglascrp> I am going to try this first and let you know if it worked

2018-05-17 13:00:45 GMT <angelborroy> Anyone knows if Alfresco Analytics works with 4.2?

2018-05-17 13:01:05 GMT <yreg> angelborroy, you mean the discontinued end of life product ?

2018-05-17 13:01:14 GMT <angelborroy> yep

2018-05-17 13:01:16 GMT <yreg> Or the new insight engine ?

2018-05-17 13:01:21 GMT <angelborroy> discontinued

2018-05-17 13:01:29 GMT <angelborroy> The only real users can use nowadays

2018-05-17 13:01:52 GMT <yreg> no

2018-05-17 13:02:05 GMT <angelborroy> ok, I’m going to redirect the client to Aflytics

2018-05-17 13:02:18 GMT <yreg> angelborroy, AAAR is a pretty strong alternative

2018-05-17 13:02:30 GMT <angelborroy> Alflytics does not support 4.2?

2018-05-17 13:02:36 GMT <yreg> Alflytics does rely exclusively on REST api

2018-05-17 13:02:41 GMT <yreg> So 5.2+

2018-05-17 13:02:44 GMT <angelborroy> ok

2018-05-17 13:02:50 GMT <yreg> You need to use AAAR

2018-05-17 13:03:00 GMT <yreg> https://docs.alfresco.com/analytics/concepts/analytics-prereqs.html

2018-05-17 13:03:01 GMT <alfbot> Title: Prerequisites for using Alfresco Analytics | Alfresco Documentation (at docs.alfresco.com)

2018-05-17 13:03:23 GMT <yreg> It says here 5.0 or higher, but I haven't personally used that product

2018-05-17 13:04:04 GMT <angelborroy> Yep

2018-05-17 13:04:10 GMT <angelborroy> Ok, AAAR then

2018-05-17 13:04:25 GMT <angelborroy> thanks

2018-05-17 14:15:42 GMT <Proto> hi again! where could I get Alfresco 3.1

2018-05-17 14:15:43 GMT <Proto> ?

2018-05-17 14:16:13 GMT <Proto> dont mind if its trial

2018-05-17 14:47:29 GMT <yreg> Proto, try sourceforge

2018-05-17 14:47:49 GMT <yreg> At that time there was no difference in the code between EE and CE AFAIK

2018-05-17 14:47:53 GMT <yreg> Only support

2018-05-17 14:48:40 GMT <Proto> ok ty

2018-05-17 18:34:01 GMT <eswbitto> douglascrp are you there?

2018-05-17 18:34:08 GMT <eswbitto> I have a question about javamelody

2018-05-17 18:37:13 GMT <douglascrp> eswbitto, yes, I am here

2018-05-17 18:38:03 GMT <eswbitto> right now I have a username and password setup for javamelody, but its in clear text and its showing up on my process list when I look them up (htop)

2018-05-17 18:38:26 GMT <eswbitto> Have you ever run into something like this? I'm wanting to be able to "hide" the credentials

2018-05-17 18:40:15 GMT <douglascrp> eswbitto, I don't actually use javamelody

2018-05-17 18:40:23 GMT <eswbitto> ok

2018-05-17 18:40:28 GMT <douglascrp> the only time I tested it was a quick test, and I didn't even care about the credentials

2018-05-17 18:40:36 GMT <eswbitto> ah I see

2018-05-17 18:40:40 GMT <douglascrp> but I know there is a topic in the docs telling how to configure it

2018-05-17 18:40:45 GMT <eswbitto> well then... lol

2018-05-17 18:41:10 GMT <eswbitto> Yeah I've followed those docs and that how I get the password prompt, but its not very secure.

2018-05-17 18:41:21 GMT <douglascrp> no, it is not

2018-05-17 18:41:39 GMT <eswbitto> oh well, back to googling

2018-05-17 18:41:42 GMT <douglascrp> can you give me the link you followed?

2018-05-17 18:41:57 GMT <eswbitto> yeah one sec

2018-05-17 18:45:31 GMT <eswbitto> https://github.com/javamelody/javamelody/wiki/AlfrescoPlugin

2018-05-17 18:45:32 GMT <alfbot> Title: AlfrescoPlugin · javamelody/javamelody Wiki · GitHub (at github.com)

2018-05-17 18:45:36 GMT <eswbitto> douglascrp

2018-05-17 18:46:01 GMT <eswbitto> I put it in $TOMCAT_HOME/bin/setenv.sh

2018-05-17 18:50:14 GMT <douglascrp> https://github.com/javamelody/javamelody/wiki/UserGuide#16-security

2018-05-17 18:50:15 GMT <alfbot> Title: UserGuide · javamelody/javamelody Wiki · GitHub (at github.com)

2018-05-17 18:50:37 GMT <douglascrp> it says you can put the parameters into the web.xml file

2018-05-17 18:50:38 GMT <douglascrp> Or, if you want BASIC authentication with username and password, but do no want to use a realm and "security-constraint" in web.xml, you can add the parameter "authorized-users" in web.xml, in context or in system properties like the other javamelody parameters. For example in your WEB-INF/web.xml file:

2018-05-17 18:50:58 GMT <douglascrp> you have a sample in that page, just before the item 17.

2018-05-17 18:51:05 GMT <douglascrp> give it a try

End of Daily Log

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