commits
marquee will still SOMETIMES freeze in place on back button, but idk about that
all files are attachments and download anyways, so it has no effect. maybe reintroduce later?
* i've been fighting with hyperscript for a very long time, and it seems it just isn't a mature language that can do complicated things.
* now only use hs for things it is good at (events, per-element code for arbitrary events, that type of stuff...)
* drop into JS blocks for anything slightly complicated
* previously would always write stream to own MemoryStream, but this is an issue when getting actual files since we must read it all in first, THEN find out we aren't responding with html and write our stream back to the response. --> caused weird download behaviour
* now take advantage of the other middleware and only swap out streams when we know we are doing a directory (letting Blazor respond).
uses a slightly modified version of aamirafridi/jQuery.Marquee ... ideally no more extra js but w/e...
* fix/style: oops forgot to change scan targets
* feat/style: inline strategies needed by `_hs_tailwind.js`
* fix/style: fix (bad) powershell casing for aria-disabled
* feat/style: gray color also for .dotfile class
* feat/AppTitle: Partial attr (to plain `<title>` for use in hx responses
* feat/Breadcrumbs: own component for use in hx oob responses
* feat/GoBackButton: ditto
* fix/Header: oops kept Mizumiya's hs attr
* feat/Header(client): Enter on searchbar will click the first table row!
* fix/Header(client): replace powershell interpolation for `#file-counter`
* fix/Index: actually use _hs_tailwind (ww)
* Index: keep current path in #prop-name for hx
* Index: move around table hx attrs to reduce repetition
* feat/MainLayout: use jq
* feat/Program: file downloading!!
* feat/Utils.CheckJoinedPathIsBased: Result<DI>CheckJoinedPathIsBased -> Result<Union<DI, FI>>VerifyPath (though the Union/OneResult isn't very nice to use)
* fix/Utils.IEnumerable.RandomElement: prevent double-enumeration
* fix/Utils.FileSystemInfo.IsReadable: make sure the fsi actually exists (ww)
* fix/Utils.FileSystemInfo.ReadLink: replace libc `realpath` with just calling the `realpath` executable. frusturating but its the only thing that seems to work!!!
*feat/Utils.FileSystemInfo.UnravelLink: read link all the way until we get to a real file (just realized this has might have an infinite loop issue)
* feat/Utils.String: convenience extensions here too
* feat/Utils.OneResult: failed attempt at making the api nice to use
following the lead of NKK, this project is also switching to Blazor, away from Pode for similar reasons
* basic directory listing works
* no sorting (very easy, soon)
* does not serve files just yet
* wow this was easy
* i've been fighting with hyperscript for a very long time, and it seems it just isn't a mature language that can do complicated things.
* now only use hs for things it is good at (events, per-element code for arbitrary events, that type of stuff...)
* drop into JS blocks for anything slightly complicated
* previously would always write stream to own MemoryStream, but this is an issue when getting actual files since we must read it all in first, THEN find out we aren't responding with html and write our stream back to the response. --> caused weird download behaviour
* now take advantage of the other middleware and only swap out streams when we know we are doing a directory (letting Blazor respond).
* fix/style: oops forgot to change scan targets
* feat/style: inline strategies needed by `_hs_tailwind.js`
* fix/style: fix (bad) powershell casing for aria-disabled
* feat/style: gray color also for .dotfile class
* feat/AppTitle: Partial attr (to plain `<title>` for use in hx responses
* feat/Breadcrumbs: own component for use in hx oob responses
* feat/GoBackButton: ditto
* fix/Header: oops kept Mizumiya's hs attr
* feat/Header(client): Enter on searchbar will click the first table row!
* fix/Header(client): replace powershell interpolation for `#file-counter`
* fix/Index: actually use _hs_tailwind (ww)
* Index: keep current path in #prop-name for hx
* Index: move around table hx attrs to reduce repetition
* feat/MainLayout: use jq
* feat/Program: file downloading!!
* feat/Utils.CheckJoinedPathIsBased: Result<DI>CheckJoinedPathIsBased -> Result<Union<DI, FI>>VerifyPath (though the Union/OneResult isn't very nice to use)
* fix/Utils.IEnumerable.RandomElement: prevent double-enumeration
* fix/Utils.FileSystemInfo.IsReadable: make sure the fsi actually exists (ww)
* fix/Utils.FileSystemInfo.ReadLink: replace libc `realpath` with just calling the `realpath` executable. frusturating but its the only thing that seems to work!!!
*feat/Utils.FileSystemInfo.UnravelLink: read link all the way until we get to a real file (just realized this has might have an infinite loop issue)
* feat/Utils.String: convenience extensions here too
* feat/Utils.OneResult: failed attempt at making the api nice to use