zulip/frontend_tests/node_tests
Greg Price a116303604 passwords: Express the quality threshold as guesses required.
The original "quality score" was invented purely for populating
our password-strength progress bar, and isn't expressed in terms
that are particularly meaningful.  For configuration and the core
accept/reject logic, it's better to use units that are readily
understood.  Switch to those.

I considered using "bits of entropy", defined loosely as the log
of this number, but both the zxcvbn paper and the linked CACM
article (which I recommend!) are written in terms of the number
of guesses.  And reading (most of) those two papers made me
less happy about referring to "entropy" in our terminology.
I already knew that notion was a little fuzzy if looked at
too closely, and I gained a better appreciation of how it's
contributed to confusion in discussing password policies and
to adoption of perverse policies that favor "Password1!" over
"derived unusual ravioli raft".  So, "guesses" it is.

And although the log is handy for some analysis purposes
(certainly for a graph like those in the zxcvbn paper), it adds
a layer of abstraction, and I think makes it harder to think
clearly about attacks, especially in the online setting.  So
just use the actual number, and if someone wants to set a
gigantic value, they will have the pleasure of seeing just
how many digits are involved.

(Thanks to @YJDave for a prototype that the code changes in this
 commit are based on.)
2017-10-08 15:48:44 -07:00
..
activity.js activity.js: Extract get_filtered_and_sorted_user_ids(). 2017-10-08 12:01:59 -07:00
alert_words.js alert_words: Don't muck up rendered HTML content while munging. 2017-07-31 21:20:21 -07:00
bot_data.js node tests: Add coverage for get_all_bots_for_current_user. 2017-05-25 09:54:05 -07:00
channel.js middleware: Use a proper error code on CSRF failure. 2017-07-25 14:02:12 -07:00
colorspace.js eslint: Set array-bracket-spacing rule and clean project. 2017-10-06 12:43:12 -07:00
common.js Introduce make_zjquery(). 2017-05-24 17:41:41 -07:00
compose_actions.js compose_state.js: Extract focus_in_empty_compose(). 2017-09-19 19:07:30 -07:00
compose_fade.js Use stream_id in recipient comparisons. 2017-02-26 16:18:02 -08:00
compose.js frontend: Show link to delete files in quota exceeded error. 2017-09-14 06:04:09 -07:00
composebox_typeahead.js eslint: Set array-bracket-spacing rule and clean project. 2017-10-06 12:43:12 -07:00
dict.js Add Dict.is_empty(). 2017-04-21 21:59:22 -07:00
dispatch.js js: Clean up how we track default stream names. 2017-08-27 19:08:04 -07:00
drafts.js eslint: Add and enforce space-in-parens lint rule. 2017-10-06 12:36:59 -07:00
emoji_picker.js build_emoji: Extend emoji mappings to use new emojis from iamcal dataset. 2017-10-04 23:09:14 -07:00
emoji.js emoji_picker: Update emoji showcase on mouse hover. 2017-09-29 21:10:03 +00:00
filter.js filter.js: Add test coverage for group-pm-with. 2017-09-24 15:13:58 -04:00
hashchange.js Add people.initialize(). 2017-05-23 19:35:08 -07:00
hotkey.js hotkeys: Remap ':' to close the reactions popover in case of empty search. 2017-10-05 19:05:27 +05:30
i18n.js user_settings: Add push notifications for all stream messages. 2017-09-14 05:41:37 -07:00
markdown.js eslint: Set array-bracket-spacing rule and clean project. 2017-10-06 12:43:12 -07:00
message_edit.js message edit: Prevent editing any failed messages. 2017-07-21 11:38:25 -07:00
message_list_view.js notifications: Fix desktop/sound notifications for @all. 2017-08-24 23:56:10 -07:00
message_list.js bookend: Hide re-subscribe button for private streams. 2017-06-20 20:56:26 -04:00
message_store.js markdown: Remove is_me_message UserMessage flags. 2017-08-27 09:34:24 -07:00
muting.js Revert "muting.js: Track muted streams using stream id." 2017-05-17 07:06:32 -07:00
narrow_state.js narrow.js: Create narrowed_by_stream_reply(). 2017-06-27 14:06:59 -04:00
narrow.js Add empty narrow msg for group-pm-with. 2017-09-24 15:13:58 -04:00
password.js passwords: Express the quality threshold as guesses required. 2017-10-08 15:48:44 -07:00
people.js Add people.get_realm_user_ids(). 2017-10-08 12:01:59 -07:00
pm_conversations.js typeahead: Add pm_conversations module. 2017-06-01 08:05:37 +00:00
pm_list.js Use zrequire in node_tests/pm_list.js. 2017-08-09 12:32:09 -07:00
presence.js node tests: Add test_set_user_status(). 2017-06-19 08:00:55 -04:00
reactions.js eslint: Set array-bracket-spacing rule and clean project. 2017-10-06 12:43:12 -07:00
recent_senders.js recent_senders: Add sort by stream message recency. 2017-09-14 07:20:52 -07:00
rtl.js Add rtl.js library for detecting direction of text. 2017-04-22 11:25:54 -07:00
search_suggestion.js Add 'group-pm-with' to operator autocomplete. 2017-09-24 13:56:33 -04:00
server_events.js Revert commits related to client_message_id. 2017-07-14 12:13:35 -07:00
settings_bots.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00
settings_org.js Restructure organization settings and permissions. 2017-08-28 17:20:13 -07:00
stream_color.js eslint: change space-before-function-paren from warning to error. 2016-12-05 09:50:37 -08:00
stream_data.js Add stream_data.get_streams_for_admin(). 2017-08-27 19:08:04 -07:00
stream_events.js Use user_ids, not emails, for bulk stream operations. 2017-10-08 12:31:12 -07:00
stream_list.js Extract top_left_corner.js. 2017-08-14 13:03:57 -07:00
stream_sort.js Fix issues with left-sidebar stream search and multiple words. 2017-09-15 00:22:59 -07:00
subs.js frontend: Make perfectScrollbars pass tests. 2017-08-16 08:07:28 -07:00
templates.js frontend: Seperate out info on accessing emails to template. 2017-10-04 08:20:29 -07:00
timerender.js uploads: Only display year uploaded if previous year. 2017-07-25 23:06:58 -07:00
top_left_corner.js Extract top_left_corner.js. 2017-08-14 13:03:57 -07:00
topic_data.js Add topic_data.get_server_history(). 2017-08-08 17:07:09 -04:00
topic_generator.js hotkeys: Fix "n" key to work inside a muted stream. 2017-08-17 09:01:49 -07:00
topic_list.js Simplify rendering of "more topics" link. 2017-09-26 13:58:54 -07:00
typeahead_helper.js emoji: Migrate bugdown emoji to use sprite sheets. 2017-09-29 11:14:34 -07:00
typing_data.js Extract typing indicator inbound timing logic. 2017-03-22 08:20:21 -07:00
typing_status.js Revamp state tracking for outbound typing indicators. 2017-03-22 07:01:20 -07:00
unread.js Revert "Get unread messages from the server in the web app." 2017-09-22 10:20:19 -07:00
user_events.js node: Fix node test for user_events. 2017-08-16 16:46:41 -07:00
util.js util: Remove execute_early. 2017-07-04 13:54:33 -07:00
zjquery.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00