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 Saffron d5d8db7fa8 FEATURE: improve honeypot and challenge logic
This feature amends it so instead of using one challenge and honeypot
statically per site we have a rotating honeypot and challenge value which
changes every hour.

This means you must grab a fresh copy of honeypot and challenge value once
an hour or account registration will be rejected.

We also now cycle the value of the challenge when after successful account
registration forcing an extra call to hp.json between account registrations

Client has been made aware of these changes.

Additionally this contains a JavaScript workaround for:
https://bugs.chromium.org/p/chromium/issues/detail?id=987293

This is client side code that is specific to Chrome user agent and swaps
a PASSWORD type honeypot with a TEXT type honeypot.
2019-10-16 16:53:44 +11:00
..
adapters FEATURE: Adds a pop up that shows a more detailed score for reviewables (#8035) 2019-09-04 09:56:25 -06:00
components DEV: remove old code, refactor jQuery call 2019-10-09 14:40:48 -04:00
controllers FEATURE: improve honeypot and challenge logic 2019-10-16 16:53:44 +11:00
helpers FIX: Correctly escape category description text (#8107) 2019-10-01 12:04:39 -04:00
initializers FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
lib FIX: do not unpin reply box in iOS when selecting Emoji 2019-10-15 10:51:53 -04:00
mixins SECURITY: Don't send CSRF token in query string 2019-08-21 13:16:38 +01:00
models DEV: Stop overriding computed property on models/category.js.es6 2019-10-14 16:26:48 +01:00
pre-initializers REFACTOR: Move app-events:main to service:app-events (#8152) 2019-10-04 10:06:08 -04:00
raw-views DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
routes FEATURE: add short site description on login page title 2019-10-14 11:40:09 +05:30
services REFACTOR: Move app-events:main to service:app-events (#8152) 2019-10-04 10:06:08 -04:00
templates FEATURE: improve honeypot and challenge logic 2019-10-16 16:53:44 +11:00
widgets FEATURE: Use the 'ugc' rel attribute alongside 'nofollow' 2019-10-14 15:21:48 -03:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00