Commit Graph

58 Commits

Author SHA1 Message Date
mertmit
27c3c19d78 chore: lint
Signed-off-by: mertmit <mertmit99@gmail.com>
2026-02-27 16:38:28 +05:30
mertmit
e754b88d5b fix: dompurify issue
Signed-off-by: mertmit <mertmit99@gmail.com>
2026-02-27 15:20:30 +05:30
mertmit
c4fcf94c20 fix(security): sanitize HTML in comments and v-html paths (GHSA-qxwq, GHSA-8vm4, GHSA-rcph, GHSA-wwp2)
Stored XSS was possible through comments (backend accepted raw HTML,
frontend rendered via v-html without sanitization) and through formula/
long-text cells rendered with v-html.

Backend: Add DOMPurify.sanitize() to comment create and update in
CommentsService, stripping malicious HTML before storage.

Frontend: Replace v-html with v-dompurify-html in Comments.vue,
Formula.vue, and ExpandedText.vue for defense-in-depth. The
vue-dompurify-html plugin is already registered globally.
2026-02-27 12:30:56 +05:30
mertmit
69a29568c7 chore: sync
Signed-off-by: mertmit <mertmit99@gmail.com>
2026-01-10 00:21:02 +03:00
Ramesh Mane
ef541eaff0 fix(nc-gui): rename color test grey to gray and nc-background to nc-bg 2025-08-14 16:54:27 +05:30
Ramesh Mane
a6eb89090c fix(nc-gui): null is always visible in canvas 2025-04-01 09:54:59 +00:00
Fendy Heryanto
cb35d2070e check showNull on canvas 2025-04-01 09:54:59 +00:00
Ramesh Mane
9770b2e279 chore(nc-gui): lint 2025-03-25 13:19:32 +00:00
DarkPhoenix2704
5b5dce2783 fix: formula not gettign truncated 2025-03-20 06:45:45 +00:00
Ramesh Mane
2637a98f81 chore(nc-gui): lint 2025-03-19 20:42:33 +00:00
DarkPhoenix2704
b48d79f7d4 fix: resize is broken 2025-03-18 16:20:09 +00:00
Ramesh Mane
ff94227efe fix(nc-gui): pw test fail issue 2025-03-08 11:26:39 +00:00
Ramesh Mane
7124bed023 chore(nc-gui): lint 2025-03-08 11:26:37 +00:00
Ramesh Mane
1a06c0af66 fix(nc-gui): Allow expand cell option for formula field when content length is more 2025-03-08 11:26:37 +00:00
Amit Joki
055a526c34 refactor: use computed refs 2025-01-25 13:53:58 +00:00
Anbarasu
a5fc9be175 feat: Formula colouring and improved suggestions (#9072)
* feat: formula language

* feat: formula coloring and ux improvements

* fix: suggestions generation

* fix: handle undefined editor

* fix: handle formula errors

* fix: update imports

* fix: minor corrections

* fix: test corrections

* fix: increase timeout

* fix: clear existing formulas before pasting

* fix: ux improve

* fix: ux improve

* fix: coloring issue

* fix: remove styles

* fix: handle wrapping

* fix: bug fixes

* fix: strict suggestion handling

* fix: update indent strategy

* fix: handle formula in nested state and unbalanced parens

* fix: formula fix

* chore: sync dependencies
2024-07-30 13:47:07 +05:30
Anbarasu
b9a15f2c51 feat: formula formatting support (#9048)
* feat: numeric formula formatting support

* feat: support url, email and phone feat: add datetime supports feat: add checkbox support

* fix: clean up

* fix: handle invalid source, fix: handle plain cell chore: translations

* fix: update the datatype when formula changes

* fix: formula fixes

* fix: tab ui

* fix: pr review changes
2024-07-24 21:26:06 +05:30
Mert E
89f0895de3 fix: experimental frontend optimizations (#8427)
* fix: get rid of barrel files

* chore: get rid of explicit imports

* fix: use explicit import for classes and enums

* fix: use explicit import for enum & class & aliases

* fix: build issues
2024-05-08 15:55:09 +05:30
Pranav C
6a905e9f2b fix: left align number in expanded form 2024-02-07 14:08:21 +00:00
Pranav C
27aba09c24 refactor: align on right side if result type is number 2024-02-07 14:08:20 +00:00
Ramesh Mane
22220fd238 fix(nc-gui): link record expanded form fields spacing issue 2024-01-20 11:37:17 +00:00
Ramesh Mane
89b3ccfa20 fix: lint error 2024-01-02 08:15:25 +00:00
Ramesh Mane
4f4a071515 fix: percent field text select on focus issue 2023-12-27 11:22:03 +05:30
Ramesh Mane
530978586e Merge branch 'develop' into fix/expanded-record-ux 2023-12-27 10:38:14 +05:30
Ramesh Mane
e3e3e7d73e fix: lint errors 2023-12-27 00:19:45 +05:30
Ramesh Mane
8e7aaf8d16 fix: field alignment issue in expanded form 2023-12-27 00:10:45 +05:30
Pranav C
b7081169c2 fix: show null label if option enabled - formula 2023-12-26 18:40:18 +00:00
աɨռɢӄաօռɢ
9bc12eaee3 refactor(nc-gui): move common datetime utils functions to sdk 2023-11-05 14:55:50 +08:00
Pranav C
e790abdbaf refactor: rename project and base
- Rename `Project`  => `Base`
- Rename `Base` => `Source`
- Remove `db` from data/meta api endpoints
- Add backward compatibility for old apis
- Migrations for renaming table and columns

Signed-off-by: Pranav C <pranavxc@gmail.com>
2023-10-02 23:52:18 +05:30
DarkPhoenix2704
0dbd47bd27 fix: style 2023-09-20 19:14:36 +05:30
աɨռɢӄաօռɢ
56a6466db3 Revert "Revert "refactor: timezone"" 2023-05-20 18:24:38 +08:00
Pranav C
ad1757b13b Revert "refactor: timezone" 2023-05-20 15:47:23 +05:30
Wing-Kam Wong
b3790bc43f refactor(nc-gui): avoid passing isMssql flag 2023-05-18 09:55:32 +05:30
Wing-Kam Wong
115e29467e refactor(nc-gui): revise renderValue for formula & LTAR 2023-05-18 09:38:17 +05:30
Wing-Kam Wong
351e07d607 fix(nc-gui): revise datetime render value logic 2023-05-17 18:02:21 +05:30
Wing-Kam Wong
4472da3235 fix(nc-gui): formula rendering logic 2023-05-17 17:16:53 +05:30
Wing-Kam Wong
905b67bcc6 refactor(nc-gui): lint 2023-05-17 09:44:33 +05:30
Wing-Kam Wong
f5e7e1350e fix(nc-gui): handle null formula result case 2023-05-17 11:39:40 +08:00
Wing-Kam Wong
3035ed69bc fix(nc-gui): revise datetime extraction regex 2023-05-16 16:45:05 +08:00
Wing-Kam Wong
a846c90788 fix(nc-gui): make it computed value 2023-05-15 18:09:41 +08:00
Wing-Kam Wong
3804c96337 fix(nc-gui): revise datetime format in renderResult 2023-05-15 17:04:52 +08:00
Wing-Kam Wong
d98a84368d feat(nc-gui): convert datetime values in formula to local time 2023-05-15 16:27:47 +08:00
Wing-Kam Wong
414db7e289 fix(nc-gui): show either formula error or value 2023-01-09 21:35:57 +08:00
mertmit
5c433e3086 feat: team & settings modal data sources tab revised
Signed-off-by: mertmit <mertmit99@gmail.com>
2022-12-03 11:21:59 +03:00
Wing-Kam Wong
0b9b0f76d4 Merge branch 'develop' into feat/keyboard-manoeuvre 2022-11-30 16:44:02 +08:00
Daniel Spaude
dc3f9607a9 qrcode: also show 'Not editable/clearable' message for QR codes (similar to Formula) 2022-11-29 21:19:07 +03:00
Daniel Spaude
71c03ef725 extract 'show/clear not possible for non-editable columns' logic out into composable 2022-11-29 21:02:42 +03:00
Wing-Kam Wong
70ea1fda32 fix(nc-gui): lint 2022-11-28 19:01:01 +08:00
Wing-Kam Wong
2af5e7d224 fix(nc-gui): resolve PR comments 2022-11-28 17:37:09 +08:00
Wing-Kam Wong
83cc395810 feat(nc-gui): add computedFieldEditWarning & computedFieldDeleteWarning 2022-11-24 14:30:27 +08:00