Ammar Fadhlur Rahman
bc8960c3ec
Change fa icon prefix to fas
2018-05-10 15:02:22 +07:00
AFR
cc50059f57
Adapt to FontAwesome v5.0.6 icon name changes ( #2 )
2018-02-23 23:44:35 +01:00
Miles Cellar
6d8a50942f
Update license year range to 2018
2018-01-15 19:36:58 +01:00
Toby Zerner
dd0a7d9163
Require beta 8
2018-01-11 12:26:40 +10:30
Toby Zerner
21f99335bf
Fix a stray class name
2017-12-27 16:06:37 +10:30
Toby Zerner
cd2d56fd99
lists → pluck for Laravel 5.5
2017-12-27 16:06:27 +10:30
Toby Zerner
a1fe93f355
Update namespaces for beta 8
2017-12-27 09:52:45 +10:30
Toby Zerner
88228df6f2
Clean up some variable/method names
2017-12-19 08:57:55 +10:30
Toby Zerner
d827fd36fe
Prevent statistics from being loaded outside of admin
...
closes flarum/core#1311
2017-12-19 08:52:13 +10:30
Toby Zerner
d56b792a9d
I think we're finally good with the timezone stuff now?
...
MySQL's UNIX_TIMESTAMP function interprets the date using MySQL's
configured timezone, which we don't want (may be misconfigured etc).
Instead, now we do the conversion to a timestamp on the PHP side. Then
JavaScript is given the offset between UTC and the configure timezone
so it can work out how to display the data.
2017-12-11 22:42:51 +10:30
Toby Zerner
6857d32d22
Add "today" period with hourly breakdown, and fix timezone issues
...
This fix ensures that before aggregating daily/hourly statistics, dates
are converted into the local timezone ("flarum-statistics.timezone" in
the settings table).
2017-12-11 19:01:38 +10:30
Toby Zerner
8860def12e
Only show this period's value in tooltip
2017-12-11 18:53:47 +10:30
Toby Zerner
b65ad8a5ce
Only update chart values if needed
2017-12-11 18:52:54 +10:30
Toby Zerner
3f1f92b565
Show a tick next to the selected period
2017-12-11 18:48:32 +10:30
Toby Zerner
ae063b52e8
Fix date range sometimes leaving out today
2017-12-11 07:52:48 +10:30
Toby Zerner
898469e398
Display tweaks
2017-12-11 07:52:05 +10:30
Toby Zerner
410dd2c679
Set default period to last 7 days
2017-12-10 21:26:54 +10:30
Toby Zerner
1780448e70
Abbreviate numbers
2017-12-10 21:26:42 +10:30
Toby Zerner
a595d9e846
Initial commit
2017-12-10 21:11:13 +10:30