Commit Graph

20718 Commits (a08fb8e53ba02572369601b2821da2a875f37425)
 

Author SHA1 Message Date
Julian Lam a08fb8e53b fix: removed superfluous assignment
Julian Lam 0b6ef61e40 fix: createNewPosts to build tpl with ajaxify.data
If the post template contains references to items outside of the scope of the post, then when the post is loaded via IS, the expected values are empty.

This was due to createNewPosts calling app.parseAndTranslate with a subset of the page payload. This works fine in Persona (and most other themes)
because they do not refer to properties outside of the post object, but it may be helpful to include the rest of the ajaxify data as well.
Julian Lam 266d7587b2 refactor: remove usage of middlewares
Specifically, middleware.isAdmin|exposePrivilegeSet|exposePrivileges
Julian Lam bff53de03f fix: handle ACP category enable/disable states after call success
Julian Lam a6a52430ce fix: remove setCategorySort and setTopicSort
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
Barış Soner Uşaklı e0b6781776 chore: bump persona
Barış Soner Uşaklı 9082062e90 fix: sort setting not using correct field name
renovate[bot] c4431294a5
fix(deps): update dependency jsesc to v3.0.2 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Julian Lam 2d29e603bd
fix: update readme to include psql
Renovate Bot 7d0d0005ff fix(deps): update dependency nodebb-plugin-composer-default to v6.4.5
Misty (Bot) 2baccd3ce2 Latest translations and fallbacks
renovate[bot] 224502d8c3
chore(deps): update dependency eslint to v7.12.1 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] 1f2eca6a52
chore(deps): update dependency lint-staged to v10.5.0 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Barış Soner Uşaklı 6ac73ccb7e feat: , disable express compression by default
Julian Lam cc1c722092 fix: breaking test from 0db0231cff
Also lowered export timeout to 5s
Julian Lam 04185d94c1 fix: indentation
Julian Lam 8e7914ff72 fix: add back derpy 20 second sleep
Julian Lam 14e5c24ec5 fix(openapi): final fixes to schemas
Julian Lam b2e9e3e048 fix(writeapi): more tweaks to schema files
Julian Lam 9f9e3c1582 fix(writeapi): fix components, + tag object schema
Julian Lam 3ebb3a3479 fix: missing method in test error output
Julian Lam 3c98cd3d95 fix: topic object in post editing data return
Julian Lam a4f3270fc5 fix(writeapi): missing files for tests
Julian Lam 1392d064a1 fix(writeapi): normalizing data
Julian Lam b092f65d95 fix(writeapi): tests
Julian Lam ec03af7a38 feat: allow passing subset of user settings on update route
Julian Lam 618e098305 fix: bug where token generation route would fail on null case
Julian Lam 843aff582d refactor: api test suite to accept methods other than GET
Julian Lam 93f65f89e7 fix(writeapi): added examples to all parameter objects in schema
Julian Lam b156b8b573 feat: wip, write api tests framework
re-using read api tests if possible
Renovate Bot b3ca7de016 fix(deps): update dependency nodebb-theme-persona to v10.2.63
Barış Soner Uşaklı a512d99472 refactor: remove unnecessary wrapper
Barış Soner Uşaklı f0131e72ae Merge branch 'master' of https://github.com/NodeBB/NodeBB
Barış Soner Uşaklı 2e9f27d8ff fix: typo
Misty (Bot) c3a7ab54dc chore: update changelog for v1.15.0-rc.2
Misty (Bot) 7c084134c7 chore: incrementing version number - v1.15.0-rc.2
Misty (Bot) 5605a0d1b7 Latest translations and fallbacks
renovate[bot] 12c590ad56
fix(deps): update dependency nodebb-theme-persona to v10.2.62 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Barış Soner Uşaklı 93bdfe2f10 perf: reorder async calls
Barış Soner Uşaklı 88a07e69b5 feat: add filter:category.getFields
renovate[bot] 3108f628b6
chore(deps): update dependency eslint to v7.12.0 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] 8353857b3b
fix(deps): update dependency nodebb-plugin-mentions to v2.13.1 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Misty (Bot) 4f49b3da8c chore: update changelog for v1.15.0-rc.1
Misty (Bot) 943424b539 chore: incrementing version number - v1.15.0-rc.1
Barış Soner Uşaklı a05905f196
performance improvements ()
* 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
Misty (Bot) 822c13f199 Latest translations and fallbacks
Misty (Bot) 89a1f481e0 Latest translations and fallbacks
renovate[bot] 9de8497dad
fix(deps): update dependency nodebb-theme-persona to v10.2.61 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Barış Soner Uşaklı 0db0231cff feat: move postercount to topic hash