Commit Graph

850 Commits

Author SHA1 Message Date
Julien Veyssier
5830dbd467 implement discoverable searchable reference provider
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-02-08 14:02:05 +01:00
Julius Härtl
c9f539bf31 feat(Description): Use text as editor if available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-03 15:47:08 +01:00
Julius Härtl
01c2ae23aa chore(psalm): Add type hints to make psalm happy
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-24 11:46:47 +01:00
Joas Schilling
96e9571ae4 Update signature of Entity::markFieldUpdated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-23 11:11:41 +01:00
Julius Härtl
d892979efa chore(psalm): Fix annotations to make psalm happy
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-03 15:22:31 +01:00
chandi Langecker
a466b76946 use dependency injection for logger
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
541ee13780 sessions: ignore self-emitted update events
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
ccf73736c4 sessions: let's be an OCS API to support extenal clients
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
5386e6e24f make psalm & linter happy
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
0ea384d1e5 session cleanup via background job
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
8007a06c94 Update lib/Controller/SessionController.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
e1e29feb7b Update lib/Controller/SessionController.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi
54b390010c Update lib/Service/SessionService.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
a674b5b5b2 fix php7 syntax error (unexpected '|')
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
6684730dd7 docs: sessions API documentation
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
ed125e9439 avoid naming conflicts for indexes
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
af134959ce optimize sql queries / indexing
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
cd7fb9a4bd increase session timeout
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
dd307fa353 use nextcloud's database type constants
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
38aed97d69 better session handling
- separated from component
- handle visibilityState / closing of the tab

Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
6bfb54e2b3 use strict types in new php classes
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
7dc64de2de dedicated Listener class, constants for events
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
fd6e15b58c ensure activeSessions is an array
sometimes the resulting json contained an object leading to JS errors

Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
fcfbcc63b4 basic notify_push usage with session handling (rebased)
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:56 +01:00
Julius Härtl
f817025dfe Merge pull request #4333 from nextcloud/dependabot/composer/vimeo/psalm-5.4.0
Bump vimeo/psalm from 4.30.0 to 5.4.0
2022-12-30 14:26:15 +01:00
Julius Härtl
c739d543c2 chore: Fix new psalm errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-30 14:08:31 +01:00
Marcel Klehr
d25c7feb13 Fix lint errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-12-30 12:56:06 +01:00
Marcel Klehr
5eed353d5a Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-12-30 12:56:06 +01:00
Marcel Klehr
00b95fe6ce Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-12-30 12:56:06 +01:00
David Loe
e256cf23ce Fix Errors
Signed-off-by: David Loe <d.loewens24@gmail.com>
2022-12-30 12:56:06 +01:00
David Loe
88a9fe2161 Export Board
Signed-off-by: David Loe <d.loewens24@gmail.com>
2022-12-30 12:56:06 +01:00
Julius Härtl
2ba8fb9afc Also handle user/group deletion in the listener
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-11 10:24:03 +01:00
Julius Härtl
76fd901062 Handle circle deletion event and add cleanup job
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-11 10:24:02 +01:00
Marcel Klehr
1a654925e8 Merge pull request #4184 from nextcloud/bugfix/noid/integration-validators 2022-11-09 14:12:33 +01:00
Julius Härtl
e93006ded0 Add missing userId property
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-09 08:53:38 +01:00
Michal Polacik
8698e2ce3f Permanently delete deck cards marked as deleted after 5 min in a cron job
Limit deleted cards in one cron job run to 500

Converted spaces to tabs

Added missing import for CardMapper class

Added another missing import for CardMapper class

Fixed response object in findToDelete method + fixed 2 misspellings in API.md

Fixed invalid parameter type

Fix DeleteCronTest

Signed-off-by: Marcel Klehr <mklehr@gmx.net>

Fix lint errors

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-11-07 17:26:12 +01:00
Julius Härtl
ed282479a1 Fix validation of attachment data
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-03 20:39:20 +01:00
Julius Härtl
805f185191 Merge pull request #4173 from nextcloud/bugfix/noid/card-sanity-check 2022-10-31 21:17:31 +01:00
Julius Härtl
a231061043 Merge pull request #4059 from nextcloud/feature/improve-security-level 2022-10-31 12:59:12 +01:00
Julius Härtl
1f66c66ad3 Unify getting the share for attachments
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-31 12:48:51 +01:00
Adrian Missy
f7717aa02a feat: #2906 add card ID badge
- adds vscode settings file to gitingore
- adds new badge for card ID
- adds card ID to board filter
- adds settings to disable card ID badge

Signed-off-by: Adrian Missy <adrian.missy@onewavestudios.com>
2022-10-29 10:25:28 +02:00
Joas Schilling
5669bd73cc Fix Duedate activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-24 12:32:56 +02:00
Luka Trovic
1217b37b19 feat: add validators to check values in services
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-10-21 18:08:19 +02:00
Julius Härtl
d00bd159d2 Avoid always setting the current time on card updates
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-19 20:03:22 +02:00
Joas Schilling
2c3113334a Fix issue with duedate format
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-19 19:46:09 +02:00
Julius Härtl
c81501c2ea Cache user membership for circles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-14 23:11:19 +02:00
Julius Härtl
863ce50a27 Activity: Set event link also for notifications that get emitted from activity
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-14 10:52:25 +02:00
Joas Schilling
982df96c3c Fix sorting stacks
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-13 14:07:59 +02:00
Côme Chilliet
f166552de0 Remove uses of Util:: loglevel constants removed from server
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-02 13:54:56 +02:00
Julien Veyssier
ed5df26704 use OCP\Collaboration\Reference\Reference instead of the recently removed OC\Collaboration\Reference\Reference
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-26 17:23:00 +02:00