Commit graph

116 commits

Author SHA1 Message Date
Louis Lam 4fb43034cd Handle k8s in healthcheck.go 2023-01-30 21:46:27 +08:00
Louis Lam 18ae6fa6c1 Merge remote-tracking branch 'origin/master' into patch-1_k8s 2023-01-30 21:34:45 +08:00
401Unauthorized ea83af3404
clean up codes 2023-01-24 16:00:51 +08:00
401Unauthorized 912686a299
Merge from upstream 2023-01-24 15:16:59 +08:00
Louis Lam 49ac71e25c
Merge pull request #2549 from Computroniks/docs/update-jsdoc-2023-01-05
Added missing JSDoc comments
2023-01-15 13:10:17 +08:00
401Unauthorized ceb7d48118
add convert script 2023-01-15 10:46:29 +08:00
Louis Lam c00abac834 Separate golang build layer 2023-01-09 13:43:08 +08:00
Matthew Nickson 675806829c
Changed wording for safeDelete function JSDoc 2023-01-06 17:17:37 +00:00
Matthew Nickson c7eb72e73b
JSDoc for extra/
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2023-01-05 19:57:28 +00:00
Louis Lam 3040bd41d9 Speed up armv7 build time of healthcheck by using go compiler cross-build feature in the host 2022-12-12 15:42:00 +08:00
Louis Lam 5176fd02c1 Fix healthcheck do not check https 2022-12-10 23:30:32 +08:00
Louis Lam ad5e1957b1 Deprecate healthcheck.js 2022-12-08 18:29:17 +08:00
Louis Lam cc68ebca39 Convert healthcheck.js into go-lang 2022-12-08 18:29:17 +08:00
Louis Lam 0ab82e6de3 Generate random nightly version 2022-12-04 22:44:50 +08:00
Matthew Nickson f67d7cdf3f
Make update-language-files command more useful (#2198)
* [empty commit] pull request for Fix language update script

* Avoid mass changes with update-language-files

This commit updates the update-language-files script to prevent mass
changes as seen on a number of recent PRs where the contributer has
ran the script and comitted the results.
The script has been updated to now require the --language argument to
specify which language file to update. This ensures that only that file
is updated instead of all files. If the provided language code does not
already exist, a new file with that code is created. This should make
it easier to add new languages as you only need to pass the language
code to the script.
The base lang code is now also passed as an optional argument to negate
the need for a seperate script entry in package.json.
The script has been restructures into a couple of functions to make it
easier to understand.
ESlint now only checks the changed file instead of
them all in order to improve performance.

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>

* Updated translation docs for new command

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>

* [update-language-files] Add cross-env-shell

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2022-10-08 15:01:47 +08:00
Louis Lam 1c4e97439c Fix pr-test 2022-09-17 01:59:25 +08:00
Kyle 7aa3f6c559
Corrected default hostname port for healthcheck 2022-09-14 15:04:21 -06:00
Kyle db4b2cd984
Re-add support for UPTIME_KUMA_HOST and _PORT in healthcheck.js 2022-09-14 14:25:56 -06:00
Kyle b4f0f8bca5
Replace healthcheck hostname env variable name 2022-09-13 22:18:00 -06:00
Kyle b382064384
Replace port env var in healthcheck.js 2022-09-13 21:52:32 -06:00
Louis Lam 7b8f9c7655 Fix checkout-pr by using fetch & checkout instead of pull 2022-09-09 15:49:39 +08:00
Louis Lam dad2ec1164 Use pull 2022-09-09 01:57:42 +08:00
Louis Lam 0244507a07 Output 2022-09-08 22:40:45 +08:00
Louis Lam 6601e9bbba Output 2022-09-08 22:36:34 +08:00
Louis Lam 9589fcfdef Checkout pr without GitHub Cli 2022-09-08 22:12:27 +08:00
Louis Lam fd2df562b1 Add checkout pr logic 2022-09-03 18:37:31 +08:00
Louis Lam ed1f88a852 Change fs.rmdir to fs.rm as it is deprecated 2022-06-23 19:18:28 +08:00
Louis Lam 630bb03d9c Update package-lock.json during release process 2022-04-22 00:47:04 +08:00
Louis Lam 359a490ae3 Fix #1510 2022-04-18 15:21:58 +08:00
Louis Lam 5fa62a888c Merge branch 'master' into mqtt2
# Conflicts:
#	server/database.js
#	server/util-server.js
2022-04-17 19:46:33 +08:00
Louis Lam d71c086447 Standardize array bracket spacing 2022-04-17 15:27:35 +08:00
Louis Lam 8d8c38b1a8 Allow unused vars in args and fix more eslint issues 2022-04-17 01:39:49 +08:00
Louis Lam 03bcf5c766 Add a simple mqtt server for testing 2022-04-17 01:07:54 +08:00
Louis Lam 649f3106e1 Enforce semicolon, fix format globally 2022-04-14 01:20:54 +08:00
Louis Lam 772d009f43 Merge branch 'master' into fluencydoc_master
# Conflicts:
#	extra/update-version.js
#	server/client.js
#	server/server.js
2022-04-12 17:44:04 +08:00
Louis Lam 2e50ef0e8f
Merge pull request #1450 from AnnAngela/1.14.0-zh_cn
1.14.0 translation improvement
2022-04-09 14:40:38 +08:00
Louis Lam 7bbaeffd3e Fix reset-password (issue caused by 5027fcd320) 2022-04-08 00:56:56 +08:00
AnnAngela 511b9dd425
Update fs-rmSync.js 2022-04-06 10:31:01 +08:00
AnnAngela e9dd64b6f0
Update comments of fs-rmSync.js 2022-04-06 10:20:57 +08:00
Louis Lam f54084c888 Update beta release process 2022-04-03 22:06:36 +08:00
Louis Lam 87d3853b8e
Merge pull request #1348 from AnnAngela/master
Detect if `fs.rmSync` is available to avoid the runtime deprecation warning
2022-04-02 18:21:12 +08:00
Louis Lam 7d3cbff794 [Cloudflared] Install into base docker 2022-03-29 02:24:10 +08:00
AnnAngela 7fd5b61bab
Inproperly conflict resolving 2022-03-27 21:12:51 +08:00
AnnAngela 96289fe014
Update index.js 2022-03-27 20:56:42 +08:00
AnnAngela 381605aca1
Update update-version.js 2022-03-27 20:55:28 +08:00
AnnAngela 742c6bcaa3
Merge branch 'master' into master 2022-03-27 20:54:24 +08:00
Louis Lam 623d03dc6f Fix release process 2022-03-25 00:03:25 +08:00
Louis Lam 6c7a0ff7d3 Fix release script 2022-03-24 22:44:22 +08:00
Louis Lam 7fb16d2f9a Limit the pm2 log size 2022-03-23 11:17:23 +08:00
Louis Lam 668dffc2c5 Simplify final release 2022-03-22 16:45:07 +08:00