1
0
mirror of https://github.com/flarum/core.git synced 2025-08-22 08:04:37 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
dependabot[bot]
37a882118a chore(deps): bump glob-parent from 3.1.0 to 5.1.2 in /extensions/emoji/js (#3345)
* chore(deps): bump glob-parent in /extensions/emoji/js

Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 3.1.0 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v3.1.0...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Apply fixes from StyleCI

[ci skip] [skip ci]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2022-03-11 18:11:20 -05:00
SKmedix
3b838dfd01 🐛 Make sure summed value is a number (#14) 2021-01-05 16:41:00 -05:00
Alexander Skvortsov
9c60a0f9f3 Move AddStatisticsData out of Listener folder since it isn't a listener 2020-12-08 13:08:26 -05:00
Franz Liedke
79c7cf00d4 Apply fixes from StyleCI 2019-11-29 23:17:19 +00:00
Franz Liedke
fcff84fd96 Adopt latest frontend/assets refactoring 2018-11-22 21:59:37 +01: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
Franz Liedke
0d592cfcff Adopt database changes in flarum/core 2018-10-21 00:58:43 +02:00
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
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
a595d9e846 Initial commit 2017-12-10 21:11:13 +10:30