-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[UPDATED] Simpler logging refactor #16839
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
Closed
uberbrady
wants to merge
29
commits into
grokability:develop
from
uberbrady:simpler_logging_refactor
Closed
Changes from 19 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f7171b9
Move Loggable to Traits directory; use trait boot method for observers
uberbrady 833eb6c
Make all tests pass!!!! YAY!!!!
uberbrady 53b21cd
Move Requestable into Traits as well - because why not?
uberbrady 504091c
Back out unnecessary change
uberbrady a4538a8
Cleanups, fixing FIXME's
uberbrady 50ef2a2
Merge branch 'develop' into refactor_logging_squashed_rebased
uberbrady 57feb51
get rid of log messages
uberbrady 511995a
Merge branch 'develop' into refactor_logging_squashed_rebased
uberbrady 7c593d1
Loggable trait is moved
uberbrady 885205e
Make new uploaded file feature work with new Loggable Trait
uberbrady de6187d
Correctly override log's Location
uberbrady 6b58a36
Merge branch 'develop' into refactor_logging_squashed_rebased
uberbrady d27cd08
Merge branch 'develop' into refactor_logging_squashed_rebased
uberbrady 3f9cada
Merge remote-tracking branch 'upstream/develop' into simpler_logging_…
uberbrady 7b9e09b
Re-work to get rid of logAndSaveIfNeeded completely
uberbrady 11608e0
Merge branch 'develop' into simpler_logging_refactor
uberbrady c90678b
Re-include change from observer
uberbrady 13904e8
Resolving lots of FIXME's
uberbrady a9e872a
Fix FIXME's and fix some tests that were being weird
uberbrady bc16c95
Use built-in 'hidden' attribute rather than custom hide_changes
uberbrady 3832db8
Get rid of double-save on Checkin for Licenses batch script
uberbrady 2d7b37b
Merge branch 'develop' into simpler_logging_refactor
uberbrady b52e311
Merge branch 'develop' into simpler_logging_refactor
uberbrady 16b1307
Fix newly-merged checkin/checkout counter tests (and others) into thi…
uberbrady 2bda961
Merge branch 'develop' into simpler_logging_refactor
uberbrady d9b2794
Merge branch 'develop' into simpler_logging_refactor
uberbrady 2b28518
More tests passing
uberbrady 5cd16cf
Merge branch 'develop' into simpler_logging_refactor
uberbrady 54852c9
More tests passing
uberbrady 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <?php | ||
|
|
||
| namespace App\Enums; | ||
|
|
||
| enum ActionType: string { | ||
| case Restore = 'restore'; | ||
| case TwoFactorReset = '2FA reset'; | ||
| case CheckinFrom = 'checkin from'; | ||
| case RequestCanceled = 'request canceled'; | ||
| case Requested = 'requested'; | ||
| case DeleteSeats = 'delete seats'; | ||
| case AddSeats = 'add seats'; | ||
| case Update = 'update'; | ||
| case Create = 'create'; | ||
| case Delete = 'delete'; | ||
| case Uploaded = 'uploaded'; | ||
| case NoteAdded = 'note added'; | ||
| case Audit = 'audit'; | ||
| case Checkout = 'checkout'; | ||
| } |
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.