Commit Graph

62 Commits

Author SHA1 Message Date
e5847024a6 feat: activity support
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-10-13 14:46:45 +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
72ca6cbc18 fix: handle null description in TableService
Signed-off-by: Enjeck C <patrathewhiz@gmail.com>
2025-06-20 08:24:00 +01: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
1849033dbc style(PHP): adjust to codestyle updates
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-02-10 12:14:18 +01:00
20cdc2c3f0 feat(Templates): extend the tutorial table
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-01-15 12:03:47 +01:00
5e1ea605c3 fix: Remove deleted resource from associated applications
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-08-27 14:39:59 +01:00
9a46561716 chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-08 15:35:37 +02:00
9255651354 add fake form to download tables export
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-07-24 13:36:04 +02:00
939867bdc0 add views to table scheme
add version to table scheme

move getScheme to tableService

Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-07-24 12:26:49 +02:00
8086f019c6 fix(Backend): use object over loose array for permissions
Solves issues with undefined array keys, but is said to be more performent
but also more clear when coding.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-04 11:25:49 +02:00
9558513ecc fix: wrongly inverted condition for adding shared tables
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-24 11:01:53 +02:00
7fbbbb1cfc fix: do not overwrite AllTables with tutorial one
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-24 11:01:53 +02:00
c9e4aadd27 feat(Contexts): return received tables and views
- that is through the internal endpoints /tables/table and /tables/view

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-24 10:51:19 +02:00
6822b9ef16 Merge pull request #932 from nextcloud/feat/54-add-an-introduction-textarea
Feat/54 add an introduction textarea
2024-04-23 22:10:11 +02:00
45dafe6554 add TableDescription To Context
move Table Description to EditTable

add tables Description to createTable

Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-04-17 15:14:03 +02:00
1f6e895261 add description to Tables
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-04-17 15:13:54 +02:00
6c85f7edfe Merge pull request #959 from hweihwang/feat/956 2024-04-16 07:42:28 +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
3cf2ca9b11 enh(Contexts): extend permission check
- checkPermission(ById) takes inherited permissions via Context into account
- adds query to fetch all contexts containing a certain node
- adds permission constants to Application

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-02 13:12:30 +02:00
32e3100e83 feat: Add backend for table archive and favorite flag
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-01 14:09:49 +01:00
a12dd7d342 fix: Only skip failing table data loading instead of full failure
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-15 10:41:00 +01:00
d0483833ce fix: properly delete tables with filtered view
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-02-14 12:54:02 +01:00
96f0c56e29 Adjust business logic to change tables ownership
- reuse and adjust from occ command
- adjust occ command logic to fit to the new business
- adjust permission service to allow those changes

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2024-01-11 13:14:42 +01:00
577733311e feat: transfer table ownership backend
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
2024-01-11 13:06:33 +01:00
e53bc51291 enh(api): renew API docs and setup API v2 (#615)
- adjust setup to make use of the new API extractor
- add all needed types to extract API v1
- setup structure and first endpoints for API v2

add selection column description and test it



fix php 7.4 backwards compatibility



add tests for basic column creations



add a endpoint to request column objects



update openapi.json



make psalm return type more precise



fix psalm types recognition



fix route



cleanup debug info



Cleanup annotations



Hide sensitive data from showing to the users.



Refactor OCS-API-Controller to abstract class



Update lib/Db/Column.php




Update lib/Controller/ApiGeneralController.php




Update lib/Controller/ApiTablesController.php




Update lib/Controller/ApiTablesController.php




Update lib/Controller/MyOCSController.php




add specific endpoints to create different columns by type
- fix error handling in ColumnService.php



add basic integration tests for the api v2 table endpoints



fix api routes & update API docs



cypress fix typo



initial new API setup
- introduce api v2
- organise API methods in own controllers
- Add virtual version tag to the names in docs
- use OCS routes and controllers



Setup skeleton to keep old api v1 and setup v2 with integration testing



try to use php8.1 for over all CI



add openapi.json



CI settings



Make use of automated API doc generating
- add annotations for API routed methods
- refactor to ensure type safety
- add psalm types and usage
- correct API return codes ️breaking changes ️

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2023-11-13 13:57:41 +01:00
2b620b0771 fix(design): correct show share icon (#555)
- only show if hasShares and you are the owner
- don't show hasShares if shared with you

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2023-09-13 21:48:16 +02:00
1075a1b784 add searching also for tables instead of only views
- add search for tables
- small code cleanups

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2023-09-11 12:31:42 +02:00
79b059c432 code cleanup
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2023-09-08 10:44:30 +02:00
6aa2031ce3 Update lib/Service/TableService.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Florian <florian.steffens@nextcloud.com>
2023-09-08 10:42:17 +02:00
831a39a679 fix(occ): change sender if a table owner changes
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2023-09-07 16:15:55 +02:00
5def6980d5 Feat(Views): Manage data presentation of tables by views (#426)
* preparations for views on BE side

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Handover

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* views: Shows all views and displays them

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Enables creating, editing and deleting views

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* feat(views navigation): Show views of all tables beneath them

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* fix(views): Repairing main view functions (Edit, Delete)

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* enh(edit view): Enables Sorting in views

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* enh(view): Enables sharing and integration of views

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* work in progress

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* work in progress

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Implements backend logic for filtering and extracting the relevant rows

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Creates first mockup for frontend filter UI

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fixing after rebase

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Finishes filter ui

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* fixes backend filtering with magic values

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* implements orderBy in the backend

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Implements orderBy in the frontend

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Breaking Change: Replaces tables with base views

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Removes empty filters and sorting rules before saving view

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Create columns from every view and select to which view to add them

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Refactor column menu for frontend view filtering and more

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Enh: New features: Reset view config, save it or create new view with it

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Enh: Menu reordering

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Show meta columns

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Restructures the edit column settings and therefore also the edit column modal

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* fix: Fixing textlink column

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fix: Import now works again

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fix: Global search for views works

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fix: Smart Picker Fix

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Integration of link to a specific row of a table; Preparation for more Link Previews

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Small fixes: Renaming, create shares, selection check filtering

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Implements new permission handling

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Implements new permission handling in the frontend + some adjustments

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Solves unauthorised concurrency problem and fixes column create/edit bugs

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Small fixes

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Small backend fixes

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Design improvements: Edit view

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Design improvements: Column header options

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Design improvements: Sidebar

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Design improvement: Other enhancements like view templates

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fix: Muliple shares are merged correctly to provide the permissions for the share receiver, small refactoring

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fixes migration of existing data

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* First step of cleanup, Solves TODOs

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Second step of cleanup, Format code, linting

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fix: Fixes sharing bugs

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* refactor: Resolving some code reviews

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Propper logging of exceptions

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* fix: permission bug fixes, apply additional frontend filters

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Updated API

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fix: Small bugfix for creating templates

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Refactor: Cleaning php code, exception handling, documentation, etc.

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Security: Send only data from columns from the corresponding view to the frontend

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Import for not base views + Mandatory & parsing check

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Enh/views menu and views modal (#435)

* Enables creating, editing and deleting views

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* enh(view): Enables sharing and integration of views

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* adjust, shorten menus, change icon and fix typo

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* changed icon, add button to reset local view config

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* changed icon, add button to reset local view config

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* changed icon, add button to reset local view config

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* wording: clone -> duplicate

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* cleanup

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

---------

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
Signed-off-by: Florian <florian.steffens@nextcloud.com>
Co-authored-by: Philipp Hempel <Philipp.Hempel1@web.de>

* WIP: Removes base views, adds dashboard

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* WIP: Adding Table to Dashboard

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fixes most functionality

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* feat: Save/create view with frontend config repaired and improved

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fix: Create view repair, sharing shared elements possible now

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Prepares NcTable component for reusability

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* updated dashboard

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* View settings for hidden properties

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Refactor: reordering of structure of branch and clean up

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* move all modals into a new module
-> modals are independent from any modules etc. so it's good to have them in one place together

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* WIP, update Florian
- Dashboard
     edit table name and emoji
     make edit view and delete view usable
     remove hover-effects
- add delete table modal
- add delete view modal (was inline before)
- cleanup modals structure
- rename some "dashboard" to "Table" names
- add routes and methods to update tables (title && emoji)
- no routing after update view settings by default
- fix typos

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* small bug fixes

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* WIP pgsql compatibility

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Revert row path changes due to bugs and no time to fix

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Implements filter and sorting functionality for PostgreSQL

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fixes bugs: Show views shared with group, jump to created view, open table collapsable with view, improving searching, viewSetting in table

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Fixes small create view bug

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Update and cleanup API

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Show row id in url for row widget

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Small bug fixes

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* psalm fixes

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* WIP add custom smart picker

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* WIP smart picker with content views

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* WIP make NcTable scrollable in widget

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Makes ncTable reusable and thus the widgets working

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* code cleanup

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix unit tests

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* ci fixes

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* ci fixes

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* add editTable options

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* cypress fixes

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Small bug fixes and clean up

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* chore: Add cypress project id

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

* remove sqlite compatibility temporary

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* limit widget height for table content views

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* ci: Remove cypress debug for cleaner output

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

* ci: Record cypress runs in CI

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

* adjustments for case-insensitive way

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Update npm deps

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix space in column description outputs

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Nicer fox of space in column description outputs

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* fix data-table heading

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Release preparation

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Design: Main Column actions as inline icons to avoid scrolling by default
https://image-us.samsung.com/SamsungUS/support/solutions/apps/APPS_SN_More-options_Share-icon.png?$default-high-resolution-jpg$

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Fix: Reset and apply view setting

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Improves views dashboard table

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>

* Move detail info for table or view into sidebar description
remove from dashboard view

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore: Cleanup unused row widget

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

* fix: Hide actions, filter, hide columns in widgets

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

* add menu to "data" heading

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* npm update package-lock.json

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* lint fixes

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* add package-lock.json

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

---------

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>
Signed-off-by: Florian <florian.steffens@nextcloud.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: Florian Steffens <florian.steffens@nextcloud.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 13:18:30 +02:00
b7ec241a73 Feat/import (#263)
* feat(import rows): import rows from table file by API
- API interface to import files

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix/cleanup: very small fixes and code cleanup

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* add import option to FE

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(git): add cypress videos to gitignore

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(test): add integration tests

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(test): fix dav url

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Update lib/Service/ImportService.php

Use local copy for usage with object storages.

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Florian <florian.steffens@nextcloud.com>

* Update lib/Controller/ImportController.php

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Florian <florian.steffens@nextcloud.com>

* Update src/modules/navigation/modals/Import.vue

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Florian <florian.steffens@nextcloud.com>

* chore(refactor): use typecast (int) instead of parsing value with intval for better performance

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(test): update sql query count because of new integration tests

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(refactor): rename method to make the use case more clear

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix/enh(import): fix and enhance parsing for dates for importing, also ISO strings are now allowed
https://github.com/nextcloud/tables/wiki/Developing#date--time

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix(import): make return values more clear

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* cleanup

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(refactor): make error messages mor clear, use methods that are compatible with object storages

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix: handle if local tmp file copy was not possible

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix(tests): adjust integration test

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* cleanup

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* refactor: move iconTimerSand in own component
- more clear code
- reusable

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix(security): validate given userId

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* design: adjustments from design comment
- Destructive actions like "Delete table" should always be the last item in an action menu as per design guidelines
- The "Choose a file that should be imported" sentence can be cut, format info is enough.
- Typo "Columns are identifies by" → identified

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* design(import): add header for information section

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

---------

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
Signed-off-by: Florian <florian.steffens@nextcloud.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
2023-05-13 06:43:25 +02:00
2ae9742fc1 fix(cleanup): delete user data on user deletion, closes #271
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2023-05-11 13:00:12 +02:00
6dfed430cd linting
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2023-05-08 08:41:37 +02:00
f40be9714e chore(cleanup): remove doubled method
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2023-04-05 14:21:15 +02:00
c5d674f735 enh(api): add API interface for managing tables (#170)
* refactor(integration): adjust widget rendering npm source

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* rebase

* fix(permissions): show or hide action buttons related to the permissions from shared tables

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* rebase

* enh(nav): add tutorial table if no tables are found for a user #155

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* enh(cli): add more commands to manage tables from occ cli

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* rebase

* chore(release): add changelog skeleton

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* enh(api): add API interface for managing tables including integration tests

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* enh(api): add API interface for managing table sharing including integration tests

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* enh(api): cleanup and update sql query counter because auf the new tests

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* enh(api): update sql query counter

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* enh(api): add API endpoint for columns
- add API description
- add API interface
- refactor all effected methods to make them more straight forward
- integration tests

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* enh(api): add API endpoint for rows
- add API description
- add API interface
- some smaller code adjustments
- integration tests

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* enh(api): add Integrations tab to the sidebar
- add integrations tab to the sidebar
- add integration to the menu in navigation for tables
- small corresponding fixes

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* code cleanup

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(test): update query count
- new query count because of the new api tests

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(api): update api doc

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix(error handling): add logging and return state for errors

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* fix(updat table): you can now update only the emoji for a table

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(cleanup): avoid else statements if not really needed

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

---------

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
Signed-off-by: Florian <florian.steffens@nextcloud.com>
2023-04-05 14:12:31 +02:00
04596101c3 enh(cli): add more commands to manage tables from occ cli
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2023-04-03 14:20:04 +02:00
f273f99b95 enh(nav): add tutorial table if no tables are found for a user #155
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
2023-04-03 14:20:04 +02:00
2fd157827b Behat and phpunit skeleton (#131)
* fix(navigation): rows count was 0 at postgres db backends #140

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(navigation): can delete tables, even if no table is selected #141

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* refactor(permissionsService): change method to return userId and parameter by value, needed for phpunit testing

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* tests: Add behat skeleton

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

* Merge

* fix(testing): setup phpunit testing

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(testing): prepare unit tests: PermissionsServiceTest.php

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(testing): update gitignore

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(testing): update test setup

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* rebase

* tests(phpunit): setup basic unit test

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* tests(behat): psalm fix

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* tests(phpunit): add github action - phpunit testing

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* tests(phpunit): add github action - add config splitter

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* rebase

* chore(testing): update and setup tests

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* rebase

* chore(tests):setup integration

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* rebase

* chore(tests): no sqlite tests, sqlite is not supported

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(tests): add file for sql statistics

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(tests): set initial value for sql statistics

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* Update lib/Db/RowMapper.php

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Florian <florian.steffens@nextcloud.com>

---------

Signed-off-by: Florian Steffens <florian@nextcloud.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
Signed-off-by: Florian <florian.steffens@nextcloud.com>
Co-authored-by: Florian Steffens <florian@nextcloud.com>
Co-authored-by: Florian Steffens <florian.steffens@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2023-03-09 22:37:09 +01:00
02d30f8fd9 fix(templates): update rows count after template creation
Signed-off-by: Florian Steffens <florian@nextcloud.com>
2023-02-27 10:04:23 +01:00
22c2546460 refactor(collaboration): refactored and adjusted methods for searching and widgets
Signed-off-by: Florian Steffens <florian@nextcloud.com>
2023-02-24 11:00:06 +01:00
12c1a11b1e feat(collaboration): search and reference picker integration - still in progress
Signed-off-by: Florian Steffens <florian@nextcloud.com>
2023-02-24 11:00:06 +01:00
88125ff616 rebase 2023-02-24 11:00:03 +01:00
04269dee2e Feat/v0.3.0 (#111)
* refactor(FE table): Skeleton setup for the custom table

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* Pull psalm test setup & deps update from master

* tests(psalm): Add psalm with current baseline

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

* tests(psalm): Add nextcloud/ocp

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

* tests(psalm): mute some warnings about external dependencies and magic methods for now

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

* tests(psalm): Fix some annotations to improve static analysis

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

* fix(ColumnController): Use proper parameter order for column deletion

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

* ci(psalm): Run psalm check on github actions

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

* Bump @nextcloud/eslint-config from 8.1.5 to 8.2.0

Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 8.1.5 to 8.2.0.
- [Release notes](https://github.com/nextcloud/eslint-config/releases)
- [Changelog](https://github.com/nextcloud/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-config/compare/v8.1.5...v8.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @nextcloud/vue from 7.3.0 to 7.4.0

Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v7.3.0...v7.4.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix(l10n): 🔠 Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>

* fix: Use NcContent component instead of div

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

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nextcloud bot <bot@nextcloud.com>

* chore(make): update makefile

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* refactor(table): skeleton for the custom table, (multi)selection for rows, edit button for rows

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* refactor(table): this is the first replacement for the table component, it could not be avoided to touch also some other stuff

not yet working:
- delete selected rows
- import data from csv & clipboard

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(table): reset status if columns was removed

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(table): don't try to update columns by child component

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(table): delete selected rows working again

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(table): remove unnecessary debug info

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* style(table): sticky table header

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* refactor(modals): use NC component for buttons

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(navigation): use emojis for tables

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(page): new startpage

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(nav): filter tables

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(nav): deprecation vue nav component

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(nav): create table modal - cancel-button and size adjustment

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(navigation): bump version to trigger db update

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* Pull psalm test setup & deps update from master

* tests(psalm): Add psalm with current baseline

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

* tests(psalm): Add nextcloud/ocp

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

* tests(psalm): mute some warnings about external dependencies and magic methods for now

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

* tests(psalm): Fix some annotations to improve static analysis

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

* fix(ColumnController): Use proper parameter order for column deletion

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

* ci(psalm): Run psalm check on github actions

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

* Bump @nextcloud/eslint-config from 8.1.5 to 8.2.0

Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 8.1.5 to 8.2.0.
- [Release notes](https://github.com/nextcloud/eslint-config/releases)
- [Changelog](https://github.com/nextcloud/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-config/compare/v8.1.5...v8.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @nextcloud/vue from 7.3.0 to 7.4.0

Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v7.3.0...v7.4.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix(l10n): 🔠 Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>

* fix: Use NcContent component instead of div

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

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nextcloud bot <bot@nextcloud.com>

* chore(make): update makefile

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix: fix merge errors

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* Pull psalm test setup & deps update from master

* tests(psalm): Add psalm with current baseline

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

* tests(psalm): Add nextcloud/ocp

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

* tests(psalm): mute some warnings about external dependencies and magic methods for now

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

* tests(psalm): Fix some annotations to improve static analysis

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

* fix(ColumnController): Use proper parameter order for column deletion

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

* ci(psalm): Run psalm check on github actions

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

* Bump @nextcloud/eslint-config from 8.1.5 to 8.2.0

Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 8.1.5 to 8.2.0.
- [Release notes](https://github.com/nextcloud/eslint-config/releases)
- [Changelog](https://github.com/nextcloud/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-config/compare/v8.1.5...v8.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @nextcloud/vue from 7.3.0 to 7.4.0

Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v7.3.0...v7.4.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix(l10n): 🔠 Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>

* fix: Use NcContent component instead of div

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

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nextcloud bot <bot@nextcloud.com>

* Pull psalm test setup & deps update from master

* tests(psalm): Add psalm with current baseline

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

* tests(psalm): Add nextcloud/ocp

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

* tests(psalm): mute some warnings about external dependencies and magic methods for now

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

* tests(psalm): Fix some annotations to improve static analysis

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

* fix(ColumnController): Use proper parameter order for column deletion

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

* ci(psalm): Run psalm check on github actions

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

* Bump @nextcloud/eslint-config from 8.1.5 to 8.2.0

Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 8.1.5 to 8.2.0.
- [Release notes](https://github.com/nextcloud/eslint-config/releases)
- [Changelog](https://github.com/nextcloud/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-config/compare/v8.1.5...v8.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @nextcloud/vue from 7.3.0 to 7.4.0

Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v7.3.0...v7.4.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix(l10n): 🔠 Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>

* fix: Use NcContent component instead of div

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

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nextcloud bot <bot@nextcloud.com>

* fix: fix merge errors

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(table): tables-106 Export "long text" without html in CSV

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(table): close modal after creating a column correctly

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(table): remove debug info

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(table): load default values, if empty

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(table): nice hint if there are no columns for a table

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* style(layout): heading position

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(table): partials for column types to render in table view mode

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(header): add edit button for table title and emoji

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore: cs-fixer

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* Update appinfo/info.xml

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Florian <florian@nextcloud.com>

* chore(psalm): psalm setup

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(psalm): psalm fix

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(psalm): psalm fix

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(lint): lint fix

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(cs): cs fix

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(cs): cs fix

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(sidebar-sharing): fix event-bus and more

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(sidebar): add emoji in title

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix: unused import

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(make): add new command for mirroring ci from github

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(release): update version numbers for realising

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* style(sharing): add group info to shared groups in sidebar

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(sharing): show correct display names and fix group renaming problem #70

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(navigation): show share icon and rows counter -> TODO: update if changes in FE still open

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* rebase

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(deps-dev): update and fix

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* style(mobile): adjust spaces and mobile menu for selected rows

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* refactor(FE table): Skeleton setup for the custom table

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* refactor(table): this is the first replacement for the table component, it could not be avoided to touch also some other stuff

not yet working:
- delete selected rows
- import data from csv & clipboard

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(API): add basic reading features for API calls - see docs https://github.com/nextcloud/tables/wiki/API

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(API): add basic reading features for API calls - see docs https://github.com/nextcloud/tables/wiki/API

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* Analytics

* Analytics

* Analytics

* Analytics

* Analytics

* Analytics

* rebase

* rebase

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(integration): some fixes for analytics integration

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* Update src/shared/components/ncTable/partials/TableCellStars.vue

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Florian <florian@nextcloud.com>

* style(table): set default min and max width for columns and truncate very long texts

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(cs-fixer): add cache file to repo

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(deps-dev): replace deprecated sass

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(navigation): in/decrease rows count if changed

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* style(table): optimize UI/UX for the table and mobile view

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* style(table): optimize UI/UX for the table and mobile view

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(sharing): many fixes due to shares, specially in UI

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(cs-fixer): commit cache file

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(npm): update lockfile

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* refactor(css): use general styling only in vue

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* Update src/store/data.js

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Florian <florian@nextcloud.com>

* chore(npm): cleanup, small fixes, preparation from and for PR

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(npm): cleanup, small fixes, preparation from and for PR

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(npm): cleanup, small fixes, preparation from and for PR

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(git): clean up test

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* style(table): add small space

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* feat(occ): list tables via occ command

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(occ): refactor code to impersonate users and allow anonymous access via cli

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* chore(clean): clean old code

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(table): fix a bug where options are not shown on own tables

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(style): fix css scope bug

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(store): fix a bug to update columns in BE

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(style): change margin to padding for sticky options

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(table): fix alert if mandatory fields are empty in combination with stars column-type

Signed-off-by: Florian Steffens <florian@nextcloud.com>

* fix(sharing): fix behavior if shared with yourself

Signed-off-by: Florian Steffens <florian@nextcloud.com>

---------

Signed-off-by: Florian Steffens <florian@nextcloud.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: Florian <florian@nextcloud.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nextcloud bot <bot@nextcloud.com>
Co-authored-by: Rello <github@scherello.de>
2023-02-21 13:19:28 +01:00
0bbf5028f4 style: Fix php-cs-fixer errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-13 13:28:21 +01:00
96a00b594c style: Fix php-cs-fixer errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-13 10:38:53 +01:00