~petersanchez

Los Angeles, CA

https://www.petersanchez.com

LA, CA USA - Managua, Nicaragua

~petersanchez/public-inbox

Last active 10 months ago

~petersanchez/blog-discussion

Last active 1 year, 3 months ago
View more

Recent activity

links 0.4.0 5 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 5 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.

Re: [PATCH links] Udating code to use the gobwebs PlaceholderFormat helpers. 5 days ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   23dc01c..5a23dcd  master -> master

Re: [PATCH links] gobwebs and eco system bump 5 days ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   23dc01c..5a23dcd  master -> master

[PATCH links] Udating code to use the gobwebs PlaceholderFormat helpers. 5 days ago

From Peter Sanchez to ~netlandish/links-dev

---
While there are no current plans to support databases other than
PostgreSQL in the future this change will make adding additional 
backend db support easier should we ever need to add that.

 cmd/admin/main.go               |  2 ++
 cmd/api/main.go                 |  6 ++++--
 cmd/domains/main.go             |  2 ++
 cmd/links/main.go               |  2 ++
 cmd/list/main.go                |  2 ++
 cmd/short/main.go               |  2 ++
 cmd/test/helpers.go             |  2 ++
 models/base_url.go              |  8 ++++----
 models/confirmation.go          |  3 +--
[message trimmed]

[PATCH links] gobwebs and eco system bump 5 days ago

From Peter Sanchez to ~netlandish/links-dev

---
 go.mod | 12 ++++++------
 go.sum | 24 ++++++++++++------------
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/go.mod b/go.mod
index e0cbe93..4965f93 100644
--- a/go.mod
+++ b/go.mod
@@ -28,12 +28,12 @@ require (
	golang.org/x/text v0.21.0
	golang.org/x/time v0.8.0
	hg.code.netlandish.com/~netlandish/sendygo v0.0.0-20230124192435-bbf347776232
	netlandish.com/x/gobwebs v0.1.1
[message trimmed]

Re: [PATCH links] Only show tags associated with displayed links on organization pages if they've been filtered in any way (tags, search, etc.) 7 days ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   2a72b5b..23dc01c  master -> master

[PATCH links] Only show tags associated with displayed links on organization pages if they've been filtered in any way (tags, search, etc.) 7 days ago

From Peter Sanchez to ~netlandish/links-dev

Changelog-changed: Only display associated tags with displayed links on
  organization pages when filtering is applied.
---
 core/routes.go | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/core/routes.go b/core/routes.go
index 18fde44..aa0c9f5 100644
--- a/core/routes.go
+++ b/core/routes.go
@@ -2128,13 +2128,14 @@ func (s *Service) OrgLinksList(c echo.Context) error {
		currURL, navFlag, rssURL, followAction, slug string
	)
	org := &models.Organization{}
[message trimmed]

Re: [PATCH links] Updating missing Spanish translations 8 days ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   8eb0e19..2a72b5b  master -> master

[PATCH links] Updating missing Spanish translations 8 days ago

From Peter Sanchez to ~netlandish/links-dev

---
 internal/translations/catalog.go              | 877 +++++++++---------
 .../translations/locales/en/out.gotext.json   |  14 +
 .../locales/es/messages.gotext.json           |  10 +
 .../translations/locales/es/out.gotext.json   |  10 +
 4 files changed, 475 insertions(+), 436 deletions(-)

diff --git a/internal/translations/catalog.go b/internal/translations/catalog.go
index 702a047..eac2bcf 100644
--- a/internal/translations/catalog.go
+++ b/internal/translations/catalog.go
@@ -41,54 +41,54 @@ func init() {
var messageKeyToIndex = map[string]int{
	" you can host your own instance if you'd like full control over your own platform.": 407,
[message trimmed]