Commit Graph

181 Commits

Author SHA1 Message Date
Daniël Klabbers
a35df8c139 chore: v1.5.0 preparations 2022-09-13 10:55:30 +02:00
Ian Morland
237076e5b7
chore(approval, likes): use subscribers (#3577)
* chore: use subscribers

* Apply fixes from StyleCI

* Un-static

Co-authored-by: StyleCI Bot <bot@styleci.io>
2022-08-02 11:27:26 +01:00
flarum-bot
e7af009fbc Bundled output for commit 2b31b185e4
Includes transpiled JS/TS.

[skip ci]
2022-07-30 12:05:59 +00:00
flarum-bot
744927215a Bundled output for commit 54c21459d6
Includes transpiled JS/TS.

[skip ci]
2022-07-18 14:47:05 +00:00
Ian Morland
54c21459d6
feat(likes): Option to prevent users liking their own posts (#3534)
* Option to prevent users liking their own posts
* test: user can only like own post if setting ON

Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-18 15:32:27 +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
flarum-bot
707ca2d16d Bundled output for commit 3246f5a8f6
Includes transpiled JS/TS.

[skip ci]
2022-07-14 13:48:19 +00:00
Ian Morland
3246f5a8f6
feat(likes): Add likes tab to user profile (#3528) 2022-07-14 14:38:31 +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
024155a608
test(likes): like action behavior (#3512)
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-11 10:42:21 +01: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
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
flarum-bot
4ecd9a9b2f Bundled output for commit 5e82ded8c3
Includes transpiled JS/TS.

[skip ci]
2022-03-12 00:14:54 +00: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
f9213c0178 Release v1.2 2022-01-20 12:35:35 +01:00
flarum-bot
ec56b53b59 Bundled output for commit f5c1a0282d
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:38:04 +00:00
Alexander Skvortsov
f5c1a0282d chore: flarum-cli audit infra --fix 2022-01-20 03:36:26 -05:00
flarum-bot
2fea567284 Bundled output for commit 542fac888d
Includes transpiled JS/TS.

[skip ci]
2022-01-11 10:41:36 +00:00
Ian Morland
542fac888d chore: repo maintenance (#30)
* Bump deps

* Update imports

* Format
2022-01-11 10:40:45 +00:00
flarum-bot
4bda5c540a Bundled output for commit 462bf60e88
Includes transpiled JS/TS.

[skip ci]
2021-10-13 10:55:25 +00:00
David Wheatley
462bf60e88 chore: fix JS 2021-10-13 11:54:31 +01:00
David Wheatley
8a0035e040 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:05:58 +01:00
flarum-bot
7b2e506fb8 Bundled output for commit c59c1becad
Includes transpiled JS/TS.

[skip ci]
2021-10-12 01:27:11 +00:00
Alexander Skvortsov
c59c1becad Release v1.1.0 2021-10-11 21:10:46 -04:00
Robert Korulczyk
bfdaee7e79 Add missing dot to liked_by_text translation (#29) 2021-07-01 21:52:56 +01:00
Daniel Klabbers
8a93498b22 fix branch alias 2021-05-25 22:50:29 +02:00
Daniel Klabbers
30e21d29f6 changes for stable 2021-05-25 16:01:45 +02:00
Alexander Skvortsov
3f51eb8431 Bump composer reqs for 1.0.0 2021-05-16 18:28:10 -04:00
David Wheatley
03f7452efc Update copyright year 2021-05-15 00:55:34 +01:00
flarum-bot
d7698f04a4 Bundled output for commit 6c27c08672
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:02:48 +00:00
Alexander Skvortsov
6c27c08672 Update for ICU MessageFormat 2021-05-12 19:24:06 -04:00
Glowing Blue
93d373f066 Added created_at to post_likes table (#28) 2021-05-11 15:23:35 -04:00
Daniel Klabbers
a805c333e7 Release v0.1.0-beta.16 2021-03-15 11:49:08 +01:00
Charlie
32708281b2 Change Category (#26) 2021-03-08 14:24:49 -05:00
Robert Korulczyk
5606fcc06b Move locale files from language pack to extension. (#23) 2021-02-17 16:26:14 -05:00
Daniël Klabbers
211f36df35 changelog and constraint for beta 15 2020-12-14 23:19:25 +01:00
Daniël Klabbers
51f0d7e25d npm audit fix 2020-12-14 23:15:29 +01:00
Alexander Skvortsov
a6cae387d7 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:35:42 -05:00
Alexander Skvortsov
d2284d9de1 Update composer metadata for admin dashboard 2020-12-08 19:56:32 -05:00
Alexander Skvortsov
dc56e18739 Apply fixes from StyleCI 2020-12-08 16:12:11 +00:00
Alexander Skvortsov
a9e729401b Convert subscriber to listener, eliminating compat-style extender 2020-12-08 11:11:54 -05:00
Sami Mazouz
99e73a38a9 Use new extenders (#25) 2020-12-08 10:59:03 -05:00
flarum-bot
78288cfbae Bundled output for commit d30eadd4a9 [skip ci] 2020-11-25 06:17:27 +00:00
Alexander Skvortsov
d30eadd4a9 Add composer metadata for admin ux redesign 2020-11-25 01:16:14 -05:00
Alexander Skvortsov
418829d689 Admin js changes for admin UX redesign 2020-11-25 01:15:37 -05:00