Commit Graph

11415 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
bcd62586e2 fix: database 0 was being replaced with undefined because 0 is falsy 2019-02-09 13:41:34 -05:00
Barış Soner Uşaklı
ba90bf3114 feat: check overide 2019-02-09 13:13:42 -05:00
Barış Soner Uşaklı
f2d7f75ee2 feat: check CI failure 2019-02-09 12:23:10 -05:00
Barış Soner Uşaklı
2e2c3ac110 fix: #7352 2019-02-09 10:14:43 -05:00
Julian Lam
aca0556052 fix: #7261, banned users still get digests 2019-02-08 16:26:38 -05:00
Baris Usakli
8c68780e54 fix: #7350 2019-02-08 14:38:21 -05:00
Julian Lam
0c09b7402d feat: logging password resets and errors into event log
closes #7343, also adds tests for password reset socket calls
2019-02-08 10:51:10 -05:00
Barış Soner Uşaklı
fab52b840c fix: prevent crash if results.stats or results.serverStatus is undefined 2019-02-07 16:07:44 -05:00
Barış Soner Uşaklı
70d9c6c4ce fix: #7232 2019-02-06 15:31:56 -05:00
Barış Soner Uşaklı
8e3bf58106 fix: #7338 2019-02-06 11:29:18 -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ı
a2f08e7da2 fix: #7240 2019-02-05 15:27:41 -05:00
Barış Soner Uşaklı
cd1209906d fix: give default privs on new install to guests/spiders 2019-02-05 12:14:02 -05:00
Barış Soner Uşaklı
c72da5595a fix: #6806
3 new global privileges
view:users
view:tags
view:groups
2019-02-05 12:08:18 -05:00
Barış Soner Uşaklı
9d1fcf4e36 fix: closes #7217 2019-02-04 14:16:47 -05:00
Andrew Rodrigues
5031bfe8c0 feat: allow themes to define custom classes for categories via filter:admin.category.get
`datalist` isn't supported in all browsers but this will fallback to the original behavior. The first item in the list is the placeholder.
2019-02-04 13:54:48 -05:00
Barış Soner Uşaklı
d75a0d7724 feat: show more unread notifs 2019-01-31 13:13:59 -05:00
Barış Soner Uşaklı
6e69a9ab31 fix: merge post notifs 2019-01-31 12:54:23 -05:00
Barış Soner Uşaklı
cd2f72fb73 feat: pass topic creation data to action:topic.save 2019-01-30 10:32:50 -05:00
Barış Soner Uşaklı
5353960ae7 fix: #7316 2019-01-29 13:11:45 -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
14addef67b indentation fix #7284 2019-01-29 11:26:37 -05:00
Aziz Khoury
d94f6248ca related to https://github.com/NodeBB/NodeBB/issues/7212 2019-01-29 11:26:37 -05:00
Aziz Khoury
eb21ca1190 added customAction in the registration queue users list, related to #7212 2019-01-29 11:26:36 -05:00
Aziz Khoury
04232986ab related to https://github.com/NodeBB/NodeBB/issues/7212 2019-01-29 11:26:36 -05:00
Julian Lam
02a8ed9b11 feat: textcomplete over jquery-textcomplete, closes #7309 2019-01-28 13:05:46 -05:00
Barış Soner Uşaklı
920efad04d fix: #7300 2019-01-26 23:44:41 -05:00
Barış Soner Uşaklı
70f8b418c4 fix: #6848
fixed in winston 3.2.0
2019-01-26 17:20:17 -05:00
Julian Lam
f659ef4d80 feat: new hook filter:privileges.posts.edit 2019-01-26 13:48:57 -05:00
Julian Lam
df6f75eb05 fix: #7298 privilege header misalignment 2019-01-26 13:48:56 -05:00
Barış Soner Uşaklı
cf918078e5 fix: #7211 2019-01-25 12:06:03 -05:00
Julian Lam
0edeeea2cf Merge branch 'develop' 2019-01-24 16:39:15 -05:00
Barış Soner Uşaklı
7064fd0678 fix: #7235 2019-01-24 15:14:12 -05:00
Barış Soner Uşaklı
ef0e780896 fix: use ACP config value for checking online status 2019-01-24 14:58:55 -05:00
Barış Soner Uşaklı
a083d5f429 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-01-24 12:42:42 -05:00
Barış Soner Uşaklı
a22a3a9861 fix: log error to prevent headers already sent
retry on uniq index fail
2019-01-24 12:42:36 -05:00
Julian Lam
63061ffd37 feat: new hook filter:user.logout
- used for setting "next" for post logout redirection
2019-01-24 12:04:44 -05:00
Ricki Hirner
0a662e4882 Add Disallow: /compose to robots.txt 2019-01-23 10:44:33 -05:00
Julian Lam
cee47f78b2 fix: #7289 timeago shorthand toggle fails on non-existant language
- Exposing timeagoCodes to frontend
- Timeago language and shorthand toggling will fall back to 'en'
  if the requested language does not exist
2019-01-21 16:35:42 -05:00
Julian Lam
059a4be204 feat: explicit handling of SSO success and failure 2019-01-21 15:29:32 -05:00
Julian Lam
831d079512 fix: #7274 incorrect handling of client script 404s 2019-01-21 11:39:53 -05:00
Julian Lam
a23854e3ff feat: new hook type: response
Used in authentication middleware. Instead of firing an action
hook, it now fires a response hook.

Response hooks are invoked serially, and if headers are sent from
one of the hook listeners, all subsequent hook methods are not
called.

Response hooks should only be used in situations where res.send
(or other like methods) are invoked. Existing plugin hooks that
pass in res purely for data retrieval purposes have not changed).

fixes nodebb/nodebb-plugin-write-api#101
2019-01-19 14:49:22 -05:00
Julian Lam
f122fc44d0 fix: #7266 body does not contain skin class
A regression was identified where the skin was not shown in the
body class. This resolves the issue and adds a workaround so that
the fix does not become breaking for custom themes.
2019-01-19 12:03:12 -05:00
Barış Soner Uşaklı
7524d3c33b fix: generate timeago codes from files 2019-01-18 18:01:41 -05:00
Julian Lam
2b9322e1c2 feat: additional options for SSO plugins
+checkState property, pass Boolean false to skip nonce checking
+callbackMethod, default 'get', you can pass in 'post', etc.
2019-01-18 16:16:04 -05:00
Barış Soner Uşaklı
ed5d2d6d15 feat: get rid of disk access 2019-01-18 15:32:34 -05:00
Julian Lam
c831ff0de3 fix: removal of timeago fallback middleware (#7259)
* fix: removal of timeago fallback middleware

Instead of loading English fallback on missing language, we opt
to not send a script tag for a missing language to begin with.

Timeago already loads with English as default, so it will just
continue to use English.

* fix: check userLang against supported language codes

* fix: cleaned up code as per @pitaj

* fix: added comments

* fix: more fixes as per @pitaj

* feat: added addl. test for timeago locales, fixed broken test
2019-01-17 12:25:53 -05:00
Baris Usakli
c14dbfc6b7 attempt to fix tests 2019-01-15 13:38:42 -05:00
Baris Usakli
65f6630722 add new hook action:plugins.firehook 2019-01-15 12:56:01 -05:00
Barış Soner Uşaklı
ac655564bb fix: post queue notifs
fix moderators not showing up immediately when adding them
2019-01-14 22:38:15 -05:00