summaryrefslogtreecommitdiffstats
path: root/core/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Npmize (vendor) scriptsChristoph Wurst2019-01-091-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix loginflow with apptoken enter on iOSRoeland Jago Douma2019-01-041-0/+12
| | | | | | | It seems iOS doesn't like us to change the location. So now we submit it to the server that geneartes the redirect. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix SAML Client login flow on Apple devicesRoeland Jago Douma2018-12-171-0/+1
| | | | | | | | | | | Because the redirect from the SAML/SSO endpoint is a POST the lax/strict cookies are not properly send. Note that it is not strictly requried on this endpoint as we do not need the remember me data. Only the real session info is enough. The endpoint is also already protected by a state token. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove redirect pageJohn Molakvoæ (skjnldsv)2018-11-291-28/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Respect the disabled setting for lost_password_linkRoeland Jago Douma2018-11-201-1/+3
| | | | | | | | Fixes #11146 As documented when it is set to disabled the user can't request a lost password. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use the proper server for the apptoken flow loginRoeland Jago Douma2018-11-011-21/+23
| | | | | | | | | | | | | If a user can't authenticate normally (because they have 2FA that is not available on their devices for example). The redirect that is generated should be of the proper format. This means 1. Include the protocol 2. Include the possible subfolder Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* added possibility to disable autocomplete in login formRayn0r2018-10-301-0/+8
| | | | Signed-off-by: Rayn0r <Andre.Weidemann@web.de>
* Keep list of icons in a separate file for use in the accessibility appJulius Härtl2018-10-251-9/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #11847 from iPaat/Fix/DeleteCookiesThroughClearSiteDataMorris Jobke2018-10-231-1/+1
|\ | | | | Remove cookies from Clear-Site-Data Header
| * Remove cookies from Clear-Site-Data HeaderPatrick Conrad2018-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | In https://github.com/nextcloud/server/commit/2f87fb6b456fd109c90a5093c31b7a3f62a32040 this header was introduced. The referenced documentation says: > When delivered with a response from https://example.com/clear, the following header will cause cookies associated with the origin https://example.com to be cleared, as well as cookies on any origin in the same registered domain (e.g. https://www.example.com/ and https://more.subdomains.example.com/). This also applies if `https://nextcloud.example.com/` sends the `Clear-Site-Data: "cookies"` header. This is not the behavior we want at this point! So I removed the deletion of cookies from the header. This has no effect on the logout process as this header is supported only recently and the logout works in old browsers as well. Signed-off-by: Patrick Conrad <conrad@iza.org>
* | Don't require Same Site Cookies on assetsThomas Citharel2018-10-173-0/+4
|/ | | | | | | | Which can be used for public iframe embeeding See https://github.com/nextcloud/calendar/issues/169 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #10898 from ↵Morris Jobke2018-10-082-5/+2
|\ | | | | | | | | nextcloud/feature/10684/default-logo-color-theme-colors Switches the default logo color depending on the primary color
| * Refactors the scss svg functionsMichael Weimann2018-10-021-3/+1
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Moves the logo files to logoMichael Weimann2018-10-022-4/+3
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Add an endppoint for clients to request an app passwordRoeland Jago Douma2018-10-031-0/+108
| | | | | | | | | | | | | | | | Now that we allow enforcing 2 factor auth it make sense if we also allow and endpoint where the clients can in the background fetch an apppassword if they were configured before the login flow was present. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Update all the publickey tokens if needed on web loginRoeland Jago Douma2018-10-021-0/+1
|/ | | | | | | | | | * On weblogin check if we have invalid public key tokens * If so update them all with the new token This ensures that your marked as invalid tokens work again if you once login on the web. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #10743 from ↵blizzz2018-09-131-9/+12
|\ | | | | | | | | danielkesselberg/bugfix/noid/allow-password-reset-for-duplicate-email Enable password reset for user with same email address when only one is active
| * Enable password reset for user with same email address when only one is activeDaniel Kesselberg2018-08-191-9/+12
| | | | | | | | | | | | | | | | | | When two or more user share the same email address its not possible to reset password by email. Even when only one account is active. This pr reduce list of users returned by getByEmail by disabled users. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Do not invalidate main token on OAuthRoeland Jago Douma2018-09-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #10584 We deleted the main token when using the login flow else mutliple tokens would show up for a single user. However in the case of OAuth this is perfectly fine as the authentication happens really in your browser: 1. You are already logged in, no need to log you out 2. You are not logged in yet, but since you log in into the exact same browser the expected behavior is to stay logged in. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Change password expiration time from 12h to 7dMorris Jobke2018-08-311-1/+1
| | | | | | | | | | | | We use the same logic for creating accounts without a password and there the 12h is a bit short. Users don't expect that the signup link needs to be clicked within 12h - 7d should be a more expected behavior. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #10670 from nextcloud/fix/login-throttle-username-lengthMorris Jobke2018-08-241-1/+1
|\ \ | |/ |/| Fix max length requirements for the throttler metadata
| * Fix max length requirements for the throttler metadataChristoph Wurst2018-08-131-1/+1
| | | | | | | | | | | | | | | | | | If a failed login is logged, we save the username as metadata in the bruteforce throttler. To prevent database error due to very long strings, this truncates the username at 64 bytes in the assumption that no real username is longer than that.long strings, Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | only warn about data lose on password reset if per-user keys are usedBjoern Schiessle2018-08-151-1/+10
|/ | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Rename providerset method to get primary providersChristoph Wurst2018-08-081-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix login redirection if only one 2FA provider is activeChristoph Wurst2018-08-081-1/+1
| | | | | | Fixes https://github.com/nextcloud/server/issues/10500. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make the info available if the avatar was uploaded or generatedJoas Schilling2018-08-011-5/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #10391 from ↵Morris Jobke2018-07-251-1/+2
|\ | | | | | | | | nextcloud/bugfix/10389/fix-app-navigation-controller Fix app navigation controller to return an array
| * Fix app navigation controller to return an arrayJulius Härtl2018-07-251-1/+2
| | | | | | | | | | | | This is required to not break compatibility with existing consumers of that endpoint like the apps management or the client Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Allow to access SVGs as guestJoas Schilling2018-07-251-3/+3
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Implements handling for deactivated usersMichael Weimann2018-07-211-25/+84
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Php code bumpJohn Molakvoæ (skjnldsv)2018-07-191-5/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix settings icon fetchingJulius Härtl2018-07-191-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fixed svg generator regex && added missing iconsJohn Molakvoæ (skjnldsv)2018-07-191-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed icons detection and cachingJohn Molakvoæ (skjnldsv)2018-07-191-10/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Mixin scss icon apiJohn Molakvoæ (skjnldsv)2018-07-191-1/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* use built in response cacheFor functionJohn Molakvoæ (skjnldsv)2018-07-191-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Svg icon api sass function and upgrade of all stylesJohn Molakvoæ (skjnldsv)2018-07-191-2/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Svg from appJohn Molakvoæ (skjnldsv)2018-07-191-1/+32
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Svg color apiJohn Molakvoæ (skjnldsv)2018-07-192-2/+99
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* wire the frontendArthur Schiwon2018-07-051-2/+11
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Backend work to provide NC whats New info to usersArthur Schiwon2018-07-051-0/+117
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #9632 from nextcloud/enhancement/stateful-2fa-providersMorris Jobke2018-06-252-5/+26
|\ | | | | Stateful 2fa providers
| * Make 2FA providers statefulChristoph Wurst2018-06-202-5/+26
| | | | | | | | | | | | | | | | | | | | | | This adds persistence to the Nextcloud server 2FA logic so that the server knows which 2FA providers are enabled for a specific user at any time, even when the provider is not available. The `IStatefulProvider` interface was added as tagging interface for providers that are compatible with this new API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | prefill userid for login after password resetRobin Appelman2018-06-211-3/+4
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Removed debug stackJohn Molakvoæ (skjnldsv)2018-06-151-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Avatar imagick bumpJohn Molakvoæ (skjnldsv)2018-06-131-48/+14
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Controller tests fixesJohn Molakvoæ (skjnldsv)2018-06-131-6/+16
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Return Svg avatarsJohn Molakvoæ (skjnldsv)2018-06-131-9/+37
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix usageRoeland Jago Douma2018-06-042-18/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #9531 from remyj38/masterMorris Jobke2018-05-221-0/+3
|\ | | | | Fix translation bug on lost password page