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
b884772652
Apply suggestions from code review
...
Co-authored-by: delvh <dev.lh@web.de >
2023-01-05 11:59:32 +08:00
Jason Song and GitHub
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 and GitHub
906d8cc5dc
Rewrite fuzzers to native Go harnesses ( #22313 )
2023-01-05 10:33:00 +08:00
isla w and GitHub
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
c3b37c4e44
Update services/actions/clear_tasks.go
...
Co-authored-by: delvh <dev.lh@web.de >
2023-01-04 20:39:18 +08:00
066097a0fb
Update services/forms/runner.go
...
Co-authored-by: delvh <dev.lh@web.de >
2023-01-04 20:38:24 +08:00
e35a046c7a
Update services/auth/basic.go
...
Co-authored-by: delvh <dev.lh@web.de >
2023-01-04 20:36:09 +08:00
Jason Song and GitHub
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
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
66785e2450
Update modules/actions/log.go
...
Co-authored-by: delvh <dev.lh@web.de >
2023-01-04 18:35:39 +08:00
1faa8856a4
Update models/user/user_system.go
...
Co-authored-by: delvh <dev.lh@web.de >
2023-01-04 18:30:02 +08:00
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 and GitHub
fdbb0b4762
fix gravatar disable bug ( #22336 )
2023-01-04 16:19:56 +08:00
9b00ded1fb
Update models/actions/task_list.go
...
Co-authored-by: delvh <dev.lh@web.de >
2023-01-04 16:11:17 +08:00
2917057b00
Update models/actions/status.go
...
Co-authored-by: delvh <dev.lh@web.de >
2023-01-04 15:37:55 +08:00
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 and GitHub
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
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
c59e1537a8
Display error log when a modified template has an error so that it could recovery when the error fixed ( #22261 )
...
A drawback is the previous generated template has been cached, so you
cannot get error in the UI but only from log
Co-authored-by: KN4CK3R <admin@oldschoolhack.me >
Co-authored-by: delvh <dev.lh@web.de >
2023-01-03 15:17:36 +08:00
Jason Song and GitHub
53afbcecad
Merge branch 'main' into feature/bots
2023-01-03 09:43:23 +08:00
Kyle D and GitHub
f0159c3e8a
Add deprecated warning for DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR ( #22318 )
2023-01-03 07:54:27 +08:00
96797fed31
Unify hashing for avatar ( #22289 )
...
- Unify the hashing code for repository and user avatars into a
function.
- Use a sane hash function instead of MD5.
- Only require hashing once instead of twice(w.r.t. hashing for user
avatar).
- Improve the comment for the hashing code of why it works.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Yarden Shoham <hrsi88@gmail.com >
2023-01-02 22:46:39 +01:00