Simple forum software for building great communities.
Go to file
David Wheatley 76788efaba
feat(statistics): support for custom date ranges (#3622)
* feat: backend support for statistics custom date ranges
* feat: use seconds-based timestamps on backend instead
* feat: add frontend date selection option
* feat: add tests for lifetime and timed stats
* fix: add error alert when end date is after start date
* fix: wrong label
* fix: no data when start and end date are same day
* fix: use utc dayjs for formatting custom date range on widget
* chore: add dayjs as project dep
* fix: make end date inclusive
* feat: add integration test for custom date period
* fix: incorrect ts expect error comment
* fix: add missing type
* fix: typing errors
* fix(tests): remove type from class attribute definition
* fix: extract default values to function body
* fix: typo
* chore: use small modal
* fix: add missing `FormControl` class
* fix: cast url params to int to enforce type
* chore: `yarn format`

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2022-09-29 13:12:54 +02:00
.github chore: Setup PHPStan Level 5 (#3553) 2022-09-14 15:23:56 +01:00
extensions feat(statistics): support for custom date ranges (#3622) 2022-09-29 13:12:54 +02:00
framework/core Bundled output for commit cf818aae9e 2022-09-23 18:59:15 +00:00
js-packages fix: intellisense imports defaulting to absolute path from src folder (#3549) 2022-08-05 20:23:45 +01:00
php-packages feat(test): Make it possible to extend SetupScript (#3643) 2022-09-23 13:44:17 +02:00
.editorconfig chore: Setup PHPStan Level 5 (#3553) 2022-09-14 15:23:56 +01:00
.gitattributes fix: Assorted Typing Fixes (#3348) 2022-03-23 11:43:14 -04:00
.gitignore fix: first posts having NULL as value for number column (#3414) 2022-05-08 23:21:11 +01:00
.styleci.yml chore: flarum-cli audit infra --fix 2022-03-11 18:02:51 -05:00
CHANGELOG.md chore: remove styleci from changelog 2022-09-13 12:22:45 +02:00
composer.json chore: Setup PHPStan Level 5 (#3553) 2022-09-14 15:23:56 +01:00
flarum-monorepo.json chore: use proper repo for core 2022-05-10 00:42:16 -04:00
package.json feat: use yarn workspaces 2022-03-11 19:12:11 -05:00
phpstan.neon chore: Setup PHPStan Level 5 (#3553) 2022-09-14 15:23:56 +01:00
README.md docs: link logo at the top with the official website (#3552) 2022-07-29 13:43:54 +01:00
yarn.lock feat(subscriptions): add option to send notifications when not caught up (#3503) 2022-08-31 11:13:51 +02:00

PHP Tests Total Downloads Latest Version License huntr StyleCI

About Flarum

Flarum is a delightfully simple discussion platform for your website. It's fast and easy to use, with all the features you need to run a successful community. It is designed to be:

  • Fast and simple. No clutter, no bloat, no complex dependencies. Flarum is built with PHP so its quick and easy to deploy. The interface is powered by Mithril, a performant JavaScript framework with a tiny footprint.

  • Beautiful and responsive. This is forum software for humans. Flarum is carefully designed to be consistent and intuitive across platforms, out-of-the-box.

  • Powerful and extensible. Customize, extend, and integrate Flarum to suit your community. Flarums architecture is amazingly flexible, with a powerful Extension API.

Screenshot of a Flarum instance, showing multiple discussions and tags.

Installation

This repository contains Flarum's core code. If you want to set up a forum, visit the Flarum skeleton repository. For support, refer to the documentation, and ask questions on Flarum Discuss (our community forum) or Discord server.

Contributing

Thank you for considering contributing to Flarum! Please read the Contributing guide to learn how you can help.

Security Vulnerabilities

If you discover a security vulnerability within Flarum, please send an e-mail to security@flarum.org. All security vulnerabilities will be promptly addressed. More details can be found in our security policy.

License

Flarum is open-source software licensed under the MIT License.