Compare commits
2 commits
ed5fb3d346
...
9ae119c6cb
Author | SHA1 | Date | |
---|---|---|---|
9ae119c6cb | |||
3b1cdb54bb |
14
README.md
14
README.md
|
@ -40,15 +40,16 @@ tests locally:
|
||||||
|
|
||||||
### Tag
|
### Tag
|
||||||
|
|
||||||
podman tag post_text git.minimally.online/swaggboi_priv/post_text
|
podman tag post_text \
|
||||||
|
git.seriousbusiness.international/swaggboi_priv/post_text
|
||||||
|
|
||||||
### Push
|
### Push
|
||||||
|
|
||||||
podman push git.minimally.online/swaggboi_priv/post_text
|
podman push git.seriousbusiness.international/swaggboi_priv/post_text
|
||||||
|
|
||||||
### Pull
|
### Pull
|
||||||
|
|
||||||
podman pull git.minimally.online/swaggboi_priv/post_text
|
podman pull git.seriousbusiness.international/swaggboi_priv/post_text
|
||||||
|
|
||||||
### Run
|
### Run
|
||||||
|
|
||||||
|
@ -60,12 +61,7 @@ tests locally:
|
||||||
|
|
||||||
## TODOs
|
## TODOs
|
||||||
|
|
||||||
1. Is `remark_tally` counting hidden remarks? Tried to add a `WHERE
|
- Tripcodes/PGP signing somehow perhaps...
|
||||||
NOT hidden_status` but that returns null, probably need a different
|
|
||||||
`JOIN` which may not be worth the trouble/processing
|
|
||||||
1. Nah it needs a subquery instead of just `COUNT(*)` (dude trust me)
|
|
||||||
1. Implement tripcodes (moving this down in priority due to complexity...)
|
|
||||||
1. Post thread via SMS (twil.io??)
|
|
||||||
|
|
||||||
## AGPL-3.0+ANTIFA compliance
|
## AGPL-3.0+ANTIFA compliance
|
||||||
|
|
||||||
|
|
|
@ -44,6 +44,7 @@ sub by_page($self, $this_page = 1) {
|
||||||
LEFT JOIN remarks AS r
|
LEFT JOIN remarks AS r
|
||||||
ON t.thread_id = r.thread_id
|
ON t.thread_id = r.thread_id
|
||||||
WHERE NOT t.hidden_status
|
WHERE NOT t.hidden_status
|
||||||
|
AND NOT r.hidden_status
|
||||||
GROUP BY t.thread_id
|
GROUP BY t.thread_id
|
||||||
ORDER BY t.bump_date DESC
|
ORDER BY t.bump_date DESC
|
||||||
LIMIT ? OFFSET ?;
|
LIMIT ? OFFSET ?;
|
||||||
|
|
Loading…
Reference in a new issue