Age serverside #174

Merged
bihe merged 5 commits from age_serverside into main 2025-08-01 11:56:38 +00:00
bihe commented 2025-08-01 11:52:09 +00:00 (Migrated from github.com)

Implement a serverside age encryption/decryption and get rid of the javascript/typescript frontend only version

Implement a serverside age encryption/decryption and get rid of the javascript/typescript frontend only version
codecov-commenter commented 2025-08-01 11:55:16 +00:00 (Migrated from github.com)

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Patch coverage is 33.42037% with 255 lines in your changes missing coverage. Please review.
Project coverage is 46.89%. Comparing base (4ce353e) to head (80dafa3).

Files with missing lines Patch % Lines
internal/core/web/html/page_age.go 0.00% 78 Missing ⚠️
...ernal/bookmarks/web/html/page_bookmarks_by_path.go 0.00% 49 Missing ⚠️
internal/mydms/html/page_documents.go 0.00% 27 Missing ⚠️
internal/core/app/agecrypt/age.go 68.83% 16 Missing and 8 partials ⚠️
internal/core/web/html/page_sites_edit.go 0.00% 19 Missing ⚠️
internal/core/web/html/page_sites.go 0.00% 17 Missing ⚠️
internal/core/web/templateHandler_age.go 84.26% 12 Missing and 2 partials ⚠️
internal/bookmarks/web/html/page_search.go 0.00% 13 Missing ⚠️
pkg/handler/html/page_layout.go 0.00% 13 Missing ⚠️
internal/core/router.go 0.00% 1 Missing ⚠️
Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #174      +/-   ##
==========================================
+ Coverage   46.42%   46.89%   +0.46%     
==========================================
  Files          83       84       +1     
  Lines        6595     6868     +273     
==========================================
+ Hits         3062     3221     +159     
- Misses       3344     3444     +100     
- Partials      189      203      +14     

View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
:warning: Please install the !['codecov app svg image'](https://github.com/codecov/engineering-team/assets/152432831/e90313f4-9d3a-4b63-8b54-cfe14e7ec20d) to ensure uploads and comments are reliably processed by Codecov. ## [Codecov](https://app.codecov.io/gh/bihe/monorepo/pull/174?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) Report :x: Patch coverage is `33.42037%` with `255 lines` in your changes missing coverage. Please review. :white_check_mark: Project coverage is 46.89%. Comparing base ([`4ce353e`](https://app.codecov.io/gh/bihe/monorepo/commit/4ce353ea4de6d37c4d02950ddbbfa29661f9cc8c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl)) to head ([`80dafa3`](https://app.codecov.io/gh/bihe/monorepo/commit/80dafa3e1324071cc1d016d3675336baff7c845d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl)). | [Files with missing lines](https://app.codecov.io/gh/bihe/monorepo/pull/174?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | Patch % | Lines | |---|---|---| | [internal/core/web/html/page\_age.go](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&filepath=internal%2Fcore%2Fweb%2Fhtml%2Fpage_age.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl#diff-aW50ZXJuYWwvY29yZS93ZWIvaHRtbC9wYWdlX2FnZS5nbw==) | 0.00% | [78 Missing :warning: ](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | | [...ernal/bookmarks/web/html/page\_bookmarks\_by\_path.go](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&filepath=internal%2Fbookmarks%2Fweb%2Fhtml%2Fpage_bookmarks_by_path.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl#diff-aW50ZXJuYWwvYm9va21hcmtzL3dlYi9odG1sL3BhZ2VfYm9va21hcmtzX2J5X3BhdGguZ28=) | 0.00% | [49 Missing :warning: ](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | | [internal/mydms/html/page\_documents.go](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&filepath=internal%2Fmydms%2Fhtml%2Fpage_documents.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl#diff-aW50ZXJuYWwvbXlkbXMvaHRtbC9wYWdlX2RvY3VtZW50cy5nbw==) | 0.00% | [27 Missing :warning: ](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | | [internal/core/app/agecrypt/age.go](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&filepath=internal%2Fcore%2Fapp%2Fagecrypt%2Fage.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl#diff-aW50ZXJuYWwvY29yZS9hcHAvYWdlY3J5cHQvYWdlLmdv) | 68.83% | [16 Missing and 8 partials :warning: ](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | | [internal/core/web/html/page\_sites\_edit.go](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&filepath=internal%2Fcore%2Fweb%2Fhtml%2Fpage_sites_edit.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl#diff-aW50ZXJuYWwvY29yZS93ZWIvaHRtbC9wYWdlX3NpdGVzX2VkaXQuZ28=) | 0.00% | [19 Missing :warning: ](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | | [internal/core/web/html/page\_sites.go](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&filepath=internal%2Fcore%2Fweb%2Fhtml%2Fpage_sites.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl#diff-aW50ZXJuYWwvY29yZS93ZWIvaHRtbC9wYWdlX3NpdGVzLmdv) | 0.00% | [17 Missing :warning: ](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | | [internal/core/web/templateHandler\_age.go](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&filepath=internal%2Fcore%2Fweb%2FtemplateHandler_age.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl#diff-aW50ZXJuYWwvY29yZS93ZWIvdGVtcGxhdGVIYW5kbGVyX2FnZS5nbw==) | 84.26% | [12 Missing and 2 partials :warning: ](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | | [internal/bookmarks/web/html/page\_search.go](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&filepath=internal%2Fbookmarks%2Fweb%2Fhtml%2Fpage_search.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl#diff-aW50ZXJuYWwvYm9va21hcmtzL3dlYi9odG1sL3BhZ2Vfc2VhcmNoLmdv) | 0.00% | [13 Missing :warning: ](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | | [pkg/handler/html/page\_layout.go](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&filepath=pkg%2Fhandler%2Fhtml%2Fpage_layout.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl#diff-cGtnL2hhbmRsZXIvaHRtbC9wYWdlX2xheW91dC5nbw==) | 0.00% | [13 Missing :warning: ](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | | [internal/core/router.go](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&filepath=internal%2Fcore%2Frouter.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl#diff-aW50ZXJuYWwvY29yZS9yb3V0ZXIuZ28=) | 0.00% | [1 Missing :warning: ](https://app.codecov.io/gh/bihe/monorepo/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl) | :exclamation: Your organization needs to install the [Codecov GitHub app](https://github.com/apps/codecov/installations/select_target) to enable full functionality. <details><summary>Additional details and impacted files</summary> ```diff @@ Coverage Diff @@ ## main #174 +/- ## ========================================== + Coverage 46.42% 46.89% +0.46% ========================================== Files 83 84 +1 Lines 6595 6868 +273 ========================================== + Hits 3062 3221 +159 - Misses 3344 3444 +100 - Partials 189 203 +14 ``` </details> [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/bihe/monorepo/pull/174?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl). :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Henrik+Binggl). <details><summary> :rocket: New features to boost your workflow: </summary> - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems. </details>
Sign in to join this conversation.
No description provided.