jdev - 2021-02-10

  1. xecks has left

  2. debacle has left

  3. Vaulor has left

  4. stpeter has left

  5. fade123 has left

  6. SouL has joined

  7. floretta has left

  8. waqas has joined

  9. waqas has left

  10. stpeter has joined

  11. Zash has left

  12. Zash has joined

  13. floretta has joined

  14. stpeter has left

  15. o2 has joined

  16. paul has joined

  17. Yagizа has joined

  18. o2 has left

  19. fade123 has joined

  20. serge90 has left

  21. Vaulor has joined

  22. Stefan has left

  23. serge90 has joined

  24. Stefan has joined

  25. Stefan has left

  26. Stefan has joined

  27. Stefan has left

  28. Stefan has joined

  29. Stefan has left

  30. Stefan has joined

  31. Stefan has left

  32. Stefan has joined

  33. asterix has left

  34. asterix has joined

  35. Stefan has left

  36. Stefan has joined

  37. Stefan has left

  38. Stefan has joined

  39. mikeye has joined

  40. Stefan has left

  41. Stefan has joined

  42. paul has left

  43. wurstsalat has joined

  44. mikeye has left

  45. Alex has left

  46. Martin has left

  47. Martin has joined

  48. paul has joined

  49. goffi has joined

  50. marmistrz has joined

  51. serge90 has left

  52. asterix has left

  53. asterix has joined

  54. asterix has left

  55. asterix has joined

  56. Alex has joined

  57. serge90 has joined

  58. fade123 has left

  59. mikeye has joined

  60. COM8 has left

  61. asterix has left

  62. asterix has joined

  63. xecks has joined

  64. floretta has left

  65. asterix has left

  66. asterix has joined

  67. Alex has left

  68. asterix has left

  69. asterix has joined

  70. Alex has joined

  71. fade123 has joined

  72. belong has left

  73. belong has joined

  74. belong has left

  75. belong has joined

  76. mikeye has left

  77. marmistrz has left

  78. SouL has left

  79. SouL has joined

  80. marmistrz has joined

  81. asterix has left

  82. asterix has joined

  83. asterix has left

  84. asterix has joined

  85. mikeye has joined

  86. Guus has joined

  87. Guus has left

  88. Wojtek has joined

  89. serge90 has left

  90. mikeye has left

  91. mac has joined

  92. mikeye has joined

  93. floretta has joined

  94. adityaborikar has left

  95. adityaborikar has joined

  96. floretta has left

  97. junaid has left

  98. asterix has left

  99. asterix has joined

  100. mikeye has left

  101. marmistrz has left

  102. mac has left

  103. mac has joined

  104. asterix has left

  105. asterix has joined

  106. asterix has left

  107. asterix has joined

  108. asterix has left

  109. asterix has joined

  110. COM8 has joined

  111. serge90 has joined

  112. oibalos has joined

  113. mac has left

  114. debacle has joined

  115. adityaborikar has left

  116. adityaborikar has joined

  117. fade123 has left

  118. asterix has left

  119. asterix has joined

  120. floretta has joined

  121. stpeter has joined

  122. COM8 has left

  123. asterix has left

  124. asterix has joined

  125. asterix has left

  126. asterix has joined

  127. Neustradamus has left

  128. Neustradamus has joined

  129. marmistrz has joined

  130. SJM

    Anyone have any feedback on the following: MPLK - Movim, prosody, LDAP and Keycloak https://github.com/OpusVL/prosody-bundle MELK - Movim, ejabberd, LDAP and Keycloak https://github.com/OpusVL/ejabberd-bundle

  131. marmistrz has left

  132. Zash

    What is it?

  133. SJM

    docker package to deploy XMPP node

  134. SJM

    one for ejabberd, the other for Prosidy

  135. SJM

    not sure whcih way we will go yet

  136. asterix has left

  137. asterix has joined

  138. SJM

    and others might be interested in this. It can connect up with exsiitng auth systems such as Active Dir / SAML etc

  139. Zash

    Looks like it's 7 hours old, so never seen before

  140. SJM

    or use the buit-in LDAP

  141. SJM

    yes - hot off the press

  142. Zash

    I'll try to take a look at the prosody stuff later

  143. jonas’

    SJM, general feedback on the dockerfiles (at least https://github.com/OpusVL/prosody-bundle/blob/main/build/prosody/Dockerfile): You’re keeping a lot of unnecessary stuff in the images (build-essential etc.), removing that may be worthwhile for reducing image size and attack surface

  144. SJM

    Thanks ‎jonas’‎

  145. jonas’

    SJM, https://github.com/OpusVL/prosody-bundle/blob/main/prosody/etc/prosody.cfg.template.lua you are using a jinja2 template here. Note that you can execute arbitrary lua code in the prosody config. Stuff like reading environment variables is best done using that (you can access environment variables by prefixing them with `ENV_`) to avoid issues with quoting.

  146. jonas’

    SJM, Is there a specific reason why you chose postgres?

  147. jonas’

    SJM, Is there a specific reason why you chose postgres/SQL instead of the internal storage modules?

  148. SJM

    Replication - I have asked Paul to join this channel - he is closer to this (I had not expected instant engagement - is appreciated!)

  149. SJM

    He will join when finished a call

  150. jonas’

    what do you need replication for?

  151. jonas’

    prosody does not support replicated setups, even if the storage is replicated

  152. SJM

    ok - Paul will have a better answer when he joins

  153. jonas’

    (also general remark: using the prosody logo in such size on the top of a readme of a project which is not directly associated with prosody is risky from a trademark law point of view, as far as I know. IANAL)

  154. SJM

    good point

  155. jonas’

    what’s the difference between https://github.com/OpusVL/prosody-bundle/blob/main/prosody/etc/xmpp-ldap-roster.py and https://github.com/OpusVL/prosody-bundle/blob/main/prosody/etc/ldap-roster.template.py?

  156. jonas’

    are both needed?

  157. jonas’

    for the roster update you’re restarting prosody, which disrupts all connections (non-resumable, so clients will have to start from scratch). Every hour. That sounds suboptimal.

  158. jonas’

    you might want to run shellcheck (https://github.com/koalaman/shellcheck) on all your shell scripts

  159. SJM

    ok - so he can't seem to join as Gajim crashed when he presed the join link....

  160. jonas’

    SJM, this would be a workaround: https://xmpp.org/chat#converse/room?jid=jdev@muc.xmpp.org

  161. Paul B has joined

  162. Paul B


  163. jonas’

    hi Paul B :)

  164. Paul B


  165. Paul B

    interesting about the lua env_. I used the tools I understand, lua != one of them.

  166. Zash

    `ENV_` isn't a Lua thing, it's a Prosody config file thing

  167. Paul B

    we tend to go with postgres as a base for all data backends where we can. fits in with our backup processes, but isn't essential.

  168. Paul B

    the main focus of the project(s) was to provide an authentication platform that could be registered against, offer wide support and be expanded upon. Hence LDAP for the auth db and keycloak for the registration.

  169. Paul B

    Thanks zash that's good to know. Will look at moving away from jinja for that

  170. jonas’

    Paul B, here’s an example which makes rather extensive use of `ENV_`: https://github.com/snikket-im/snikket-server/blob/master/ansible/files/prosody.cfg.lua

  171. Paul B

    Thanks, also thumbs up for shellcheck. Much better linter than I was using.

  172. jonas’

    Paul B, you’re welcome :)

  173. Paul B_ has joined

  174. Paul B has left

  175. Paul B_

    as for the build-essential dockerfile bloat, you are right. I do need to get it to a staged build and tear out the unecessary stuff.

  176. Wojtek has left

  177. fade123 has joined

  178. marmistrz has joined

  179. alacer has joined

  180. alacer has left

  181. asterix has left

  182. asterix has joined

  183. o2 has joined

  184. paul has left

  185. paul has joined

  186. stpeter has left

  187. Yagizа has left

  188. kikuchiyo has left

  189. kikuchiyo has joined

  190. alacer has joined

  191. alacer has left

  192. alacer has joined

  193. stpeter has joined

  194. stpeter has left

  195. o2 has left

  196. marmistrz has left

  197. stpeter has joined

  198. stpeter has left

  199. stpeter has joined

  200. Stefan has left

  201. asterix has left

  202. asterix has joined

  203. debacle has left

  204. paul has left

  205. paul has joined

  206. belong has left

  207. belong has joined

  208. goffi has left

  209. pasdesushi has joined

  210. pasdesushi has left

  211. pasdesushi has joined

  212. waqas has joined

  213. pasdesushi has left

  214. waqas has left

  215. pasdesushi has joined

  216. wurstsalat has left

  217. asterix has left

  218. pasdesushi has left

  219. asterix has joined

  220. stpeter has left

  221. mikeye has joined

  222. pasdesushi has joined

  223. pasdesushi has left

  224. pasdesushi has joined

  225. pasdesushi has left

  226. stpeter has joined

  227. pasdesushi has joined

  228. pasdesushi has left

  229. pasdesushi has joined