25727 Commits (9b901783fac72aba36fed097ee408e3a32f53313)
 

Author SHA1 Message Date
Barış Soner Uşaklı 9b901783fa
Chat refactor (#11779)
* first part of chat refactor

remove per user chat zsets & store all mids in chat:room:<roomId>:mids
reverse uids in getUidsInRoom

* feat: create room button

public groups wip

* feat: public rooms

create chats:room zset
chat room deletion

* join socket.io room

* get rid of some calls that load all users in room

* dont load all users when loadRoom is called

* mange room users infinitescroll

dont load all members in api call

* IS for user list

ability to change groups field for public rooms
update groups field if group is renamed

* test: test fixes

* wip

* keep 150 messages

* fix extra awaits

fix dupe code in chat toggleReadState

* unread state for public rooms

* feat: faster push unread

* test: spec

* change base to harmony

* test: lint fixes

* fix language of chat with message

* add 2 methods for perf

messaging.getTeasers and getUsers(roomIds)
instead of loading one by one

* refactor: cleaner conditional

* test fix upgrade script fix

save timestamp of room creation in room object

* set progress.total

* don't check for guests/spiders

* public room unread fix

* add public unread counts

* mark read on send

* ignore instead of throwing

* doggy.gif

* fix: restore delete

* prevent entering chat rooms with

meta.enter

* fix self message causing mark unread

* ability to sort public rooms

* dont init sortable on mobile

* move chat-loaded class to core

* test: fix spec

* add missing keys

* use ajaxify

* refactor: store some refs

* fix: when user is deleted remove from public rooms as well

* feat: change how unread count is calculated

* get rid of cleaned content

get rid of mid

* add help text

* test: fix tests, add back mid

to prevent breaking change

* ability to search members of chat rooms

* remove

* derp

* perf: switch with  partial data

fix tests

* more fixes

if user leaves a group leave public rooms is he is no longer part of any of the groups that have access

fix the cache key used to get all public room ids

dont allow joining chat socket.io room if user is no longer part of group

* fix: lint

* fix: js error when trying to delete room after switching

* add isRoomPublic
2 years ago
Barış Soner Uşaklı edd8ca997f Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı f2152953cd add displayname to parent posts 2 years ago
Barış Soner Uşaklı e8b40b5884 fix persona defaults
fix missing theme:id
2 years ago
Barış Soner Uşaklı f1170b1896 chore: up themes 2 years ago
Barış Soner Uşaklı 507f9e5629 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı eed34d04f9 chore: up spam-be-gone 2 years ago
Barış Soner Uşaklı 0a0de353f1 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 509faa5ecc chore: remove log 2 years ago
Julian Lam 2d016af82f feat: simplified api module handler logic, content-type detection/parsing 2 years ago
Misty Release Bot e72fab5417 Latest translations and fallbacks 2 years ago
Barış Soner Uşaklı 6ae0df4f46 fix: #11787 2 years ago
Barış Soner Uşaklı bf2c429a18 fix: #11787 2 years ago
Julian Lam 7415b16d2a refactor: use fetch() throughout, instead of jQuery .ajax() 2 years ago
Julian Lam 8a53182657 fix: fetch handler not passing back errors or success payloads 2 years ago
Julian Lam ed99ea20cb feat: allow FormData object to be passed in to the API module
Currently, only objects can be passed in, and it is automatically serialized into json and sent via jQuery .ajax().

This PR extends the module so a FormData object can be passed in, and updates the module so it uses Fetch API instead of jQuery.

At this time regular requests continue to use jQuery for backwards compatibility.

Use case: file uploads via API.
2 years ago
Barış Soner Uşaklı a12a9bab7a Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 21b510bf24 spec 2 years ago
Barış Soner Uşaklı 796730dc54 test no escape on canonical 2 years ago
Barış Soner Uşaklı 7c588fe9a3 test no escape on canonical 2 years ago
Barış Soner Uşaklı bf114c1106 fix: #11786 fix selector for upgradable plugins 2 years ago
Misty Release Bot 60fea51b36 Latest translations and fallbacks 2 years ago
Barış Soner Uşaklı 0fe7e831f4 dont show pid 2 years ago
Barış Soner Uşaklı 0ff1f82b5c make meta desc 160 chars 2 years ago
Barış Soner Uşaklı 0a7f52475e fix member IS 2 years ago
Barış Soner Uşaklı e31f5c42ee test: fix 2 years ago
Barış Soner Uşaklı 5a42d37e0f fix reconnect logic 2 years ago
Barış Soner Uşaklı 9044e10e64 change description length to 160 2 years ago
Barış Soner Uşaklı 1b2f8561e0 Merge branch 'master' into develop 2 years ago
Misty Release Bot c7f8cee9f7 chore: update changelog for v3.2.1 2 years ago
Misty Release Bot 024a546780 chore: incrementing version number - v3.2.1 2 years ago
Barış Soner Uşaklı f938a2d940 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 1bda90731a fix: #11766, allow privileged users to vote and chat
even if they don't have enough reputation
2 years ago
Barış Soner Uşaklı ee9962e4db Merge branch 'master' into develop 2 years ago
renovate[bot] a1110f10bd fix(deps): update dependency nodebb-plugin-emoji to v5.1.3 (#11777)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
renovate[bot] 5eedd8eba2
fix(deps): update fontsource monorepo to v5.0.4 (#11776)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
renovate[bot] 1932a31df5
fix(deps): update dependency nodebb-plugin-emoji to v5.1.3 (#11777)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Misty Release Bot 8fc1744232 Latest translations and fallbacks 2 years ago
Misty Release Bot 6fd444eefd Latest translations and fallbacks 2 years ago
Barış Soner Uşaklı 0183e5f8d2 fix: #11775, trim -rtl from targetSkin 2 years ago
Misty Release Bot 6e745b882a Latest translations and fallbacks 2 years ago
Barış Soner Uşaklı f367d65a03 remove timeagoCutoff=1 2 years ago
renovate[bot] d2e6062b7a
fix(deps): update dependency nodebb-theme-persona to v13.1.7 (#11769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
renovate[bot] 0bad85785c
chore(deps): update dependency eslint to v8.44.0 (#11771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
renovate[bot] 63bbb366d7
fix(deps): update dependency @isaacs/ttlcache to v1.4.1 (#11774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
renovate[bot] 335a361920
fix(deps): update dependency esbuild to v0.18.11 (#11772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Misty Release Bot 7370d986a4 Latest translations and fallbacks 2 years ago
Barış Soner Uşaklı cf3ca1ae30 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 64d3018286 fix: #11773, fix create token button 2 years ago
Misty Release Bot 9df3ccaaa6 Latest translations and fallbacks 2 years ago