Recent activity

Re: Cheogram Android – avoid disclosing local time zone a day ago

From Stephen Paul Weber to ~singpolyma/dev

>Is there any way to avoid disclosing the local time zone in Cheogram
>Android? If not, then could you please implement this feature?
>
>Being able to hide the exact version of the client would be nice too.
>Both are visible in e.g. Gajim.

I believe these details are only visible to contacts whom you have permitted 
to see your presence information (including online status, local time, etc).

Re: [PATCH jmp-schemas v2] Add schema for tel_inventory #320 2 months ago

From Stephen Paul Weber to ~singpolyma/dev

>+CREATE TABLE tel_inventory (
>+       tel                TEXT       PRIMARY KEY,
>
>+CREATE INDEX ON tel_inventory (tel, locality, region, available_after);

So, this creates one index over all of those columns.  We're unlikely to be 
using these columns together in a single query.  tel is already indexed 
becaue it is primary key.  so maybe a (locality, avaialble_after) index and 
a second (region, available_after) index?

Re: [Singpolyma-Dev] [PATCH] Add schema for tel_inventory #320 2 months ago

From Stephen Paul Weber to ~singpolyma/dev

>+CREATE TABLE tel_inventory (
>+       tel                TEXT       NOT  NULL,

I think tel would make a great candidate for PRIMARY KEY

>+       locality           TEXT       NOT  NULL,
>+       region             TEXT       NOT  NULL,

I think we will want an index on both of these since we plan to do searches 
by them.

>+       available_after    TIMESTAMP  NOT  NULL   DEFAULT  NOW(),

And an index here too I expect since we'll

Re: AuthorEmail on fdroid metadata 3 months ago

From Stephen Paul Weber to ~singpolyma/dev

Yes, listing dev@singpolyma.net as author is fine, it was probably already 
listed for bug reporting anyway.

Somebody claiming to be జిందం వాఐి wrote:
>registered with jindam, dont
>have permission to create
>tickets, hence_
>
>* **without your explicit
>  consent** AuthorEmail
>  ```dev@singpolyma.net``` from
>  https://git.singpolyma.net/cheogram-android
>  was updated by me in [fdroid
>  metadata](https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/com.cheogram.android.yml)

Re: cheogram crash on startup 4 months ago

From Stephen Paul Weber to ~singpolyma/dev

>I've been using this app for ages, and suddenly it started crashing on
>startup. I'm using the latest fdroid release.
>
>07-25 14:33:38.070 21256 21298 D cheogram: updated dynamic shortcuts
>07-25 14:33:38.086 21256 21256 D AndroidRuntime: Shutting down VM
>07-25 14:33:38.086 21256 21256 E AndroidRuntime: FATAL EXCEPTION: main
>07-25 14:33:38.086 21256 21256 E AndroidRuntime: Process: com.cheogram.android, PID: 21256
>07-25 14:33:38.086 21256 21256 E AndroidRuntime: 
>java.lang.IndexOutOfBoundsException: setSpan (0 ... -1) has end before 
>start

I think I have a patch that will solve this issue, but I cannot easily 
reproduce it myself.  If you're on the fdroid release it means you will need 
to uninstall if you want to try with my build.  You can preserve you data by

[PATCH jmp-pay] Handle multiple DKIM headers 4 months ago

From Stephen Paul Weber to ~singpolyma/dev

---
 lib/interac_email.rb       |  8 ++--
 test/test_interac_email.rb | 75 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+), 4 deletions(-)
 create mode 100644 test/test_interac_email.rb

diff --git a/lib/interac_email.rb b/lib/interac_email.rb
index b12b045..233aa44 100644
--- a/lib/interac_email.rb
+++ b/lib/interac_email.rb
@@ -119,17 +119,17 @@ class InteracEmail
		end

		def authentication_header
[message trimmed]

[PATCH sgx-jmp 5/5] Cronjob to auto top up and renew and warn about data plan SIMs 5 months ago

From Stephen Paul Weber to ~singpolyma/dev

---
 bin/sim_job | 253 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 253 insertions(+)
 create mode 100755 bin/sim_job

diff --git a/bin/sim_job b/bin/sim_job
new file mode 100755
index 0000000..5adff1a
--- /dev/null
@@ -0,0 +1,253 @@
#!/usr/bin/ruby
# frozen_string_literal: true

[message trimmed]

[PATCH sgx-jmp 4/5] Get list of all SIMs from Keepgo 5 months ago

From Stephen Paul Weber to ~singpolyma/dev

This loads the whole list into memory for now, should be good until we get to
tens of thousands of SIMs.
---
 lib/sim.rb      |  2 +-
 lib/sim_repo.rb | 17 +++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/lib/sim.rb b/lib/sim.rb
index 7318d2f..e5e6816 100644
--- a/lib/sim.rb
+++ b/lib/sim.rb
@@ -5,7 +5,7 @@ require "value_semantics/monkey_patched"
class SIM
	value_semantics do
[message trimmed]

[PATCH sgx-jmp 3/5] Factor out identical part of keepgo requests 5 months ago

From Stephen Paul Weber to ~singpolyma/dev

---
 lib/sim_repo.rb | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/lib/sim_repo.rb b/lib/sim_repo.rb
index d5519e5..b9cd3f4 100644
--- a/lib/sim_repo.rb
+++ b/lib/sim_repo.rb
@@ -17,10 +17,7 @@ class SIMRepo
	}.freeze

	def find(iccid)
		EM::HttpRequest.new(
			"https://myaccount.keepgo.com/api/v2/line/#{iccid}/get_details",
[message trimmed]