Commit Graph

3054 Commits

Author SHA1 Message Date
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
Misty Release Bot
e72fab5417 Latest translations and fallbacks 2023-07-11 09:18:33 +00:00
Misty Release Bot
60fea51b36 Latest translations and fallbacks 2023-07-10 09:18:31 +00:00
Misty Release Bot
8fc1744232 Latest translations and fallbacks 2023-07-05 09:19:03 +00:00
Misty Release Bot
6fd444eefd Latest translations and fallbacks 2023-07-04 09:18:57 +00:00
Misty Release Bot
6e745b882a Latest translations and fallbacks 2023-07-03 09:19:07 +00:00
Misty Release Bot
7370d986a4 Latest translations and fallbacks 2023-07-02 09:18:33 +00:00
Misty Release Bot
9df3ccaaa6 Latest translations and fallbacks 2023-07-01 09:18:34 +00:00
Misty Release Bot
48a006533e Latest translations and fallbacks 2023-06-30 09:18:51 +00:00
Misty Release Bot
58bdedaf8b chore(i18n): fallback strings for new resources: nodebb.admin-admin 2023-06-29 15:07:18 +00:00
Barış Soner Uşaklı
311b8b2494 add new string 2023-06-29 11:06:54 -04:00
Misty Release Bot
32dd6c4983 Latest translations and fallbacks 2023-06-29 09:19:12 +00:00
Misty Release Bot
354c2aebc5 Latest translations and fallbacks 2023-06-27 09:19:38 +00:00
Misty Release Bot
097bbc926f Latest translations and fallbacks 2023-06-26 09:19:09 +00:00
Misty Release Bot
bc7e878ae2 Latest translations and fallbacks 2023-06-24 09:18:32 +00:00
Misty Release Bot
aff40b2fda Latest translations and fallbacks 2023-06-20 09:19:13 +00:00
Misty Release Bot
118a66f050 Latest translations and fallbacks 2023-06-19 09:18:50 +00:00
Misty Release Bot
0dde5d5fc7 Latest translations and fallbacks 2023-06-17 09:18:34 +00:00
Misty Release Bot
7ca85c6065 chore(i18n): fallback strings for new resources: nodebb.admin-appearance-skins 2023-06-16 22:04:48 +00:00
Barış Soner Uşaklı
556fd65d51 feat: custom skins panel in acp 2023-06-16 18:04:22 -04:00
Misty Release Bot
45df009c07 Latest translations and fallbacks 2023-06-16 09:19:35 +00:00
Barış Soner Uşaklı
3080eb7e01 feat: #11714, add registrationQueue flag 2023-06-15 09:13:04 -04:00
Misty Release Bot
c246df4e3f Latest translations and fallbacks 2023-06-14 09:19:18 +00:00
Misty Release Bot
f2c0c18879 Latest translations and fallbacks 2023-06-13 09:19:14 +00:00
Misty Release Bot
fa8e656d1c chore(i18n): fallback strings for new resources: nodebb.admin-advanced-cache, nodebb.admin-advanced-errors, nodebb.admin-development-logger 2023-06-13 00:43:48 +00:00
Barış Soner Uşaklı
cf13dd8fbb some more acp pages 2023-06-12 20:42:49 -04:00
Misty Release Bot
09562e7966 Latest translations and fallbacks 2023-06-12 09:19:24 +00:00
Misty Release Bot
0863afd0e0 chore(i18n): fallback strings for new resources: nodebb.admin-appearance-customise 2023-06-10 23:27:40 +00:00
Barış Soner Uşaklı
de68f7493d feat: add new tab to define bs variables
to override bootstrap vars.
dont crash if scss fails to compile, just use empty css and log the error, this allows accessing the acp if client scss has errors
2023-06-10 19:27:15 -04:00
Misty Release Bot
195b09d5c2 chore(i18n): fallback strings for new resources: nodebb.user 2023-06-10 15:56:28 +00:00
Barış Soner Uşaklı
2edfe0ef3e feat: bring back noskin option
if forum sets a default skin there was no way for the user to go back to the no skin version
2023-06-10 11:55:59 -04:00
Misty Release Bot
e6f2dece3d Latest translations and fallbacks 2023-06-10 09:18:36 +00:00
Misty Release Bot
f468711080 Latest translations and fallbacks 2023-06-09 09:19:04 +00:00
Misty Release Bot
b47799260d Latest translations and fallbacks 2023-06-07 09:18:52 +00:00
Misty Release Bot
934b67926c chore(i18n): fallback strings for new resources: nodebb.admin-manage-users 2023-06-07 00:56:17 +00:00
Barış Soner Uşaklı
5fae09f3aa feat: add not validated/expired 2023-06-06 20:55:52 -04:00
Misty Release Bot
f5d89d14a1 Latest translations and fallbacks 2023-06-06 09:19:14 +00:00
Misty Release Bot
619c4ff7ea chore(i18n): fallback strings for new resources: nodebb.themes-harmony 2023-06-06 00:40:34 +00:00
Barış Soner Uşaklı
f5b7ab304c add lang string 2023-06-05 20:40:09 -04:00
Barış Soner Uşaklı
04998908ba Fixes for "validate email" & "send validation email" in ACP (#11677)
* confirmObj changes

dont expire confirm:<code>, add a expires field instead
dont expire confirm:byUid:<uid>

on admin manage users display the users email status
	1. verified
	2. verify email sent (pending)
	3. verify email sent (expired)
	4. no email entered

fix validate email in acp to use
	email in user:<uid> if they have one
	if not check if its in confirm:<code>
	if its not in above cant validate throw error

fix send validate email to use
	email in user:<uid> if they have one
	if not check if its in confirm:<code>
	if its not in above too cant validate throw error

* add back socket.io tests

* test: fix confirm tests

no longer using pexpire
return correct time left on token

* chore: update openapi

* fix: delete call

* test: mget test fixes

* test: fix tests
2023-06-05 12:12:48 -04:00
Misty Release Bot
1e137b0705 Latest translations and fallbacks 2023-06-05 09:18:55 +00:00
Misty Release Bot
639eeb4492 chore(i18n): fallback strings for new resources: nodebb.topic 2023-06-04 19:50:42 +00:00
Barış Soner Uşaklı
1cc079f35d chore: update lang key
for https://github.com/NodeBB/NodeBB/issues/11675
2023-06-04 15:50:11 -04:00
Misty Release Bot
c139940ea1 Latest translations and fallbacks 2023-06-03 09:18:36 +00:00
Misty Release Bot
49211815f5 Latest translations and fallbacks 2023-06-02 09:18:54 +00:00
Misty Release Bot
d4afd1edfe Latest translations and fallbacks 2023-06-01 09:20:29 +00:00
Misty Release Bot
d508772cda chore(i18n): fallback strings for new resources: nodebb.admin-appearance-customise, nodebb.admin-appearance-skins, nodebb.admin-appearance-themes, nodebb.admin-settings-api 2023-06-01 01:16:42 +00:00
Barış Soner Uşaklı
7e05905372 some mobile fixes for tables and headers 2023-05-31 21:15:33 -04:00
Misty Release Bot
e53929fcac chore(i18n): fallback strings for new resources: nodebb.admin-manage-groups 2023-05-31 17:35:58 +00:00