Commit Graph

16 Commits (65b6ebf24392efd30b087b33d9666fbaa821f2a2)

Author SHA1 Message Date
SagePtr 043ab2cd59 Fix null pointer dereference in ParseCommitWithSignature ()
Morgan Bazalgette b730498f02 Don't write to log NoCommitterAccount ()
* Don't write to log NoCommitterAccount

It's way too verbose, and the information is also printed to the user
already. Fixes .

* ignore err only if it's a ErrUserNotExist

* Replace with IsErrUserNotExist
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage ()
* refactor struct's time to remove unnecessary memory usage

* use AsTimePtr simple code

* fix tests

* fix time compare

* fix template on gpg

* use AddDuration instead of Add
Julian Scholle 92123fe82a GPG key email verification no longer case sensitive () ()
* GPG key email verification no longer case sensitive ()

* case insensitive GPG key email verification now cached ()

Signed-off-by: Julian Scholle <julian.scholle@googlemail.com>
Ethan Koenig aa962deec0 Replace deprecated Id method with ID ()
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs ()
* use AfterLoad instead of AfterSet on Structs

* fix the comments on AfterLoad

* fix the comments on action AfterLoad
Ethan Koenig 4cb9394a97 Fix lint errors ()
Antoine GIRARD 7c417bbb0d Only check at least one email gpg key ()
* Only require one email (possibly not yet validated)

* Update message error and check validation of commit

* Add integrations tests

* Complete integration for import

* Add pre-check/optimization

* Add some test (not finished)

* Finish

* Fix fixtures

* Fix typo

* Don't guess key ID
Lunny Xiao 33f3165296 remove unnecessary blank lines and wrong error log
Lauris BH 6db387a21e Refactor session close as xorm already does everything needed internally ()
Lauris BH 1a906f800d Fix GPG email checking to be case insensitive ()
Antoine GIRARD 274149dd14 Switch to keybase go-crypto (for some elliptic curve key) + test ()
* Switch to keybase go-crypto (for some elliptic curve key) + test

* Use assert.NoError 

and add a little more context to failing test description

* Use assert.(No)Error everywhere 🌈

and assert.Error in place of .Nil/.NotNil
Antoine GIRARD 8371f94d06 Rework SSH key management UI to add GPG ()
* Rework SSH key management UI to add GPG

* Add more detail to gpg key display

* Update CHANGELOG.md

* Implement deletion UI

* Implement adding gpg UI

* Various fixes

- Fix duplicate entry in locale
- Re-generate hash before verification since they are consumed

* Add missing translation

* Split template

* Catch not found/verified email error
Antoine GIRARD 14fe9010ae GPG commit validation ()
* GPG commit validation

* Add translation

+ some little fix

* Move hash calc after retrieving of potential key + missing translation

* Add some little test
Lunny Xiao 608cd54a68 fix gpg wrong column types
Antoine GIRARD ca1c3f1926 Implement GPG api ()
* Implement GPG API

* Better handle error

* Apply review recommendation + simplify database operations

* Remove useless comments