summaryrefslogtreecommitdiffstats
path: root/core/templates
Commit message (Collapse)AuthorAgeFilesLines
* Properly decide on actual users if instance is too bigMorris Jobke2017-05-101-1/+1
| | | | | | * state the reason why NC thinks it is a big instance Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Check if Nextcloud is installedLukas Reschke2017-05-081-1/+2
| | | | | | Fixes https://github.com/nextcloud/server/issues/4735 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #4632 from nextcloud/login-logo-ratioLukas Reschke2017-05-081-0/+3
|\ | | | | show non landscape logos bigger on the login page
| * smaller max logo sizes and cleaner codeRobin Appelman2017-05-021-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * show non landscape icons bigger on the login pageRobin Appelman2017-05-011-0/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Prevent flashing of apps and user menuJan-Christoph Borchardt2017-04-291-2/+2
|/ | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Merge branch 'master' into contactsmenuJan-Christoph Borchardt2017-04-262-0/+94
|\ | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * Fix auth flow background color and redirect view layoutJan-Christoph Borchardt2017-04-251-1/+4
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * Correctly case the stateTokenRoeland Jago Douma2017-04-251-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add new auth flowLukas Reschke2017-04-252-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements the basics for the new app-password based authentication flow for our clients. The current implementation tries to keep it as simple as possible and works the following way: 1. Unauthenticated client opens `/index.php/login/flow` 2. User will be asked whether they want to grant access to the client 3. If accepted the user has the chance to do so using existing App Token or automatically generate an app password. If the user chooses to use an existing app token then that one will simply be redirected to the `nc://` protocol handler. While we can improve on that in the future, I think keeping this smaller at the moment has its advantages. Also, in the near future we have to think about an automatic migration endpoint so there's that anyways :-) If the user chooses to use the regular login the following happens: 1. A session state token is written to the session 2. User is redirected to the login page 3. If successfully authenticated they will be redirected to a page redirecting to the POST controller 4. The POST controller will check if the CSRF token as well as the state token is correct, if yes the user will be redirected to the `nc://` protocol handler. This approach is quite simple but also allows to be extended in the future. One could for example allow external websites to consume this authentication endpoint as well. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Contacts menuChristoph Wurst2017-04-251-0/+5
|/ | | | | | | * load list of contacts from the server * show last message of each contact Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Responsive app menuJulius Härtl2017-04-251-33/+30
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update email template for lost password emailMorris Jobke2017-04-121-21/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Removes unused code for link share emailsMorris Jobke2017-04-112-51/+0
| | | | | | | * now handled by sharebymail app * see https://github.com/nextcloud/server/pull/657 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4256 from nextcloud/themingLukas Reschke2017-04-111-1/+1
|\ | | | | Move OC_Defaults to OCP\Defaults
| * Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #2618 from nextcloud/2fa-challenge-textLukas Reschke2017-04-112-21/+25
|\ \ | |/ |/| Move log out and backup codes link into 2fa box for better readability
| * Use button instead of simple linksChristoph Wurst2017-03-062-6/+4
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Move log out and back codes link into 2fa box for better readabilityChristoph Wurst2017-03-062-21/+27
| | | | | | | | | | | | Fixes https://github.com/nextcloud/server/issues/2538 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | rename confusing getMailHeaderColor to getColorPrimary, ref #3491Jan-Christoph Borchardt2017-03-294-7/+7
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Merge pull request #4130 from nextcloud/replace-useless-print-unescaped-with-pJoas Schilling2017-03-291-1/+1
|\ \ | | | | | | Replace unecessary unescaped prints with print
| * | Replace unecessary unescaped prints with printLukas Reschke2017-03-291-1/+1
| | | | | | | | | | | | | | | | | | There's no need to have those unescaped from what I can see. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Web app manifestPierre Rudloff2017-03-281-0/+1
|/ / | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Moving the inline js before the CSSRoeland Jago Douma2017-03-283-15/+15
| | | | | | | | | | | | This allows browsers to do smarted parallel downloads Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | use theming colors for favicon on macOSJan-Christoph Borchardt2017-03-273-3/+3
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Merge pull request #4077 from nextcloud/better-navigation-managementMorris Jobke2017-03-261-37/+1
|\ \ | | | | | | Register the app management in the normal way
| * | Manage the right side menu via the navigation manager as wellJoas Schilling2017-03-261-6/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Register the app management in the normal wayJoas Schilling2017-03-261-31/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | replace name in top right with icon for less noiseJan-Christoph Borchardt2017-03-261-2/+1
|/ / | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Merge login JSLukas Reschke2017-03-241-5/+1
| | | | | | | | | | | | Removes 2 requests. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #3951 from nextcloud/menu-firefox-fixesLukas Reschke2017-03-201-4/+4
|\ \ | | | | | | Fix new app menu on firefox
| * | Fix filter for app icons on firefoxJulius Härtl2017-03-201-4/+4
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #3915 from michaelletzgus/html5-fix_autocapitalizeRoeland Jago Douma2017-03-202-10/+10
|\ \ \ | | | | | | | | Fix value of attribute "autocapitalize"
| * | | Fix value of attribute "autocapitalize"Michael Letzgus2017-03-182-10/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | Change <input> attribute "autocapitalize" from value "off" to "none" regarding to apples dev guide: https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/Attributes.html#//apple_ref/doc/uid/TP40008058-autocapitalize Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
* / / Fix duplicate id "apps-management"Michael Letzgus2017-03-191-2/+2
|/ / | | | | | | | | | | | | | | | | Make duplicate id "apps-management" a class since IDs must be unique: https://www.w3.org/TR/2011/WD-html5-20110525/elements.html#the-id-attribute https://api.jquery.com/id-selector/ Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
* | Fix html formating issuesJulius Haertl2017-03-161-14/+5
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Rebuild menu to keep order of icons correctJulius Haertl2017-03-161-1/+3
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Make enabling/disabling apps work with the new menuJulius Haertl2017-03-161-11/+6
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Make app management icon act like a normal app iconJulius Haertl2017-03-161-2/+3
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Fix menu issuesJulius Haertl2017-03-161-47/+48
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Generate seperate menu list for header barJulius Haertl2017-03-161-17/+19
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Show app icons in the headerJulius Haertl2017-03-161-2/+49
|/ | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Always enable avatarsMorris Jobke2017-02-131-2/+0
| | | | | | | | | * we introduced this setting in the begining because our avatar support caused some performance issues, but we fixed them and should only provide one way how Nextcloud looks Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Rename database password toggleMorris Jobke2017-02-071-3/+3
| | | | | | | | | * otherwise submitting the form with the password show will be overwritten * see https://github.com/nextcloud/server/blob/2c9d7eeb763d2f907eea8234f6c60a829a5d39f7/core/Controller/SetupController.php#L59 * seems to be a legacy fallback * fixes #3381 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #2044 from nextcloud/login-credential-storeMorris Jobke2017-01-301-2/+0
|\ | | | | Login credential store
| * always allow remembered loginChristoph Wurst2017-01-111-2/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add clear search buttonJohn Molakvoæ (skjnldsv)2017-01-251-0/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | fix scssChristoph Wurst2017-01-231-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use flexbox for header and rearrange some elementsChristoph Wurst2017-01-231-54/+57
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a TwoFactorExceptionCornelius Kölbel2017-01-111-1/+7
| | | | | | | | | | | A Two Factor third party App may throw a TwoFactorException() with a more detailed error message in case the authentication fails. The 2FA Controller will then display the message of this Exception to the user. Working on #26593 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>