Keir Nellyer
f75806d2dd
Ensure messages shown to players are consistent
2016-07-14 21:11:43 +01:00
Keir Nellyer
4ed51b5747
Fix getProfiles and getReports methods
2016-07-14 21:01:49 +01:00
Keir Nellyer
65e8b92c1a
Small refactorings (class relocations and renames)
2016-07-14 20:15:14 +01:00
Keir Nellyer
15b5198dbb
Ensure words are fully capitalised
...
Previously only the first word was capitalised.
2016-07-14 19:25:53 +01:00
Keir Nellyer
7f48151c8c
Made handler messages slightly more prettier
2016-07-14 19:19:16 +01:00
Keir Nellyer
e1adf7d4e2
JavaDocs
2016-07-10 13:32:20 -04:00
Keir Nellyer
3b38a0ab65
Make interval display seconds when interval is less than a minute
2016-07-09 23:51:48 -04:00
Keir Nellyer
e607960b6a
Fix time intervals on report site not displaying correctly
...
Before this would display values such as "0 minute ago" and "1 minutes
ago".
2016-07-09 23:48:14 -04:00
Keir Nellyer
b808121d68
Make ReportResult and ReportMessage timezone friendly.
...
This switches all if not most of the report feature code to using the
new Java 8 date time API since it is much better for handling
timezone's.
This commit also creates a few new methods in UtilTime as they are
used throughout the "report" and "chatsnap" packages. They may also
come in useful for other developers using timezones.
2016-07-09 23:41:39 -04:00
Keir Nellyer
3f8eaf0da7
Missing semi-colon
2016-07-09 22:56:32 -04:00
Keir Nellyer
be8050a556
Make player ranks display better on report site
2016-07-09 22:47:38 -04:00
Keir Nellyer
edf63dcafd
Print exceptions for everything!!!
2016-07-09 18:09:26 -04:00
Keir Nellyer
ac95a59f81
Mark reports as expired when an expired report is detected
...
Also wrote JavaDocs for expireReport and saveReport methods.
2016-07-09 15:47:31 -04:00
Keir Nellyer
d7736e9e02
Wait until report data has been saved to the database, otherwise the
...
message task will not function until it's second iteration
2016-07-09 15:32:46 -04:00
Keir Nellyer
400a6adab2
Show message when report has been closed
...
Also run Bukkit API methods synchronously.
2016-07-09 15:24:41 -04:00
Keir Nellyer
e26ced1438
First report handler detail message should be instant
2016-07-09 14:59:27 -04:00
Keir Nellyer
5c6cac2849
Remove debug line
2016-07-09 14:57:55 -04:00
Keir Nellyer
c909cd4733
A report is active if it is being handled but has not yet been closed
2016-07-09 14:55:42 -04:00
Keir Nellyer
6a78556fda
Ninja fix for previous commit
2016-07-09 14:49:00 -04:00
Keir Nellyer
aadb3df715
A report is no longer active if a result for it has been set
2016-07-09 14:48:26 -04:00
Keir Nellyer
29b1110f6b
Access to SnapshotsManager inside ReportManager is no longer required
2016-07-09 14:40:17 -04:00
Keir Nellyer
1eb3fb4aa3
Modify GET_REPORTS_HANDLING query to ignore closed reports
2016-07-09 14:38:12 -04:00
Keir Nellyer
c98c352546
Prevent reputation from being 0, this causes all reports the player
...
opens to be instantly closed
2016-07-09 14:37:23 -04:00
Keir Nellyer
87df6804c9
Improve code and error logging
2016-07-09 14:36:30 -04:00
Keir Nellyer
0783f3b693
Fix sql error when a report is closed due to expiration
2016-07-09 11:31:51 -04:00
Keir Nellyer
abea5bbf81
Merge branches 'develop' and 'feature/report-v2' of github.com:Mineplex-LLC/Minecraft-PC into feature/report-v2
2016-07-08 23:27:07 -04:00
Keir Nellyer
5c83f09456
SnapshotRepository no longer extends MinecraftRepository
...
It doesn't need to.
2016-07-08 23:26:33 -04:00
Keir Nellyer
d9288277d5
Push chat snapshots from all servers
...
This fixes an issue whereby the handler would not be able to see chat
snapshots unless they begin the handling process whilst connected to
the same server as the offender.
2016-07-08 23:22:55 -04:00
xGamingDudex
b8650d741d
Fixed PC-707
...
Fixed arrows damaging the shooter.
Fixed all instances of arrows bouncing of targets.
2016-07-08 16:48:17 -05:00
xGamingDudex
96d16be5b7
Fixed PC-706
...
Tweaked settings to reasonable values in local testing.
2016-07-08 16:48:11 -05:00
Keir Nellyer
a0d046ab8b
Optimize getting of ReportProfile's from database
2016-07-08 17:14:41 -04:00
cnr
5b98bfddce
Update YouTube link to landing + sub confirmation
2016-07-08 15:20:50 -05:00
Alex-The-Coder
e8a1c9bcba
Add damage check to the Enchantment Handler...
...
...to avoid performing calculations where it is not necessary
2016-07-08 07:42:00 -04:00
Keir Nellyer
1ce1c796f4
Repository classes no longer need to extend MinecraftRepository
2016-07-07 21:12:08 -04:00
Keir Nellyer
b9f1dcbcd5
Make method getReportPrefix(Report)
simpler
2016-07-07 21:05:41 -04:00
Keir Nellyer
8d2916c23e
Create JavaDoc's for all methods in ReportManager
2016-07-07 21:04:16 -04:00
Keir Nellyer
cb555a41ab
Merge branches 'develop' and 'feature/report-v2' of github.com:Mineplex-LLC/Minecraft-PC into feature/report-v2
2016-07-07 20:47:19 -04:00
Keir Nellyer
0dc17bf6fa
Further code cleanup
2016-07-07 18:12:52 -04:00
Keir Nellyer
58df3022a5
Completely remove old staff notifications system
2016-07-07 18:08:19 -04:00
Keir Nellyer
dc566c8fb3
Remove redundant ReportServer entry from Maven POM
2016-07-07 17:59:55 -04:00
Keir Nellyer
bc2b7884ee
Make this code a lot smarter
2016-07-07 17:57:19 -04:00
Keir Nellyer
e6de1ec13e
Renamed for easier understanding of the class's function
2016-07-07 17:51:05 -04:00
Keir Nellyer
aab5daa446
Remove old ReportServer and move site related files to ReportSite
...
directory
2016-07-07 17:49:06 -04:00
Keir Nellyer
4361379eaa
Close expired reports when they are detected
...
This improves performance and allows for easier database maintenance.
2016-07-07 15:35:47 -04:00
Keir Nellyer
4e0287ad03
Re-import report feature classes in Hub and Arcade
2016-07-07 14:01:18 -04:00
Keir Nellyer
77a98bc250
Remove spammy and useless report notifications
2016-07-07 13:58:09 -04:00
Keir Nellyer
fa02b18ffb
These shouldn't be batched as there will only ever be a single query
2016-07-07 13:28:08 -04:00
Keir Nellyer
175c3523f8
Remove todo relating to removal of database cleanup of chat entries
...
after a report has been closed
An external cleanup job/script will be used to remove old data
2016-07-07 13:19:42 -04:00
cnr
443576ba1a
Update YouTube link and send shard reward message
2016-07-06 20:15:41 -05:00
samczsun
63b6158fe4
More UHC Fixes
...
Fixes:
PC-137
PC-138
PC-497
PC-665
PC-710
PC-719
PC-754
Also fixes chunk synchronization issue, plugs potential memory leaks
Fancy spectating
Use enum priorities
2016-07-06 15:55:12 -04:00