• Joined on 2023年10月22日
axd99 commented on pull request forgejo/forgejo#2283 2024年05月04日 01:11:34 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

@earl-warren I'm running some exploratory tests since I'm no too sure how to go about testing front-end stuff. Ii wrote a simple stub just to see if I could add new test to the existing test...

axd99 commented on pull request forgejo/forgejo#2283 2024年04月30日 05:38:28 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

@earl-warren , thanks for the tip about uncover.

This is what I'm getting, on what I think are the 2 most significant functions:

$ uncover ./code-cover UserCanBeAssigned
total: ...
axd99 commented on pull request forgejo/forgejo#2283 2024年04月28日 19:48:30 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

Test coverage for the entire issues package is now at 46.5% on this branch

$ ./run-test-coverage.sh 
Running go test with -cover -tags 'sqlite sqlite_unlock_notify'...
ok 	code.gitea.io/...
axd99 pushed to assign-non-org-users-to-issue at axd99/forgejo 2024年04月28日 15:17:54 +02:00
a002b3aa4f Non-org users can be assignable to issues (Codeberg/Community#935).
de9d498109 Merge pull request 'Fix issue watch button' (#3509) from fnetx/fix-issue-watch into forgejo
641ddbbbb9 Merge pull request 'Release notes: Limit database max connections by default' (#3500) from fnetx/release-notes-maxconn into forgejo
bc8860ce32 Move watching sub-template to sidebar folder
4b8f0d0972 Revert "Unify watching template"
Compare 8 commits »
axd99 commented on pull request forgejo/forgejo#2283 2024年04月28日 11:47:29 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

Hi @fnetX,

No worries about the delay.

I have fixed the conflict.

If this can be merged as is, then maybe you can assign #3502 to me (post-merge of this pr it should then be possible :)...

axd99 commented on pull request forgejo/forgejo#2283 2024年04月28日 11:42:02 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

Hi @fnetX, I have fixed the conflict.

axd99 pushed to assign-non-org-users-to-issue at axd99/forgejo 2024年04月28日 11:37:56 +02:00
fae5da4dfb Non-org users can be assignable to issues (Codeberg/Community#935).
bfdbc2371d Merge pull request 'RELEASE Version Link Interface customization' (#3498) from mainboarder/forgejo:release-version into forgejo
9f5fda6a04 Merge pull request 'Split issue sidebar template into smaller files' (#3445) from fnetx/split-sidebar-template into forgejo
98589b487c Merge pull request 'Update module github.com/minio/minio-go/v7 to v7.0.70' (#3469) from renovate/github.com-minio-minio-go-v7-7.x into forgejo
df8b1b5dd2 RELEASE Version Link
Compare 371 commits »
axd99 commented on pull request forgejo/forgejo#2283 2024年04月11日 15:04:35 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

Yes, I can access the staging area, and I can now assign in there. Thank you @fnetX .

I ran some basic tests on https://staging.codeberg.org/forgejo/forgejo/issues/1627

*** Start of test...

axd99 commented on pull request forgejo/forgejo#2283 2024年04月11日 07:37:50 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

Hi @fnetX,

Thank you for pointing out the staging instance. I've logged in as me (could not get in as forgejo somehow) and created a dummy issue. But even as the issue poster I do not seem to...

axd99 commented on pull request forgejo/forgejo#2283 2024年04月10日 17:43:51 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

The comments have been taken on board and I've modified a few bits. But before doing any bigger changes, eg splitting the 'big' function. I'd like this to be used/tested, to see if the UI and the...

axd99 commented on pull request forgejo/forgejo#2283 2024年04月10日 17:35:14 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

Is this better?

 // first check that the user has not been blocked by someone that can do so
 // for this issue (The repo owner and the issue creator can both block a
 // user from being...
axd99 commented on pull request forgejo/forgejo#2283 2024年04月10日 17:33:01 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

One of the issue with this code, I found, was that Xorm does not generate a Union statement correctly (xorm sticks some () around each select, and this i not proper sql.) At least I couldn't make...

axd99 commented on pull request forgejo/forgejo#2283 2024年04月10日 17:28:27 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

I was not aware of private users. There is nothing here that processes private users any differently than 'normal' users.

axd99 commented on pull request forgejo/forgejo#2283 2024年04月10日 17:25:03 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

They can be removed. They are probably worth keeping until everybody is happy with the way this works.

axd99 commented on pull request forgejo/forgejo#2283 2024年04月10日 17:23:25 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

A user that has been added via this new feature (this PR) stays in the list once it has been added once. It can be de-selected (de-assigned), but stays in the list. It can then be picked for...

axd99 commented on pull request forgejo/forgejo#2283 2024年04月10日 12:53:18 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

@fnetX, conflict resolved. This is ready for you to test if you wish to. Cheers.

axd99 pushed to assign-non-org-users-to-issue at axd99/forgejo 2024年04月10日 12:26:59 +02:00
1cb3903e9d Non-org users can be assignable to issues (Codeberg/Community#935).
0905961fde Merge pull request '[BUG] webhook: fix admin-hooks and add more tests' (#3125) from oliverpool/forgejo:webhook_admin_fix into forgejo
fd0c8f5059 Merge pull request '[TEST] cancel all processes on PrepareTestEnv' (#3126) from oliverpool/forgejo:test_cancel_processes_on_prepare_test_env into forgejo
8ffaa08b04 add missing defer
aba99ab8fc [TEST] cancel all processes on PrepareTestEnv
Compare 886 commits »
axd99 commented on pull request forgejo/forgejo#2283 2024年04月10日 09:36:04 +02:00
assign-non-org-users-to-issue (Codeberg/Community#935)

Hi @fnetX ,

Having removed the WIP, I was expecting the code to be reviewed, so I was simply waiting to get some feed back. I probably got the process wrong.

Having heard from you I got...

axd99 commented on pull request forgejo/forgejo#2283 2024年03月11日 12:16:16 +01:00
assign-non-org-users-to-issue (Codeberg/Community#935)

A fair bit of investigation has gone into this, mainly on the fomantic-ui dropdown, and how to amend it in a sensible way.

The input field of the dropdown now allows for an input value that is...

axd99 pushed to assign-non-org-users-to-issue at axd99/forgejo 2024年03月11日 11:44:43 +01:00
2f6afe4d7b Non-org users can be assignable to issues (Codeberg/Community#935).
339cbc4cd0 Merge pull request '[DEPS] Bump mysql driver' (#2623) from gusted/forgejo-bump-mysql into forgejo
3b2f28ff1c [PORT] Fix wrong line number in code search result (gitea#29260) (#2619)
578f0b3335 [DEPS] Bump mysql driver
79f8339c74 Merge pull request 'Fix repo unarchivation button' (#2550) from 0ko/forgejo:unarchive_btn into forgejo
Compare 303 commits »