Commit Graph

166 Commits

Author SHA1 Message Date
flarum-bot
cf8359daa4 Bundled output for commit 803f4cc792
Includes transpiled JS/TS.

[skip ci]
2022-04-03 17:30:09 +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
524540cb41 chore: use yarn v1 in extensions/core 2022-03-11 19:12:11 -05: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
flarum-bot
cd2bba15f3 Bundled output for commit 16d5cc11e3
Includes transpiled JS/TS.

[skip ci]
2022-03-10 00:54:56 +00:00
Sujit Kumar
16d5cc11e3 Add toolbar support for admin panel (#36) 2022-03-09 19:53:33 -05:00
Alexander Skvortsov
547cce9799 chore: update yarn lockfile 2022-01-27 16:42:07 -05:00
Daniel Klabbers
bc694f19d3 Release v1.2 2022-01-20 12:43:25 +01:00
Alexander Skvortsov
77da783ff6 chore: flarum-cli audit infra --fix 2022-01-20 03:42:53 -05:00
flarum-bot
f67b5f3742 Bundled output for commit 3d864fd413
Includes transpiled JS/TS.

[skip ci]
2022-01-19 18:48:38 +00:00
David Wheatley
3d864fd413 chore: switch to Webpack 5 (#35) 2022-01-19 13:46:20 -05:00
David Wheatley
d65063923b chore: 1.1.1 changelog 2021-12-30 22:30:38 +01:00
flarum-bot
6946c9f2cb Bundled output for commit 1738957af7
Includes transpiled JS/TS.

[skip ci]
2021-12-30 21:05:08 +00:00
David Wheatley
1738957af7 feat: make markdown toolbar extensible (#33) 2021-12-30 22:02:25 +01:00
flarum-bot
e70bcdb8df Bundled output for commit ac83e9b667
Includes transpiled JS/TS.

[skip ci]
2021-12-29 20:43:48 +00:00
David Wheatley
ac83e9b667 fix: re-use of texteditor with markdown ext breaks markdown toolbar items (#34)
* fix: re-use of texteditor with markdown ext breaks markdown toolbar items

* code review
2021-12-29 20:41:19 +00:00
David Wheatley
05af2ddf39 chore: ignore composer lockfile 2021-12-29 13:44:43 +01:00
David Wheatley
8070247433 chore: add TS config 2021-12-29 13:44:24 +01:00
flarum-bot
6155046330 Bundled output for commit ad41c1f270
Includes transpiled JS/TS.

[skip ci]
2021-12-29 12:20:04 +00:00
David Wheatley
ad41c1f270 ci: add Prettier formatting check 2021-12-29 13:17:12 +01:00
David Wheatley
81b27ede28 feat: add prettier formatting 2021-12-29 13:17:02 +01:00
David Wheatley
252cd8455b chore: switch to Yarn 2021-12-29 13:11:42 +01:00
David Wheatley
28e636b5b0 chore: fully remove mdarea references; bump dependencies 2021-12-29 13:05:04 +01:00
flarum-bot
d840205161 Bundled output for commit 1adb9ca553
Includes transpiled JS/TS.

[skip ci]
2021-10-25 17:59:41 +00:00
David Wheatley
1adb9ca553 Revert "feat: encapsulate markdown buttons in itemlist"
This reverts commit d4aecfc9e3.
2021-10-25 19:58:28 +02:00
flarum-bot
11f5958dae Bundled output for commit d4aecfc9e3
Includes transpiled JS/TS.

[skip ci]
2021-10-25 17:57:50 +00:00
David Wheatley
d4aecfc9e3 feat: encapsulate markdown buttons in itemlist 2021-10-25 19:56:35 +02:00
David Wheatley
7b4234ee71 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:05:47 +01:00
Alexander Skvortsov
162784f611 Release v1.1.0 2021-10-11 21:12:06 -04:00
flarum-bot
48b29b90db Bundled output for commit 8111b5a56c
Includes transpiled JS/TS.

[skip ci]
2021-09-20 22:07:46 +00:00
David Sevilla Martin
8111b5a56c Prevent browser/system shortcuts from triggering when applying editor style from shortcut (#32) 2021-09-20 18:06:47 -04:00
flarum-bot
153138c770 Bundled output for commit e376358e64
Includes transpiled JS/TS.

[skip ci]
2021-09-20 14:20:01 +00:00
Hasan Özbey
e376358e64 Add spoiler and strikethrough buttons (#30)
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2021-09-20 10:18:48 -04:00
Daniel Klabbers
6c07082c83 changelog for v1.0.1 2021-06-02 09:13:30 +02:00
flarum-bot
4ad2bfc172 Bundled output for commit fd3300d7e5
Includes transpiled JS/TS.

[skip ci]
2021-05-31 13:28:37 +00:00
David Wheatley
fd3300d7e5 Add missing link button to Markdown toolbar (#29) 2021-05-31 14:26:44 +01:00
Daniel Klabbers
14e4a24514 fix branch alias 2021-05-25 22:50:52 +02:00
Daniel Klabbers
1c2e96f30b changes for stable 2021-05-25 16:17:35 +02:00
flarum-bot
5ccac5d607 Bundled output for commit 7f37e36241
Includes transpiled JS/TS.

[skip ci]
2021-05-18 05:20:53 +00:00
Alexander Skvortsov
7f37e36241 Avoid submitting forms with MarkdownButton
Add type="button" to the component so that it won't submit if placed inside a form.

Fixes https://github.com/flarum/core/issues/2875
2021-05-18 01:19:52 -04:00
flarum-bot
f9d97b60d5 Bundled output for commit f076329636
Includes transpiled JS/TS.

[skip ci]
2021-05-17 13:44:50 +00:00
David Wheatley
f076329636 Fix tooltip deprecation warning 2021-05-17 14:43:35 +01:00
David Wheatley
c9af88e721 Use namespaced JS imports 2021-05-17 14:43:21 +01:00
David Wheatley
43b6e0818b npm audit fix 2021-05-17 14:33:53 +01:00
Alexander Skvortsov
58b322fc54 Bump composer reqs for 1.0.0 2021-05-16 18:28:28 -04:00
David Wheatley
f5898b393e Update copyright year 2021-05-15 00:56:00 +01:00
Alexander Skvortsov
0c0b3b2678 Fix display 2021-05-12 20:28:40 -04:00