Commit graph

27 commits

Author SHA1 Message Date
Vitor Mattos
f4f03eed71
fix: cs
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-13 17:18:31 -03:00
Vitor Mattos
c863c72313
feat: add notification message for canceled signature requests
Implements the notification message formatting in Notifier
to display cancellation notifications with proper subject
and message text.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-13 17:16:03 -03:00
Vitor Mattos
2db981b5ee
fix: prevent warning when send notifications
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-21 11:54:19 -03:00
Vitor Mattos
034ff9ecbb
fix: psalm issues about override
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-07 18:23:41 -03:00
Samuelson Brito
38139bb0fe fix: show 'Dismiss notification' button on signed file notification
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
2025-05-24 23:26:07 -04:00
Vitor Mattos
6848b67a35
chore: rename and add paramaeter of notification and activity
- Added: Signer representing the item of identify method
- Renamed: signed-file to sign-request, the new name is more clear

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-05-23 14:19:19 -03:00
Vitor Mattos
0eaa021be6
chore: implement Rector
https://packagist.org/packages/nextcloud/rector

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-05-21 11:06:17 -03:00
Samuelson Brito
813af20e5b
fix: version number
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
2025-05-19 22:58:43 -03:00
Samuelson Brito
8a6620595e
feat: add notification signed
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
2025-05-19 22:58:43 -03:00
Samuelson Brito
4c3422fe44
chore: url correction
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
2025-05-19 22:58:43 -03:00
Samuelson Brito
7603fe7a1f
feat: add notification signed
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
2025-05-19 22:58:43 -03:00
Samuelson Brito
01f8f24c1f
chore: add real values in the activity trigger
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
2025-05-19 22:58:43 -03:00
Samuelson Brito
29a0b0dc58
feat: add activity signed
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
2025-05-19 22:58:42 -03:00
Vitor Mattos
2ec2cb6d92
fix: change error class
since 30.0.0:

Providers should throw `UnknownActivityException` instead of `\InvalidArgumentException`
  when they did not handle the event. Throwing `\InvalidArgumentException` directly is deprecated and will
  be logged as an error in Nextcloud 39.

Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-12-12 11:02:55 -03:00
Vitor Mattos
d83f4370fa
chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-09-19 10:10:41 -03:00
Vitor Mattos
45cd3c374d
chore: Add SPDX header
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-05-14 12:32:04 -03:00
Vitor Mattos
00e17f2695
Prevent warning when try to access not found id
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-26 15:58:20 -03:00
Vitor Mattos
a98168e1a6
Prevent warning when parse notification
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-26 14:47:36 -03:00
Vitor Mattos
5a89ecc5f4
Change text
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-12 13:05:14 -03:00
Vitor Mattos
7ef47c669f
Add pending definition
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-12 13:05:14 -03:00
Vitor Mattos
ed374da23a
Implement dismiss notification
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-12 13:05:14 -03:00
Vitor Mattos
b669d4d7e4
Implement filter at Activity
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-12 13:05:14 -03:00
Vitor Mattos
9fab8edfcd
Change notification link of button view
The link need to change to sign page

Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-26 09:07:23 -03:00
Vitor Mattos
bdcbbb742b
Rename file_user to sign_request
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-11-02 23:39:34 -03:00
Vitor Mattos
8ea189f62a
Throw exception when the file didn't exists
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-11-02 13:28:01 -03:00
Vitor Mattos
df53af5b99
Implement tests to notify nextcloud user
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:26:59 -03:00
Vitor Mattos
df21178937
Add nextcloud event to notify when the identification method is account
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:26:59 -03:00