about summary refs log tree commit diff
path: root/src/frontend/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Indicate `u-uid` as `rel=canonical`Vika2024-08-261-1/+1
| | | | | | | | | | | This only displays on top-level entries, not ones in feeds. This should help search indexers know which URI is the canonical for a given link. I wonder why Google doesn't bother to parse MF2 markup. Do they think themselves monarchs of the Internet, able to show peasants their place? their search results are shitty anyway, I'd rather ask GPT-2. Yes, GPT TWO. Not even 3, 4 or 4o!
* Appease most clippy warningsVika2024-08-261-1/+1
| | | | | | The warnings only remain in places where I need them to remain, because I either need a reminder to implement something, or I need to refactor and simplify the code in question.
* Fix private posts with no defined audience not being shown in feedsVika2024-08-231-3/+3
|
* feat: logins!!Vika2024-08-181-9/+11
| | | | | | | | yes you can finally sign in this is also supposed to show private posts intended for you! maybe i can also reveal my email to those who sign in! :3
* Migrate from axum::Extension to axum::extract::StateVika2024-08-011-4/+3
| | | | | This somehow allowed me to shrink the construction phase of Kittybox by a huge amount of code.
* database: use Url to represent user authoritiesVika2024-07-091-24/+28
| | | | This makes the interface more consistent and resistant to misuse.
* Moved the entire Kittybox tree into the rootVika2023-07-291-0/+404
|
* flake.nix: reorganizeVika2022-05-241-459/+0
| | | | | | | | | | | | - Kittybox's source code is moved to a subfolder - This improves build caching by Nix since it doesn't take changes to other files into account - Package and test definitions were spun into separate files - This makes my flake.nix much easier to navigate - This also makes it somewhat possible to use without flakes (but it is still not easy, so use flakes!) - Some attributes were moved in compliance with Nix 2.8's changes to flake schema
* feat: webmention sending and reply context enrichmentVika2022-05-141-1/+1
| | | | | | | These features share some code since they both require fetching reply contexts, so it makes sense to implement them together. TODO cover webmention sending with integration tests
* treewide: prepare for mf2 parsing and cleanup unused codeVika2022-05-121-3/+5
|
* database, frontend: code cleanup so clippy doesn't complainVika2022-05-101-3/+3
|
* Split into different cratesVika2022-05-071-15/+6
| | | | | | | | | Templates and utility types are now separate crates to speed up compilation, linting and potential reuse/replacement. Potentially more crates could be split out/modularized, resulting in speedups, smaller binaries (whenever features are excluded) and even more reuse capabilities.
* frontend: Made endpoints optional in templatesVika2022-04-151-3/+3
| | | | | Sometimes it's cumbersome to include them, and I plan to make them embedded in the app anyway. This is my reminder to do it ASAP.
* Make the settings in the database a strong typeVika2022-03-231-3/+3
|
* Get rid of legacy code, fix mistakes in fluff text and commentsVika2022-03-231-3/+1
|
* Port onboardingVika2022-03-071-4/+67
|
* Restored most of the functionality (except onboarding and some queries)Vika2022-03-061-1/+0
|
* frontend: convert to warpVika2022-03-021-273/+188
| | | | | | | | | Warp is using hyperium/http instead of http-types, so I replaced all of the http-types usage (mostly status codes) by Warp's http::StatusCode. Additionally some of the struct fields were made public to allow initialization from public code.
* Make rustfmt and clippy happyVika2021-12-061-4/+7
|
* Added support for IndieAuth client sign inVika2021-12-061-7/+19
| | | | | | | This will allow readers to view private posts intended just for them. Additionally fixed bugs in patterns due to which webmentions might not have been sent.
* Debug JSON renderer for postsVika2021-12-051-0/+12
| | | | Because sometimes seeing the problem is better than searching for it.
* Code cleanup and small bugfixing in templatesVika2021-12-051-4/+19
|
* frontend: Added listing feeds to the header barVika2021-12-051-2/+9
|
* Modified the module to use BACKEND_URIVika2021-09-281-1/+12
|
* Fix a bug in the error middlewareVika2021-09-271-1/+1
| | | | | | When an error is found, the site name passed to Storage::get_setting in the error handler is incorrect. The ASCII serialisation of the hostname should get used.
* Moved templates into their own moduleVika2021-08-031-586/+1
| | | | | | | frontend.rs was too hard to navigate. Additionally, this allows playing with the organizational structure of templates, since they only need to export a certain API and how exactly they work is an implementation detail.
* Appease rustfmt, clippy and cargo checkVika2021-07-291-5/+20
|
* Don't show internal links on h-cardsVika Shleina2021-07-191-1/+1
|
* Fixed crash when h-card doesn't contain a p-noteVika Shleina2021-07-191-3/+4
|
* Fixed feed pagination on frontendVika Shleina2021-07-191-1/+4
|
* Relaxed anti-takeover URL check to simply not place redirects at foreign URLsVika Shleina2021-07-191-2/+2
|
* Replaced scheme with HTTPS in frontend to prevent weird thingsVika Shleina2021-07-191-5/+10
|
* Added URL display to h-cardsVika Shleina2021-07-191-0/+14
|
* frontend: fixed site name, added thumbnail support and Markdown tutorial linkVika Shleina2021-07-191-7/+16
|
* Make rustfmt happy again after Clippy editsVika2021-05-181-9/+18
|
* Make clippy happyVika2021-05-171-17/+15
|
* Make rustfmt happyVika2021-05-171-101/+199
|
* Minimal onboarding support. TODO: h-card avatarsVika2021-05-171-0/+14
|
* Onboarding - initial featureVika2021-05-171-5/+269
|
* Refactoring, easter egg, healthcheck endpoint, support for rel= indieweb ↵Vika2021-05-171-3/+42
| | | | APIs and preparation for onboarding
* Added a frontend to the application. TODO: Login, alternative themes, ↵Vika2021-05-091-0/+547
built-in Micropub capabilities when logged in