Commit Graph

26309 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
d545c1432f chore: up mentions 2023-07-13 11:35:14 -04:00
Barış Soner Uşaklı
22e550fc02 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-07-13 11:32:12 -04:00
Barış Soner Uşaklı
5c2086107e fix: always return empty array if its not set 2023-07-13 11:31:56 -04:00
Misty Release Bot
c1f062ebd9 Latest translations and fallbacks 2023-07-13 09:19:13 +00:00
Barış Soner Uşaklı
b36bec95e4 chore: up themes 2023-07-12 21:24:22 -04:00
Barış Soner Uşaklı
f287e1323d spec 2023-07-12 21:23:17 -04:00
Barış Soner Uşaklı
857fe16878 use same code in load room 2023-07-12 21:20:30 -04:00
Barış Soner Uşaklı
624292524f chore: up themes 2023-07-12 21:15:01 -04:00
Barış Soner Uşaklı
f8e30c6d52 add icon to rooms based on visibility 2023-07-12 21:13:11 -04:00
Barış Soner Uşaklı
2f8c301aba fix groups reference 2023-07-12 20:43:53 -04:00
Barış Soner Uşaklı
43060f3cde perf: faster upgrade script 2023-07-12 19:54:46 -04:00
Barış Soner Uşaklı
4782764aee fix mobile mobile bar
fix user count if user just joined
2023-07-12 19:36:30 -04:00
Barış Soner Uşaklı
9149a9a2cb fix: mobile back button 2023-07-12 17:13:07 -04:00
Barış Soner Uşaklı
954db1ee19 chore: remove log 2023-07-12 17:07:58 -04:00
Barış Soner Uşaklı
e03fdcd6fc fix: clear cache on sort 2023-07-12 16:49:55 -04:00
Barış Soner Uşaklı
547bde8939 cache fixes
on newRoom and deleteRooms clear cache
add some checks for empty groups list
2023-07-12 16:35:46 -04:00
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
Misty Release Bot
91a432ade9 chore: update changelog for v3.2.2 2023-07-12 14:56:08 +00:00
Misty Release Bot
ffeb64fc9e chore: incrementing version number - v3.2.2 v3.2.2 2023-07-12 14:56:08 +00: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