Commit Graph

11415 Commits

Author SHA1 Message Date
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ı
69ef05707a style 2018-11-25 01:22:45 -05:00
Barış Soner Uşaklı
3f8e3dc3e8 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-24 23:15:21 -05:00
Barış Soner Uşaklı
13139fe77e return early for guests/spiders 2018-11-24 23:15:10 -05:00
Barış Soner Uşaklı
0524fd9caa closes #6996 (#6997)
* closes #6996

* fix lint
2018-11-24 23:02:22 -05:00
Baris Usakli
7b9a2caec3 closes #6994 2018-11-23 14:39:59 -05:00
Barış Soner Uşaklı
b8c08a5417 dont call db for guests 2018-11-22 22:21:03 -05:00
Barış Soner Uşaklı
d8f114c982 dont check if guests/spiders are banned or load reason 2018-11-22 21:58:25 -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ı
d5af39ca5d make 1 call for parentCids 2018-11-22 18:21:43 -05:00
Barış Soner Uşaklı
01c942fc39 closes #6989 2018-11-22 11:42:39 -05:00
Barış Soner Uşaklı
eba1a405d2 load category parents and childrens in one call
add more missing guest/spider checks
2018-11-22 10:53:44 -05:00
Barış Soner Uşaklı
a6864a8055 add groupTitle test for guests 2018-11-21 23:34:08 -05:00
Barış Soner Uşaklı
1c981e638b rename query name 2018-11-21 21:10:56 -05:00
Barış Soner Uşaklı
ca1e3a758b #6986 2018-11-21 20:40:40 -05:00
Barış Soner Uşaklı
48690a01b9 dont need to call multi if keys.length is 0 2018-11-21 17:24:38 -05:00
Barış Soner Uşaklı
20abc7fc47 closes #6985 2018-11-21 16:42:57 -05:00
Barış Soner Uşaklı
b331ca26a1 add search to acp 2018-11-21 15:42:31 -05:00
Barış Soner Uşaklı
63c0a9a3b7 closes #6928 2018-11-21 15:32:12 -05:00
Barış Soner Uşaklı
fc1c4acccf closes #6960 2018-11-21 12:37:40 -05:00
Baris Usakli
b83e50f286 remove delayImageLoading from api @julianlam 2018-11-20 17:20:07 -05:00
Barış Soner Uşaklı
94e10c8c32 closes #6972 2018-11-19 15:14:39 -05:00
Barış Soner Uşaklı
f75e2ed1ee fix lint 2018-11-19 13:27:09 -05:00
Barış Soner Uşaklı
c36ddec08b promisify plugins 2018-11-19 13:03:31 -05:00
Barış Soner Uşaklı
33986f38e3 closes #6954 2018-11-18 16:03:31 -05:00
Barış Soner Uşaklı
1ce15e69ab dont require search and moustrap on topic page until needed 2018-11-18 10:32:08 -05:00
Barış Soner Uşaklı
e17c4b2766 uid fixes 2018-11-17 22:31:39 -05:00
Barış Soner Uşaklı
c02d584b53 reduce initial js payload/requests 2018-11-17 20:50:07 -05:00
Barış Soner Uşaklı
f1a6d39537 dont crash if a loginStrategies is undefined 2018-11-16 14:42:57 -05:00
Barış Soner Uşaklı
c72299ad71 refactor widgets admin
so we dont load the widget-settings.tpl in the upgrade script and only load areas
2018-11-15 15:39:58 -05:00
Barış Soner Uşaklı
9fecad138c limit number of js files minified, dont crash upgrade script of widget-settings is not found 2018-11-15 14:54:12 -05:00
Barış Soner Uşaklı
f0dead7aba more tooltip work 2018-11-14 13:53:35 -05:00
Barış Soner Uşaklı
21402ba803 check joindate 2018-11-13 22:18:20 -05:00
Baris Usakli
d0b67b00db closes #6949 2018-11-13 16:19:30 -05:00
Baris Usakli
adb647a8ae export express app from webserver 2018-11-13 14:11:50 -05:00
Julian Lam
f96208a0c8 fix(uploads): ugly filenames on uploaded asset downloading
During regular processing, a timestamp is prepended to the filename
for any uploaded files. We don't want this to be part of the filename
if an end-user elects to download the file.

This commit adds a middleware to strip out that portion of the
basename and adds the appropriate Content-Disposition header for
files in /uploads/files

Fixes #6953
2018-11-13 13:56:33 -05:00
Peter Jaszkowiak
57b39d5ba2 fix(acp): small UI fixes for ACP privileges category selector (#6946)
- Add dropdown chevron
- Change translations
- Safety against `category` not an object
2018-11-13 12:26:50 -05:00
Baris Usakli
c5a093e1f2 closes #6950 2018-11-13 11:10:09 -05:00
Barış Soner Uşaklı
7dabd13fea remove unused 2018-11-12 17:39:22 -05:00
Barış Soner Uşaklı
de14102ee7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-12 17:10:00 -05:00
Barış Soner Uşaklı
d9452bf3d4 fix: custom navigation item not showing groups 2018-11-12 17:09:58 -05:00
Julian Lam
b3f96d28aa fix(acp): hard-to-discover dropdown selector in ACP
Made the dropdown an MDL button fab with better positioning via
a p.lead so that it is more easily discoverable and obvious that
it is a button that can be pressed.

Fixes #6899
2018-11-12 16:44:13 -05:00
Barış Soner Uşaklı
a57d94194f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-12 14:04:40 -05:00
Barış Soner Uşaklı
157a7d1f0e prevent possible crash if category.posts is undefined 2018-11-12 14:04:38 -05:00
Barış Soner Uşaklı
c593ffd75f closes #6944 2018-11-12 12:42:10 -05:00
Barış Soner Uşaklı
d63db8d20f arrow function 2018-11-12 00:22:10 -05:00
Barış Soner Uşaklı
69bb3293ee misc fixes
handle spider uids properly
2018-11-12 00:20:44 -05:00
Barış Soner Uşaklı
afa84023a2 closes #6942 2018-11-11 18:42:15 -05:00
Barış Soner Uşaklı
96e986a865 optimize suggested topics/search 2018-11-11 17:57:17 -05:00
Barış Soner Uşaklı
07f83c5078 fix redis tests 2018-11-11 16:23:36 -05:00