Commit Graph

179 Commits

Author SHA1 Message Date
flarum-bot
bca7d48d99 Bundled output for commit 3bdb0af993
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-05 19:27:47 +00:00
David Wheatley
3bdb0af993
fix: intellisense imports defaulting to absolute path from src folder (#3549)
* docs: remove baseUrl recommendation

Fixes https://github.com/flarum/flarum-tsconfig/issues/4

* chore: implement change within framework monorepo
2022-08-05 20:23:45 +01:00
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
flarum-bot
ffaea861e5 Bundled output for commit 46b3b7a952
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-07-18 18:21:14 +00: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
Daniël Klabbers
592039c483 update constraint to v1.3 2022-05-10 16:28:35 +02:00
flarum-bot
2541349c68 Bundled output for commit 1d27f62c15
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-04-04 15:51:15 +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
Alexander Skvortsov
c942e367ca fix: regenerate lockfile
This should fix some build issues.
2022-02-08 17:32:11 -05:00
flarum-bot
f537e05719 Bundled output for commit 6d3da9c5f2
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-01-27 21:42:53 +00:00
Alexander Skvortsov
6d3da9c5f2 fix: minor TS improvements 2022-01-27 16:40:49 -05:00
Daniel Klabbers
7ef1ea7f3d Release v1.2 2022-01-20 12:07:47 +01:00
Alexander Skvortsov
9ef9b4fb13 Merge branch 'master' of github.com:flarum/pusher 2022-01-20 04:25:42 -05:00
Alexander Skvortsov
f19461978c fix: build typings script 2022-01-20 04:25:36 -05:00
flarum-bot
08f23c60ba Bundled output for commit 85e6076553
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-01-20 09:15:39 +00:00
Alexander Skvortsov
85e6076553 fix: typings generation script 2022-01-20 04:13:50 -05:00
Alexander Skvortsov
5b3839a2cc chore: flarum-cli audit infra --fix 2022-01-20 03:48:49 -05:00
flarum-bot
899131f258 Bundled output for commit 3e8d5bd400
Includes transpiled JS/TS.

[skip ci]
2021-12-23 13:00:37 +00:00
Rafał Całka
3e8d5bd400 Replace jQuery code with vanilla JS for better performance (#35)
* Bundle `pusher-js`

* Update `pusher/pusher-php-server`

* StyleCi fix

* Revert "Bundle `pusher-js`"

This reverts commit 55bb1ff0988973e436317c00ca2b83ad4c39d6da.

* Remove no longer used code

* Replace `$.getScript` for better performance

* Revert "Update `pusher/pusher-php-server`"

This reverts commit 7d1e2336

* Use `import()`

* Add `once`

* Update js/tsconfig.json

Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com>

* Async function

Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com>
2021-12-23 13:59:25 +01:00
flarum-bot
9d986c331d Bundled output for commit 0ef2b3e249
Includes transpiled JS/TS.

[skip ci]
2021-12-12 19:43:30 +00:00
Rafał Całka
0ef2b3e249 Convert to Typescript (#34) 2021-12-12 14:42:37 -05:00
flarum-bot
06fe9ee2ef Bundled output for commit df86c11355
Includes transpiled JS/TS.

[skip ci]
2021-12-12 07:42:32 +00:00
Rafał Całka
df86c11355 Fixed broken discussion list pagination when clicking on the update button (#33) 2021-12-12 02:41:25 -05:00
flarum-bot
6ced7809b1 Bundled output for commit 11e10406bd
Includes transpiled JS/TS.

[skip ci]
2021-10-13 11:03:16 +00:00
David Wheatley
11e10406bd chore: fix JS 2021-10-13 12:02:15 +01:00
David Wheatley
db35b90280 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:03:02 +01:00
flarum-bot
c8a1ec722d Bundled output for commit 5910bd98bc
Includes transpiled JS/TS.

[skip ci]
2021-10-12 01:27:12 +00:00
Alexander Skvortsov
5910bd98bc Release v1.1.0 2021-10-11 21:14:35 -04:00
flarum-bot
46fa1a1bd8 Bundled output for commit fa2cb91182
Includes transpiled JS/TS.

[skip ci]
2021-08-07 10:24:47 +00:00
Rafał Całka
fa2cb91182 Fixing posts not appearing automatically (#32) 2021-08-07 11:24:00 +01:00
Daniel Klabbers
7b636600ee fix typo in changelog 2021-05-26 20:07:33 +02:00
Daniel Klabbers
0b950da35e fix branch alias 2021-05-25 22:52:20 +02:00
Daniel Klabbers
03744e89a3 changes for stable 2021-05-25 16:32:16 +02:00
Alexander Skvortsov
65164449d3 Bump composer reqs for 1.0.0 2021-05-16 18:28:56 -04:00
David Wheatley
44f00ad133 Update copyright year 2021-05-15 00:56:44 +01:00
flarum-bot
48526c4892 Bundled output for commit 0be39b144c
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:02:52 +00:00
Alexander Skvortsov
0be39b144c Update for ICU MessageFormat 2021-05-12 19:37:44 -04:00
Alexander Skvortsov
62be9088a1 Use RequestUtil to access actor 2021-04-12 17:50:59 -04:00
flarum-bot
14c10d400e Bundled output for commit 4f63399d4a [skip ci] 2021-03-18 15:59:27 +00:00
Daniël Klabbers
4f63399d4a Adds the ability to push new posts onto discussions that aren't public. (#17)
It's very frustrating having pusher installed, but not seeing new posts pop up on non public
discussions. This PR simply re-uses the existing channels per user by reading
all similar private user channels (which require authentication) and then pushing
the websocket message over the line. This only happens in case the discussion is
not public and it only sends to connected users.
2021-03-18 11:58:29 -04:00
Daniel Klabbers
8eb91ecfc7 Release v0.1.0-beta.16 2021-03-15 12:17:21 +01:00
Robert Korulczyk
69cf76f294 Move locale files from language pack to extension. (#26) 2021-02-17 16:25:48 -05:00
Daniël Klabbers
d93c80fdba changelog and constraint for beta 15 2020-12-15 09:22:33 +01:00