Commit graph

15 commits

Author SHA1 Message Date
silverpill 7d3c558ede Move utils to mitra-utils crate 2023-02-18 23:12:36 +00:00
silverpill 6945ded963 Group imports 2023-02-12 23:07:19 +00:00
silverpill bc3184cf77 Rename new_uuid function to generate_ulid 2023-02-12 22:04:31 +00:00
silverpill f6026293a5 Add test for create_attachment() 2023-01-21 22:56:52 +00:00
silverpill b958b8fb4c Save sizes of media attachments and other files to database 2023-01-21 19:52:32 +00:00
silverpill 01f56d9ef7 Use re-exported tokio_postgres::GenericClient trait 2023-01-18 01:01:45 +00:00
silverpill d1939b10d5 Move DatabaseError to database module 2022-12-03 22:57:09 +00:00
silverpill 50699b5ab5 Don't use update_post() to set ipfs_cid, token_id and token_tx_id fields 2022-05-10 22:18:43 +00:00
silverpill da6ceadd51 Add CLI command for deleting unused media attachments 2022-05-07 21:10:35 +00:00
silverpill f9fca604a9 Make media_type property on Attachment type optional 2021-12-29 15:07:19 +00:00
silverpill 12c21d86f8 Use ULIDs instead of v4 UUIDs for identifiers 2021-12-02 01:36:35 +00:00
silverpill c41cb16d23 Unpin and remove orphaned IPFS objects from local node 2021-09-29 12:06:19 +00:00
silverpill f87284b07c Remember CIDs of media attachments after adding them to IPFS 2021-09-28 21:58:43 +00:00
silverpill 283c426c49 Add delete-post CLI command 2021-09-26 00:08:44 +00:00
silverpill fdef4b6e6a Initial commit 2021-09-14 12:24:05 +00:00