Julian Lam
3052256db3
chore: deprecation notices for plugins using plugin old hook methods
4 years ago
Julian Lam
15ba0abb34
docs: update deprecation-removal version for plugin hook helper methods in 1.18.0
4 years ago
Barış Soner Uşaklı
e8429f509b
fix: handle delete and update for categories:name zset
4 years ago
Barış Soner Uşaklı
34c42c6fa3
feat: ability to search categories, #8813
4 years ago
Barış Soner Uşaklı
a1c014462c
revert: bring back backwards compat
4 years ago
Barış Soner Uşaklı
647d3ba810
fix: removed methods
4 years ago
Julian Lam
fb84c78544
chore: remove deprecated `User.emailConfirm` [breaking]
...
Use `User.email.confirmByCode` instead.
4 years ago
Julian Lam
5a775e09dc
chore: remove deprecated plugin hook `filter:privileges:isUserAllowedTo` [breaking]
...
Use `filter:privileges:isAllowedTo` instead.
4 years ago
Julian Lam
d41de481a4
chore: remove deprecated plugin hook methods [breaking]
...
Call plugins.hooks.fire() instead.
4 years ago
Julian Lam
cc0d562e9a
chore: more removals of thumb specific backwards-compatibility [breaking]
4 years ago
Julian Lam
5f9f241e37
chore: remove deprecated `filter:admin/header.build` hook [breaking]
...
Use `filter:middleware.renderAdminHeader` instead.
4 years ago
Julian Lam
84dfdfe659
chore: remove deprecated v2 style responses for thumbs upload route [breaking]
4 years ago
Julian Lam
2ad0d0d0d8
chore: remove deprecated getObject routes [breaking]
...
`/api/post/pid/:pid`, `/api/topic/tid/:tid`, `/api/category/cid/:cid` have now been removed in favour of routes in the Write API (`/api/v3/(posts|topics|categories)/:id`)
4 years ago
Julian Lam
7b090c588b
fix: incorrect return for Thumbs.get() if thumbs were disabled
4 years ago
Julian Lam
dc84559d0b
feat(topic-events): topic events GET route in write API
4 years ago
Julian Lam
449c379d22
feat(topic-events): server-side tests for topic events
4 years ago
Julian Lam
0d4a377558
feat(topic-events): clear out topic events when a topic is purged
4 years ago
Julian Lam
8e93bf7362
feat(topic-events): client-side handling on topic event log
4 years ago
Julian Lam
df2fdd56ba
fix(topic-events): repeated invocations of Posts.addTopicEvents caused dupes to be added to DOM
4 years ago
Julian Lam
cec3fc934d
refactor(topic-events): break out some logic in events.get into local modifyEvent method
...
+ events.log now returns a complete event object
4 years ago
Julian Lam
611d1f872d
feat(topic-events): support for uids in topic event payloads
4 years ago
Julian Lam
425eca145b
refactor(topic-events): fire topic event logging in topics/tools instead, pass uid into payload
4 years ago
Julian Lam
ab2e1ecb40
feat(topic-events): work in progress topic events logic and client-side implementation
4 years ago
Julian Lam
8ff07bc196
fix: update js concatenation logic to bundle scripts.rjs into minfile regardless of build environment
...
The slowdown is fairly insignificant (< .1s), and the only change is the minified file is identical across environments, which is better from a debugging standpoint
4 years ago
Julian Lam
412d285850
fix(hooks): fallback handling for core invocations of hooks.fire
...
+ .on() which is the same as .register()
4 years ago
Julian Lam
f975063b7d
fix : #7125 , allow list for page route, configurable via plugin hook
4 years ago
Julian Lam
8b72479f62
fix: remove 'filters' and 'categories' from flag details API return [breaking]
...
These options were originally used when the flag filters were shown in the sidebar. This has seen been removed, and so the information is now superfluous
4 years ago
Julian Lam
1603566bcc
fix: filtering logic of flags [breaking]
...
When combining filters, the old logic assumed that every filter was
exclusive, unless that filter contained multiple items, in which
case it was added to a list of "or" filters that returned all
matching flags.
A fault was discovered in that if you passed in multiple "or"
states, it did not return flags with the expected filtering.
e.g. open flags, closed flags, flags of cid 1, flags of cid 2
This could return open flags of cid 3, since all of the filters
were "OR"'d.
This logic change updates the behaviour so disparate OR sets are
intersected (ANDed).
4 years ago
Julian Lam
942d924779
fix: error on flag list if no flag filters were saved in session
4 years ago
Julian Lam
6b1c97db79
feat: feature flag for auto-resolving a user's flags on ban [breaking]
...
The default behaviour has now been changed to 'off'. Going forward, a user's flags will no longer automatically resolve on ban.
4 years ago
Julian Lam
35c92d0cff
fix: mod cid filter accidentally saved in session
4 years ago
Julian Lam
27cae0d5d8
fix: missing return for #9217
4 years ago
Julian Lam
b2b1450e5d
fix : #9217 , render 400 error page on bad access to /register
4 years ago
Barış Soner Uşaklı
78896fc623
fix: redis check compat tests
4 years ago
Barış Soner Uşaklı
fdfbc90255
feat: async/await redis connection
4 years ago
Barış Soner Uşaklı
33bf1b0e2c
feat: async/await psql connection
4 years ago
Barış Soner Uşaklı
672959c13f
feat: add group name to csv event
4 years ago
Julian Lam
a186ea0fe3
fix: registration completion overriding returnTo if it was already set
4 years ago
Julian Lam
280285cda9
feat: allow interstitial callbacks to be async functions [breaking]
...
This change is breaking in the sense that if you have written
interstitial callbacks before that are async functions _with_ a
callback, those are no longer allowed. You will not need to call
next() as that argument will no longer be passed in to async
functions.
4 years ago
Barış Soner Uşaklı
5c1b742979
fix: add missing user delete event types
4 years ago
Barış Soner Uşaklı
7fb583dcfd
Merge branch 'master' of https://github.com/NodeBB/NodeBB
4 years ago
Barış Soner Uşaklı
c608b0e8a3
fix: https://github.com/NodeBB/nodebb-plugin-webhooks/issues/3
4 years ago
Julian Lam
d85ad10d34
fix: restored sanity checks for post move socket calls
4 years ago
Julian Lam
966c4117ec
refactor(api): post move to write API
4 years ago
Julian Lam
e118e59ce0
refactor(api): post diffs to use write API
4 years ago
Barış Soner Uşaklı
c2e2370655
feat: add filter:email.cancel to allow plugins to cancel sending emails
4 years ago
Julian Lam
f5fcd232f6
fix: regression caused by 77ab46686d
...
Access checks were added for topic GET route, but occasionally a post_uuid is passed in, which is available to everyone, and so checks should be skipped
4 years ago
Barış Soner Uşaklı
4fb907875e
fix: don't crash if fullname is not a string
...
https://community.nodebb.org/topic/15291/upgrade-error-fullname-substr-is-not-a-function
4 years ago
Barış Soner Uşaklı
1374e0eeba
refactor: change var to const
4 years ago
Barış Soner Uşaklı
00ba89b6d6
fix : #9204 , bypass groupname length check for system group in upgrade script
4 years ago