ToolJet/server
Shubham Gupta ef62bdafba
feat: track last_accessed_at per workspace (#15473)
* feat: track last_accessed_at per workspace

- Add migration to add last_accessed_at (NOT NULL, default now()) to organizations table
- Add lastAccessedAt field to Organization entity
- Update validateUserSession() to accept organizationId and fire-and-forget update last_accessed_at (throttled to once per 5 min)
- Update generateLoginResultPayload() to unconditionally update last_accessed_at on login and workspace switch
- Update jwt.strategy.ts to extract organizationId before validateUserSession() call
- Update ISessionService interface to reflect new validateUserSession signature

* public app support and refactor

* time fix

* chore: update version to 3.20.124-lts across all components

---------

Co-authored-by: Shubham Gupta <shubham@Shubhams-MacBook-Air.local>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2026-03-18 00:20:59 +05:30
..
data-migrations Merge pull request #15530 from ToolJet/fix/ssl-toggle-mongo 2026-03-12 14:33:14 +05:30
ee@29a650c31f 🚀 chore: update submodules to latest lts-3.16 after auto-merge (#15578) 2026-03-16 22:19:15 +05:30
lib refactor: use setup script in top level context 2025-09-11 00:15:36 +05:30
migrations feat: track last_accessed_at per workspace (#15473) 2026-03-18 00:20:59 +05:30
scripts feat: add migration progress tracking for DropdownV2 component updates 2026-03-06 16:07:11 +05:30
src feat: track last_accessed_at per workspace (#15473) 2026-03-18 00:20:59 +05:30
templates Merge pull request #13780 from ToolJet/fix/bugs-11 2025-08-12 22:49:40 +05:30
test feat: add fe support for python wf (#15119) 2026-02-02 19:57:55 +05:30
.eslintrc.js Initial commit 2025-02-25 12:22:50 +05:30
.gitignore Platform LTS Final fixes (#13221) 2025-07-09 22:36:41 +05:30
.node-version Platform LTS Final fixes (#13221) 2025-07-09 22:36:41 +05:30
.npmrc specify node and npm version for server (#405) 2021-07-19 08:48:59 +05:30
.version feat: track last_accessed_at per workspace (#15473) 2026-03-18 00:20:59 +05:30
data-migration-config.ts Node upgrade 18->22 (#12836) 2025-06-17 13:01:46 +05:30
dev-entrypoint.sh rebase with lts-3.16 2026-01-27 11:58:36 +05:30
eslint.config.js Cloud licensing related changes (#13033) 2025-07-02 10:57:36 +05:30
jest.config.ts refactor(tests): clean up Python Bundle Generation tests and improve jest config 2026-01-06 13:37:12 +05:30
nest-cli.json Revamp: user journey emails (#9223) 2024-04-01 18:11:42 +05:30
ormconfig.ts feat(logging): enhance ORM logging capabilities and add custom query logger (#14223) 2025-09-30 19:17:21 +05:30
package-lock.json Vulnerability - Package upgrades (#15411) 2026-03-09 21:08:20 +05:30
package.json feat: New Dynamic AI Flow (#15189) 2026-02-18 20:50:01 +05:30
README.md Initial commit for nestjs 2021-07-08 11:10:27 +05:30
tsconfig.build.json Fixed: tsconfig oauth build issue 2025-02-25 14:54:54 +05:30
tsconfig.json feat(otel): Add request-based active and concurrent user metrics tracking (#14330) 2025-10-29 12:57:36 +05:30

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.