~exprez135

Tulsa ~ Columbia '24

https://ijams.me

An enthusiast of sorts.

Trackers

~exprez135/mountaen

Last active 4 years ago

~exprez135/Taliaferro

Last active 4 years ago

#410 Crash as I was pasting 4 years ago

Comment by ~exprez135 on ~sircmpwn/aerc2

I continue to experience a panic when I paste drafted text into aerc's compose window. One workaround I've found is switching over to iTerm2 on my mac. If I use iTerm's "paste slowly" feature, I can usually get the whole thing pasted without the panic. Otherwise, the content begins to paste but after a certain amount the panic occurs.

I put what I could recover from the panic message at https://paste.sr.ht/~exprez135/f0f7051758e89c4ce5c400bd7d9f18eb1a91065e.

#26 Castor MacOS install 4 years ago

Comment by ~exprez135 on ~julienxx/Castor

Instead of using ~/.config/castor/settings.toml, see if a settings file exists at ~/Library/Preferences/castor/settings.toml.

#26 Castor MacOS install 4 years ago

Comment by ~exprez135 on ~julienxx/Castor

Huh, you're right. For some reason it isn't doing anything with the settings file. This is probably something to do with the difference in directories with macOS. I'll see if I can figure it out when I have the time. If anyone else has any input on this, it would be greatly appreciated.

#26 Castor MacOS install 4 years ago

Comment by ~exprez135 on ~julienxx/Castor

Would you try out the steps I have pasted here? This works for me on macOS Catalina.

#137 Provide list owners with a subscriber count 4 years ago

Comment by ~exprez135 on ~sircmpwn/lists.sr.ht

I worked on this a bit today, and I can work on submitting a patch as long as ~sircmpwn wants to include this feature. I need some help with the last bit though. What I've done would:

  • Add a new integer column in the list table called subscriber_count
  • Add the new "subscriber_count" field to the mailing list API response
  • Add "__ subscribers." to the sidebar beneath the etiquette notice and buttons.
  • Update the subscriber count each time the _subscribe() or _unsubscribe() functions are run with something like:
dest.subscriber_count = dest.subscribers.count()

or

dest.subscriber_count = select([func.count()]).select_from(dest.subscribers)

or

dest.subscriber_count = List.query.filter(List.id == dest.id).one_or_none().subscribers.count()

I'm not experienced with SQLAlchemy, so I will probably need some advice on how to get that line to work. What's the best way to run something like func.count() on dest.subscribers within process.py?

dest is defined with dest = List.query.filter(List.id == list_id).one_or_none(). And _forward() uses it like for sub in dest.subscribers:.

#142 Mirrored lists duplicate "mailto:" in "Reply to Thread" button link 4 years ago

Comment by ~exprez135 on ~sircmpwn/lists.sr.ht

I sent in a patch for this: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/10396. I'm relatively sure this should fix the problem. Still unsure of why mirrors specifically are having the problem.

#118 E-mail without To: header is refused 4 years ago

Comment by ~exprez135 on ~sircmpwn/lists.sr.ht

Fixed with 9a66457c.

#92 Hide "new post" tab if user does not have posting permissions 4 years ago

Comment by ~exprez135 on ~sircmpwn/lists.sr.ht

Fixed with 09efc588.

#3 Test 4 years ago

on ~exprez135/Taliaferro

REPORTED RESOLVED INVALID

#142 Mirrored lists duplicate "mailto:" in "Reply to Thread" button link 4 years ago

Ticket created by ~exprez135 on ~sircmpwn/lists.sr.ht

Go to a mirrored list like https://lists.sr.ht/~sircmpwn/alpine-devel and click on an archive. Hover over the "Reply to Thread" button at the bottom of the thread and the mailto link has "mailto:mailto:___".