Commit Graph

190 Commits

Author SHA1 Message Date
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
b64003cba5 Bundled output for commit 46f8cf4628
Includes transpiled JS/TS.

[skip ci]
2022-03-23 17:37:18 +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
e5a865227a Release v1.2 2022-01-20 12:41:14 +01:00
flarum-bot
90a8429067 Bundled output for commit 2c0e6798f9
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:40:02 +00:00
Alexander Skvortsov
2c0e6798f9 chore: flarum-cli audit infra --fix 2022-01-20 03:38:34 -05:00
flarum-bot
2d50029435 Bundled output for commit f442a43205
Includes transpiled JS/TS.

[skip ci]
2022-01-11 10:40:43 +00:00
Ian Morland
f442a43205 chore: repo maintenance (#30)
* Bump deps

* Update imports

* Format
2022-01-11 10:39:22 +00:00
flarum-bot
b5c3d630d5 Bundled output for commit 06813fae86
Includes transpiled JS/TS.

[skip ci]
2021-10-13 10:59:00 +00:00
David Wheatley
06813fae86 chore: fix JS 2021-10-13 11:58:02 +01:00
David Wheatley
6ee1f10d44 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:05:53 +01:00
flarum-bot
57af2ccf83 Bundled output for commit 4547a4416b
Includes transpiled JS/TS.

[skip ci]
2021-10-12 01:27:19 +00:00
Alexander Skvortsov
4547a4416b Release v1.1.0 2021-10-11 21:11:21 -04:00
Sami Mazouz
711793c470 Use css variables for badge (#29) 2021-08-16 10:18:46 +01:00
Daniel Klabbers
6be9cb86c7 fix branch alias 2021-05-25 22:50:37 +02:00
Daniel Klabbers
8ad2f77cff changes for stable 2021-05-25 16:03:01 +02:00
Alexander Skvortsov
05ba7e4270 Bump composer reqs for 1.0.0 2021-05-16 18:28:21 -04:00
David Wheatley
98dca1d4e1 Update copyright year 2021-05-15 00:55:43 +01:00
Daniel Klabbers
9ffccc77aa Release v0.1.0-beta.16 2021-03-15 11:55:06 +01:00
Alexander Skvortsov
63a71d58c5 Apply fixes from StyleCI 2021-03-13 20:36:07 +00:00
Alexander Skvortsov
668de47095 Update for search filter split 2021-03-13 15:35:53 -05:00
Charlie
cea10c8e9b Change Category (#27) 2021-03-08 14:24:57 -05:00
Robert Korulczyk
9fb0356e71 Move locale files from language pack to extension. (#24) 2021-02-17 16:26:05 -05:00
Daniël Klabbers
46966c29ac npm audit fix 2020-12-15 08:43:59 +01:00
Daniël Klabbers
467d49f938 changelog and constraint for beta 15 2020-12-14 23:23:48 +01:00
Alexander Skvortsov
30e1d1e100 Update composer metadata for admin dashboard 2020-12-08 19:56:48 -05:00
Alexander Skvortsov
b7034c707d Use new policy extender, move deprecated event listener back to old style callback 2020-12-08 14:34:11 -05:00
Sami Mazouz
c0e0c7f3c7 Use new extenders (#26) 2020-12-08 14:21:00 -05:00
flarum-bot
1aa1d59efa Bundled output for commit 19202fc1e8 [skip ci] 2020-11-25 06:21:44 +00:00
Alexander Skvortsov
19202fc1e8 Composer metadata for admin ux redesign 2020-11-25 01:20:52 -05:00
Alexander Skvortsov
e5913ba7f6 Admin js changes for admin ux revamp 2020-11-25 01:20:17 -05:00
Sami Mazouz
47284b85bc Use the new Notification type extender (#25) 2020-10-31 18:42:46 -04:00
Daniël Klabbers
8eabcc20fa changelog and dep for v0.1.0-beta.14 2020-10-15 14:14:46 +02:00
Daniël Klabbers
f4c2c3577d npm audit security vulnerabilities patched 2020-10-14 09:58:07 +02:00
flarum-bot
bf7e002442 Bundled output for commit 63198e67c6 [skip ci] 2020-09-24 02:50:35 +00:00
Alexander Skvortsov
63198e67c6 Mithril 2 Update (#23)
Update for Mithril 2
2020-09-23 22:49:53 -04:00
dependabot[bot]
44f5c7e1fe Bump elliptic from 6.5.2 to 6.5.3 in /js (#22)
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:09:12 +02:00
Matt Kilgore
9246bdc985 Removes AssertPermissionTrait (#21)
* Removes AssertPermissionTrait

* Fix my dumb mistake
2020-07-20 07:59:51 +02:00
dependabot[bot]
12a3ed7355 Bump lodash from 4.17.15 to 4.17.19 in /js (#20)
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:44 +02:00
flarum-bot
5240157871 Bundled output for commit 1ae36a0b64 [skip ci] 2020-06-26 14:05:34 +00:00
Franz Liedke
1ae36a0b64 Fix extension to work with latest state changes
Refs flarum/core#2156.
2020-06-26 16:04:02 +02:00
Alexander Skvortsov
541b1a59d3 Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 21:54:38 -04:00
Franz Liedke
aa894d0cbc Release v0.1.0-beta.13 2020-05-01 13:08:45 +02:00
Franz Liedke
8e431aca26 Update Webpack 2020-05-01 11:51:12 +02:00
Franz Liedke
d01f3cde0e npm audit fix 2020-04-24 14:30:28 +02:00
dependabot[bot]
71981b4650 Bump acorn from 6.4.0 to 6.4.1 in /js (#19)
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:27:15 +01:00
Daniël Klabbers
a922418bbe remove author, updated deps 2020-03-03 14:07:06 +01:00
flarum-bot
f993b78896 Bundled output for commit a0b01707d1 [skip ci] 2020-02-11 20:47:33 +00:00
Franz Liedke
a0b01707d1 Update Webpack 2020-02-11 21:46:35 +01:00
Franz Liedke
1424fd2211 Apply fixes from StyleCI 2019-11-29 23:02:10 +00:00
Franz Liedke
a58492ffdc Update copyright claims in LICENSE 2019-11-30 00:01:01 +01:00
Franz Liedke
b44c71348c Update vulnerable JS dependencies 2019-09-13 15:41:22 +02:00
Franz Liedke
161f476d26 Add GitHub workflow for JavaScript building 2019-08-20 23:54:24 +02:00
Daniël Klabbers
3714d7a8ab update constraint 2019-06-24 12:05:54 +02:00
Daniël Klabbers
f346f6558f changelog for 0.1.0-beta.9 2019-06-24 11:58:48 +02:00
Franz Liedke
f45e15c877 Add changelog 2019-02-15 00:30:50 +01:00
Daniël Klabbers
e17d4d57b7 revert the fix index names logic, preparing for illuminate 5.7 2019-01-15 21:03:32 +01:00
Franz Liedke
c22c74553f Get rid of event subscribers that resolve services too early
Refs flarum/core#1578.
2018-12-15 17:09:44 +01:00
Toby Zerner
df42580f7e Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
ba84633d45 Fix index names in migrations
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 22:33:38 +10:30
Toby Zerner
5c431b79b1 Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30
flarum-bot
a9d5bc5384 Bundled output for commit ee8daf08cc [skip ci] 2018-11-21 08:20:45 +00:00
Toby Zerner
ee8daf08cc Make npm package private, update deps, change watch to dev 2018-11-21 18:45:19 +10:30
Toby Zerner
7bd99469d5 Remove copyright year from LICENSE 2018-11-21 18:37:21 +10:30
Toby Zerner
ed57ad3c0d Update dependencies 2018-11-17 18:53:38 +10:30
flarum-bot
c245df138e Bundled output for commit a69d423c8e [skip ci] 2018-10-21 04:50:46 +00:00
Toby Zerner
a69d423c8e Rename package 2018-10-21 15:16:21 +10:30
Toby Zerner
19d8c0dff5 Rename package 2018-10-17 13:44:47 +10:30
Toby Zerner
591f8529fd Add database indices. ref flarum/core#127 (#17) 2018-09-24 23:49:36 +02:00
Toby Zerner
ac6d9418e1 Remove obsolete permission logic
flarum/core#1513 changes the post.edit permission so that it is only
granted if the user also has permission to reply to the discussion. This
means that explicitly revoking the edit permission is no longer
necessary, as it will never be granted in the first place.
2018-09-22 12:19:07 +09:30
Toby Zerner
4aa0729d67 Rename bootstrap.php 2018-09-21 11:47:09 +09:30
flarum-bot
af85aa28b2 Bundled output for commit a8b0ef46a6 [skip ci] 2018-09-21 01:03:10 +00:00
Toby Zerner
a8b0ef46a6 Update dependencies 2018-09-21 10:25:47 +09:30
flarum-bot
be60fcbea3 Bundled output for commit 58224c2980 [skip ci] 2018-09-16 18:51:58 +00:00
Toby Zerner
58224c2980 Database changes (#16)
* Update core references

* Update core attribute names
2018-09-16 20:50:02 +02:00
Franz Liedke
021752296d Use new Frontend extender
See flarum/core#851.
2018-07-23 16:28:59 +02:00
flarum-bot
681c51880d Bundled output for commit ee74133ef6 [skip ci] 2018-06-20 05:26:18 +00:00
Toby Zerner
ee74133ef6 Fix Travis' deploy key 2018-06-20 14:31:32 +09:30
Toby Zerner
288ad0b2a6 Remove progress flag 2018-06-20 13:54:01 +09:30
Toby Zerner
990cae94cb Webpack (#14)
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:35:19 +09:30
Ammar Fadhlur Rahman
0d18e0e140 Change fa icon prefix to fas 2018-05-10 14:59:28 +07:00
AFR
e868685609 Adapt to FontAwesome v5.0.6 icon name changes (#12) 2018-02-23 23:43:57 +01:00
Franz Liedke
85fa190f59 Extender: List all assets explicitly 2018-01-21 21:09:37 +01:00
Franz Liedke
918ca2201d Adapt new bootstrap format, use Asset extender 2018-01-16 23:18:41 +01:00
Miles Cellar
f9aad6599e Update license year range to 2018 2018-01-15 19:35:41 +01:00
Toby Zerner
365b338540 Require beta 8 2018-01-11 12:25:32 +10:30
Franz Liedke
1bed2fefa3 Fix class names 2017-10-03 20:52:33 +02:00
Franz Liedke
ce9e2926de Fix a namespace 2017-10-03 19:14:53 +02:00
Franz Liedke
909870c381 Update namespaces for beta 8
Refs flarum/core#1235.
2017-10-01 19:56:14 +02:00
Toby Zerner
1dd82e0bcc Add default permissions 2017-07-22 12:18:15 +09:30
Franz Liedke
81a311c256 Fix order of imports 2017-04-13 09:30:38 +02:00
Franz Liedke
ffa5e8b8c7 Disallow editing if discussions are locked
Fixes flarum/core#1156.
2017-04-13 08:22:08 +02:00
VSN Reddy Janga
9437436b4e Hide diff for compiled diff files 2017-02-20 19:35:10 +05:30
Clark Winkelmann
97f469da80 Fix copy-paste shame
This hurts 😂
2017-02-04 23:34:52 +01:00
Miles Cellar
5c485dbb65 Update year 2017-01-01 22:45:56 +01:00