Commit Graph

112 Commits

Author SHA1 Message Date
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
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
bd0e815c32 Bundled output for commit 4f79706eaf56179852772078bc4fe50cc459ffbc [skip ci] 2018-11-21 08:20:13 +00:00
4f79706eaf Make npm package private, update deps, change watch to dev 2018-11-21 18:44:58 +10:30
174108c318 Remove copyright year from LICENSE 2018-11-21 18:37:20 +10:30
60c955f3af Bundled output for commit 339255f4fdab2d21342eb0522585b9f3ec97f481 [skip ci] 2018-11-17 08:37:11 +00:00
339255f4fd Update dependencies 2018-11-17 19:05:59 +10:30
e0d996401a Bundled output for commit 3461537e8a252bc534f49d9afd6757db8d88561c [skip ci] 2018-11-15 06:12:22 +00:00
3461537e8a Prefix compat exports 2018-11-15 16:41:18 +10:30
4590344da7 Bundled output for commit d3786021b1dad2d90d99b9fb5768c0e9c3d2ed43 [skip ci] 2018-10-21 04:49:52 +00:00
d3786021b1 Rename package 2018-10-21 15:16:21 +10:30
a00d10eb1c Rename package 2018-10-17 13:44:47 +10:30
6e04891ef6 Add database indices. ref flarum/core#127 (#16) 2018-09-24 23:49:46 +02:00
795d7c4b3f Rename bootstrap.php 2018-09-21 11:46:57 +09:30
771983f6a2 Bundled output for commit 947378fa61a52cd5dd768f67163ee67f2dc342b4 [skip ci] 2018-09-21 01:02:19 +00:00
947378fa61 Update dependencies 2018-09-21 10:25:47 +09:30
56e94f4918 Bundled output for commit ec60fed3812d71091f1bbf14e4f766640016c3ed [skip ci] 2018-09-16 18:50:42 +00:00
ec60fed381 Database changes (#15)
* Implement database changes

* Split foreign keys into their own migration

* Use whereColumn

* Rename flag.time

* Rename forum.flagCount

* Rename forum.newFlagCount
2018-09-16 20:49:41 +02:00
f218f14160 Use new Frontend extender
See flarum/core#851.
2018-07-23 16:28:34 +02:00
25e7e2aa4c Bundled output for commit 19d5bf498f07700d7c1b0c44a2b3189ecfdfd7af [skip ci] 2018-06-20 05:25:31 +00:00
19d5bf498f Fix Travis' deploy key 2018-06-20 14:31:12 +09:30
0cc59d725f Remove progress flag 2018-06-20 13:54:01 +09:30
ec6cd07f94 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:25 +09:30
4acd676543 Change fa icon prefix to fas 2018-05-10 14:58:35 +07:00
AFR
1e61e2e5a1 Adapt to FontAwesome v5.0.6 icon name changes (#12) 2018-02-23 23:44:03 +01:00
5087ba4148 Remove unused imports 2018-02-08 18:26:43 +01:00
c797732e60 Use Routes extender 2018-02-08 18:21:29 +01:00
da075a3d0f Extender: List all assets explicitly 2018-01-21 21:09:16 +01:00
95f70cae7a Adapt new bootstrap format, use Asset extender 2018-01-16 23:18:17 +01:00