Joas Schilling
924358ef96
Save the timezone on login again
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 anni fa
Morris Jobke
224c89c1b8
Remove leftovers from #1929
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 anni fa
Felix Epp
6aa79cacfd
Fix mail header logo [fixes #1326]
Signed-off-by: Felix A. Epp <work@felixepp.de>
7 anni fa
Jan-Christoph Borchardt
e75dede590
fix some outdated naming
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
7 anni fa
Jan-Christoph Borchardt
56881433c0
show installation spinner correctly, fix #2129
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
7 anni fa
Joas Schilling
80abb69b60
Show a little explanation above the input field
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 anni fa
Joas Schilling
05df523395
Empty the password field on submission of the form
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 anni fa
Joas Schilling
d75e35b75e
Introduce the UI for password confirmation
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 anni fa
Roeland Jago Douma
740659a04c
Move away from OC_L10N
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 anni fa
Roeland Jago Douma
6dbe417c51
Inlince oc.js if possible!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 anni fa
Lukas Reschke
38b3ac8213
Add ContentSecurityPolicyNonceManager
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 anni fa
Lukas Reschke
9e6634814e
Add support for CSP nonces
CSP nonces are a feature available with CSP v2. Basically instead of saying "JS resources from the same domain are ok to be served" we now say "Ressources from everywhere are allowed as long as they add a `nonce` attribute to the script tag with the right nonce.
At the moment the nonce is basically just a `<?php p(base64_encode($_['requesttoken'])) ?>`, we have to decode the requesttoken since `:` is not an allowed value in the nonce. So if somebody does on their own include JS files (instead of using the `addScript` public API, they now must also include that attribute.)
IE does currently not implement CSP v2, thus there is a whitelist included that delivers the new CSP v2 policy to newer browsers. Check http://caniuse.com/#feat=contentsecuritypolicy2 for the current browser support list. An alternative approach would be to just add `'unsafe-inline'` as well as `'unsafe-inline'` is ignored by CSPv2 when a nonce is set. But this would make this security feature unusable at all in IE. Not worth it at the moment IMO.
Implementing this offers the following advantages:
1. **Security:** As we host resources from the same domain by design we don't have to worry about 'self' anymore being in the whitelist
2. **Performance:** We can move oc.js again to inline JS. This makes the loading way quicker as we don't have to load on every load of a new web page a blocking dynamically non-cached JavaScript file.
If you want to toy with CSP see also https://csp-evaluator.withgoogle.com/
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 anni fa
Robin Appelman
7427fb170f
show empty folder message in filepicker
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 anni fa
Robin Appelman
14f78369d7
Use a table for the filepicker list and add size column
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 anni fa
Jan-Christoph Borchardt
aa4eaf3a7e
finish up layout of log in page, postpone forgot password link for later
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
7 anni fa
Robin Appelman
6d43942125
filepicker styling
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 anni fa
Jan-Christoph Borchardt
ee231759e5
update styles of log in
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
7 anni fa
Joas Schilling
b8030e6d02
Use name from theming
7 anni fa
Roeland Jago Douma
19485e3ec9
Set proper web title for apple
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 anni fa
Jan-Christoph Borchardt
75ec1541e4
fix log in button layout
7 anni fa
Jan-Christoph Borchardt
3141680feb
bring back dedicated log in button to make log in more usable
7 anni fa
Joas Schilling
7c0951244a
Deprecate getEditionString()
7 anni fa
Christoph Wurst
8acb734854
add 2fa backup codes app
* add backup codes app unit tests
* add integration tests for the backup codes app
7 anni fa
coderkun
56862e3fdc
Add attribute “tabindex” to login form (fixes #1110)
7 anni fa
Roeland Jago Douma
14136295b7
Cache avatars properly
* Set proper caching headers for avatars (15 minutes)
* For our own avatar use some extra logic to invalidate when we update
7 anni fa
Christoph Wurst
78bb02d27a
list 2FA providers as buttons
7 anni fa
Christoph Wurst
4a91673154
use centered h2 for 2FA page headers
7 anni fa
Christoph Wurst
c93c5d142e
fix 2fa challenge page wording
7 anni fa
Christoph Wurst
dc57b89f37
reorder 2fa challenge HTML
7 anni fa
Jan-Christoph Borchardt
042c744ac6
use proper font stack for email
7 anni fa
Lukas Reschke
8a6b5a1d86
Remove uninterpreted PHP
This is in an HTML file. The PHP won't be executed :see_no_evil:
8 anni fa
Lukas Reschke
fb183f8143
Add cachebuster to right navigation
8 anni fa
Lukas Reschke
3c7d2544b9
Add cache buster to left menu bar
8 anni fa
Morris Jobke
bded787d0c
Empty tags are not allowed for image and feColorMatrix in IE11 and below
8 anni fa
Arthur Schiwon
ceeb44bd04
Initial work on Apps page split:
* interfaces for the Admin settings (IAdmin) and section (ISection)
* SettingsManager service
* example setup with LDAP app
8 anni fa
Jan-Christoph Borchardt
835dc59d6a
reduce info on update screens, introduce button to refresh
8 anni fa
Jan-Christoph Borchardt
2f9725469d
switch nested containers in update to semibold style
8 anni fa
Morris Jobke
d97fe1775a
Shake the login fields if password is wrong
8 anni fa
Julius Haertl
9f50838cff
Fix wrong preserveAspectRatio at app menu icons
8 anni fa
Julius Haertl
f55ba62a00
Move to svg filter on app menu to support IE9+
8 anni fa
Julius Haertl
387550be88
Theming: Implement swapping the foreground color for bright colors
8 anni fa
Hendrik Leppelsack
c47833718f
remove svg classes
8 anni fa
Hendrik Leppelsack
e5d8726859
remove ie8+9 support
8 anni fa
Joachim Sokolowski
64a9f9d77b
singleuser.user.php -> nextcloud
Changed to nextcloud
8 anni fa
Morris Jobke
3720bae3ec
fix setup page strengthify
* fixes #105
8 anni fa
blizzz
51fd2602a7
Revert "Downstream 2016-06-08"
8 anni fa
Joas Schilling
7f88645eab
Allow to cancel 2FA after login
8 anni fa
Jan-Christoph Borchardt
81145ee57c
THIS IS NEXTCLOUD! adjusting the design
8 anni fa
Joas Schilling
3e3b326c85
Allow to cancel 2FA after login
8 anni fa
Christoph Wurst
5e71d23ded
remember redirect_url when solving the 2FA challenge
8 anni fa