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
c96b8b8877
Release v1.2
2022-01-20 12:17:01 +01:00
flarum-bot
0edd226996
Bundled output for commit e03273e368
...
Includes transpiled JS/TS.
[skip ci]
2022-01-20 08:59:02 +00:00
Alexander Skvortsov
e03273e368
chore: flarum-cli audit infra --fix
2022-01-20 03:57:25 -05:00
flarum-bot
d63cd16f15
Bundled output for commit 7453bc338a
...
Includes transpiled JS/TS.
[skip ci]
2021-12-20 16:33:35 +00:00
Sami Mazouz
7453bc338a
fix: minor js error when user is not suspended ( #42 )
2021-12-20 17:32:25 +01:00
flarum-bot
8f48630458
Bundled output for commit fc06dba1b3
...
Includes transpiled JS/TS.
[skip ci]
2021-12-12 23:49:16 +00:00
Ian Morland
fc06dba1b3
feat: Display suspension to user ( #41 )
2021-12-13 00:48:10 +01:00
David Wheatley
984b553dc8
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:05:24 +01:00
Alexander Skvortsov
d377fee8c9
Release v1.1.0
2021-10-11 21:17:37 -04:00
flarum-bot
e4efd94add
Bundled output for commit 0cb36b90c3
...
Includes transpiled JS/TS.
[skip ci]
2021-07-31 11:51:35 +00:00
David Wheatley
0cb36b90c3
Perform general repo maintenance ( #37 )
...
* Perform general repo maintenance
- Bump deps
- Add Prettier
- Add `flarum-tsconfig` for typings support
* Move webpack config to devDeps
* Use organisation Prettier
* Add setup for https://github.com/flarum/flarum-tsconfig/pull/2
2021-07-31 12:50:35 +01:00
flarum-bot
fd14cb2472
Bundled output for commit 8353f087e5
...
Includes transpiled JS/TS.
[skip ci]
2021-07-18 20:48:36 +00:00
Hasan Özbey
8353f087e5
suspend anonymously ( #39 )
...
* suspend anonymously
closes https://github.com/flarum/core/issues/2614
* format less file
* empty methods should return null
2021-07-18 22:47:34 +02:00
Daniel Klabbers
14c6675e47
fix branch alias
2021-05-25 22:53:06 +02:00
Daniel Klabbers
d01810f5a8
changes for stable
2021-05-25 16:51:08 +02:00
Alexander Skvortsov
d074d8eb23
Bump composer reqs for 1.0.0
2021-05-16 18:29:36 -04:00
David Wheatley
d61d770229
Update copyright year
2021-05-15 00:58:03 +01:00
Daniel Klabbers
258ff753de
Release v0.1.0-beta.16
2021-03-15 12:45:15 +01:00
Alexander Skvortsov
06dfd8a603
Use ApiSerializer attributes method
2021-03-13 17:04:58 -05:00
Alexander Skvortsov
c01dc63c5d
Apply fixes from StyleCI
2021-03-13 20:49:35 +00:00
Alexander Skvortsov
6eb2c9e574
Update for search/filter split
2021-03-13 15:49:23 -05:00
Charlie
5b312bc280
Change Category ( #33 )
2021-03-08 14:20:55 -05:00
Ian Morland
6cb68bcd01
Provide a target for can ability ( #35 )
...
This ensures that the default user policy applies, and `user.hasPermission` is called.
2021-03-05 10:28:53 -05:00
Robert Korulczyk
2d85cc8c38
Move locale files from language pack to extension. ( #28 )
2021-02-17 16:24:51 -05:00
flarum-bot
ca95c3164d
Bundled output for commit 1c6b8c67a7
[skip ci]
2021-01-24 06:43:38 +00:00
David Sevilla Martín
1c6b8c67a7
Fix suspended notification not showing correct suspension length ( #32 )
2021-01-24 01:42:52 -05:00
Daniël Klabbers
064d1f5eb6
changelog and constraint for beta 15
2020-12-15 09:33:50 +01:00
Daniël Klabbers
e0979861fe
npm audit fix
2020-12-15 09:31:08 +01:00
Alexander Skvortsov
901eb51341
Update composer metadata for admin dashboard
2020-12-08 19:58:29 -05:00
Alexander Skvortsov
2bb5482f03
Apply fixes from StyleCI
2020-12-08 19:03:47 +00:00
Alexander Skvortsov
7a48da291e
Use new Policy and User Permission Groups permissions
2020-12-08 14:02:06 -05:00
Sami Mazouz
ab8a3e48b2
Use new extenders ( #31 )
2020-12-08 13:44:43 -05:00
flarum-bot
39c687cbcc
Bundled output for commit df5df9a275
[skip ci]
2020-11-25 06:37:29 +00:00
Alexander Skvortsov
df5df9a275
Add composer metadata for admin ux redesign
2020-11-25 01:36:36 -05:00
Alexander Skvortsov
d7d9ebb882
Admin js changes for admin ux redesign
2020-11-25 01:36:17 -05:00
Sami Mazouz
3dcd356edc
Use the new Notification type extender ( #29 )
2020-10-31 18:42:01 -04:00
Daniël Klabbers
dd8e0f3fbb
changelog and dep for v0.1.0-beta.14
2020-10-15 16:10:15 +02:00
Daniël Klabbers
b34ebb5a8c
npm audit security vulnerabilities patched
2020-10-14 10:02:42 +02:00
flarum-bot
0a7edacc4e
Bundled output for commit 961bb3178f
[skip ci]
2020-10-03 00:23:17 +00:00
Alexander Skvortsov
961bb3178f
Use Stream util instead of m.stream
2020-10-02 20:22:09 -04:00
flarum-bot
9ed0083c12
Bundled output for commit b26a9af51f
[skip ci]
2020-09-24 02:57:51 +00:00
Alexander Skvortsov
b26a9af51f
Mithril 2 Update ( #27 )
...
Update for Mithril 2
2020-09-23 22:57:08 -04:00
flarum-bot
ecf174d62f
Bundled output for commit 400a9a6267
[skip ci]
2020-08-28 16:31:50 +00:00
Franz Liedke
400a9a6267
Use dayjs, not moment.js
...
Refs flarum/core#2219 .
2020-08-28 18:30:52 +02:00
dependabot[bot]
fb01d767c7
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #26 )
...
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:17 +02:00
Matthew Kilgore
4c88d093f1
Replace depreciated helper functions with classfull ones
2020-07-25 21:16:39 -04:00
Matt Kilgore
d90d0e5fbc
Removes AssertPermissionTrait ( #25 )
...
* Removes AssertPermissionTrait
* Fix ->can to ->assertCan
2020-07-19 17:37:14 -04:00
dependabot[bot]
6fc7ba196b
Bump lodash from 4.17.15 to 4.17.19 in /js ( #24 )
...
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:41 +02:00
flarum-bot
f31e27ff3a
Bundled output for commit 78f8a4d310
[skip ci]
2020-07-02 00:06:05 +00:00
Alexander Skvortsov
78f8a4d310
Fix extension to work with latest state changes
2020-07-01 20:05:06 -04:00
Alexander Skvortsov
061a8585c2
Add suspended gambit ( #23 )
...
* Add is:suspended gambit
* Wrap where clauses in function
* Added permission check for suspended gambit
* Apply fixes from StyleCI
Co-authored-by: luceos <daniel+github@klabbers.email>
2020-06-28 15:02:09 -04:00
luceos
c925f92f79
Apply fixes from StyleCI
2020-06-20 02:25:53 +00:00
Alexander Skvortsov
eb1e364424
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:25:40 -04:00
David Sevilla Martin
42d7968dfb
Fix Model extender transition using camelCase instead of underscore notation
2020-05-03 08:39:35 -04:00
Franz Liedke
347fc6d79d
Release v0.1.0-beta.13
2020-05-01 10:43:06 +02:00
Franz Liedke
7f04f8852c
Update Webpack
2020-05-01 10:33:37 +02:00
Franz Liedke
91d7b6730f
Use new Model extender
2020-04-24 15:56:07 +02:00
Franz Liedke
2d9c38674b
npm audit fix
2020-04-24 14:30:31 +02:00
dependabot[bot]
6cc270c8e8
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:46 +01:00
Daniël Klabbers
30590f718a
remove author, updated deps
2020-03-03 14:51:42 +01:00
flarum-bot
a6ae4e4b9c
Bundled output for commit a2d685f203
[skip ci]
2020-02-11 20:47:19 +00:00
Franz Liedke
a2d685f203
Update Webpack
2020-02-11 21:46:15 +01:00
Franz Liedke
5c7d2bb9f2
Apply fixes from StyleCI
2019-11-29 23:02:35 +00:00
Franz Liedke
80ae69fb0c
Update copyright claims in LICENSE
2019-11-30 00:01:04 +01:00
Daniel Klabbers
e4daca44a1
v0.1.0-beta.10 changelog
2019-11-26 16:28:50 +01:00
flarum-bot
ed59241ecf
Bundled output for commit 0fdb32d2a7
[skip ci]
2019-09-20 06:22:45 +00:00
Clark Winkelmann
c25c46e280
Removed unused imports
2019-09-19 23:13:01 +02:00
Clark Winkelmann
aca910b705
Fix user icon for FontAwesome 5
2019-09-19 23:01:37 +02:00
Franz Liedke
9bdf2a3c8d
Update vulnerable JS dependencies
2019-09-13 15:40:27 +02:00
Franz Liedke
f54df1bb92
Add GitHub workflow for JavaScript building
2019-08-20 23:54:26 +02:00
Daniël Klabbers
e0bbb67081
update constraint
2019-06-24 12:03:49 +02:00
Daniël Klabbers
e6fe134b0e
changelog for 0.1.0-beta.9
2019-06-24 11:33:08 +02:00
Franz Liedke
d97df66e34
Add changelog
2019-02-15 00:30:51 +01:00
Franz Liedke
de1ff99356
Get rid of event subscribers that resolve services too early
...
Refs flarum/core#1578 .
2018-12-16 15:06:10 +01:00
Toby Zerner
9302014dfa
Fix travis builds
2018-12-04 10:16:33 +10:30
Toby Zerner
736bf0e75d
Remove sudo: false
...
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:15 +10:30
flarum-bot
746e5cac50
Bundled output for commit 5aed022630
[skip ci]
2018-11-21 08:24:23 +00:00
Toby Zerner
5aed022630
Make npm package private, update deps, change watch
to dev
2018-11-21 18:46:13 +10:30
Toby Zerner
c2494dcbf1
Remove copyright year from LICENSE
2018-11-21 18:37:21 +10:30
Toby Zerner
756910af07
Update dependencies
2018-11-17 18:53:39 +10:30
flarum-bot
9c010da19f
Bundled output for commit 28aff939ca
[skip ci]
2018-10-21 04:52:44 +00:00
Toby Zerner
28aff939ca
Rename package
2018-10-21 15:16:22 +10:30
Toby Zerner
93b8aa0f7f
Rename package
2018-10-17 13:44:48 +10:30
Toby Zerner
6f5aca0476
Rename bootstrap.php
2018-09-21 11:48:00 +09:30
flarum-bot
ffdce4e920
Bundled output for commit 2265a5dca5
[skip ci]
2018-09-21 00:46:24 +00:00
Toby Zerner
2265a5dca5
Update dependencies
2018-09-21 10:15:19 +09:30
flarum-bot
05814dfe12
Bundled output for commit 1b3a432c41
[skip ci]
2018-09-16 18:58:11 +00:00
Toby Zerner
1b3a432c41
Database changes ( #19 )
...
* Rename suspend_until column
* Missed one!
* Update core attribute names
* Rename user.suspendUntil
2018-09-16 20:57:13 +02:00
Franz Liedke
3f37d68314
Use new Frontend extender
...
See flarum/core#851 .
2018-07-23 16:34:17 +02:00
flarum-bot
29904e02db
Bundled output for commit ea28537b76
[skip ci]
2018-07-20 23:24:16 +00:00
David Sevilla Martín
ea28537b76
Fix the translator not being used properly in the notifications ( #20 )
...
* Fix the translator not being used properly
* fix weird indentation thing
2018-07-21 08:53:19 +09:30
flarum-bot
99a4d91bdd
Bundled output for commit 0fdf5e6c55
[skip ci]
2018-06-20 05:23:13 +00:00
Toby Zerner
0fdf5e6c55
Remove progress flag
2018-06-20 13:54:01 +09:30
Toby Zerner
014864577d
Webpack ( #18 )
...
See https://github.com/flarum/core/pull/1367
* Replace gulp with webpack and npm scripts for JS compilation
* Set up Travis CI to commit compiled JS
* Restructure `js` directory; only one instance of npm, forum/admin are "submodules"
* Restructure `less` directory
2018-06-20 13:36:18 +09:30
David Sevilla Martín
83cdd63737
Apply fixes from StyleCI ( #3 )
2018-05-12 10:50:28 -04:00