Publ: Development Blog

News and updates about Publ

Just one tiny fix today

Posted Saturday, April 7 at 11:32 PM (6 years ago)

I am trying to make my weekends actual weekends, so the only thing I did on Publ today was to refactor the way that properties with optional arguments work. Previously I was using a hack that only worked for string-type things (such as links), but now I’m using a better hack that works for every sort of object you might throw at it.

a retraction

Posted Saturday, April 7 at 3:48 AM (6 years ago)

I ended up refactoring the query generator and a lot of template stuff. It feels good to have my codebase approaching sensibility on a lot of stuff. Even if my wrists don’t feel so good.

Anyway I’m posting this from my iPad in bed just to prove that it’s possible. Although not recommended; vi is kind of hard to use this way.

(this is why i really hope someone steps up and makes some sort of web-based site editing tool for Publ. i just might do it myself after i get Publ itself in a state where it feels done-ish.)

ok bedtime now zzzzzzz esc :wq

I took it a bit easier today

Posted Saturday, April 7 at 12:41 AM (6 years ago)

Today I kept myself away from pounding away at Publ. But I did fix an entry visibility bug, and also implemented a workaround for the Dreamhost issue.

Oh, and some of my fixes for the visibility bug also led to some code refactoring that will make view pagination a bit easier to implement, so that’s a nice bonus.

I’ve also put some more thoughts into how view pagination will work. In particular I think to keep things simple I’ll only allow views to sort by oldest or newest; The only other useful sorting option I can think of is by title and that’s not really all that stable.