Commit Graph

143 Commits

Author SHA1 Message Date
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
Daniël Klabbers
556d461cfb chore: update v1.4 constraints and update issues url 2022-07-12 23:30:03 +02:00
Sami Mazouz
abc12b4ba5
chore: add .gitattributes to extensions to export-ignore files. (#3513)
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-08 20:38:20 +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
Daniël Klabbers
592039c483 update constraint to v1.3 2022-05-10 16:28:35 +02:00
flarum-bot
b64003cba5 Bundled output for commit 46f8cf4628
Includes transpiled JS/TS.

[skip ci]
2022-03-23 17:37:18 +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
Alexander Skvortsov
693da58c41 chore: set up composer path repos 2022-03-11 18:02:49 -05:00
Alexander Skvortsov
2bf6b12a64 chore: remove centralizable repo config
- Remove .github conf folder from Flarum packages

- Remove styleci config from all packages
2022-03-11 18:01:44 -05:00
Daniel Klabbers
e5a865227a Release v1.2 2022-01-20 12:41:14 +01:00
flarum-bot
90a8429067 Bundled output for commit 2c0e6798f9
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:40:02 +00:00
Alexander Skvortsov
2c0e6798f9 chore: flarum-cli audit infra --fix 2022-01-20 03:38:34 -05:00
flarum-bot
2d50029435 Bundled output for commit f442a43205
Includes transpiled JS/TS.

[skip ci]
2022-01-11 10:40:43 +00:00
Ian Morland
f442a43205 chore: repo maintenance (#30)
* Bump deps

* Update imports

* Format
2022-01-11 10:39:22 +00:00
flarum-bot
b5c3d630d5 Bundled output for commit 06813fae86
Includes transpiled JS/TS.

[skip ci]
2021-10-13 10:59:00 +00:00
David Wheatley
06813fae86 chore: fix JS 2021-10-13 11:58:02 +01:00
David Wheatley
6ee1f10d44 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:05:53 +01:00
flarum-bot
57af2ccf83 Bundled output for commit 4547a4416b
Includes transpiled JS/TS.

[skip ci]
2021-10-12 01:27:19 +00:00
Alexander Skvortsov
4547a4416b Release v1.1.0 2021-10-11 21:11:21 -04:00
Sami Mazouz
711793c470 Use css variables for badge (#29) 2021-08-16 10:18:46 +01:00
Daniel Klabbers
6be9cb86c7 fix branch alias 2021-05-25 22:50:37 +02:00
Daniel Klabbers
8ad2f77cff changes for stable 2021-05-25 16:03:01 +02:00
Alexander Skvortsov
05ba7e4270 Bump composer reqs for 1.0.0 2021-05-16 18:28:21 -04:00
David Wheatley
98dca1d4e1 Update copyright year 2021-05-15 00:55:43 +01:00
Daniel Klabbers
9ffccc77aa Release v0.1.0-beta.16 2021-03-15 11:55:06 +01:00
Alexander Skvortsov
63a71d58c5 Apply fixes from StyleCI 2021-03-13 20:36:07 +00:00
Alexander Skvortsov
668de47095 Update for search filter split 2021-03-13 15:35:53 -05:00
Charlie
cea10c8e9b Change Category (#27) 2021-03-08 14:24:57 -05:00
Robert Korulczyk
9fb0356e71 Move locale files from language pack to extension. (#24) 2021-02-17 16:26:05 -05:00
Daniël Klabbers
46966c29ac npm audit fix 2020-12-15 08:43:59 +01:00
Daniël Klabbers
467d49f938 changelog and constraint for beta 15 2020-12-14 23:23:48 +01:00
Alexander Skvortsov
30e1d1e100 Update composer metadata for admin dashboard 2020-12-08 19:56:48 -05:00
Alexander Skvortsov
b7034c707d Use new policy extender, move deprecated event listener back to old style callback 2020-12-08 14:34:11 -05:00
Sami Mazouz
c0e0c7f3c7 Use new extenders (#26) 2020-12-08 14:21:00 -05:00
flarum-bot
1aa1d59efa Bundled output for commit 19202fc1e8 [skip ci] 2020-11-25 06:21:44 +00:00
Alexander Skvortsov
19202fc1e8 Composer metadata for admin ux redesign 2020-11-25 01:20:52 -05:00
Alexander Skvortsov
e5913ba7f6 Admin js changes for admin ux revamp 2020-11-25 01:20:17 -05:00
Sami Mazouz
47284b85bc Use the new Notification type extender (#25) 2020-10-31 18:42:46 -04:00
Daniël Klabbers
8eabcc20fa changelog and dep for v0.1.0-beta.14 2020-10-15 14:14:46 +02:00
Daniël Klabbers
f4c2c3577d npm audit security vulnerabilities patched 2020-10-14 09:58:07 +02:00
flarum-bot
bf7e002442 Bundled output for commit 63198e67c6 [skip ci] 2020-09-24 02:50:35 +00:00
Alexander Skvortsov
63198e67c6 Mithril 2 Update (#23)
Update for Mithril 2
2020-09-23 22:49:53 -04:00
dependabot[bot]
44f5c7e1fe Bump elliptic from 6.5.2 to 6.5.3 in /js (#22)
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:12 +02:00
Matt Kilgore
9246bdc985 Removes AssertPermissionTrait (#21)
* Removes AssertPermissionTrait

* Fix my dumb mistake
2020-07-20 07:59:51 +02:00
dependabot[bot]
12a3ed7355 Bump lodash from 4.17.15 to 4.17.19 in /js (#20)
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:44 +02:00
flarum-bot
5240157871 Bundled output for commit 1ae36a0b64 [skip ci] 2020-06-26 14:05:34 +00:00
Franz Liedke
1ae36a0b64 Fix extension to work with latest state changes
Refs flarum/core#2156.
2020-06-26 16:04:02 +02:00
Alexander Skvortsov
541b1a59d3 Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 21:54:38 -04:00