Commit Graph

9910 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
a6c8e0ab4f fix: logAttempt conditional 2018-12-10 14:40:11 -05:00
Barış Soner Uşaklı
78fa734017 feat: cache category tag whitelist 2018-12-09 16:03:41 -05:00
Barış Soner Uşaklı
81aa3a0b8a fix: don't crash in flags.validate if user blocked target 2018-12-09 15:25:43 -05:00
Barış Soner Uşaklı
fe0f95a2b1 fix: #7085 2018-12-08 19:51:26 -05:00
Barış Soner Uşaklı
e55fb43703 fix: #7086 2018-12-08 19:36:38 -05:00
Barış Soner Uşaklı
71163421aa fix: wrong variable #7085 2018-12-08 19:23:22 -05:00
Baris Usakli
df4f8cee4b remove node 6 2018-12-08 13:21:47 -05:00
Baris Usakli
e65d40c937 dont return undefined from sortedSetsCard if keys is empty or falsy 2018-12-07 16:50:35 -05:00
Baris Usakli
420227faae parseFloat scores 2018-12-07 16:01:08 -05:00
Julian Lam
4fba1492c1 feat: added new middleware authenticateOrGuest 2018-12-07 13:31:31 -05:00
Julian Lam
eeaee8ccef fix: not calling authenticate middleware on resource direct access
routes
2018-12-07 11:56:44 -05:00
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
2018-12-07 11:29:20 -05:00
Julian Lam
a07d9898df fix: #7071 buildSkinAsset won't rebuild continuously 2018-12-06 16:10:24 -05:00
Barış Soner Uşaklı
7ca62b8399 feat: closes #7070 2018-12-06 12:08:23 -05:00
Baris Usakli
96c1dc6276 unescape email subject 2018-12-05 17:38:18 -05:00
Baris Usakli
eab297bdc9 fix: #7061 2018-12-05 13:06:13 -05:00
oh
d7c55bc3f7 feat(email): don't escape html in notification bodies. (#7042)
allows for post replies, etc. to show the formatting of the orginal 
post, rather than looking garbled.

closes #7034
2018-12-05 12:46:41 -05:00
Baris Usakli
d3c6cba33f closes #7060 2018-12-05 11:22:44 -05:00
Baris Usakli
67ac8e3d06 closes #7053 2018-12-04 19:58:12 -05:00
Barış Soner Uşaklı
54c127d1b2 feat: allow array results 2018-12-04 15:29:50 -05:00
Barış Soner Uşaklı
f581c052ee feat: #7023
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
2018-12-04 14:32:43 -05:00
Barış Soner Uşaklı
a63ddbe2aa fix: #7040
if category doesn't exist return null and 404
2018-12-01 17:15:38 -05:00
Barış Soner Uşaklı
ec0c50d4e0 fix: #7041 2018-12-01 16:59:20 -05:00
Barış Soner Uşaklı
8d7c3897f2 fix: #7043 2018-12-01 16:58:52 -05:00
Barış Soner Uşaklı
cb7c2d8c28 fix: add missing render function 2018-12-01 04:37:55 -05:00
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
2018-11-30 21:35:57 -05:00
Baris Usakli
8808a03307 fix: #7033 2018-11-30 14:39:35 -05:00
Baris Usakli
b86f155690 fix: #7037 2018-11-30 14:25:54 -05:00
Peter Jaszkowiak
ba619c7ec8 style(eslint): match operator-linebreak preferences 2018-11-30 13:38:59 -05:00
Peter Jaszkowiak
89c025d102 feat: close #7002, console message if mismatched origins 2018-11-30 13:38:59 -05:00
Peter Jaszkowiak
43c3bb02e5 fix: #6991, add timeout for version Github request 2018-11-30 13:38:59 -05:00
Baris Usakli
33d7735690 change deprecated message 2018-11-30 11:58:55 -05:00
SweetPPro
dab1a1d638 fix for null category (#7029) 2018-11-29 10:47:13 -05:00
Barış Soner Uşaklı
29e9310aa5 dont crash for undefined categories 2018-11-29 07:55:56 -05:00
Barış Soner Uşaklı
6330d51446 less derpy output 2018-11-28 19:54:52 -05:00
Barış Soner Uşaklı
ed1bf9a16f add more info to advanced db page 2018-11-28 19:24:54 -05:00
Barış Soner Uşaklı
4b486a808e fix custom home 2018-11-28 15:58:52 -05:00
Barış Soner Uşaklı
2c5e38d8f1 closes #7004
do not translate email subjects twice, emailer already translates the passed in subject param
2018-11-28 10:42:40 -05:00
Barış Soner Uşaklı
00a066985a cache categories:cid and cid:<cid>:children
these rarely change, no need to go to db for them
2018-11-27 19:38:28 -05:00
Barış Soner Uşaklı
112b5c861a change queue logic, if user has negative rep always queue their post 2018-11-27 14:58:07 -05:00
Barış Soner Uşaklı
1d5816b00a add new hook filter:unread.categories 2018-11-27 13:56:09 -05:00
Barış Soner Uşaklı
59eeff8f0f closes #7011 2018-11-27 11:01:46 -05:00
Barış Soner Uşaklı
d0750bc587 closes #7007 2018-11-26 16:58:03 -05:00
Baris Usakli
1bb6067e19 suggested topics fix, if search doesn't return enough topics 2018-11-26 14:47:09 -05:00
Baris Usakli
8e5a6d9767 add banned:expire to user data 2018-11-26 13:52:45 -05:00
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