Commit Graph

23 Commits

Author SHA1 Message Date
Amolith dde4c97802
Improve logic around untracking projects
Frontend was still passing the project's URL to the backend even though
the backend had been refactored to use the project's ID. This is fixed.

Deleting the repo's files should also work now, but I do think I want to
support tracking multiple instances of the same project. This means
we'll need to check for other instances relying on the repo before
deleting it.

We need end-to-end tests 😩😩😩
2024-02-29 15:07:07 -05:00
Amolith c3acec928b
Actually reduce card border contrast 2024-02-24 10:20:06 -05:00
Amolith 2398a0384b
Reduce card border contrast 2024-02-24 10:18:00 -05:00
Amolith dd7551fd49
Actually finish 🤞 DB-/ID-related refactors 2024-02-23 21:16:50 -05:00
Amolith b6db773ee3
Add ID to project cards so mobile works 2024-02-23 19:24:07 -05:00
Amolith d5c7bf70ce
Implement new UI, fix DB use
- Implement dual-column UI
- Swap project table index from URL to ID
- Enable WAL for concurrent reads
- Use a Mutex to protect writes
2024-02-23 18:38:44 -05:00
Amolith c4cd8acd84
Switch font to Atkinson Hyperlegible 2024-01-11 19:16:13 -05:00
Amolith 68be501154
Fix error handling bug introduced in last commit 2023-11-28 20:18:56 -05:00
Amolith 8ca0376243
Pre-select current $running when modifying it
Implements: https://todo.sr.ht/~amolith/willow/25
2023-11-28 20:01:26 -05:00
Amolith 61c551ade4
Add note about limited RSS entries
Implements: https://todo.sr.ht/~amolith/willow/8
2023-11-28 19:33:38 -05:00
Amolith 1fbf0af5a4
group outdated software and reword
Implements: https://todo.sr.ht/~amolith/willow/17
Implements: https://todo.sr.ht/~amolith/willow/15
2023-11-08 15:32:26 -05:00
Amolith 90db8d55ea
correct div nesting in home HTML template 2023-10-30 18:46:10 -04:00
Amolith 181509faa8
adding padding to bottom 2023-10-29 15:37:47 -04:00
Amolith d9bf2f6278
embed the inter font 2023-10-29 13:53:06 -04:00
Amolith 61c24da28a
correct minor webserver issues 2023-10-29 10:49:02 -04:00
Amolith 984d44775b
BREAKING: SQL schema change
- Redo schema to improve handling of lightweight tags
- Try to clean up empty directories when untracking a project

To resolve schema conflict, run `sqlite3 willow.sqlite` and paste the
following:

ALTER TABLE releases RENAME TO releases_bak;
CREATE TABLE releases
(
    id          TEXT      NOT NULL PRIMARY KEY,
    project_url TEXT      NOT NULL,
    release_url TEXT      NOT NULL,
    tag         TEXT      NOT NULL,
    content     TEXT      NOT NULL,
    date        TIMESTAMP NOT NULL,
    created_at  TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);

If everything works as expected, you can `DROP TABLE releases_bak`.
2023-10-29 10:41:00 -04:00
Amolith 3612ffc595
handle .git in RSS URLs and add missing returns 2023-10-28 23:40:07 -04:00
Amolith 67b88eafd3
correct spacing without new release 2023-10-28 23:30:19 -04:00
Amolith d0dd81602b
change project styling, add log out link 2023-10-28 23:17:41 -04:00
Amolith a30446940c
add copyright info to new files 2023-10-28 13:12:31 -04:00
Amolith cbcbaca124
add dark mode, css reset and normalise links
Implements: https://todo.sr.ht/~amolith/willow/11
Implements: https://todo.sr.ht/~amolith/willow/10
2023-10-28 13:12:29 -04:00
Amolith 438f9fc7ae
finish implementing authentication 2023-10-25 20:16:36 -04:00
Amolith ef9544ff7d Beeg refactor for database and users and auth 2023-10-25 00:14:32 -04:00