~petersanchez

Los Angeles, CA

https://www.petersanchez.com

LA, CA USA - Managua, Nicaragua

~petersanchez/public-inbox

Last active 11 months ago

~petersanchez/blog-discussion

Last active 1 year, 3 months ago
View more

Recent activity

Re: [PATCH links] gobwebs bump. a day ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   b62f9d1..bb93700  master -> master

[PATCH links] gobwebs bump. a day ago

From Peter Sanchez to ~netlandish/links-dev

Fixes an issue where email subject headers are including new line
characters which breaks RFC and some email clients display. It was an
issue in gobwebs template helpers for email.

Changelog-fixed: Issue with encoding email subject lines when pulled
  from a template file.
---
 go.mod | 12 ++++++------
 go.sum | 24 ++++++++++++------------
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/go.mod b/go.mod
index 4965f93..37c0e68 100644
--- a/go.mod
[message trimmed]

Re: [PATCH links] Update how base_url counter is updated. This is a more accurate way of dealing with this. 7 days ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   1fba6eb..b62f9d1  master -> master

[PATCH links] Update how base_url counter is updated. This is a more accurate way of dealing with this. 7 days ago

From Peter Sanchez to ~netlandish/links-dev

Also always update base_url counter when calling `updateLink` mutation.
Found an edge case where counters were higher than they should be.

Changelog-Changed: How `BaseURL.UpdateCounter` works. Now uses a subselect
  to set proper count
Changelog-Changed: Now will alwyas call `UpdateCounter` when calling the
  `updateLink` mutation. This addresses a small counter bug / edge case.
---
 api/graph/schema.resolvers.go | 61 ++++++++++++++++++-----------------
 models/base_url.go            | 21 ++++++------
 2 files changed, 42 insertions(+), 40 deletions(-)

diff --git a/api/graph/schema.resolvers.go b/api/graph/schema.resolvers.go
index 18a5734..8bd3f3d 100644
[message trimmed]

Re: [PATCH links] Fixing the formatting on bookmark saved listing page when the link description is too small. 20 days ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   8ca5b42..1fba6eb  master -> master

[PATCH links] Fixing the formatting on bookmark saved listing page when the link description is too small. 20 days ago

From Peter Sanchez to ~netlandish/links-dev

Fixes: https://todo.code.netlandish.com/~netlandish/links/111
Changelog-fixed: URL jumping up with description when description is too
  short. Happens on saved bookmark listing pages.
---
 templates/link_list.html | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/templates/link_list.html b/templates/link_list.html
index 10166ed..de514ae 100644
--- a/templates/link_list.html
+++ b/templates/link_list.html
@@ -84,11 +84,13 @@
    <div class="button outline primary tag tag-popular is-small">{{ .pCount }}</div>
    </h3>
[message trimmed]

Re: [PATCH links] Remove ordering on non bookmark listing pages 20 days ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   c1a4b74..8ca5b42  master -> master

[PATCH links] Remove ordering on non bookmark listing pages 20 days ago

From Peter Sanchez to ~netlandish/links-dev

Changelog-fixed: No longer showing empty ordering options on pages that
  don't support it.
---
 templates/link_list.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/templates/link_list.html b/templates/link_list.html
index e9c053c..10166ed 100644
--- a/templates/link_list.html
+++ b/templates/link_list.html
@@ -227,6 +227,7 @@
  {{end}}
      </div> {{- /* col-9 */ -}}
      <div class="col-3"> {{- /* right side bar */ -}}
[message trimmed]

links 0.4.0 26 days ago

From Peter Sanchez to ~netlandish/links-dev

Hi all,

I am happy to announce the release of links 0.4.0.

https://git.code.netlandish.com/~netlandish/links/refs/0.4.0

Release highlights:

# Added

- Tag clouds to recent, popular, feed, and organization bookmark pages.
- Save count is displayed on all relevant listing pages.
- New page to view all users/orgs who bookmarked a specific link.
- Some missing Spanish translations.

links 0.4.0 26 days ago

From Peter Sanchez to ~netlandish/links-discuss

Hi all,

I am happy to announce the release of links 0.4.0.

https://git.code.netlandish.com/~netlandish/links/refs/0.4.0

Release highlights:

# Added

- Tag clouds to recent, popular, feed, and organization bookmark pages.
- Save count is displayed on all relevant listing pages.
- New page to view all users/orgs who bookmarked a specific link.
- Some missing Spanish translations.