Julian Lam
87bff6cd65
fix: broken test
2020-10-30 17:17:31 -04:00
Julian Lam
dda5d42610
fix: restore old behaviour of empty json w/ 401 code in admin middleware
2020-10-30 14:07:47 -04:00
Julian Lam
15e0731dd9
fix: deprecate middleware.isAdmin
...
Also, handle admin logout timer in middleware.admin.checkPrivileges
2020-10-30 12:30:58 -04:00
Julian Lam
4439864ce0
fix: post editing not taking plugin hook results into account
2020-10-30 10:05:26 -04:00
Barış Soner Uşaklı
a02ae6f5df
refactor: simpler check in user.blocks.filter
2020-10-29 22:33:28 -04:00
Barış Soner Uşaklı
27016d221c
feat: rearrange buttons on manage/users
2020-10-29 13:39:08 -04:00
Julian Lam
57ed6be78b
fix : #8805 define our own name for write API v3
2020-10-29 12:51:36 -04:00
Julian Lam
266d7587b2
refactor: remove usage of middlewares
...
Specifically, middleware.isAdmin|exposePrivilegeSet|exposePrivileges
2020-10-29 07:56:28 -04:00
Julian Lam
a6a52430ce
fix: remove setCategorySort and setTopicSort
2020-10-28 17:21:54 -04:00
Julian Lam
aa8faf58a0
refactor: remove /users/{uid}/settings/{setting} route
...
@baris Also, I am now allowing the following properties to be saved in User.saveSettings:
- categoryTopicSort
- topicPostSort
- setCategorySort
- setTopicSort
2020-10-28 17:21:54 -04:00
Barış Soner Uşaklı
6ac73ccb7e
feat: #8801 , disable express compression by default
2020-10-27 21:40:21 -04:00
Julian Lam
3c98cd3d95
fix: topic object in post editing data return
2020-10-27 20:37:23 -04:00
Julian Lam
1392d064a1
fix(writeapi): normalizing data
2020-10-27 20:37:23 -04:00
Julian Lam
ec03af7a38
feat: allow passing subset of user settings on update route
2020-10-27 20:37:23 -04:00
Julian Lam
618e098305
fix: bug where token generation route would fail on null case
2020-10-27 20:37:23 -04:00
Julian Lam
b156b8b573
feat: wip, write api tests framework
...
re-using read api tests if possible
2020-10-27 20:37:23 -04:00
Barış Soner Uşaklı
2e9f27d8ff
fix: typo
2020-10-27 10:59:08 -04:00
Barış Soner Uşaklı
93bdfe2f10
perf: reorder async calls
2020-10-26 21:09:51 -04:00
Barış Soner Uşaklı
88a07e69b5
feat: add filter:category.getFields
2020-10-26 15:14:54 -04:00
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
2020-10-26 10:43:18 -04:00
Barış Soner Uşaklı
0db0231cff
feat: move postercount to topic hash
2020-10-24 21:14:52 -04:00
Barış Soner Uşaklı
203db47b30
fix: return early for guests/spiders
2020-10-24 01:49:22 -04:00
Barış Soner Uşaklı
156e1396f2
fix: #8789,cache meta.settings
2020-10-23 14:20:47 -04:00
Barış Soner Uşaklı
a7b6d0dfe5
feat: add free and total mem usage to info
2020-10-22 17:46:12 -04:00
Julian Lam
c26f2b6599
feat(writeapi): user settings API
2020-10-22 14:07:50 -04:00
Barış Soner Uşaklı
db63f5e3f0
fix : #8781
2020-10-21 16:30:14 -04:00
Julian Lam
177a961000
feat: new filter filter:teasers.configureStripTags
2020-10-21 14:04:52 -04:00
Julian Lam
d68ffea80d
feat: send 'Vary' header when ACAO header set
2020-10-21 10:34:38 -04:00
Barış Soner Uşaklı
1f43e98f8b
fix: allow admins adding users to global moderators
...
add new test
2020-10-20 18:43:45 -04:00
Barış Soner Uşaklı
bbafa1b82a
Revert "fix: [breaking] send configured config URL as origin if not custom"
...
This reverts commit 205a10308e .
2020-10-20 18:38:50 -04:00
Julian Lam
a691be5952
fix: incorrect logic for post history editable bool
2020-10-20 16:09:40 -04:00
Julian Lam
205a10308e
fix: [breaking] send configured config URL as origin if not custom
...
This is a breaking change if your install uses multiple URLs to access. You will need to update the Access-Control-Allow-Origin header in ACP > Advanced > Headers to supply all URLs you use to access your site
2020-10-20 15:25:20 -04:00
Barış Soner Uşaklı
7a019494e8
feat: add filter.topics.getPostReplies
2020-10-20 12:00:56 -04:00
Julian Lam
7a8f704900
fix : #8776 some users unable to restore old versions via history
2020-10-20 10:40:23 -04:00
Barış Soner Uşaklı
b26e9b5993
fix : #8595 , dont save escaped data when renaming groups
2020-10-20 00:24:34 -04:00
Barış Soner Uşaklı
ea31f50554
refactor: show more lines of stack trace
2020-10-19 22:43:18 -04:00
Barış Soner Uşaklı
7bddec93ec
fix: sortby
2020-10-19 18:56:39 -04:00
Barış Soner Uşaklı
b3619d3d47
fix : #8774
2020-10-18 16:54:42 -04:00
Julian Lam
ff4fcc23b6
Update bundled logos with new branding ( #8702 )
...
* feat: updating logo assets, square logos missing still
* fix: squared logo for touch icon and notification fallback
* fix: update link to favicon
* feat: add default touch icon sizes, if one isn't uploaded
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com >
2020-10-18 01:41:04 -04:00
Barış Soner Uşaklı
e362c342a3
fix : #8630 , sort extra deps
2020-10-17 23:56:42 -04:00
Barış Soner Uşaklı
d9a16855d0
refactor: posts api
2020-10-17 22:59:12 -04:00
Barış Soner Uşaklı
272e73da53
refactor: post restore/delete/purge
2020-10-17 21:24:33 -04:00
Barış Soner Uşaklı
9738e20207
refactor: merge post.edit
...
fix: dont fadeout/fadeint if title/post didnt change
2020-10-17 15:07:04 -04:00
Barış Soner Uşaklı
2279e37261
refactor: deprecate socket.emit('users.search') use api route
2020-10-16 23:30:22 -04:00
Barış Soner Uşaklı
083c74e059
refactor: api categories
2020-10-16 22:41:38 -04:00
Barış Soner Uşaklı
e78c498e84
fix: missing doTopicAction, fix wrong api params
2020-10-16 21:36:59 -04:00
Barış Soner Uşaklı
bc880ee0ca
refactor: remove sockets.reqFromSocket
2020-10-16 21:05:00 -04:00
Barış Soner Uşaklı
9d81660e24
Revert "Revert "fix: appropriate 404 handling for write API calls""
...
This reverts commit 135c2d6c7d .
2020-10-16 20:21:52 -04:00
Barış Soner Uşaklı
135c2d6c7d
Revert "fix: appropriate 404 handling for write API calls"
...
This reverts commit b6cce75d97 .
2020-10-16 20:21:32 -04:00
Julian Lam
9ee3cb9b62
refactor: topic follow/ignore to use api lib
2020-10-16 12:30:14 -04:00