Commit Graph

69 Commits

Author SHA1 Message Date
flarum-bot
8c0a14aff2 Bundled output for commit 76788efaba
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-09-29 11:17:55 +00:00
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
flarum-bot
974f003fe3 Bundled output for commit 352a50e3ad
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-16 17:36:57 +00:00
David Wheatley
352a50e3ad
perf(statistics): split timed data into per-model XHR requests (#3601)
* chore: kill off timeset offset from statistics extension

* perf: split timed data into per-model requests
2022-08-16 18:30:24 +01:00
flarum-bot
b28606b8ef Bundled output for commit 631b4c194c
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-08 13:53:39 +00:00
Sami Mazouz
631b4c194c
chore: unify JS actions into one (rewritten flarum/action-build) (#3573)
* chore: unify JS actions into one (rewritten `flarum/action-build)`
* chore: maintain backwards compatibility
* fix: wrong default format check script

Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-08-08 14:48:43 +01:00
flarum-bot
b20961cc9d Bundled output for commit 495462183b
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-08 13:04:48 +00:00
David Wheatley
3bdb0af993
fix: intellisense imports defaulting to absolute path from src folder (#3549)
* docs: remove baseUrl recommendation

Fixes https://github.com/flarum/flarum-tsconfig/issues/4

* chore: implement change within framework monorepo
2022-08-05 20:23:45 +01:00
flarum-bot
6b577e6f1f Bundled output for commit 64f0ae7c33
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-07-19 09:36:41 +00:00
Sami Mazouz
64f0ae7c33
chore: revert tsconfig changes for local development (#3545)
* chore: delete unwanted dist typings
* chore: revert 4e52f0e420

Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-19 10:30:23 +01:00
David Wheatley
af3116bce9
perf(statistics): rewrite for performance on very large communities (#3531)
Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-18 19:07:38 +01:00
Sami Mazouz
4e52f0e420
chore: monorepo local development improvements (#3523)
* chore: centralize editorconfig
* chore: tweak tsconfigs for local development
* revert src path change
* fix: akismet type checking requires flag ext `@types`
* fix: make tags route optional to avoid typescript typing error
2022-07-18 15:19:11 +01:00
Sami Mazouz
27fb011bf5
chore: with yarn workspaces we only need a single yarn.lock (#3464)
* chore: yarn workspaces means we only need a single `yarn.lock`
* fix: add a `cache_dependency_path` workflow input
* fix: re-introduce `env.cache_dependency_path`
2022-06-19 19:01:21 +01:00
flarum-bot
9a0bdf9a04 Bundled output for commit 431ba30434
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-04-06 15:51:49 +00:00
Alexander Skvortsov
a595665bfb
fix: Assorted Typing Fixes (#3348)
With all the commits below, we resolve all outstanding typing issues in the repo, and CI jobs run green.

* fix: Convert DashboardPage and DashboardWidget to TypeScript

* fix: fix type errors in package manager ext

* fix: Convert Post component to TypeScript

* fix: avatar typings should accept null user

* fix: convert Notification component to TypeScript

* fix: properly use `typeof` in ForumApplication

* feat: make Notification content attr generic

* chore: format Notification component

* fix: Convert DiscussionRenamedNotification to TypeScript

* fix(pusher) move shims to a location where they get applied

* fix(pusher): fix some typing errors

* fix(akismet): fix some typing issues

* chore: update core dist typings

* chore(pusher): format

* fix: anchorScroll should accept string selectors

* fix: more accurately represent ApiQueryParamsPlural

* fix: convert PostStreamState to TypeScript

* chore(core): rebuild typings

* feat: allow extending app.routes

* fix: more flexible typings for highlight.ts

* fix: use primitive `number` type for Discussion typings

* fix: convert DiscussionListItem to TypeScript

* chore: rebuild core typings

* fix: final pusher type fixes

* feat: start tags TypeScript conversion

* fix: require-dev tags in pusher for CI TypeScript purposes.

* chore(core): format

* chore(tags): build dist typings

* feat(pusher): use dist types from tags.

* feat: convert flags to TypeScript

* chore(flags): generate dist typings

* fix(akismet): last type errors

* chore: update .yarn-integrity

* chore: partially run flarum-cli audit infra --fix

The tsconfig changes from that command are ignored, since we don't yet support "replacable sections" that would let us add custom config.

* chore: use type imports

* fix: broader gitattributes

* chore: run flarum-cli audit infra --monorepo --fix

* feat: make `app.data` typings extensible

* chore(core): format

* chore: boost tags TypeScript coverage

* fix(tags): further increase type coverage.
2022-03-23 11:43:14 -04:00
Alexander Skvortsov
f2910d8763 chore: add version to core/ext package.json
This is necessary for yarn workspaces to work.
2022-03-11 19:12:11 -05:00
Alexander Skvortsov
5fc0b4963a chore: flarum-cli audit infra --fix 2022-03-11 18:02:51 -05:00
flarum-bot
0d73e82b0b Bundled output for commit f3d0bdce47
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-01-27 21:02:31 +00:00
Alexander Skvortsov
f3d0bdce47 chore: convert to TypeScript 2022-01-27 15:58:04 -05:00
Alexander Skvortsov
3dd9472647 chore: flarum-cli audit infra --fix 2022-01-20 03:52:02 -05:00
flarum-bot
b1415b4d3c Bundled output for commit b07c98b5d9
Includes transpiled JS/TS.

[skip ci]
2022-01-11 10:46:29 +00:00
Ian Morland
b07c98b5d9 chore: repo maintenance (#16)
* Bump deps

* Update namespaces

* Format
2022-01-11 10:45:14 +00:00
flarum-bot
aebd638097 Bundled output for commit ea5994f2e4
Includes transpiled JS/TS.

[skip ci]
2021-10-13 10:53:15 +00:00
David Wheatley
ea5994f2e4 chore: fix JS 2021-10-13 11:52:14 +01:00
flarum-bot
444c64bc4c Bundled output for commit 941647cde0
Includes transpiled JS/TS.

[skip ci]
2021-10-12 01:27:17 +00:00
Alexander Skvortsov
941647cde0 Release v1.1.0 2021-10-11 21:15:40 -04:00
Daniel Klabbers
4dade0b078 changes for stable 2021-05-25 16:33:25 +02:00
Daniel Klabbers
78ad65c6c1 Release v0.1.0-beta.16 2021-03-15 12:20:50 +01:00
flarum-bot
ed6035c674 Bundled output for commit 3b838dfd01 [skip ci] 2021-01-05 21:41:50 +00:00
SKmedix
3b838dfd01 🐛 Make sure summed value is a number (#14) 2021-01-05 16:41:00 -05:00
Daniël Klabbers
22a5b3e381 npm audit fix 2020-12-15 09:24:26 +01:00
flarum-bot
b7eba11c91 Bundled output for commit a426b1115c [skip ci] 2020-11-25 06:30:16 +00:00
Alexander Skvortsov
3b86682f84 Update admin JS for admin ux redesign 2020-11-25 01:28:33 -05:00
Daniël Klabbers
1059555baa npm audit security vulnerabilities patched 2020-10-14 10:00:45 +02:00
flarum-bot
1f44b5a4c8 Bundled output for commit a2049ebbb8 [skip ci] 2020-09-24 02:56:26 +00:00
Alexander Skvortsov
a2049ebbb8 Mithril 2 Update (#12)
Update for Mithril 2
2020-09-23 22:55:38 -04:00
flarum-bot
1e6f94c366 Bundled output for commit 2d923c83a1 [skip ci] 2020-08-28 16:12:36 +00:00
Franz Liedke
2d923c83a1 Use dayjs, not moment.js
Refs flarum/core#2219.
2020-08-28 18:11:47 +02:00
dependabot[bot]
ff5c0edce7 Bump elliptic from 6.5.2 to 6.5.3 in /js (#11)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:09:09 +02:00
dependabot[bot]
a49b663989 Bump lodash from 4.17.15 to 4.17.19 in /js (#10)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 10:47:20 +02:00
Franz Liedke
3f2b1bd459 Update Webpack 2020-05-01 10:32:41 +02:00
flarum-bot
25ba9b70a5 Bundled output for commit 8b2c90c142 [skip ci] 2020-04-24 12:32:41 +00:00
Franz Liedke
8b2c90c142 npm audit fix 2020-04-24 14:30:30 +02:00
dependabot[bot]
ae3e4801de Bump acorn from 6.4.0 to 6.4.1 in /js (#9)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 20:24:49 +01:00
flarum-bot
8bfd6bfb80 Bundled output for commit b94ce4993a [skip ci] 2020-02-26 07:03:38 +00:00
Franz Liedke
b94ce4993a Update Webpack 2020-02-26 08:02:40 +01:00
Franz Liedke
f9ad3d36e4 Update vulnerable JS dependencies 2019-09-17 23:17:45 +02:00
flarum-bot
7492d7e610 Bundled output for commit f1beefc939 [skip ci] 2018-12-03 23:53:24 +00:00
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