Julian Lam
70a87d4399
feat: support for one-click unsubscribe from email clients ( #7203 )
...
* feat: sending notifs via ACP creates real notification
re: #7202
* feat: basic integration for one-click unsubscription #7202
* feat: tests for #7202 + bugfix
* feat: added and organized digest unsub tests
closes #7202
2019-01-08 13:56:11 -05:00
renovate[bot]
84e228bbb8
fix(deps): update dependency diff to v4 ( #7198 )
...
* fix(deps): update dependency diff to v4
* chore(deps): +diff@4.0.1
* fix: test for #7198
2019-01-07 12:07:28 -05:00
Baris Usakli
7809ba2800
fix : #7193 , closes #7194
2019-01-04 13:27:41 -05:00
Barış Soner Uşaklı
3917022a48
fix : #7139
2018-12-19 11:09:19 -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
Baris Usakli
0c1ac4d6a2
feat: #7032
2018-12-18 13:44:03 -05:00
Barış Soner Uşaklı
fef7e13c9e
feat: small fixes
2018-12-17 18:56:09 -05:00
Barış Soner Uşaklı
99e0895e99
fix: move the check to get methods
...
all .post methods will have csrf
2018-12-14 23:38:05 -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ı
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ı
26ccd8f626
fix: db info page
...
if there is no connection to db, connect first
2018-12-10 15:30:10 -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ı
e55fb43703
fix : #7086
2018-12-08 19:36:38 -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
76af8caf58
add missing semicolon
2018-12-07 16:19:47 -05:00
Baris Usakli
420227faae
parseFloat scores
2018-12-07 16:01:08 -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
Baris Usakli
d3c6cba33f
closes #7060
2018-12-05 11:22:44 -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ı
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
cd46febdd0
fix lint
2018-11-30 14:40:49 -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
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ı
c240733aee
fix logs test
2018-11-26 17:33:39 -05:00
Barış Soner Uşaklı
0361849bb1
check status code
2018-11-26 17:17:43 -05:00
Barış Soner Uşaklı
47b2057f20
#7007
2018-11-26 17:10:22 -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ı
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