Commit Graph

14704 Commits

Author SHA1 Message Date
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
Jason Song d33e9fc11c chore: sort svgs 2023-01-04 18:52:21 +08:00
Jason Song cd2af5d4f2 fix: check if steps are empty 2023-01-04 18:52:21 +08:00
Jason Song 66785e2450 Update modules/actions/log.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 18:35:39 +08:00
Jason Song 1faa8856a4 Update models/user/user_system.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 18:30:02 +08:00
Jason Song 0f824b693c Update models/user/user_system.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 18:28:31 +08:00
Lunny Xiao fdbb0b4762 fix gravatar disable bug (#22336) 2023-01-04 16:19:56 +08:00
Jason Song 9b00ded1fb Update models/actions/task_list.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 16:11:17 +08:00
Jason Song 2917057b00 Update models/actions/status.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 15:37:55 +08:00
Jason Song 9b0203bcc1 Update custom/conf/app.example.ini
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 14:50:02 +08:00
John Olheiser 32e863439c fix: update settings table on install (#22326)
Related to #22325 

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-01-03 14:33:41 -06:00
Lunny Xiao efa708501b Use git command instead of exec.Cmd in blame (#22098)
extract from #18147

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-01-03 16:17:13 +08:00