Barış Soner Uşaklı
8b576a3704
fix : #9560 , don't save post diffs if content didn't change
3 years ago
Barış Soner Uşaklı
0c81642997
fix : #9681 , update posts in queue if target tid is merged
4 years ago
Barış Soner Uşaklı
84e065752f
fix : #9622 ( #9623 )
...
dont allow regular user to remove system tags
4 years ago
Barış Soner Uşaklı
b40fc4b64d
feat: #9511 send notifications on accept/reject
4 years ago
Barış Soner Uşaklı
285aa36556
feat: allow exists methods to work with arrays and single id
4 years ago
gasoved
aa0137b1c4
feat: rescheduling (editing ST) ( #9445 )
4 years ago
Barış Soner Uşaklı
a1ee1a2a76
chore: remove log
4 years ago
Barış Soner Uşaklı
c5dda64fa8
fix : #9410 , fix post queue
...
items in the cache were parsed over and over again
4 years ago
gasoved
077330b764
feat: scheduled topics ( #9399 )
...
* feat: scheduled topics
* refactor: linting fixes
* fix: tests
* fix(test): race condition
* fix: make a single request
4 years ago
Barış Soner Uşaklı
801570e4cf
fix : #9404 , show signatures if the target user has signature privilege
4 years ago
Barış Soner Uşaklı
56523aa148
revert: change toPid truthy
4 years ago
Barış Soner Uşaklı
a8f7b24452
fix : #9395 , pass all data from client to Topics.reply ( #9396 )
...
* fix : #9395 , pass all data from client to Topics.reply
so plugins can set custom fields
refactor and use setDefaultPostData
* fix: circular json error
* refactor: change params
4 years ago
Barış Soner Uşaklı
eb360351e5
fix : #9394 , fix guest handles
4 years ago
Barış Soner Uşaklı
4327a09d76
feat: allow optional fields argument on db.getObject(s) ( #9385 )
4 years ago
Barış Soner Uşaklı
f316c4d4b8
refactor: remove uncessary check
4 years ago
Barış Soner Uşaklı
0e07f3c9ba
feat: allow defining a list of system tags
4 years ago
Barış Soner Uşaklı
0738dae895
feat: #9304 , add category/topic/username to post queue notification emails
4 years ago
Julian Lam
1490b32d1b
fix: missing cache deletion calls for post-queue cache
...
/cc @barisusakli
4 years ago
Julian Lam
3f35fd335d
feat: add post-queue cache
4 years ago
Julian Lam
36f2021186
refactor: move post queue retrival code to posts.getQueuedPosts
4 years ago
Julian Lam
783786cf8c
fix: do not blindly escape a notification's bodyLong
...
For 7+ years we were escaping this value, but it is in many cases already sanitized (as it may be a post content). For those cases when it is not, I now run it through parse.raw.
Instead of escaping, it now strips p, img, and a tags.
4 years ago
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
4 years ago
Peter Jaszkowiak
115d19e289
chore: eslint prefer-rest-params, prefer-spread
4 years ago
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
4 years ago
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
4 years ago
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
4 years ago
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
4 years ago
Julian Lam
492cbc6227
fix: tests
...
/cc @pitaj
4 years ago
Julian Lam
f79aeef889
fix: posts.uploads.sync dissociates uploaded thumbs of the main pid
4 years ago
gasoved
72b050b4a8
test: post diff deletion tests
4 years ago
gasoved
eb642f40b9
feat: #9109 , ability to delete a post's diffs
4 years ago
Julian Lam
08736b1812
fix: use file lib instead of direct fs module access
4 years ago
Julian Lam
1f0c1cd229
fix: references to since-removed Topics.thumbs.resizeAndUpload
4 years ago
Julian Lam
4fc9da81a9
refactor: topic thumbs lib to topics.thumbs
4 years ago
Barış Soner Uşaklı
86f0f82be7
fix : #9068
4 years ago
Barış Soner Uşaklı
1eb5fabdb1
feat: #8900 , postQueue setting for category
4 years ago
Barış Soner Uşaklı
5bb5ec4618
fix : #8954 , clear purged replies and toPids ( #8959 )
...
* fix : #8954 , clear purged replies and toPids
* fix: redis test
4 years ago
Julian Lam
f33a9185ff
fix: on OP edit, call helper method to upload and resize thumb
4 years ago
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
4 years ago
Barış Soner Uşaklı
dbd814c25f
fix: spec, only call modifyUser on unique user objects
4 years ago
Barış Soner Uşaklı
903e9d82b8
feat: #8637
4 years ago
Barış Soner Uşaklı
f1f9b225b0
feat: #8824 , cache refactor ( #8851 )
...
* feat: #8824 , cache refactor
ability to disable caches
ability to download contents of cache
refactor cache modules to remove duplicated code
* fix: remove duplicate hit/miss tracking
check cacheEnabled in getUncachedKeys
4 years ago
Julian Lam
4439864ce0
fix: post editing not taking plugin hook results into account
4 years ago
Julian Lam
1392d064a1
fix(writeapi): normalizing data
4 years ago
Barış Soner Uşaklı
a05905f196
performance improvements ( #8795 )
...
* perf: nconf/winston/render
cache nconf.get calls
modify middleware.pageView to call next earlier
don't call winston.verbose on every hook see https://github.com/winstonjs/winston/issues/1669
translate header/footer separately and cache results for guests
* fix: copy paste fail
* refactor: style and fire hook only log in dev mode
* fix: cache key, header changes based on template
* perf: change replace
* fix: add missing await
* perf: category
* perf: lodash clone
* perf: remove escapeRegexChars
4 years ago
Barış Soner Uşaklı
9738e20207
refactor: merge post.edit
...
fix: dont fadeout/fadeint if title/post didnt change
4 years ago
Barış Soner Uşaklı
dc29f4dca2
refactor: switch to using slugify module
4 years ago
Julian Lam
4a63c20a72
chore: some optimizations for codeclimate
4 years ago
Barış Soner Uşaklı
ed092bf6b5
refactor: remove posts.tools.purge
...
moved the check to socketPosts.purge
4 years ago
Renovate Bot
1e5621c049
fix(deps): update dependency sanitize-html to v2
4 years ago