Barış Soner Uşaklı
26ccd8f626
fix: db info page
...
if there is no connection to db, connect first
6 years ago
Barış Soner Uşaklı
81aa3a0b8a
fix: don't crash in flags.validate if user blocked target
6 years ago
Barış Soner Uşaklı
e55fb43703
fix : #7086
6 years ago
Baris Usakli
e65d40c937
dont return undefined from sortedSetsCard if keys is empty or falsy
6 years ago
Baris Usakli
76af8caf58
add missing semicolon
6 years ago
Baris Usakli
420227faae
parseFloat scores
6 years ago
Julian Lam
5f3d1c76c8
fix : #7038 , autoLocale logic not playing nicely with no-refresh auths ( #7059 )
...
* fix : #7038 , autoLocale logic not playing nicely with no-refresh auths
- on login, req.query.lang is deleted (since it seems to be left over)
- on logout, the middleware.autoLocale is executed, which resets
req.query.lang
- middleware.autoLocale is new, just refactored existing logic in
webserver.js into new middleware method.
* style: tests, use lodash
* fix: timeago strings not switching languages on login or out
6 years ago
Baris Usakli
d3c6cba33f
closes #7060
6 years ago
Barış Soner Uşaklı
a63ddbe2aa
fix : #7040
...
if category doesn't exist return null and 404
6 years ago
Barış Soner Uşaklı
1f918ca8f8
Home route ( #7039 )
...
* fix: WIP home fix
* remove console.log
* fix : #6949
on redis run all tests in subfolder /forum
fix URI errors
fix sping/ping
6 years ago
Baris Usakli
cd46febdd0
fix lint
6 years ago
Baris Usakli
b86f155690
fix : #7037
6 years ago
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
6 years ago
Barış Soner Uşaklı
00a066985a
cache categories:cid and cid:<cid>:children
...
these rarely change, no need to go to db for them
6 years ago
Barış Soner Uşaklı
c240733aee
fix logs test
6 years ago
Barış Soner Uşaklı
0361849bb1
check status code
6 years ago
Barış Soner Uşaklı
47b2057f20
#7007
6 years ago
Barış Soner Uşaklı
53ad2bbd6e
Categories optimize ( #6999 )
...
* WIP
* fix category page
* fix counts, and copyPrivileges
* fix lint
* more fixes,
* redis fix
* fix test
* fix category test
* remove getParentsAndChildren
6 years ago
Barış Soner Uşaklı
9d28b935fd
dont load uid 0, -1 from db
6 years ago
Barış Soner Uşaklı
a6864a8055
add groupTitle test for guests
6 years ago
Barış Soner Uşaklı
ca1e3a758b
#6986
6 years ago
Baris Usakli
b83e50f286
remove delayImageLoading from api @julianlam
6 years ago
Barış Soner Uşaklı
afa84023a2
closes #6942
6 years ago
Barış Soner Uşaklı
f8e219c323
handle empty set, add test
6 years ago
Barış Soner Uşaklı
b6771836cf
closes #6937
6 years ago
Baris Usakli
62787368c6
add searchonly option to searh api
6 years ago
Julian Lam
da10ca084b
fix : #6921 , allow square brackets in usernames
6 years ago
renovate[bot]
64b9dabff8
chore(deps): update dependency eslint-config-airbnb-base to v13 ( #6599 )
...
* chore(deps): update dependency eslint-config-airbnb-base to v13
* chore: #6599 , linting 😬
6 years ago
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
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
Peter Jaszkowiak
9a32118418
Enable `require.main.require` in tests ( #6896 )
6 years ago
Barış Soner Uşaklı
d3e4daebec
posts/delete cleanup
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ı
19e6c61244
add new test for queue
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
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ı
9c03881d5a
add threshold for image resizing
6 years ago
Barış Soner Uşaklı
537b7ff7e8
remove more parseInts
6 years ago
Baris Usakli
a228dc2de9
closes #6797
6 years ago
Barış Soner Uşaklı
175e13edf6
group data
6 years ago
Barış Soner Uşaklı
c30ff42817
test for hooks page
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
Barış Soner Uşaklı
ac39112271
remove more parseInts
6 years ago