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
402ace2070
Bundled output for commit ca7055f5d0
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2022-04-03 21:20:28 +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
5e82ded8c3
feat: use yarn workspaces
2022-03-11 19:12:11 -05: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
Ian Morland
07ebe5b57d
[chore] update deprecated event comments ( #41 )
2022-02-22 14:07:04 -05:00
Daniel Klabbers
fc85ce8579
Release v1.2
2022-01-20 12:13:37 +01:00
Alexander Skvortsov
6dddb748ba
chore: flarum-cli audit infra --fix
2022-01-20 03:32:36 -05:00
Alexander Skvortsov
e3f051bf4b
fix: return user when creating flags ( #42 )
...
Fixes https://github.com/flarum/QualityAssurance/issues/41
When the API response is ingested by `pushObject`, since the flag instance is new, there is nothing to merge with, and therefore, there's no user on the flag instance in the store. As a result, the flag is displayed with "deleted" as the creating user until a page refresh occurs.
More broadly, this could be fixed by either:
- Refactoring the JSON API layer so that all singular operations return the same set of includes.
- Merging the API Paylod with sent data on model save (for new instances only).
But the former would require a major breaking rewrite, and the latter could introduce potentially unwanted side effects, and is effectively a bandaid over inconsistent backend behavior.
2022-01-13 16:39:00 -05:00
flarum-bot
675bb16f9c
Bundled output for commit 9d7f9eb0e5
...
Includes transpiled JS/TS.
[skip ci]
2022-01-07 17:08:20 +00:00
Ian Morland
9d7f9eb0e5
Update JS imports ( #40 )
2022-01-07 12:07:20 -05:00
flarum-bot
3942ec4e00
Bundled output for commit 1bd32bb4e0
...
Includes transpiled JS/TS.
[skip ci]
2022-01-07 14:06:45 +00:00
Ian Morland
1bd32bb4e0
chore: convert flag items to ItemList ( #39 )
...
* Convert to ItemList, update import namespaces
* Bump deps, add prettier
* Format js
2022-01-07 14:05:40 +00:00
flarum-bot
0a30aa1663
Bundled output for commit bae89a2f44
...
Includes transpiled JS/TS.
[skip ci]
2021-10-25 17:57:29 +00:00
Lucas Fernandes
bae89a2f44
Add missing translation for the reason flag ( #30 )
2021-10-25 13:56:17 -04:00
flarum-bot
62345237ac
Bundled output for commit a3edd16e47
...
Includes transpiled JS/TS.
[skip ci]
2021-10-13 10:57:12 +00:00
David Wheatley
a3edd16e47
chore: fix JS
2021-10-13 11:56:17 +01:00
David Wheatley
99e7e74dfa
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:03:50 +01:00
flarum-bot
cde8a2e87a
Bundled output for commit aae835e9d2
...
Includes transpiled JS/TS.
[skip ci]
2021-10-12 01:27:21 +00:00
Alexander Skvortsov
aae835e9d2
Release v1.1.0
2021-10-11 21:07:45 -04:00
Daniel Klabbers
af940bf48e
fix branch alias
2021-05-25 22:45:50 +02:00
Daniel Klabbers
b28e6c510f
changes for stable
2021-05-25 15:58:02 +02:00
Daniel Klabbers
9222e93135
remove phpunit cache
2021-05-25 15:49:32 +02:00
Daniel Klabbers
222584b814
remove ide file
2021-05-25 15:41:21 +02:00
Alexander Skvortsov
2be508c8ab
Bump composer reqs for 1.0.0
2021-05-16 18:27:55 -04:00
David Wheatley
089c17becb
Update copyright year
2021-05-15 00:49:42 +01:00
Alexander Skvortsov
99a82d0069
Apply fixes from StyleCI
2021-05-12 00:08:36 +00:00
Alexander Skvortsov
be59e77a01
Move in visibility scoping from tags, add automated testing.
2021-05-11 20:04:52 -04:00
Alexander Skvortsov
f80a88d45b
Use RequestUtil for accessing actor
2021-04-08 00:02:11 -04:00
Alexander Skvortsov
9936681634
Use Symfony translator contract instead of deprecated component
2021-04-08 00:00:49 -04:00
Sami Mazouz
d5149b7406
Eager load post.user.groups relation and allow extensions to eager load relations ( #38 )
...
* Allow extensions to eager load relations
* Eager load post.user.groups
2021-04-07 16:24:52 +01:00
Daniel Klabbers
b481e41a9b
Release v0.1.0-beta.16
2021-03-15 11:27:30 +01:00
Alexander Skvortsov
506985e881
Update for beta 16
2021-03-13 17:03:56 -05:00
Charlie
a915382cfd
Change Category ( #36 )
2021-03-08 14:38:58 -05:00
Robert Korulczyk
2c1ab2504f
Move locale files from language pack to extension. ( #32 )
2021-02-17 16:24:33 -05:00
Ian Morland
705ea7f2bc
Add Created and Deleting events ( #35 )
2021-01-25 08:49:27 -05:00
Daniël Klabbers
9f065ee973
changelog and constraint for beta 15
2020-12-14 22:36:54 +01:00
Daniël Klabbers
632cb165d8
npm audit fix
2020-12-14 22:36:47 +01:00
Alexander Skvortsov
8b78feb254
Update composer metadata for admin dashboard
2020-12-08 19:56:17 -05:00
Sami Mazouz
c6e14394fd
Use new extenders ( #34 )
2020-12-08 11:43:56 -05:00
Alexander Skvortsov
46fcc1c18b
Add website and support to composer info
2020-11-25 00:55:39 -05:00
flarum-bot
7cd0645204
Bundled output for commit 9e2d794cd4
[skip ci]
2020-11-24 21:59:28 +00:00
Charlie
9e2d794cd4
AdminUX Changes ( #33 )
2020-11-24 16:58:40 -05:00
Daniël Klabbers
31906ca558
changelog for beta 14.1
2020-10-27 13:26:30 +01:00
flarum-bot
f2976f35fb
Bundled output for commit 2c79c4c620
[skip ci]
2020-10-25 05:32:08 +00:00
Alexander Skvortsov
2c79c4c620
Don't initialize cache until we receive flags ( #31 )
2020-10-25 01:31:07 -04:00
Daniël Klabbers
7181b38ec1
changelog and dep for v0.1.0-beta.14
2020-10-15 13:55:23 +02:00
Daniël Klabbers
19efca8807
npm audit security vulnerabilities patched
2020-10-14 09:56:09 +02:00
flarum-bot
d864a287a8
Bundled output for commit ede3a33952
[skip ci]
2020-10-02 23:23:49 +00:00
Alexander Skvortsov
ede3a33952
Use Link component instead of route patch
2020-10-02 19:22:43 -04:00
Alexander Skvortsov
07e93eb6f9
Use flarum/utils/Stream instead of m.stream
2020-10-02 19:22:19 -04:00
flarum-bot
ccf9fae68c
Bundled output for commit df74cc4a96
[skip ci]
2020-09-24 02:49:19 +00:00
Alexander Skvortsov
df74cc4a96
Mithril 2 Update ( #29 )
...
Update for Mithril 2
2020-09-23 22:48:20 -04:00
flarum-bot
94c4b37799
Bundled output for commit 5038ec4590
[skip ci]
2020-08-18 21:04:28 +00:00
David Sevilla Martín
5038ec4590
Update modal show call for the modal state changes ( #28 )
2020-08-18 17:03:37 -04:00
flarum-bot
98dc5a0ea1
Bundled output for commit f26db4d3f2
[skip ci]
2020-08-18 00:39:39 +00:00
Alexander Skvortsov
f26db4d3f2
Extract flags list state ( #24 )
...
* Extract flags list state
2020-08-17 20:38:35 -04:00
dependabot[bot]
e415e5ebc2
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #27 )
...
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:28 +02:00
Matthew Kilgore
e9022d5710
Replace depreciated helpers with class variant
2020-07-25 18:41:01 -04:00
Matt Kilgore
e85063fbf7
Remove AssertPermissionTrait ( #26 )
...
* Remove AssertPermissionTrait
* Apply fixes from StyleCI
* Fix my dumb mistake
* Fix another small mistake ->assertRegistered
Co-authored-by: luceos <daniel+github@klabbers.email>
2020-07-20 08:02:29 +02:00
dependabot[bot]
5d64996b84
Bump lodash from 4.17.15 to 4.17.19 in /js ( #25 )
...
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:48:19 +02:00
flarum-bot
0bb85cc85e
Bundled output for commit bf431c4fdf
[skip ci]
2020-07-01 23:59:59 +00:00
Alexander Skvortsov
bf431c4fdf
Fix extension to work with latest state changes
2020-07-01 19:58:59 -04:00
Alexander Skvortsov
1e64ac9376
Add empty locale extender to clear cache properly on enable/disable.
...
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 22:24:35 -04:00
Clark Winkelmann
2f2c1871d7
Add missing route for the flags page
2020-05-20 01:09:41 +02:00
Franz Liedke
0b2018c32a
Release v0.1.0-beta.13
2020-05-01 13:08:45 +02:00
Franz Liedke
e3a2d50e41
Update Webpack
2020-05-01 11:51:07 +02:00
Franz Liedke
cf764d2c00
Use new Model extender
2020-04-24 15:55:19 +02:00
Franz Liedke
92b18063f5
npm audit fix
2020-04-24 14:30:27 +02:00
dependabot[bot]
0ccafc2cf0
Bump acorn from 6.4.0 to 6.4.1 in /js ( #22 )
...
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:34 +01:00
Daniël Klabbers
01ebd41bcd
added heading for type of commit
2020-03-03 13:55:28 +01:00
Daniël Klabbers
7583faf9ed
remove author, updated deps
2020-03-03 13:53:12 +01:00
Daniël Klabbers
2c4813f7e1
updated changelog for beta 12
2020-03-03 13:52:44 +01:00
flarum-bot
ec858eb058
Bundled output for commit beb5329e42
[skip ci]
2020-02-07 10:58:22 +00:00
Franz Liedke
beb5329e42
Fix flagging check for all post types
...
Refs #18 .
2020-02-07 11:57:20 +01:00
Franz Liedke
4ec12da827
Fix down migration
...
Refs #18 .
2020-02-07 11:55:52 +01:00
Franz Liedke
95d2ba3eb7
Rely on default modal error handling
...
This also gives the server-side the chance to add more different error
messages / additional behavior without having to change the frontend.
Refs #18 .
2020-02-07 11:55:38 +01:00
Franz Liedke
e9a11b11d3
Tweak translation keys for consistency
...
Refs #18 .
2020-02-07 11:54:29 +01:00
Franz Liedke
fecc2312fd
Update Webpack
2020-02-07 11:33:23 +01:00
flarum-bot
5125de8943
Bundled output for commit 4344f71d99
[skip ci]
2020-02-07 10:24:07 +00:00
Ian Morland
4344f71d99
Flag improvements/tweaks ( #18 )
...
* Option to allow users to flag their own post
* Increase size of "Flag Post" modal
* Allow optional reason detail for offtopic, inappropriate and spam reasons
* For other reasons, detail text is now required
* Switch to column type "text" to allow more details in reason
2020-02-07 11:23:10 +01:00
Franz Liedke
e64ca03985
Apply fixes from StyleCI
2019-11-29 23:02:02 +00:00
Franz Liedke
4a88e0bcb0
Update copyright claims in LICENSE
2019-11-30 00:01:00 +01:00
Daniel Klabbers
e177857235
changelog for beta 10
2019-11-26 16:22:04 +01:00
David Sevilla Martin
da37c9a0a5
Assert registered in /api/flags to fix issue with guests
2019-10-29 18:05:49 -04:00
Franz Liedke
a3f6a59152
Update vulnerable JS dependencies
2019-09-17 23:13:33 +02:00
Franz Liedke
c0e4b5d6fa
Add GitHub workflow for JavaScript building
2019-08-20 23:54:23 +02:00
Daniël Klabbers
b3ca59615b
update constraint
2019-06-24 12:02:29 +02:00
Daniël Klabbers
4b7b8a8fa4
changelog for 0.1.0-beta.9
2019-06-24 11:26:45 +02:00
Franz Liedke
2f270c7c73
Update changelog
2019-06-13 01:32:03 +02:00
lubo
8ec05c4905
bugfix when posts is not needed when showing discussion ( #17 )
...
When accessing /api/discussion/[id]?include=user, NOTICE occurs
2019-03-25 11:04:30 +01:00
Franz Liedke
979030432f
Update changelog
2019-02-15 00:30:00 +01:00
Daniël Klabbers
b20d590289
revert the fix index names logic, preparing for illuminate 5.7
2019-01-15 21:03:12 +01:00
Franz Liedke
8aab6111ec
Get rid of event subscribers that resolve services too early
...
Refs flarum/core#1578 .
2018-12-15 16:47:41 +01:00