Commit Graph

27005 Commits

Author SHA1 Message Date
Julian Lam
62b7dfd400 refactor(socket.io): deprecate SocketModules.sortPublicRooms in favour of api.chats.sortPublicRooms 2023-11-20 13:06:26 -05:00
Julian Lam
2de534fad8 chore: update note at top of file 2023-11-20 13:06:26 -05:00
Julian Lam
5eaffb422c refactor(socket.io): deprecate SocketModules.chat.getUnreadCount in favour of api.chats.getUnread 2023-11-20 13:06:26 -05:00
Julian Lam
214989a8c1 refactor(socket.io): deprecate SocketModules.chats.getIP in favour of api.chats.getIpAddress 2023-11-20 13:06:26 -05:00
Julian Lam
0d3c94e6bb refactor(socket.io): deprecate SocketModules.chats.hasPrivateChat in favour of api.users.getPrivateRoomId 2023-11-20 13:06:26 -05:00
Julian Lam
a4133500fe refactor(socket.io): deprecate SocketModules.chats.canMessage and .markAllRead with no alternative. deprecate .getRecentChats in favour of api.chats.list 2023-11-20 13:06:26 -05:00
Julian Lam
eebea4df2e refactor(socket.io): deprecate SocketModules.chats.isDnD in favour of api.users.getStatus 2023-11-20 13:06:26 -05:00
Julian Lam
c4b4e79b28 refactor(socket.io): deprecate SocketModules.chats.getRaw in favour of api.chats.getRawMessage 2023-11-20 13:06:26 -05:00
Barış Soner Uşaklı
22181f161b Merge branch 'master' into develop 2023-11-19 19:51:27 -05:00
Barış Soner Uşaklı
a9ef58a5e8 fix: thumb width 2023-11-19 19:51:18 -05:00
Misty Release Bot
548b334295 Latest translations and fallbacks 2023-11-19 09:18:21 +00:00
Barış Soner Uşaklı
4649f96e76 Merge branch 'master' into develop 2023-11-18 19:42:16 -05:00
Barış Soner Uşaklı
49013f813f chore: up composer 2023-11-18 19:41:47 -05:00
renovate[bot]
b627545359 chore(deps): update dependency eslint to v8.54.0 (#12172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-18 14:20:43 -05:00
renovate[bot]
d6a92d4c2d chore(deps): update commitlint monorepo to v18.4.2 (#12169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-18 14:20:31 -05:00
renovate[bot]
b4a41af91b fix(deps): update dependency ace-builds to v1.31.2 (#12168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-18 13:24:15 -05:00
renovate[bot]
85936a597c fix(deps): update dependency mongodb to v6.3.0 (#12170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-18 13:24:05 -05:00
Misty Release Bot
64fe1278cf chore(i18n): fallback strings for new resources: nodebb.post-queue 2023-11-18 18:22:22 +00:00
Barış Soner Uşaklı
496f882d1e Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-11-18 13:21:55 -05:00
Barış Soner Uşaklı
b69816935d chore: up dbsearch 2023-11-18 13:21:50 -05:00
Misty Release Bot
3d971294c4 Latest translations and fallbacks 2023-11-18 09:18:23 +00:00
Julian Lam
89a1134cae fix: #12171, bump harmony 2023-11-17 11:48:45 -05:00
Julian Lam
41bdc9e8fd fix: update design of post-queue 2023-11-17 11:46:45 -05:00
Julian Lam
63ba498647 fix: update post-queue template for #12171 2023-11-17 11:45:09 -05:00
Misty Release Bot
f98205c1fd chore(i18n): fallback strings for new resources: nodebb.post-queue 2023-11-17 16:38:42 +00:00
Julian Lam
5d03321e92 feat: new language strings for post-queue page 2023-11-17 11:38:17 -05:00
Misty Release Bot
30b3e14381 Latest translations and fallbacks 2023-11-17 09:19:27 +00:00
Misty Release Bot
081352b6b2 chore(i18n): fallback strings for new resources: nodebb.social 2023-11-15 21:50:11 +00:00
Barış Soner Uşaklı
b4aefcca80 add linkedin 2023-11-15 16:49:47 -05:00
Barış Soner Uşaklı
9a1f8e9b21 chore: up themes 2023-11-15 11:02:59 -05:00
Barış Soner Uşaklı
ace171a6bf feat: add some new social share buttons 2023-11-15 11:01:30 -05:00
Barış Soner Uşaklı
fe5f3fbbee Merge branch 'master' into develop 2023-11-15 09:25:01 -05:00
Misty Release Bot
48f7ae9999 chore: update changelog for v3.5.1 2023-11-14 14:20:03 +00:00
Misty Release Bot
94dfb3adcc chore: incrementing version number - v3.5.1 v3.5.1 2023-11-14 14:20:02 +00:00
renovate[bot]
616ff5733a chore(deps): update postgres docker tag to v16.1 (#12167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 07:50:59 -05:00
Misty Release Bot
d98d8ff7b3 Latest translations and fallbacks 2023-11-14 09:18:36 +00:00
Julian Lam
dcb0c4dbb0 fix: update ajaxifyTimer logic to only drop the request if the URL is the same as the one it's already processing
re: #12133
2023-11-13 17:23:34 -05:00
Barış Soner Uşaklı
84693fce18 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-11-12 13:52:56 -05:00
renovate[bot]
5f8a4f3a4e chore(deps): update mongo docker tag to v7 (#12166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 13:52:41 -05:00
renovate[bot]
c41f9a7534 chore(deps): update redis docker tag to v7.2.3 (#12165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 13:52:22 -05:00
Barış Soner Uşaklı
35ad73585f Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-11-12 13:51:58 -05:00
Barış Soner Uşaklı
4c7c46f32c fix: language key 2023-11-12 13:51:54 -05:00
Opliko
7f3a9968ef feat: docker improvements (#12031)
* use yarn and debian slim build

* feat: update Dockerfile to use multistage builds

* Create main.yml

* remove some useless things from docker context and assume yarn by default

* remove all dotfiles in docker context

* no need for extra build tools, complain to the module author if there is no alpine build

(cherry picked from commit 90516a3c8399e74c38be7115edb39411ba0d86b9)

* specify the config file location instead of creating it

(cherry picked from commit 38e4295d70682f1049fe671ade96eeccd669d908)

* set explicit config path

(cherry picked from commit 8dcc6f249d099cb8939a95511ec13702491958bc)

* fix docker-compose example to use the exposed volumes

* dockerfile: upgrade alpine to 3.16

* dockerignore: add more ignorable entries

* docker-compose: change the way the docker startup process works

* install: pass config path to child process as well

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* setup: move config file resolution up before setup

This fixes issue with different config file location, which will otherwise default on 'config.json', which means the config save won't save to the file we specified

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-entrypoint: don't fix CONFIG_DIR location but fix default location

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-entrypoint: handle missing config file logic

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* README: add simple notice on how to use it

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* add missing semicolons

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-compose: remove multi override, use one big profile instead

However, Docker Compose doesn't support profile-based dependency and this would probably means we have less guarantee about the liveness of the database. But since this is just a sample configuration it should be fine

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* workflows: remove main.yml, add platforms to buildx matrix in docker.yml

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* workflows: set docker buildx to build for amd64 and arm64 only

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-entrypoint: don't force build everytime before start

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-entrypoint: implement init verb

This would allow you to change between "setup" (automated setup using environmental variables which is the current preferred way to run containerized NodeBB) or "install" (web install that guides user to fill in connection information, which is similar to WordPress)

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* README: mention caveat with MongoDB

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* README: add Docker section placeholder for doc migration

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-entrypoint: add SETUP variable support

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-compose: add force flag to ln on setup

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* docker-compose: fix permission issue; docker-compose: fast exit if still no permission on config dir

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>

* fix: remove redundant FROM

* docs: remove docker stuff (in favour of docs entry, nodebb/docs#78) but add link to cloud install docs

* fix: correctly check if directory is writable

* fix: ignore .docker directory

* fix: multi-arch docker builds and chown performance

* chore: bump database image versions

* fix: move from alpine to slim image

* fix: use omit=dev instead of only=prod

* feat: move entrypoint to install directory

* feat: initialize mongodb user

* feat: use separate rebuild stage

* fix: disable eslint for mongodb script

* fix: remove node_modules bind mount

bind mounts don't save data from container, resulting in a LOONG startup

* feat: prepopulate database defaults for installation

* feat: enable persistence in redis container

* docs: add some comments to the compose file

---------

Signed-off-by: steve <29133953+stevefan1999-personal@users.noreply.github.com>
Co-authored-by: Steve Fan <29133953+stevefan1999-personal@users.noreply.github.com>
Co-authored-by: Steve Fan <19037626d@connect.polyu.hk>
Co-authored-by: Julian Lam <julian@nodebb.org>
2023-11-12 13:38:00 -05:00
Barış Soner Uşaklı
55fafa9154 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-11-12 12:17:19 -05:00
renovate[bot]
9d18d3c7ab fix(deps): update dependency lru-cache to v10.0.2 (#12160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 12:17:06 -05:00
renovate[bot]
1796ed2b23 chore(deps): update dependency lint-staged to v15.1.0 (#12161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 12:16:56 -05:00
renovate[bot]
be3d3393e3 chore(deps): update dependency @commitlint/cli to v18.4.1 (#12162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-12 12:16:45 -05:00
Barış Soner Uşaklı
4fc54a139f Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-11-12 12:16:33 -05:00
Barış Soner Uşaklı
ed10dda29a chore: up themes 2023-11-12 12:16:31 -05:00
Misty Release Bot
d563fa0708 Latest translations and fallbacks 2023-11-12 09:18:18 +00:00