This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Sam 918a0ea3a4 FIX: use autocomplete="discourse" to disable Chrome address autofill
https://stackoverflow.com/a/47822599/17174

Chrome 63 and up start ignoring `autofill="off"`

Per: https://bugs.chromium.org/p/chromium/issues/detail?id=468153#c164

> The tricky part here is that somewhere along the journey of the web autocomplete=off become a default for many form fields, without any real thought being given as to whether or not that was good for users. This doesn't mean there aren't very valid cases where you don't want the browser autofilling data (e.g. on CRM systems), but by and large, we see those as the minority cases. And as a result, we started ignoring autocomplete=off for Chrome Autofill data

So to work around this decision we now explicitly say: autocomplete="discourse"
when we don't want Chrome to randomly fill in addressed (aka. always)
2019-02-20 10:15:59 +11:00
..
adapters DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
components FIX: make composer full screen shortcut work when inputs have focus (#6907) 2019-02-14 00:19:27 -05:00
controllers fix the build 2019-02-18 11:52:11 +05:30
helpers icons deprecations fixes (#6920) 2019-01-22 12:02:02 +01:00
initializers FIX: translate bootbox confirmation dialog (#6981) 2019-02-13 14:04:56 +11:00
lib FIX: an <a> with a target of _blank wants a new window 2019-02-19 14:44:30 -08:00
mixins FIX: Scale down swipe in detection to 20px from edge of the screen 2019-02-11 21:22:50 -08:00
models REFACTOR: topic model (#7020) 2019-02-19 10:13:46 +01:00
pre-initializers DEV: s/this._super()/this._super(...arguments) (#6908) 2019-01-19 10:05:51 +01:00
raw-views FIX: Tooltip for unlisted topics wasn't shown in topic list 2019-01-15 16:13:06 +01:00
routes DEV: Make interface route/controller more resilient to missing values 2019-02-08 16:54:15 +00:00
services FEATURE: Support for localized themes (#6848) 2019-01-17 11:46:11 +00:00
templates FIX: use autocomplete="discourse" to disable Chrome address autofill 2019-02-20 10:15:59 +11:00
widgets FIX: remove extra periods (#6998) 2019-02-13 12:54:34 +11:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00