Commit Graph

11415 Commits

Author SHA1 Message Date
Baris Usakli
c2cd7de891 fix: #8069, dont show hidden groups in search 2019-11-29 13:35:50 -05:00
Baris Usakli
33fd4a1c2b fix: missing await 2019-11-29 11:35:00 -05:00
Julian Lam
f9a8ebfce9 feat: merge social authentication into plugins menu in ACP
* also reordered the menu in ACP so plugins come first
* added muted headers in desktop version to distinguish both lists
* fixes julianlam/nodebb-plugin-sso-google#21
* closes #8066
2019-11-26 11:30:49 -05:00
Barış Soner Uşaklı
1bda92e3fc fix: #8064, break-word on post-queue 2019-11-25 14:22:35 -05:00
Barış Soner Uşaklı
de404102c0 fix: #8061, don't crash if there is a network problem 2019-11-24 09:41:03 -05:00
Barış Soner Uşaklı
a688aaae51 fix: #8059, properly mark topic unread when using mark unread for all 2019-11-23 08:52:18 -05:00
Julian Lam
510737726c fix: unhandled promise rejection error on reset error
Also, removed buildAll() on reset.
2019-11-20 13:45:29 -05:00
Baris Usakli
366ad5cd69 fix: #8050, fix redirect after registration 2019-11-19 12:02:14 -05:00
Opliko
0efe27b1f2 fix: make _csrf a secure cookie if the website is using https (#8045)
* Make _csrf a secure cookie if the website is using https

* fix style for TravsCI

* Add `url_parsed` to databasemock
2019-11-18 13:07:05 -05:00
Baris Usakli
0a96c92300 fix: #8034 2019-11-15 15:27:02 -05:00
Baris Usakli
cec0079573 refactor: shorter returns 2019-11-15 14:27:45 -05:00
Baris Usakli
efd1e88bbf feat: convert middleware.isAdmin to async/await 2019-11-15 14:24:24 -05:00
Baris Usakli
a254520485 fix: serialize 2019-11-15 14:09:10 -05:00
Baris Usakli
1eca5b3dae fix: show login fields if user has local password 2019-11-15 13:19:29 -05:00
Ben Lubar
f65922297d fix abysmal postgresql performance in getSortedSetsMembers (#8030)
* refactor postgres upgrade function to use async

* add function wrapper for getting the elements of a sorted set to avoid postgres planning the query with a nested sequential scan

* fix fatal(?!) lint errors

* add missing await

* bump PostgreSQL version on Travis CI to one that isn't over 3 years out of date
2019-11-13 14:45:48 -05:00
Barış Soner Uşaklı
eabc6f4763 fix: crash if post doesn't have topic data 2019-11-08 18:38:58 -05:00
Barış Soner Uşaklı
e52ecfaf3f fix: don't touch objects that don't have the required fields 2019-11-08 18:34:57 -05:00
Barış Soner Uşaklı
f4381ba366 fix: add missing await to sendValidationEmail 2019-11-07 18:10:30 -05:00
Julian Lam
dee1d44722 fix: #8007 added tfoot to clear new group button 2019-11-06 14:38:46 -05:00
Julian Lam
df139928b6 feat: displaying one-click unsubscribe link in email footer (#8024)
closes #8016
2019-11-06 14:19:57 -05:00
Barış Soner Uşaklı
480a64aaa7 feat: #7467, pass query params when redirecting to posts 2019-11-05 19:51:01 -05:00
Barış Soner Uşaklı
b5a30006e2 feat: use helpers.setupAdminPageRoute 2019-11-05 15:41:33 -05:00
Julian Lam
645d647248 feat: wip, better digest handling (+ eventual digest resend logic) (#7995)
* feat: wip, better digest handling (+ eventual digest resend logic)

- await emailer.send call in digest.send method
- save send success to a new sorted set digest:{interval}:byUid

* feat: continuing work on digest tools

- Added ACP page to view digest settings and delivery times per user

* feat: added paginator and stub buttons for resending digest

* feat: wrapping up digest revamp

- New language strings in ACP digest page
- Client-side ACP script for digest ACP page
- Websocket call for ACP page to execute digests
- Broke out logic to retrieve user digest settings to getUsersInterval

* fix: minor cleanup

* fix: #8010 and some style suggestions from baris

* fix: resolve confusing comment
2019-11-02 13:11:02 -04:00
Barış Soner Uşaklı
0037a03886 fix: #8018, allow absolute urls in notification.path 2019-11-01 21:01:46 -04:00
Barış Soner Uşaklı
59242d31aa fix: #8010, fix isBanned call 2019-10-31 16:31:49 -04:00
Barış Soner Uşaklı
ac5c560c54 feat: add action:messaging.save 2019-10-31 12:54:03 -04:00
Barış Soner Uşaklı
c4e58160cf fix: #8003, check children recursively 2019-10-30 12:47:01 -04:00
Barış Soner Uşaklı
b91c4790d1 fix: dont show delete topics on unread 2019-10-29 21:28:28 -04:00
Barış Soner Uşaklı
1cedc4a0d6 feat: #7957, allow post queue based on group
allow multiple select in ACP pages
2019-10-28 14:36:14 -04:00
Barış Soner Uşaklı
0e5e47f410 fix: parseInt cutoff 2019-10-24 19:55:21 -04:00
Barış Soner Uşaklı
e020b85bf5 feat: add filter:topics.unreadCutoff 2019-10-24 19:38:37 -04:00
Opliko
989107d9b5 feat: Add filter:topic.delete and filter:topic.restore (#7946) (#7989)
* Add filter:topic.delete

* Don't return undefined data

* add topic.restore and pass canRestore to filter

* fix some bugs created by conflict resolution and new changes

* more readable hook

* fix styling for TravisCI

* literally just two newlines so that TravisCI builds again
2019-10-22 19:25:54 -04:00
Julian Lam
cf7e0cfd2d feat: no more session cookie for guests (#7982)
* feat: no more session cookie for guests

* fix(tests): added additional tests and fixed the broken test
2019-10-22 13:38:36 -04:00
Opliko
df1efe5f96 feat: Implement WICG change-password-url (#7072) (#7990)
* feat:  Implement WICG change-password-url (#7072)

* fix style for TravisCI
2019-10-22 12:16:09 -04:00
uplift
1aa520b7a0 parseInt uid in room users check (#7988)
nodebb-write-api fails this check without parsing into an int
2019-10-22 12:07:53 -04:00
Barış Soner Uşaklı
b01a47cbc1 feat: log errors from mubsub 2019-10-21 16:12:52 -04:00
Barış Soner Uşaklı
d679218859 feat: upgrade to sitemap5 (#7980) 2019-10-16 22:14:59 -04:00
Barış Soner Uşaklı
f9f85fc425 fix: cli/reset.js (#7979) 2019-10-16 20:50:38 -04:00
Julian Lam
ddf3812cdc fix: passwords always expiring upon login 2019-10-16 13:52:18 -04:00
Barış Soner Uşaklı
d72b0d1616 fix: delete follower/followingCount as well 2019-10-11 18:54:33 -04:00
Baris Usakli
485fbd2f14 feat: #7964, change all categories at once
allow passing cids to setCategoryWatchState and category.exists
2019-10-11 15:25:41 -04:00
Baris Usakli
990508a533 feat: closes #7952, translate widget-settings 2019-10-11 11:51:24 -04:00
Baris Usakli
554e67116f feat: remove ability to delete events from acp 2019-10-11 11:32:11 -04:00
Barış Soner Uşaklı
3775301f24 fix: #7958, give rewards one by one
no need to check group.exists when leaving groups, if group doesn't exists isMember will be false anyways
2019-10-10 22:03:41 -04:00
Barış Soner Uşaklı
88818a5bbf fix: rewards page acp not loading rewards 2019-10-10 18:12:25 -04:00
Baris Usakli
f272daaf37 fix: #7960, dont try to save size for non images 2019-10-10 11:21:15 -04:00
Barış Soner Uşaklı
03827fa695 feat: resetting theme will reset skin
async/await cli/reset
2019-10-09 23:58:24 -04:00
Barış Soner Uşaklı
565f9726f7 fix: #7941, validate some input fields 2019-10-09 22:04:25 -04:00
Barış Soner Uşaklı
661a0f5068 fix: don't show deleted topics on unread 2019-10-09 18:03:07 -04:00
Baris Usakli
6b3eb0144e refactor: use arrow function 2019-10-09 13:30:59 -04:00