[PR #574] [CLOSED] Propagate IP to trpc ctx #1661

Closed
opened 2026-03-02 11:58:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/574
Author: @MohamedBassem
Created: 10/19/2024
Status: Closed

Base: mainHead: pr573


📝 Commits (4)

  • c4bce80 How do I set the variable "user" or "system" for AI inference #262
  • 9aec069 [Feature Request] Log failed login attempts for fail2ban implementation
  • 6fa199a [Feature Request] Log failed login attempts for fail2ban implementation #477
  • af58635 Propagate IP to trpc ctx

📊 Changes

9 files changed (+116 additions, -12 deletions)

View changed files

📝 apps/web/package.json (+2 -0)
📝 apps/web/server/api/client.ts (+26 -3)
📝 apps/web/server/auth.ts (+9 -2)
📝 packages/shared/logger.ts (+19 -0)
📝 packages/trpc/auth.ts (+11 -0)
📝 packages/trpc/index.ts (+6 -0)
📝 packages/trpc/routers/apiKeys.ts (+20 -7)
📝 packages/trpc/testUtils.ts (+3 -0)
📝 pnpm-lock.yaml (+20 -0)

📄 Description


Stack created with Sapling. Best reviewed with ReviewStack.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/574 **Author:** [@MohamedBassem](https://github.com/MohamedBassem) **Created:** 10/19/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `pr573` --- ### 📝 Commits (4) - [`c4bce80`](https://github.com/karakeep-app/karakeep/commit/c4bce808f51e7d90a2fc17ff7aa39df8d579cec1) How do I set the variable "user" or "system" for AI inference #262 - [`9aec069`](https://github.com/karakeep-app/karakeep/commit/9aec069de0bdc7267e9fb4e081d8b2dad59ac08b) [Feature Request] Log failed login attempts for fail2ban implementation - [`6fa199a`](https://github.com/karakeep-app/karakeep/commit/6fa199a0972376d70295d8068d536a2c53ebc953) [Feature Request] Log failed login attempts for fail2ban implementation #477 - [`af58635`](https://github.com/karakeep-app/karakeep/commit/af58635a9d77898fd7838c964b8aa7bfe0645ada) Propagate IP to trpc ctx ### 📊 Changes **9 files changed** (+116 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/package.json` (+2 -0) 📝 `apps/web/server/api/client.ts` (+26 -3) 📝 `apps/web/server/auth.ts` (+9 -2) 📝 `packages/shared/logger.ts` (+19 -0) 📝 `packages/trpc/auth.ts` (+11 -0) 📝 `packages/trpc/index.ts` (+6 -0) 📝 `packages/trpc/routers/apiKeys.ts` (+20 -7) 📝 `packages/trpc/testUtils.ts` (+3 -0) 📝 `pnpm-lock.yaml` (+20 -0) </details> ### 📄 Description --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/hoarder-app/hoarder/pull/574). * __->__ #574 * #569 * #573 * #572 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:58:36 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1661
No description provided.