[prosody-dev] [PATCH v2] Prosody modules: mod_auth_sql: Support for setting SQL queries from the configuration file

2018-01-30 Thread senya
This patch adds configuration options `password_sql_query` and `usernames_sql_query` which can be used for setting arbitrary SQL query to retrieve users list or password instead of the hard coded values. The new configuration options are expected to be string with an SQL query. The options support

[prosody-dev] [PATCH] prosody-modules: mod_auth_custom_http: Fix json.encode impoper reference

2018-02-01 Thread senya
groups.com. Visit this group at https://groups.google.com/group/prosody-dev. For more options, visit https://groups.google.com/d/optout. # HG changeset patch # User Senya <se...@kinetiksoft.com> # Date 1517429727 -7200 # Wed Jan 31 22:15:27 2018 +0200 # Node ID 759b6d0349bee764b847a068

[prosody-dev] [PATCH] prosody-modules: mod_auth_custom_http: set content type header and support HTTPS

2018-02-06 Thread senya
Here is a change set which consists of two patches for mod_auth_custom_http. The first one sets "Content-Type" header of the request to "application/json". Before, while json was sent as a request body, the content type was web form. Some web frameworks need to implement hackish solutions to

[prosody-dev] [PATCH] mod_muc_eventsource: room JIDs are lowercase

2018-02-23 Thread senya
isit https://groups.google.com/d/optout. # HG changeset patch # User Senya <se...@kinetiksoft.com> # Date 1519412008 -7200 # Fri Feb 23 20:53:28 2018 +0200 # Node ID 87d359690912ff633fec19cde5c7ae53f86e39e5 # Parent 5ba6fc4c7791fd8f642b56107daa4eb9582fd4f6 mod_muc_eventsource: room JIDs are

[prosody-dev] [PATCH] mod_muc_eventsource: history push support

2018-02-20 Thread senya
tout. # HG changeset patch # User Senya <se...@kinetiksoft.com> # Date 1519155241 -7200 # Tue Feb 20 21:34:01 2018 +0200 # Node ID 5ba6fc4c7791fd8f642b56107daa4eb9582fd4f6 # Parent 7c16afc70d11f3bb2a0999da261f912519b2f72b mod_muc_eventsource: history push support diff -r 7c16afc70d11

[prosody-dev] [PATCH v2] mod_muc_eventsource: history push support

2018-04-02 Thread senya
v+unsubscr...@googlegroups.com. To post to this group, send email to prosody-dev@googlegroups.com. Visit this group at https://groups.google.com/group/prosody-dev. For more options, visit https://groups.google.com/d/optout. # HG changeset patch # User Senya <se...@kinetiksoft.com> # Date 1

[prosody-dev] [PATCH v2] mod_muc_eventsource: validate node with nodeprep

2018-02-26 Thread senya
This patch validates room name which was received via eventsource HTTP request using nodeprep. If the received node is not correct XMPP address it replies '400'. -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and

[prosody-dev] [PATCH v2] mod_muc_eventsource: validate node with nodeprep

2018-02-26 Thread senya
isit https://groups.google.com/d/optout. # HG changeset patch # User Senya <se...@kinetiksoft.com> # Date 1519412008 -7200 # Fri Feb 23 20:53:28 2018 +0200 # Node ID d8056f80db4d97de6c58d358a646c194a0c0ca80 # Parent 5ba6fc4c7791fd8f642b56107daa4eb9582fd4f6 mod_muc_eventsource: validate node with n