5922 Commits (a2fafc2b1545a484f1f0256776e8504f0eb0afd0)

Author SHA1 Message Date
Julian Lam a2fafc2b15 Merge remote-tracking branch 'origin/master' into develop 2 years ago
Barış Soner Uşaklı 9227b82e2c fix: check cid as well as template 2 years ago
Julian Lam 96b46411b1 Merge branch 'master' into develop 2 years ago
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
Julian Lam af27606e20 fix: #10968, icon selector in ACP when icon name is typed in 2 years ago
Julian Lam 1e864a7518 Merge remote-tracking branch 'origin/master' into develop 2 years ago
Barış Soner Uşaklı 61d32bdebb fix: category ordering add test 2 years ago
Barış Soner Uşaklı 989b55d07e fix: crash in category drag, closes #10932
happens when a child is dragged to root or from root to a nested level
2 years ago
Barış Soner Uşaklı c0b1ded363 fix more categories button not moving with parent
fix order issue
2 years ago
Julian Lam 803398e915 fix: broken flag history on flag update 2 years ago
Barış Soner Uşaklı a584dae650 feat: add relevant topic events to post objects
see c9604f216a
2 years ago
Barış Soner Uşaklı aad0a618c8 fix: scroll to post if theme doesn't have top navbar 2 years ago
Julian Lam 6391f77b01 Merge remote-tracking branch 'origin/master' into develop 2 years ago
Julian Lam 135fe55bed feat: client-side hooks for navigator scroll action 2 years ago
Julian Lam 664bc5f54d fix: update nav thumb on setIndex call (thx @barisusakli) 2 years ago
Julian Lam aeb94c32b9 feat: j and k hotkeys in topic to navigate through it quickly 2 years ago
Julian Lam b7287c1eb8 fix: do not call `navigator.update()` when `scrollToElement` is explicitly passed a new index value 2 years ago
Julian Lam fa643eb808 fix: race condition where `navigator.update` was called when it should not be 2 years ago
Julian Lam 9f9a835fcb feat: a couple utility methods in navigator module to get and set count and index 2 years ago
Julian Lam 5b9de0e521 fix: be tidier and explicitly clean up ctrl-f hotkey on topic page 2 years ago
Julian Lam 3700174c62 refactor: added new ajaxify method .cleanup, called before ajaxify.start. 2 years ago
Barış Soner Uşaklı b5dd89e1c0
feat: store topic title and tags in diffs (#10900)
* feat: store topic title and tags in diffs

allow restoring post diff if tags didn't change

* test: fix tests, fast computer problems
2 years ago
Barış Soner Uşaklı 8e2129f858 fix: #10896, unescape / in taskbar 2 years ago
Julian Lam f1cca5be8d Merge remote-tracking branch 'origin/master' into develop 2 years ago
Julian Lam d3e38df8ea fix: add back timeago to post history modal 2 years ago
Julian Lam 881c7c4d18 fix: automatically remove `lang` parameter if it matches the forum default 2 years ago
Barış Soner Uşaklı f6f37dc1cd fix: registration regression, closes #10875 2 years ago
Opliko 1920732528
feat: remove visibilityjs (#10870)
* feat: remove visibilityjs

* fix: actually remove require

* style: add a newline

* style: forgot a semicolon

* style: accidently removed trailing newline

* fix: move property declaration to its actual previous place
2 years ago
Barış Soner Uşaklı b7addffc9e breaking: reduce nodebb.min.js size by around 800kb
const zxcvbn = require('zxcvbn');
bundles a huge amount of code, now it won't be in nodebb.min.js
2 years ago
Julian Lam df36d96788 fix: empty thread tools container on open 2 years ago
Julian Lam 3dd3cd8297 fix: add dropup handler to thread tools menu, updated how post tools menu adds dropup handler 2 years ago
Barış Soner Uşaklı a2d0cd162d
refactor: remove console.log 2 years ago
Julian Lam bc2ea86023 chore: remove client-side js file for tpl that no longer exists 2 years ago
Julian Lam d05705183f refactor: move export generation logic to v3 controller, GET/HEAD routes for exports
re: #10384
2 years ago
Barış Soner Uşaklı 0a6900fc77 feat: don't show signatures again in pagination mode in same topic 2 years ago
Barış Soner Uşaklı aba420a3f3 feat: setting to show signatures only once in topics, closes #10071 2 years ago
Opliko bcb94edeb4 feat: add event type to topic event component 2 years ago
Julian Lam 4055e3bd1c feat: automatically enable the SMTP transport option if the SMTP service is changed 2 years ago
Barış Soner Uşaklı 4586f68eaf fix: race condition causing undefined ajaxify.data 2 years ago
Julian Lam 847d2b9141 fix: #10795, early return for selection tooltip based on calling user privilege 3 years ago
Barış Soner Uşaklı b2da02d676 feat: add client side filter:chat.send, closes #10729 3 years ago
Julian Lam 820bc994d8
feat: UI changes for ACP > Manage > Categories (#10782)
* Revert "Revert "feat: cross origin opener policy options (#10710)""

This reverts commit 46050ace1a.

* Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""

This reverts commit 9f291c07d3.

* feat: closes #10719, don't trim children if category is marked section

* feat: fire hook to allow plugins to filter the pids returned in a user profile

/cc julianlam/nodebb-plugin-support-forum#14

* fix: use `user.hidePrivateData();` more consistently across user retrieval endpoints

* fix: better looking placeholder text for ACP search

* fix: bug where fallback to forum search was not working due to client-side error

* feat: allow plugins to toggle whether IPs are shown in the users CSV export

* feat: Allow defining active plugins in config (#10767)

* Revert "Revert "feat: cross origin opener policy options (#10710)""

This reverts commit 46050ace1a.

* Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""

This reverts commit 9f291c07d3.

* feat: closes #10719, don't trim children if category is marked section

* feat: fire hook to allow plugins to filter the pids returned in a user profile

/cc julianlam/nodebb-plugin-support-forum#14

* fix: use `user.hidePrivateData();` more consistently across user retrieval endpoints

* feat: Allow defining active plugins in config

resolves #10766

* fix: assign the db result to files properly

* test: add tests with plugins in config

* feat: better theme change handling

* feat: add visual indication that plugins can't be activated

* test: correct hooks

* test: fix test definitions

* test: remove instead of resetting nconf to avoid affecting other tests

* test: ... I forgot how nconf worked

* fix: remove negation

* docs: improve wording of error message

* feat: reduce code duplication

* style: remove a redundant space

* fix: remove unused imports

* fix: use nconf instead of requiring config.json

* fix: await...

* fix: second missed await

* fix: move back from getActiveIds to getActive

* fix: use paths again?

* fix: typo

* fix: move require into the function

* fix: forgot to change back to getActive

* test: getActive returns only id

* test: accedently commented out some stuff

* feat: added note to top of plugins page if \!canChangeState

Co-authored-by: Julian Lam <julian@nodebb.org>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>

* feat: show an informative message when no plugins are found after filtering

fixes #10771

* Latest translations and fallbacks

* Latest translations and fallbacks

* chore(deps): bump ace-builds from 1.7.1 to 1.8.1 in /install

Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.7.1...v1.8.1)

---
updated-dependencies:
- dependency-name: ace-builds
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: swap out icons in ACP > Manage > Categories to more intuitive ones, remove extra placeholder div

* fix: hide expando button if no subcategories; remove attempt at establishing common vars, increased spacing between categories in list

* fix: buggy expando state on category drag/drop

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
Co-authored-by: Opliko <opliko.reg@protonmail.com>
Co-authored-by: Misty Release Bot <deploy@nodebb.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Julian Lam 6840a7423b feat: show an informative message when no plugins are found after filtering
fixes #10771
3 years ago
Julian Lam 25046642e7 fix: bug where fallback to forum search was not working due to client-side error 3 years ago
Julian Lam 1b9c68196f fix: better looking placeholder text for ACP search 3 years ago
Julian Lam b778e38c2b fix: move call to `ajaxify.parseData` out to root level 3 years ago
Julian Lam 165b804d64 refactor: rewrite ajaxify.parseData in vanilla 3 years ago
Julian Lam 2582cb53a6 fix: move `ajaxify.parseData` back out to DOMContentLoaded
partialy reverts 2bfccac72
3 years ago
Barış Soner Uşaklı 2da188fe10 fix: #10696, fix alert for password reset email 3 years ago
Barış Soner Uşaklı 48564cfa86 fix: #10675, don't ajaxify to /assets/ urls 3 years ago