-
Notifications
You must be signed in to change notification settings - Fork 26
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
pavel.stastny
committed
Apr 13, 2021
1 parent
3417ad6
commit ae6f13c
Showing
93 changed files
with
2,529 additions
and
584 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 |
---|---|---|
|
@@ -57,7 +57,7 @@ repositories { | |
|
||
allprojects { | ||
group = 'cz.incad.kramerius' | ||
version = '5.5.0' | ||
version = '5.6.0' | ||
} | ||
|
||
/** | ||
|
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
2 changes: 1 addition & 1 deletion
2
common/src/main/java/cz/incad/kramerius/database/impl/res/current.db.version
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 |
---|---|---|
@@ -1 +1 @@ | ||
6.6.6 | ||
6.6.7 |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,5 +71,8 @@ public interface StatisticsAccessLog { | |
* @return | ||
*/ | ||
public StatisticReport getReportById(String reportId); | ||
|
||
|
||
|
||
|
||
|
||
} |
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
22 changes: 22 additions & 0 deletions
22
...n/src/main/java/cz/incad/kramerius/statistics/accesslogs/AbstractStatisticsAccessLog.java
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,22 @@ | ||
package cz.incad.kramerius.statistics.accesslogs; | ||
|
||
import cz.incad.kramerius.statistics.ReportedAction; | ||
import cz.incad.kramerius.statistics.StatisticsAccessLog; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
public abstract class AbstractStatisticsAccessLog implements StatisticsAccessLog { | ||
|
||
static Map<String, ReportedAction> ACTIONS = new HashMap<>(); | ||
static { | ||
AbstractStatisticsAccessLog.ACTIONS.put("img", ReportedAction.READ); | ||
AbstractStatisticsAccessLog.ACTIONS.put("pdf", ReportedAction.PDF); | ||
AbstractStatisticsAccessLog.ACTIONS.put("print", ReportedAction.PRINT); | ||
AbstractStatisticsAccessLog.ACTIONS.put("zoomify", ReportedAction.READ); | ||
} | ||
|
||
protected ThreadLocal<ReportedAction> reportedAction = new ThreadLocal<ReportedAction>(); | ||
|
||
|
||
} |
Oops, something went wrong.