495 Commits

Author SHA1 Message Date
31a9e3a92b build(OpenApi): adapt to updated openapi generator
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-07-16 21:29:21 +02:00
ced27123de refactor: turn columnSettings data from loose array to value object
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-07-15 17:37:49 +02:00
985f7920d4 enh: remove unnecessary comment
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
2025-07-11 08:38:47 +01:00
804eaa44cf fix: Add indexes on receiver and node
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
2025-07-10 08:01:31 +01:00
9ff0607126 enh: handle empty groups/circles
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
2025-07-10 08:01:31 +01:00
b75da4c2a8 Add support for circles in share retrieval
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
2025-07-10 08:01:31 +01:00
61297b9d46 fix(DB): reduce number of SQL queries to get shares
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-07-10 08:01:31 +01:00
37ca2f75ac refactor: simplify Columns::findAllByTable method
- simply this method, kill a lot of `null`s in the majority of the calls
- add a destinct method to cover the edge case
- improves clarity

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-07-09 15:24:57 +02:00
720b69e11c Merge pull request #1841 from AIlkiv/refactor/add-caching-columns
refactor: streamline row and column data handling by implementing cac…
2025-07-08 18:21:36 +02:00
49ad98353e Merge pull request #1881 from AIlkiv/fix-error-while-creating-column
fix: Error while creating column
2025-07-08 12:42:01 +02: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
0d54eec069 fix: Error while creating column
Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com>
2025-07-08 08:29:19 +00:00
f54eb7090f fix: add type hints
Signed-off-by: Elara6331 <elara@elara.ws>
2025-07-03 10:03:43 +02:00
416a630699 fix: format code
Signed-off-by: Elara6331 <elara@elara.ws>
2025-07-03 10:03:43 +02:00
34cdc4995c fix: properly populate metadata fields
Signed-off-by: Elara6331 <elara@elara.ws>
2025-07-03 10:03:43 +02:00
953e947caa fix: restore views fully
Signed-off-by: Elara6331 <elara@elara.ws>
2025-07-03 10:03:43 +02:00
bb84e3a67f perf: Switch to vite for bundling
Signed-off-by: Julius Härtl <jus@bitgrid.net>

fix: Imports

Signed-off-by: Julius Härtl <jus@bitgrid.net>

chore: Move to new file picker api for esm compatibility

Signed-off-by: Julius Härtl <jus@bitgrid.net>

fix: Make CI pass

Signed-off-by: Julius Härtl <jus@bitgrid.net>

fix: Update file picker usage

Signed-off-by: Julius Härtl <jus@bitgrid.net>

ci: Fix cypress

Signed-off-by: Julius Härtl <jus@bitgrid.net>

fix file picker

Signed-off-by: Julius Härtl <jus@bitgrid.net>

fix cypress

Signed-off-by: Julius Härtl <jus@bitgrid.net>

fix: Proper css for all entrypoints

Signed-off-by: Julius Härtl <jus@bitgrid.net>

fix: Properly load styles

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2025-06-25 18:40:39 +01:00
16858f9aa1 fix: composer run cs:fix
Signed-off-by: Enjeck C <patrathewhiz@gmail.com>
2025-06-21 12:16:21 +01:00
72ca6cbc18 fix: handle null description in TableService
Signed-off-by: Enjeck C <patrathewhiz@gmail.com>
2025-06-20 08:24:00 +01: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
0991c10a3e Merge pull request #1754 from nextcloud/fix/1751
fix: Properly display teams in usergroup
2025-06-16 08:07:58 +01: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
3cbcf446fe fix: Use group display name for usergroup
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
2025-06-06 06:27:19 +01:00
4513072622 fix: Use elvis operator instead of null coalesing since values cannot be null
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
2025-06-06 06:27:19 +01:00
42eb27649e enh: Add parentheses to ternary operation
Co-authored-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Enjeck <32180937+enjeck@users.noreply.github.com>
2025-06-06 06:27:19 +01:00
fca79c7352 fix: Properly display teams in usergroup
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-06-06 06:27:19 +01:00
7c290d4276 refactor(Row): remove unused parameter from private API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-05-22 19:07:34 +02: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
bb548f50cf refactor(Controller): remove private ColumnsController
… and use the Api1 instead. This one is also involved in integration tests
while the ColumnsController not and could have only be used in the front-
end anyways.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-05-21 12:41:15 +02:00
3a3e0588d8 Merge pull request #1752 from nextcloud/fix/1722/apply-table-perms-on-views
fix(Permissions): view permissions inherit from table permissions
2025-05-20 22:39:09 +02:00
f5bbae2929 feat(Mapper): add runtime cache for View and Table mappers
Typically they are already fetched by PermissionMiddleware, yet need to be
used also later in the business logic, and possible in more than one place.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-24 12:59:38 +02:00
2fc4f17572 fix(Permissions): view permissions inherit from table permissions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-24 12:59:38 +02:00
9ac3af5e14 Reverse column and row order when deleting
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
2025-04-24 07:06:33 +01:00
16f9446cf5 refactor: optimized parseEntities for better efficiency
Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com>
2025-04-20 18:09:49 +00:00
79f8341016 fix: Properly update usergroup cells
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-04-14 20:16:03 +01:00
972d715530 Enhancement: Improve viewer integration for images
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-04-09 15:15:54 +02:00
78167f9def enh: remove redundant primary key index
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-04-08 06:52:39 +01:00
6da4eb81a1 get default values for number columns
normal getData does not deliver any values for numbers with just default values

Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-04-01 15:22:14 +02:00
5289fdd6a6 Merge pull request #1661 from michaelkuhn/import-fix-datetime
fix(Import): Fix DateTime subtype checks
2025-03-20 21:03:07 +01:00
0142e95df0 Merge pull request #1689 from AIlkiv/fix/record-create-fail-with-filrer-creator
fix: fix creation failure when using creator filter
2025-03-19 20:45:20 +01:00
4f37322ba4 fix: use proper meta column names for sorting
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-13 08:15:20 +01: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
c7e721acc9 enh: Make method return type nullable
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-04 05:45:22 +00:00
f3f26ceee8 fix: enhance table before export
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-04 05:45:22 +00:00
9cf714317d fix: Export empty view array when exporting shared tables
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-04 05:45:22 +00:00
817092288e fix(Import): Fix DateTime subtype checks
Trying to import a table with dates resulted in the following error:
```
Cannot use object of type OCA\Tables\Db\Column as array in file
'.../tables/lib/Service/ImportService.php' line 171
```

Signed-off-by: Michael Kuhn <michael.kuhn@ovgu.de>
2025-02-28 15:37:35 +01:00
3f5fc03d8c refactor(Service): use constants instead of hard-coded strings
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-02-19 13:43:42 +01:00
56a9fc3712 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:43:42 +01: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
adf2bd5620 fix(Rows): input sort order was not supposed to be reversed
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-02-14 12:27:13 +01:00