9cc3b1f8c7
fix: Do not use meta columns as key
...
Signed-off-by: Enjeck C <patrathewhiz@gmail.com >
2025-11-03 18:21:11 +00:00
e5847024a6
feat: activity support
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
2025-10-13 14:46:45 +01:00
2f19064a22
fix: Properly validate selection-check type
...
Signed-off-by: Enjeck C <patrathewhiz@gmail.com >
2025-09-25 04:54:01 +01:00
d8240affde
run php cs linter
...
Signed-off-by: silver <s.szmajduch@posteo.de >
2025-09-25 04:54:01 +01:00
aa745248aa
refactor mandatory columns validation
...
Signed-off-by: silver <s.szmajduch@posteo.de >
2025-09-25 04:54:01 +01:00
05e3afc5d5
fix: redundant check
...
Signed-off-by: Enjeck C <patrathewhiz@gmail.com >
2025-09-25 04:54:01 +01:00
19a9774495
fix: implement mandatory column validation in row data processing
...
Signed-off-by: Enjeck C <patrathewhiz@gmail.com >
2025-09-25 04:54:01 +01:00
c81338f0b7
Merge pull request #1718 from nextcloud/enh/noid/is-not-equal
...
feat(Filter): add is-not-equal and does-not-contain operator
2025-09-24 14:04:16 +02:00
72371ded91
Enhancement: Update rows via import
...
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com >
2025-09-24 06:10:42 +01:00
0cbd8681d4
feat(Filter): add is-not-equal operator
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de >
2025-09-24 06:09:40 +01:00
1aca11efc6
Enhancement: add a read-only option to view columns
...
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com >
2025-09-07 03:57:46 +01:00
0c481f3f92
Merge pull request #1770 from nextcloud/feature/add-unique-values
...
Enhancement: Add validation for unique values for a short text fields
2025-08-15 10:22:33 +02:00
29761ebca1
Refactor row-in-view check and improve consistency
...
- changed endpoint to /view/{viewId}/row/{id}/present for consistency
- phpdoc for RowService isRowInViewPresent() return/throw behavior
- remove unnecessary rethrow in RowService isRowInViewPresent()
- change js checkRowInView() to avoid returning true on error
- moved duplicate js remove row logic into reusable function
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com >
2025-08-11 09:58:44 +02:00
748e974e89
feat: remove rows in view after edit when they no longer match filter
...
- backend: add new endpoint
- controller & service: for server-side check
- frontend: call check after insert and update, remove invalid rows
- wrap rows in <transition-group> to animate removal
- only animate when a row is removed due to filter mismatch
- CSS: fade+collapse leave transition
Closes #1691
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com >
2025-08-08 09:00:13 +01:00
e5c7720a62
Enhancement: Add validation for unique values for short text fields
...
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com >
2025-08-03 19:29:41 +03:00
e761f166d8
refactor: streamline row and column data handling by implementing caching and simplifying method signatures
...
Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com >
2025-07-08 12:14:31 +03:00
14d4b6f62a
Merge pull request #1688 from AIlkiv/refactor/columns-to-column-settings
...
refactor: restructure column config to support additional settings
2025-06-16 19:32:40 +02:00
ca314e8522
refactor: restructure column config to support additional settings
...
Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com >
2025-06-13 11:28:14 +00:00
d386450d62
fix(Row): find out necessary tableId for fetching the row
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de >
2025-05-22 19:07:34 +02:00
85df2c8247
fix: fix creation failure when using creator filter
...
Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com >
2025-03-12 12:35:09 +00:00
de39a298ea
fix: Properly create new rows in filtered views
...
Signed-off-by: Julius Knorr <jus@bitgrid.net >
2025-02-19 13:10:19 +01:00
1849033dbc
style(PHP): adjust to codestyle updates
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de >
2025-02-10 12:14:18 +01:00
8ecd70d9f2
fix(Rows): return correct status code when row update/delete lacks access
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de >
2024-10-15 13:43:39 +02:00
14b636a5aa
fix(Api1): return correct status code when row delete lacks permissions
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de >
2024-10-15 13:43:39 +02:00
629febb693
fix(Rows): return correct status code when row update lacks permissions
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de >
2024-10-15 13:43:39 +02:00
fcbba69d5c
refactor(Rows): switch front-end to use Row OCS API
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de >
2024-09-12 14:56:26 +02:00
9a46561716
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de >
2024-08-08 15:35:37 +02:00
1e2a0da783
chore: Cleanup methods to parse/transform values
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-07-31 09:52:17 +02:00
2a6a33887e
feat(Events): webhook compatible Row events with public model
...
- implements OCP\EventDispatcher\IWebhookCompatibleEvent
- add lib/Model/Public/Row as sort of API-like model for Tables Row data
- change exisiting events to use new abstract row event class
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de >
2024-07-18 14:21:55 +02:00
007ea403e0
feat: Add events for row added and row updated
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-07-18 14:21:55 +02:00
0c1ff07f16
enh(API): add OCS API to create rows
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de >
2024-06-24 17:36:35 +02:00
f82b6df8ab
Remove unneccessary user id
...
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com >
2024-04-11 17:46:19 +07:00
3b936ff041
Fix linting, psalm
...
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com >
2024-04-02 20:18:03 +07:00
7eca1c1f66
feat: Write critical operations to the audit log
...
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com >
2024-04-02 19:47:36 +07:00
3c039bac90
fix: Filter returned entity result by view columns
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-02-29 08:02:54 +01:00
4e9ef5cd1d
chore: fix lint
...
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com >
2024-02-09 13:59:15 +01:00
3cb2614556
enh: remove unnecessary dependency
...
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com >
2024-02-09 13:53:17 +01:00
e824226e4c
fix: properly delete rows in views
...
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com >
2024-02-09 13:53:17 +01:00
45dbc4a41a
fix: Pass all table columns along as we need them for filtering the rows
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-02-09 12:27:34 +01:00
7c2ef9fa0a
fix: Properly insert rows into views for the new db structure
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-02-01 11:59:16 +01:00
72b9ef39cc
fix: use all rows for querying row candidates if a filter on a not-accessible row is used
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2024-01-29 11:08:20 +01:00
bb74f19764
fix permission check
...
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com >
2024-01-29 11:04:48 +01:00
32fb5a2ab9
Revert "added some error details"
...
This reverts commit b87f19c1665b6b7700d5ee1cdd9e4cf1c548769b.
2024-01-29 11:04:47 +01:00
2b6945ef8e
added some error details
...
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com >
2024-01-29 11:04:47 +01:00
46be5b47b5
code cleanup
...
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com >
2024-01-29 11:04:47 +01:00
2951d0737e
Update lib/Service/RowService.php
...
Co-authored-by: Arthur Schiwon <blizzz@arthur-schiwon.de >
Signed-off-by: Florian <dev@d10t.de >
2024-01-29 11:04:47 +01:00
4f756947ab
code cleanup
...
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com >
2024-01-29 11:04:46 +01:00
d41e7173a5
rename row to row2 to avoid overlapping namespaces specially within the update process
...
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com >
2024-01-29 11:04:46 +01:00
98f013a786
code cleanup
...
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com >
2024-01-29 11:04:45 +01:00
3ef403cb72
split columns mapper find method into find() and findAll()
...
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com >
2024-01-29 11:04:45 +01:00