Commit Graph

95 Commits

Author SHA1 Message Date
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
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
402ace2070 Bundled output for commit ca7055f5d0
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-04-03 21:20:28 +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
5e82ded8c3 feat: use yarn workspaces 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
6dddb748ba chore: flarum-cli audit infra --fix 2022-01-20 03:32:36 -05:00
flarum-bot
675bb16f9c Bundled output for commit 9d7f9eb0e5
Includes transpiled JS/TS.

[skip ci]
2022-01-07 17:08:20 +00:00
Ian Morland
9d7f9eb0e5 Update JS imports (#40) 2022-01-07 12:07:20 -05:00
flarum-bot
3942ec4e00 Bundled output for commit 1bd32bb4e0
Includes transpiled JS/TS.

[skip ci]
2022-01-07 14:06:45 +00:00
Ian Morland
1bd32bb4e0 chore: convert flag items to ItemList (#39)
* Convert to ItemList, update import namespaces

* Bump deps, add prettier

* Format js
2022-01-07 14:05:40 +00:00
flarum-bot
0a30aa1663 Bundled output for commit bae89a2f44
Includes transpiled JS/TS.

[skip ci]
2021-10-25 17:57:29 +00:00
Lucas Fernandes
bae89a2f44 Add missing translation for the reason flag (#30) 2021-10-25 13:56:17 -04:00
flarum-bot
62345237ac Bundled output for commit a3edd16e47
Includes transpiled JS/TS.

[skip ci]
2021-10-13 10:57:12 +00:00
David Wheatley
a3edd16e47 chore: fix JS 2021-10-13 11:56:17 +01:00
flarum-bot
cde8a2e87a Bundled output for commit aae835e9d2
Includes transpiled JS/TS.

[skip ci]
2021-10-12 01:27:21 +00:00
Alexander Skvortsov
aae835e9d2 Release v1.1.0 2021-10-11 21:07:45 -04:00
Daniel Klabbers
b28e6c510f changes for stable 2021-05-25 15:58:02 +02:00
Daniel Klabbers
b481e41a9b Release v0.1.0-beta.16 2021-03-15 11:27:30 +01:00
Daniël Klabbers
632cb165d8 npm audit fix 2020-12-14 22:36:47 +01:00
flarum-bot
7cd0645204 Bundled output for commit 9e2d794cd4 [skip ci] 2020-11-24 21:59:28 +00:00
Charlie
9e2d794cd4 AdminUX Changes (#33) 2020-11-24 16:58:40 -05:00
flarum-bot
f2976f35fb Bundled output for commit 2c79c4c620 [skip ci] 2020-10-25 05:32:08 +00:00
Alexander Skvortsov
2c79c4c620 Don't initialize cache until we receive flags (#31) 2020-10-25 01:31:07 -04:00
Daniël Klabbers
19efca8807 npm audit security vulnerabilities patched 2020-10-14 09:56:09 +02:00
flarum-bot
d864a287a8 Bundled output for commit ede3a33952 [skip ci] 2020-10-02 23:23:49 +00:00
Alexander Skvortsov
ede3a33952 Use Link component instead of route patch 2020-10-02 19:22:43 -04:00
Alexander Skvortsov
07e93eb6f9 Use flarum/utils/Stream instead of m.stream 2020-10-02 19:22:19 -04:00
flarum-bot
ccf9fae68c Bundled output for commit df74cc4a96 [skip ci] 2020-09-24 02:49:19 +00:00
Alexander Skvortsov
df74cc4a96 Mithril 2 Update (#29)
Update for Mithril 2
2020-09-23 22:48:20 -04:00
flarum-bot
94c4b37799 Bundled output for commit 5038ec4590 [skip ci] 2020-08-18 21:04:28 +00:00
David Sevilla Martín
5038ec4590 Update modal show call for the modal state changes (#28) 2020-08-18 17:03:37 -04:00
flarum-bot
98dc5a0ea1 Bundled output for commit f26db4d3f2 [skip ci] 2020-08-18 00:39:39 +00:00
Alexander Skvortsov
f26db4d3f2 Extract flags list state (#24)
* Extract flags list state
2020-08-17 20:38:35 -04:00
dependabot[bot]
e415e5ebc2 Bump elliptic from 6.5.2 to 6.5.3 in /js (#27)
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:08:28 +02:00
dependabot[bot]
5d64996b84 Bump lodash from 4.17.15 to 4.17.19 in /js (#25)
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:48:19 +02:00
flarum-bot
0bb85cc85e Bundled output for commit bf431c4fdf [skip ci] 2020-07-01 23:59:59 +00:00
Alexander Skvortsov
bf431c4fdf Fix extension to work with latest state changes 2020-07-01 19:58:59 -04:00
Franz Liedke
e3a2d50e41 Update Webpack 2020-05-01 11:51:07 +02:00
Franz Liedke
92b18063f5 npm audit fix 2020-04-24 14:30:27 +02:00
dependabot[bot]
0ccafc2cf0 Bump acorn from 6.4.0 to 6.4.1 in /js (#22)
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:26:34 +01:00
flarum-bot
ec858eb058 Bundled output for commit beb5329e42 [skip ci] 2020-02-07 10:58:22 +00:00
Franz Liedke
95d2ba3eb7 Rely on default modal error handling
This also gives the server-side the chance to add more different error
messages / additional behavior without having to change the frontend.

Refs #18.
2020-02-07 11:55:38 +01:00
Franz Liedke
e9a11b11d3 Tweak translation keys for consistency
Refs #18.
2020-02-07 11:54:29 +01:00
Franz Liedke
fecc2312fd Update Webpack 2020-02-07 11:33:23 +01:00
flarum-bot
5125de8943 Bundled output for commit 4344f71d99 [skip ci] 2020-02-07 10:24:07 +00:00
Ian Morland
4344f71d99 Flag improvements/tweaks (#18)
* Option to allow users to flag their own post
* Increase size of "Flag Post" modal
* Allow optional reason detail for offtopic, inappropriate and spam reasons
* For other reasons, detail text is now required
* Switch to column type "text" to allow more details in reason
2020-02-07 11:23:10 +01:00
Franz Liedke
a3f6a59152 Update vulnerable JS dependencies 2019-09-17 23:13:33 +02:00