Commit Graph

2388 Commits

Author SHA1 Message Date
Rsl1122
ccb2498d38 Bugfixes, identified possible database bug (Refactor caused)
Fix #78 #73 #79

- database might not be giving correct results for user id.
2017-05-01 12:35:23 +03:00
Rsl1122
e46dcfa535 More fix attempts, refactored the SQLDB class 2017-05-01 11:45:02 +03:00
Rsl1122
db71a98f8f Added Debug logging to figure out the bugs
Attempted to fix bugs, failed.
2017-04-29 11:49:16 +03:00
Rsl1122
59021f815c Added Qinspect and Qanalyze commands, found bugs
- Sessions sometimes reset
- Playtime not correctly calculated.
2017-04-28 16:57:00 +03:00
Rsl1122
9d77cf1790 Merge pull request #76 from Rsl1122/Listener-system-revamp [3.0.0-SNAPSHOT]
3.0.0-SNAPSHOT Listener system revamp
2017-04-28 15:08:17 +03:00
Rsl1122
d6a6d5e20b Bugfixes & Some javadoc
- Fixed all issues with saving, data is now saved accurately.
- Ready for pull request
2017-04-28 15:05:47 +03:00
Rsl1122
58ca5f9d2c Changed how permissions are used internally 2017-04-19 16:59:48 +03:00
Rsl1122
f9dbb2336a Create README.md 2017-04-19 16:57:51 +03:00
Rsl1122
504ab5dd73 Probably fixed session saving 2017-04-12 09:08:17 +03:00
Rsl1122
7c90a66a98 Back to 2.9.3 to allow merge 2017-04-10 20:08:44 +03:00
Rsl1122
12f3d31525 Changed the pool to a BlockingQueue, Broke Session saving
Fix #75
2017-04-10 20:07:44 +03:00
Rsl1122
c95260bd1f More tests for the new Processing
Pit report:
Total - 29% line coverage & 22% mutation coverage (1236/4253 & 436/1982)
The new processing - 75% & 77%

One class to test before testing cache
After that tests on the server and merge.
2017-04-10 14:52:09 +03:00
Rsl1122
d0ee96b3ab New Event Processing system.
Pit Report:
Total - Line coverage: 1157/4258 (27%) | Mutation: 399/1978 (20%)
New test areas:
- The new processing system: 55% and 51%
- Database: 53% and 45%

New processing system pools event information and processes it every 60
seconds.
Testing & Timings required
2017-04-10 09:09:54 +03:00
Rsl1122
af8616a208 More mock & test fixes 2017-04-04 21:31:13 +03:00
Rsl1122
39ed2de9dd Fixed most of the already written tests with Mocking
**Pit**
Line coverage: 613/4256 (14%)
Mutation coverage 181/1975 (9%)

Next step is to mock scheduler to be able to test database with unit
tests.
2017-04-03 21:55:33 +03:00
Rsl1122
de28ed4612 [2.9.3] Fixed colors for commands
Ignored all tests because they will require getConfig method to be
mocked. (Settings Enum requires config, Phrase uses Settings for color
codes)
2017-04-02 12:41:01 +03:00
Rsl1122
f53d041f9e [2.9.2] Fix #72 #71 2017-04-02 12:13:46 +03:00
Rsl1122
110057684e More tests and changes to allow more tests 2017-04-01 13:40:48 +03:00
Rsl1122
0feef90973 Added some unit tests & Pit and Checkstyle tools 2017-03-31 20:34:21 +03:00
Rsl1122
aaae83cb0a [2.9.1] Bugfixes
Fixed #70 #69 #68 #67 #66 #64
- Changed some things to use Map instead of HashMap
2017-03-31 16:41:49 +03:00
Rsl1122
769fc0d27e Update Class Diagram.xml 2017-03-31 12:16:00 +03:00
Rsl1122
42f7503e55 Update Class Diagram.xml 2017-03-27 19:33:15 +03:00
Rsl1122
5740cab768 Update Class Diagram.xml 2017-03-27 15:01:02 +03:00
Rsl1122
2732549b82 Update Class Diagram.xml 2017-03-27 13:50:26 +03:00
Rsl1122
15e4140100 Added Class Diagram.xml 2017-03-27 12:25:05 +03:00
Rsl1122
e593588c86 [2.9.0] Release 2017-03-23 11:15:39 +02:00
Rsl1122
9e6c342f89 [2.9.0-DEV] Bugfixes
Fix #61 #58 #56 #57 #59
- Fixed GamemodeTimesHandler giving NPE if a gamemode is null.
- Fixed ArrayOutOfBounds if sessions is empty.
- Fixed randomly caused NPE when transforming sessions to length values
(also improved it)

Demographics tab not yet finished.
2017-03-20 14:50:29 +02:00
Rsl1122
388f669fb1 Rename locale_DE to locale_DE.txt 2017-03-19 19:05:29 +02:00
Rsl1122
da06c97238 Merge pull request #60 from Eyremba/patch-1
Added a translation for the German language. (By Eyremba)
2017-03-19 19:04:43 +02:00
Eyremba
b238eb23ad Update locale_DE 2017-03-19 17:43:13 +01:00
Eyremba
5961607a8b Added a translation for the German language.
Version 1.0.
Further optimisations may come if I find anything which can be formulated in a better way.
2017-03-19 17:40:00 +01:00
Rsl1122
43a693403d [2.9.0-DEV] Added demographics tab to analysis page, Bugfixes
Fix #53
Fix #54
2017-03-18 22:40:14 +02:00
Rsl1122
8522e2fb05 [2.8.4] Bugfixes, tostring methods
Attempt to fix #50
2017-03-15 21:54:26 +02:00
Rsl1122
989dc17a4f [2.8.4-DEV] Moved things around, Improvements, Bugfixes
- Fixed new bugs found while creating tests with PlanDebug #47
- Moved manage things around to remove copy-paste code. New ManageUtils
class
- Made analyze more flexible, now allows analysis of any abstract
Database class' data.
- Moved RecentPlayerButtons creation to new class
2017-03-12 21:41:19 +02:00
Rsl1122
ce6b961e99 [2.8.4-DEV] Bugfixes
Fixed #52
Fixed 10 issues found by PlanDebugger #47
2017-03-12 14:18:07 +02:00
Rsl1122
39bb967e08 [2.8.3] Fix #44 2017-03-11 10:05:50 +02:00
Rsl1122
3a5e94ff3c Create ISSUE_TEMPLATE 2017-03-11 09:54:54 +02:00
Rsl1122
a35e4fe940 Fix #45 & small things
- Fixed Equals method for UserData
2017-03-11 09:31:54 +02:00
Rsl1122
446af674b8 [2.8.2[ Added config suggestions from #43 Fix #42 2017-03-10 21:48:25 +02:00
Rsl1122
236a2bd702 Fixed #41 #26
UserData is now copied to avoid null pointer exception after some data
is removed from cache while analysis is running.
Additionally added access and stopAccessing to analysis in case the copy
constructor is somehow flawed, to prevent the data from getting cleared
while analysis is being run.
Also added clear prevention to inspect cache if the data is accessed.
2017-03-09 20:52:05 +02:00
Rsl1122
ef57c59d43 Added repo to pom 2017-03-07 09:19:23 +02:00
Rsl1122
d6fe6af5a0 [2.8.0] Added gm chart back, minor fixes to html 2017-03-06 11:40:07 +02:00
Rsl1122
1abdc26a11 [2.8.0-SNAPSHOT] Further improvements to Html
Fixes for #38 #37 #36
Inspect page html improved
- Removed piechart
Added Session average to inspect & analysis pages
Empty javadoc parts generated
2017-03-05 14:13:25 +02:00
Rsl1122
09a3de2535 [2.8.0-SNAPSHOT] Improved data visualization on analysis page
- Added icon library
- Changed default color of adventure slice
- Added boxes, lots of boxes.
- Added total number of unique commands
2017-03-05 00:12:32 +02:00
Rsl1122
87a3a93f25 [2.7.3] Fix for #35, few icons to analysis 2017-03-04 20:24:39 +02:00
Rsl1122
549cefd098 Bugfix attempts & Error message change
- Changed "Plan has run into error..." to include error type
- More attempts to fix #26
- Null checks for uuid
- Now not saving userdata when uuid = null
- If uuid = null, data will not be fetched.
2017-03-01 11:47:14 +02:00
Rsl1122
75e1cf3e85 [2.7.2] Bugfixes & Optimization
Fix for #31 #30 #29 #28
Possible fix for #26
2017-02-27 14:08:19 +02:00
Rsl1122
a820da3261 Added a couple null checks in an attempt to fix #26
Cause for NPE still unknown
2017-02-25 22:04:04 +02:00
Rsl1122
814f6771a8 [2.7.1] Inspect page additoins
- Fix for #25
- Removed manage combine command
- Added stuff to inspect page
- Factions power now rounded to two decimals
2017-02-25 10:56:39 +02:00
Rsl1122
4ca64e05e4 Updated locale files 2017-02-24 22:40:05 +02:00