Skip to content

Commit 6c8c359

Browse files
committed
Merge branch 'master' into stable
2 parents f570bfc + f755e5c commit 6c8c359

9 files changed

Lines changed: 412 additions & 252 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [16.2.1] - 2026-06-12
8+
9+
### Fixed
10+
11+
* Activity: Fix deprecated exception mechanism
12+
713
## [16.2.0] - 2026-06-10
814

915
### New

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source_dir=$(build_dir)/source
77
sign_dir=$(build_dir)/sign
88
package_name=$(app_name)
99
cert_dir=$(HOME)/.nextcloud/certificates
10-
version+=16.2.0
10+
version+=16.2.1
1111

1212
all: dev-setup build-js-production composer-no-dev
1313

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Requirements:
2323
- mbstring: *
2424
- when using MySQL, use at least v8.0
2525
]]></description>
26-
<version>16.2.0</version>
26+
<version>16.2.1</version>
2727
<licence>agpl</licence>
2828
<author mail="mklehr@gmx.net" homepage="https://marcelklehr.de">Marcel Klehr</author>
2929
<author mail="blizzz@arthur-schiwon.de" homepage="https://www.arthur-schiwon.de">Arthur Schiwon</author>

l10n/fa.js

Lines changed: 190 additions & 122 deletions
Large diffs are not rendered by default.

l10n/fa.json

Lines changed: 190 additions & 122 deletions
Large diffs are not rendered by default.

l10n/kab.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
OC.L10N.register(
22
"bookmarks",
33
{
4+
"Bookmarks" : "Ticraḍ",
5+
"Bookmark" : "Signet",
46
"Details" : "Talqayt",
57
"Rename" : "Beddel isem",
68
"Copy link" : "Nɣel aseɣwen",
@@ -12,6 +14,8 @@ OC.L10N.register(
1214
"Search" : "Nadi",
1315
"Empty trash bin" : "Silem taqecwalt",
1416
"_%n folder_::_%n folders_" : ["%n n ukaram","%n n ikaramen"],
17+
"Select folder" : "Fren akaram",
18+
"Submit" : "Azen",
1519
"Cancel" : "Sefsex",
1620
"Recent" : "Melmi kan",
1721
"Files" : "Ifuyla",
@@ -20,13 +24,18 @@ OC.L10N.register(
2024
"Title" : "Azwel",
2125
"Link" : "Aseɣwen",
2226
"Tags" : "Tibzimin",
27+
"Notes" : "Tizmilin",
2328
"Open file" : "Ldi afaylu",
29+
"Download file" : "Sader-d afaylu",
2430
"Link copied" : "Aseɣwen yettwanɣel",
2531
"Owner" : "Bab",
2632
"Sharing" : "Beṭṭu",
2733
"Share link" : "Fren aseɣwen",
2834
"Privacy" : "Vie privée",
35+
"Performance" : "Tamellit",
2936
"Folder" : "Akaram",
30-
"Save" : "Sekles"
37+
"Save" : "Sekles",
38+
"What" : "Acu",
39+
"Import successful" : "Taktert tella-d akken ilaq"
3140
},
3241
"nplurals=2; plural=(n != 1);");

l10n/kab.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{ "translations": {
2+
"Bookmarks" : "Ticraḍ",
3+
"Bookmark" : "Signet",
24
"Details" : "Talqayt",
35
"Rename" : "Beddel isem",
46
"Copy link" : "Nɣel aseɣwen",
@@ -10,6 +12,8 @@
1012
"Search" : "Nadi",
1113
"Empty trash bin" : "Silem taqecwalt",
1214
"_%n folder_::_%n folders_" : ["%n n ukaram","%n n ikaramen"],
15+
"Select folder" : "Fren akaram",
16+
"Submit" : "Azen",
1317
"Cancel" : "Sefsex",
1418
"Recent" : "Melmi kan",
1519
"Files" : "Ifuyla",
@@ -18,13 +22,18 @@
1822
"Title" : "Azwel",
1923
"Link" : "Aseɣwen",
2024
"Tags" : "Tibzimin",
25+
"Notes" : "Tizmilin",
2126
"Open file" : "Ldi afaylu",
27+
"Download file" : "Sader-d afaylu",
2228
"Link copied" : "Aseɣwen yettwanɣel",
2329
"Owner" : "Bab",
2430
"Sharing" : "Beṭṭu",
2531
"Share link" : "Fren aseɣwen",
2632
"Privacy" : "Vie privée",
33+
"Performance" : "Tamellit",
2734
"Folder" : "Akaram",
28-
"Save" : "Sekles"
35+
"Save" : "Sekles",
36+
"What" : "Acu",
37+
"Import successful" : "Taktert tella-d akken ilaq"
2938
},"pluralForm" :"nplurals=2; plural=(n != 1);"
3039
}

lib/Activity/Provider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
namespace OCA\Bookmarks\Activity;
1010

11-
use InvalidArgumentException;
1211
use OCA\Bookmarks\Db\TreeMapper;
12+
use OCP\Activity\Exceptions\UnknownActivityException;
1313
use OCP\Activity\IEvent;
1414
use OCP\Activity\IManager;
1515
use OCP\Activity\IProvider;
@@ -57,7 +57,7 @@ public function __construct(IFactory $languageFactory, IURLGenerator $url, IUser
5757
*/
5858
public function parse($language, IEvent $event, ?IEvent $previousEvent = null) {
5959
if ($event->getApp() !== 'bookmarks') {
60-
throw new InvalidArgumentException();
60+
throw new UnknownActivityException();
6161
}
6262

6363
$this->l = $this->languageFactory->get('bookmarks', $language);
@@ -206,7 +206,7 @@ public function parse($language, IEvent $event, ?IEvent $previousEvent = null) {
206206
}
207207
break;
208208
default:
209-
throw new InvalidArgumentException();
209+
throw new UnknownActivityException();
210210
}
211211

212212
if ($event->getObjectType() === TreeMapper::TYPE_FOLDER && !str_contains($event->getSubject(), 'deleted')) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bookmarks",
3-
"version": "16.2.0",
3+
"version": "16.2.1",
44
"main": "js/index.js",
55
"scripts": {
66
"build": "webpack --node-env production --progress --config webpack.js",

0 commit comments

Comments
 (0)