~petersanchez

Los Angeles, CA

https://www.petersanchez.com

LA, CA USA - Managua, Nicaragua

Trackers

~petersanchez/django-impersonate

Last active 13 days ago

~petersanchez/gohome

Last active 1 year, 2 months ago

~petersanchez/tago

Last active 1 year, 3 months ago

~petersanchez/honk

Last active 2 years ago

~petersanchez/migrate

Last active 2 years ago

~petersanchez/carrier

Last active 3 years ago

~petersanchez/djeploy

Last active 4 years ago

~petersanchez/djpubsubhubbub

Last active 4 years ago

#104 Pagination is missing filter options (ie, unread, etc.) a day ago

Ticket created by ~petersanchez on ~netlandish/links

When paginating unread or starred lists the pagination is missing the filter option. This results in paginating all bookmarks instead of the filtered ones. Probably just a missing tag call.

#44 Accept UUID for User pk a day ago

Comment by ~petersanchez on ~petersanchez/django-impersonate

You don't need an account to submit a patch. See:

https://hg.code.netlandish.com/~petersanchez/django-impersonate#contributing

Patches are sent via hg email to the public mailing list here:

https://lists.code.netlandish.com/~petersanchez/public-inbox

Thank you! I appreciate the help!

~Adam Taylor, Mar 28, 2025 at 20:00:

My understanding is that the SESSION_ENGINE setting doesn't affect this issue; it's the SESSION_SERIALIZER setting. The only session serializer that comes with Django is django.contrib.sessions.serializers.JSONSerializer and the documentation says "we highly recommend sticking with JSON serialization". That being the case, I think the best approach is to use isinstance(new_user.pk, uuid.UUID) to determine if the primary key should be cast to a string or not. I would submit a patch, but I don't have an account and it says that registration is closed.

-- View on the web: https://todo.code.netlandish.com/~petersanchez/django-impersonate/44#event-1240

#44 Accept UUID for User pk 2 days ago

Comment by ~petersanchez on ~petersanchez/django-impersonate

Hi Adam,

Did you test this with different session backends? I think that was the hold up reviewing the comments. I haven't had time to even touch this project in a while so if you've got some time to test this and submit a patch that would be greatly appreciated.

See the comment above from Christopher Baily for details.

#103 Add named tag groupings for easy linking 4 days ago

feature added by ~petersanchez on ~netlandish/links

#103 Add named tag groupings for easy linking 4 days ago

Ticket created by ~petersanchez on ~netlandish/links

Add a named tag grouping and/or filtering that would allow named links to provide the filters. For instance:

https://linktaco.com/org-slug/grouping-slug

It simply applies the filters to the org referenced.

#95 Add tag cloud pages for organizations 12 days ago

Comment by ~petersanchez on ~netlandish/links

Thank you Gebhard. How would you envision the tag cloud to work? On the bookmark listing page for quicker filtering? A specific tag cloud page where all the tags are links to the corresponding bookmarks? Both maybe?

I know on Pinboard it's hosted on the bookmark listing page on the right column. I suppose we can do similar but just curious what you think is the best experience.

#95 Add tag cloud pages for organizations 12 days ago

feature added by ~petersanchez on ~netlandish/links

#102 "Back" (previous) pagination links may be wonky 12 days ago

bug added by ~petersanchez on ~netlandish/links

#102 "Back" (previous) pagination links may be wonky 12 days ago

Ticket created by ~petersanchez on ~netlandish/links

Yes, "wonky" is a technical term.

I stumbled onto a couple of different logic situations for cursor pagination. In some cases the right order may be returned from the GraphQL API but the presentation is backwards. Usually the handler just needs to reverse the result list before populating the template.

However, I also noticed different ordering logic, etc. in different resolvers and this needs to be corrected. The logic should be the same in all cases.

#72 Django 5.1 support 12 days ago

Comment by ~petersanchez on ~petersanchez/django-impersonate

Thank you! You can use hg email to submit the patch to the mailing list. It's really simple to do, takes all of 20 seconds (if you've already got hg configured for email, otherwise it'll take you 60ish seconds heh). The instructions are here.

The email for the list is ~petersanchez/public-inbox@lists.code.netlandish.com. Or if you'd rather just send it directly to me that's fine too (pjs@petersanchez.com)

I really appreciate the help. I've so little time for this project at the moment.