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
Commits
8375d986
Commit
8375d986
authored
6 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Plain Diff
Merge branch 'deleteInactiveUsers' into 'master'
Delete inactive users See merge request
!10
parents
869ed525
602552d4
1 merge request
!10
Delete inactive users
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/views/logged_in
+3
-0
3 additions, 0 deletions
src/main/resources/views/logged_in
with
3 additions
and
0 deletions
src/main/resources/views/logged_in
+
3
−
0
View file @
8375d986
...
...
@@ -8,6 +8,9 @@
"visited_sessions_by_user": {
"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": {
"map": "function(doc) {\n if (doc.type == 'logged_in' && doc.user.indexOf('Guest') === 0) {\n emit(doc.timestamp || 0, {_rev: doc._rev});\n }\n}"
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment