Barış Soner Uşaklı
75816deca7
add cache to redis ( #6917 )
...
* add cache to redis
move out cache module from mongo
* fix redis tests
* add callback noop
* fix typo
* del cache on field delete
* make redis/mongo caches separate
6 years ago
Julian Lam
501b3a79ca
Refactor skins to be built on server-side ( #6849 )
...
* WIP
* using bootswatch from npm instead of bootswatch CDN url
* feat: on-demand client css building for skins
* added ability for client-side to select a skin
* updated loading and saving logic of bootstrapSkin on client side user settings
* fix: broken test for #6849
6 years ago
Julian Lam
84433f29ab
Do not require a full refresh on login/logout ( #6841 )
...
* no-refresh login as well, plus lots of fixes for missing config on login
* replace config with new set on logout as well
* passing new payload data into new action:app.loggedIn hook, and old action:app.loggedOut hook
* fixed issues with socket.io not properly representing uid on server
* some light refactoring and cleanup
* minor cleanup, fixed spa logout not working after login
* have reconnection handler for socket.io wait 2s to confirm disconnection before reporting -- stops flicker if reconnecting immediately
* Dynamically replace chat and slideout menu on updateHeader()
... instead of just the menu items.
* more efficient calls to Benchpress and translator /cc @pitaj
* fix: chats and notification handlers not working after login
* fix: accidentally calling cb multiple times
6 years ago
Baris Usakli
968be7d8de
make lint happy
6 years ago
Baris Usakli
3c611d85ed
closes #6912
...
- on category setParent dialog do not show children of current category
- break recursion if category parentCid is equal to child cid to prevent
infinite loop
- dont allow setting the parentCid of a category to one of it's children
6 years ago
Barış Soner Uşaklı
6f47446171
closes #6910
6 years ago
Julian Lam
3c8939a80d
fix: interstitial redirects failing if done via ajaxify
6 years ago
Barış Soner Uşaklı
2df19c0ae4
fix typo
6 years ago
Barış Soner Uşaklı
ed7399f9ed
shorter code
6 years ago
Barış Soner Uşaklı
412358b070
#6903
6 years ago
Barış Soner Uşaklı
67d3b29204
#6903
6 years ago
Barış Soner Uşaklı
ff38abc225
move bcrypt into password
6 years ago
Barış Soner Uşaklı
4e297921c4
dont show object cache if it doesnt exist
6 years ago
Barış Soner Uşaklı
4caaa046d7
dont load post data again
...
shorter async.parallel
6 years ago
Barış Soner Uşaklı
d3e4daebec
posts/delete cleanup
6 years ago
Barış Soner Uşaklı
0de60cfdca
fix mongodb tests
6 years ago
Barış Soner Uşaklı
8ca36ad122
closes #6890
6 years ago
Julian Lam
157bea6966
fix: username trim on login, closes #6894
6 years ago
Julian Lam
5ccdc1c017
internationalising english labels in session time ACP block, #6883
6 years ago
Julian Lam
58b088c054
update html on session time ACP block, #6883
6 years ago
Barış Soner Uşaklı
2e579ee0f9
closes #6883
6 years ago
Barış Soner Uşaklı
5ee4529a8e
if source has no parentCid assume 0
6 years ago
Barış Soner Uşaklı
9918389a43
closes #6884
6 years ago
Barış Soner Uşaklı
7aa937a657
remove dupe code in mongodb sorted
6 years ago
Barış Soner Uşaklı
ea1e8fb8fe
Merge branch 'master' of https://github.com/NodeBB/NodeBB
6 years ago
Barış Soner Uşaklı
c27be9db5a
Recent refactor ( #6879 )
...
* wip
* fix inf scroll
* remove duplicated code
* remove dupe code in /unread
* use topicList
* update tag page to use topicList
* fix tests
* combine ifs
* remove more dupe code
* disable timeout
6 years ago
Barış Soner Uşaklı
66ed48e088
closes #6875
6 years ago
Julian Lam
4919e9efa3
feat: allow disabling of GDPR features via ACP toggle, closes #6847
6 years ago
Baris Usakli
51792da430
dont crash if there is nothing to write
6 years ago
Baris Usakli
12f3f56b01
change to .exists
6 years ago
Baris Usakli
566564ed74
fix redis tests
...
fixed typo in groups/data.js
added postcount,viewcount to int fields
6 years ago
Barış Soner Uşaklı
fb6067a7ca
only parse if field is requested
6 years ago
Barış Soner Uşaklı
f3a679e268
remove parseInts
6 years ago
Barış Soner Uşaklı
aca50f1fe1
dont crash if topic is moved to pinned topic
6 years ago
Barış Soner Uşaklı
da22940b80
dont retry absolute paths
6 years ago
Barış Soner Uşaklı
ebd4b19a65
moved req.user up
6 years ago
Barış Soner Uşaklı
9c03881d5a
add threshold for image resizing
6 years ago
Barış Soner Uşaklı
369e4854d2
remove parseInts
6 years ago
Barış Soner Uşaklı
541997a755
fix lint
6 years ago
Barış Soner Uşaklı
40f9ee3003
dont crash if topic does not exist
6 years ago
Barış Soner Uşaklı
2f198583c4
change to this
6 years ago
Barış Soner Uşaklı
a2aae7f805
shorter error message
6 years ago
Barış Soner Uşaklı
69253d9a7f
use chart.js legend
6 years ago
Barış Soner Uşaklı
1d15449076
write analytics before exiting
6 years ago
Barış Soner Uşaklı
5b842c98ac
fix typo
6 years ago
Barış Soner Uşaklı
9f36ce3997
#6862
6 years ago
Barış Soner Uşaklı
a73bcabad8
don't call .jpeg quality on pngs
6 years ago
Barış Soner Uşaklı
44a957faca
remove more parseints
6 years ago
Barış Soner Uşaklı
728e7bdae9
remove more parseInts
6 years ago
Barış Soner Uşaklı
537b7ff7e8
remove more parseInts
6 years ago
Baris Usakli
a228dc2de9
closes #6797
6 years ago
Baris Usakli
82cda248f3
fix plugin requires
6 years ago
Baris Usakli
138154a71c
move modules
6 years ago
Baris Usakli
5293a6515c
fix lint
6 years ago
Baris Usakli
fdbefa3d1f
remove more parseInts
6 years ago
Barış Soner Uşaklı
175e13edf6
group data
6 years ago
Barış Soner Uşaklı
c738dc7d3e
remove some more parseInts
6 years ago
Barış Soner Uşaklı
7a44424214
parse '123' to 123 if it has no default
6 years ago
Barış Soner Uşaklı
d07e3e6d97
if not in defaults use string
6 years ago
Barış Soner Uşaklı
4fff5e9baf
closes #6855
6 years ago
Baris Usakli
881185ae59
closes #6857
6 years ago
Barış Soner Uşaklı
ab7657d445
closes #6854
6 years ago
Barış Soner Uşaklı
ac39112271
remove more parseInts
6 years ago
Barış Soner Uşaklı
9c022afae1
Parse int ( #6853 )
...
* Store config fields as JSON in the db
Fewer parseInts
* Remove unnecessary parseInts
* remove some dupe code add tests
* remove console.log
* remove more parseInts
* WIP: read meta.configs defaults from defaults.json
remove more parseInts
* more work
* add log for failing test
* update admin pwd
* fix tests, dont require posts/cache before configs are initialized
* handle saves
* Test boolean conditions
* remove more parseInts
* Fix boolean values
* remove lots more parseInts
* removed json parsing
* renamed var to number
* categories dont have timestamp
6 years ago
Barış Soner Uşaklı
60c58870af
remove hotswap ( #6835 )
6 years ago
Barış Soner Uşaklı
92744a7200
closes #6852
6 years ago
Barış Soner Uşaklı
ee2f9e9434
remove some parseInts
6 years ago
Barış Soner Uşaklı
f5fe91286e
closes #6851
6 years ago
Barış Soner Uşaklı
f53984aeae
refactor user/category data
6 years ago
Barış Soner Uşaklı
c3a903142a
closes #6850
6 years ago
Barış Soner Uşaklı
b2b33ffa57
topics data refactor
6 years ago
Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
6 years ago
Baris Usakli
a6c70412db
temp fix for #6848
6 years ago
Barış Soner Uşaklı
54c638c3c8
fix upgrade script for notification types
6 years ago
Barış Soner Uşaklı
5ef708d765
fix navigation
6 years ago
Barış Soner Uşaklı
250e8c01ff
closes #5008
6 years ago
Barış Soner Uşaklı
da1a90a470
add search test
6 years ago
Barış Soner Uşaklı
e6546e6263
#6848
...
this handles winston.error(err);
6 years ago
Barış Soner Uşaklı
9dd65cf772
closes #6822
6 years ago
Baris Usakli
8b8feb5b88
remove emitter
6 years ago
Baris Usakli
9251912282
move methods from posts to posts/data
6 years ago
Baris Usakli
baf91089a6
remove unused methods
6 years ago
Baris Usakli
444fd70ba3
test pubsub
6 years ago
Baris Usakli
b4d8b7cf38
move sorted topics code out of recent
6 years ago
Baris Usakli
837f411783
closes #6843
6 years ago
Barış Soner Uşaklı
986511e718
try with higher timeout
6 years ago
Barış Soner Uşaklı
1d15dc089b
revert isCluster
6 years ago
Barış Soner Uşaklı
0aebb9caf8
closes #6844
6 years ago
Barış Soner Uşaklı
154d7076d9
dont pass options
6 years ago
Barış Soner Uşaklı
9dbe68a9cb
testing again
6 years ago
Barış Soner Uşaklı
aa567a5f2d
print out connString and opts
6 years ago
Barış Soner Uşaklı
2d8d234c57
test mongodb again
6 years ago
Barış Soner Uşaklı
f4df89fe90
closes #6840
6 years ago
Barış Soner Uşaklı
8079d3d3b7
add tids used to returned data
6 years ago
Barış Soner Uşaklı
85c60316ed
upgrade to winston 3.1, closes #6590 ( #6838 )
...
* upgrade to winston 3.1
* fix winston in web/install and tests
6 years ago
Barış Soner Uşaklı
6c15aee888
add cache hits/misses to posts cache
6 years ago
Barış Soner Uşaklı
b57db7fd8e
update groups join to take array of group names ( #6834 )
...
* allow groups.join to take an array of group names
* pass an array to groups.join/leave in privileges
* split up groups/membership
* add hits/miss to group cache
* fix typo
6 years ago
Barış Soner Uşaklı
c06480b82e
add tests for blocked users teaser/unread
6 years ago
Barış Soner Uşaklı
687adea5dd
closes #6836
6 years ago
Barış Soner Uşaklı
d4db8c2d42
removed reset
6 years ago