Commit Graph

941 Commits

Author SHA1 Message Date
Julius Härtl
0b68948a0f fix: Switch to new component name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-10-18 11:48:03 +02:00
Marcel Klehr
6aaa9bea9c Rename today and tomorrow widgets
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 11:44:34 +02:00
Bernhard Kapelari
7b57c92f12 basic functions
Signed-off-by: Bernhard Kapelari <bernhard@kapelari.com>

First feedback

Signed-off-by: Bernhard Kapelari <bernhard@kapelari.com>

lint:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 11:44:31 +02:00
Luka Trovic
d589559c7d feat: update smart picker links
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2023-08-24 20:04:46 +02:00
Julius Härtl
8e4c783c97 feat: Group deck activity settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-22 08:22:35 +02:00
Jérôme Herbinet
af1e413513 Deck card comment notification label improvement
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-22 07:55:26 +02:00
Julius Härtl
be86a2e96c fix: use proper owner source
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-12 09:10:59 +02:00
Julius Härtl
20f0e8efa1 fix: Only map owner for user mapping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:47:38 +02:00
Julius Härtl
66728431b8 chore: Cleanup some outdated fixme comments
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:23:56 +02:00
Julius Härtl
caebc01a9f fix: Map card assignments through mapping config
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:10 +02:00
Julius Härtl
8e720f1147 fix: Add output for individual failures or skipped parts
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl
86302937a9 tests: assert json diff between import/export
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl
15118f4154 fix: Do not fail on missing owner details
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl
d3ade90129 fix: Only set last modified if not already set manually
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl
54176e2723 fix: Avoid duplicate data on board export
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl
282c1e7d41 test: Add reimport test case
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl
39320a9bac fix: request full details for board export
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl
9d6c83030b draft: todos
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl
e7d5fbff63 feat: Let occ deck:import default to deck json importer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl
cccc4f2f67 docs: Add dedicated documentation section for import/export
Signed-off-by: Julius Härtl <jus@bitgrid.net>

docs: Update import docs

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:06 +02:00
Julius Härtl
894c415bfd feat: Add app version to the deck app export
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 14:44:57 +02:00
Julius Härtl
56e16b2d3f feat: Implement logic to import multiple boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 14:44:57 +02:00
Max
507510f60b WIP: enh(import): import deck json exports
Signed-off-by: Max <max@nextcloud.com>
2023-08-11 14:44:57 +02:00
Julius Härtl
724a12c71f fix: Avoid failing due to uninitialized acces of systemInstance
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 14:44:57 +02:00
Julius Härtl
b57827023b fix: Properly export cards as a child element of the related stack
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 14:44:55 +02:00
Julius Härtl
e6c1279327 Merge pull request #4998 from nextcloud/bugfix/noid/trello-token 2023-08-10 12:41:11 +02:00
Julius Härtl
16063af045 fix: Load editor on reference pickers for card create dialog
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-09 13:25:28 +02:00
Julius Härtl
5910d8a964 fix: Also detect reference to simple card urls
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-09 13:25:27 +02:00
Luka Trovic
12217afe65 feat: create new card from smart picker
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2023-08-09 13:25:27 +02:00
Julius Härtl
63b0c8271b fix: Adapt regex for trello token to new length and format
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-08 10:21:40 +02:00
Julius Härtl
2ccfb9beee fix: Use typed share event
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-07 19:28:58 +02:00
Julius Härtl
fe319c86ab fix: Split query to fetch board ids to avoid slow query join
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-21 15:11:27 +02:00
Arthur Schiwon
554efab34b Merge pull request #4903 from nextcloud/feat/display-name-cache
feat: Use user display name cache
2023-07-20 12:30:12 +02:00
Julius Härtl
2a4076c5ba chore(composer): Update and cleanup composer dependencies
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-20 11:42:19 +02:00
Faraz Samapoor
559579fbd9 Refactors controllers by using PHP8's constructor property promotion.
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-14 15:42:44 +03:30
Joas Schilling
4b1e670b4e fix(notification): Prevent null in parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-14 07:53:51 +02:00
Julius Härtl
4a9e399cc9 feat: Use user display name cache
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-11 15:33:45 +02:00
Max
cfa9c4d1c4 fix: crash when leaving out system parameter
The `--system` parameter can be supplied via command line
or selected afterwards.

However if none was provided the command would crash with
`TypeError: Cannot assign null to property $system`.

Handle that gracefully and make the type spec more precise
for the setSystem function.

Signed-off-by: Max <max@nextcloud.com>
2023-06-15 12:53:14 +02:00
Julius Härtl
5298a8d26a Merge pull request #4810 from nextcloud/fix/4010-set-userid-for-export-command 2023-06-14 12:30:22 +02:00
Max
ff16f95b57 fix: execute return int for export command
Signed-off-by: Max <max@nextcloud.com>
2023-06-14 11:17:50 +02:00
Max
0419ebc856 Fix(occ): set user id for permission sevice from board service
Fixes #4010.

Signed-off-by: Max <max@nextcloud.com>
2023-06-14 11:12:58 +02:00
Git'Fellow
b53d6a3fe5 Ensure boardId is an integer
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-09 09:28:51 +02:00
Julius Härtl
0985f24f57 chore: Fix php-cs-fixer errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-05 22:26:08 +02:00
Faraz Samapoor
b8566a3a0d Converts 'strpos()' calls to improve code readability.
Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
2023-05-10 08:55:42 +03:30
Faraz Samapoor
3f34577064 Refactors lib\Activity\DeckProvider.php to improve code readability.
Converts 'strpos()' calls to 'str_contains()' to improve code readability.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-05-04 17:08:53 +03:30
Bjoern Schiessle
e2a4737fdb forbid changing the displayname or color of the calendar/deck when the user doesn't has the "manage" permissions
Signed-off-by: Bjoern Schiessle <bjoern@nextcloud.com>
2023-04-27 08:34:46 +02:00
Björn Schießle
14d686a6bc Allow user to toggle visibility of the calendar of deck boards
The calendar object needs to be exposed with "write" properties in order to allow users to hide/show the corresponding calendar in the calendar app. It doesn't has any affects on the general permissions for the whole board or the tasks. As soon as you select a task you jump to the deck app where the normal deck permissions are applied.

fixes: https://github.com/nextcloud/deck/issues/4618

Signed-off-by: Björn Schießle <bjoern@nextcloud.com>
2023-04-26 21:50:18 +02:00
Julius Härtl
0b2ea0f839 fix: Centralize usage of CardDetails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-03 15:35:51 +02:00
Jonas
a7608b1900 Gracefully handle not found card for a share
Fixes: #3464
Fixes: #4565

Signed-off-by: Jonas <jonas@freesources.org>
2023-03-28 19:14:09 +02:00
Joas Schilling
83bc2c5cf2 fix(API): Fix board API details parameter to work as expected
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 07:38:25 +01:00