Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Setup Tool
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Setup Tool
Merge requests
!10
Delete inactive users
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Delete inactive users
deleteInactiveUsers
into
master
Overview
0
Commits
2
Changes
1
Merged
Daniel Gerhardt
requested to merge
deleteInactiveUsers
into
master
6 years ago
Overview
0
Commits
2
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
602552d4
2 commits,
6 years ago
1 file
+
3
−
0
Expand all files
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/main/resources/views/logged_in
+
3
−
0
Options
@@ -8,6 +8,9 @@
@@ -8,6 +8,9 @@
"visited_sessions_by_user": {
"visited_sessions_by_user": {
"map": "function(doc) { if(doc.type == 'logged_in') { emit(doc.user, doc.visitedSessions); }}"
"map": "function(doc) { if(doc.type == 'logged_in') { emit(doc.user, doc.visitedSessions); }}"
},
},
"by_last_activity": {
"map": "function(doc) {\n if (doc.type == 'logged_in' && !doc.anonymized) {\n emit(doc.timestamp || 0, null);\n }\n}"
},
"by_last_activity_for_guests": {
"by_last_activity_for_guests": {
"map": "function(doc) {\n if (doc.type == 'logged_in' && doc.user.indexOf('Guest') === 0) {\n emit(doc.timestamp || 0, {_rev: doc._rev});\n }\n}"
"map": "function(doc) {\n if (doc.type == 'logged_in' && doc.user.indexOf('Guest') === 0) {\n emit(doc.timestamp || 0, {_rev: doc._rev});\n }\n}"
}
}