mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4121] [MERGED] HSB-450 feature: user last active on #4675
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4675
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4121
Author: @mirarifhasan
Created: 6/13/2024
Status: ✅ Merged
Merged: 6/21/2024
Merged by: @balub
Base:
next← Head:feat/user-last-active-on📝 Commits (4)
7278309feat: userLastActiveOnInterceptor added and update func added in userService28aef4dchore: changed user model parameter description289c42achore: commented out docker volume for hopp-old-servicef4345bechore: changed backend to work with secure cookies📊 Changes
8 files changed (+100 additions, -5 deletions)
View changed files
📝
docker-compose.yml(+2 -2)➕
packages/hoppscotch-backend/prisma/migrations/20240621062554_user_last_active_on/migration.sql(+2 -0)📝
packages/hoppscotch-backend/prisma/schema.prisma(+2 -1)📝
packages/hoppscotch-backend/src/app.module.ts(+5 -1)➕
packages/hoppscotch-backend/src/interceptors/user-last-active-on.interceptor.ts(+67 -0)📝
packages/hoppscotch-backend/src/interceptors/user-last-login.interceptor.ts(+0 -1)📝
packages/hoppscotch-backend/src/user/user.model.ts(+6 -0)📝
packages/hoppscotch-backend/src/user/user.service.ts(+16 -0)📄 Description
Closes HSB-450
Description
This PR introduces
lastActiveOncolumn inusertable of database to track user's last activity timestamp.For the client-side note,
lastActiveOnfield added in GQL model.Checks
Additional Information
Nil
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.