14731 Commits

Author SHA1 Message Date
Jason Song
4b2bf7a512
Merge branch 'main' into feature/bots 2023-01-06 20:47:41 +08:00
Jason Song
21db670907
fix: use webhook_module 2023-01-06 20:46:36 +08:00
crystal
d42b52fcfa
make /{username}.png redirect to user/org avatar (#22356)
fix #22355

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-06 13:44:02 +01:00
Jason Song
4c65c1d8b0
Merge branch 'main' into feature/bots 2023-01-06 20:32:23 +08:00
Jason Song
3dbd2d942b
Remove old HookEventType (#22358)
Supplement to #22256.
2023-01-06 19:49:14 +08:00
Jason Song
4ebd096b86
fix: remove spaces between labels 2023-01-06 18:13:56 +08:00
Jason Song
e249b39224
chore: rename to actions.runners.last_online 2023-01-06 18:08:43 +08:00
Jason Song
748fd3d085
chore: add init.go to actions 2023-01-06 18:06:12 +08:00
Jason Song
4b1d3c75d5
fix: ignore events caused by actions for actions notifier only 2023-01-06 17:21:07 +08:00
Jason Song
fc1d24368e
chore: remove fetchMockData 2023-01-06 16:32:57 +08:00
Jason Song
aba1c03fee
feat: improve listing runs 2023-01-06 16:29:10 +08:00
Jason Song
6f6bfc5d51
feat: more translations 2023-01-06 15:55:47 +08:00
Jason Song
e61d655929
feat: show no runners available 2023-01-06 15:33:02 +08:00
Jason Song
7a4d4f0edf
chore: use new dropdown icon 2023-01-06 15:15:30 +08:00
Jason Song
243b769754
feat: locale status for runner 2023-01-06 15:07:44 +08:00
Jason Song
91dfef0425
feat: LocaleString for status 2023-01-06 15:02:03 +08:00
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