summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #14170 from nextcloud/feature/update-app-password-activityRoeland Jago Douma2019-02-131-4/+94
|\ | | | | Show more information on app password update
| * Add test cases for rename / grant / revokeDaniel Kesselberg2019-02-131-4/+94
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Move of files_versions to webpackRoeland Jago Douma2019-02-131-13/+2
|/ | | | | | | | * Move CSS into bundle * Old merged.json no longer needed! * No need to load the style still Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix the thorrtler whitelist bitmaskRoeland Jago Douma2019-02-111-0/+29
| | | | | | Before we actually didn't check each bit of the bitmask. Now we do. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #13097 from nextcloud/feature/11319/where-is-your-dataMorris Jobke2019-02-112-3/+103
|\ | | | | Where is your data?
| * Move server info to theming sectionMichael Weimann2019-01-142-4/+10
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Implement storing and loading the server infoMichael Weimann2019-01-141-0/+94
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Merge pull request #13702 from nextcloud/feature/6717/rename-app-passwordsRoeland Jago Douma2019-02-081-7/+8
|\ \ | | | | | | Make it possible to rename app passwords
| * | Don't update token if current session tokenDaniel Kesselberg2019-02-021-3/+2
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | Add canRename & name to testsDaniel Kesselberg2019-02-021-5/+7
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #13748 from nextcloud/cache-insert-eventMorris Jobke2019-02-071-10/+20
|\ \ \ | | | | | | | | add event for inserting cache entries
| * | | adjust testsRobin Appelman2019-02-071-10/+20
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #13969 from ↵Morris Jobke2019-02-073-8/+35
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/enh/additional_scripts_no_on_public_pages No need to emit additonalscript event on public pages
| * | | Add StandaloneTemplateResponseRoeland Jago Douma2019-02-063-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+10
| |/ / | | | | | | | | | | | | | | | | | | 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>
* | | Remove public interface that was only needed for testingMorris Jobke2019-02-071-1/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Switch guest avatars to PNGMichael Weimann2019-02-072-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | Implement guest avatar endpointMichael Weimann2019-02-0710-15/+333
|/ / | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Merge pull request #13846 from nextcloud/feature/check-if-app-exist-for-groupMorris Jobke2019-02-011-3/+31
|\ \ | | | | | | Check app path for enableAppForGroups
| * | Check app path for enableAppForGroupsDaniel Kesselberg2019-01-261-3/+31
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #13548 from nextcloud/feature/10964/app_tokens_activityRoeland Jago Douma2019-02-011-34/+93
|\ \ \ | | | | | | | | Publish event for app token create/update/delete
| * | | Add test for destroy with invalid userDaniel Kesselberg2019-01-301-33/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some code cleanup - willReturn instead of will(returnValue) - Annotation for mocked objects Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | | Publish event for app token create/update/deleteDaniel Kesselberg2019-01-301-5/+9
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Emit to load additionalscriptsRoeland Jago Douma2019-01-311-0/+108
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Add a key parameter to the new initial state APIChristoph Wurst2019-01-301-0/+98
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #13880 from nextcloud/enh/expose_subadmin_to_ocpRoeland Jago Douma2019-01-292-27/+32
|\ \ \ | | | | | | | | Expose subadmin to OCP
| * | | Expose subadmin to OCPRoeland Jago Douma2019-01-292-27/+32
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #13869 from ↵Roeland Jago Douma2019-01-291-1/+6
|\ \ \ \ | |/ / / |/| | | | | | | | | | | nextcloud/enh/clean_pending_2fa_session_on_password_change Clean pending 2FA authentication on password reset
| * | | Clean pending 2FA authentication on password resetRoeland Jago Douma2019-01-291-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a password is reste we should make sure that all users are properly logged in. Pending states should be cleared. For example a session where the 2FA code is not entered yet should be cleared. The token is now removed so the session will be killed the next time this is checked (within 5 minutes). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #13866 from nextcloud/s3-multipart-uploaderRoeland Jago Douma2019-01-291-3/+28
|\ \ \ \ | |/ / / |/| | | always use multipart uploader for s3 uploads
| * | | always use multipart uploader for s3 uploadsRobin Appelman2019-01-281-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | the multipart uploader handles non seekable streams while `upload` does not Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Remove legacy activity stuffJoas Schilling2019-01-241-237/+22
| |/ / |/| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #13217 from ↵Morris Jobke2019-01-234-0/+337
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/add-acceptance-tests-for-moving-and-copying-files Add acceptance tests for moving and copying files
| * | | Add acceptance tests for copying files to the same folderDaniel Calviño Sánchez2019-01-221-0/+33
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | | Add acceptance tests for moving and copying selections to another folderDaniel Calviño Sánchez2019-01-222-0/+126
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | | Add acceptance tests for moving and copying files to another folderDaniel Calviño Sánchez2019-01-224-0/+178
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Urlencode the requesttokenRoeland Jago Douma2019-01-231-1/+1
| |/ / |/| | | | | | | | | | | | | | Followup of #13757 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Request plain logout urlRoeland Jago Douma2019-01-231-10/+5
| | | | | | | | | | | | | | | | | | | | | By requesting the plain logout url we allow it to be properly cached by the caching router. We just add the requesttoken manually. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #13747 from ↵Roeland Jago Douma2019-01-231-0/+24
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/honor_session_lifetime_if_remember_cookie_is_disabled Honor remember_login_cookie_lifetime
| * | | Honor remember_login_cookie_lifetimeRoeland Jago Douma2019-01-231-0/+24
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the remember_login_cookie_lifetime is set to 0 this means we do not want to use remember me at all. In that case we should also not creatae a remember me cookie and should create a proper temp token. Further this specifies that is not 0 the remember me time should always be larger than the session timeout. Because else the behavior is not really defined. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #13739 from nextcloud/cache-cleanup-changeMorris Jobke2019-01-221-0/+31
|\ \ \ | | | | | | | | cleanup shared lock if changing to exclusive lock failed
| * | | cleanup shared lock if changing to exclusive lock failedRobin Appelman2019-01-221-0/+31
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Allow resources via OCS as wellJoas Schilling2019-01-221-0/+85
| |/ / |/| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Fix template paramterRoeland Jago Douma2019-01-181-1/+1
| | | | | | | | | | | | | | | | | | Else we get shown an error page instead of the correct 403. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fix testsRoeland Jago Douma2019-01-151-9/+23
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #13032 from nextcloud/objectstore-write-existsMorris Jobke2019-01-144-1/+122
|\ \ \ | |_|/ |/| | upload new files in objectstore to a .part path first
| * | upload new files in objectstore to a .part path firstRobin Appelman2018-12-123-1/+107
| | | | | | | | | | | | | | | | | | | | | | | | This prevent the object store and cache from getting out of sync when an objectstore silently fails or the php process get's killed during the upload without giving us the chance to cleanup Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Add objectExists to objectstore interfaceRobin Appelman2018-12-121-0/+15
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Cache tokens when using swift's v2 authenticationRobin Appelman2019-01-131-0/+8
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Don't load old vendor files during jsunit testsChristoph Wurst2019-01-091-7/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>