- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.2k
Add Audit Trail/Logging #24257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Open
      
      
            KN4CK3R
  wants to merge
  86
  commits into
  go-gitea:main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
KN4CK3R:feature-audit
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
      
        
          +3,644
        
        
          −485
        
        
          
        
      
    
  
  
     Open
                    Add Audit Trail/Logging #24257
Changes from 1 commit
      Commits
    
    
            Show all changes
          
          
            86 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      afcb22b
              
                Add audit event logging.
              
              
                KN4CK3R 204b114
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 2dcff01
              
                Added file logging.
              
              
                KN4CK3R 9d7b3c8
              
                Fixes.
              
              
                KN4CK3R 6d7835a
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 6e6305d
              
                Added documentation.
              
              
                KN4CK3R f36f208
              
                Lint docs.
              
              
                KN4CK3R 8939539
              
                Fixed typo.
              
              
                KN4CK3R 7131cf6
              
                Remove errors.Join.
              
              
                KN4CK3R f732ae6
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 0f56aa1
              
                Fix merge error.
              
              
                KN4CK3R 8038aee
              
                Update models/db/context.go
              
              
                KN4CK3R fb3f954
              
                Change method name.
              
              
                KN4CK3R b3779fc
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R c7e989a
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 659c324
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 3c613b3
              
                Remove notice appender.
              
              
                KN4CK3R 11ddf58
              
                Use errors.Join.
              
              
                KN4CK3R 033c8fe
              
                lint
              
              
                KN4CK3R 777362e
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 3684f3a
              
                Fix queue merge error.
              
              
                KN4CK3R 7e474a6
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 5615970
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 9e7082b
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 3d1f881
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 2c01fe2
              
                Merge branch 'main' into feature-audit
              
              
                KN4CK3R ab956ba
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 073603f
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 718f1a9
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R f69976e
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 65e4f7c
              
                Add tests.
              
              
                KN4CK3R d1b5a22
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 59aa27f
              
                Apply suggestions.
              
              
                KN4CK3R 1294a00
              
                Merge tests.
              
              
                KN4CK3R d2930ec
              
                Apply suggestions from code review
              
              
                KN4CK3R bf5f725
              
                Fix format string.
              
              
                KN4CK3R d1445eb
              
                Change log message.
              
              
                KN4CK3R 6b0b2f7
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 8d21f95
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 1a28a97
              
                Use new PushMirror.RemoteAddress.
              
              
                KN4CK3R 5d51639
              
                Add some suggestions.
              
              
                KN4CK3R 001727e
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 4c6eabe
              
                Change sudo target.
              
              
                KN4CK3R ec6ae2f
              
                Remove ReleaseReopen.
              
              
                KN4CK3R 10fed1c
              
                Remove todo.
              
              
                KN4CK3R bbb0322
              
                Use existing cron user.
              
              
                KN4CK3R c95c03f
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R d153e4d
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 1fa5edd
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 989fb36
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 41287b9
              
                Add ip address to audit log.
              
              
                KN4CK3R c5ff607
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R d56fae1
              
                Simplify appender.
              
              
                KN4CK3R 20d6fdd
              
                Add database logging.
              
              
                KN4CK3R 8c64051
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 3b945d9
              
                Display audit logs in admin/org/repo settings.
              
              
                KN4CK3R e928e40
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R af5b9b6
              
                fix lint
              
              
                KN4CK3R 9885036
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R fa8d530
              
                lint
              
              
                KN4CK3R 95682a3
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R ec55854
              
                Add some suggestions.
              
              
                KN4CK3R 0de61c3
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 6fffaac
              
                Use individual methods.
              
              
                KN4CK3R 278ca4b
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 3b1336a
              
                Log system startup/shutdown.
              
              
                KN4CK3R d090810
              
                Add audit logs to user settings.
              
              
                KN4CK3R 558fd1a
              
                Update docs.
              
              
                KN4CK3R bcd6f99
              
                Merge branch 'main' into feature-audit
              
              
                delvh ac2b8f3
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 745be63
              
                Add suggestions.
              
              
                KN4CK3R 3b7298b
              
                Merge branch 'main' into feature-audit
              
              
                6543 cfebe22
              
                Apply suggestions from code review
              
              
                KN4CK3R b813aba
              
                Fix migration.
              
              
                KN4CK3R 59f1537
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 4e41c8b
              
                Use `ConfigSectionKeyBool`.
              
              
                KN4CK3R c4d5fd2
              
                Fix context imports.
              
              
                KN4CK3R d6fd348
              
                Fix imports.
              
              
                KN4CK3R 12dc51c
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 3a919d2
              
                Fix typo.
              
              
                KN4CK3R 9482ee0
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 7ae645e
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R a68292b
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 00359c7
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 694ba9b
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R 4644d76
              
                Merge branch 'main' of https://github.com/go-gitea/gitea into feature…
              
              
                KN4CK3R File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.