~delthas

~delthas/senpai-dev

Last active 3 days ago
View more

Recent activity

[PATCH avpn-extract v2] Fix coordinates order for maps.google links 4 days ago

From delthas to ~emersion/public-inbox

GeoJSON uses [lng, lat] order. Coincidentally this worked for
/maps/embed links because the extraction was inverted too.

This fixes maps.google links POIs being shown in the wrong location.
---
 main.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/main.go b/main.go
index 3666174..8f6e1e2 100644
--- a/main.go
+++ b/main.go
@@ -111,9 +111,9 @@ func fetchMember(pageURL string) (*geojsonFeature, error) {
		if len(l) <= 6 {
[message trimmed]

[PATCH avpn-extract] Fix coordinates order for maps.google links 4 days ago

From delthas to ~emersion/public-inbox

GeoJSON uses [lng, lat] order. Coincidentally this worked for
/maps/embed links because the extraction was inverted too.

This fixes maps.google links POIs being shown in the wrong location.
---
 main.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main.go b/main.go
index 3666174..baff113 100644
--- a/main.go
+++ b/main.go
@@ -111,8 +111,8 @@ func fetchMember(pageURL string) (*geojsonFeature, error) {
		if len(l) <= 6 {
[message trimmed]

[PATCH] page/buffer: Make whole AppBar title area clickable 23 days ago

From delthas to ~emersion/goguma-dev

To achieve this we need to make the AppBar title child take all the
available space.

The width constraint AppBar gives to its title child is a max size based
on the available space in its row. We can simply use an Align to fill
that space.

For some reason the height constrint AppBar gives to its title child is
infinite (unbounded) but eventually cropped to its height. So we can't
use Align. Here we simply use a SizedBox to fill the available height
with the toolbar height, which we get from the theme.
---
 lib/page/buffer.dart | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)
[message trimmed]

[PATCH v2] Support typing indicators 25 days ago

From delthas to ~emersion/goguma-dev

The feature is optional & disabled by default.

+typing=paused is not supported in this implementation.
---
Updated based on your comments.
The typing indicator in the subtitle mirrors Whatsapp's behavior and is 
easier to implement than some text at the bottom of the screen.

 lib/client_controller.dart | 10 ++++++++-
 lib/models.dart            | 21 +++++++++++++++++++
 lib/page/buffer.dart       | 42 ++++++++++++++++++++++++++++++++++++++
 lib/page/settings.dart     | 15 ++++++++++++++
 4 files changed, 87 insertions(+), 1 deletion(-)
[message trimmed]

Re: [PATCH v1 2/2] make install an independant task in Makefile 29 days ago

From delthas to ~delthas/senpai-dev

Pushed, thanks!

To git.sr.ht:~taiite/senpai
    f963090..917f754  master -> master

[PATCH gamja] Support +channel-context 29 days ago

From delthas to ~emersion/public-inbox

See: https://github.com/ircv3/ircv3-specifications/pull/498
---
 components/app.js | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/components/app.js b/components/app.js
index 9b650ec..07ad17c 100644
--- a/components/app.js
+++ b/components/app.js
@@ -709,7 +709,12 @@ export default class App extends Component {
				if (client.cm(msg.prefix.name) === client.cm(client.serverPrefix.name)) {
					target = SERVER_BUFFER;
				} else {
					target = msg.prefix.name;
[message trimmed]

[PATCH] Support typing indicators 29 days ago

From delthas to ~emersion/goguma-dev

The feature is optional & disabled by default.

+typing=paused is not supported in this implementation.
---
 lib/client_controller.dart | 10 +++++++++-
 lib/models.dart            | 39 ++++++++++++++++++++++++++++++++++++++
 lib/page/buffer.dart       | 25 ++++++++++++++++++++++++
 lib/page/settings.dart     | 15 +++++++++++++++
 4 files changed, 88 insertions(+), 1 deletion(-)

diff --git a/lib/client_controller.dart b/lib/client_controller.dart
index 1497a60..05f1f77 100644
--- a/lib/client_controller.dart
+++ b/lib/client_controller.dart
[message trimmed]

[PATCH] Make building against Firebase optional 30 days ago

From delthas to ~emersion/goguma-dev

Also fixes a bug where the background firebase message handler would
fail because shared_preferences would not be properly initialized.
---
The huge diff is mainly just moving one file to another.
Whitespace differs so Git failed to pick this up.

 README.md                      |   6 +
 lib/client_controller.dart     |   7 +-
 lib/firebase.dart              | 190 +++----------------------------
 lib/firebase_impl.dart         | 197 +++++++++++++++++++++++++++++++++
 lib/main.dart                  |  10 +-
 lib/main_firebase.dart         |   8 ++
 pubspec.lock                   |   2 +-
 pubspec.yaml                   |   1 +
[message trimmed]

[PATCH] Fix webpush response code handling 30 days ago

From delthas to ~emersion/soju-dev

---
 go.mod    | 2 +-
 server.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/go.mod b/go.mod
index c4a9bc2..4185f1c 100644
--- a/go.mod
+++ b/go.mod
@@ -5,7 +5,7 @@ go 1.15
require (
	git.sr.ht/~emersion/go-scfg v0.0.0-20211215104734-c2c7a15d6c99
	git.sr.ht/~sircmpwn/go-bare v0.0.0-20210406120253-ab86bc2846d9
	github.com/SherClockHolmes/webpush-go v1.2.0 // indirect
[message trimmed]