YuryShkoda
e1007e7e75
fix(api): return uid consistently from login and session endpoints
...
POST /SASLogon/login and GET /SASjsApi/session still returned the
old `id` field, while the rest of the ID->UID migration (#363 )
standardized on `uid`. Not functionally broken - Mongoose provides
a built-in `id` virtual by default (_id.toHexString()) that happened
to resolve to the same value as the new `uid` virtual - but it's an
inconsistent public API surface, and relying on that coincidence
wasn't the intent of the migration.
Neither of these files was touched by any of issue-361's own
commits, so this predates the merge rather than being caused by it.
- web.ts: login response and session storage now source from
user.uid explicitly
- session.ts: SessionResponse dropped its Omit<UserResponse, 'uid'>
+ id override in favor of just extending UserResponse
- verifyTokenInDB.ts: token-refresh path, same fix
- login.tsx / appContext.tsx: updated to read the corrected field
Verified with a real end-to-end request (genuine app boot, real
MongoDB, real CSRF handshake) - not just type-checking - to confirm
the actual HTTP response bodies carry uid, not id.
2026-07-15 10:56:28 +03:00
YuryShkoda
58c66c2ac4
Merge remote-tracking branch 'origin/main' into issue-361
2026-07-14 16:55:46 +03:00
YuryShkoda
386185d1a0
Merge remote-tracking branch 'origin/main' into cpr-fix
...
# Conflicts:
# api/package-lock.json
# api/package.json
# api/public/swagger.yaml
2026-07-14 16:28:10 +03:00
mulahasanovic
4f75fd290f
chore: pin axios versions
2026-04-01 20:55:50 +02:00
Trevor Moody
4f782025db
fix(deps): bump dependencies and resolve audit issues
2025-12-21 00:27:24 +00:00
Trevor Moody
d0c7968d66
build: updated package dependencies for /web
2025-09-19 18:24:58 +01:00
Allan Bowe
f5018ce1df
chore: prettier fix
2025-03-12 17:33:02 +00:00
Yury Shkoda
66232aefd2
chore(lint): bumped prettier and fixed lint issues
2023-09-21 17:58:47 +03:00
sabhas
1531e9cd9c
chore: addressed comments
2023-08-08 15:01:32 +05:00
Yury Shkoda
0f91395fbb
lint: fixed linting issues
2023-07-24 18:36:08 +03:00
sabhas
093fe90589
feat: replace ID with UID
...
BREAKING CHANGE: remove auto incremental ids from user, group and permissions and add a virtual uid property that returns string value of documents object id
2023-05-09 15:01:56 +05:00
Yury Shkoda
bd1b58086d
docs: left a comment regarding payload parts
2023-05-02 12:10:17 +03:00
Yury Shkoda
a696168443
Merge branch 'main' of github.com:sasjs/server into issue-354
2023-05-02 11:17:41 +03:00
Yury Shkoda
eb42683fff
feat(editor): parse print output in response payload
2023-05-01 08:18:49 +03:00
Yury Shkoda
d2de9dc13e
fix(editor): fixed log/webout/print tabs
2023-05-01 07:28:23 +03:00
Yury Shkoda
64b156f762
fix(log): fixed chunk collapsing
2023-04-28 13:30:25 +03:00
Yury Shkoda
9c5acd6de3
fix(css): fixed css loading
2023-04-28 13:29:31 +03:00
Yury Shkoda
3848bb0add
feat(log): added time to downloaded log name
2023-04-27 18:53:45 +03:00
Yury Shkoda
56a522c07c
fix(log): fixed scrolling issue
2023-04-27 17:53:45 +03:00
Yury Shkoda
87e9172cfc
chore(log): used css module to declare classes
2023-04-27 17:52:57 +03:00
Yury Shkoda
777b3a55be
feat(log): put download log icon into log tab
2023-04-26 16:10:04 +03:00
Yury Shkoda
a38a9f9c3d
feat(log): added download chunk and entire log
2023-04-21 17:21:09 +03:00
Yury Shkoda
57b7f954a1
fix(log): fixed single chunk scrolling
2023-04-18 16:16:58 +03:00
Yury Shkoda
8254b78955
fix(log): fixed single chunk display
2023-04-18 15:46:53 +03:00
Yury Shkoda
75f5a3c0b3
feat(log): split large log into chunks
2023-04-18 11:42:10 +03:00
Yury Shkoda
c72ecc7e59
fix(log): fixing switching from SAS to other runtime
2023-04-11 16:52:36 +03:00
Yury Shkoda
e04300ad2a
fix(log): fixed default runtime
2023-04-11 16:42:24 +03:00
Yury Shkoda
c7a73991a7
fix(log): fixed switching runtime
2023-04-11 16:10:52 +03:00
Yury Shkoda
02e2b060f9
fix(log): fixed checks for errors and warnings
2023-04-11 15:21:46 +03:00
Yury Shkoda
3b1e4a128b
fix(log): fixed parsing log for different runtime
2023-04-11 14:45:38 +03:00
Yury Shkoda
7b12591595
feat(log): use improved log for SAS run time only
2023-04-11 14:18:42 +03:00
Yury Shkoda
3a887dec55
feat(log): added logComponent and LogTabWithIcons
2023-04-10 16:21:32 +03:00
Yury Shkoda
7c1c1e2410
feat(log): added parseErrorsAndWarnings utility
2023-04-10 15:45:54 +03:00
Yury Shkoda
15774eca34
chore(deps): added react-highlight
2023-04-10 15:40:27 +03:00
sabhas
edab51c519
fix: add location.pathname to location.origin conditionally
2023-03-07 15:37:22 +05:00
sabhas
2c31922f58
fix(web): add path to base in launch program url
2023-03-07 09:05:29 +05:00
sabhas
5e3ce8a98f
fix(web): add proper base url in axios.defaults
2023-03-01 21:45:18 +05:00
sabhas
69f2576ee6
fix: show loading spinner on login screen while request is in process
2023-01-26 22:27:43 +05:00
sabhas
abc34ea047
chore: npm audit fix
2022-12-07 20:26:31 +05:00
sabhas
71c429b093
fix: replace main class with container class
2022-12-07 20:25:06 +05:00
sabhas
1192583843
fix: stringify json file
2022-12-06 18:55:01 +05:00
sabhas
98d177a691
chore: audit fix
2022-11-28 23:55:21 +05:00
sabhas
1d48f8856b
feat: ask for updated password on first login
2022-11-22 19:58:17 +05:00
sabhas
68758aa616
chore: new password should be different to current password
2022-11-22 15:26:22 +05:00
sabhas
8b8c43c21b
feat(web): add the UI for updating user password
2022-11-22 00:03:25 +05:00
sabhas
b47e74a7e1
chore: styles fix
2022-11-22 00:01:58 +05:00
sabhas
acc25cbd68
fix(web): dispose monaco editor actions in return of useEffect
2022-11-11 15:27:12 +05:00
sabhas
c51b50428f
fix(web): use mui treeView instead of custom implementation
2022-11-06 01:14:58 +05:00
sabhas
2412622367
fix: add action to editor ref for running code
2022-10-10 16:51:46 +05:00
Allan Bowe
3bb05974d2
fix: spelling issues
2022-10-03 13:10:30 +00:00