Commit Graph

206 Commits

Author SHA1 Message Date
Daniël Klabbers
1e00e3fdbb chore: dependency on core updated for extensions 2022-11-10 13:48:00 +01:00
Sami Mazouz
62a396e434
feat: send notifications of a new reply when post is approved (#3656)
* test(subscriptions): approved reply sends out notifications to users

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* feat: send notifications when a post is approved

The code in approval was extracted into a listener because no matter what listeners are always executed before subscribers even if the extension is set to load before.

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2022-11-07 11:52:28 +00:00
Daniël Klabbers
a35df8c139 chore: v1.5.0 preparations 2022-09-13 10:55:30 +02:00
flarum-bot
ffd0b90a83 Bundled output for commit 87aaaf6971
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-31 09:20:08 +00:00
David Wheatley
87aaaf6971
feat(subscriptions): add option to send notifications when not caught up (#3503) 2022-08-31 11:13:51 +02:00
David Wheatley
3d167749cb
fix(subscriptions): add missing table prefix for filter gambit (#3599) 2022-08-15 12:35:03 +02:00
Sami Mazouz
25122fd355
fix: user has wrong discussion read status (#3591)
* test: deleting last post(s) then posting new replies works as expected
* fix: user has wrong discussion read status
2022-08-09 22:43:38 +02:00
Sami Mazouz
f073c22212
chore: remove debug line that slipped in while rebasing a PR (#3580)
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-08-04 10:43:26 +01:00
flarum-bot
85d4fb6ce2 Bundled output for commit da855c654e
Includes transpiled JS/TS.

[skip ci]
2022-08-01 22:53:45 +00:00
Sami Mazouz
795a500adb
feat: Queue package manager commands (#3418)
* feat: Queue package manager commands
* adjust tests
* fix: force run whynot command synchronously
* chore: maximize command output box's height
* chore: more user instructions on background queue
* feat: track command peak memory usage
* feat: exit of CLI php version doesn't match web php version
* chore: install deps
* chore: format and typing workflow fix

Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-24 14:02:13 +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
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
Sami Mazouz
c2ba3bb7d5
fix(subscriptions): reply notifications not working (#3445)
* chore: subscriptions backend test infrastructure

* test: reply notification

* fix: fix reply notifications not working
2022-06-03 21:06:30 +02:00
Daniël Klabbers
592039c483 update constraint to v1.3 2022-05-10 16:28:35 +02:00
flarum-bot
4dfbaa3271 Bundled output for commit cd8ed6cf66
Includes transpiled JS/TS.

[skip ci]
2022-04-03 21:17:26 +00:00
David Sevilla Martin
cd8ed6cf66
fix(subscriptions): filter followed discussions when searching (#3376)
Fixes #3375
2022-04-03 17:14:56 -04:00
flarum-bot
6df4101bae Bundled output for commit a595665bfb
Includes transpiled JS/TS.

[skip ci]
2022-03-23 15:45:44 +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
8a7a016d24 Release v1.2 2022-01-20 12:03:29 +01:00
flarum-bot
16e210ae0a Bundled output for commit de4a0db0ec
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:57:32 +00:00
Alexander Skvortsov
de4a0db0ec chore: flarum-cli audit infra --fix 2022-01-20 03:55:30 -05:00
flarum-bot
c4d644b8bb Bundled output for commit 30b2fcce66
Includes transpiled JS/TS.

[skip ci]
2022-01-07 17:32:37 +00:00
Ian Morland
30b2fcce66 Format JS 2022-01-07 17:31:22 +00:00
Ian Morland
a4b678ce51 Update JS imports 2022-01-07 17:31:06 +00:00
Ian Morland
41233e4e05 Bump JS deps 2022-01-07 17:24:18 +00:00
Ian Morland
2b00c9817b Bump flarum-webpack-config to 1.0.0 (#44) 2021-11-16 16:25:09 +01:00
flarum-bot
c72d0c6815 Bundled output for commit 99644abb30
Includes transpiled JS/TS.

[skip ci]
2021-11-16 15:01:03 +00:00
Ian Morland
99644abb30 fix: set priority on subscription item (#43) 2021-11-16 14:58:34 +00:00
David Wheatley
3b8447ffb2 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:05:29 +01:00
Alexander Skvortsov
75f3ec0b36 Release v1.1.0 2021-10-11 21:16:54 -04:00
Sami Mazouz
6f706f7774 Use css variables for badge (#42) 2021-08-16 10:18:56 +01:00
flarum-bot
ee0cbf9d85 Bundled output for commit 81187fe5fe
Includes transpiled JS/TS.

[skip ci]
2021-07-18 20:22:50 +00:00
David Wheatley
81187fe5fe Repo maintenance: add Prettier config, update deps (#41)
* Bump deps; add prettier dep

* Add Prettier config
2021-07-18 21:21:44 +01:00
Daniel Klabbers
53ed61c444 fix branch alias 2021-05-25 22:52:55 +02:00
Daniel Klabbers
448d8401d4 changes for stable 2021-05-25 16:50:04 +02:00
flarum-bot
c7b235a781 Bundled output for commit f3ac771980
Includes transpiled JS/TS.

[skip ci]
2021-05-17 00:46:10 +00:00
David Wheatley
f3ac771980 Fix Tooltip deprecation warnings 2021-05-17 01:45:00 +01:00
Alexander Skvortsov
b51c7c01ba Bump composer reqs for 1.0.0 2021-05-16 18:29:28 -04:00
David Wheatley
4e44f1fe6b Update copyright year 2021-05-15 00:57:53 +01:00
flarum-bot
e12320a25d Bundled output for commit e783a7603d [skip ci] 2021-03-18 16:39:31 +00:00
sl-kr
e783a7603d change value of subscribed from false to null in the JSON API (#37) 2021-03-18 12:38:21 -04:00
Alexander Skvortsov
c1c47e81aa SubscriptionFilterGambit: properly implement conditions method 2021-03-17 14:22:10 -04:00
Matt Kilgore
34ee9c32de Fix Changelog beta.16 header link 2021-03-15 11:39:02 -04:00
Daniel Klabbers
786bf91f93 Release v0.1.0-beta.16 2021-03-15 12:36:13 +01:00