summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13702 from nextcloud/feature/6717/rename-app-passwordsRoeland Jago Douma2019-02-085-4/+46
|\ | | | | Make it possible to rename app passwords
| * Don't update token if current session tokenDaniel Kesselberg2019-02-022-0/+2
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * Add interface INamedTokenDaniel Kesselberg2019-02-023-4/+44
| | | | | | | | | | | | Remove $token instanceof DefaultToken || $token instanceof PublicKeyToken Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | [tx-robot] updated from transifexNextcloud bot2019-02-084-6/+6
| |
* | Merge pull request #13986 from nextcloud/feature/cleanup-job-13843Morris Jobke2019-02-074-5/+113
|\ \ | | | | | | Repair step to remove "photo." files created by photocache
| * | Log exceptionDaniel Kesselberg2019-02-072-5/+10
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Repair step to remove "photo." files created by photocacheDaniel Kesselberg2019-02-074-5/+108
| | | | | | | | | | | | | | | | | | | | | | | | Before https://github.com/nextcloud/server/pull/13843 a "photo." file could be created for unsupported image formats by photocache. Because a file is present but not jpg, png or gif no photo could be returned for this vcard. These invalid files are removed by this repair step. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #13819 from ↵Morris Jobke2019-02-072-0/+84
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/unify-html-encoding-handling-with-other-ros-apps Unify the HTML encoding handling with other ROS apps
| * | | Update documentation of setParsed* and setRich*Joas Schilling2019-01-252-0/+84
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #13748 from nextcloud/cache-insert-eventMorris Jobke2019-02-075-10/+92
|\ \ \ \ | |_|/ / |/| | | add event for inserting cache entries
| * | | add event for inserting cache entriesRobin Appelman2019-02-075-10/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this provides a reliable way for apps to listen to new files without the need to of cache wrappers to hook into inserts themselves (something which isn't 100% reliable) Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #13969 from ↵Morris Jobke2019-02-074-1/+50
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/enh/additional_scripts_no_on_public_pages No need to emit additonalscript event on public pages
| * | | | Add StandaloneTemplateResponseRoeland Jago Douma2019-02-064-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be used by pages that do not have the full Nextcloud UI. So notifications etc do not load there. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | No need to emit additonalscript event on public pagesRoeland Jago Douma2019-02-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There already is a separate event for this. This will make it possible to only inject code with the logged in one on default rendered pages. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #14023 from william-p/OS_paramsMorris Jobke2019-02-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix: Check if `$this->params['user']` is an array
| * | | | | Fix: Check if `$this->params['user']` is an arrayWilliam Pain2019-02-051-1/+1
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: William Pain <pain.william@gmail.com>
* | | | | Remove public interface that was only needed for testingMorris Jobke2019-02-071-9/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Add since labelsMorris Jobke2019-02-071-0/+13
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Switch guest avatars to PNGMichael Weimann2019-02-071-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | | | Implement guest avatar endpointMichael Weimann2019-02-0712-244/+689
| |/ / / |/| | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | | Merge pull request #12573 from nextcloud/fix/12568/special_handling_of_logoutMorris Jobke2019-02-065-0/+105
|\ \ \ \ | | | | | | | | | | Do not do redirect handling when loggin out
| * | | | Do not do redirect handling when loggin outRoeland Jago Douma2019-02-065-0/+105
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #12568 Since the clearing of the execution context causes another reload. We should not do the redirect_uri handling as this results in redirecting back to the logout page on login. This adds a simple middleware that will just check if the ClearExecutionContext session variable is set. If that is the case it will just redirect back to the login page. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / / / [tx-robot] updated from transifexNextcloud bot2019-02-0610-44/+282
|/ / /
* | / Move the contactsmenu handlebars templates to the bundleRoeland Jago Douma2019-02-041-1/+0
| |/ |/| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #13846 from nextcloud/feature/check-if-app-exist-for-groupMorris Jobke2019-02-011-6/+7
|\ \ | | | | | | Check app path for enableAppForGroups
| * | Check app path for enableAppForGroupsDaniel Kesselberg2019-01-261-6/+7
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #13970 from nextcloud/fix/do_not_try_to_load_removed_filesMorris Jobke2019-02-011-2/+0
|\ \ \ | | | | | | | | Do not try to load js moved to bundle
| * | | Do not try to load js moved to bundleRoeland Jago Douma2019-02-011-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #13694 from b108/duplicate-functionality-in-request-classRoeland Jago Douma2019-02-011-5/+1
|\ \ \ \ | |/ / / |/| | | Remove duplicate functionality
| * | | Remove duplicate functionalityb108@volgograd2019-01-201-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | This functionality implemented in the next line: $requestUri = preg_replace('%/{2,}%', '/', $requestUri);
* | | | Merge pull request #13927 from nextcloud/remove-dead-codeMorris Jobke2019-02-012-54/+2
|\ \ \ \ | | | | | | | | | | Don't call apc_delete_file and apc_clear_cache anymore
| * | | | Remove deleteFromOpcodeCache & clearOpcodeCacheDaniel Kesselberg2019-01-302-35/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | | | Don't call apc_delete_file and apc_clear_cache anymoreDaniel Kesselberg2019-01-301-25/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no apc for PHP7+ so there is no need to check if exist. accelerator_reset looks even more ancient. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Emit to load additionalscriptsRoeland Jago Douma2019-01-315-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #13662 This will fire of an event after a Template Response has been returned. There is an event for the generic loading and one when logged in. So apps can chose to load only on loged in pages. This is a more generic approach than the files app event. As some things we might want to load on other pages as well besides the files app. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #13894 from nextcloud/feature/noid/chunk-indexable-documentsMorris Jobke2019-01-311-1/+21
|\ \ \ \ \ | | | | | | | | | | | | Allow provider to returns indexeable documents by chunks
| * | | | | phpdocMaxence Lange2019-01-311-2/+3
| | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | | | | removing default value in param $chunkMaxence Lange2019-01-291-2/+2
| | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | | | | +generateChunks()Maxence Lange2019-01-291-2/+21
| | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | | Merge pull request #12636 from nextcloud/fix-12597Roeland Jago Douma2019-01-301-6/+17
|\ \ \ \ \ \ | | | | | | | | | | | | | | handle mail send error gracefully
| * | | | | | Fix typos and unused return valuesChristoph Wurst2019-01-301-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | | | fix typoBjoern Schiessle2019-01-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | | | | | log full exceptionBjoern Schiessle2019-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | | | | | handle mail send error gracefullyBjoern Schiessle2019-01-301-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | log the error in case a notification mail of a new share couldn't be send to the recipient and finish the share operation successfully Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | | | | | Add a key parameter to the new initial state APIChristoph Wurst2019-01-302-18/+38
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | Merge pull request #13237 from rcdailey/nfs-write-checksRoeland Jago Douma2019-01-301-7/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | Improve data directory write checking for NFS mounts
| * | | | | | Improve data directory write checking for NFS mountsRobert Dailey2019-01-241-7/+15
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If `is_writable()` fails, fall back to logic that attempts to create a file and then checks if it exists. If this check fails, an error occurs as it did before. Discussion on this solution was found here: https://help.nextcloud.com/t/write-errors-for-nfs-mount/23328 Fixes #7124 Signed-off-by: Robert Dailey <rcdailey@gmail.com>
* | | | | | Provide initial stateRoeland Jago Douma2019-01-296-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | Merge pull request #13880 from nextcloud/enh/expose_subadmin_to_ocpRoeland Jago Douma2019-01-295-22/+117
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Expose subadmin to OCP
| * | | | | Expose subadmin to OCPRoeland Jago Douma2019-01-295-22/+117
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #13869 from ↵Roeland Jago Douma2019-01-291-0/+9
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | nextcloud/enh/clean_pending_2fa_session_on_password_change Clean pending 2FA authentication on password reset