Commit Graph

198 Commits

Author SHA1 Message Date
Daniël Klabbers
a35df8c139 chore: v1.5.0 preparations 2022-09-13 10:55:30 +02:00
flarum-bot
d345734a8e Bundled output for commit 4b25c2d425
Includes transpiled JS/TS.

[skip ci]
2022-08-05 18:28:35 +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
2e840dc73d
test(sticky): list discussions works as expected with stickies (#3507)
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-08 19:07:03 +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
105481a181 Bundled output for commit b95b3646d3
Includes transpiled JS/TS.

[skip ci]
2022-03-28 20:49:53 +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
9db4981f80 Release v1.2 2022-01-20 12:49:18 +01:00
flarum-bot
6f33f8273b Bundled output for commit 5c6f17d508
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:55:26 +00:00
Alexander Skvortsov
5c6f17d508 chore: flarum-cli audit infra --fix 2022-01-20 03:53:51 -05:00
flarum-bot
92f16d3300 Bundled output for commit aba58f453a
Includes transpiled JS/TS.

[skip ci]
2022-01-11 10:45:29 +00:00
Ian Morland
aba58f453a chore: repo maintenance (#32)
* Bump deps

* Update imports
2022-01-11 10:44:22 +00:00
David Wheatley
8c0c46f8e0 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:05:34 +01:00
Alexander Skvortsov
72d43427ab Release v1.1.0 2021-10-11 21:16:13 -04:00
flarum-bot
8e912e9e7b Bundled output for commit 3e3fa6535d
Includes transpiled JS/TS.

[skip ci]
2021-09-20 15:07:38 +00:00
David Wheatley
3e3fa6535d Repo maintenance (#30)
* Bump deps; add TS support; use Prettier

* Format

* Update js/package.json

Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>

* Update lockfile

Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2021-09-20 16:06:32 +01:00
Sami Mazouz
3e962c5e0f Use css variables for badge (#29) 2021-08-16 10:18:32 +01:00
flarum-bot
ab2a198aa3 Bundled output for commit bbca24a873
Includes transpiled JS/TS.

[skip ci]
2021-08-16 09:03:01 +00:00
David Wheatley
bbca24a873 Add classes to sticky discussions (#31) 2021-08-16 11:01:54 +02:00
Daniel Klabbers
4d8dd09abc fix branch alias 2021-05-25 22:52:41 +02:00
Daniel Klabbers
15e5c9bf0f changes for stable 2021-05-25 16:36:04 +02:00
Alexander Skvortsov
d8a0d1e6f7 Bump composer reqs for 1.0.0 2021-05-16 18:29:18 -04:00
David Wheatley
a3b9924e40 Update copyright year 2021-05-15 00:57:44 +01:00
Alexander Skvortsov
258fe6d158 Apply fixes from StyleCI 2021-04-12 02:29:32 +00:00
Alexander Skvortsov
078441204d Use criteria's sortIsDefault field
This was introduced in https://github.com/flarum/core/pull/2773, and allows us to more cleanly determine whether the sort requested is the default one, while taking extension modifications into account.
2021-04-11 22:29:20 -04:00
Daniel Klabbers
4805b7d2ee Release v0.1.0-beta.16 2021-03-15 12:33:03 +01:00
Alexander Skvortsov
b14d24964f Apply fixes from StyleCI 2021-03-13 21:01:56 +00:00
SychO9
72ad775840 Update to beta.16 2021-03-13 16:00:50 -05:00
Charlie
2a74e2ceca Change Category (#27) 2021-03-08 14:32:52 -05:00
Robert Korulczyk
d0452d6e89 Move locale files from language pack to extension. (#21) 2021-02-17 16:25:16 -05:00
Alexander Skvortsov
a76ad6ca48 Update changelog for v0.1.0-beta.15.1 2021-01-25 20:03:54 -05:00
flarum-bot
0abbe627d0 Bundled output for commit 768fc0d653 [skip ci] 2021-01-22 18:54:03 +00:00
Sami Mazouz
768fc0d653 Fix evaluation of post content by m.trust() (#24) 2021-01-22 13:53:11 -05:00
flarum-bot
9b65d4cbc8 Bundled output for commit 4dbc7369a2 [skip ci] 2021-01-20 03:23:08 +00:00
Ian Morland
4dbc7369a2 Restrict post excerps to IndexPage and DiscussionPage only #2066 (#25) 2021-01-19 22:22:20 -05:00
Ian Morland
82c57cd36a Add is_sticky, last_posted_at index to improve performance (#23)
This PR introduces an additional index [is_sticky, last_posted_at] to the discussions table. We discovered that when viewing discussions in a tag with a large number of discussions (approx 1.4M in our case), performance was poor when using the default sort criteria (sort by latest).
2021-01-13 14:18:38 -05:00
Daniël Klabbers
8e3e51a613 changelog and constraint for beta 15 2020-12-15 09:28:40 +01:00
Daniël Klabbers
69997f188b npm audit fix 2020-12-15 09:27:52 +01:00
Alexander Skvortsov
2712afc81e Make listener methods static
This is needed since we're listening to the individual methods of the class, as opposed to registering the class as a subscriber.
2020-12-10 23:34:54 -05:00
Alexander Skvortsov
ea55ceeacb Update composer metadata for admin dashboard 2020-12-08 19:58:07 -05:00
Alexander Skvortsov
c7837f801e Use event extender where possible
filter extender will eliminate the last callback-style extender before stable.
2020-12-08 12:34:32 -05:00
Sami Mazouz
01549123c0 Use new extenders (#22) 2020-12-08 11:53:05 -05:00
flarum-bot
826ecb72fa Bundled output for commit d7c93fcdec [skip ci] 2020-11-25 06:33:34 +00:00