Age | Commit message (Collapse) | Author |
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
As of release 4.4, `symfony/console` requires commands to return
integers: https://github.com/symfony/console/commit/cdef5a4
Signed-off-by: Jonas Meurer <jonas@freesources.org>
|
|
Signed-off-by: szaimen <szaimen@e.mail.de>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
messages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
|
* The documentservice writes to the text prefix. Not the textSession
prefix. Hence we never found any of the cache entries. Thus always
doing all the work.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
instance to stop
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
|
|
Improvements for #1005
Just storing this less often should be a bit easier on the database.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
|
With the extra memcache check now this could cause issues otherwise.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
|
Harden check when using token from memcache
|
|
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
|
Explicitly comparing never hurt anybody.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: dassio <dassio@icloud.com>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
|
There is no need to log them as ERROR
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
|
We need the relative path inside a users home directory
to fetch the folder content for the filepicker.
$file->getPath() gets the absolute path
including username and files.
Signed-off-by: Azul <azul@riseup.net>
|
|
Perform file conflict check earlier so that it also triggers when not saving
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
This fixes multiple files showing up on case-insensitive filenames as otherwise
the IFolder::get call creates multiple entries in the filecache for the same file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Since Nextcloud 18.0.4 the Files app triggers the "LoadViewer" event, so
that event can be used to register Text with Viewer instead of doing it
through the "OCA\Files::loadAdditionalScripts" event.
Besides being more correct for the Files app it also makes possible to
use Text when opening files through Viewer in other apps, like Talk.
Note, however, that in public share pages Text is still opened using the
fallback actions instead of through Viewer, as Viewer currently does not
provide the share token of the public shared folder that contains the
file to be opened.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
|
|
Cache the session info in memcache
|
|
This should reduce the number of queries to the DB. Esp when editing a
file with a lot of people this can really add up.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
|
Only return 404 for workspace property if it is not avilable
|
|
Use full list of supported filenames when obtaining the name to create
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Offer txt editing by default
|
|
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|