Commit Graph

17146 Commits

Author SHA1 Message Date
Baris Usakli
90f3e1281d up markdown 2018-09-21 12:54:41 -04:00
Barış Soner Uşaklı
59b988a205 change test so it checks url 2018-09-20 22:09:20 -04:00
Barış Soner Uşaklı
71ccd67665 closes #6722
calculate size of base64 image from buffer, still not perfect but better than string.length
2018-09-20 19:47:44 -04:00
Barış Soner Uşaklı
352bea9475 up persona 2018-09-20 17:58:06 -04:00
Barış Soner Uşaklı
b7ead6dc9c Replace jimp with sharp (#6774)
* add probe image size and max image size

* replace jimp and image-probe with sharp

* better name for test

* resize with just path

* resize thumb inplace

* use filename
2018-09-20 17:05:52 -04:00
Barış Soner Uşaklı
69c7260fe9 dont let sending more than max invites via bulk invite 2018-09-20 11:55:53 -04:00
Misty (Bot)
c4b23909df Latest translations and fallbacks 2018-09-20 09:26:39 +00:00
Barış Soner Uşaklı
669a5135e1 closes #6768 2018-09-19 14:38:07 -04:00
Misty (Bot)
27a90b7a78 Latest translations and fallbacks 2018-09-19 09:26:25 +00:00
Barış Soner Uşaklı
d880a7ade0 closes #6771 2018-09-18 18:08:46 -04:00
Barış Soner Uşaklı
dff86b1ac9 closes #6740
* flag notifications will go to the flag details page instead of the post or user that was flag
* if you assign a flag to yourself you won't get a notification about it
@benlubar
2018-09-18 17:28:24 -04:00
Julian Lam
3c89befad2 fallbacks for account/sessions 2018-09-18 13:51:29 -04:00
Julian Lam
ce6f9ec84e pushing translations for blocks user page 2018-09-18 13:51:29 -04:00
Barış Soner Uşaklı
089bf5d8bb closes #6773 2018-09-18 08:58:47 -04:00
Julian Lam
06bd4892ce bump composer-default 2018-09-17 16:23:31 -04:00
André Zanghelini
f3956299eb Add tooltip in taskbar icons (#6693)
* Add tooltip in taskbar icons

* Translate taskbar title when creating taskbar
2018-09-17 16:23:06 -04:00
Julian Lam
382d06bbb0 fixes #6765 -- no need to have gmods and admins access login sessions page 2018-09-17 15:45:46 -04:00
smyther
f120015b54 Fix for user being able to open multiple "delete posts" modals (#6770)
* Implement fix for multiple fork cards showing

* Fix for admin being able to open multiple 'delete posts' modals

* Fix linting issue
2018-09-17 11:07:10 -04:00
Renovate Bot
bfadd3ea58 Update dependency eslint to v5.6.0 2018-09-15 22:24:37 -04:00
Barış Soner Uşaklı
d996ea27be closes #6763 2018-09-15 17:59:57 -04:00
Barış Soner Uşaklı
6a377568d2 closes #6764 fix typo in notif rescind 2018-09-15 17:56:03 -04:00
Julian Lam
7bde09f645 update issue template to show postgres version command 2018-09-15 17:31:48 -04:00
Renovate Bot
c0b96a402e Update dependency jimp to v0.5.0 2018-09-15 17:29:42 -04:00
Misty (Bot)
3a36a2b53b Latest translations and fallbacks 2018-09-15 09:31:17 +00:00
Barış Soner Uşaklı
08dfb3470c fix tests 2018-09-14 18:00:52 -04:00
Barış Soner Uşaklı
b43bfa3d5b closes #6759
-moved user.blocks.filter from unread controller to getUnreadTopics so
topics are filtered at other places this function is called
- when a new post is made do not send it to uids that have blocked the
poster
- update getUnreadTids so it does not return topics that have new posts
from blocked users
- update hasReadTopics so it does not return false data if topic has new
posts from blocked users
2018-09-14 16:23:21 -04:00
smyther
0c9907367a Implement fix for multiple fork cards showing (#6757) 2018-09-14 10:07:01 -04:00
Misty (Bot)
fe118fe1c3 Latest translations and fallbacks 2018-09-13 09:31:43 +00:00
Barış Soner Uşaklı
cfe0e690b5 up themes 2018-09-11 11:14:27 -04:00
Barış Soner Uşaklı
41aae6f418 closes #6749 2018-09-11 11:11:41 -04:00
Barış Soner Uşaklı
ebaea9b6c1 closes #6743 2018-09-08 14:01:15 -04:00
Misty (Bot)
60c54d6cdf Latest translations and fallbacks 2018-09-08 09:31:28 +00:00
Barış Soner Uşaklı
37ca5a1c63 filter falsy teasers 2018-09-06 18:48:46 -04:00
Barış Soner Uşaklı
93d52ef338 default to 'recent' sort 2018-09-06 16:23:40 -04:00
Barış Soner Uşaklı
ea1697d073 remove console.log 2018-09-06 14:41:23 -04:00
Barış Soner Uşaklı
25fed0aa8d change isPasswordCorrect to return false if user does not have password 2018-09-06 14:32:44 -04:00
Barış Soner Uşaklı
84a0a68b2b up vanilla 2018-09-05 17:02:41 -04:00
Barış Soner Uşaklı
6f18cf368b closes #6741 2018-09-05 14:03:04 -04:00
Andrew Rodrigues
bd0983c6a1 add postgres to issue template 2018-09-05 13:13:39 -04:00
Misty (Bot)
59fd27510a Latest translations and fallbacks 2018-09-05 09:32:04 +00:00
Renovate Bot
a3cb7dc68a Update dependency nyc to v13 2018-09-04 15:13:38 -04:00
Renovate Bot
3175d58dc0 Update dependency eslint to v5.5.0 2018-09-04 15:12:51 -04:00
Renovate Bot
65497b18fa Update dependency validator to v10.7.1 2018-09-04 15:12:41 -04:00
Barış Soner Uşaklı
446b125c83 escape post content 2018-09-04 10:59:52 -04:00
LudwikJaniuk
c7f3b76b4e DRY req props that depend on auth (fix #6727) (#6731)
* DRY req props that depend on auth (fix #6727)

authentication leads to req.loggedIn and req.uid being set. However, a
later authentication event might outdate them. Here, I create one
function for setting those properties, and make sure it also is called
on the `action:middleware.authenticate` hook, which would be such an
authentication event. If there are other places, those should be added
as well.

* fix lint errors

* fix lint error

* change exports
2018-09-04 09:43:33 -04:00
Barış Soner Uşaklı
3e1b007f9f escape title in post queue 2018-09-04 09:39:08 -04:00
renovate[bot]
f51b2e07f4 Update dependency jimp to v0.4.0 (#6682) 2018-09-03 15:27:33 -04:00
Misty (Bot)
13044df14e Latest translations and fallbacks 2018-09-03 09:31:54 +00:00
Ben Lubar
97a3079bc0 Optimize PostgreSQL session store.
- Sets session ID to be a constant-sized character field inline in the
  table instead of a variable-length character field compressed outside
  of the row.
- Changes the session data from "json" to "jsonb" which is faster and
  smaller on disk with the drawback of not maintaining key order and
  whitespace (which we don't care about at all)
- Adds a clustered index on the session expiration timestamp, which will
  make periodic session purging much faster.

(For an example, WTDWTF currently has 482355 sessions in the table, and
 because there is no index on the expiration timestamp, PostgreSQL must
 check all the rows in the table every time.)

This upgrade script can run concurrently with a live NodeBB instance,
but any action that touches sessions will wait until the upgrade script
is done.

Does not touch the database if the database driver is not set to
PostgreSQL or if there is a Redis database configured.
2018-09-02 00:32:55 -04:00
Julian Lam
cc532d2c8b bump persona 2018-08-31 16:04:51 -04:00