about summary refs log tree commit diff
path: root/src/frontend/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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