Commit Graph

968 Commits

Author SHA1 Message Date
Christoph Wurst 64c4bb5bce
Vueify the login page
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-29 11:05:16 +02:00
Morris Jobke c2c3feff0e
Merge pull request #15705 from nextcloud/bugfix/15598/text-color-search-box-darktheme
Change text color in search box in darktheme, ref #15598
2019-05-28 13:50:44 +02:00
Greta Doci bb811ee3e1 Change text color in search box in darktheme, ref #15598
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-05-26 17:03:40 +02:00
Roeland Jago Douma 579162d7b9
Allow 2FA to be setup on first login
Once 2FA is enforced for a user and they have no 2FA setup yet this will
now prompt them with a setup screen. Given that providers are enabled
that allow setup then.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-17 10:11:53 +02:00
Christoph Wurst 3cc8c9b769
Create a login bundle for login page scripts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 14:28:31 +02:00
Roeland Jago Douma 7e7146db7f
Block install without CAN_INSTALL file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-11 09:32:33 +02:00
Daniel Calviño Sánchez 8754866a31 Fix markup of file names in file picker
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-03 16:28:15 +02:00
John Molakvoæ (skjnldsv) c12545b581
Truncate filename in the middle on filepicker
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-30 10:28:59 +01:00
Christoph Wurst 2cd594aaed
Make all filepicker strings translatable
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-03-22 10:22:07 +01:00
Roeland Jago Douma 04bc272c72
Merge pull request #14739 from nextcloud/bugfix/noid/header-link-navigation-style-is-too-catchy
Style of navigation links in header is too catchy
2019-03-19 13:47:28 +01:00
Joas Schilling f6b506bc87
Style of navigation links in header is too catchy
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-18 16:26:18 +01:00
Roeland Jago Douma 219fb1a855
Fix showpassword loads
This is bundled by default. So trying to load it throws a warning in the
logs.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-18 14:38:44 +01:00
Roeland Jago Douma 24d239d3e6
Merge pull request #14643 from nextcloud/setup-page-db-select
fix database select styling in setup page
2019-03-15 18:18:12 +01:00
Jan-Christoph Borchardt f2f070503d
Fix language of SQLite warning, follow-up to #14682
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-03-15 01:59:26 +01:00
Marius Blüm 6ff79d4908
Using SQLite should sound more scary 😈
- According to our administrator manual we should mention limitation to minimal and development/testing instances

Signed-off-by: Marius Blüm <marius@lineone.io>
2019-03-14 13:56:09 +01:00
Robin Appelman ed0e3d305e
remove dangling space
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-03-12 15:30:03 +01:00
Felix Ableitner 1c1cd10f0d Change login error message to "wrong username or password" (fixes #14460)
Signed-off-by: Felix Ableitner <me@nutomic.com>
2019-03-06 11:59:03 +01:00
Julius Härtl dc5eea1287
Fix closing tags in header
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-27 16:37:52 +01:00
Roeland Jago Douma c2da3bf1d9
Merge pull request #14318 from DominikWA/RemoveUnnecessaryMetaTags
Fix referrer policy meta tags.
2019-02-26 21:31:30 +01:00
Dominik Wasielewski 7ca5cfc8af Remove additional referrer policy meta tag.
Signed-off-by: Dominik Wasielewski <d-wasi@web.de>
2019-02-26 17:17:06 +01:00
Dominik Wasielewski 782e828889 Remove unnecessary meta tags.
Signed-off-by: Dominik Wasielewski <d-wasi@web.de>
2019-02-26 13:45:05 +01:00
Roeland Jago Douma e819e97829
Login flow V2
This adds the new login flow. The desktop client will open up a browser
and poll a returned endpoint at regular intervals to check if the flow
is done.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-25 07:24:50 +01:00
Julius Härtl 291df5ddfb
Make Storage&database open on enter
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-22 12:54:31 +01:00
Jan-Christoph Borchardt 97ad80524f
Fix tabbability of 'Storage & database' in install, open on enter stilll missing
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-02-22 12:54:31 +01:00
Jan-Christoph Borchardt d1ba0d52ab
Keyboard focus and mouse hover feedback for 'Show password' toggle
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-02-22 12:54:28 +01:00
Joas Schilling 08688af275
Fix OC.getCurrentUser() on guest pages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-19 16:08:40 +01:00
Roeland Jago Douma 635aa23b8c
Do not load bundled jstimezonedetect
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-06 09:16:45 +01:00
Morris Jobke 681437d23d
Merge pull request #12785 from nextcloud/head-menu-half-height-fix
Unify headers menu design, fix click area
2019-01-30 16:25:30 +01:00
Roeland Jago Douma f30877ea7c
Provide initial state
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-29 22:21:54 +01:00
John Molakvoæ (skjnldsv) bb9e282e95
Unify headers menu design, fix click area
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-29 08:12:03 +01:00
Michael Weimann 349687ac09
Fix click app names
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2019-01-14 00:48:09 +01:00
Florian Schunk 808cf39961 change menu's orientation to make sure it is completly visible
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
2019-01-09 11:28:51 +01:00
Florian Schunk dba14fac8b add functionality to create new folder in file picker
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
2019-01-09 11:28:51 +01:00
Florian Schunk 74197462c0 added button for new folder to interface
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
2019-01-09 11:28:51 +01:00
Roeland Jago Douma e6ac233947
Fix loginflow with apptoken enter on iOS
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>
2019-01-04 21:51:36 +01:00
Michael Weimann cfca20c14c
Make the footer "Get your own free account" translatable
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-12-19 23:27:36 +01:00
Morris Jobke 6aefd8389b
Merge pull request #12732 from nextcloud/polishing-fixes
Polishing fixes
2018-11-29 18:21:31 +01:00
John Molakvoæ (skjnldsv) d526ab55fb
Fix default filepicker style and gridview
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-29 14:05:10 +01:00
John Molakvoæ (skjnldsv) 5e4990fadd
Remove redirect page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-29 10:27:22 +01:00
John Molakvoæ (skjnldsv) cba5ccfbaf
Remove old button to submit the apppassword login
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-28 18:41:46 +01:00
Julius Härtl 3e11337b3b
Allow sorting in the file picker
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-16 14:12:41 +01:00
John Molakvoæ (skjnldsv) f54b201f23
Better primary visual on public pages
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-07 16:30:59 +01:00
John Molakvoæ 75f8b161f9
Merge pull request #12153 from nextcloud/appnames
Show all app titles on hovering app menu area, fix #10952, fix #4619
2018-10-31 10:04:49 +01:00
Dennis1993 708658afa3
Merge pull request #12089 from Rayn0r/master
added possibility to disable autocomplete in login form
2018-10-31 09:19:02 +01:00
Jan-Christoph Borchardt ac01522927
Show all app titles on hovering app menu area, fix #10952, fix #4619
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-30 23:20:09 +01:00
Rayn0r 85eb43baff added possibility to disable autocomplete in login form
Signed-off-by: Rayn0r <Andre.Weidemann@web.de>
2018-10-30 11:36:16 +01:00
trendzetter 56b0d3d234
Add missing tag
Add missing closing tag for span.

Signed-off-by: Joris Willems <joris.willems@gmail.com>
2018-10-26 21:22:44 +02:00
Jan-Christoph Borchardt 50b9dd66b7
Adjust design of maintenance mode page
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-25 17:55:35 +02:00
John Molakvoæ (skjnldsv) 8013dab044
Allow focus on input with keyboard
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-23 17:00:47 +02:00
John Molakvoæ (skjnldsv) 26ca7a0e2f
Add filepicker toggle
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-23 10:38:00 +02:00
Jan-Christoph Borchardt 39ff82f707
Use grid view in other file views too
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-18 13:44:05 +02:00
Joas Schilling ea21aa3f7a
Use numeric placeholders if there are multiple, so that RTL languages can operate better
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-09 14:32:14 +02:00
Christoph Wurst ae2cd50427 Improve 2FA login screens
* Show icon if no provider is available
* Reduce shown text if no provider available
* Fix login button icons
* Make backup codes button primary if the only options to log in

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-03 22:16:54 +02:00
Morris Jobke fc60d9f852
Merge pull request #11566 from nextcloud/404-design
Improve 404 page design, fix #11370
2018-10-03 17:40:46 +02:00
Jan-Christoph Borchardt f393cc017d
Improve 404 page design, fix #11370
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-03 16:12:00 +02:00
Christoph Wurst 335a461250 Fix design of 2FA login screens
* Fix rending of empty selection screen (ul missing)
* Fix rendering of backup codes inputs

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-03 15:31:23 +02:00
Jan-Christoph Borchardt 4de8f48b06
Accessibility and design fixes for update and redirect pages
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-02 20:58:32 +02:00
Christoph Wurst feb5842a7d Restructure and redesign two-factor auth provider selection
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-01 23:58:54 +02:00
Christoph Wurst 26a4291d0d Add hint for locked accounts where 2FA is enforced but not configured
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-01 10:59:32 +02:00
Morris Jobke ad5093b7a6
Show link to simple sign up page
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-08-23 14:41:19 +02:00
John Molakvoæ (skjnldsv) 5e867d6415
Fix footer and public min-height
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-08-15 08:38:20 +02:00
Roeland Jago Douma 8c1e75e052
Do not use file as template parameter
Using file will overwrite the $file parameter in the template base.
Leading to trying to include a file that is the exception message. Which
will of course fail.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-09 16:45:25 +02:00
Joas Schilling f67d942fad
Merge pull request #10530 from nextcloud/bugfix/10528/public-template
Fix issues when using the public layout without a PublicTemplateResponse
2018-08-06 15:41:54 +02:00
Julius Härtl 4f2013bd40
Make public layout also usable without a PublicTemplateResponse
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-03 20:41:56 +02:00
Julius Härtl b4ea19c981
Fix base layout content padding
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-03 19:21:10 +02:00
Julius Härtl 2d3e5c817c
Remove header-classes since it is never used
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-03 18:25:06 +02:00
Jan-Christoph Borchardt 2fb6799ad6
Use images instead of inline SVG and unicode
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-08-03 13:20:45 +02:00
Jan-Christoph Borchardt 81dc12a77b
Fix triangle on update page
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-08-01 13:30:31 +02:00
Daniel Calviño Sánchez 84c46dd3dd Add notification container to public layout template
This is needed to show notifications using the standard
"OC.Notification.show" function.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 18:57:10 +02:00
Julius Härtl d13f1cd017
Fix caret icon on installation page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-30 23:56:07 +02:00
John Molakvoæ (skjnldsv) 88db07d28e
Really cleanup the content-wrapper
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-27 09:42:34 +02:00
Roeland Jago Douma 71028fde6b
Merge pull request #10322 from weeman1337/feature-9978-improve-disabled-user-login-message
Login: Implements the "user disabled" message like the "wrong password" message
2018-07-24 20:00:20 +02:00
Daniel Calviño Sánchez 96108ab858 Add event to load additional scripts in the auth page for public shares
Before the public share authentication page is rendered now an event to
load additional scripts is dispatched. Thanks to this any app can load
its own scripts that, when run on the browser, adjust as needed the page
generated by the server.

Note, however, that during the handling of the event apps are only able
to add scripts or styles to be loaded; they can not render arbitrary
content on the page, or change how the content is rendered by the
original template; all those changes have to be done by the scripts at
run-time.

This implies that the scripts of the apps can use only those parameters,
like the token of the share, added to the page when it is generated by
the "publicshareauth" template. Due to this, and given that the event is
being introduced to be used by Talk to inject the UI needed to request
the password for a share, the token of the share is now provided in the
generated page, just like done in the public share page.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-24 14:04:22 +02:00
John Molakvoæ (skjnldsv) 0274507cb1
Acceptance and mobile navigation fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-24 11:01:11 +02:00
Michael Weimann c92d7429d7 Implements handling for deactivated users
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-07-21 13:05:13 +02:00
John Molakvoæ (skjnldsv) 842583038b
Cleanup structure
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-20 23:35:21 +02:00
John Molakvoæ (skjnldsv) 29ff7efe9a
Svg icon api sass function and upgrade of all styles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-19 08:16:57 +02:00
Roeland Jago Douma 7b848368d5
Add locale to templates
It was already added to the user template but we should add it to all
templates. Else apps that want the locale but use special templating (hi
richdocuments!) will fail.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-06 09:23:01 +02:00
Thomas Citharel bf6bfad76b
OC.getLocale() now returns Locale and no longer Language
Added OC.getLanguage() to get Language
<html lang=''> still gets language, though according to IETF BCP47 locale should be good.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-27 13:19:40 +02:00
Jan-Christoph Borchardt 4afdf922f2
Make skip navigation links translatable
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-27 11:37:08 +02:00
Jan-Christoph Borchardt de5d5ee0e7
Add skip navigation / skip to content links
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-26 14:26:30 +02:00
Morris Jobke 9444a3fad1
Merge pull request #9632 from nextcloud/enhancement/stateful-2fa-providers
Stateful 2fa providers
2018-06-25 15:49:58 +02:00
Roeland Jago Douma 31392c2443
Move public auth page over
Now this is in core so the basics (that 99% of the app will want to
use) looks always the same.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-20 08:53:37 +02:00
Christoph Wurst 13d93f5b25
Make 2FA providers stateful
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>
2018-06-20 08:30:26 +02:00
John Molakvoæ (skjnldsv) 21441fad9b
Added new search standard
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-19 23:53:20 +02:00
Julius Härtl 897898a93b
Add data-id to settings navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-05-08 13:14:02 +02:00
Jan-Christoph Borchardt 0f9ba852bc
Fix form labels and main landmark on log in page
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-04-18 16:14:09 +02:00
Jan-Christoph Borchardt 1c00f82ea5
Do not restrict zooming in
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-04-18 15:51:52 +02:00
Jan-Christoph Borchardt 0ee9924b16
Add aria-label to more-apps menu as well
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-04-18 15:40:47 +02:00
Jan-Christoph Borchardt df3c1ac283
Add proper ARIA attributes and structure to header for accessibility, thanks to @MarcoZehe
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-04-18 15:07:42 +02:00
Morris Jobke 0d5142be70
Show a link to the docs instead of a button on the untrusted domain page
Before there was a button to "quickly" add the untrusted domain to the config. This button often didn't worked, because the generated URL was often untrusted as well. Thus removing it and providing proper docs seems to be the better approach to handle this rare case.

Also the log should not be spammed by messages for the untrusted domain accesses, because they are user related and not necessarily an administrative issue.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-17 17:47:11 +02:00
Roeland Jago Douma b2350810e0
Merge pull request #9115 from nextcloud/feature/noid/login_flow_wording
Improve login flow
2018-04-09 08:45:27 +02:00
Roeland Jago Douma 177c8972cc
Improve login flow
* Add page explaining you are about to grant access
* Show grant access page after login

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-08 13:42:36 +02:00
Roeland Jago Douma caee215120
Always remember me
Fixes #8004

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-06 15:44:28 +02:00
Julius Härtl 30e76f9f14
Add footer to public page template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-05 12:22:01 +02:00
Julius Härtl bbeb3402b6
Move styling and menu handling to publicpage.js
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-05 12:21:39 +02:00
Morris Jobke 990ca145d7
Remove "Alternative logins" title on login page
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-03-14 11:38:57 +01:00
Roeland Jago Douma 83873e3da1
Remove deprecated URL functions for OCP\Util
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13 22:04:08 +01:00
rakekniven 1046fb5111
Update login.php
Fixed grammar issue.
Reported at Transifex. See https://www.transifex.com/nextcloud/nextcloud/translate/#af/$/124614533?issue=yes
2018-03-08 20:08:11 +01:00
John Molakvoæ (skjnldsv) d9bd6f3253
Fixed public template
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-03-07 11:05:23 +01:00