summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | Set default frame-ancestors to 'self'Roeland Jago Douma2019-01-085-62/+62
| |/ |/| | | | | | | | | For #13042 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | CSP: Allow fonts to be provided in dataRoeland Jago Douma2019-01-075-63/+63
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #12621 from nextcloud/td/12224/cleanup_middleware_registeringRoeland Jago Douma2019-01-071-9/+10
|\ \ | | | | | | Cleanup middleware registering
| * | Cleanup middleware registeringRoeland Jago Douma2019-01-031-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #12224 Since we only use the middleware at 1 location it makes no sense to register them in each and every container. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #13172 from nextcloud/fix-can-change-password-checkRoeland Jago Douma2019-01-041-1/+47
|\ \ \ | | | | | | | | fix can change password check in case of encryption is enabled
| * | | fix can change password check in case of encryption is enabledBjoern Schiessle2018-12-201-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Admin should _not_ be able to change password when: - if an encryption module is loaded and it uses per-user keys - if encryption is enabled but no encryption modules are loaded Admin should be able to change the password when: - no encryption module is loaded and encryption is disabled - encryption module is loaded but it doesn't require per user keys Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | | Merge pull request #13313 from nextcloud/feature/remove-outdated-cachesRoeland Jago Douma2019-01-041-5/+0
|\ \ \ \ | | | | | | | | | | Remove check for outdated caches
| * | | | Remove check for outdated cachesDaniel Kesselberg2019-01-021-5/+0
| | |/ / | |/| | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Merge pull request #10555 from nextcloud/bugfix/10518/only-check-added-itemsblizzz2019-01-031-15/+95
|\ \ \ \ | |/ / / |/| | | Only enforce schema limits for supported apps
| * | | Update the tests to the comparison logicJoas Schilling2018-12-171-15/+95
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Add acceptance tests for opening search results for commentsDaniel Calviño Sánchez2018-12-213-0/+91
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Add acceptance tests for searching commentsDaniel Calviño Sánchez2018-12-213-0/+152
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Use a case insensitive search for emailRoeland Jago Douma2018-12-201-2/+3
| |/ |/| | | | | | | | | | | | | Fixes #7084 Now entering wrongly cased email (roeland@ instead of Roeland@) for password reset etc. Will also work. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #13116 from ↵Roeland Jago Douma2018-12-191-53/+90
|\ \ | | | | | | | | | | | | nextcloud/fix/only_trust_xforwardedhost_for_trusted_proxies Only trust the X-FORWARDED-HOST header for trusted proxies
| * | Only trust the X-FORWARDED-HOST header for trusted proxiesRoeland Jago Douma2018-12-171-53/+90
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #12766 from stalker314314/streaming-optionsJohn Molakvoæ2018-12-181-0/+22
|\ \ \ | |/ / |/| | Expose Swift Mailer streaming options in config, fixes #12702
| * | Addressing comments, array() to []Branko Kokanovic2018-12-171-2/+2
| | | | | | | | | | | | Signed-off-by: Branko Kokanovic <branko@kokanovic.org>
| * | Expose Swift Mailer streaming options in config, fixes #12702Branko Kokanovic2018-11-301-0/+22
| | | | | | | | | | | | Signed-off-by: Branko Kokanovic <branko@kokanovic.org>
* | | Merge pull request #12883 from nextcloud/appdata-performanceJoas Schilling2018-12-172-18/+12
|\ \ \ | |_|/ |/| | try to grab the appdata folder directly without going trough the whole tree
| * | use a fresh appdata factory in background job testRobin Appelman2018-12-061-1/+5
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | try to grab the appdata folder directly without going trough the whole treeRobin Appelman2018-12-061-17/+7
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Remove deprecated functions from SecureRandomRoeland Jago Douma2018-12-071-4/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #12897 from ↵Roeland Jago Douma2018-12-072-0/+209
|\ \ | | | | | | | | | | | | nextcloud/fix-unread-comment-icon-not-shown-for-the-sharee Fix unread comment icon not shown for the sharee