Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
148 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"separateMethodMetaAndSource" : false, | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
Empty file.
4 changes: 4 additions & 0 deletions
4
Scolr-stats.package/ScolrStats.class/instance/activeAccessCredentials.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
private | ||
activeAccessCredentials | ||
^ ReviewnatorFileBasedConfiguration singleton accessCredentials | ||
reject: [ :each | each isAdmin | each isActive not ] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
api | ||
asCsvOn: aFilename | ||
| writer | | ||
writer := NeoCSVWriter on: aFilename asFileReference writeStream. | ||
writer | ||
writeHeader: | ||
#('Owner' 'Created' 'Code' 'Sets' 'Articles' 'Included' 'Contributors' 'Tags' 'Reviews'). | ||
stats | ||
do: [ :each | | ||
writer | ||
nextPut: | ||
{each owner. | ||
each creationDate ddmmyyyy. | ||
each accessCode. | ||
each resultSetsCount. | ||
each totalArticleCount. | ||
each includedArticleCount. | ||
each contributors size. | ||
each tagCloud size. | ||
each reviewsCount} ]. | ||
writer close |
5 changes: 5 additions & 0 deletions
5
Scolr-stats.package/ScolrStats.class/instance/repositoryNamed..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
private | ||
repositoryNamed: name | ||
^ ChangeUnawareJsonRepository | ||
storageFolderName: ReviewnatorFileBasedConfiguration storageFoldername | ||
repositoryFilename: name |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
api | ||
update | ||
stats := self activeAccessCredentials | ||
collect: [ :credential | | ||
self | ||
visitReview: (self repositoryNamed: credential repositoryFilename) coReview | ||
withAccessCode: credential repositoryFilename | ||
createdOn: credential modificationDate | ||
requestedBy: credential requestorsEmail ] |
13 changes: 13 additions & 0 deletions
13
...ts.package/ScolrStats.class/instance/visitReview.withAccessCode.createdOn.requestedBy..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
private | ||
visitReview: coReview withAccessCode: code createdOn: creationDate requestedBy: owner | ||
^ ScolrStatsRecord new | ||
accessCode: code; | ||
creationDate: creationDate; | ||
owner: owner; | ||
resultSetsCount: coReview resultSets size; | ||
totalArticleCount: coReview allArticles size; | ||
includedArticleCount: coReview includedArticles size; | ||
contributors: coReview users; | ||
tagCloud: coReview tagsInUse; | ||
reviewsCount: coReview reviews size; | ||
yourself |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "Object", | ||
"category" : "Scolr-stats", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"stats" | ||
], | ||
"name" : "ScolrStats", | ||
"type" : "normal" | ||
} |
Empty file.
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/accessCode..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
accessCode: anObject | ||
accessCode := anObject |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/accessCode.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
accessCode | ||
^ accessCode |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/contributors..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
contributors: anObject | ||
contributors := anObject |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/contributors.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
contributors | ||
^ contributors |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/creationDate..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
creationDate: anObject | ||
creationDate := anObject |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/creationDate.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
creationDate | ||
^ creationDate |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/includedArticleCount..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
includedArticleCount: anObject | ||
includedArticleCount := anObject |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/includedArticleCount.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
includedArticleCount | ||
^ includedArticleCount |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/owner..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
owner: anObject | ||
owner := anObject |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
owner | ||
^ owner |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/resultSetsCount..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
resultSetsCount: anObject | ||
resultSetsCount := anObject |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/resultSetsCount.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
resultSetsCount | ||
^ resultSetsCount |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/reviewsCount..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
reviewsCount: anObject | ||
reviewsCount := anObject |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/reviewsCount.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
reviewsCount | ||
^ reviewsCount |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/tagCloud..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
tagCloud: anObject | ||
tagCloud := anObject |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/tagCloud.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
tagCloud | ||
^ tagCloud |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/totalArticleCount..st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
totalArticleCount: anObject | ||
totalArticleCount := anObject |
3 changes: 3 additions & 0 deletions
3
Scolr-stats.package/ScolrStatsRecord.class/instance/totalArticleCount.st
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
totalArticleCount | ||
^ totalArticleCount |
21 changes: 21 additions & 0 deletions
21
Scolr-stats.package/ScolrStatsRecord.class/properties.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "Object", | ||
"category" : "Scolr-stats", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"owner", | ||
"creationDate", | ||
"accessCode", | ||
"resultSetsCount", | ||
"totalArticleCount", | ||
"includedArticleCount", | ||
"contributors", | ||
"tagCloud", | ||
"reviewsCount" | ||
], | ||
"name" : "ScolrStatsRecord", | ||
"type" : "normal" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SystemOrganization addCategory: #'Scolr-stats'! |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(name 'Scolr-stats') |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{ } |