8465 Commits (a53d49a2b0c42e88c124db2b6fd6dedee4f325c2)

Author SHA1 Message Date
Julian Lam a08fb8e53b fix: removed superfluous assignment 4 years ago
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.
4 years ago
Julian Lam bff53de03f fix: handle ACP category enable/disable states after call success 4 years ago
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
4 years ago
Barış Soner Uşaklı 9082062e90 fix: sort setting not using correct field name 4 years ago
Misty (Bot) 2baccd3ce2 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 6ac73ccb7e feat: #8801, disable express compression by default 4 years ago
Julian Lam cc1c722092 fix: breaking test from 0db0231cff
Also lowered export timeout to 5s
4 years ago
Julian Lam 14e5c24ec5 fix(openapi): final fixes to schemas 4 years ago
Julian Lam b2e9e3e048 fix(writeapi): more tweaks to schema files 4 years ago
Julian Lam 9f9e3c1582 fix(writeapi): fix components, + tag object schema 4 years ago
Julian Lam a4f3270fc5 fix(writeapi): missing files for tests 4 years ago
Julian Lam b092f65d95 fix(writeapi): tests 4 years ago
Julian Lam 93f65f89e7 fix(writeapi): added examples to all parameter objects in schema 4 years ago
Barış Soner Uşaklı a512d99472 refactor: remove unnecessary wrapper 4 years ago
Misty (Bot) 5605a0d1b7 Latest translations and fallbacks 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
Misty (Bot) 822c13f199 Latest translations and fallbacks 4 years ago
Misty (Bot) 89a1f481e0 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 0db0231cff feat: move postercount to topic hash 4 years ago
Barış Soner Uşaklı 7a3183520f fix: spec 4 years ago
Julian Lam 63e07c9433 fix: tests 4 years ago
Julian Lam c26f2b6599 feat(writeapi): user settings API 4 years ago
Baris Usakli 1a4c0decb7 fix: reset button loading html 4 years ago
Misty (Bot) c31cab3457 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı e6440c0d21 fix: #8779, fix move all
add new language keys
4 years ago
Misty (Bot) df1cfc4caf Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 3ee4936db6 fix: keep sortBy while searching 4 years ago
Barış Soner Uşaklı 85cfe49d65 fix: autocomplete.user on search page 4 years ago
Barış Soner Uşaklı cf474ab246 fix: spec 4 years ago
Misty (Bot) 1b50e1a062 Latest translations and fallbacks 4 years ago
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>
4 years ago
Barış Soner Uşaklı c107649b40 fix: #8732 4 years ago
Barış Soner Uşaklı d9a16855d0 refactor: posts api 4 years ago
Barış Soner Uşaklı 272e73da53 refactor: post restore/delete/purge 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ı 2279e37261 refactor: deprecate socket.emit('users.search') use api route 4 years ago
Barış Soner Uşaklı 083c74e059 refactor: api categories 4 years ago
Misty (Bot) 854d61a257 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 51a60d3d46 fix: handler for group.join 4 years ago
Julian Lam 20bb9c7ec8 fix: csrf token only on non-GET routes 4 years ago
Barış Soner Uşaklı 3673accdb8 refactor: api module
only return promise if callback is undefined
dont append baseUrl if url already starts with api
correctly handle writeapi readapi response for data/error
remove unused onError
dont append empty ? to url for get routes
4 years ago
Julian Lam a784d10fff refactor: api module returns promise, error-first cb if cb passed in
no more separate onSuccess onError callbacks

/cc @baris
4 years ago
Misty (Bot) d52992de1b Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 4b9444f1a5 fix: avatar selector 4 years ago
Barış Soner Uşaklı 872bacf1c4
Admin/users (#8762)
* feat: wip admin/users

* feat: more work

* feat: more fixes

* feat: #8662, verified/unverified user groups

* feat: add filter

* feat: change user search to use filters array

* refactor: remove unused search call

* fix: tests

* fix: cant join system groups

* fix: upgrade script
4 years ago
Julian Lam bfaeb27c11 Merge branch 'write-api-csrf' 4 years ago
Julian Lam 1e07886f30 feat: require csrf token if not using bearer token 4 years ago
psychobunny 0e0f1506d2 fix: update server param to /api/v3 4 years ago
psychobunny c68653d035 fix: typo 4 years ago