Commit graph

99 commits

Author SHA1 Message Date
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
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
Louis Lam 76f991ecd8 Update beta process 2022-03-22 11:30:45 +08:00
Louis Lam 58ee071fae Release process for beta 2022-03-21 14:31:29 +08:00
Louis Lam 4e95e9ea51 Add process for beta release 2022-03-20 11:08:33 +08:00
AnnAngela 88a798704b
Update fs-rmSync.js 2022-03-02 16:10:14 +08:00
AnnAngela-work 783173fd1f Add a helper function 2022-03-02 15:48:08 +08:00
Louis ed64853125 Keep FBSD, BSD for ping only 2022-01-12 01:44:01 +08:00
Denis 6bda5c6329 update comment 2022-01-11 13:39:45 +01:00
Louis f9751d0c01 Fix FBSD to BSD https://github.com/louislam/uptime-kuma/pull/1155#issuecomment-1009544236 2022-01-11 19:15:28 +08:00
Louis Lam 7cfc5c64b7
Missing a full stop 2021-12-22 13:49:57 +08:00
Louis Lam 5ee5ea909d Add Github Action: close-incorrect-issue.yml 2021-12-11 20:59:31 +08:00
Fluency e3745da986
Merge branch 'master' into master 2021-11-23 10:26:45 -08:00
Fluency 7179c6cc4c
Fix punctuation in extra/update-version.js
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
2021-11-19 10:30:31 -08:00
Louis Lam 5d3bf68123 add remove-2fa command 2021-11-18 18:22:03 +08:00
Calum Bird f55350bebc Generated documentation :) 2021-11-09 21:24:31 -08:00
Louis Lam e496c3b3be update healthcheck.js 2021-11-02 22:03:02 +08:00
Louis Lam 60e12f4bfa fix healthcheck.js with prefix UPTIME_KUMA_ 2021-11-02 01:13:05 +08:00
Louis Lam a5f15f2319 Fix #793, check dist-backup existing before delete 2021-10-25 12:29:40 +08:00