Commit Graph

1216 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
ba6d3fd372 fix: only trigger infinitescroll on scroll end 2020-04-16 12:21:40 -04:00
Julian Lam
bcbf98aa4c fix: accidental fp precision on flag and acp dash graphs 2020-04-14 10:16:02 -04:00
Julian Lam
5aa76cdf2f feat: pass in target element in action:topic.tools.load 2020-03-13 10:30:48 -04:00
Barış Soner Uşaklı
6e5de39ba0 fix: also fix updating bookmark if sorting is newest_to_oldest 2020-02-27 18:56:22 -05:00
Barış Soner Uşaklı
32ada7c4e7 fix: #8188, fix bookmark if sorting is newest_to_oldest 2020-02-27 17:21:36 -05:00
Barış Soner Uşaklı
067034082f fix: #6422, update deleted/restored messages 2020-02-14 23:26:54 -05:00
Julian Lam
d6e3f3f058 fix: #8142, broken site if no server-side session (#8148)
* fix: #8142, broken site if no server-side session

During the `addHeader` middleware, a check is now done to see if
`req.session.meta` is present. This value is only present if the user
has a valid server-side session.  If it is missing, then it is probably
safe to assume that the server-side session was deleted (either
intentionally or accidentally). In that scenario, the client-side cookie
should be cleared.

Also, there was an issue where the sessionRefresh flag was never cleared
after a successful login, so that was fixed too.

* feat: exported method to get cookie config

* fix: don't clear cookie if cookie is being set

* fix: socket.io tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2020-02-06 15:52:37 -05:00
Baris Usakli
4d66978338 fix: #8073, configurable necroThreshold 2019-12-03 12:11:39 -05:00
Barış Soner Uşaklı
3811e0a3df fix: #8042, dont show errors after clearing form 2019-11-22 20:12:03 -05:00
Barış Soner Uşaklı
95a372df85 fix: #7977, fix undefined url (#7978) 2019-10-16 17:42:02 -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
Barış Soner Uşaklı
f402d7271a fix: move post and change owner 2019-10-07 16:51:36 -04:00
Barış Soner Uşaklı
9a7560049a feat: bypass cropper for gifs 2019-09-29 21:03:37 -04:00
Barış Soner Uşaklı
781b3f1a9a fix: #7800, dont crash on resize 2019-09-17 14:00:36 -04:00
Barış Soner Uşaklı
1789ecb45c feat: increase search timeouts 2019-09-13 21:24:43 -04:00
Barış Soner Uşaklı
ebe5ed22bb feat: make handleSearch public 2019-09-12 18:52:03 -04:00
Barış Soner Uşaklı
2a5fe2b8f4 fix: #7894, translate log in to view 2019-09-12 14:47:36 -04:00
Barış Soner Uşaklı
0843497dd4 fix: #7893, check private upload setting 2019-09-10 18:01:37 -04:00
Barış Soner Uşaklı
3887fc678b fix: #7824, update timeago settings on userlanguage change 2019-09-08 21:44:22 -04:00
Barış Soner Uşaklı
21e81f961c fix: #7780 2019-08-27 10:00:13 -04:00
Barış Soner Uşaklı
7162051905 fix: #7791 2019-08-13 16:13:39 -04:00
Julian Lam
af968c6ae5 feat: fire updateRemainingLength hook for chats 2019-08-01 12:13:26 -04:00
Julian Lam
4fb271c684 System chat messages (#7771)
* fix: removed duplicate checkContent call in addMessage

addMessage is called in one place (sendMessage), and the checks
are already contained there. addMessage is the lower level call
and so should be called only from within core itself.

* feat: #7330 chat system messages for join, leave, rename

* fix: add back content checking in .addMessage();

* fix: tests, and added .addSystemMessage() method

Tests were relying on message indices that changed due to the
new system messages.

* feat: add tests for system chat messages

* refactor: rewrite half of src/messaging/rooms.js, fix tests

* feat: #7743 messaging/room.js

* fix: tests for messaging/room.js, #7743

* fix: trying to fix tests

* fix: omg :rage2:
2019-07-19 12:20:11 -04:00
Barış Soner Uşaklı
53e1b349ae Change post owner (#7752)
* feat: #7749, allow array of keys for setObject

* feat: sortedSetRemoveBulk

* feat: test for bulk remove

* feat: #7083, ability to change post ownership

* feat: #7083, fix tid:<tid>:posters

* feat: #7083, front end

* fix: #7752, psql methods

* fix: add missing await

* fix: maybe psql
2019-07-12 14:06:09 -04:00
Barış Soner Uşaklı
2b70e86f21 fix: #7751, make necro separator a partial 2019-07-11 22:42:04 -04:00
Julian Lam
16aae51726 fix: private upload img replacement should happen before img wrapping 2019-07-05 15:02:48 -04:00
Julian Lam
49e3a368f8 fix: #7423 private uploads are linked to login page, for guests 2019-07-05 14:58:54 -04:00
Barış Soner Uşaklı
bd640a1107 Topic await errors (#7727)
* feat: derp await

* feat: restore user.getSettings

* feat: cleanup

* feat: make tid const

* feat: cleanup

* fix: tests

* feat: deprecate filter:controllers.topic.get

* feat: rewrite post-index logic

* feat: change calculation to match others

* fix: use .async

* feat: remove try/catch wrapper
2019-07-03 12:48:26 -04:00
Baris Usakli
ee4d78cae3 feat: closes #7718 2019-06-27 12:05:31 -04:00
Julian Lam
af17c6e31c fix: remove debug code that should not have made it in 2019-06-26 14:32:03 -04:00
Barış Soner Uşaklı
a39f0ef592 fix: #5570, create per category user post zsets 2019-06-24 15:21:43 -04:00
Aziz Khoury
13efbc9967 feat: change widget-* to data-widget-* (#7703)
* change widget-* to data-widget-*, original pr#5444 but backward compatible

* lint
2019-06-24 13:45:37 -04:00
Barış Soner Uşaklı
e1c05e59c9 fix: restrict drag drop to pin icon, closes #7702
https://github.com/NodeBB/NodeBB/issues/6081
2019-06-24 09:59:31 -04:00
Barış Soner Uşaklı
b53a60c278 feat: show best & latest posts on profile 2019-06-22 22:52:10 -04:00
Julian Lam
289dada5f7 fix(deps): update to eslint@6 2019-06-22 21:23:32 -04:00
Julian Lam
2523889990 refactor: replace avatar conditional code with buildAvatar helper (#7681)
* feat: helper for building avatars

* feat: benchpress truefalse globals, componentPrefix in buildAvatar

* refactor: remove componentPrefix

* feat: changes to buildAvatar helper

- removed extra .avatar-xl class in generics.less
- added support for component override
- "size" can be a number now

* fix: prevent overflow of alt text in avatars

* fix: update doc on buildAvatar helper
2019-06-13 09:54:18 -04:00
Barış Soner Uşaklı
106d52a47f fix: #7598, use notice element instead of alert 2019-05-22 12:35:56 -04:00
Barış Soner Uşaklı
9385c8e3ee feat: #7319 2019-04-29 09:52:30 -04:00
Baris Usakli
7211dde7b9 feat: #7358 2019-03-09 12:35:36 -05:00
Baris Usakli
777ca03264 fix: #7432 2019-03-08 13:23:00 -05:00
Julian Lam
ab0e547d23 fix: autocomplete not triggered if chat switched 2019-02-13 11:02:57 -05:00
Julian Lam
6c2f48f189 fix: #7366 2019-02-13 10:54:21 -05:00
Barış Soner Uşaklı
45c322aeb0 fix: #7357 2019-02-12 09:46:25 -05:00
Barış Soner Uşaklı
fc6767e140 fix: #7098 2019-02-06 18:36:58 -05:00
Barış Soner Uşaklı
8e3bf58106 fix: #7338 2019-02-06 11:29:18 -05:00
Barış Soner Uşaklı
c7abf07a3d fix: #7324
added disableToType option
2019-01-30 10:33:15 -05:00
Julian Lam
02a8ed9b11 feat: textcomplete over jquery-textcomplete, closes #7309 2019-01-28 13:05:46 -05:00
Barış Soner Uşaklı
d03220cdaf fix: #7094 2019-01-25 11:08:51 -05:00
Julian Lam
51b5fb9826 fix: added missing translation and error state for password change 2019-01-13 14:49:37 -05:00
Barış Soner Uşaklı
428f587cbe fix: #7208 2019-01-09 11:59:20 -05:00