Commit Graph

785 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
4b843ba16f fix: #7567, allow invite and approval at the same time 2019-06-04 11:10:20 -04:00
Julian Lam
80c0d579e3 fix: #7593, unable to set account password if no password set 2019-05-22 13:40:00 -04:00
Andrew Rodrigues
e114b16d7a fix: if editing password is disabled in ACP, prevent direct access via route/socket (related: #7576) 2019-05-09 15:50:51 -04:00
Aziz Khoury
45acf80987 remove expire timestamp when banning user permanently, fixes #7547 (#7548) 2019-04-18 17:22:33 -04:00
Andrew Rodrigues
9bf3517db1 fix: failing test from 00552d7183 2019-04-15 13:19:27 -04:00
Andrew Rodrigues
00552d7183 fix: fire filter:register.complete for users approved via registration queue 2019-04-15 12:36:09 -04:00
Julian Lam
808c4909a4 fix: #6438 only apply whitelist when fields request empty (#7528)
* fix: #6438 only apply whitelist when fields request empty

* feat: explicit password retrieval denied via getUsersFields
2019-04-10 13:55:53 -04:00
Aziz Khoury
3fbb6faf28 feat: update unban logic/invocation and refactor User.bans module
* auto unban when User.getUsersFields is called and the user is banned but has expired

* cleanups and removal of expiry_readable

* expiry_readable make an alias for backward compatibility

* User.bans.func vs User.*ban*Func

* console.log cleanups, plus todo message added

* use code util.deprecate

* fix: remove ununsed winston require
2019-04-05 14:14:48 -04:00
Baris Usakli
ed91d3f2c8 fix: #7519 2019-04-05 13:44:15 -04:00
Barış Soner Uşaklı
fddb783ee9 fix: #7487 2019-03-25 11:46:29 -04:00
Barış Soner Uşaklı
e331f6b51d fix: #7414 2019-02-28 10:20:07 -05:00
Julian Lam
0360f6e1cb fix: l2spread @baris nib 2019-02-22 16:01:12 -05:00
Baris Usakli
23da300958 feat: pass options to digest 2019-02-22 14:39:05 -05:00
Julian Lam
f32a992237 feat: revamp email templates to be more style agnostic (#7375)
* feat: re-designed digest

Updated design, logic no longer shows "no topics", just doesn't
show the list at all, teaser re-retrieved for digest so that it
always grabs a teaser even if there is no reply, changed default
email background to a light grey.

* fix: minor padding issues in digest

* fix: banned template

* fix: invitation.tpl

* fix: removed unused notif_chat and notif_post email templates

* fix: notification template

* fix: registration_accepted template

* fix: reset tpl

* fix: test tpl

* fix: email verify tpl

* fix: reset notify tpl

* fix: welcome tpl

* fix: additional minor font fixes

* fix: removed unused email header image assets

* fix: internationalised 'your daily digest' string

* fix: broken url in digest 🤦

* feat: added RTL support for emailer

/cc @PostMidnight
2019-02-20 16:13:26 -05:00
Barış Soner Uşaklı
c6ad8fae2a fix: #7354 2019-02-11 14:29:25 -05:00
Julian Lam
aca0556052 fix: #7261, banned users still get digests 2019-02-08 16:26:38 -05:00
Barış Soner Uşaklı
56a493d873 fix: dont crash if userData is undefined #7262 2019-02-06 10:33:04 -05:00
Barış Soner Uşaklı
d75a0d7724 feat: show more unread notifs 2019-01-31 13:13:59 -05:00
Aziz Khoury
6cd8248cae added empty array for customActions and another indentation fix attempt, related to #7284 2019-01-29 11:26:38 -05:00
Aziz Khoury
04232986ab related to https://github.com/NodeBB/NodeBB/issues/7212 2019-01-29 11:26:36 -05:00
Barış Soner Uşaklı
ef0e780896 fix: use ACP config value for checking online status 2019-01-24 14:58:55 -05:00
Baris Usakli
7809ba2800 fix: #7193, closes #7194 2019-01-04 13:27:41 -05:00
Barış Soner Uşaklı
7e828404f6 fix: #7116
dont save relative_path in db for group covers
2018-12-18 19:43:28 -05:00
Barış Soner Uşaklı
29b63ae7fb fix: #6979 2018-12-14 17:31:06 -05:00
Barış Soner Uşaklı
eb7ae54f81 Category watch state (#7109)
* feat: wip, category watch change

* feat: pass data to client

* feat: allow changing state

* fix: account page categories

* fix: show in unread if topic is followed or category is watched

* feat: add default watch state to acp

* feat: save user category watch state

* feat: update unread recent pages

* fix: remove dupe code

* fix: flip conditions

* fix: handle empty arrays

* fix: ignore/watch on others profile

* feat: upgrade script for category states

if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers

* fix: upgrade

* fix: tests

* fix: redis count

* fix: more tests
2018-12-14 16:24:17 -05:00
Barış Soner Uşaklı
62f01a839e fix: dont save data for non-positive uids 2018-12-14 00:09:15 -05:00
Barış Soner Uşaklı
263c918088 feat: remove uid:<uid>:ignored:cids (#7099)
use cid:<cid>:ignorers instead
2018-12-12 11:15:34 -05:00
Barış Soner Uşaklı
a0f57c642c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-12-10 14:40:17 -05:00
Barış Soner Uşaklı
a6c8e0ab4f fix: logAttempt conditional 2018-12-10 14:40:11 -05:00
Julian Lam
33d4956b76 fix: #7087, server-side protection against guest blocks 2018-12-10 14:14:37 -05:00
Peter Jaszkowiak
ba619c7ec8 style(eslint): match operator-linebreak preferences 2018-11-30 13:38:59 -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ı
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ı
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
Baris Usakli
b83e50f286 remove delayImageLoading from api @julianlam 2018-11-20 17:20:07 -05:00
Barış Soner Uşaklı
e17c4b2766 uid fixes 2018-11-17 22:31:39 -05:00
Baris Usakli
c5a093e1f2 closes #6950 2018-11-13 11:10:09 -05:00
Barış Soner Uşaklı
69bb3293ee misc fixes
handle spider uids properly
2018-11-12 00:20:44 -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
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
Barış Soner Uşaklı
2e579ee0f9 closes #6883 2018-10-29 12:18:11 -04:00
Barış Soner Uşaklı
66ed48e088 closes #6875 2018-10-27 06:23:24 -04:00
Julian Lam
4919e9efa3 feat: allow disabling of GDPR features via ACP toggle, closes #6847 2018-10-26 15:21:04 -04:00
Baris Usakli
12f3f56b01 change to .exists 2018-10-26 14:31:38 -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
Baris Usakli
138154a71c move modules 2018-10-23 15:03:32 -04:00