Commit Graph

151 Commits

Author SHA1 Message Date
ccf9fae68c Bundled output for commit df74cc4a96a8103d1397bcfc76fce2e832df2228 [skip ci] 2020-09-24 02:49:19 +00:00
df74cc4a96 Mithril 2 Update (#29)
Update for Mithril 2
2020-09-23 22:48:20 -04:00
94c4b37799 Bundled output for commit 5038ec4590970fcebadc01b0b151c0291a6073a1 [skip ci] 2020-08-18 21:04:28 +00:00
5038ec4590 Update modal show call for the modal state changes (#28) 2020-08-18 17:03:37 -04:00
98dc5a0ea1 Bundled output for commit f26db4d3f24c14d5686eb19dad97165432faccd9 [skip ci] 2020-08-18 00:39:39 +00:00
f26db4d3f2 Extract flags list state (#24)
* Extract flags list state
2020-08-17 20:38:35 -04:00
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
e9022d5710 Replace depreciated helpers with class variant 2020-07-25 18:41:01 -04:00
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
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
0bb85cc85e Bundled output for commit bf431c4fdf0c745ec6b8150bbed6446828c28d77 [skip ci] 2020-07-01 23:59:59 +00:00
bf431c4fdf Fix extension to work with latest state changes 2020-07-01 19:58:59 -04:00
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
845c469d35 Merge pull request #23 from flarum/cw/missing-route
Add missing route for the flags page
2020-05-19 20:53:17 -04:00
2f2c1871d7 Add missing route for the flags page 2020-05-20 01:09:41 +02:00
0b2018c32a Release v0.1.0-beta.13 2020-05-01 13:08:45 +02:00
e3a2d50e41 Update Webpack 2020-05-01 11:51:07 +02:00
cf764d2c00 Use new Model extender 2020-04-24 15:55:19 +02:00
92b18063f5 npm audit fix 2020-04-24 14:30:27 +02:00
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
01ebd41bcd added heading for type of commit 2020-03-03 13:55:28 +01:00
7583faf9ed remove author, updated deps 2020-03-03 13:53:12 +01:00
2c4813f7e1 updated changelog for beta 12 2020-03-03 13:52:44 +01:00
ec858eb058 Bundled output for commit beb5329e42c14da5613b8cd567c9b1aeb21216bf [skip ci] 2020-02-07 10:58:22 +00:00
beb5329e42 Fix flagging check for all post types
Refs #18.
2020-02-07 11:57:20 +01:00
4ec12da827 Fix down migration
Refs #18.
2020-02-07 11:55:52 +01:00
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
e9a11b11d3 Tweak translation keys for consistency
Refs #18.
2020-02-07 11:54:29 +01:00
fecc2312fd Update Webpack 2020-02-07 11:33:23 +01:00
5125de8943 Bundled output for commit 4344f71d996c97e09a3e3476a0674d7b431b08e1 [skip ci] 2020-02-07 10:24:07 +00:00
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
e64ca03985 Apply fixes from StyleCI 2019-11-29 23:02:02 +00:00
4a88e0bcb0 Update copyright claims in LICENSE 2019-11-30 00:01:00 +01:00
e177857235 changelog for beta 10 2019-11-26 16:22:04 +01:00
f46719c639 Merge pull request #19 from flarum/ds/flags-api-logged-in-check
Assert registered in /api/flags to fix issue with guests
2019-11-06 13:32:50 +01:00
da37c9a0a5 Assert registered in /api/flags to fix issue with guests 2019-10-29 18:05:49 -04:00
a3f6a59152 Update vulnerable JS dependencies 2019-09-17 23:13:33 +02:00
c0e4b5d6fa Add GitHub workflow for JavaScript building 2019-08-20 23:54:23 +02:00
b3ca59615b update constraint 2019-06-24 12:02:29 +02:00
4b7b8a8fa4 changelog for 0.1.0-beta.9 2019-06-24 11:26:45 +02:00
2f270c7c73 Update changelog 2019-06-13 01:32:03 +02:00
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
979030432f Update changelog 2019-02-15 00:30:00 +01:00
b20d590289 revert the fix index names logic, preparing for illuminate 5.7 2019-01-15 21:03:12 +01:00
8aab6111ec Get rid of event subscribers that resolve services too early
Refs flarum/core#1578.
2018-12-15 16:47:41 +01:00
ffc78a0218 Add changelog 2018-12-07 09:12:57 +10:30
6d554ad499 Fix travis builds 2018-12-04 10:16:33 +10:30
ae3d1f5f5f Migrations: Fix dropping foreign keys
Passing an array to dropForeign does not mean dropping multiple indices,
but rather dropping a key on multiple tables.

Passing a string means that this string will be interpreted as index
name, not as name of the indexed column. Passing an array with one
string is therefore correct, in order to benefit from automatic index
name generation.
2018-11-30 14:04:12 +01:00
2722a0f2c5 Fix index names in migrations
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 22:33:21 +10:30
60e80d45ca Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30