RedCocoon
5a49efbd3e
Update reaction.go to conform to lint revive
2024-11-02 03:21:39 +08:00
RedCocoon
98baaa2446
Consolidate reaction web/repo logic
2024-11-02 03:14:12 +08:00
RedCocoon
940fa351d9
Change v1_json.tmpl
2024-11-02 02:44:04 +08:00
RedCocoon
2084a7a5c4
Remove unneccessary api calls
2024-11-02 02:35:21 +08:00
RedCocoon
6976590c90
Update v1_json.tmpl
2024-11-02 00:41:48 +08:00
RedCocoon
706b919d9f
make fmt and add option to swagger
2024-11-01 03:19:58 +08:00
RedCocoon
b03448bc42
Revert variable name to adhere to codestyle
2024-11-01 02:56:21 +08:00
RedCocoon
8509c5c2aa
Generate Swagger
2024-11-01 02:54:17 +08:00
RedCocoon
b1af5cd6be
Rename variables in conversation.go
2024-11-01 02:46:55 +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
RedCocoon
1eff5bb38c
Remove unnecessary data from comment
2024-10-31 00:10:28 +08:00
RedCocoon
fddda21ea2
Fix comment form orphan tag issue with lint
2024-10-31 00:08:47 +08:00
RedCocoon
5ba8ae10fc
Remove unnecessary data from Conversation
2024-10-30 23:49:24 +08:00
RedCocoon
abc5d12590
Merge branch 'main' into main
2024-10-30 23:21:47 +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
6543
58eb16eda7
Respect UI.ExploreDefaultSort setting again ( #32357 )
...
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 regression of https://github.com/go-gitea/gitea/pull/29430
---
*Sponsored by Kithara Software GmbH*
2024-10-30 12:33:25 +00:00
wxiaoguang
ce4d909bd6
Fix absolute-date ( #32375 )
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
2024-10-30 17:50:19 +08:00
cloudchamb3r
f938dbc9b5
Fix undefined errors on Activity page ( #32378 )
...
close #32377
Co-authored-by: Giteabot <teabot@gitea.io>
2024-10-30 14:48:13 +08:00
Royce Remer
c60e4dc109
Add new [lfs_client].BATCH_SIZE and [server].LFS_MAX_BATCH_SIZE config settings. ( #32307 )
...
This contains two backwards-compatible changes:
* in the lfs http_client, the number of lfs oids requested per batch is
loaded from lfs_client#BATCH_SIZE and defaulted to the previous value of
20
* in the lfs server/service, the max number of lfs oids allowed in a
batch api request is loaded from server#LFS_MAX_BATCH_SIZE and defaults
to 'nil' which equates to the previous behavior of 'infinite'
This fixes #32306
---------
Signed-off-by: Royce Remer <royceremer@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-10-30 05:41:55 +00:00
Rowan Bohde
1cd3f69859
remove unused call to $.HeadRepo in view_title template ( #32317 )
...
This is only populated in
[`ParseCompareInfo`](https://github.com/search?q=repo%3Ago-gitea%2Fgitea%20%20.Data%5B%22HeadRepo%22%5D&type=code )
which is called in two handlers:
*
[`CompareAndPullRequestPost`](9206fbb55f/routers/web/repo/pull.go (L1246)
)
- a JSON post handler that doesn't render templates
*
[`CompareDiff`](9206fbb55f/routers/web/repo/compare.go (L706)
)
- which can render `diff/box.tmpl` and `diff/compare.tmpl`
2024-10-30 13:12:48 +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
Lunny Xiao
feca8802b8
Fix clean tmp dir ( #32360 )
...
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
Try to fix #31792
Credit to @jeroenlaylo
Copied from
https://github.com/go-gitea/gitea/issues/31792#issuecomment-2311920520
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-10-29 18:27:03 +02: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
692f0aacaa
Reimplement edit comment for conversations
2024-10-29 21:34:24 +08:00
RedCocoon
17fb682c18
Reimplement quote reply and translation text
2024-10-29 20:03:40 +08:00
Anbraten
b7fb20e73e
Suggestions for issues ( #32327 )
...
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 #16872
2024-10-29 17:20:49 +08:00
RedCocoon
bb943791fb
Reimplement reactions and delete, fixed conversation styling css
2024-10-29 16:48:18 +08:00
Anbraten
348d1d0f32
Migrate vue components to setup ( #32329 )
...
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
Migrated a handful Vue components to the `setup` syntax using
composition api as it has better Typescript support and is becoming the
new default in the Vue ecosystem.
- [x] ActionRunStatus.vue
- [x] ActivityHeatmap.vue
- [x] ContextPopup.vue
- [x] DiffFileList.vue
- [x] DiffFileTree.vue
- [x] DiffFileTreeItem.vue
- [x] PullRequestMergeForm.vue
- [x] RepoActivityTopAuthors.vue
- [x] RepoCodeFrequency.vue
- [x] RepoRecentCommits.vue
- [x] ScopedAccessTokenSelector.vue
Left some larger components untouched for now to not go to crazy in this
single PR:
- [ ] DiffCommitSelector.vue
- [ ] RepoActionView.vue
- [ ] RepoContributors.vue
- [ ] DashboardRepoList.vue
- [ ] RepoBranchTagSelector.vue
2024-10-28 20:15:05 +00:00
RedCocoon
637788bc2f
Reimplement delete comment for conversations
2024-10-28 16:33:51 +08:00
wxiaoguang
a920fcfd91
Fix db engine ( #32351 )
...
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 )
...
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
yp05327
7cf611d197
Fix broken image when editing comment with non-image attachments ( #32319 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-licenses / cron-licenses (push) Has been cancelled
Fix #32316
2024-10-23 17:39:10 +02:00
Lunny Xiao
2abdbe88b5
Fix disable 2fa bug ( #32320 )
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
2024-10-23 06:41:00 +00:00
Lunny Xiao
d46d34a655
Upgrade rollup to 4.24.0 ( #32312 )
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
2024-10-23 05:00:32 +00:00
Lunny Xiao
500774277c
Upgrade vue to 3.5.12 ( #32311 )
2024-10-23 04:55:17 +00:00
Tim
de2ad2e1b1
Make admins adhere to branch protection rules ( #32248 )
...
This introduces a new flag `BlockAdminMergeOverride` on the branch
protection rules that prevents admins/repo owners from bypassing branch
protection rules and merging without approvals or failing status checks.
Fixes #17131
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2024-10-23 12:39:43 +08:00
박상철
620f19610e
Prevent from submitting issue/comment on uploading ( #32263 )
...
fix #32262
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2024-10-23 10:48:04 +08:00
Lunny Xiao
a264c46fb0
Add warn log when deleting inactive users ( #32318 )
...
Add log for the problem #31480
2024-10-23 09:28:28 +08:00
Zettat123
9206fbb55f
Add DISABLE_ORGANIZATIONS_PAGE
and DISABLE_CODE_PAGE
settings for explore pages and fix an issue related to user search ( #32288 )
...
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
These settings can allow users to only display the repositories explore page.
Thanks to yp05327 and wxiaoguang !
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-10-22 13:09:19 +08:00
wangjingcun
3d6ccbac3f
chore: fix some function names in comment ( #32300 )
...
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 some function names in comment
2024-10-22 08:41:05 +08:00
RedCocoon
6051ff8525
Decouple conversations from issues
2024-10-21 00:38:17 +08:00
6543
d638067d3c
API: enhance SearchIssues swagger docs ( #32208 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-licenses / cron-licenses (push) Has been cancelled
this will result in better api clients generated out of the openapi docs
... for SearchIssues
---
*Sponsored by Kithara Software GmbH*
2024-10-19 20:11:56 +00:00
YR Chen
08c963c921
Update github.com/go-enry/go-enry to v2.9.1 ( #32295 )
...
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
`go-enry` v2.9.1 includes latest file patterns from Linguist, which can
identify more generated file type, eg. `pdm.lock`.
2024-10-19 20:51:55 +08:00
Zettat123
9116665e9c
Always update expiration time when creating an artifact ( #32281 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Fix #32256
2024-10-17 09:05:38 +00:00