Barış Soner Uşaklı
55533b11e5
fix: dupes in unread followed topics
2020-08-25 08:51:15 -04:00
Barış Soner Uşaklı
39f4bbaa0e
fix: wrong data passed to getCategories
2020-08-24 10:12:08 -04:00
Barış Soner Uşaklı
354e6ccc66
feat: banning a user will resolve their post flags
2020-08-22 17:34:19 -04:00
Barış Soner Uşaklı
91d9333a50
fix: username, email history disappering if content was deleted
2020-08-22 17:13:26 -04:00
Julian Lam
840cb5105f
fix: package-install clobbering scoped nodebb plugins
2020-08-21 17:08:15 -04:00
Julian Lam
4b0cb26b34
fix: empty "manage" menu showing in ACP
...
... if no privileges corresponding to those menu items
are given
2020-08-21 15:42:04 -04:00
Julian Lam
cc2686057c
fix: hide nodebb version in ACP for non-superadmins
2020-08-21 15:35:42 -04:00
Julian Lam
cf2f1e956a
refactor: changed way middleware was exported
2020-08-21 15:29:40 -04:00
Julian Lam
f00595b32d
fix: change how admin middlewares are exported
2020-08-21 15:11:54 -04:00
Julian Lam
ae68a254d7
fix: one less return, to appease codeclimate
2020-08-21 15:06:35 -04:00
Julian Lam
03bd76dea2
fix: inability to access /admin if not superadmin
...
There was an odd issue where non-superadmins could not use
the /admin route to access the ACP, even though they had
appropriate access. For whatever reason, it could not
be reliably reproduced on my dev. As it turns out, the
reason was because I was checking the wrong privilege,
and my dev database had this wrong privilege leftover
from the initial development of the ACP admin privileges
feature. Dumb.
Anyhow, that fixes this issue.
2020-08-21 15:00:51 -04:00
Barış Soner Uşaklı
29e3ab247d
fix : #8560 , fix old upgrade script
...
db.connect no longer exists at the root
2020-08-21 14:14:46 -04:00
Julian Lam
6521e4dac4
Revert "feat: expose global/admin privileges to all routes"
...
This reverts commit 4737f937ee .
2020-08-20 13:21:30 -04:00
Julian Lam
4737f937ee
feat: expose global/admin privileges to all routes
...
@barisusakli revert if necessary 😬
2020-08-20 10:36:11 -04:00
Andrew Rodrigues
7daba7ddc1
fix : #8570
2020-08-19 15:26:09 -04:00
Julian Lam
3efe2362e2
fix: sorting the flags list by newest is not considered a filter
...
... as it is default
2020-08-19 09:15:18 -04:00
Julian Lam
334be11382
fix: no-widgets messaging in ACP + copy
2020-08-18 21:39:10 -04:00
Julian Lam
346db0d84d
feat: flags list sorting, closes #8569
2020-08-18 21:03:59 -04:00
Julian Lam
cabe62a06c
fix : #8568 perPage not acting like a filter
2020-08-18 18:49:59 -04:00
Barış Soner Uşaklı
35a538ec2a
feat: allow adding multiple users to group
2020-08-16 13:09:36 -04:00
Barış Soner Uşaklı
f1e82b6441
feat: add filter:group.getOwnersAndMembers
2020-08-16 12:03:21 -04:00
Julian Lam
9c70b6620e
feat: pass uid into filter:flags.list
2020-08-14 16:27:02 -04:00
Barış Soner Uşaklı
31c2b7d946
fix : #8562
2020-08-14 14:10:47 -04:00
Julian Lam
2adae87949
fix: progress bar clobbering upgrade script name
2020-08-14 12:21:38 -04:00
Julian Lam
ac75c9a052
fix: tweak upgrade script progress bar to only update 100 times in total
2020-08-14 12:16:43 -04:00
Julian Lam
80a2a700ce
fix: navigation title unescape upgrade script tweak
2020-08-14 12:06:34 -04:00
Julian Lam
7456a0e34e
fix: new language key for error handling
2020-08-14 11:33:36 -04:00
Julian Lam
de8eebbd7c
fix: upgrade scripts not run properly if schemaDate is present
...
Only affected VERY old installs that don't use schemaLog
2020-08-14 11:28:44 -04:00
Barış Soner Uşaklı
0189945996
refactor: remove util.promisify calls
2020-08-14 00:05:03 -04:00
Barış Soner Uşaklı
bfaf648ec3
fix : #8556 , catch errors from admin check
2020-08-13 14:56:58 -04:00
Barış Soner Uşaklı
326827382a
fix: upgrade script for 1.15.0
2020-08-13 14:17:43 -04:00
Barış Soner Uşaklı
846b7d2430
refactor: change pwd change logic
...
add one more test
2020-08-12 22:09:22 -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
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
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
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
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
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
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
Barış Soner Uşaklı
2c35d0ba87
refactor: change incrementViewCount and markAsRead to async/await
2020-08-05 22:05:35 -04:00