Peter Jaszkowiak
e128264b66
refactor: change Benchpress.parse to .render ( #8856 )
...
It has been deprecated with no warning message for a while
Changing these over before enabling the warning message to reduce spam
2020-11-08 08:17:49 -05:00
Barış Soner Uşaklı
2e44639210
fix: guest header/footer cache
...
allow clearing individual caches
2020-11-07 22:06:25 -05:00
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
2020-11-06 23:13:12 -05:00
Julian Lam
d263192271
feat: group exists API call in write api
2020-11-06 12:18:42 -05:00
Julian Lam
1446cec77f
feat: user exist route in write api
2020-11-06 11:55:04 -05:00
Barış Soner Uşaklı
78ee83324c
fix : #8838 , fix chat dropdown timestamps
...
use shorthand like notification dropdown
2020-11-05 16:46:17 -05:00
Julian Lam
1afd215050
feat: add back error handling for a number of api calls
2020-11-04 14:11:54 -05:00
Barış Soner Uşaklı
518d4fa170
fix: undefined call
2020-11-04 08:57:19 -05:00
Barış Soner Uşaklı
5a2b14b751
fix: client side crash when creating groups
2020-11-03 16:54:44 -05:00
psychobunny
d40779a4ba
feat(acp): autocomplete user search for welcome notifications
2020-11-03 14:10:39 -05:00
Barış Soner Uşaklı
715775a707
feat: #8817 , add login clientside hooks
...
same as logout
2020-11-03 11:17:25 -05:00
Julian Lam
a08fb8e53b
fix: removed superfluous assignment
2020-10-29 12:33:12 -04:00
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.
2020-10-29 12:29:29 -04:00
Julian Lam
bff53de03f
fix: handle ACP category enable/disable states after call success
2020-10-29 07:16:41 -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ı
9082062e90
fix: sort setting not using correct field name
2020-10-28 16:05:40 -04:00
Barış Soner Uşaklı
a512d99472
refactor: remove unnecessary wrapper
2020-10-27 14:51:49 -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
Julian Lam
c26f2b6599
feat(writeapi): user settings API
2020-10-22 14:07:50 -04:00
Baris Usakli
1a4c0decb7
fix: reset button loading html
2020-10-21 13:05:46 -04:00
Barış Soner Uşaklı
e6440c0d21
fix : #8779 , fix move all
...
add new language keys
2020-10-20 20:53:45 -04:00
Barış Soner Uşaklı
3ee4936db6
fix: keep sortBy while searching
2020-10-19 22:16:34 -04:00
Barış Soner Uşaklı
85cfe49d65
fix: autocomplete.user on search page
2020-10-19 21:58:56 -04:00
Barış Soner Uşaklı
c107649b40
fix : #8732
2020-10-18 01:33:03 -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ı
51a60d3d46
fix: handler for group.join
2020-10-15 16:07:25 -04:00
Julian Lam
20bb9c7ec8
fix: csrf token only on non-GET routes
2020-10-14 14:02:03 -04:00
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
2020-10-14 11:05:50 -04:00
Julian Lam
a784d10fff
refactor: api module returns promise, error-first cb if cb passed in
...
no more separate onSuccess onError callbacks
/cc @baris
2020-10-14 10:02:02 -04:00
Barış Soner Uşaklı
4b9444f1a5
fix: avatar selector
2020-10-14 00:12:09 -04:00
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
2020-10-13 22:42:50 -04:00
Julian Lam
1e07886f30
feat: require csrf token if not using bearer token
2020-10-13 16:58:44 -04:00
Barış Soner Uşaklı
ba2e1c4c7e
fix: show more lines
2020-10-12 20:42:08 -04:00
Barış Soner Uşaklı
01265d08f3
feat: add stack to deprecate message
2020-10-12 14:33:21 -04:00
Barış Soner Uşaklı
dc29f4dca2
refactor: switch to using slugify module
2020-10-11 21:49:37 -04:00
Barış Soner Uşaklı
bddfcb5867
feat: #8734 , add slugify module, deprecate utils.slugify
2020-10-11 21:25:31 -04:00
Barış Soner Uşaklı
eab7489ec5
feat: #8734 , move deserialize/serialize to package.json
2020-10-11 19:28:46 -04:00
Barış Soner Uşaklı
948f26143c
feat: #5964 , #8734 remove colorpicker
2020-10-11 16:05:52 -04:00
Barış Soner Uşaklı
c954db84e4
refactor: require style
2020-10-11 10:14:02 -04:00
Barış Soner Uşaklı
931d44b5e2
fix: undefined api require, @julianlam
2020-10-11 10:13:51 -04:00
Barış Soner Uşaklı
e2d407b769
fix: watch tooltip
2020-10-11 00:38:18 -04:00
Barış Soner Uşaklı
aedd28e0a6
fix: module name
2020-10-10 23:45:58 -04:00
Barış Soner Uşaklı
cc705e5e2b
feat: #8734 , move sortable to package.json
2020-10-10 23:24:13 -04:00
Barış Soner Uşaklı
75c9668656
fix: admin jquerui requires
2020-10-10 23:01:32 -04:00
Barış Soner Uşaklı
8c019a6a3b
fix: timeago locale switch
2020-10-10 22:26:48 -04:00
Barış Soner Uşaklı
300a87559f
feat: #8734 , move bootbox to package.json
2020-10-10 22:15:34 -04:00