Commit Graph

36 Commits

Author SHA1 Message Date
Franz Liedke
fcff84fd96 Adopt latest frontend/assets refactoring 2018-11-22 21:59:37 +01:00
Toby Zerner
a70dbf0b46 Make npm package private, update deps, change watch to dev 2018-11-22 07:10:31 +10:30
Toby Zerner
589b27bb7d Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-22 07:09:18 +10:30
Toby Zerner
11bc314177 Remove copyright year from LICENSE 2018-11-22 07:08:59 +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
Franz Liedke
6d2ebadcbf Use Frontend extender for embedding statistics in admin frontend
Refs flarum/core#1602, flarum/core#1608.
2018-10-21 22:36:19 +02:00
Toby Zerner
54266ea341 Rename package 2018-10-21 15:16:05 +10:30
Franz Liedke
0d592cfcff Adopt database changes in flarum/core 2018-10-21 00:58:43 +02:00
Franz Liedke
aee0d4a856 Rename bootstrap.php 2018-10-17 23:41:09 +02:00
Arda Çebi
39bf15f026 Icon addition (#6) 2018-08-19 23:34:22 +02:00
Wiwat Srisattha
7672d610c3 Use new Frontend extender (#5)
* Update bootstrap.php

* Update bootstrap.php
2018-07-27 11:38:42 +02:00
flarum-bot
522bae8f30 Bundled output for commit d81f7509b4 [skip ci] 2018-06-20 05:24:52 +00:00
Toby Zerner
d81f7509b4 Fix Travis' deploy key 2018-06-20 14:27:52 +09:30
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
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