4212 Commits

Author SHA1 Message Date
RedCocoon
13ddbd115a fix wrong xorg type 2024-11-07 23:31:56 +08:00
RedCocoon
6f9c81fc4a Update comment.go 2024-11-07 23:06:48 +08:00
RedCocoon
0d804051f2 Fix comment xorm 2024-11-07 22:53:15 +08:00
RedCocoon
59732a931d Update conversation.go 2024-11-07 22:40:41 +08:00
RedCocoon
0b33898adc Update conversation_comment.yml 2024-11-07 22:27:59 +08:00
RedCocoon
dc10ad9394 Add tests for conversation indexer 2024-11-07 22:22:04 +08:00
RedCocoon
2311318b44 Fix data assignment for unit test 2024-11-07 19:35:31 +08:00
RedCocoon
519ca729ca Update conversation.go 2024-11-07 19:18:00 +08:00
RedCocoon
0cdfa15fb9 Fix incorrect data in conversation fixture 2024-11-07 19:11:17 +08:00
RedCocoon
b762846d29 Update conversation.go 2024-11-07 18:08:41 +08:00
RedCocoon
948ef91fbd Update conversation_stat.go 2024-11-07 17:51:44 +08:00
RedCocoon
cd411471a0 Update conversation_stat.go 2024-11-07 17:35:55 +08:00
RedCocoon
f65f92c1df Merge remote-tracking branch 'upstream/main' 2024-11-07 16:25:26 +08:00
RedCocoon
991618cdd4 Add conversation index yml, fix indexing unavailable columns 2024-11-07 16:11:59 +08:00
Lunny Xiao
276500c314
Move AddCollabrator and CreateRepositoryByExample to service layer (#32419)
- [x] Move `CreateRepositoryByExample` to service layer
- [x] Move `AddCollabrator` to service layer
- [x] Add a new parameter for `AddCollabrator` so that changing mode
immediately after that will become unnecessary.
2024-11-07 11:28:11 +08:00
Lunny Xiao
913be9e8ac
Add new index for action to resolve the performance problem (#32333)
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Fix #32224
2024-11-06 22:04:48 +00:00
RedCocoon
cb0562010b Update conversation_test.go 2024-11-07 03:55:58 +08:00
RedCocoon
e3b51e8fae Fix conversation comment 2024-11-06 19:22:08 +08:00
RedCocoon
d9ef4e475e Update comment count correctly when adding/removing comments 2024-11-06 18:09:24 +08:00
RedCocoon
ac4152d465 Update conversation_comment.yml 2024-11-06 15:30:53 +08:00
RedCocoon
bedd7ec29a Add fixtures for conversation, comments, reactions 2024-11-06 15:20:33 +08:00
RedCocoon
c1735ac2dc Merge remote-tracking branch 'upstream/main' 2024-11-06 03:01:09 +08:00
Lunny Xiao
24b83ff63e
Fix milestone deadline and date related problems (#32339)
Use zero instead of 9999-12-31 for deadline
Fix #32291

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2024-11-05 07:46:40 +00:00
Lunny Xiao
1887c75c35
Only query team tables if repository is under org when getting assignees (#32414)
It's unnecessary to query the team table if the repository is not under
organization when getting assignees.
2024-11-05 07:13:52 +00:00
RedCocoon
6f9647b2b9 Remove invalid options from conversation_stat.go 2024-11-04 17:13:02 +08:00
RedCocoon
b2a93cdda1 Remove unused data from indexer/search 2024-11-04 17:10:50 +08:00
RedCocoon
8b68cc8f72 Fix warning lines and remove unused variables 2024-11-04 00:34:32 +08:00
RedCocoon
56fca5e557 Fix LoadPosters remove from conversation comment list 2024-11-04 00:28:28 +08:00
RedCocoon
2ba22a8a13 Merge remote-tracking branch 'upstream/main' 2024-11-04 00:24:17 +08:00
RedCocoon
b1f07f2df0 Add unit test for comments 2024-11-04 00:22:11 +08:00
RedCocoon
e344e371df Add unit test for conversations 2024-11-03 22:29:30 +08:00
Kyle D.
66971e591e
Add artifacts test fixture (#30300)
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Closes https://github.com/go-gitea/gitea/issues/30296

- Adds a DB fixture for actions artifacts
- Adds artifacts test files
- Clears artifacts test files between each run
- Note: I initially initialized the artifacts only for artifacts tests,
but because the files are small it only takes ~8ms, so I changed it to
always run in test setup for simplicity
- Fix some otherwise flaky tests by making them not depend on previous
tests
2024-11-01 10:29:54 +08:00
RedCocoon
706b919d9f make fmt and add option to swagger 2024-11-01 03:19:58 +08:00
RedCocoon
60b750ece4 Remove duplicate functions 2024-11-01 02:11:43 +08:00
RedCocoon
ab083c8525 Remove unused struct, fix duplicate table name 2024-10-31 21:46:00 +08:00
Oleksandr Redko
f4d3aaeeb9
refactor: remove redundant err declarations (#32381) 2024-10-30 19:36:24 +00:00
RedCocoon
1eff5bb38c Remove unnecessary data from comment 2024-10-31 00:10:28 +08:00
RedCocoon
5ba8ae10fc Remove unnecessary data from Conversation 2024-10-30 23:49:24 +08:00
RedCocoon
505a23088c Update copyright informations 2024-10-30 20:47:24 +08:00
RedCocoon
c039238f07 Merge branch 'main' of https://github.com/RedCocoon/gitea 2024-10-30 20:37:28 +08:00
RedCocoon
95c57a1677 Clean up code based on lint 2024-10-30 20:37:04 +08:00
RedCocoon
7b263cd638
Merge branch 'go-gitea:main' into main 2024-10-30 01:26:14 +08:00
RedCocoon
bea92f6f8a Add insertconversationcomments 2024-10-30 01:25:02 +08:00
6543
5d43801b72
Optimize branch protection rule loading (#32280)
before if it was nonglob each load would try to glob it and the check
that is not glob ... now we only do that once and no future loading will
trigger it


---
*Sponsored by Kithara Software GmbH*
2024-10-29 15:43:47 +01:00
RedCocoon
bb943791fb Reimplement reactions and delete, fixed conversation styling css 2024-10-29 16:48:18 +08:00
RedCocoon
637788bc2f Reimplement delete comment for conversations 2024-10-28 16:33:51 +08:00
wxiaoguang
a920fcfd91
Fix db engine (#32351)
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Fix #32349
2024-10-27 18:48:07 -04:00
wxiaoguang
d70af38447
Refactor the DB migration system slightly (#32344)
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Introduce "idNumber" for each migration, and clarify the difference
between the migration ID number and database version.
2024-10-27 19:54:35 +08:00
RedCocoon
c55ca5df79 Allow creation of commit comments 2024-10-25 22:05:56 +08:00
RedCocoon
c511070fa8 Add backend functionalities to create and display conversations 2024-10-25 01:35:19 +08:00