profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/KN4CK3R/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

ReClassNET/ReClass.NET 939

More than a ReClass port to the .NET platform.

KN4CK3R/UnrealEngineSDKGenerator 69

Generate SDKs from Unreal Engine games (UE1 - 4 supported).

ReClassNET/ReClass.NET-FrostbitePlugin 26

A ReClass.NET plugin which displays type infos of Frostbite classes and adds the WeakPtr node.

Timboy67678/ReClass.NET-KernelPlugin 18

A simple kernel-level plugin for ReClass.NET

KN4CK3R/PipeStream 14

A C++ wrapper for windows pipes.

ReClassNET/ReClass.NET-HandleAbuser 13

A ReClass.NET plugin which uses the process handles of an other process to access the data of the target.

ReClassNET/ReClass.NET-MemoryPipePlugin 12

A ReClass.NET plugin which allows direct memory access via dll injection.

KN4CK3R/CallDump 11

A tool to dump informations about the caller of a function.

Pull request review commentgo-gitea/gitea

DBContext is just a Context

 type Statistic struct { func GetStatistic() (stats Statistic) { 	stats.Counter.User = CountUsers() 	stats.Counter.Org = CountOrganizations()-	stats.Counter.PublicKey, _ = db.DefaultContext().Engine().Count(new(PublicKey))+	stats.Counter.PublicKey, _ = db.GetEngine(db.DefaultContext).Count(new(PublicKey)) 	stats.Counter.Repo = CountRepositories(true)-	stats.Counter.Watch, _ = db.DefaultContext().Engine().Count(new(Watch))-	stats.Counter.Star, _ = db.DefaultContext().Engine().Count(new(Star))-	stats.Counter.Action, _ = db.DefaultContext().Engine().Count(new(Action))-	stats.Counter.Access, _ = db.DefaultContext().Engine().Count(new(Access))+	stats.Counter.Watch, _ = db.GetEngine(db.DefaultContext).Count(new(Watch))+	stats.Counter.Star, _ = db.GetEngine(db.DefaultContext).Count(new(Star))+	stats.Counter.Action, _ = db.GetEngine(db.DefaultContext).Count(new(Action))+	stats.Counter.Access, _ = db.GetEngine(db.DefaultContext).Count(new(Access))

Sure, but could be changed while working at it.

zeripath

comment created time in 2 days

PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commentgo-gitea/gitea

DBContext is just a Context

 type Statistic struct { func GetStatistic() (stats Statistic) { 	stats.Counter.User = CountUsers() 	stats.Counter.Org = CountOrganizations()-	stats.Counter.PublicKey, _ = db.DefaultContext().Engine().Count(new(PublicKey))+	stats.Counter.PublicKey, _ = db.GetEngine(db.DefaultContext).Count(new(PublicKey)) 	stats.Counter.Repo = CountRepositories(true)-	stats.Counter.Watch, _ = db.DefaultContext().Engine().Count(new(Watch))-	stats.Counter.Star, _ = db.DefaultContext().Engine().Count(new(Star))-	stats.Counter.Action, _ = db.DefaultContext().Engine().Count(new(Action))-	stats.Counter.Access, _ = db.DefaultContext().Engine().Count(new(Access))+	stats.Counter.Watch, _ = db.GetEngine(db.DefaultContext).Count(new(Watch))+	stats.Counter.Star, _ = db.GetEngine(db.DefaultContext).Count(new(Star))+	stats.Counter.Action, _ = db.GetEngine(db.DefaultContext).Count(new(Action))+	stats.Counter.Access, _ = db.GetEngine(db.DefaultContext).Count(new(Access))

Could introduce a variable to reduce the calls.

zeripath

comment created time in 2 days

PullRequestReviewEvent

Pull request review commentgo-gitea/gitea

DBContext is just a Context

 func DeleteAttachmentsByComment(commentID int64, remove bool) (int, error) { 		return 0, err 	} -	return DeleteAttachments(db.DefaultContext(), attachments, remove)+	return DeleteAttachments(db.DefaultContext, attachments, remove) }  // UpdateAttachment updates the given attachment in database func UpdateAttachment(atta *Attachment) error {-	return updateAttachment(db.DefaultContext().Engine(), atta)+	return updateAttachment(db.GetEngine(db.DefaultContext), atta) }  // UpdateAttachmentByUUID Updates attachment via uuid-func UpdateAttachmentByUUID(ctx *db.Context, attach *Attachment, cols ...string) error {+func UpdateAttachmentByUUID(ctx context.Context, attach *Attachment, cols ...string) error { 	if attach.UUID == "" {-		return fmt.Errorf("Attachement uuid should not blank")+		return fmt.Errorf("attachment uuid should not blank")

Should that be lowercase? Could add a be.

zeripath

comment created time in 2 days

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commentgo-gitea/gitea

Move db related basic functions to models/db

 func setSessionPagination(sess *xorm.Session, p Paginator) *xorm.Session { 	return sess.Limit(take, skip) } -// setSessionPagination sets pagination for a database engine-func setEnginePagination(e Engine, p Paginator) Engine {+// setSessionPagination sets pagination for a database db.Engine

nope

lunny

comment created time in 7 days

PullRequestReviewEvent

Pull request review commentgo-gitea/gitea

Move db related basic functions to models/db

 var GemojiData = Gemoji{ 	{"\U0001f39e\ufe0f", "film frames", []string{"film_strip"}, "7.0", false}, 	{"\U0001f1eb\U0001f1ee", "flag: Finland", []string{"finland"}, "6.0", false}, 	{"\U0001f525", "fire", []string{"fire"}, "6.0", false},-	{"\U0001f692", "fire engine", []string{"fire_engine"}, "6.0", false},+	{"\U0001f692", "fire db.Engine", []string{"fire_engine"}, "6.0", false},

nope

lunny

comment created time in 7 days

PullRequestReviewEvent
PullRequestReviewEvent

PR opened go-gitea/gitea

Render full plain readme

closes #17077

The old code just rendered the first 1024 bytes.

+4 -0

0 comment

1 changed file

pr created time in 7 days

create barnchKN4CK3R/gitea

branch : fix-17077

created branch time in 7 days

PullRequestReviewEvent

issue commentgo-gitea/gitea

Support pikchr in Markdown renderer

Alternative usage could be like https://docs.gitea.io/en-us/customizing-gitea/#example-plantuml

melak

comment created time in 9 days

Pull request review commentgo-gitea/gitea

Nicely handle missing user in collaborations

 func (repo *Repository) getCollaborators(e Engine, listOptions ListOptions) ([]* 		return nil, fmt.Errorf("getCollaborations: %v", err) 	} -	collaborators := make([]*Collaborator, len(collaborations))-	for i, c := range collaborations {+	collaborators := make([]*Collaborator, 0, len(collaborations))+	for _, c := range collaborations { 		user, err := getUserByID(e, c.UserID) 		if err != nil {+			if IsErrUserNotExist(err) {+				log.Warn("Inconsistent DB: User: %d is listed as collaborator of %-v but does not exist", c.UserID, repo)+				collaborators = append(collaborators, &Collaborator{+					User:          NewGhostUser(),+					Collaboration: c,+				})+				continue+			} 			return nil, err
			if IsErrUserNotExist(err) {
				log.Warn("Inconsistent DB: User: %d is listed as collaborator of %-v but does not exist", c.UserID, repo)
				user = NewGhostUser()
			} else {
				return nil, err
			}
zeripath

comment created time in 9 days

PullRequestReviewEvent

delete branch KN4CK3R/gitea

delete branch : refactor-paginator

delete time in 10 days

push eventKN4CK3R/gitea

zeripath

commit sha 04b233e9408296fa14eb7623b7dbe0d98c1865f1

Always emit the configuration path (#17036) Often when handling problems it is not clear which configuration file Gitea is using. This PR simply ensures that the configuration file is emitted. Signed-off-by: Andrew Thornton <art27@cantab.net>

view details

zeripath

commit sha 26ef180f466046f9cfab87eea5ea93f5d6da6998

Correctly rollback in ForkRepository (#17034) The rollback functionality in services/repository/repository.go:ForkRepository is incorrect and could lead to a deadlock as it uses DeleteRepository to delete the rolled-back repository - a function which creates its own transaction. This PR adjusts the rollback function to only use RemoveAll as any database changes will be automatically rolled-back. It also handles panics and adjusts the Close within WithTx to ensure that if there is a panic the session will always be closed. Signed-off-by: Andrew Thornton <art27@cantab.net>

view details

zeripath

commit sha 0a542dd59f8061797976f33690bf10357aa0b0ad

Decrement Fork Num when converting from Fork (#17035) When converting repositories from forks to normal the root NumFork needs to be decremented too. Fix #17026 Signed-off-by: Andrew Thornton <art27@cantab.net>

view details

KN4CK3R

commit sha 87505a9464a2c2c9d16547e06b0c922518dea73c

Add `AbsoluteListOptions` (#17028) This PR adds a `ListOptions` type which is not paged but uses absolute values. It is implemented as discussed in Discord. Extracted from #16510 to clean that PR.

view details

KN4CK3R

commit sha d1863423135b525d62aeb7b0f248d93ecc564987

Merge branch 'main' of https://github.com/go-gitea/gitea into feature-packages

view details

push time in 10 days

push eventKN4CK3R/gitea

zeripath

commit sha 248b96d8a38b2d52a73d7091a82f688f4688295e

Use git attributes to determine generated and vendored status for language stats and diffs (#16773) Replaces #16262 Replaces #16250 Replaces #14833 This PR first implements a `git check-attr` pipe reader - using `git check-attr --stdin -z --cached` - taking account of the change in the output format in git 1.8.5 and creates a helper function to read a tree into a temporary index file for that pipe reader. It then wires this in to the language stats helper and into the git diff generation. Files which are marked generated will be folded by default. Fixes #14786 Fixes #12653

view details

zeripath

commit sha 0faf175694e5692d933d06b07d87dedd2b6e55f5

Fix missing close in WalkGitLog (#17008) When the external context is cancelled it is possible for the GitLogReader to not itself be Closed. This PR does three things: 1. Instead of adding a plain defer it wraps the `g.Close` in a func as `g` may change. 2. It adds the missing explicit g.Close - although the defer fix makes this unnecessary. 3. It passes down the external context as the base context for the GitLogReader meaning that the cancellation of the external context will pass down automatically. Fix #17007 Signed-off-by: Andrew Thornton <art27@cantab.net>

view details

Romain

commit sha 9a938dc2980667bf4cbdb3af45c32f561af4bec4

Add "new issue" button on project (#17001) * Add "new issue" button on project

view details

6543

commit sha 51578d64188a7077848cb60d3ead8e818637ab59

Calculate label URL on API (#16186) close #8028

view details

zeripath

commit sha 9ca0e7905c24f18ed246e65397589f0f41b50506

Add setting to OAuth handlers to skip local 2FA authentication (#16594) This PR adds a setting to OAuth and OpenID login sources to allow the source to skip local 2FA authentication. Fix #13939 Signed-off-by: Andrew Thornton <art27@cantab.net>

view details

6543

commit sha 77f604a9284887758e604e92d2c9b40697db0a23

Add skip and limit to git.GetTags (#16897) * Make GetTags() api similar to GetBranches() * Use it for Tag/Release page

view details

zeripath

commit sha f394019e9d2db7be730ac3f972a6f509bf78bc03

Report the associated filter if there is an error in LDAP (#17014) If there is an error when performing the admin or restricted filter search ensure that the filter and the userDN are reported. Signed-off-by: Andrew Thornton <art27@cantab.net>

view details

GiteaBot

commit sha eb03e819d323f6374d0a99a5b80d4674a18fa957

[skip ci] Updated translations via Crowdin

view details

Jimmy Praet

commit sha 3d6cb25e315c0d4249c5c749a2eb8c64ec463aad

Support unprotected file patterns (#16395) Fixes #16381 Note that changes to unprotected files via the web editor still cannot be pushed directly to the protected branch. I could easily add such support for edits and deletes if needed. But for adding, uploading or renaming unprotected files, it is not trivial. * Extract & Move GetAffectedFiles to modules/git

view details

GiteaBot

commit sha 20a2e26e99d99f3577dc01819b0bf074249d8469

[skip ci] Updated translations via Crowdin

view details

Tchoupinax

commit sha 77b95fd766ac92c46ed5e1754ab9c32ee4bc7347

Fix overflow label in mobile view (#17020)

view details

Jimmy Praet

commit sha aac7f68af1a145fc772c018ed98f34b1af34b637

Fix reset password email template (#17025) Removed unused variable passed to mail.link_not_working_do_paste Co-authored-by: 6543 <6543@obermui.de>

view details

zeripath

commit sha a334a95a3c7f97b2a60fc87f5ada5ce139b07ffe

Use common sessioner for API and Web (#17027) * Use common sessioner for API and Web Instead of creating separate sessioner and doubly initialising the provider just use the same sessioner for the API and Web routes. Signed-off-by: Andrew Thornton <art27@cantab.net>

view details

Alexey 〒erentyev

commit sha 7c84c9423246c0bd65a151897822adc298933e45

fixed create repo page layout (#17012) Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

view details

GiteaBot

commit sha 132c8c43e10d4953ecd091b4b8d7343344319839

[skip ci] Updated translations via Crowdin

view details

zeripath

commit sha 8af7a21085b73379e5f268c7a52ea77c51bb9246

Update go-chi/session (fixes "race" in tests) (#17031) Update to latest go-chi/session where the NewManager causes a new Provider instantiation instead of reconfiguring an old one. (https://gitea.com/go-chi/session/pulls/1) The NewManager call is now concurrency safe and would allow live reconfiguration in future but for now this PR simply fixes an intermittent "data-race" detected in our tests. (See https://drone.gitea.io/go-gitea/gitea/43900/2/14) Related #17027 Related #1441 Signed-off-by: Andrew Thornton <art27@cantab.net>

view details

KN4CK3R

commit sha 2b9574e4878d0556a232da418bbb5b9833ca0a0c

Fixed comments.

view details

KN4CK3R

commit sha 42aa0980a00c0823f9e8af4c89e77b2cb332eb91

Merge branch 'main' of https://github.com/go-gitea/gitea into feature-packages

view details

KN4CK3R

commit sha b9e6fb17572f765122ab085cd14d9b48affd9e57

Fixed postgres test.

view details

push time in 12 days

PullRequestReviewEvent

PR opened go-gitea/gitea

Add `AbsoluteListOptions`

This PR adds a ListOptions type which is not paged but uses absolute values. It is implemented as discussed in Discord. Extracted from #16510 to clean that PR.

+159 -56

0 comment

29 changed files

pr created time in 12 days

create barnchKN4CK3R/gitea

branch : refactor-paginator

created branch time in 12 days

delete branch KN4CK3R/gitea

delete branch : feature-gitattributes

delete time in 12 days

delete branch KN4CK3R/gitea

delete branch : feature-gitattributes-checkattr

delete time in 12 days

delete branch KN4CK3R/gitea

delete branch : backport-16750

delete time in 12 days

delete branch KN4CK3R/gitea

delete branch : backport-16997

delete time in 12 days