~petersanchez

Los Angeles, CA

https://www.petersanchez.com

LA, CA USA - Managua, Nicaragua

~petersanchez/public-inbox

Last active 8 months ago

~petersanchez/blog-discussion

Last active 1 year, 14 days ago
View more

Recent activity

links 0.1.4 9 hours ago

From Peter Sanchez to ~netlandish/links-discuss

Hi all,

I am happy to announce the release of links 0.1.4.

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

If anyone is running this and wants to remove the existing sanitization 
on the scraped URL metadata you can compile and run the following 
script:

https://paste.sr.ht/~petersanchez/95f653a54e7ad896472e26950bd88446cda974e1

Just make a `cmd/cleanup` directory and place that file in there. Then 
compile and run it:

links 0.1.4 9 hours ago

From Peter Sanchez to ~netlandish/links-dev

Hi all,

I am happy to announce the release of links 0.1.4.

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

If anyone is running this and wants to remove the existing sanitization 
on the scraped URL metadata you can compile and run the following 
script:

https://paste.sr.ht/~petersanchez/95f653a54e7ad896472e26950bd88446cda974e1

Just make a `cmd/cleanup` directory and place that file in there. Then 
compile and run it:

Re: [PATCH links] Strip html tags instead of escaping all input. Fix escaping when displaying sanitized data on feed / list pages. 9 hours ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   b001fb8..f40c514  master -> master

[PATCH links] Strip html tags instead of escaping all input. Fix escaping when displaying sanitized data on feed / list pages. 9 hours ago

From Peter Sanchez to ~netlandish/links-dev

Implements: https://todo.code.netlandish.com/~netlandish/links/93
---
You can use the following program to correct any existing entries in
case anyone actually has this running anywhere.

https://paste.sr.ht/~petersanchez/95f653a54e7ad896472e26950bd88446cda974e1

 core/routes.go           |  2 --
 helpers.go               | 12 ++++++------
 templates/feed.html      |  4 ++--
 templates/link_list.html |  6 +++---
 4 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/core/routes.go b/core/routes.go
[message trimmed]

links 0.1.3 3 days ago

From Peter Sanchez to ~netlandish/links-discuss

Hi all,

I am happy to announce the release of links 0.1.3.

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

Release highlights:

# Added

- Specify Sendy list-id when integrating per situation

# Changed

links 0.1.3 3 days ago

From Peter Sanchez to ~netlandish/links-dev

Hi all,

I am happy to announce the release of links 0.1.3.

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

Release highlights:

# Added

- Specify Sendy list-id when integrating per situation

# Changed

Re: [PATCH links] Support for short link monthly limitations versus the temporary delayed redirect page. 3 days ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   706df4c..fc8eb9d  master -> master

[PATCH links] Support for short link monthly limitations versus the temporary delayed redirect page. 3 days ago

From Peter Sanchez to ~netlandish/links-dev

Changelog-changed: If short limit is configured no longer use the
  delayed redirect page for free accounts.
Signed-off-by: Peter Sanchez <peter@netlandish.com>
---
The redirect page always annoyed us and we feel like it's a bad stick to
use to encourage upgrades of those using the hosted service. This will
simply restrict free users to 10 free shortened links per month, which
is generally more than enough.

 api/graph/schema.resolvers.go          | 36 ++++++++++++++++-
 cmd/migrations.go                      |  7 ++++
 config.example.ini                     |  3 ++
 go.mod                                 |  1 +
 go.sum                                 |  8 +---
[message trimmed]

Re: [PATCH links] Strip tags from link description input. Also use <br /> tags when displaying newlines to fix formatting issues. 5 days ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   9c585ef..0c2ce95  master -> master

Re: [PATCH links] gobwebs bump 5 days ago

From Peter Sanchez to ~netlandish/links-dev

Applied.

To git@git.code.netlandish.com:~netlandish/links
   aa70363..9c585ef  master -> master