Commit Graph

10089 Commits

Author SHA1 Message Date
Julian Lam
3871a02ccc fix: resolve CORS error on uploading via URL
On uploading a new profile picture via URL, a CORS error presents
itself during the .toDataUrl() call due to misconfigured CORS
handling in the library. The change here allows cropper.js to
check crossorigin attribute in image and handle appropriately.

Also, the error handling is improved so the error is caught on
Firefox, as it sends a different error message than on Chrome.
2019-04-04 10:20:45 -04:00
Barış Soner Uşaklı
dbc4d8403d fix: #7461 2019-04-03 12:39:44 -04:00
Barış Soner Uşaklı
abe4abb674 feat: add original sessionID to static:user.loggedOut 2019-04-02 16:23:09 -04:00
Barış Soner Uşaklı
8cc1864aa7 fix: #7491 2019-04-02 15:46:47 -04:00
Barış Soner Uşaklı
4db0efe32d fix: #7476 2019-04-02 15:25:40 -04:00
Barış Soner Uşaklı
2ee2cd528f feat: #7501 2019-04-02 11:56:03 -04:00
Barış Soner Uşaklı
b52dba5c92 fix: #7508 2019-04-01 08:27:37 -04:00
Julian Lam
3ec9fc4098 fix: #7490 once again 2019-03-27 23:52:13 -04:00
Barış Soner Uşaklı
3304ffe978 fix: #7502 2019-03-27 18:22:49 -04:00
Julian Lam
6415ba82c4 fix: #7493, adding robots noindex meta tag to compose and reset routes 2019-03-27 17:10:56 -04:00
Julian Lam
86e1cdd541 fix: #7490, handling of image sizes if no size saved in db 2019-03-27 16:44:39 -04:00
Baris Usakli
8f55ab1340 fix: #7494 2019-03-26 12:24:28 -04:00
Julian Lam
63e16ec0a2 fix: #6911, email throttling options set 2019-03-25 15:21:29 -04:00
Julian Lam
33a1bf6cde fix: throttling email output to 2 messages every second, fixes #6911 2019-03-25 15:21:28 -04:00
Julian Lam
8d62ead329 fix: #7469 missing email logos, occasionally 2019-03-25 12:37:53 -04:00
Barış Soner Uşaklı
81306fff3c feat: allow multiple cids for getActiveUsers 2019-03-25 12:06:32 -04:00
Barış Soner Uşaklı
b6440eed7a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-03-25 11:46:35 -04:00
Barış Soner Uşaklı
fddb783ee9 fix: #7487 2019-03-25 11:46:29 -04:00
Baris Usakli
ad2d7a6991 fix: move upload_url to prestart so it is defined in upgrade scripts 2019-03-22 15:15:23 -04:00
Andrew Rodrigues
cead89f0ba fix: #7342 2019-03-22 13:01:16 -04:00
Andrew Rodrigues
6bed51ef1c chore: comment cleanup 2019-03-20 21:12:34 -04:00
Andrew Rodrigues
24dcae2193 feat: manual password expiry. closes #7471 2019-03-20 16:34:22 -04:00
Andrew Rodrigues
240f563ab0 fix: #7477 2019-03-20 16:30:33 -04:00
Julian Lam
c289b904e6 fix: #7473 2019-03-19 15:42:42 -04:00
Andrew Rodrigues
962b7f73d3 fix: #7472 2019-03-19 14:01:31 -04:00
Barış Soner Uşaklı
dd8d4f206a fix: remove async.series, dont crash if postAtIndex is undefined 2019-03-19 11:55:53 -04:00
Barış Soner Uşaklı
b4a9bb10e5 fix: #7468 2019-03-19 11:29:16 -04:00
Julian Lam
697a6597f3 fix: #7444 Re-factor handling of og:image tags (#7463)
* fix: display proper site logo or og-image with sizes in head

* fix: refactor og:image logic, #7444

- Updated logic to set additional og:image tags based on more
  factors
- logo.png fallback

* feat: save image sizes on post upload, re: #7444

* fix: awaiting addTags in topic controller

* fix: pass strings to meta tags object

* fix: sending absolute image url to meta tag

* fix: removed unneeded async and requiring sync db

* feat: upgrade to calculate image sizes for all post uploads tracked

* fix: tests
2019-03-18 12:09:10 -04:00
Julian Lam
745a9589e9 Use topics:read privilege for topic filtering use cases (#7462)
* fix: use topics:read privilege for topic filtering use cases

* fix: tests

* fix: more broken tests
2019-03-16 14:51:46 -04:00
Baris Usakli
45d7e37ae8 fix: tests 2019-03-15 16:21:15 -04:00
Baris Usakli
b48b6d75e5 fix: callbacks 2019-03-15 16:06:38 -04:00
Baris Usakli
f8fa659642 fix don't crash if settings are not passed in 2019-03-15 15:26:41 -04:00
Baris Usakli
7addc5a0e2 fix: return early if keys is empty 2019-03-15 14:16:24 -04:00
Baris Usakli
b3962c1694 fix: return early if keys is empty 2019-03-15 14:16:24 -04:00
Barış Soner Uşaklı
6cd3ac5b9b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-03-13 12:43:53 -04:00
Barış Soner Uşaklı
b71e0eb179 fix: prevent infinite loops if category is already in children 2019-03-13 12:43:47 -04:00
Julian Lam
d2cfe6b946 Moved onSuccessfulLogin call from plugins to core, + auth verification hook (#7416)
* fix: #7412, calling controllers.onSuccessfulLogin in core

* feat: added plugin hook for auth validation
2019-03-13 12:38:30 -04:00
Barış Soner Uşaklı
b2fbeb053a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-03-13 11:35:50 -04:00
Barış Soner Uşaklı
4732bed3db fix: #7448
don't set parent to itself
2019-03-13 11:35:39 -04:00
Baris Usakli
73d14e4516 fix: return early if there are not blocked uids 2019-03-12 14:02:07 -04:00
Baris Usakli
7211dde7b9 feat: #7358 2019-03-09 12:35:36 -05:00
Baris Usakli
756dfd8ae6 fix: #7008 2019-03-09 11:16:36 -05:00
Baris Usakli
cbfbcee50f fix: #7406 2019-03-08 13:59:52 -05:00
Barış Soner Uşaklı
aecdf739fd fix: change user/system cpu usage 2019-03-07 10:52:58 -05:00
Barış Soner Uşaklı
5eaa14e746 fix: strip exif data on image uploads 2019-03-06 16:36:02 -05:00
Barış Soner Uşaklı
2b6f1a05bf feat: admin/groups style change 2019-03-03 11:34:44 -05:00
Barış Soner Uşaklı
db47753877 feat: add process cpu usage to admin 2019-02-28 14:50:31 -05:00
Barış Soner Uşaklı
684175f7d7 fix: #7413 2019-02-28 12:17:17 -05: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