Commit Graph

94 Commits

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

[skip ci]
2023-04-19 08:32:02 +00:00
Sami Mazouz
d0669b08aa
perf(likes): limit likes relationship results (#3781)
* perf(core,mentions): limit `mentionedBy` post relation results

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

* Apply fixes from StyleCI

* chore: use a static property to allow customization

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

* chore: use a static property to allow customization

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

* chore: include count in show post endpoint

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

* chore: consistent locale key format

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

* chore: forgot to delete `FilterVisiblePosts`

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

* test: `mentionedByCount` must not include invisible posts to actor

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

* fix: visibility scoping on `mentionedByCount`

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

* fix: `loadAggregates` conflicts with visibility scopers

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

* Apply fixes from StyleCI

* chore: phpstan

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

* perf(likes): limit `likes` relationship results

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

* Apply fixes from StyleCI

* chore: simplify

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

* test: `likesCount` is as expected

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

* Apply fixes from StyleCI

---------

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: IanM <16573496+imorland@users.noreply.github.com>
2023-04-19 09:22:41 +01:00
dependabot[bot]
13e655aca5
chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761)
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 07:45:00 +01:00
flarum-bot
08dead81ce Bundled output for commit 47b670aa29
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2023-02-08 20:19:47 +00:00
Sami Mazouz
47b670aa29
feat: frontend Model extender (#3646)
* feat: reintroduce frontend extenders
* chore: used `Routes` extender in bundled extensions
* chore: used `PostTypes` extender in bundled extensions
* chore: `yarn format`
* feat: `Model` frontend extender
* chore: naming
* chore(review): attributes can be nullable or undefined
* chore(review): delay extender implementation
* chore(review): unnecessary check
* chore(review): stay consistent
* chore: merge conflicts
* chore: unused import
* chore: multiline extenders
* feat: add Store extender

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-02-08 21:13:53 +01:00
flarum-bot
6adae00f72 Bundled output for commit d7f4975330
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2023-01-17 18:15:45 +00:00
Sami Mazouz
d7f4975330
feat: introduce frontend extenders (#3645)
* feat: reintroduce frontend extenders
* chore: used `Routes` extender in bundled extensions
* chore: used `PostTypes` extender in bundled extensions
* chore: `yarn format`
* chore: naming
* chore(review): unnecessary check
* chore(review): stay consistent
* chore: unused import

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-01-17 19:10:24 +01:00
flarum-bot
0e238a9c82 Bundled output for commit 64fa35f2f3
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-25 17:25:24 +00:00
flarum-bot
c50c924242 Bundled output for commit 18bdd48835
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-16 10:30:13 +00:00
flarum-bot
ab56aefeaa Bundled output for commit 259db92b9a
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-11-10 23:30:18 +00: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
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
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
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
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
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
Daniel Klabbers
30e21d29f6 changes for stable 2021-05-25 16:01:45 +02: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
Daniel Klabbers
a805c333e7 Release v0.1.0-beta.16 2021-03-15 11:49:08 +01:00
Daniël Klabbers
51f0d7e25d npm audit fix 2020-12-14 23:15:29 +01:00
flarum-bot
78288cfbae Bundled output for commit d30eadd4a9 [skip ci] 2020-11-25 06:17:27 +00:00
Alexander Skvortsov
418829d689 Admin js changes for admin UX redesign 2020-11-25 01:15:37 -05:00
Daniël Klabbers
e50c375c73 npm audit security vulnerabilities patched 2020-10-14 09:57:21 +02:00
flarum-bot
e9492a2900 Bundled output for commit 99b4f707be [skip ci] 2020-10-03 00:18:29 +00:00
Alexander Skvortsov
99b4f707be Use Link component instead of route patch 2020-10-02 20:17:15 -04:00
flarum-bot
679075407f Bundled output for commit 080f553a08 [skip ci] 2020-09-24 02:49:58 +00:00
Alexander Skvortsov
080f553a08 Mithril 2 Update (#22)
Update for Mithril 2
2020-09-23 22:49:05 -04:00
dependabot[bot]
b663d9b199 Bump elliptic from 6.5.2 to 6.5.3 in /js (#21)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:11 +02:00
dependabot[bot]
27925133d6 Bump lodash from 4.17.15 to 4.17.19 in /js (#19)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 10:47:38 +02:00
flarum-bot
ab60b51476 Bundled output for commit 6a96d0244a [skip ci] 2020-07-02 00:02:26 +00:00
Alexander Skvortsov
6a96d0244a Fix extension to work with latest state changes 2020-07-01 20:01:32 -04:00
Franz Liedke
fca62108ae Update Webpack 2020-05-01 10:30:43 +02:00
Franz Liedke
e308a7ae60 npm audit fix 2020-04-24 14:30:28 +02:00
dependabot[bot]
eadb603853 Bump acorn from 6.4.0 to 6.4.1 in /js (#18)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 20:26:18 +01:00
flarum-bot
ce79f60b4b Bundled output for commit 2a27ba15ec [skip ci] 2020-02-11 20:45:05 +00:00
Franz Liedke
2a27ba15ec Update Webpack 2020-02-11 21:43:52 +01:00
Franz Liedke
090b8fbd63 Update vulnerable JS dependencies 2019-09-13 15:34:23 +02:00
flarum-bot
bea2bc2869 Bundled output for commit ab30e484c1 [skip ci] 2018-12-03 23:51:00 +00:00