Commit Graph

9 Commits

Author SHA1 Message Date
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