Commit Graph

172 Commits

Author SHA1 Message Date
Sami Mazouz
d8d4eae9f5
test(suspend): test that suspension works as expected (#3511)
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-08 19:24:59 +01:00
flarum-bot
5e81592e18 Bundled output for commit 74bcab866c
Includes transpiled JS/TS.

[skip ci]
2022-06-19 22:54:28 +00:00
Sami Mazouz
74bcab866c
fix(suspend): suspension modal shows after suspension is over (#3449) 2022-06-19 23:51:29 +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
Sami Mazouz
29362ed924
fix: empty suspension message uses email template expecting one (#3433) 2022-05-26 18:52:19 +01:00
Daniël Klabbers
592039c483 update constraint to v1.3 2022-05-10 16:28:35 +02:00
flarum-bot
45aba446b3 Bundled output for commit 9f7c5defaa
Includes transpiled JS/TS.

[skip ci]
2022-04-05 14:41:10 +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
c96b8b8877 Release v1.2 2022-01-20 12:17:01 +01:00
flarum-bot
0edd226996 Bundled output for commit e03273e368
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:59:02 +00:00
Alexander Skvortsov
e03273e368 chore: flarum-cli audit infra --fix 2022-01-20 03:57:25 -05:00
flarum-bot
d63cd16f15 Bundled output for commit 7453bc338a
Includes transpiled JS/TS.

[skip ci]
2021-12-20 16:33:35 +00:00
Sami Mazouz
7453bc338a fix: minor js error when user is not suspended (#42) 2021-12-20 17:32:25 +01:00
flarum-bot
8f48630458 Bundled output for commit fc06dba1b3
Includes transpiled JS/TS.

[skip ci]
2021-12-12 23:49:16 +00:00
Ian Morland
fc06dba1b3 feat: Display suspension to user (#41) 2021-12-13 00:48:10 +01:00
David Wheatley
984b553dc8 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:05:24 +01:00
Alexander Skvortsov
d377fee8c9 Release v1.1.0 2021-10-11 21:17:37 -04:00
flarum-bot
e4efd94add Bundled output for commit 0cb36b90c3
Includes transpiled JS/TS.

[skip ci]
2021-07-31 11:51:35 +00:00
David Wheatley
0cb36b90c3 Perform general repo maintenance (#37)
* Perform general repo maintenance

- Bump deps
- Add Prettier
- Add `flarum-tsconfig` for typings support

* Move webpack config to devDeps

* Use organisation Prettier

* Add setup for https://github.com/flarum/flarum-tsconfig/pull/2
2021-07-31 12:50:35 +01:00
flarum-bot
fd14cb2472 Bundled output for commit 8353f087e5
Includes transpiled JS/TS.

[skip ci]
2021-07-18 20:48:36 +00:00
Hasan Özbey
8353f087e5 suspend anonymously (#39)
* suspend anonymously

closes https://github.com/flarum/core/issues/2614

* format less file

* empty methods should return null
2021-07-18 22:47:34 +02:00
Daniel Klabbers
14c6675e47 fix branch alias 2021-05-25 22:53:06 +02:00
Daniel Klabbers
d01810f5a8 changes for stable 2021-05-25 16:51:08 +02:00
Alexander Skvortsov
d074d8eb23 Bump composer reqs for 1.0.0 2021-05-16 18:29:36 -04:00
David Wheatley
d61d770229 Update copyright year 2021-05-15 00:58:03 +01:00
Daniel Klabbers
258ff753de Release v0.1.0-beta.16 2021-03-15 12:45:15 +01:00
Alexander Skvortsov
06dfd8a603 Use ApiSerializer attributes method 2021-03-13 17:04:58 -05:00
Alexander Skvortsov
c01dc63c5d Apply fixes from StyleCI 2021-03-13 20:49:35 +00:00
Alexander Skvortsov
6eb2c9e574 Update for search/filter split 2021-03-13 15:49:23 -05:00
Charlie
5b312bc280 Change Category (#33) 2021-03-08 14:20:55 -05:00
Ian Morland
6cb68bcd01 Provide a target for can ability (#35)
This ensures that the default user policy applies, and `user.hasPermission` is called.
2021-03-05 10:28:53 -05:00
Robert Korulczyk
2d85cc8c38 Move locale files from language pack to extension. (#28) 2021-02-17 16:24:51 -05:00
flarum-bot
ca95c3164d Bundled output for commit 1c6b8c67a7 [skip ci] 2021-01-24 06:43:38 +00:00
David Sevilla Martín
1c6b8c67a7 Fix suspended notification not showing correct suspension length (#32) 2021-01-24 01:42:52 -05:00
Daniël Klabbers
064d1f5eb6 changelog and constraint for beta 15 2020-12-15 09:33:50 +01:00
Daniël Klabbers
e0979861fe npm audit fix 2020-12-15 09:31:08 +01:00
Alexander Skvortsov
901eb51341 Update composer metadata for admin dashboard 2020-12-08 19:58:29 -05:00
Alexander Skvortsov
2bb5482f03 Apply fixes from StyleCI 2020-12-08 19:03:47 +00:00
Alexander Skvortsov
7a48da291e Use new Policy and User Permission Groups permissions 2020-12-08 14:02:06 -05:00
Sami Mazouz
ab8a3e48b2 Use new extenders (#31) 2020-12-08 13:44:43 -05:00
flarum-bot
39c687cbcc Bundled output for commit df5df9a275 [skip ci] 2020-11-25 06:37:29 +00:00
Alexander Skvortsov
df5df9a275 Add composer metadata for admin ux redesign 2020-11-25 01:36:36 -05:00
Alexander Skvortsov
d7d9ebb882 Admin js changes for admin ux redesign 2020-11-25 01:36:17 -05:00
Sami Mazouz
3dcd356edc Use the new Notification type extender (#29) 2020-10-31 18:42:01 -04:00
Daniël Klabbers
dd8e0f3fbb changelog and dep for v0.1.0-beta.14 2020-10-15 16:10:15 +02:00
Daniël Klabbers
b34ebb5a8c npm audit security vulnerabilities patched 2020-10-14 10:02:42 +02:00