Commit Graph

12835 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
f8a7cf7378 feat: log data on error 2019-06-24 22:35:20 -04:00
Barış Soner Uşaklı
198d05875f feat: cleanup, use bulk 2019-06-24 21:36:20 -04:00
Barış Soner Uşaklı
3ecd703ea3 feat: #7707, added sortedSetAddBulk 2019-06-24 17:48:13 -04:00
Barış Soner Uşaklı
e48c7cd717 fix: dont show delete posts on profile 2019-06-24 17:47:25 -04:00
Barış Soner Uşaklı
6a7bc1c5fb fix: on new post add it to cid::uid::pids 2019-06-24 17:26:28 -04:00
Barış Soner Uşaklı
a39f0ef592 fix: #5570, create per category user post zsets 2019-06-24 15:21:43 -04:00
Barış Soner Uşaklı
3780a58ffb feat: shorter setsCard 2019-06-22 23:43:17 -04:00
Barış Soner Uşaklı
b53a60c278 feat: show best & latest posts on profile 2019-06-22 22:52:10 -04:00
Barış Soner Uşaklı
7e54d7aa35 feat: use db.sortedSetsAdd 2019-06-19 20:01:20 -04:00
Barış Soner Uşaklı
29a124c412 feat: use db.sortedSetsAdd 2019-06-19 19:42:10 -04:00
Barış Soner Uşaklı
68e5d7adec fix: remove dupe code 2019-06-19 19:01:22 -04:00
Barış Soner Uşaklı
39ee3980d6 fix: get uids directly for csv 2019-06-17 18:18:17 -04:00
Barış Soner Uşaklı
a7600b4bbe feat: dont log action:plugins.fireHook 2019-06-17 17:06:47 -04:00
Barış Soner Uşaklı
ebfc369ade feat: upgrade to connect-mongo 3.0.0, closes #7693 2019-06-17 08:30:34 -04:00
Barış Soner Uşaklı
a251032f02 fix: typo 2019-06-14 20:44:15 -04:00
Barış Soner Uşaklı
b4cc8d88cd fix: id/for 2019-06-13 11:55:13 -04:00
Barış Soner Uşaklı
25ea634787 fix: #7659 add option to change cookie link url 2019-06-13 11:54:39 -04:00
Barış Soner Uşaklı
ede060a646 feat: add hook for user notifications, closes #7672 2019-06-13 10:18:02 -04:00
Barış Soner Uşaklı
580f786095 feat: user/notifications refactor 2019-06-12 19:59:57 -04:00
Barış Soner Uşaklı
8c331088ca feat: send new post/topic event in batches 2019-06-12 18:20:07 -04:00
Julian Lam
f6d3cc0ea4 feat: allowing count to be passed to ./nodebb events 2019-06-12 13:19:37 -04:00
Julian Lam
aee47b299a feat: awaitable websockets (#7645)
* feat: awaitable websockets

Adding in conditionals to check the method to call, and handling
it as a promise vs. a regular function depending on whether the
method itself is an asynchronous function.

* fix: switch to .then-checking for awaitable check

* fix: proper use of .then check
2019-06-10 12:06:26 -04:00
Aziz Khoury
a6436716ea feat: hooks can now return promise or call callbacks
* hooks can now return promise or call callbacks, either way works

* cleanups

* moar cleanups and fix callback 1st null arg

* rm unnessesary spread
2019-06-10 12:05:27 -04:00
Barış Soner Uşaklı
5fa5e999f8 Plugin metrics (#7626)
* feat: add enable/disable checkbox for plugin usage

* feat: submit plugin data to packages.nodebb.org

only submit in production mode
submit once every 24 hours
dont submit for plugins that have "private": true in plugin.json
enabled on new installs
disabled on existing installs

* fix: hash not working after first send

fix statusCode

* fix: remove url

* feat: show compatibilty

* feat: add install question for submit plugin usage
2019-06-07 14:10:44 -04:00
Barış Soner Uşaklı
644504ff02 fix: #7483, show latest undeleted message as teaser 2019-06-05 22:04:19 -04:00
Julian Lam
c7f95ccecc feat: design revamp of ACP events page (#7664)
* feat: design revamp of ACP events page

- minor UX changes
- new filter controls, filters moved to sidebar
- form usable without js
- start/end filters NOT programmed yet

* feat: events ACP limit by date and perPage

* feat: pre-fill applied filters on template render

* fix: missing translation for ACP events perPage filter

* fix: added some comments to explain setHours behaviour

* fix: stop - start + 1

* fix: socket tests

* fix: +inf, not just inf

* fix: tests, because I am an idiot
2019-06-04 17:25:09 -04:00
Barış Soner Uşaklı
4b843ba16f fix: #7567, allow invite and approval at the same time 2019-06-04 11:10:20 -04:00
Barış Soner Uşaklı
5b85ed318a fix: #7625, on group rename update nav/widget items 2019-05-31 23:17:24 -04:00
Barış Soner Uşaklı
48538b28be feat: optimize group rename
removed async.each
2019-05-31 21:44:53 -04:00
Baris Usakli
8d319e4280 fix: psql error 2019-05-31 16:37:46 -04:00
Baris Usakli
2e6b562f1e fix: try to fix psql 🐶 2019-05-31 16:14:51 -04:00
Baris Usakli
31ccc860d3 feat: allow multiple scores in sortedSetsAdd 2019-05-31 15:44:50 -04:00
Barış Soner Uşaklı
0dca13e9c2 feat: optimize copy privileges 2019-05-30 21:41:54 -04:00
Barış Soner Uşaklı
8aef689f05 fix: no need for moderate bit for global mods and admins 2019-05-30 20:12:04 -04:00
Barış Soner Uşaklı
035f624758 Remove implicit mod privs. closes #6345 (#7648)
* feat: add upgrade script to give mods privs

* feat: give all privileges when making a moderator

* feat: remove implicit privs

* feat: give global mods default privs

* feat: more priv fixes

* feat: use lodash

* fix: remove implicit mod priv from topic delete

* fix: more privs

* fix: posts.canEdit

* fix: canDelete and canEdit

* fix: tests, remove console.log

* feat: shorter functions

* feat: add tests

* fix: uids

* fix: redis random test fail
2019-05-30 19:30:47 -04:00
Barış Soner Uşaklı
4d9bc30d1f feat: async3 upgrade (#7639)
* feat: async3 upgrade WIP

* fix: async.doWhilst

* fix: async early exit

* fix: psql doUntil

* fix: psql again
2019-05-30 14:36:33 -04:00
Baris Usakli
64679b37cc fix: #7647, fix getModeratorUids
sets.groupNames is an array that contains other arrays of groupnames so passing it to getMembersOfGroups returned wrong results when there were more than 1 element in it.
2019-05-29 15:44:33 -04:00
Julian Lam
603c526287 fix: bad usage of async requisition 2019-05-24 11:39:03 -04:00
Julian Lam
f321b426b1 fix: 7638, returnTo accidentally saved into user hash 2019-05-24 11:23:55 -04:00
Barış Soner Uşaklı
157b921e14 fix: #7634, make strip exif configurable 2019-05-23 20:38:49 -04:00
Barış Soner Uşaklı
a8409fbd49 fix: #7636, use reputation threshold for post queue 2019-05-23 20:15:08 -04:00
Baris Usakli
63e5d383d9 fix: #7623, wait for lastonline to update on /users 2019-05-23 12:23:01 -04:00
Julian Lam
80c0d579e3 fix: #7593, unable to set account password if no password set 2019-05-22 13:40:00 -04:00
Barış Soner Uşaklı
a8e6520559 fix: #7620, allow adding new fields into user objects for posts 2019-05-22 11:52:49 -04:00
Barış Soner Uşaklı
7ba4a864fd fix: #7629, new filter hook for room rename 2019-05-22 09:58:29 -04:00
Barış Soner Uşaklı
7a4b68e816 fix: #7628, log email send errors 2019-05-22 09:54:56 -04:00
Barış Soner Uşaklı
f55cc66723 fix: {username} not working in notification.tpl
fix images going out of notification email
2019-05-21 22:48:50 -04:00
Barış Soner Uşaklı
3b0459a0a5 fix: do not prevent nbb from starting
if a plugin returns error for filter:auth.init
2019-05-21 21:34:42 -04:00
Julian Lam
91f0bce628 fix: #7624, default open state on stateless flags 2019-05-21 12:23:19 -04:00
Barış Soner Uşaklı
15391da51e fix: #7431, add /unread link to topic route 2019-05-18 18:14:12 -04:00