Commit Graph

3526 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
dd94b967c2 Merge branch 'master' into develop 2023-12-08 13:55:26 -05:00
Barış Soner Uşaklı
245e5df385 chore: up composer 2023-12-08 13:54:57 -05:00
Barış Soner Uşaklı
7c416efc89 Merge branch 'master' into develop 2023-12-08 11:07:39 -05:00
Barış Soner Uşaklı
c1f82b78a8 chore: up composer default 2023-12-08 11:07:11 -05:00
Steve Fan
daf2900a71 Update defaults.json (#12208) 2023-12-07 12:49:11 -05:00
renovate[bot]
e32eb8b3d7 fix(deps): update dependency @fontsource/inter to v5.0.16 (#12219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 12:48:56 -05:00
renovate[bot]
b6b569c0a8 fix(deps): update dependency chart.js to v4.4.1 (#12217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 19:45:33 -05:00
renovate[bot]
6dab99fd7b fix(deps): update dependency nodebb-theme-persona to v13.2.49 (#12218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 19:45:13 -05:00
renovate[bot]
32a403b2bd chore(deps): update dependency eslint to v8.55.0 (#12203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 16:39:06 -05:00
renovate[bot]
da87970475 fix(deps): update dependency postcss to v8.4.32 (#12204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 16:38:53 -05:00
renovate[bot]
9763e97f5a chore(deps): update dependency lint-staged to v15.2.0 (#12210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 16:38:42 -05:00
Barış Soner Uşaklı
dbbf3a2c6f chore: up harmony 2023-12-01 09:32:48 -05:00
Barış Soner Uşaklı
e4656bd41c chore: up harmony 2023-12-01 09:13:55 -05:00
renovate[bot]
b41c7f2a8a fix(deps): update dependency @fortawesome/fontawesome-free to v6.5.1 (#12198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 09:08:25 -05:00
renovate[bot]
72d6a4b16d fix(deps): update dependency nodebb-theme-harmony to v1.1.101 (#12199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 09:08:17 -05:00
renovate[bot]
cd625705a0 fix(deps): update dependency sortablejs to v1.15.1 (#12200)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 09:07:44 -05:00
renovate[bot]
75f063ba60 fix(deps): update dependency ace-builds to v1.32.0 (#12197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 09:07:21 -05:00
renovate[bot]
a94f4a482d fix(deps): update dependency @fortawesome/fontawesome-free to v6.5.0 (#12193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 09:56:42 -05:00
renovate[bot]
a50b141f6d chore(deps): update dependency jsdom to v23.0.1 (#12196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 09:56:31 -05:00
renovate[bot]
1f287c74c8 fix(deps): update dependency sharp to v0.33.0 (#12194)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 09:56:10 -05:00
Barış Soner Uşaklı
c71995be0d Merge branch 'master' into develop 2023-11-29 12:54:31 -05:00
Misty Release Bot
f31faa457d chore: incrementing version number - v3.5.2 2023-11-29 17:21:39 +00:00
Barış Soner Uşaklı
0ec9d4c393 chore: up themes 2023-11-28 20:59:26 -05:00
renovate[bot]
4eaf2320d6 fix(deps): update dependency fs-extra to v11.2.0 (#12191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 12:39:12 -05:00
renovate[bot]
bbf7c5e192 fix(deps): update dependency passport to v0.7.0 (#12190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 12:38:57 -05:00
renovate[bot]
bc59856e55 fix(deps): update dependency esbuild to v0.19.8 (#12187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 11:57:44 -05:00
renovate[bot]
8c0472a085 chore(deps): update dependency jsdom to v23 (#12186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 11:57:23 -05:00
renovate[bot]
22932bdb40 fix(deps): update dependency lru-cache to v10.1.0 (#12181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-22 16:00:50 -05:00
renovate[bot]
fd5d7b651f chore(deps): update commitlint monorepo to v18.4.3 (#12177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 13:22:35 -05:00
renovate[bot]
00cb5839b5 fix(deps): update dependency esbuild to v0.19.7 (#12176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 13:22:25 -05:00
renovate[bot]
c404ef73cf fix(deps): update dependency lru-cache to v10.0.3 (#12175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 13:22:09 -05: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
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
Julian Lam
89a1134cae fix: #12171, bump harmony 2023-11-17 11:48:45 -05:00
Barış Soner Uşaklı
9a1f8e9b21 chore: up themes 2023-11-15 11:02:59 -05:00
Barış Soner Uşaklı
fe5f3fbbee Merge branch 'master' into develop 2023-11-15 09:25:01 -05:00
Misty Release Bot
94dfb3adcc chore: incrementing version number - v3.5.1 2023-11-14 14:20:02 +00: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ı
ed10dda29a chore: up themes 2023-11-12 12:16:31 -05:00
Barış Soner Uşaklı
22d7e92f8a chore: up composer 2023-11-11 13:24:54 -05:00