Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Jonas 94230e4156
fix(resetSessions): Truncate tables and rename documents folder
This is way more performant than iterating over all existing sessions.

Signed-off-by: Jonas <jonas@freesources.org>
2024-06-17 17:02:42 +02:00
Julius Härtl d2d22a16d6
perf: Use generator/count query on cleanup tasks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-17 16:40:22 +02:00
Julius Härtl 3a9c4f6f7a
chore: Add SPDX headers
Signed-off-by: Julius Härtl <jus@bitgrid.net>

ci: Add reuse check

Signed-off-by: Julius Härtl <jus@bitgrid.net>

chore: Add dep5

Signed-off-by: Julius Härtl <jus@bitgrid.net>

more headers

Signed-off-by: Julius Härtl <jus@bitgrid.net>

more

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-14 11:56:34 +02:00
Julius Härtl 7b24775f17
chore: Type all the things
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-27 20:28:43 +02:00
Julius Härtl 0f8e4419d6
fix: Use simple query and chunk in PHP
reverts #4339 and #4539 except for the added tests and moves to plain
PHP chunking to avoid issues with MySQL 8

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-19 15:09:10 +02:00
Julius Härtl 5e9259812a
fix: Use prefilter for delete with subquery
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-17 09:39:25 +02:00
Julius Härtl 85ef18d3fa
fix: Delete inactive sessions in one query
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-29 08:48:55 +02:00
Julius Härtl f6f2b80434
chore: Move to unified method for checking and getting the session
fixes #1943

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-12 12:20:05 +02:00
Julius Härtl c572859e7e chore: Move away from deprecated backend APIs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-07 22:30:34 +02:00
Julius Härtl f7f41aad48 fix: Do not cleanup on close
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-09 08:43:14 +01:00
Jonas ca753535ab
Add repair step to reset all sessions before Yjs migration
Text sessions with data from our old collaboration backend cause issues
after the upgrade to Text with the new Yjs backend. Therefore let's
force-reset all sessions when upgrading from a Text version smaller than
3.7.1.

Signed-off-by: Jonas <jonas@freesources.org>
2023-02-27 17:48:53 +01:00
Max 4fce40bb61
enh: store awareness messages separately
Signed-off-by: Max <max@nextcloud.com>
2023-02-09 10:08:47 +01:00
Julius Härtl 2e3c92ac00 Implement notification backend for mentions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-25 11:04:53 +02:00
Julius Härtl ba47efcec3
Avoid duplicate queries that were caused by running execute and the mapper find method
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-15 18:43:43 +02:00
Julius Härtl 9a89308675
Fix php-cs-fixer style
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-18 10:46:47 +01:00
Julius Härtl 03a74c6654 Annotate mapper class template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-12 08:36:00 +00:00
Julius Härtl 6cca6b1aa5
Keep session information as long as we need it for steps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-13 19:34:02 +01:00
Roeland Jago Douma edbd604ebc
Fix PHP-CS
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-29 15:24:00 +01:00
Julius Härtl 478760aaeb
Add occ command to restore documents to their last saved state
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-04 20:17:01 +01:00
Julius Härtl da4be5e6d5
Add background job to cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-17 23:10:26 +02:00
Julius Härtl 91f8e8a88d
Some code cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-17 22:09:14 +02:00
Julius Härtl d392585407
Implement guest name change
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-15 10:14:01 +02:00
Julius Härtl 6824232ab2
Cleanup sessions/steps when no session are active anymore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-12 14:32:42 +02:00
Julius Härtl 3f5169c9c2
Implement guestName for public shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-07 12:04:56 +02:00
Julius Härtl 1bdb0ff3ea
Add first working version of collaborative editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-13 20:28:28 +02:00