1
Fork 0
Commit graph

132 commits

Author SHA1 Message Date
7ad60b68f6
database: Heavy refactoring and cleanup 2024-11-18 19:55:21 +01:00
1322023e23
database: Allow meta_subjects.subject to be null 2024-11-18 18:24:15 +01:00
17a0dfd21d
database: Add some documentation 2024-11-18 09:48:43 +01:00
ccae871d8e
database: Create acrate_database_migrate bin that runs migrations 2024-11-18 09:45:03 +01:00
09295b2ce8
database: Add crate metadata 2024-11-18 06:24:08 +01:00
e758e670e6
Rename acrate-core to acrate_database 2024-11-18 06:13:49 +01:00
cc6dfd0dfc
webfinger: Use the subject field to determine the canonical name of the subject 2024-11-16 07:49:28 +01:00
219880f3d3
core: Fix type mismatch 2024-11-16 07:49:12 +01:00
5078b41499
core: Add subject column 2024-11-16 07:43:54 +01:00
0e7aacdd0e
Create webfinger crate' (#5)
Reviewed-on: #5
2024-11-16 06:33:05 +00:00
ee1eb9f470
Add README listing crates 2024-11-16 07:30:35 +01:00
8ca9d01688
webfinger: Don't link self 2024-11-16 07:29:09 +01:00
7319a3fe71
webfinger: Add basic CSS to the page 2024-11-16 07:24:14 +01:00
0498e45b59
webfinger: Handle not found and redirects 2024-11-16 06:46:25 +01:00
7f392bef36
core: Fix schema 2024-11-16 06:45:58 +01:00
c83fdc43e6
webfinger: text/html version of the document 2024-11-16 06:16:52 +01:00
dfee4e510e
core: Add meta_subjects to handle redirects 2024-11-16 06:16:34 +01:00
d80888c9db
webfinger: Add link properties and titles 2024-11-16 02:58:45 +01:00
5b8b166323
Obliterate .idea/misc.xml from existence 2024-11-16 02:56:24 +01:00
86f9aa27f2
hostmeta: Schema improvements 2024-11-16 02:55:08 +01:00
a5b6485d11
core: Allow querying meta objects grouped by parent 2024-11-16 02:54:55 +01:00
a5b9918c43
webfinger: Property.r#type to Property.rel 2024-11-16 01:42:04 +01:00
8b5408f21e
hostmeta: Property.r#type to Property.rel 2024-11-16 01:41:57 +01:00
72f3669ef1
webfinger: yield to type_ 2024-11-16 01:35:30 +01:00
8a49903eca
core: Support meta titles 2024-11-15 20:53:59 +01:00
f2d73c1798
core: Further schema improvements 2024-11-15 20:48:51 +01:00
d1dcbc1fc6
core: Give up on renaming type_ 2024-11-15 20:44:06 +01:00
e5412d85ba
core: Update schema with more details 2024-11-15 20:43:41 +01:00
c36b6edbfb
webfinger: Serve XRD and JRD responses 2024-11-15 18:12:13 +01:00
49b1b8ba65
hostmeta: Fix value being wrapped in a tag 2024-11-15 18:10:39 +01:00
32f756f800
hostmeta: Fix type not being an attribute 2024-11-15 18:10:02 +01:00
a020861e33
hostmeta: Make the root element use the XRD tag 2024-11-15 17:57:31 +01:00
065fa9c80e
Eyes are closing, git fire 2024-11-15 06:50:51 +01:00
f5449cd397
core: Fix r#type again 2024-11-15 06:31:49 +01:00
6315c22ad6
core: Add missing rel attribute to meta_properties 2024-11-15 06:30:42 +01:00
affb063508
webfinger: Add acrate-core dependency 2024-11-15 05:23:21 +01:00
94203cdc7b
core: Filter meta queries on document 2024-11-15 05:23:06 +01:00
d0aa551ef4
core: Add document to the meta types 2024-11-15 05:21:05 +01:00
b7924c8776
core: Fix r#type in schema 2024-11-15 05:20:46 +01:00
3906d03653
core: Add document field to meta tables 2024-11-15 05:19:50 +01:00
69392bf7e5
core: DROP tables only IF EXISTS 2024-11-15 05:19:25 +01:00
153dc7d50f
core: Cascade table DROPs 2024-11-15 05:18:52 +01:00
3e2a7fd110
core: Expose diesel and diesel_async 2024-11-15 04:59:13 +01:00
c235467b06
core: Add queryable meta structs 2024-11-15 03:16:06 +01:00
18b3619785
core: Apparently you still need the postgres feature on diesel 2024-11-15 02:57:39 +01:00
6ebf2ddd6d
core: Use diesel_async dep 2024-11-15 02:40:58 +01:00
b5d907bd07
core: Use r#type instead of type_ 2024-11-15 02:35:17 +01:00
5a3d913933
core: Don't define database functions, implement them in Rust 2024-11-15 02:34:53 +01:00
21842d9f80
core: Add base core::meta structs 2024-11-15 02:16:16 +01:00
2ca4bb3662
core: Rename link to meta_link_id 2024-11-15 02:15:29 +01:00