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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-05Fix typos in apps/ subdirectoryfix/fix-apps-typosluz paz
Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-01Fix jsunit testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-23Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecatedCarl Schwan
Deprecated ILogger from IJob
2022-08-19Use user name cache in activity providersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-08Port existing server code to new interfaceCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27Remove more legacy idsVincent Petry
Remove more unused legacy ids from early ownCloud times. This reduces the number of duplicate ids in the DOM. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-27Remove legacy #dir element in files listVincent Petry
Removed legacy "#dir" input element in the DOM. Apps should use OCA.Files.App.currentFileList or OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to retrieve the current directory and changeDirectory() to change it. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-26Replace files app ids to classesVincent Petry
Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-05-24Remove at() matcher for tests for files appCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-16Improve accessibility with more visible focus indication for non vue appsCarl Schwan
- Add visible-focus effect on each header entry - Show focus outline when using focus-visible (keyboard navigation) - Add polyfy for focus-visible since it's only very recently available on webkit - Change text for link to home button to describe the destination and not the current page - Improve focus effect in app sidebar navigation Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-29Revert "Show the child folders in the breadcrumb menu when on a parent entry."Simon L
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-07fix filelist not loading after refresh in firefoxRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24Fix ILogger instances in application tests for core parametersCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-21Redirection now only happens when dir is emptyCarl Schwan
Otherwise dir it's just ignored and fileid is used Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-02Show the parent folders in the breadcrumb menu when on a child entry.Christian Paier
Previously, clicking on an menu item in the breadcrumb menu removed the parent entries of the path, i.e.: Clicking on the "to" entry in "/path/to/some/folder" changed the breadcrumb menu to show only the "/path/to" entries. With this change the breadcrumb menu changes this behaviour as the full path is still visible (and usable) but with the "to" entry beeing highlighted. Signed-off-by: Christian Paier <hallo+git@cpaier.com>
2022-01-11Replace license information to SPDX expressionLouis Chemineau
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-12-02fix testsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-11-30Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-23Fix errors from files applications tests on PHP 8.1Côme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-20Merge pull request #27196 from ↵John Molakvoæ
nextcloud/fix/ApiControllerTest-testShowHiddenFiles
2021-10-13Fix setUserValue bool test on testShowHiddenFiles & testCropImagePreviewsJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-08-13Fix bug introduced on drag and drop external filespjft
Drag and drop of external (OS filesystem) to subdirectories in the browser would fail on specific cases, mainly when the subdirectory was no longer off the root folder. This seemed to have been an issue introduced with the subdirectory free space calculation [here](https://github.com/nextcloud/server/commit/f9536b08096ed1c80391af36d33a18198be1fced) and it seems to fail for any subdirectory that doesn't belong to the root folder. Bug reports: - https://help.nextcloud.com/t/drag-drop-into-subfolders/120731 - https://github.com/nextcloud/server/issues/24720 I couldn't find any reference on scenarios or quota management that would suggest when a subdirectory's free space would be different to the parent's free space, other than when on the root folder, where subdirectories can be external mounts. As such, if my understanding is correct (please review), this calculation can - and should - be made by getting the free space from the first subdirectory in the total path, which caters for all subdirectory scenarios. Please advise, happy to help improve this. Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: pjft <pjft@users.noreply.github.com>
2021-06-16Let apps toggle an unread counter on app iconsJulius Härtl
Co-authored-by: Louis Chemineau <louis@chmn.me> Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-29Fix test on masterLukas Reschke
Regression by https://github.com/nextcloud/server/pull/26410 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-21Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke
Add option to exclude groups from creating link shares
2021-05-12load share settings from the share manager in more placesRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-10Change the values in testValdnet
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-10Change the values in the testValdnet
2021-03-31Bump js licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-01-28files: Create files from template APIJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-14Add "Crop image previews" setting to filesNina Pypchenko
Added a new user setting that toggles cropping on image previews in grid view. True (default value): crops each image to a square. False: keep original aspect ratio. Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com> Closes #18439. Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-17Check for target folder available quota when uploadingJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-13Bump jquery from 2.2.4 to 3.1.0Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-20only run the background scanner for users that have unscanned filesRobin Appelman
instead of looping trough all users and seeing if they have unscanned files, we do a single query to find all storages that need scanning and run trough the users for them Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-24Update the license headers for Nextcloud 20Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-13merge file activity settings into a single 'favorite changed' itemRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-12Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke
\PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-08Test for proper removal of mount entriesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-11Merge pull request #20185 from azul/open-new_tabJohn Molakvoæ
Modify do_action so default ctrl-click opens tab
2020-04-10Add visibility to all methods and position of static keywordChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Allow opening files for editing in new tabsAzul
In a file list files with a default action have an href that will trigger the action. This way ctrl-click and middle button click open the default action in a new tab. In order to achieve this a new param `openfile` was introduced to the files app. It will make the files app trigger the default action for the file in question. This also allows linking to file content rather than just the details display. Introduce fileList.getDefaultActionUrl() to create a link with that param set. It's overwritten in the trashbin fileList so that anchors continue to have `#` as a href. Fix the link generation for subfolders of public shares: 58a87d0 was the last commit that touched the linkTo function in public.js. It included the params as arguments to the generateUrl function. Turns out this completely ignores the dir parameter now. The inclusion was reverted in other places so revert it here as well. Also change `dir` to `path` in the param as that is respected when following the link. Add Test for the new link url for files with default action. Remove test for multiple selects with ctrl-click as that is not what we are doing anymore. Signed-off-by: Azul <azul@riseup.net>
2020-04-09Use exactly one empty line after the namespace declarationChristoph Wurst
For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Fix (array) indent style to always use one tabChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31Update the license headers for Nextcloud 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-27Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst
Remove unused imports
2020-03-26Use the short array syntax, everywhereChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>