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-06-03 12:27:43 GMT <alfresco-discord> <bhagyas> @Francesco Corti the little one is here now 😊

2018-06-03 12:31:58 GMT <alfresco-discord> <Francesco Corti> Ok, now we have a problem

2018-06-03 12:32:17 GMT <alfresco-discord> <Francesco Corti> Alfresco's Slack is not open to create a bot

2018-06-03 12:32:41 GMT <alfresco-discord> <Francesco Corti> so, I cannot configure the discord2slack project

2018-06-03 12:32:43 GMT <alfresco-discord> <bhagyas> urgh

2018-06-03 12:32:48 GMT <alfresco-discord> <bhagyas> why not?

2018-06-03 12:32:58 GMT <alfresco-discord> <Francesco Corti> not allowed

2018-06-03 12:33:07 GMT <alfresco-discord> <bhagyas> you must probably be an admin for that i guess

2018-06-03 12:33:26 GMT <alfresco-discord> <Francesco Corti> indeed and our internal IT won't approve it now

2018-06-03 12:33:39 GMT <alfresco-discord> <Francesco Corti> to test it, we could use another slack channel we own

2018-06-03 12:33:43 GMT <alfresco-discord> <Francesco Corti> do you have one?

2018-06-03 12:34:44 GMT <alfresco-discord> <bhagyas> yeah, when you create a slack account, you get your own channels

2018-06-03 12:35:18 GMT <alfresco-discord> <Francesco Corti> Can you follow the instrctions below?

2018-06-03 12:35:18 GMT <alfresco-discord> <Francesco Corti> Go to https://my.slack.com/services/new/bot Configure the name of the bot Copy-Paste the Token into the conf. section of the source code and save changes. Invite the bot to the desired channel (/invite @my-l33t-bot) Copy the channel name in the conf. section of the source code. If the channel is private, set SLACK_CHANNEL_PRIVATE to true.

2018-06-03 12:35:56 GMT <alfresco-discord> <bhagyas> let me try, I find slack workspaces confusing

2018-06-03 12:36:16 GMT <alfresco-discord> <Francesco Corti> I remember we had an order of the bee clack somewhere

2018-06-03 12:37:14 GMT <alfresco-discord> <bhagyas> πŸ˜‚

2018-06-03 12:38:22 GMT <alfresco-discord> <bhagyas> can we try this tomorrow?

2018-06-03 12:38:28 GMT <alfresco-discord> <bhagyas> im going out in a few mins

2018-06-03 12:38:42 GMT <alfresco-discord> <Francesco Corti> yes, sure... I probably found a place to test it

2018-06-03 12:38:46 GMT <alfresco-discord> <Francesco Corti> enjoy your sunday

2018-06-03 12:39:05 GMT <alfresco-discord> <bhagyas> i created a bot, but i won't be setting up the bridge on local now

2018-06-03 12:39:14 GMT <alfresco-discord> <bhagyas> you too, take care

2018-06-03 12:39:19 GMT <alfresco-discord> <Francesco Corti> πŸ˜ƒ

2018-06-03 12:39:29 GMT <alfresco-discord> <Francesco Corti> πŸŒ…

2018-06-03 12:39:43 GMT <alfresco-discord> <bhagyas> we have looong sun days

2018-06-03 12:39:53 GMT <alfresco-discord> <bhagyas> today probably the sun went up around 3

2018-06-03 12:40:00 GMT <alfresco-discord> <bhagyas> and going down around past 9

2018-06-03 12:40:13 GMT <alfresco-discord> <Francesco Corti> cool... in Italy 6 to 8

2018-06-03 12:40:22 GMT <alfresco-discord> <bhagyas> that's sweet

2018-06-03 12:40:23 GMT <alfresco-discord> <bhagyas> heheheee

2018-06-03 12:40:29 GMT <alfresco-discord> <Francesco Corti> good good

2018-06-03 12:40:36 GMT <alfresco-discord> <Francesco Corti> enjoy the sun

2018-06-03 16:31:14 GMT <alfresco-discord> <Francesco Corti> Ehi @bhagyas the integration with Slack seems to work (I opened a Slack workspace named OrderOfTheBee to test it before going on Alfresco Slack). When I digit something on Slack, the app works but it cannot send the info to the Discord bot. Below the error I get:

2018-06-03 16:31:23 GMT <alfresco-discord> <Francesco Corti> https://cdn.discordapp.com/attachments/451644531323174914/452871933172908033/Screen_Shot_2018-06-03_at_18.29.14.png

2018-06-03 16:32:28 GMT <alfresco-discord> <Francesco Corti> I think the issue is on the connection parameters with the Discord's bot. Below the config I have: '''const DISCORD_TOKEN = 'NDUyNDk0MzQ1ODQxNjcyMTky.DfRNrA.35b1CX66ylSTmLg66IwlpFyK0Pc452494345841672192'; const DISCORD_CHANNELID = '451644531323174914'; const SLACK_TOKEN = 'xoxb-375647904134-374758091586-B2cKNFOmrCEWpY8wVqQC5eSS'; const SLACK_CHANNEL = 'general';

2018-06-03 16:32:28 GMT <alfresco-discord> const SLACK_CHANNEL_PRIVATE = false; '''

2018-06-03 16:32:43 GMT <alfresco-discord> <bhagyas> ouch dont put these in public

2018-06-03 16:32:52 GMT <alfresco-discord> <bhagyas> πŸ™„

2018-06-03 16:33:07 GMT <alfresco-discord> <Francesco Corti> Who cares.... is a test

2018-06-03 16:33:08 GMT <alfresco-discord> <douglascrp> πŸ˜›

2018-06-03 16:33:09 GMT <alfresco-discord> <bhagyas> its gonna be there in chat.alf

2018-06-03 16:33:16 GMT <alfresco-discord> <bhagyas> 😬

2018-06-03 16:33:46 GMT <alfresco-discord> <Francesco Corti> I send you in private but we need to find a fastest way to test it

2018-06-03 16:33:54 GMT <alfresco-discord> <bhagyas> youd have to invite the bot to the slack room

2018-06-03 16:34:03 GMT <alfresco-discord> <bhagyas> the bot is already here on the discord

2018-06-03 16:34:22 GMT <alfresco-discord> <bhagyas> can u delete the secrets on chat.alfresco?

2018-06-03 16:34:44 GMT <alfresco-discord> <Francesco Corti> nope, refresh them

2018-06-03 16:35:03 GMT <alfresco-discord> <Francesco Corti> (and send them to me again)

2018-06-03 16:35:24 GMT <alfresco-discord> <bhagyas> alrighty

2018-06-03 16:36:22 GMT <alfresco-discord> <Francesco Corti> But... the Slack bot should not be invited here but on the Slack channel

2018-06-03 16:36:47 GMT <alfresco-discord> <bhagyas> he has to be here

2018-06-03 16:36:51 GMT <alfresco-discord> <bhagyas> for webhooks

2018-06-03 16:37:47 GMT <alfresco-discord> <bhagyas> alrighty, bot is here now

2018-06-03 16:37:52 GMT <alfresco-discord> <bhagyas> I sent you the secrets

2018-06-03 16:38:13 GMT <alfresco-discord> <bhagyas> he is going to work similar to the much older and wiser IRC bot

2018-06-03 16:38:33 GMT <alfresco-discord> <bhagyas> the bot will be here, but it would transparently attach the messages with webhooks

2018-06-03 16:38:55 GMT <alfresco-discord> <Francesco Corti> There two bots

2018-06-03 16:38:55 GMT <alfresco-discord> <bhagyas> since slack and discord both supports webhooks, i think it would be a more transparent and seamless

2018-06-03 16:38:57 GMT <alfresco-discord> <bhagyas> yeah

2018-06-03 16:39:21 GMT <alfresco-discord> <bhagyas> bots are persons too ;p

2018-06-03 16:39:27 GMT <alfresco-discord> <Francesco Corti> https://github.com/aubguillemette/discord2slack

2018-06-03 16:39:28 GMT <alfbot> Title: GitHub - aubguillemette/discord2slack: Send messages to Slack using Discord and vice versa. (at github.com)

2018-06-03 16:39:31 GMT <alfresco-discord> <Francesco Corti> Here the description

2018-06-03 16:39:48 GMT <alfresco-discord> <Francesco Corti> Let me try with the latest configurations

2018-06-03 16:40:00 GMT <alfresco-discord> <bhagyas> i've done the config on the discord side

2018-06-03 16:40:12 GMT <alfresco-discord> <bhagyas> and sent you all the secrets

2018-06-03 16:40:19 GMT <alfresco-discord> <Francesco Corti> I have done the one on Slack side

2018-06-03 16:40:30 GMT <alfresco-discord> <bhagyas> you have to invite the bot to slack

2018-06-03 16:40:39 GMT <alfresco-discord> <Francesco Corti> already domne

2018-06-03 16:40:57 GMT <alfresco-discord> <bhagyas> then bring the server up

2018-06-03 16:41:06 GMT <alfresco-discord> <bhagyas> then the bot on discord side should come online

2018-06-03 16:41:44 GMT <alfresco-discord> <bhagyas> earlier it came online, which means the bridge was up

2018-06-03 16:41:58 GMT <alfresco-discord> <bhagyas> so the issue would have been on the slack side of things

2018-06-03 16:44:19 GMT <alfresco-discord> <bhagyas> oh boy, Slack asks me to create another account

2018-06-03 16:46:01 GMT <alfresco-discord> <Francesco Corti> Slack bot is correctly connected and it is working

2018-06-03 16:46:18 GMT <alfresco-discord> <Francesco Corti> Same error with the bot here

2018-06-03 16:46:19 GMT <alfresco-discord> <Francesco Corti> damn

2018-06-03 16:46:36 GMT <alfresco-discord> <Francesco Corti> do you have npm on your machine?

2018-06-03 16:46:39 GMT <alfresco-discord> <bhagyas> yeah I do

2018-06-03 16:47:12 GMT <alfresco-discord> <Francesco Corti> try this (then you can delete the project

2018-06-03 16:47:14 GMT <alfresco-discord> <Francesco Corti> git clone https://github.com/aubguillemette/discord2slack.git && cd discord2slack

2018-06-03 16:47:15 GMT <alfbot> Title: GitHub - aubguillemette/discord2slack: Send messages to Slack using Discord and vice versa. (at github.com)

2018-06-03 16:47:22 GMT <alfresco-discord> <bhagyas> yeah, ill have a look at it tomorrow morning

2018-06-03 16:47:26 GMT <alfresco-discord> <Francesco Corti> ok

2018-06-03 16:47:34 GMT <alfresco-discord> <bhagyas> if that's alright

2018-06-03 16:47:38 GMT <alfresco-discord> <Francesco Corti> will send you a message in private with al the config

2018-06-03 16:47:43 GMT <alfresco-discord> <bhagyas> awesome, thanks

2018-06-03 16:47:44 GMT <alfresco-discord> <bhagyas> πŸ˜ƒ

2018-06-03 17:00:53 GMT <alfresco-discord> <alfresco-slack-bot> OrderOfTheBee (fcorti) : test

2018-06-03 17:01:08 GMT <alfresco-discord> <Francesco Corti> Ehi... it's is working

2018-06-03 17:01:12 GMT <alfresco-discord> <bhagyas> yaas

2018-06-03 17:01:25 GMT <alfresco-discord> <Francesco Corti> The documentation of the project is wrong

2018-06-03 17:01:50 GMT <alfresco-discord> <Francesco Corti> The token is the only one to put in the config (no client ID)

2018-06-03 17:02:08 GMT <alfresco-discord> <Francesco Corti> the integration is bidirectional: I can see those messages on Slack too.

2018-06-03 17:02:18 GMT <alfresco-discord> <Francesco Corti> Ok, POC completed!

2018-06-03 17:02:49 GMT <alfresco-discord> <Francesco Corti> This is what I see on Slack

2018-06-03 17:02:53 GMT <alfresco-discord> <bhagyas> nice!

2018-06-03 17:02:56 GMT <alfresco-discord> <Francesco Corti> https://cdn.discordapp.com/attachments/451644531323174914/452879873329987606/Screen_Shot_2018-06-03_at_19.02.37.png

2018-06-03 17:03:12 GMT <alfresco-discord> <bhagyas> ah

2018-06-03 17:03:22 GMT <alfresco-discord> <bhagyas> the irc integration feels much more natural

2018-06-03 17:03:26 GMT <alfresco-discord> <bhagyas> with webhooks

2018-06-03 17:03:43 GMT <alfresco-discord> <Francesco Corti> no, sir... it's exactly the same

2018-06-03 17:04:01 GMT <alfresco-discord> <Francesco Corti> and studying a little bit the solution... discord is mainly for gamers πŸ˜‰

2018-06-03 17:04:23 GMT <alfresco-discord> <Francesco Corti> I'm ok with it...

2018-06-03 17:04:33 GMT <alfresco-discord> <Francesco Corti> if the community like it

2018-06-03 17:05:19 GMT <alfresco-discord> <douglascrp> @Francesco Corti I like it

2018-06-03 17:06:14 GMT <alfresco-discord> <bhagyas> is there an integration that works with webhooks

2018-06-03 17:06:31 GMT <alfresco-discord> <bhagyas> that can do user matching like we have with irc

2018-06-03 17:07:13 GMT <alfresco-discord> <Francesco Corti> I think this is the only integration

2018-06-03 17:07:22 GMT <alfresco-discord> <Francesco Corti> I saw another

2018-06-03 17:07:43 GMT <alfresco-discord> <Francesco Corti> https://zapier.com/apps/discord/integrations/slack

2018-06-03 17:07:51 GMT <alfresco-discord> <Francesco Corti> No more

2018-06-03 17:08:57 GMT <alfresco-discord> <Francesco Corti> But @bhagyas should test it with the Discord credentials. <@215481192214953985> tomorrow I can make you admin of the slack channel

2018-06-03 17:09:15 GMT <alfresco-discord> <bhagyas> yeah okay

2018-06-03 22:21:29 GMT <alfresco-discord> <digcat> hi all, a general question, and any thoughts welcome, with dojo2 coming along, i was wondering if anyone else was interested in whether share could be upgraded to use dojo2, https://dojo.io/ it looks pretty powerful, and potentially extends shares usability, and aikau,

2018-06-03 22:21:30 GMT <alfbot> Title: Dojo (at dojo.io)

2018-06-03 22:22:42 GMT <alfresco-discord> <bhagyas> thinks the time of dojo is gone now, despite there are a ton of powerful business applications are relying on it

2018-06-03 22:23:01 GMT <alfresco-discord> <digcat> i was thinking that too, but then have you looked at dojo2

2018-06-03 22:23:59 GMT <alfresco-discord> <digcat> was wondering an upgrade in share was even viable, or whether its a full rewrite anyway

2018-06-03 22:25:08 GMT <alfresco-discord> <bhagyas> when they were doing early work on it i was reading up

2018-06-03 22:25:24 GMT <alfresco-discord> <bhagyas> dont think so, aikau was more of a poc gone live situation

2018-06-03 22:25:43 GMT <alfresco-discord> <bhagyas> and the only components being the create site and the faceted search

2018-06-03 22:26:12 GMT <alfresco-discord> <digcat> so you think dojo2, isnt any sort of game changer for it

2018-06-03 22:26:39 GMT <alfresco-discord> <bhagyas> for people heavily invested in dojo, yeah

2018-06-03 22:26:43 GMT <alfresco-discord> <bhagyas> otherwise no

2018-06-03 22:27:05 GMT <alfresco-discord> <digcat> are you still prefering react ? or leaning towards angular these days

2018-06-03 22:27:06 GMT <alfresco-discord> <bhagyas> react and angular are far more impactful

2018-06-03 22:27:14 GMT <alfresco-discord> <bhagyas> react all the way

2018-06-03 22:27:18 GMT <alfresco-discord> <bhagyas> πŸ˜„

2018-06-03 22:27:25 GMT <alfresco-discord> <digcat> yep, have been impressed so far with react

2018-06-03 22:27:37 GMT <alfresco-discord> <bhagyas> angular is preferred a lot on the east coast, with financial companies

2018-06-03 22:27:40 GMT <alfresco-discord> <digcat> would be great to have react components for alfresco

2018-06-03 22:27:44 GMT <alfresco-discord> <bhagyas> west coast is all about react

2018-06-03 22:27:54 GMT <alfresco-discord> <bhagyas> according to hacker news

2018-06-03 22:28:09 GMT <alfresco-discord> <digcat> interesting

2018-06-03 22:28:21 GMT <alfresco-discord> <bhagyas> yeah

2018-06-03 22:28:31 GMT <alfresco-discord> <bhagyas> but I dont think there’ll be a need

2018-06-03 22:28:40 GMT <alfresco-discord> <bhagyas> react components take minutes to write

2018-06-03 22:28:43 GMT <alfresco-discord> <bhagyas> unlike angular ones

2018-06-03 22:29:13 GMT <alfresco-discord> <bhagyas> so nobody cares much about sharing their own, also component wiring and routing differs from one project to another

2018-06-03 22:29:27 GMT <alfresco-discord> <digcat> yep, although having a curated list of available would create more standardisation, even just from a naming perspective

2018-06-03 22:29:42 GMT <alfresco-discord> <bhagyas> the only useful library is the js-api

2018-06-03 22:30:24 GMT <alfresco-discord> <bhagyas> in tech evolution standardization is one step before the competition

2018-06-03 22:30:44 GMT <alfresco-discord> <bhagyas> once the competition is on, there’s no need to standardize

2018-06-03 22:31:16 GMT <alfresco-discord> <bhagyas> its like cars or gsm

2018-06-03 22:31:35 GMT <alfresco-discord> <digcat> although in most cases customers want the relationship, and relationships and trust tend to lead the sale

2018-06-03 22:31:45 GMT <alfresco-discord> <bhagyas> when cars first took off on roads, youd need roads to match, wheel distances to match etc

2018-06-03 22:31:50 GMT <alfresco-discord> <digcat> ie customers dont care less about what tech

2018-06-03 22:31:52 GMT <alfresco-discord> <bhagyas> and consortiums form to govern them

2018-06-03 22:32:11 GMT <alfresco-discord> <bhagyas> after a while it all goes to bust when the infra is ready

2018-06-03 22:32:43 GMT <alfresco-discord> <bhagyas> and the innovation kicks in

2018-06-03 22:33:47 GMT <alfresco-discord> <digcat> yes and so to innovate above the offered services, so speed to service is the key, reuse when ever possible to get to the interesting new approaches

2018-06-03 22:33:54 GMT <alfresco-discord> <bhagyas> yeah

2018-06-03 22:34:00 GMT <alfresco-discord> <bhagyas> but its just too easy with react

2018-06-03 22:34:09 GMT <alfresco-discord> <bhagyas> so most components purely focus on styling

2018-06-03 22:34:12 GMT <alfresco-discord> <bhagyas> than functionality

2018-06-03 22:34:21 GMT <alfresco-discord> <bhagyas> cz func wiring is unique per app

2018-06-03 22:34:44 GMT <alfresco-discord> <digcat> yeah, although styling to a point dictated with material design

2018-06-03 22:34:51 GMT <alfresco-discord> <bhagyas> yeah

2018-06-03 22:35:10 GMT <alfresco-discord> <bhagyas> and react material is way faster to use than angular one πŸ˜‚

2018-06-03 22:35:17 GMT <alfresco-discord> <digcat> how easy/hard have you found moving up react versions

2018-06-03 22:35:40 GMT <alfresco-discord> <bhagyas> change the version number and running and npm install

2018-06-03 22:35:43 GMT <alfresco-discord> <bhagyas> an*

2018-06-03 22:36:01 GMT <alfresco-discord> <digcat> so thats easy then πŸ˜ƒ

2018-06-03 22:36:09 GMT <alfresco-discord> <bhagyas> yeap

2018-06-03 22:36:25 GMT <alfresco-discord> <bhagyas> fbs goal is β€˜move fast with stable infra’

2018-06-03 22:36:52 GMT <alfresco-discord> <digcat> yep, so not so much move fast, break often πŸ˜ƒ

2018-06-03 22:36:53 GMT <alfresco-discord> <bhagyas> they updated it one year after β€˜move fast and break things’ didnt work well for them

2018-06-03 22:37:02 GMT <alfresco-discord> <digcat> hehe

2018-06-03 22:37:13 GMT <alfresco-discord> <bhagyas> some uninformed people its still believe its like that

2018-06-03 22:37:35 GMT <alfresco-discord> <digcat> so far so good from my limited experience with it

2018-06-03 22:37:41 GMT <alfresco-discord> <bhagyas> so usually fb philosophy is to provide well tested migration scripts with their libs

2018-06-03 22:37:56 GMT <alfresco-discord> <bhagyas> i was reading up on graphql

2018-06-03 22:38:19 GMT <alfresco-discord> <bhagyas> and they were backwards compatible with four year old application clients

2018-06-03 22:38:33 GMT <alfresco-discord> <bhagyas> while running latest server code

2018-06-03 22:38:39 GMT <alfresco-discord> <bhagyas> that’s super impressive

2018-06-03 22:39:01 GMT <alfresco-discord> <digcat> that is impressive,

2018-06-03 22:39:13 GMT <alfresco-discord> <bhagyas> u shud also work up on redux and redux saga related stuff

2018-06-03 22:39:27 GMT <alfresco-discord> <bhagyas> those make big applications easy

2018-06-03 22:39:34 GMT <alfresco-discord> <bhagyas> πŸ˜ƒ

2018-06-03 22:40:12 GMT <alfresco-discord> <digcat> i saw redux, but redux saga a new one, will read up

2018-06-03 22:40:40 GMT <alfresco-discord> <digcat> are you using graphql in any apps currently, or just playing with it at the mo?

2018-06-03 22:41:16 GMT <alfresco-discord> <bhagyas> playing, going to have some serious work with it hopefully soon

2018-06-03 22:41:38 GMT <alfresco-discord> <bhagyas> btw, gotta sleep now

2018-06-03 22:41:52 GMT <alfresco-discord> <bhagyas> this discord is too easy to keep in touch with the mobile app

2018-06-03 22:41:57 GMT <alfresco-discord> <bhagyas> 😬

2018-06-03 22:42:09 GMT <alfresco-discord> <bhagyas> see you in the morning πŸ˜„

2018-06-03 22:42:27 GMT <alfresco-discord> <digcat> nice to chat, sleep well πŸ˜ƒ

2018-06-03 22:42:34 GMT <alfresco-discord> <bhagyas> ttyl

End of Daily Log

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