Commit Graph

14715 Commits

Author SHA1 Message Date
Jason Song a6f8f10670 fix: add docs link for runner 2023-01-06 14:41:07 +08:00
Jason Song 4bc6d73b1d fix: split and trim labels 2023-01-06 14:28:16 +08:00
Jason Song 05c08ec246 chore: format runner id 2023-01-06 14:12:14 +08:00
Jason Song 326ae5d442 fix: keep original commit message 2023-01-06 13:51:40 +08:00
Jason Song ff75cbd81d chore: fix log 2023-01-06 13:47:45 +08:00
Jason Song 9bd3ea49f4 fix: map to DEFAULT_ACTIONS_URL 2023-01-06 10:50:01 +08:00
Jason Song d7aa501ba1 fix: NumClosedActionRuns 2023-01-06 09:57:36 +08:00
Jason Song a4df058d75 Merge branch 'main' into feature/bots 2023-01-06 09:37:44 +08:00
KN4CK3R f74293f9c2 Fix unstable emoji sort (#22346)
Without the second sort every generate run produces a different result.
2023-01-05 13:58:51 +02:00
Jason Song 49e307b968 fix: show never when LastOnline is 0 2023-01-05 18:24:16 +08:00
Jason Song 2ac8410bab fix: translation keys 2023-01-05 18:24:16 +08:00
Jason Song 63e82382fc Update models/actions/task_step.go
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
2023-01-05 18:05:07 +08:00
Jason Song 22496aa57e Update models/actions/task.go
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
2023-01-05 18:04:23 +08:00
Jason Song 730af9be50 fix: add missing translations 2023-01-05 17:59:21 +08:00
Jason Song 92b117f930 test: fix import cycle in dbfs test 2023-01-05 17:23:13 +08:00
Jason Song b1013a4770 refactor: shard runner templates 2023-01-05 16:40:20 +08:00
Jason Song a4b2cf2426 feat: calculate duration 2023-01-05 16:19:08 +08:00
Jason Song c510fdbcf1 chore: simplify IsActions 2023-01-05 16:03:21 +08:00
Jason Song eee662442a fix: simplify deleting 2023-01-05 15:40:19 +08:00
Jason Song c3d7f15513 chore: remove CreateRunnerForm 2023-01-05 15:20:02 +08:00
Jason Song 08383bdcbc chore: simplify truncateContent 2023-01-05 15:16:14 +08:00
Jason Song 4bb8604180 chore: add comments 2023-01-05 14:58:49 +08:00
Jason Song e8dbe827cb fix: use %w 2023-01-05 14:45:40 +08:00
Jason Song bb3eb5efdc fix: use ctx 2023-01-05 14:44:09 +08:00
Jason Song ede9a5f2fa chore: add comments 2023-01-05 14:43:07 +08:00
Jason Song 60173297aa chore: lint codes 2023-01-05 12:14:56 +08:00
Jason Song 24446cbebe fix: add less for runners 2023-01-05 12:03:10 +08:00
Jason Song b884772652 Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2023-01-05 11:59:32 +08:00
Jason Song 2ae7f5434c Merge branch 'main' into feature/bots 2023-01-05 10:55:47 +08:00
Jason Song b4c692a2bb chore: format code 2023-01-05 10:49:50 +08:00
AdamKorcz 906d8cc5dc Rewrite fuzzers to native Go harnesses (#22313) 2023-01-05 10:33:00 +08:00
isla w f41ad344cb Update Emoji dataset to Unicode 14 (#22342)
Gitea emoji dataset was out of date because it gets manually built and
hasn't been rebuilt since it was added. This means Gitea doesn't
recognize some newer emoji or changes to existing ones.

After changing the max unicode version to 14 I just ran: `go run
build/generate-emoji.go`

This should address the initial issue seen in #22153 where Gitea doesn't
recognize a standard alias used elsewhere when importing content.

14 is the latest supported version from the upstream source as 15 is not
widely supported (in their opinion) yet
2023-01-04 11:52:48 -06:00
Jason Song c3b37c4e44 Update services/actions/clear_tasks.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 20:39:18 +08:00
Jason Song 066097a0fb Update services/forms/runner.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 20:38:24 +08:00
Jason Song e35a046c7a Update services/auth/basic.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 20:36:09 +08:00
Jason Song 0d2945fe4d Merge branch 'main' into feature/bots 2023-01-04 18:57:57 +08:00
Jason Song 4b15a33257 chore: format code 2023-01-04 18:57:10 +08:00
Jason Song 0ecb0b46ad Update modules/setting/actions.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 18:55:15 +08:00
Jason Song 925f7f18f5 chore: new way to trim entries 2023-01-04 18:52:22 +08:00
Jason Song a222cb5c1e docs: fix format 2023-01-04 18:52:22 +08:00
Jason Song 95167fd0a2 chore: rename to NumActionRuns 2023-01-04 18:52:22 +08:00
Jason Song 6148e4c940 fix: rename to GetPossibleUserByID 2023-01-04 18:52:22 +08:00
Jason Song 0887e98f2a refactor: getPoster 2023-01-04 18:52:22 +08:00
Jason Song 911aea15a6 docs: add actions to cheat sheet 2023-01-04 18:52:22 +08:00
Jason Song d5e6d959eb refactor: rename Number to Index 2023-01-04 18:52:22 +08:00
Jason Song 2c686e8826 fix: add restraints for models 2023-01-04 18:52:22 +08:00
Jason Song 7f6a803d24 fix: omit total in FindTasks 2023-01-04 18:52:22 +08:00
Jason Song 5d938ebf4e fix: use container.Set 2023-01-04 18:52:21 +08:00
Jason Song 5925722501 chore: move statusNames 2023-01-04 18:52:21 +08:00
Jason Song 5e58ede989 docs: comment for DEFAULT_ACTIONS_URL 2023-01-04 18:52:21 +08:00