-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add user last seen information #4765
Open
luismulinari
wants to merge
47
commits into
develop
Choose a base branch
from
add/users-last-seen
base: develop
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.
+812
−0
Open
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
006ac0e
Add user last seen information
luismulinari 5fadcf7
Linting fixes
luismulinari e122725
Code review suggestions
luismulinari 6de9dd9
Lockdown inactive users
luismulinari 141bb9a
Merge branch 'develop' into add/users-last-seen
luismulinari e920989
Fix priority
luismulinari 5a4a93d
Fix filter
luismulinari 2b5f8f6
Simplify code execution flow
luismulinari 91fcbe1
Apply suggestions from code review
luismulinari dd56cdd
Apply suggestions from code review
luismulinari bf897f2
Merge branch 'develop' into add/users-last-seen
luismulinari d8ba237
Add last seen to network users list
luismulinari 8cf88fd
Move the logic to a class
luismulinari df19032
Merge branch 'develop' into add/users-last-seen
luismulinari 267e26f
Add unit tests
luismulinari 26bdd27
Linting fixes
luismulinari d1bdbb4
Fix tests to run on WP 5.8
luismulinari eef4ca2
Merge branch 'develop' into add/users-last-seen
luismulinari 5287197
Update test-user-last-seen.php
luismulinari ccdb6b4
Merge branch 'develop' into add/users-last-seen
luismulinari bb49b0c
Code review suggestions
luismulinari c74c4bb
Check user caps inside is_considered_inactive
luismulinari c96617c
Merge branch 'develop' into add/users-last-seen
luismulinari 30394d5
Merge branch 'develop' into add/users-last-seen
luismulinari 82ad874
Merge branch 'develop' into add/users-last-seen
luismulinari d5adcb4
Couple tweaks
WPprodigy f7ef136
Introduce ignore inactivity check until
luismulinari d902171
Add extra time when user is promoted to prevent user lockdown
luismulinari 33ace77
Merge branch 'develop' into add/users-last-seen
luismulinari ed87a3e
Add tests; Fix linting
9cb737b
Fix linting
luismulinari 5e37e4b
Merge branch 'develop' into add/users-last-seen
luismulinari 3dc2715
Avoid using determine_user filter
luismulinari 5e2d1b1
Merge branch 'develop' into add/users-last-seen
luismulinari 550b4c4
Register activity on set_current_user and rest_authentication_errors
luismulinari d622840
Merge branch 'develop' into add/users-last-seen
luismulinari a4275c9
Merge branch 'develop' into add/users-last-seen
WPprodigy 24b1f82
Use the determine_current_user filter to record activity; Use the wp_…
luismulinari 182dc0d
Use a class property rather than a global
luismulinari 6831bd7
Merge branch 'develop' into add/users-last-seen
luismulinari 53c9bbb
Merge branch 'develop' into add/users-last-seen
luismulinari bebe719
Merge branch 'develop' into add/users-last-seen
luismulinari b70f9a2
Merge branch 'develop' into add/users-last-seen
rinatkhaziev 617ff07
Merge branch 'develop' into add/users-last-seen
luismulinari 37eb090
Check if constant is defined before using it
luismulinari dff4503
Merge branch 'develop' into add/users-last-seen
luismulinari 0bad466
Merge branch 'develop' into add/users-last-seen
luismulinari 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use a class property rather than a global
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. Done: 182dc0d