Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2021-10-06Additional checks for workspace controllerJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-27Make occ command return an integer as return codeJonas Meurer
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>
2021-07-20Extend mimetypes for direct editingszaimen
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-13Unify error responses and add logging where appropriateJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-29Log exceptions that happen on unknown exception and return generic error ↵Julius Härtl
messages Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-29Use text/plain as content type for fetching the documentJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-14Only return workspace property for top node in a propfind requestJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-02Use write permission when possibleJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-28Move to lazy registrationJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-28Implement support for creating files from templatesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-13Always use the updated color depending on the guest nameJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-13Keep session information as long as we need it for stepsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-08Fix dbal typesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-29Fix PHP-CSRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-17Use to correct cache to obtain version infoRoeland Jago Douma
* 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>
2020-12-02Properly cleanup sessions when resetting a documentJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-02Catch possible database exceptions when fetching document dataJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-17Fix typo of class nameJoas Schilling
2020-11-16Add migration to fix oracle issues with the database schemaJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-01Do not setup appdata in constructor to avoid errors causing the whole ↵Julius Härtl
instance to stop Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-08Merge pull request #1026 from nextcloud/fix/1005/refresh_only_once_every_30_sJulius Härtl
2020-09-07Refresh lastContact only once every 30 secondsRoeland Jago Douma
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>
2020-09-07Sessionid is an intRoeland Jago Douma
With the extra memcache check now this could cause issues otherwise. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-07Merge pull request #1014 from nextcloud/harden/memcachetokenfetchingJulius Härtl
Harden check when using token from memcache
2020-09-06Harden read only check on public endpointsRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-05Harden check when using token from memcacheRoeland Jago Douma
Explicitly comparing never hurt anybody. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-04Use proper event for loading scripts on public share linksJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-31do not return rich workspace when depth=0dassio
Signed-off-by: dassio <dassio@icloud.com>
2020-08-28Catch StorageNotAvailable exceptionsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-13Remove unneeded dependenciesMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-13Also load files app scripts when user is logged inJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-13Use the new additional scripts eventJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-10Use IBootstrap for the app bootstrapMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-02Log the exceptions as INFORoeland Jago Douma
There is no need to log them as ERROR Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-22fix: path for workspacesAzul
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>
2020-06-16Merge pull request #871 from nextcloud/bugfix/851Julius Härtl
Perform file conflict check earlier so that it also triggers when not saving
2020-06-15Pass path to rich workspacesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-15Perform file conflict check earlier so that it also triggers when not savingJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-19Return early when iterating over supported filenamesJulius Härtl
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>
2020-04-20Enable Text to be used by Viewer outside Files appDaniel Calviño Sánchez
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>
2020-04-07Merge pull request #761 from nextcloud/enh/session_memcachev19.0.0beta2Julius Härtl
Cache the session info in memcache
2020-04-07Cache the session info in memcacheRoeland Jago Douma
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>
2020-04-07Merge pull request #748 from nextcloud/bugfix/noid/rich-workspace-dav-availableJulius Härtl
Only return 404 for workspace property if it is not avilable
2020-04-03Merge pull request #749 from nextcloud/bugfix/noid/translatable-readmev19.0.0beta1Julius Härtl
Use full list of supported filenames when obtaining the name to create
2020-04-02Use full list of supported filenames when obtaining the name to createJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-02Only return 404 for workspace property if it is not avilableJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-02Merge pull request #743 from nextcloud/bugfix/direct-editing-txtJulius Härtl
Offer txt editing by default
2020-04-02Add index on the oc_text_sessions tableRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-30Offer txt editing by defaultJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-25Expose workspace_available on public sharesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>