about summary refs log tree commit diff
path: root/src/frontend
Commit message (Collapse)AuthorAgeFilesLines
* Add HTTP fetcher cacheVika2024-08-261-3/+3
| | | | | | | It just does its thing in the background, potentially speeding up things. Maybe I could also use the underlying in-memory cache implementation (Moka) to speed up my database. I heard crates.io got some good results from that.
* Appease most clippy warningsVika2024-08-262-8/+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-012-16/+14
| | | | | 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-092-28/+32
| | | | This makes the interface more consistent and resistant to misuse.
* Moved the entire Kittybox tree into the rootVika2023-07-293-0/+918
|
* flake.nix: reorganizeVika2022-05-245-1106/+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
* templates: add a banner for Kittybox in the footerVika2022-05-231-0/+3
| | | | Now everyone will know where to get my software if they see it.
* 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-074-698/+7
| | | | | | | | | 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-152-12/+27
| | | | | 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-232-4/+2
|
* Port onboardingVika2022-03-072-5/+68
|
* Restored most of the functionality (except onboarding and some queries)Vika2022-03-061-1/+0
|
* frontend: convert to warpVika2022-03-023-292/+208
| | | | | | | | | 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.
* Display pretty links in case there is more than one URL in a postVika2021-12-072-6/+22
|
* Migrate to Rust 2021Vika2021-12-072-24/+24
|
* Small fixes for code block and vcard avatar CSSVika2021-12-071-0/+8
|
* Add indicators on private postsVika2021-12-071-0/+5
|
* Make rustfmt and clippy happyVika2021-12-062-92/+154
|
* Added support for IndieAuth client sign inVika2021-12-063-14/+347
| | | | | | | 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-053-9/+23
|
* Added author mini-cards on h-entriesVika2021-12-052-4/+31
|
* frontend: Added listing feeds to the header barVika2021-12-052-4/+15
|
* 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.
* Refactored the onboarding template into its own fileVika2021-08-062-193/+198
|
* Moved templates into their own moduleVika2021-08-032-586/+585
| | | | | | | 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-172-1/+57
|
* Onboarding - initial featureVika2021-05-173-5/+347
|
* Refactoring, easter egg, healthcheck endpoint, support for rel= indieweb ↵Vika2021-05-172-5/+47
| | | | APIs and preparation for onboarding
* Added a frontend to the application. TODO: Login, alternative themes, ↵Vika2021-05-092-0/+706
built-in Micropub capabilities when logged in