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/controllers
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
..
badges DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
discovery DEV: attemps to limit Discourse.User.current() usage (#7943) 2019-07-26 11:20:11 +02:00
navigation DEV: Ember 3.8.0 2019-04-26 12:16:21 +02:00
preferences FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
about.js.es6 DEV: Ember 3.8.0 2019-04-26 12:16:21 +02:00
account-created-edit-email.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
account-created-index.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
activation-edit.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
add-post-notice.js.es6 FEATURE: Allow Markdown in post notices. (#7864) 2019-07-09 14:42:02 +03:00
application.js.es6 DEV: attemps to limit Discourse.User.current() usage (#7943) 2019-07-26 11:20:11 +02:00
associate-account-confirm.js.es6 SECURITY: Add confirmation screen when connecting associated accounts 2019-07-24 10:28:15 +01:00
auth-token.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
avatar-selector.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
basic-modal-body.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
bulk-notification-level.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
change-owner.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
change-timestamp.js.es6 REFACTOR: change-timestamp controller (#7498) 2019-05-08 16:26:51 +02:00
composer.js.es6 DEV: Add a plugin API for registering a "beforeSave" on the composer 2019-10-11 14:55:27 -04:00
convert-to-public-topic.js.es6 FEATURE: Allow choice of category when making a PM public (#7907) 2019-07-19 11:52:50 -04:00
create-account.js.es6 FEATURE: improve honeypot and challenge logic 2019-10-16 16:53:44 +11:00
discovery-sortable.js.es6 FIX: attempts to use params from addDiscoveryQueryParam (#8007) 2019-08-14 19:56:02 +02:00
discovery.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
edit-category.js.es6 UX: Show a warning when admin clicks save without adding group when changing category permissions (#7947) 2019-07-29 21:53:31 +03:00
edit-topic-timer.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
email-login.js.es6 FEATURE: Webauthn authenticator management with 2FA login (Security Keys) (#8099) 2019-10-01 19:08:41 -07:00
exception.js.es6 FIX: Rename deprecated "refresh" icon to "sync" (#7966) 2019-08-05 12:21:51 +10:00
explain-reviewable.js.es6 FEATURE: Adds a pop up that shows a more detailed score for reviewables (#8035) 2019-09-04 09:56:25 -06:00
feature-topic.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
flag.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
forgot-password.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
full-page-search.js.es6 FEATURE: Add search operator to see all direct messages from a user (#7913) 2019-07-22 10:55:49 -04:00
grant-badge.js.es6 DEV: reduces memory footprint of tests - step 1 (#7591) 2019-05-28 12:15:12 +02:00
group-activity-posts.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-activity-topics.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-activity.js.es6 DEV: removes application.currentPath deprecation (#7905) 2019-07-18 13:29:37 -04:00
group-add-members.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-bulk-add.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-index.js.es6 FEATURE: add support for group members visibility level (#8004) 2019-08-14 19:00:04 +05:30
group-manage-logs.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group-manage-profile.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
group-manage.js.es6 DEV: removes application.currentPath deprecation (#7905) 2019-07-18 13:29:37 -04:00
group-messages.js.es6 DEV: removes application.currentPath deprecation (#7905) 2019-07-18 13:29:37 -04:00
group-requests.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
group.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
groups-index.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
groups-new.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
history.js.es6 DEV: remove .property() deprecations (#7906) 2019-07-18 13:28:23 -04:00
ignore-duration-with-username.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
ignore-duration.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
insert-hyperlink.js.es6 FEATURE: search topics when adding a link in composer (#8178) 2019-10-11 11:37:44 -04:00
invites-show.js.es6 Ran prettier to fix build 2019-08-16 13:03:01 -06:00
jump-to-post.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
keyboard-shortcuts-help.js.es6 UX: add shortcut for deferring topics (#7798) 2019-06-25 07:20:55 +03:00
login.js.es6 FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
modal.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
move-to-topic.js.es6 FIX: incorrectly removed moveTypes array (#7637) 2019-05-29 16:23:32 +02:00
not-activated.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
password-reset.js.es6 FIX: allow change password with TOTP 2019-10-13 00:53:57 -07:00
preferences.js.es6 DEV: removes application.currentPath deprecation (#7905) 2019-07-18 13:29:37 -04:00
raw-email.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
rename-tag.js.es6 REFACTOR: rename-tag controller (#7634) 2019-05-29 15:58:12 +02:00
reorder-categories.js.es6 DEV: reduces memory footprint of tests - step 1 (#7591) 2019-05-28 12:15:12 +02:00
request-group-membership-form.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
review-index.js.es6 FIX: Add 'deleted' to the list of status filters (#7738) 2019-06-10 15:43:49 -03:00
review-settings.js.es6 FIX: Linting 2019-05-23 12:16:45 -04:00
search-help.js.es6 DEV: Ember 3.8.0 2019-04-26 12:16:21 +02:00
second-factor-add-security-key.js.es6 Check webauthn support when registering security keys (#8146) 2019-10-03 08:26:26 +10:00
second-factor-add-totp.js.es6 UX: Input for name when creating a new authenticator (#8153) 2019-10-04 13:46:48 -05:00
second-factor-backup-edit.js.es6 FEATURE: add ability to have multiple totp factors (#7626) 2019-06-26 16:58:06 -07:00
second-factor-edit-security-key.js.es6 FEATURE: Webauthn authenticator management with 2FA login (Security Keys) (#8099) 2019-10-01 19:08:41 -07:00
second-factor-edit.js.es6 FEATURE: add ability to have multiple totp factors (#7626) 2019-06-26 16:58:06 -07:00
static.js.es6 DEV: s/Em/Ember (#6874) 2019-01-11 17:54:23 +01:00
tag-groups-show.js.es6 apply prettier on gigantic find and replace (#7604) 2019-05-27 10:42:53 +02:00
tag-groups.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
tags-index.js.es6 DEV: reduces memory footprint of tests - step 1 (#7591) 2019-05-28 12:15:12 +02:00
tags-show.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
topic-bulk-actions.js.es6 icon s/trash/trash-alt (#7806) 2019-06-26 12:31:49 +02:00
topic.js.es6 FEATURE: Add site setting to show more detailed 404 errors. (#8014) 2019-10-08 14:15:08 +03:00
upload-selector.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
user-activity.js.es6 DEV: removes application.currentPath deprecation (#7905) 2019-07-18 13:29:37 -04:00
user-badges.js.es6 DEV: reduces memory footprint of tests - step 1 (#7591) 2019-05-28 12:15:12 +02:00
user-card.js.es6 DEV: removes application.currentPath deprecation (#7905) 2019-07-18 13:29:37 -04:00
user-invited-show.js.es6 DEV: attemps to limit Discourse.User.current() usage (#7943) 2019-07-26 11:20:11 +02:00
user-notifications.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
user-posts.js.es6 Fix more deprecations: 2016-10-21 17:28:37 -04:00
user-private-messages-tags.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
user-private-messages.js.es6 DEV: attemps to limit Discourse.User.current() usage (#7943) 2019-07-26 11:20:11 +02:00
user-summary.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
user-topics-list.js.es6 DEV: reduces memory footprint of tests - step 1 (#7591) 2019-05-28 12:15:12 +02:00
user.js.es6 FIX: Show same username or name for post notices. (#7862) 2019-07-19 11:05:48 +03:00
users.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00