You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Lam 9c576a0758
Email confirmation QOL updates (#10987)
* breaking: remove `SocketUser.emailConfirm`, re: #10954

* chore: move email confirmation related configs to own section in Settings > Email

* feat: new user email method `getValidationExpiry`, returns expiration in ms.. probably.

* fix: bug where `user.email.isValidationPending` returned an u nexpected non-boolean value if there was no confirmation pending (only when checking email as well)

* fix: update getValidationExpiry to return ms

* test: use emailConfirmInterval for tests, for now

* fix: throw friendly error when attempting an email change within email confirmation window

* feat: new config option `emailConfirmExpiry` in days, governs how long the confirm link is good for

* test: additional tests for user email methods

* fix: add back missing handling of  option

* test: fix tests
2 years ago
..
database perf: WIP #10449, allow array of pids for posts.purge (#10465) 3 years ago
files
helpers test: fix one last failing test 3 years ago
mocks Update to lru-cache@^7 (#10815) 3 years ago
posts Webpack5 (#10311) 3 years ago
topics test: fix topic thumb tests and topic thumbs to work properly with post upload assoc. 3 years ago
user Email confirmation QOL updates (#10987) 2 years ago
.eslintrc
api.js feat: store topic title and tags in diffs (#10900) 2 years ago
authentication.js test: fix tests so that when user.create is called, email is set prior to confirmation 3 years ago
batch.js
blacklist.js
build.js test: have some build tests not pollute build folder 2 years ago
categories.js fix: category ordering add test 2 years ago
controllers-admin.js test: add back /admin/extend/plugins test 2 years ago
controllers.js test: additional tests for password challenge on email update 3 years ago
coverPhoto.js
database.js refactor: remove tabs after declaration 3 years ago
defer-logger.js
emailer.js fix: properly unregister hooks in emailer tests 3 years ago
feeds.js breaking: remove socket.io/flags.js 3 years ago
file.js
flags.js feat: introduce ACP defined option to rescind notif or do nothing on flag resolve/reject 2 years ago
groups.js breaking: remove deprecated groups socket calls 3 years ago
i18n.js test: fix i18n tests 3 years ago
image.js
locale-detect.js refactor: remove tabs after declaration 3 years ago
messaging.js Webpack5 (#10311) 3 years ago
meta.js refactor: tab rules 3 years ago
middleware.js Update to lru-cache@^7 (#10815) 3 years ago
notifications.js
package-install.js Re-introduce lodash into src/package-install.js (#10315) 3 years ago
pagination.js refactor: remove tabs after declaration 3 years ago
password.js
plugins-installed.js fix: #10809, test runner to only run tests for plugins included in `test_plugins` 3 years ago
plugins.js feat: Allow defining active plugins in config (#10767) 3 years ago
posts.js feat: store topic title and tags in diffs (#10900) 2 years ago
pubsub.js
rewards.js
search-admin.js
search.js refactor: remove tabs after declaration 3 years ago
settings.js
socket.io.js fix test on redis 3 years ago
template-helpers.js Webpack5 (#10311) 3 years ago
topics.js refactor: move post upload tests to its own file 3 years ago
translator.js Webpack5 (#10311) 3 years ago
upgrade.js test: upgrade.runParticular 3 years ago
uploads.js Update to lru-cache@^7 (#10815) 3 years ago
user.js Email confirmation QOL updates (#10987) 2 years ago
utils.js test: fix UUID test 3 years ago