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
2018-11-25 19:08:38 -05:00
Barış Soner Uşaklı
9d28b935fd
dont load uid 0, -1 from db
2018-11-22 21:57:56 -05:00
Barış Soner Uşaklı
a6864a8055
add groupTitle test for guests
2018-11-21 23:34:08 -05:00
Barış Soner Uşaklı
ca1e3a758b
#6986
2018-11-21 20:40:40 -05:00
Baris Usakli
b83e50f286
remove delayImageLoading from api @julianlam
2018-11-20 17:20:07 -05:00
Barış Soner Uşaklı
afa84023a2
closes #6942
2018-11-11 18:42:15 -05:00
Barış Soner Uşaklı
f8e219c323
handle empty set, add test
2018-11-11 15:39:17 -05:00
Barış Soner Uşaklı
b6771836cf
closes #6937
2018-11-10 20:51:07 -05:00
Baris Usakli
62787368c6
add searchonly option to searh api
2018-11-09 15:09:47 -05:00
Julian Lam
da10ca084b
fix : #6921 , allow square brackets in usernames
2018-11-07 16:01:31 -05:00
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 😬
2018-11-07 15:53:14 -05:00
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
2018-11-07 15:04:56 -05:00
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
2018-11-07 13:44:35 -05:00
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
2018-11-06 13:34:29 -05:00
Peter Jaszkowiak
9a32118418
Enable require.main.require in tests ( #6896 )
2018-10-31 09:58:37 -04:00
Barış Soner Uşaklı
d3e4daebec
posts/delete cleanup
2018-10-30 19:41:06 -04:00
Barış Soner Uşaklı
7aa937a657
remove dupe code in mongodb sorted
2018-10-28 16:20:38 -04:00
Barış Soner Uşaklı
ea1e8fb8fe
Merge branch 'master' of https://github.com/NodeBB/NodeBB
2018-10-27 06:29:24 -04:00
Barış Soner Uşaklı
19e6c61244
add new test for queue
2018-10-27 06:29:12 -04:00
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
2018-10-27 06:26:50 -04:00
Baris Usakli
566564ed74
fix redis tests
...
fixed typo in groups/data.js
added postcount,viewcount to int fields
2018-10-26 13:01:34 -04:00
Barış Soner Uşaklı
fb6067a7ca
only parse if field is requested
2018-10-25 19:58:01 -04:00
Barış Soner Uşaklı
f3a679e268
remove parseInts
2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
9c03881d5a
add threshold for image resizing
2018-10-24 20:03:03 -04:00
Barış Soner Uşaklı
537b7ff7e8
remove more parseInts
2018-10-23 21:36:00 -04:00
Baris Usakli
a228dc2de9
closes #6797
2018-10-23 17:50:44 -04:00
Barış Soner Uşaklı
175e13edf6
group data
2018-10-23 08:28:59 -04:00
Barış Soner Uşaklı
c30ff42817
test for hooks page
2018-10-22 22:23:50 -04:00
Barış Soner Uşaklı
c738dc7d3e
remove some more parseInts
2018-10-22 21:58:34 -04:00
Barış Soner Uşaklı
7a44424214
parse '123' to 123 if it has no default
2018-10-22 20:59:13 -04:00
Barış Soner Uşaklı
d07e3e6d97
if not in defaults use string
2018-10-22 20:08:31 -04:00
Barış Soner Uşaklı
4fff5e9baf
closes #6855
2018-10-22 19:31:27 -04:00
Barış Soner Uşaklı
ac39112271
remove more parseInts
2018-10-21 19:33:46 -04:00
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
2018-10-21 16:47:51 -04:00
Barış Soner Uşaklı
ee2f9e9434
remove some parseInts
2018-10-20 17:55:13 -04:00
Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Barış Soner Uşaklı
038f97b0f5
more settings tests
2018-10-18 16:33:34 -04:00
Barış Soner Uşaklı
8c9754ecee
add test for /admin/settings/user
2018-10-18 15:16:13 -04:00
Barış Soner Uşaklı
250e8c01ff
closes #5008
2018-10-18 15:15:54 -04:00
Barış Soner Uşaklı
da1a90a470
add search test
2018-10-18 12:50:24 -04:00
Baris Usakli
baf91089a6
remove unused methods
2018-10-17 15:23:46 -04:00
Baris Usakli
74fdadf8a6
test pubsub cache
2018-10-17 14:58:34 -04:00
Baris Usakli
444fd70ba3
test pubsub
2018-10-17 14:20:15 -04:00
Barış Soner Uşaklı
986511e718
try with higher timeout
2018-10-16 21:43:40 -04:00
Barış Soner Uşaklı
1d15dc089b
revert isCluster
2018-10-16 20:34:49 -04:00
Barış Soner Uşaklı
aa567a5f2d
print out connString and opts
2018-10-16 19:12:33 -04:00
Barış Soner Uşaklı
38ce83304d
up widget essentials
2018-10-16 19:07:27 -04:00
Barış Soner Uşaklı
2d8d234c57
test mongodb again
2018-10-16 18:44:03 -04:00
Barış Soner Uşaklı
8f7482955d
set cluster to false again
2018-10-16 17:21:03 -04:00
Barış Soner Uşaklı
fd31ad3cfe
disable busy check on tests
2018-10-16 15:50:32 -04:00