Commit Graph

25741 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
18a1663b5e Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-07-12 15:35:41 -04:00
Barış Soner Uşaklı
9fda8dcec4 chore: up themes 2023-07-12 15:35:40 -04:00
renovate[bot]
786fff6f5c fix(deps): update dependency winston to v3.10.0 (#11792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 15:12:41 -04:00
renovate[bot]
d156e67e9a fix(deps): update dependency sharp to v0.32.2 (#11791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 14:21:06 -04:00
renovate[bot]
3c5e5d3ed7 fix(deps): update dependency nodebb-plugin-ntfy to v1.0.16 (#11790)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:19:37 -04:00
renovate[bot]
40477c85d5 chore(deps): update redis docker tag to v7.0.12 (#11789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:19:19 -04:00
renovate[bot]
efd784fa5f fix(deps): update fontsource monorepo to v5.0.5 (#11785)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:09:46 -04:00
renovate[bot]
50fd242b69 fix(deps): update dependency compare-versions to v6 (#11784)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:09:30 -04:00
renovate[bot]
3bf10941c1 fix(deps): update dependency semver to v7.5.4 (#11783)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:09:05 -04:00
renovate[bot]
833a1ba7d6 fix(deps): update dependency mongodb to v5.7.0 (#11781)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:08:54 -04:00
renovate[bot]
7fb8e41405 fix(deps): update dependency postcss to v8.4.25 (#11780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:08:39 -04:00
renovate[bot]
bb89a12a5e fix(deps): update dependency jsonwebtoken to v9.0.1 (#11778)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:08:29 -04:00
renovate[bot]
b2cabd431e fix(deps): update dependency ace-builds to v1.23.4 (#11782)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:08:17 -04:00
Misty Release Bot
2710037cb1 chore(i18n): fallback strings for new resources: nodebb.error, nodebb.modules 2023-07-12 17:04:32 +00:00
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
2023-07-12 13:03:54 -04:00
Barış Soner Uşaklı
edd8ca997f Merge branch 'master' into develop 2023-07-12 10:59:39 -04:00
Barış Soner Uşaklı
f2152953cd add displayname to parent posts 2023-07-12 10:40:25 -04:00
Barış Soner Uşaklı
e8b40b5884 fix persona defaults
fix missing theme:id
2023-07-12 10:20:20 -04:00
Barış Soner Uşaklı
f1170b1896 chore: up themes 2023-07-11 19:51:47 -04:00
Barış Soner Uşaklı
507f9e5629 Merge branch 'master' into develop 2023-07-11 12:33:12 -04:00
Barış Soner Uşaklı
eed34d04f9 chore: up spam-be-gone 2023-07-11 12:33:02 -04:00
Barış Soner Uşaklı
0a0de353f1 Merge branch 'master' into develop 2023-07-11 11:27:10 -04:00
Barış Soner Uşaklı
509faa5ecc chore: remove log 2023-07-11 11:04:51 -04:00
Julian Lam
2d016af82f feat: simplified api module handler logic, content-type detection/parsing 2023-07-11 11:03:00 -04:00
Misty Release Bot
e72fab5417 Latest translations and fallbacks 2023-07-11 09:18:33 +00:00
Barış Soner Uşaklı
6ae0df4f46 fix: #11787 2023-07-10 18:07:13 -04:00
Barış Soner Uşaklı
bf2c429a18 fix: #11787 2023-07-10 18:07:04 -04:00
Julian Lam
7415b16d2a refactor: use fetch() throughout, instead of jQuery .ajax() 2023-07-10 16:45:05 -04:00
Julian Lam
8a53182657 fix: fetch handler not passing back errors or success payloads 2023-07-10 16:45:05 -04:00
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.
2023-07-10 16:45:05 -04:00
Barış Soner Uşaklı
a12a9bab7a Merge branch 'master' into develop 2023-07-10 16:23:35 -04:00
Barış Soner Uşaklı
21b510bf24 spec 2023-07-10 16:23:22 -04:00
Barış Soner Uşaklı
796730dc54 test no escape on canonical 2023-07-10 16:20:06 -04:00
Barış Soner Uşaklı
7c588fe9a3 test no escape on canonical 2023-07-10 16:13:26 -04:00
Barış Soner Uşaklı
bf114c1106 fix: #11786 fix selector for upgradable plugins 2023-07-10 09:05:37 -04:00
Misty Release Bot
60fea51b36 Latest translations and fallbacks 2023-07-10 09:18:31 +00:00
Barış Soner Uşaklı
0fe7e831f4 dont show pid 2023-07-08 20:24:05 -04:00
Barış Soner Uşaklı
0ff1f82b5c make meta desc 160 chars 2023-07-08 14:55:29 -04:00
Barış Soner Uşaklı
0a7f52475e fix member IS 2023-07-08 03:02:51 -04:00
Barış Soner Uşaklı
e31f5c42ee test: fix 2023-07-08 00:37:04 -04:00
Barış Soner Uşaklı
5a42d37e0f fix reconnect logic 2023-07-07 23:58:12 -04:00
Barış Soner Uşaklı
9044e10e64 change description length to 160 2023-07-07 00:38:30 -04:00
Barış Soner Uşaklı
1b2f8561e0 Merge branch 'master' into develop 2023-07-06 12:19:56 -04:00
Misty Release Bot
c7f8cee9f7 chore: update changelog for v3.2.1 2023-07-05 19:36:29 +00:00
Misty Release Bot
024a546780 chore: incrementing version number - v3.2.1 v3.2.1 2023-07-05 19:36:29 +00:00
Barış Soner Uşaklı
f938a2d940 Merge branch 'master' into develop 2023-07-05 15:25:23 -04:00
Barış Soner Uşaklı
1bda90731a fix: #11766, allow privileged users to vote and chat
even if they don't have enough reputation
2023-07-05 15:24:34 -04:00
Barış Soner Uşaklı
ee9962e4db Merge branch 'master' into develop 2023-07-05 09:18:32 -04:00
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>
2023-07-05 09:18:22 -04:00
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>
2023-07-05 09:08:58 -04:00