Commit Graph

74 Commits

Author SHA1 Message Date
18de832f57 fix(Import): DateTime import fixes
- do not try to pass `null` to DateTimeImmutable as it would cause an
  Exception
- be stricter on small letter-only values that might be turned into a
  DateTimeImmutable object because they match with timezone abbreviations
- do not consider pure numbers a date

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-02-19 13:18:42 +00:00
f140b4e818 fix: allow adding meta data columns to views again
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-01-09 13:59:55 +00:00
6023829404 fix(Import): reliable detection of intented datetime type
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-11-27 15:00:31 +01:00
483b4e830f test(reuse): add license files to office test docs
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-11-27 15:00:31 +01:00
af192fe475 tests(Integration): add ods test and consolidate scenarios in an outline
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-11-27 15:00:31 +01:00
c6634e7ff6 test(Integration): extend import test with xlsx data sets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-11-27 15:00:31 +01:00
9e519cb46f test(Integration): extends csv import test data
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-11-27 15:00:31 +01:00
ad3af8fb2b test(Behat): remove table from collection manager upon delete
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-16 10:08:43 +00:00
e0c7614c33 style(PHP): satisfy code style linter
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-16 10:08:43 +00:00
ba1bc4e976 tests(Behat): ensure folks without access cannot modify res via context
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-16 10:08:43 +00:00
91854cdeb9 tests(Behat): add CRUD tests on table issued via context
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-16 10:08:43 +00:00
e750f3f33b tests(Behat): add CRUD tests on table issued via context
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-16 10:08:43 +00:00
fc5e463db3 test(integration): inaccessible table shall respond 404
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-08 14:18:03 +02:00
0844c6e864 test(behat): check that returned created row matches input values
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-12 14:56:20 +02:00
011d3c48b4 test(behat): fix view had no columns assigned
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-12 14:55:45 +02:00
3eeb1101b9 test(behat): add tests on adding columns to views
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-12 14:55:11 +02:00
fef668ebc8 ci(behat): allow to specify scenario via env var
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-28 18:14:13 +02:00
9a46561716 chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-08 15:35:37 +02:00
b3d174f49a chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-07 20:39:40 +02:00
999bcceddf chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-05 20:51:55 +02:00
d710426fac tests: Allow running individual scenarios in behat
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-31 09:52:17 +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
6968538fdf enh: rename migration
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-07-31 09:51:12 +02:00
a320fc540e enh: improve usergroup column integration tests
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-07-31 09:05:57 +02:00
96f1bb0397 fix: remove usergroup column from legacy rowmapper test
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-07-31 09:05:56 +02:00
77886a2afb test: update integration tests for usergroup column
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-07-31 09:05:56 +02:00
ab3c8bf6dc enh: add value_type column
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-07-31 09:05:55 +02:00
b148c861de tests: add integration test for new column
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-07-31 09:05:55 +02:00
44a68701e3 fix: phpunit test
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-07-31 09:05:55 +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
54fc70d121 Extract selection option labels for Analytics
when column type selection is used, the datasource needs the labels, and not the internal ids

Signed-off-by: Rello <Rello@users.noreply.github.com>
2024-07-03 16:42:38 +02:00
6f59d70398 fix: modify update integration test status code
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-06-28 04:58:47 +01:00
8443dde347 feat: edit/create rows from tables interactive content widget (#952)
* feat: create and edit rows from tables interactive widget

Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>

---------

Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
2024-06-27 10:00:57 -04:00
e25e7c0048 ci(integration): kill servers softly
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-24 17:36:35 +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
2844049aa7 ci(integration): add more share-related tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-11 12:47:45 +02:00
b8089f81b5 ci(integration): test against context sharing
- also updates openapi, "context" was missing as a valid option

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-10 13:49:25 +02:00
007ed25453 test(integration): cases against context transfer ownership
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-06 21:22:52 +02:00
ba50e4b069 fix(Contexts): cast incoming node data on controller level
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-04 11:41:42 +02:00
9e394fb26d ci(integration): tests against context updates
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-04 11:41:42 +02:00
f5283e9823 ci(integration): tests against context deletion
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-05-06 12:31:14 +02:00
5a1ca5eb57 test(integration): add cases on invalid context reads
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-26 12:18:40 +02:00
6454df08c3 test(integration): add case on create context with inaccessible view
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-26 11:43:34 +02:00
f63f18c824 test(integration): add case on create context
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-26 11:43:34 +02:00
af581caf9c test(integration): add case reading a Context
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-25 12:54:22 +02:00
843ce3a61e test(integration): fix life cycle mgmt
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-25 11:20:33 +02:00
ad37925126 test(Integration): add contexts related tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-25 11:15:07 +02:00
44809da7e7 test(integration): improve failed test message
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-24 11:01:53 +02:00
f82b6df8ab Remove unneccessary user id
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2024-04-11 17:46:19 +07:00
ae59bc279a Add unit tests
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2024-04-02 20:50:33 +07:00