Recent activity

[PATCH cheogram-android] Tag navigation UI 4 days ago

From Stephen Paul Weber to ~singpolyma/dev

Show horizontal list of tags available in current search results below the
search box, acts sort of like an autocomplete or you can just tap on it, making
tag naviation easier so you don't have to find something that matches that tag
or type it out to use it.
---
 .../conversations/entities/Bookmark.java      | 18 +++-
 .../siacs/conversations/entities/Contact.java |  8 +-
 .../conversations/entities/ListItem.java      | 15 ++++
 .../ui/StartConversationActivity.java         | 87 +++++++++++++++++++
 src/main/res/layout/actionview_search.xml     |  8 +-
 5 files changed, 127 insertions(+), 9 deletions(-)

diff --git a/src/main/java/eu/siacs/conversations/entities/Bookmark.java b/src/main/java/eu/siacs/conversations/entities/Bookmark.java
index 6ab62f6ea..c9e39bafb 100644
[message trimmed]

Re: [PATCH sgx-jmp] Actually handle outbound attempt from unknown customer 4 days ago

From Stephen Paul Weber to ~singpolyma/dev

Somebody claiming to be Christopher Vollick wrote:
>On 2022-09-20 15:04, Stephen Paul Weber wrote:
>>diff --git a/web.rb b/web.rb
>>index d79a182..958980f 100644
>>--- a/web.rb
>>+++ b/web.rb
>>@@ -378,7 +378,9 @@ class Web < Roda
>>  							call_attempt_repo.starting_call(c, params["callId"])
>>  							render(*ca.to_render)
>>  						end
>>-					end
>>+					}.catch_only(CustomerRepo::NotFound) {
>>+						render "outbound/no_customer"
>>+					}

[PATCH sgx-jmp] Fix rendering info when there is no plan 4 days ago

From Stephen Paul Weber to ~singpolyma/dev

---
 forms/customer_info_partial.rb |  6 ------
 forms/plan_info.rb             | 10 +++++++--
 lib/customer_info.rb           | 37 +++++++++++++++++-----------------
 test/test_customer_info.rb     | 17 +++++-----------
 4 files changed, 31 insertions(+), 39 deletions(-)

diff --git a/forms/customer_info_partial.rb b/forms/customer_info_partial.rb
index 44a0d36..51d51b4 100644
--- a/forms/customer_info_partial.rb
+++ b/forms/customer_info_partial.rb
@@ -26,10 +26,4 @@ field(
	value: "$%.4f" % @info.balance
)
[message trimmed]

[PATCH sgx-jmp] Render useful message when trying to leave voicemail for no customer 5 days ago

From Stephen Paul Weber to ~singpolyma/dev

---
 test/test_web.rb               | 23 +++++++++++++++++++++++
 views/inbound/no_customer.slim |  3 +++
 web.rb                         |  2 ++
 3 files changed, 28 insertions(+)
 create mode 100644 views/inbound/no_customer.slim

diff --git a/test/test_web.rb b/test/test_web.rb
index 3cfe828..dc79046 100644
--- a/test/test_web.rb
+++ b/test/test_web.rb
@@ -558,4 +558,27 @@ class WebTest < Minitest::Test
		assert_mock Customer::BLATHER
	end
[message trimmed]

[PATCH sgx-jmp] Actually handle outbound attempt from unknown customer 5 days ago

From Stephen Paul Weber to ~singpolyma/dev

---
 test/test_web.rb | 21 +++++++++++++++++++++
 web.rb           |  6 ++++--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/test/test_web.rb b/test/test_web.rb
index 3cfe828..b1a5b1f 100644
--- a/test/test_web.rb
+++ b/test/test_web.rb
@@ -265,6 +265,27 @@ class WebTest < Minitest::Test
	end
	em :test_outbound_atlimit

	def test_outbound_no_customer
[message trimmed]

[PATCH sgx-jmp] Skip asking backend about registration when we know the tel already 5 days ago

From Stephen Paul Weber to ~singpolyma/dev

This is an optimization.  If we are looking up by tel already, then we don't
need to ask the backend sgx if they have a tel or what it is, we know that, so
just use that information directly and save us a call.
---
 lib/bwmsgsv2_repo.rb            | 18 +++++++------
 lib/customer_repo.rb            | 14 +++++-----
 lib/trivial_backend_sgx_repo.rb | 13 +++++++--
 test/test_web.rb                | 47 +++++++++++++++++++++++++++++++--
 4 files changed, 73 insertions(+), 19 deletions(-)

diff --git a/lib/bwmsgsv2_repo.rb b/lib/bwmsgsv2_repo.rb
index d238abb..846a7d4 100644
--- a/lib/bwmsgsv2_repo.rb
+++ b/lib/bwmsgsv2_repo.rb
[message trimmed]

[PATCH cheogram-android] Allow auto completion from any host in the providers list 6 days ago

From Stephen Paul Weber to ~singpolyma/dev

---
 .../siacs/conversations/services/XmppConnectionService.java   | 2 +-
 update-known-hosts                                            | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
 create mode 100755 update-known-hosts

diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
index b2aa59129..41a304a4b 100644
--- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java
@@ -4371,7 +4371,7 @@ public class XmppConnectionService extends Service {
    }

    public Collection<String> getKnownHosts() {
[message trimmed]

[PATCH cheogram-android] Do not hide the command UI during an active session 6 days ago

From Stephen Paul Weber to ~singpolyma/dev

Can happen if we re-detect that the contact does not support command UI (or that
we don't know it does due to not being in roster / getting removed from roster)
but the session was opened using an in-message button or similar.
---
 src/main/java/eu/siacs/conversations/entities/Conversation.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/eu/siacs/conversations/entities/Conversation.java b/src/main/java/eu/siacs/conversations/entities/Conversation.java
index 2d6046065..ece1abde3 100644
--- a/src/main/java/eu/siacs/conversations/entities/Conversation.java
+++ b/src/main/java/eu/siacs/conversations/entities/Conversation.java
@@ -1253,6 +1253,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
        }

[message trimmed]

[PATCH jmp-pay v3 4/4] Allow bypassing antifraud for a customer 6 days ago

From Stephen Paul Weber to ~singpolyma/dev

Support will need this
---
 config.ru | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config.ru b/config.ru
index dee3006..2fdb5e2 100644
--- a/config.ru
+++ b/config.ru
@@ -117,6 +117,8 @@ class CreditCardGateway
	end

	def antifraud
		return if REDIS.exists?("jmp_antifraud_bypass-#{customer_id}")
[message trimmed]

[PATCH jmp-pay v3 3/4] Block repeated failed attempts to verify cards 6 days ago

From Stephen Paul Weber to ~singpolyma/dev

Declined verifications are ultimately a kind of declined transaction, and still
reflect poorly on us.
---
 config.ru               | 55 ++++++++++++++++++++++++++++++++---------
 views/credit_cards.slim | 10 ++++++++
 2 files changed, 54 insertions(+), 11 deletions(-)

diff --git a/config.ru b/config.ru
index 6e2cbb2..dee3006 100644
--- a/config.ru
+++ b/config.ru
@@ -48,9 +48,10 @@ class CreditCardGateway
		end
	end
[message trimmed]