Tags: go-shiori/shiori
Tags
feat: allow selecting light/dark/follow themes in the webui (#924) * login page follow browser darkmode settings * theme change based on selection in settings between follw system , light, dark * content page follow settings and fix syntax error * drop down menu color follow current theme * version number follow theme in login page * use footer instead of id for version * replace space with tab * move theme settings to the top of the list and fix typo * remove duplicate code and use a function instead * fix logic of change theme if you select follow system to not need reload anymore * fix code style with make styles * fix bug that eventlistener not remove when activate light or dark theme * less js and add theme with patch by @fmartingr * remove NightMode config and now everythings control with Theme * error instead of log if invalid theme selected Co-authored-by: Felipe Martin <[email protected]> * remove unneeded part and update swagger documents --------- Co-authored-by: Felipe Martin <[email protected]>
chore: check for avx2 processor feature when trying to run bun (#920) * check avx2 when use bun * change enviroment variable to just BUN * better massage Co-authored-by: Mario Rugiero <[email protected]> * simpler method * add missing reverse if * patch with @fmartingr to check that in linux only --------- Co-authored-by: Mario Rugiero <[email protected]> Co-authored-by: Felipe Martin <[email protected]>
chore(deps): bump the all group with 3 updates (#908) Bumps the all group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) and [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action). Updates `actions/checkout` from 4.1.4 to 4.1.5 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@0ad4b8f...44c2b7a) Updates `golangci/golangci-lint-action` from 5.3.0 to 6.0.1 - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@38e1018...a4f60bb) Updates `goreleaser/goreleaser-action` from 5.0.0 to 5.1.0 - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](goreleaser/goreleaser-action@7ec5c2b...5742e2a) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: goreleaser/goreleaser-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
feat: api endpoint to serve readable content (#885) * add endpoint to serve readable content * add id and modified time in response * revert id and modified time * remove public check status * chnage 401 to 403 * add basic unittest for readable content * check response in unittest * update strcut name and move that above handler
fix: fixes path issues on windows (#829) * return corrent path in windows with usiing path lib * ci: run tests in windows and macos too * avoid testing mysql/psql in windows and macos * windows & macos matrix * disable gotestfmt * replace which in shell script * handle error in test db removal * fix expected path baseed on platform * add leading seprator * proper temporary storage dir and db cleanup * fix failed to create destination dir file does not exist in windows * move temp to /tmp * update temp folder * fix config tests in windows * apply patch for db * revert temp dir creation. * unify account db tests pach * remove TmpDir for sqlite tests * try to force CGO disable with enviroment variable * Remove unneeded log Co-authored-by: Felipe Martin <[email protected]> * remove unneeded comment Co-authored-by: Felipe Martin <[email protected]> * fix file path for download images * change way to create temp directory * use diffrent file name for each test * fix typo * fix absolute path in successful download image * correct filename with png * change test to download image from internet instead of local machine * remvoe unneeded import * remove os.RemoveAll(.env) * unify variable names in unit test * return CGO_ENABLED=0 * test other way to set enviroment variable * try to set enviroment variable sepratly in macos and windows * set enviroment variable before run commands in windows * fix windows test name * combine two workflow for windows and macos again * fix typo * remove env * change env path * cleanup unneeded env * general CGO_ENABLED environ * use absolute path to run fileserver instead of relative * serve file test from internet shiori repository * check file existance after download and unify varibale name from temp to tmpDir * remove unneeded log --------- Co-authored-by: Felipe M <[email protected]> Co-authored-by: Felipe Martin <[email protected]>
PreviousNext