Commit Graph

5929 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
79731735c0 feat: allow file uploads on mobile chat
closes https://github.com/NodeBB/NodeBB/issues/11217
2023-01-25 20:50:46 -05:00
Barış Soner Uşaklı
06f4801e57 refactor: remove debug log closes #11090 2022-12-16 09:07:17 -05:00
Julian Lam
43e7c98824 fix: relax selectors for client-side form validation so that all form elements are checked 2022-12-14 14:22:30 -05:00
Julian Lam
dadbcd731c feat: integrating basic client-side form validity checking in settings v1 and v2 2022-12-14 14:22:30 -05:00
Barış Soner Uşaklı
91c2e5ac25 refactor: not deprecated on 2.x 2022-11-25 09:02:08 -05:00
Julian Lam
97d8b53fd3 Merge branch 'master' into develop 2022-11-09 12:15:24 -05:00
Barış Soner Uşaklı
d264c6ac4b refactor: use utils.debounce 2022-11-03 20:17:38 -04:00
Julian Lam
a2fafc2b15 Merge remote-tracking branch 'origin/master' into develop 2022-10-24 14:11:25 -04:00
Barış Soner Uşaklı
9227b82e2c fix: check cid as well as template 2022-10-20 21:01:34 -04:00
Julian Lam
96b46411b1 Merge branch 'master' into develop 2022-10-18 15:38:36 -04:00
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
2022-10-18 15:12:13 -04:00
Julian Lam
af27606e20 fix: #10968, icon selector in ACP when icon name is typed in 2022-10-14 11:58:12 -04:00
Julian Lam
1e864a7518 Merge remote-tracking branch 'origin/master' into develop 2022-10-03 14:51:55 -04:00
Barış Soner Uşaklı
61d32bdebb fix: category ordering add test 2022-10-03 09:41:40 -04:00
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
2022-10-01 22:15:06 -04:00
Barış Soner Uşaklı
c0b1ded363 fix more categories button not moving with parent
fix order issue
2022-10-01 22:02:01 -04:00
Julian Lam
803398e915 fix: broken flag history on flag update 2022-09-23 13:10:34 -04:00
Barış Soner Uşaklı
a584dae650 feat: add relevant topic events to post objects
see c9604f216a
2022-09-23 10:42:15 -04:00
Barış Soner Uşaklı
aad0a618c8 fix: scroll to post if theme doesn't have top navbar 2022-09-23 09:09:15 -04:00
Julian Lam
6391f77b01 Merge remote-tracking branch 'origin/master' into develop 2022-09-20 14:04:02 -04:00
Julian Lam
135fe55bed feat: client-side hooks for navigator scroll action 2022-09-19 14:29:03 -04:00
Julian Lam
664bc5f54d fix: update nav thumb on setIndex call (thx @barisusakli) 2022-09-19 14:29:03 -04:00
Julian Lam
aeb94c32b9 feat: j and k hotkeys in topic to navigate through it quickly 2022-09-19 14:29:03 -04:00
Julian Lam
b7287c1eb8 fix: do not call navigator.update() when scrollToElement is explicitly passed a new index value 2022-09-19 14:29:03 -04:00
Julian Lam
fa643eb808 fix: race condition where navigator.update was called when it should not be 2022-09-19 14:29:03 -04:00
Julian Lam
9f9a835fcb feat: a couple utility methods in navigator module to get and set count and index 2022-09-19 14:29:03 -04:00
Julian Lam
5b9de0e521 fix: be tidier and explicitly clean up ctrl-f hotkey on topic page 2022-09-19 09:32:36 -04:00
Julian Lam
3700174c62 refactor: added new ajaxify method .cleanup, called before ajaxify.start. 2022-09-19 09:32:36 -04:00
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
2022-09-16 22:16:08 -04:00
Barış Soner Uşaklı
8e2129f858 fix: #10896, unescape / in taskbar 2022-09-15 19:32:37 -04:00
Julian Lam
f1cca5be8d Merge remote-tracking branch 'origin/master' into develop 2022-09-14 13:19:53 -04:00
Julian Lam
d3e38df8ea fix: add back timeago to post history modal 2022-09-14 13:19:37 -04:00
Julian Lam
881c7c4d18 fix: automatically remove lang parameter if it matches the forum default 2022-09-12 13:01:19 -04:00
Barış Soner Uşaklı
f6f37dc1cd fix: registration regression, closes #10875 2022-09-04 10:11:52 -04:00
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
2022-08-30 09:52:57 -04:00
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
2022-08-28 17:45:56 -04:00
Julian Lam
df36d96788 fix: empty thread tools container on open 2022-08-26 11:48:23 -04:00
Julian Lam
3dd3cd8297 fix: add dropup handler to thread tools menu, updated how post tools menu adds dropup handler 2022-08-26 11:48:23 -04:00
Barış Soner Uşaklı
a2d0cd162d refactor: remove console.log 2022-08-26 11:42:12 -04:00
Julian Lam
bc2ea86023 chore: remove client-side js file for tpl that no longer exists 2022-08-23 14:35:50 -04:00
Julian Lam
d05705183f refactor: move export generation logic to v3 controller, GET/HEAD routes for exports
re: #10384
2022-08-22 17:03:43 -04:00
Barış Soner Uşaklı
0a6900fc77 feat: don't show signatures again in pagination mode in same topic 2022-08-16 19:17:23 -04:00
Barış Soner Uşaklı
aba420a3f3 feat: setting to show signatures only once in topics, closes #10071 2022-08-16 18:06:16 -04:00
Opliko
bcb94edeb4 feat: add event type to topic event component 2022-08-15 14:18:43 -04:00
Julian Lam
4055e3bd1c feat: automatically enable the SMTP transport option if the SMTP service is changed 2022-08-05 15:39:32 -04:00
Barış Soner Uşaklı
4586f68eaf fix: race condition causing undefined ajaxify.data 2022-08-04 18:37:27 -04:00
Julian Lam
847d2b9141 fix: #10795, early return for selection tooltip based on calling user privilege 2022-07-28 15:58:17 -04:00
Barış Soner Uşaklı
b2da02d676 feat: add client side filter:chat.send, closes #10729 2022-07-27 13:12:39 -04:00
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>
2022-07-26 14:29:32 -04:00
Julian Lam
6840a7423b feat: show an informative message when no plugins are found after filtering
fixes #10771
2022-07-26 14:27:17 -04:00