Monirzadeh
6c94d56bf0
feat: Home button clear search query ( #916 )
...
* click on home will clear searchbox
* clearHome when mounted
* clearHomePage just when you are in homepage
* check clearHomePage signal out of clearHomePage method
* fix style
2024-05-26 15:33:17 +02:00
dependabot[bot]
2d88f908e2
chore(deps): bump the all group with 2 updates ( #917 )
...
Bumps the all group with 2 updates: [actions/checkout](https://github.com/actions/checkout ) and [codecov/codecov-action](https://github.com/codecov/codecov-action ).
Updates `actions/checkout` from 4.1.5 to 4.1.6
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](44c2b7a8a4...a5ac7e51b4
)
Updates `codecov/codecov-action` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](5ecb98a3c6...6d798873df
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-25 08:40:36 +02:00
dependabot[bot]
4e0e23a277
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](0ad4b8fada...44c2b7a8a4
)
Updates `golangci/golangci-lint-action` from 5.3.0 to 6.0.1
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](38e1018663...a4f60bb28d
)
Updates `goreleaser/goreleaser-action` from 5.0.0 to 5.1.0
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](7ec5c2b0c6...5742e2a039
)
---
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-18 09:55:17 +02:00
Felipe Martin
e5e1af2272
deps: update golang dependencies ( #915 )
2024-05-18 09:54:45 +02:00
Felipe Martin
4de4799ef8
fix: ensure tmp folder is present on docker container ( #910 )
...
* chore: add logger to bookmark update cache
* ensure there's a tmp folder in the container
2024-05-15 17:02:59 +02:00
Felipe Martin
647945c54e
ci: unify local and ci docker workflows ( #907 )
...
* deps: go to 1.22.3
* removed ci dockerfile
* add make buildx
* updated dockerfile
* ci uses make buildx command
* commented upx for the future
* disable openbsd/arm tests
* wip
* put dist file in dist path
* removed unused make command
* build-local to speed up local tests
* don't clean when buildx
* podman workaround
* manually define source files for tests
2024-05-14 08:01:52 +02:00
Felipe Martin
a6e55705da
fix: not checking for nil-pointer errors on migrations ( #906 )
2024-05-12 19:07:16 +02:00
Monirzadeh
eaa6f0ea2a
fix(sqlite): id column should be unique ( #894 )
...
Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
2024-05-12 17:02:19 +02:00
dependabot[bot]
c107e974ca
chore(deps): bump the all group with 4 updates ( #902 )
...
Bumps the all group with 4 updates: [actions/checkout](https://github.com/actions/checkout ), [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ), [actions/setup-go](https://github.com/actions/setup-go ) and [codecov/codecov-action](https://github.com/codecov/codecov-action ).
Updates `actions/checkout` from 4.1.2 to 4.1.4
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4.1.2...0ad4b8fadaa221de15dcec353f45205ec38ea70b )
Updates `golangci/golangci-lint-action` from 5.0.0 to 5.3.0
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](82d40c283a...38e1018663
)
Updates `actions/setup-go` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](0c52d547c9...cdcb360436
)
Updates `codecov/codecov-action` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](84508663e9...5ecb98a3c6
)
---
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-minor
dependency-group: all
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 20:45:22 +02:00
dependabot[bot]
56fdc1292e
chore(deps): bump the all group across 1 directory with 4 updates ( #900 )
...
Bumps the all group with 4 updates in the / directory: [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery ), [github.com/gin-contrib/requestid](https://github.com/gin-contrib/requestid ), [github.com/jmoiron/sqlx](https://github.com/jmoiron/sqlx ) and [modernc.org/sqlite](https://gitlab.com/cznic/sqlite ).
Updates `github.com/PuerkitoBio/goquery` from 1.9.1 to 1.9.2
- [Release notes](https://github.com/PuerkitoBio/goquery/releases )
- [Commits](https://github.com/PuerkitoBio/goquery/compare/v1.9.1...v1.9.2 )
Updates `github.com/gin-contrib/requestid` from 1.0.0 to 1.0.1
- [Release notes](https://github.com/gin-contrib/requestid/releases )
- [Changelog](https://github.com/gin-contrib/requestid/blob/master/.goreleaser.yaml )
- [Commits](https://github.com/gin-contrib/requestid/compare/v1.0.0...v1.0.1 )
Updates `github.com/jmoiron/sqlx` from 1.3.5 to 1.4.0
- [Release notes](https://github.com/jmoiron/sqlx/releases )
- [Commits](https://github.com/jmoiron/sqlx/compare/v1.3.5...v1.4.0 )
Updates `modernc.org/sqlite` from 1.29.6 to 1.29.8
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.29.6...v1.29.8 )
---
updated-dependencies:
- dependency-name: github.com/PuerkitoBio/goquery
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: github.com/gin-contrib/requestid
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: github.com/jmoiron/sqlx
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: modernc.org/sqlite
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 19:12:49 +02:00
Paco Esteban
02247b215b
refactor: allow specific sqlite engine for OpenBSD ( #780 )
...
* remove dependencies that use syscall.Syscall*
OpenBSD will be removing direct access to `syscall(2)` soon.
Shiori will stop working because of this, as some of its dependencies
rely heavily on the use of `syscall.Syscall*`, which ends up using
`syscall(2)`. This commit removes those dependencies by reverting back
to use github.com/mattn/go-sqlite3 instead of modernc.org/sqlite to deal
with the sqlite database backend.
* add ~emersion/go-sqlite3-fts5
* enable cgo to check ci
* fts5 build flag
* split sqlite logic using build flags
* disable cgo again
* added ci test for bsd systems
* remove openbsd ci
* Revert "remove openbsd ci"
This reverts commit f394148385
.
* fix makefile go_test_flags
---------
Co-authored-by: Felipe M <me@fmartingr.com>
Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
2024-05-02 16:38:16 +02:00
dependabot[bot]
59a53fb56d
chore(deps): bump the all group across 1 directory with 4 updates ( #895 )
...
Bumps the all group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout ), [actions/download-artifact](https://github.com/actions/download-artifact ), [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) and [actions/upload-artifact](https://github.com/actions/upload-artifact ).
Updates `actions/checkout` from 4.1.2 to 4.1.4
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](9bb56186c3...0ad4b8fada
)
Updates `actions/download-artifact` from 4.1.4 to 4.1.7
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](c850b930e6...65a9edc588
)
Updates `golangci/golangci-lint-action` from 4.0.0 to 5.0.0
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](3cfe3a4abb...82d40c283a
)
Updates `actions/upload-artifact` from 4.3.1 to 4.3.3
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](5d5d22a312...65462800fd
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: actions/download-artifact
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: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 12:28:23 +02:00
Felipe Martin
31767f75e6
feat: new migrations system ( #876 )
...
* feat: new migration system
* use newFuncMigration
* database version -> database schema version
* column name
* use path instead of filepath for goembed
* simplified migrations, added backwards compatible migrations
2024-04-27 07:46:36 +02:00
Monirzadeh
b8a357829d
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
2024-04-21 00:59:03 +02:00
dependabot[bot]
b0ca9816be
chore(deps): bump codecov/codecov-action in the all group ( #890 )
...
Bumps the all group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action ).
Updates `codecov/codecov-action` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](7afa10ed9b...84508663e9
)
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-20 08:45:10 +02:00
Felipe Martin
db313f5c62
fix: authentication flow should abort early ( #888 )
...
* fix: finish connection once we send auth response
* removed interface for now
* handle authentication in each route group
* tags api tests
* typo
* testutil improvements
* bookmarks api auth
* cache update requires owner
2024-04-13 19:45:03 +02:00
Felipe Martin
86337a088b
deps: update go to 1.22.2 and all dependencies ( #889 )
2024-04-13 17:59:22 +02:00
Felipe Martin
c77a542a5b
fix(ci): renamed deprecated golangci property ( #887 )
2024-04-13 09:18:31 +02:00
Manu
9bf3dae35d
docs: add PikaPods managed hosting option ( #881 )
...
* Add PikaPods hosting option
* Add landing page link
2024-04-13 09:18:12 +02:00
Benjamin S. Osenbach
394d17b3a5
ci: create zip archives for windows builds ( #884 )
2024-04-13 09:16:01 +02:00
Felipe Martin
6254f7750a
fix(ci): prevent tagging docker image as latest on every push ( #882 )
2024-04-08 15:37:17 +02:00
dependabot[bot]
a281543e6f
chore(deps): bump the all group with 2 updates ( #880 )
...
Bumps the all group with 2 updates: [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun ) and [codecov/codecov-action](https://github.com/codecov/codecov-action ).
Updates `oven-sh/setup-bun` from 194c60efc37fcfa5fa518543a35a9d2da5fe42a2 to 8f24390df009a496891208e5e36b8a1de1f45135
- [Release notes](https://github.com/oven-sh/setup-bun/releases )
- [Commits](194c60efc3...8f24390df0
)
Updates `codecov/codecov-action` from 4.1.1 to 4.2.0
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](c16abc29c9...7afa10ed9b
)
---
updated-dependencies:
- dependency-name: oven-sh/setup-bun
dependency-type: direct:production
dependency-group: all
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 12:51:51 +02:00
Monirzadeh
d358b7f018
ci: replace deprecated --rm-dist with clean ( #878 )
2024-04-07 21:56:43 +02:00
dependabot[bot]
9175708721
chore(deps): bump the all group with 2 updates ( #873 )
...
Bumps the all group with 2 updates: [actions/cache](https://github.com/actions/cache ) and [codecov/codecov-action](https://github.com/codecov/codecov-action ).
Updates `actions/cache` from 4.0.1 to 4.0.2
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](ab5e6d0c87...0c45773b62
)
Updates `codecov/codecov-action` from 4.1.0 to 4.1.1
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](54bcd8715e...c16abc29c9
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-07 21:55:43 +02:00
Felipe Martin
ceb392d22e
fix: use relative path for all API calls ( #872 )
...
Fixes #870
2024-04-07 21:33:22 +02:00
Felipe Martin
48db805480
fix: remove unfinished endpoints ( #877 )
2024-04-07 21:24:51 +02:00
Felipe Martin
47e7259714
fix(ci): use correct tag names on version bump ( #864 )
2024-03-30 08:44:02 +01:00
Felipe Martin
9c7483fd09
fix: override configuration from flags only if set ( #865 )
...
* fix: override configuration from flags only if set
* use helper func and test it
2024-03-30 08:33:05 +01:00
Felipe Martin
ce04b106eb
chore: updated github issue template ( #672 )
...
* chore: updated issue template
* Update bug_report.md
2024-03-27 07:25:46 +01:00
Zlendy
5a166906db
fix: use correct endpoint in rename tags operation ( #868 )
2024-03-25 23:54:55 +01:00
piano1029
21c95ac70d
docs: Add securityContext to provided Kubernetes manifest ( #859 )
2024-03-23 18:52:02 +01:00
dependabot[bot]
8ba90be11f
chore(deps): bump the all group with 8 updates ( #861 )
...
Bumps the all group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout ) | `4.1.1` | `4.1.2` |
| [actions/download-artifact](https://github.com/actions/download-artifact ) | `4.1.1` | `4.1.4` |
| [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) | `3.7.0` | `4.0.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact ) | `4.3.0` | `4.3.1` |
| [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun ) | `a1800f471a0bc25cddac36bb13e6f436ddf341d7` | `194c60efc37fcfa5fa518543a35a9d2da5fe42a2` |
| [gotesttools/gotestfmt-action](https://github.com/gotesttools/gotestfmt-action ) | `2.1.0` | `2.2.0` |
| [actions/cache](https://github.com/actions/cache ) | `3.3.3` | `4.0.1` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action ) | `3.1.5` | `4.1.0` |
Updates `actions/checkout` from 4.1.1 to 4.1.2
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](b4ffde65f4...9bb56186c3
)
Updates `actions/download-artifact` from 4.1.1 to 4.1.4
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](6b208ae046...c850b930e6
)
Updates `golangci/golangci-lint-action` from 3.7.0 to 4.0.0
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](3a91952989...3cfe3a4abb
)
Updates `actions/upload-artifact` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](26f96dfa69...5d5d22a312
)
Updates `oven-sh/setup-bun` from a1800f471a0bc25cddac36bb13e6f436ddf341d7 to 194c60efc37fcfa5fa518543a35a9d2da5fe42a2
- [Release notes](https://github.com/oven-sh/setup-bun/releases )
- [Commits](a1800f471a...194c60efc3
)
Updates `gotesttools/gotestfmt-action` from 2.1.0 to 2.2.0
- [Release notes](https://github.com/gotesttools/gotestfmt-action/releases )
- [Commits](65f1d2228f...8b4478c701
)
Updates `actions/cache` from 3.3.3 to 4.0.1
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.3.3...ab5e6d0c87105b4c9c2047343972218f562e4319 )
Updates `codecov/codecov-action` from 3.1.5 to 4.1.0
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](4fe8c5f003...54bcd8715e
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: actions/download-artifact
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: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: oven-sh/setup-bun
dependency-type: direct:production
dependency-group: all
- dependency-name: gotesttools/gotestfmt-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: all
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-23 18:46:13 +01:00
Felipe Martin
595cb45a2c
fix: point go-epub go correct repository ( #842 )
2024-02-13 19:19:43 +01:00
Felipe Martin
0368f4eaab
fix: update go-epub to latest version to avoid filename errors on windows ( #840 )
...
* link to pr latest commit
* latest go-epub from main branch
2024-02-13 09:01:43 +01:00
Felipe Martin
1ee762a161
fix: fix problems that may be raised from a 1.5.5 upgrade ( #837 )
...
* add missing flag to deprecated serve command
* docs references to initial account
* modify shiori serve references
* update dependencies
* remove serve from shiori -h docs output
* remove migrated routes
* fix faq heading levels
* downgrade go-epub to 1.2.0
2024-02-08 09:26:33 +01:00
Felipe M.
09bc9b4786
ci: improved autogenerated changelog on releases by categorizing the changes
2024-02-06 18:55:44 +01:00
Monirzadeh
82aa1e5080
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 <812088+fmartingr@users.noreply.github.com>
* remove unneeded comment
Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
* 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 <me@fmartingr.com>
Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
2024-02-05 10:21:23 +01:00
dependabot[bot]
15b2a1e5f1
chore(deps): bump the all group with 3 updates ( #830 )
...
Bumps the all group with 3 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact ), [actions/cache](https://github.com/actions/cache ) and [codecov/codecov-action](https://github.com/codecov/codecov-action ).
Updates `actions/upload-artifact` from 4.1.0 to 4.3.0
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](1eb3cb2b3e...26f96dfa69
)
Updates `actions/cache` from 3.3.3 to 4.0.0
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](e12d46a63a...13aacd865c
)
Updates `codecov/codecov-action` from 3.1.4 to 3.1.5
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](eaaf4bedf3...4fe8c5f003
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: all
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-03 17:34:33 +01:00
dependabot[bot]
84e5b09c4c
chore(deps): bump the all group with 3 updates ( #815 )
...
Bumps the all group with 3 updates: [actions/download-artifact](https://github.com/actions/download-artifact ), [actions/upload-artifact](https://github.com/actions/upload-artifact ) and [actions/cache](https://github.com/actions/cache ).
Updates `actions/download-artifact` from 4.1.0 to 4.1.1
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](f44cd7b40b...6b208ae046
)
Updates `actions/upload-artifact` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](c7d193f32e...1eb3cb2b3e
)
Updates `actions/cache` from 3.3.2 to 3.3.3
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](704facf57e...e12d46a63a
)
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 21:24:59 +01:00
dependabot[bot]
0c876bcd89
chore(deps): update ci dependencies ( #812 )
...
Bumps the all group with 3 updates: [actions/download-artifact](https://github.com/actions/download-artifact ), [actions/setup-go](https://github.com/actions/setup-go ) and [actions/upload-artifact](https://github.com/actions/upload-artifact ).
Updates `actions/download-artifact` from 3.0.2 to 4.1.0
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](9bc31d5ccc...f44cd7b40b
)
Updates `actions/setup-go` from 4.1.0 to 5.0.0
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](93397bea11...0c52d547c9
)
Updates `actions/upload-artifact` from 3.1.3 to 4.0.0
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](a8a3f3ad30...c7d193f32e
)
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: all
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: all
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-13 09:10:24 +01:00
Felipe Martin
f72e2dec4a
deps: updated docker image versions ( #809 )
...
* deps: updated docker image versions
* use dockerhub alpine image
* use alpine image from dockerhub in ci
2023-12-30 08:03:10 +01:00
Felipe Martin
7c13626a5b
fix: strict usage of shiori prefix for environment variables in configuration ( #807 )
...
* fix: disable direct os lookuper
* config.setdefaults call config.http.setdefaults
* tests
* log level default in local run server
* store log level in configuration
2023-12-30 00:46:29 +01:00
Felipe Martin
55ec418070
docs: updated configuration page ( #808 )
2023-12-30 00:40:29 +01:00
Felipe Martin
cf7301c78f
Fixed lint errors after refactor ( #806 )
...
* removed git diff from swagger check script
* updated swagger docs
* removed ununsed calls
2023-12-28 18:37:19 +01:00
Felipe Martin
cc7c75116d
refactor: migrate bookmark static pages to new http server ( #775 )
...
* migrate bookmark content route to new http server
* new archive page
* remove unused go generate comment
* database mock
* utils cleanup
* unused var
* domains refactor and tests
* fixed secret key type
* redirect to login on ui errors
* fixed archive folder with storage domain
* webroot documentation
* some bookmark route tests
* fixed error in bookmark domain for non existant bookmarks
* centralice errors
* add coverage data to unittests
* added tests, refactor storage to use afero
* removed mock to avoid increasing complexity
* using deps to copy files around
* remove config usage (to deps)
* remove handler-ui file
2023-12-28 18:18:32 +01:00
Felipe Martin
fe6a306e9e
deps: upgrade ( #804 )
2023-12-27 12:41:25 +01:00
istiak101
f01f2dbc0d
fix: use noreferer to prevent exposing shiori instance url to archived websites ( #802 )
2023-12-27 11:59:16 +01:00
Felipe Martin
188ce68761
fix: generate coverage profile ( #797 )
2023-12-10 14:21:09 +01:00
Kirill A Kustov
3df4c0bcfb
Add Documentation>CLI>Add bookmark ( #794 )
...
* Create CLI.md
* Update index.md
2023-12-09 09:00:48 +01:00
JPFrancoia
00582090e4
docs: example deployment for kubernetes ( #754 )
...
* Adding docs on how to install with Kubernetes manifests.
* docs: community section
---------
Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
Co-authored-by: Felipe M <me@fmartingr.com>
2023-11-18 08:34:30 +01:00