Commit Graph

19967 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
b97b51a8ac feat: up deps 2020-08-12 15:37:09 -04:00
Barış Soner Uşaklı
a333cb6ca4 feat: one more test 2020-08-12 13:46:30 -04:00
Barış Soner Uşaklı
ecda4ad8ad feat: tests for password change 2020-08-12 13:42:55 -04:00
Julian Lam
16cee1b03b fix: improper targetUid check during password change 2020-08-12 13:23:58 -04:00
Julian Lam
0903eb4b8c feat: limit privileges column to superadmins only 2020-08-12 13:00:55 -04:00
Misty (Bot)
9500871e47 chore: incrementing version number - v1.14.3-beta.14 v1.14.3-beta.14 2020-08-12 04:35:41 +00:00
Peter Jaszkowiak
1d170e0c1c fix: #8547, remove old deps during upgrade (#8557) 2020-08-11 14:32:44 -04:00
Julian Lam
12edd18b46 feat: use nodebb-scoped bootswatch
closes #8527
2020-08-11 13:43:25 -04:00
Barış Soner Uşaklı
6e91885836 feat: use assetBaseUrl instead of hardcoding 2020-08-11 11:09:46 -04:00
Barış Soner Uşaklı
3f01f4a2b8 Revert "feat: load timeago strings client-side"
This reverts commit 558a2d739c.
2020-08-11 11:06:46 -04:00
Julian Lam
558a2d739c feat: load timeago strings client-side
9adaccd036 introduced the ability to
configure an assetBaseUrl, but the timeago strings were still
calling a hardcoded value as it was handled server-side. There's
no need for the strings to be loaded until timeago is initialised.
2020-08-11 11:00:45 -04:00
Barış Soner Uşaklı
79e847d424 fix: #8558, only navigate if user is in same topic 2020-08-11 10:20:17 -04:00
Misty (Bot)
b5a2e4b69f chore: incrementing version number - v1.14.3-beta.13 v1.14.3-beta.13 2020-08-10 15:18:56 +00:00
Julian Lam
8ff09630b6 fix(openapi): new api definition 2020-08-10 10:35:44 -04:00
Julian Lam
9adaccd036 feat: +assetBaseUrl, -l10BaseUrl, -requireBaseUrl
Additional base URLs were necessary for benchpress and translator,
and in order to not clutter the API response with needless one-
time use base URLs, I decided to use a single base that is used
by all of the services, assetBaseUrl.
2020-08-10 10:23:52 -04:00
Misty (Bot)
75ef4bbe34 Latest translations and fallbacks 2020-08-09 09:05:53 +00:00
Barış Soner Uşaklı
b61a4da50c feat: #8550, add upgrade script test
flush test db after tests are complete
2020-08-07 20:20:02 -04:00
Barış Soner Uşaklı
33c5988c34 refactor: rewrite src/upgrade.js with async/await 2020-08-07 19:52:04 -04:00
Barış Soner Uşaklı
231d34d0aa fix: upgrade script 2020-08-07 19:26:18 -04:00
Barış Soner Uşaklı
8887f0edaa fix: don't allow duplicate upgrade script names 2020-08-07 18:57:40 -04:00
Misty (Bot)
f4c986a79a chore: incrementing version number - v1.14.3-beta.12 v1.14.3-beta.12 2020-08-07 20:10:21 +00:00
Julian Lam
9e3fd0e479 Revert "feat: #8493, plugin helper for standardised link/button injection"
This reverts commit 0bbb813e4b.
2020-08-07 12:25:17 -04:00
Sam Thompson
0bbb813e4b feat: #8493, plugin helper for standardised link/button injection 2020-08-07 11:48:04 -04:00
Julian Lam
d6297b28e9 fix: tests 2020-08-07 11:45:15 -04:00
Julian Lam
9f3b78118a fix: send hard 404 instead of soft 404 for missing modules
We used to send a soft 404 because require.js would error out on
a 404, but it seems years ago, error handling was added to the
require() call, so a hard 404 will not throw errors to the console
2020-08-07 11:32:07 -04:00
Renovate Bot
8032c8bdfe fix(deps): update dependency nodebb-theme-persona to v10.2.5 2020-08-07 10:52:40 -04:00
Misty (Bot)
8a6bc10eb1 Latest translations and fallbacks 2020-08-07 09:06:08 +00:00
Barış Soner Uşaklı
d6baf5c278 feat: show event/params on error 2020-08-06 11:25:13 -04:00
Julian Lam
68f8d6e3a1 fix: #8549 send 308 Permanent Redirect on topic/category shortlinks 2020-08-06 10:49:15 -04:00
Julian Lam
def16f9e97 feat: introduce overridable l10nBaseUrl config value 2020-08-06 10:49:15 -04:00
Misty (Bot)
9846498df7 Latest translations and fallbacks 2020-08-06 09:06:05 +00:00
Barış Soner Uşaklı
3fceb83c5e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-08-05 22:32:26 -04:00
Barış Soner Uşaklı
58933c4cd1 feat: allow multiple empty lines 2020-08-05 22:32:13 -04:00
renovate[bot]
788a8bfe2a chore(deps): update dependency eslint-plugin-import to v2.22.0 (#8390)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-05 22:29:49 -04:00
Barış Soner Uşaklı
2c35d0ba87 refactor: change incrementViewCount and markAsRead to async/await 2020-08-05 22:05:35 -04:00
Barış Soner Uşaklı
dfabd0a3fe feat: remove administrator property from public routes 2020-08-05 14:24:00 -04:00
Renovate Bot
fe352eb1de chore(deps): update dependency mocha to v8.1.1 2020-08-04 15:27:35 -04:00
Barış Soner Uşaklı
4216c277d5 feat: focus username when modal is shown 2020-08-04 13:39:27 -04:00
Barış Soner Uşaklı
774e5d0429 feat: add helmet middlewares 2020-08-04 09:51:30 -04:00
Barış Soner Uşaklı
6812691d32 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-08-04 08:49:32 -04:00
Barış Soner Uşaklı
c39c51139b fix: remove default helmet 2020-08-04 08:49:23 -04:00
Misty (Bot)
3463fc51c6 Latest translations and fallbacks 2020-08-04 09:06:28 +00:00
Misty (Bot)
8618c32a72 chore: incrementing version number - v1.14.3-beta.11 v1.14.3-beta.11 2020-08-04 01:26:32 +00:00
Julian Lam
2ee6248316 refactor: for codeclimate 2020-08-03 21:01:36 -04:00
Julian Lam
a7071bb808 fix: map instead of forEach in privileges save 2020-08-03 20:50:17 -04:00
Julian Lam
a716a5529c feat: more discrete commit-on-save instead of commit-on-change w/ confirm modals (#8541)
* feat: privileges save button, #8537, WIP

* fix: disable firefox autocomplete on privilege form fields

* feat: closes #8537 privilege changes commit on save

- new language strings for confirmation and success modals/toasts
- indeterminate privilege handling (/cc @psychobunny)
- added new discard button
- both discard and save buttons now have confirmation dialogs

* fix(tests): remove duplicate template helper test

* fix(tests): broken template helper test

* feat: confirm dialogs for all privilege copy actions

Also, ability to add user to a privilege table without needing
to refresh the privilege table.

* feat: group row addition w/o table refresh

breaking: helpers.getUserPrivileges and helpers.getGroupPrivileges
no longer make socket calls to the following hooks:

- filter:privileges.list, filter:privileges.admin.list,
  filter:privileges.global.list, filter:privileges.groups.list,
  filter:privileges.admin.groups.list,
  filter:privileges.gloval.groups.list

The filters are still called, but done before the helper method
is called, and the results are passed in instead. This change
should only affect you if you directly call the helper methods,
otherwise the change is transparent.

* fix: stale ajaxify data on privilege category switch

* fix: implicit privileges not showing for user privs

* fix: groups, not group, also fix tests

* fix(tests): again

* fix: wrong tpl rendered when adding group to global priv table
2020-08-03 20:42:45 -04:00
Julian Lam
0f10e0836b fix: remove duplicate configuration for helmet-hsts 2020-08-03 20:40:44 -04:00
renovate[bot]
ad68a338c4 fix(deps): update dependency helmet to v4 (#8543)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 11:04:39 -04:00
renovate[bot]
37418375f2 chore(deps): update dependency eslint to v7.6.0 (#8540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 11:03:33 -04:00
renovate[bot]
4160e8285f fix(deps): update dependency mongodb to v3.6.0 (#8535)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 11:03:14 -04:00