Skip to content

Commit 2d956f3

Browse files
authored
Merge branch 'master' into fix/default-link-domain
2 parents d9aacae + 833f23c commit 2d956f3

File tree

88 files changed

+9615
-1774
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+9615
-1774
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ updates:
66
interval: weekly
77
time: "06:00"
88
open-pull-requests-limit: 10
9+
cooldown:
10+
default-days: 10
911
- package-ecosystem: "pip"
1012
directory: "/"
1113
schedule:
1214
interval: "weekly"
1315
time: "06:00"
1416
target-branch: master
1517
open-pull-requests-limit: 10
18+
cooldown:
19+
default-days: 10

.github/workflows/check-occ-command.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
check-occ-command:
1313
name: Check occ command syntax
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-latest-low
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/sphinxbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ jobs:
258258

259259
summary:
260260
needs: build
261-
runs-on: ubuntu-latest
261+
runs-on: ubuntu-latest-low
262262
if: always()
263263

264264
permissions:

.github/workflows/transifex.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ jobs:
2121
with:
2222
github-token: "${{ secrets.GITHUB_TOKEN }}"
2323

24+
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
25+
with:
26+
github-token: "${{ secrets.COMMAND_BOT_PAT }}"
27+
2428
# Enable GitHub auto merge
2529
- name: Auto merge
2630
uses: alexwilson/enable-github-automerge-action@56e3117d1ae1540309dc8f7a9f2825bc3c5f06ff # v2.0.0
27-
if: startsWith(steps.branchname.outputs.branch, 'translations_')
2831
with:
29-
github-token: ${{ secrets.GITHUB_TOKEN }}
32+
github-token: "${{ secrets.GITHUB_TOKEN }}"

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_34.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ Added APIs
5757

5858
- ``\OCP\DB\QueryBuilder\ITypedQueryBuilder`` is added in favour of ``\OCP\DB\QueryBuilder\IQueryBuilder`` and can be accessed through ``\OCP\IDBConnection::getTypedQueryBuilder``.
5959
This query builder has the benefit of accurately returning the selected columns in a query result, increasing type safety.
60+
- ``\OCP\Talk\IConversationOptions`` has been extended, to allow defining the newly created conversation as related to a meeting with it's start and end date.
61+
The information is used by Talk to automatically clean up such conversations after a given time.
6062

6163
Changed APIs
6264
^^^^^^^^^^^^

developer_manual/digging_deeper/talk.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ A new conversation needs a name and at least one moderator. By default this conv
4646
Customize the conversation
4747
~~~~~~~~~~~~~~~~~~~~~~~~~~
4848

49-
It's possible to adjust the defaults.
49+
It's possible to adjust the defaults:
50+
51+
- ``setPublic``: Make the conversation public (allowing anyone with the link to access the conversation).
52+
- ``setMeetingDate`` (since Nextcloud 32.0.9, 33.0.3 and 34.0.0): Mark a conversation as related to a meeting.
53+
This will make Talk automatically expire the conversation 4 weeks (value is configurable)
54+
after the meeting, unless the owner confirms the conversation should remain.
5055

5156
.. code-block:: php
5257
@@ -56,10 +61,16 @@ It's possible to adjust the defaults.
5661
/** @var \OCP\IUser $alice */
5762
/** @var \OCP\IUser $bob */
5863
$options = $broker->newConversationOptions();
64+
$options->setPublic();
65+
$options->setMeetingDate(
66+
$this->timeFactory->getDateTime(new \DateTime('2026-04-07 13:00')),
67+
$this->timeFactory->getDateTime(new \DateTime('2026-04-07 14:00')),
68+
);
69+
5970
$conversation = $broker->createConversation(
6071
'Weekly 1:1',
6172
[$alice, $bob],
62-
$broker->newConversationOptions()->setPublic()
73+
$options
6374
);
6475
6576
Delete a conversation

0 commit comments

Comments
 (0)