Commit Graph

71 Commits

Author SHA1 Message Date
Toby Zerner
a70dbf0b46 Make npm package private, update deps, change watch to dev 2018-11-22 07:10:31 +10:30
flarum-bot
ffd7ac82b9 Bundled output for commit 82534ea43f [skip ci] 2018-11-10 00:51:10 +00:00
Toby Zerner
82534ea43f Re-add some missing options, simplify CSS 2018-11-10 11:16:09 +10:30
David Sevilla Martín
f4a4f0defa Update frappe-charts, use Frontend extender, fix color & comparison CSS 2018-10-21 16:44:06 -04:00
Toby Zerner
54266ea341 Rename package 2018-10-21 15:16:05 +10:30
flarum-bot
522bae8f30 Bundled output for commit d81f7509b4 [skip ci] 2018-06-20 05:24:52 +00:00
Toby Zerner
ad22ac4289 Remove progress flag 2018-06-20 13:57:31 +09:30
Toby Zerner
6eae43688e Webpack (#4)
See https://github.com/flarum/core/pull/1367

* Replace gulp with webpack and npm scripts for JS compilation
* Set up Travis CI to commit compiled JS
* Restructure `js` directory; only one instance of npm, forum/admin are "submodules"
* Restructure `less` directory
2018-06-20 13:35:48 +09:30
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
Toby Zerner
88228df6f2 Clean up some variable/method names 2017-12-19 08:57:55 +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