Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use correct exception type hint in catch statement | Morris Jobke | 2021-03-17 | 1 | -2/+2 |
| | | | | | | Found by psalm update 4.6.2 to 4.6.3 in #26111 Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Add visibility to all constants | Christoph Wurst | 2020-04-10 | 1 | -4/+4 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Format control structures, classes, methods and function | Christoph Wurst | 2020-04-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | 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> | ||||
* | Unify function spacing to PSR2 recommendation | Christoph Wurst | 2020-04-09 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Update the license headers for Nextcloud 19 | Christoph Wurst | 2020-03-31 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Use the short array syntax, everywhere | Christoph Wurst | 2020-03-26 | 1 | -4/+4 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | remove the requirement that everything that looks like a placeholder is ↵ | Robin Appelman | 2020-03-13 | 1 | -28/+0 |
| | | | | | | | | substituted While maybe not common, `$` is a valid option in config fields Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Update license headers | Christoph Wurst | 2019-12-05 | 1 | -1/+3 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Some php-cs fixes | Roeland Jago Douma | 2019-11-22 | 1 | -10/+10 |
| | | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | fixes terminology and allows to request an IUser instance | Arthur Schiwon | 2019-08-02 | 1 | -1/+2 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | do not send null value when string is expected | Arthur Schiwon | 2019-08-02 | 1 | -2/+2 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | Provide proper user context from initMountPoints | Julius Härtl | 2019-08-02 | 1 | -3/+7 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Fix wrong indentation | Daniel Kesselberg | 2019-07-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | Fix invalid recursion | Daniel Kesselberg | 2019-07-21 | 1 | -3/+1 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | Allow hidden smb shares | Daniel Kesselberg | 2019-07-16 | 1 | -1/+1 |
| | | | | | | | A hidden smb share ends with $. This patch changes the placeholder detection to allow shares with $ at the end. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | do not attempt to replace anything in the password | Arthur Schiwon | 2019-04-02 | 1 | -1/+5 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | typos in doc, no code changes | Arthur Schiwon | 2019-02-15 | 1 | -0/+1 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | reject mounts with unsubstituted placeholders as incompletely configured | Arthur Schiwon | 2019-02-14 | 1 | -0/+30 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | files_external: allow to register config handlers for flexible placeholders | Arthur Schiwon | 2019-02-14 | 1 | -13/+23 |
| | | | | | | | | * BackendService (directly accessable via \OC_Server) offers registerConfigHandler * SimpleSubstitutionTrait brings reusable logic for simple string replacments * internal $user replacement mechanism was migrated Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | Use numeric placeholders if there are multiple, so that RTL languages can ↵ | Joas Schilling | 2018-10-09 | 1 | -1/+1 |
| | | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Use proper method to log exceptions | Morris Jobke | 2018-03-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Use ::class statement instead of string | Morris Jobke | 2018-01-29 | 1 | -7/+13 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Remove deprecated functions for OCP\Util | Roeland Jago Douma | 2018-01-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Update license headers | Morris Jobke | 2017-11-06 | 1 | -0/+1 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Fix L10N::t | Roeland Jago Douma | 2017-08-01 | 1 | -3/+3 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | layout refinements | Morris Jobke | 2016-08-17 | 1 | -6/+6 |
| | |||||
* | Update with robin | Joas Schilling | 2016-07-21 | 1 | -1/+1 |
| | |||||
* | Fix apps/ | Joas Schilling | 2016-07-21 | 1 | -2/+4 |
| | |||||
* | Change the default value to true instead of null | Juan Pablo Villafáñez | 2016-06-08 | 1 | -1/+1 |
| | |||||
* | Rename variable | Juan Pablo Villafáñez | 2016-06-07 | 1 | -2/+2 |
| | |||||
* | Add support to know where the storage test comes from | Juan Pablo Villafáñez | 2016-06-07 | 1 | -2/+2 |
| | |||||
* | Update license headers | Lukas Reschke | 2016-05-26 | 1 | -3/+3 |
| | |||||
* | Move remaining classes to PSR-4 | Joas Schilling | 2016-05-24 | 1 | -2/+2 |
| | |||||
* | Remove Scrutinizer Auto Fixer | Lukas Reschke | 2016-03-01 | 1 | -1/+0 |
| | |||||
* | Happy new year! | Thomas Müller | 2016-01-12 | 1 | -2/+4 |
| | |||||
* | Remove dead code | Lukas Reschke | 2015-12-09 | 1 | -52/+6 |
| | | | | Silences two other security warnings, also I cleaned up the PHPDoc a little bit. | ||||
* | Migrate storate status code to storagenotavailablexception | Jesús Macias | 2015-12-03 | 1 | -8/+4 |
| | |||||
* | Delete unnecessary storage status constans | Jesús Macias | 2015-12-03 | 1 | -4/+0 |
| | |||||
* | Add different storage status codes managed by StoragedNotAvailableException | Jesús Macias | 2015-12-03 | 1 | -0/+4 |
| | |||||
* | remove old propagation logic | Robin Appelman | 2015-12-01 | 1 | -30/+0 |
| | |||||
* | Adjust patches | Thomas Müller | 2015-11-30 | 1 | -4/+4 |
| | |||||
* | Scrutinizer Auto-Fixes | Scrutinizer Auto-Fixer | 2015-11-30 | 1 | -1/+2 |
| | | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com | ||||
* | Fix some PHPDocs | Lukas Reschke | 2015-11-28 | 1 | -4/+5 |
| | | | | Some classes included via `use` did not even exist anymore. | ||||
* | Properly throw exception in OC_Mount_Config::getBackendStatus | Vincent Petry | 2015-11-06 | 1 | -1/+1 |
| | |||||
* | Display storage status as tooltip | Robin McCorkell | 2015-10-23 | 1 | -0/+1 |
| | |||||
* | deduplicate @xenopathic | Morris Jobke | 2015-10-06 | 1 | -1/+0 |
| | |||||
* | update licence headers via script | Morris Jobke | 2015-10-05 | 1 | -1/+2 |
| | |||||
* | if mountpoint is applicable to all users the old API expects a array with 'all' | Bjoern Schiessle | 2015-10-02 | 1 | -0/+5 |
| | |||||
* | Perform visibility checks on storages | Robin McCorkell | 2015-09-23 | 1 | -7/+7 |
| | | | | | | | | StoragesService::getStorages() will check the visibility of the backend and auth mechanism for the storage, and if either are not visible to the user (aka disabled by admin) then the storage will be filtered out. The original method StoragesService::getAllStorages() still exists in case such storages need to be detected, but its use is discouraged. | ||||
* | Remove storing storage_id in mount.json | Robin McCorkell | 2015-09-10 | 1 | -67/+0 |
| | | | | | One mount configuration does not necessarily map to a single storage, due to `$user` substitution or special auth mechanisms. |