Commit Graph

50 Commits

Author SHA1 Message Date
Roeland Jago Douma 8932a51b91
Extract translated strings of compiled handlebars
Follow up to #11615

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-05 12:32:48 +02:00
Roeland Jago Douma d66e662492
Compile handlebars template for AuthTokenView
Fixes #11032
For https://github.com/orgs/nextcloud/projects/18

Compile the default authtoken handlebars view.
This avoids runtime compilations (speed) and avoids unsafe eval calls
thus allowing a stricter CSP.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-27 14:07:48 +02:00
Christoph Wurst 3254b85c12
Merge pull request #10546 from nextcloud/popover-tokens
Popovermenu fix and token settings design fixes
2018-08-10 09:38:27 +02:00
Christoph Wurst b85e1188e1
Fix `this` context for enter-key handler on app tokens
Fixes https://sentry.io/share/issue/e07c5560b6154212832e4cd6598464c7/.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-08-08 11:07:47 +02:00
John Molakvoæ (skjnldsv) 4ba40385a4
POpovermenu fix and token settings design fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-08-06 10:48:07 +02:00
Morris Jobke 23f35027d5
Show icon in security settings for desktop clients
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-02-28 14:32:42 +01:00
Pierre Gordon 05d8537078 Use generic icons for clients
Signed off by: Pierre Gordon <pierregordon@protonmail.com>
2018-01-20 02:34:18 -05:00
Pierre Gordon cd9de001f7 Centralize icons
Signed off by: Pierre Gordon <pierregordon@protonmail.com>
2018-01-19 20:36:48 -05:00
Pierre Gordon 7109604c01 Add icons to devices/sessions
Signed off by: Pierre Gordon <pierregordon@protonmail.com>
2018-01-19 20:35:50 -05:00
Morris Jobke c134afee40 Use correct l10n for app password menu
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-21 09:18:49 +02:00
Robin Appelman 340fdc1e70
reword sessions to security in personal settings
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-06-06 15:25:28 +02:00
Christoph Wurst 593f6281dc Combine sessions and app passwords view into one single view
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-05-30 09:54:10 +02:00
Thijs den Hartog f72373dfda Create app password by pressing enter
Signed-off-by: Thijs den Hartog <Thijs@thijsbeer.nl>
2017-03-13 08:57:01 +01:00
Joas Schilling 33fb86f68b
Fix detection of the new iOS app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-02-10 10:10:21 +01:00
Robin Appelman ab993ad486
hide token configure menu when clicking outside it
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-12-06 15:43:37 +01:00
Robin Appelman 4f6993a15e
hide all other token dropdowns when showing one
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-12-06 14:11:54 +01:00
Lukas Reschke 9dead382ef
Fix Regex for iPhone and add iPad
The previous Regex worked for an iPhone with version "10.0" but not with "10.0.1" which was wrong. I modified the Regex to also match for those situations.

I also added a Regex for the iPad

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-28 18:42:49 +01:00
John Molakvoæ (skjnldsv) dc4ceb7338
Loading icon fix #2198
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2016-11-24 17:28:21 +01:00
Bjoern Schiessle 2a712abdfd
use date as device name if no name was given
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2016-11-21 20:28:21 +01:00
Morris Jobke 332eaec4c0 Merge pull request #1447 from nextcloud/password-confirmation-for-some-actions
Password confirmation for some actions
2016-11-18 15:42:30 +01:00
Lukas Reschke c241539a21 Merge pull request #2108 from nextcloud/properly-parse-ie-useragent
Properly parse IE 11 user agent
2016-11-18 13:39:47 +01:00
Joas Schilling 68fa1e5dd8
Require password confirmation for app password
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-11-18 12:10:50 +01:00
Roeland Jago Douma 7100a1b347 Merge pull request #2146 from nextcloud/add_copy_tooltip_to_clipboard
Adds copy tooltip to clipboards
2016-11-16 17:57:35 +01:00
Morris Jobke b7e6e9f83c
Fix tooltips - they now properly change on click
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-11-16 15:43:26 +01:00
Robin Appelman 9157f807cc
dropdown ui
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-11-16 15:24:32 +01:00
Robin Appelman da63af8b02
enable deleting/configuring new tokens
Signed-off-by: Robin Appelman <icewind@owncloud.com>
2016-11-16 15:24:28 +01:00
Robin Appelman 1afccde16a
allow configuring filesystem access
Signed-off-by: Robin Appelman <icewind@owncloud.com>
2016-11-16 15:24:27 +01:00
Robin Appelman b4e27d35f5
app password scope wip
Signed-off-by: Robin Appelman <icewind@owncloud.com>
2016-11-16 15:24:27 +01:00
Morris Jobke 9a613078f6
Properly parse IE 11 user agent
* fixes #2101

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-11-14 12:35:23 +01:00
Roeland Jago Douma 7d643fc539
Add sliding animation 2016-08-10 09:17:14 +02:00
Roeland Jago Douma 965804425d
Add clipboardjs for token 2016-08-10 09:10:39 +02:00
Roeland Jago Douma de44ab0244
Always show delete icon for new tokens
* Always show delete icon
* Hide form if the new icon is deleted
2016-08-10 08:58:57 +02:00
Robin Appelman 2ba5785d68 sort tokens 2016-07-20 15:59:00 +02:00
Robin Appelman eb3410322e improve matching safari user agent 2016-07-20 14:13:23 +02:00
Robin Appelman df2dffaf7c add fancy formating for most browsers 2016-07-19 11:27:58 +02:00
Robin Appelman fac970b065 format current and sync client sessions in Personal 2016-07-18 19:39:03 +02:00
Christoph Wurst c9a2790893 prevent users from deleting their own session token 2016-06-28 16:17:37 +02:00
Vincent Petry 579bc57d16 Merge pull request #25261 from owncloud/app-password-login-name
show which login name to use for the new app password
2016-06-27 13:40:20 +02:00
Morris Jobke b9edcd78bf Merge pull request #25252 from owncloud/authtoken-removetooltipondisconnect
Remove tooltip when disconnecting token
2016-06-27 10:42:35 +02:00
Christoph Wurst 1454b4515c fix layout 2016-06-24 17:00:59 +02:00
Christoph Wurst 26aacb4e62 show which login name to use for the new app password 2016-06-24 15:31:48 +02:00
Vincent Petry 9524115c2c Remove tooltip when disconnecting token 2016-06-23 18:30:45 +02:00
Vincent Petry da4ba82b83 Use OC.Backbone instead of Backbone directly in authtoken JS code
Fixes asset pipeline issue with the auth token in personal page
2016-06-23 18:26:01 +02:00
Christoph Wurst 31f3aaa36b
app passwords/device tokens wording 2016-06-21 16:39:51 +02:00
Vincent Petry a5a66f38f1
Fix tooltip position in token list 2016-06-17 15:11:31 +02:00
Christoph Wurst a9ea908413
add tooltip to token names 2016-06-10 14:49:56 +02:00
Christoph Wurst 1671d8e337
remove debug console.log 2016-05-24 13:40:01 +02:00
Christoph Wurst 74277c25be
add button to invalidate browser sessions/device tokens 2016-05-23 09:11:12 +02:00
Christoph Wurst 6495534bcd
add button to add new device tokens 2016-05-23 09:11:12 +02:00
Christoph Wurst 12431aa399
list user's auth tokens on the personal settings page 2016-05-23 09:11:12 +02:00