Commit Graph

189 Commits

Author SHA1 Message Date
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
David Sevilla Martín
c3c1672993 Delete old event files 2018-05-12 10:28:36 -04:00
David Sevilla Martín
cd8d747985 Merge upstream into master 2018-05-12 10:19:52 -04:00
David Sevilla Martín
88ab68af10 Merge branch 'master' into 322-notificate-user-when-suspended 2018-02-12 08:35:24 -05:00
David Sevilla Martín
cc285f6fc8 fix merge conflicts 2018-02-12 08:34:36 -05:00
David Sevilla Martín
62d30f140b fix issues, revert js dist 2018-02-12 08:30:27 -05:00
Franz Liedke
5a2bf0d015 SuspendUserModal: Allow re-selecting "Not suspended"
Without this, clicking on the "Not suspended" radio option would
unmark the currently selected value, but not select the first value.

Refs flarum/core#1345.
2018-02-08 22:39:09 +01:00
Franz Liedke
f22c792fe0 Allow unsuspending from timed suspension
Fixes flarum/core#1345.
2018-02-08 22:33:09 +01:00
Franz Liedke
333bb702ed Extender: List all assets explicitly 2018-01-21 21:10:56 +01:00
Franz Liedke
9c6ef9e043 Adapt new bootstrap format, use Asset extender 2018-01-16 23:20:02 +01:00
Miles Cellar
31eb552a1d Update license year range to 2018 2018-01-15 19:37:38 +01:00
Toby Zerner
8afe0dfe97 Require beta 8 2018-01-11 12:29:42 +10:30
Charlie
d6be091b79 Apply namespace changes for beta 8 (#12)
* Update for beta 8

* StyleCI :)

* docBlock

* whenSavingUser
2017-09-14 19:41:56 +02:00
Toby Zerner
4e9184ae32 Add default permissions 2017-07-22 12:16:24 +09:30
Toby Zerner
b3fd4d92bd Actually no npm lockfile, at least for now
Since I tend to do `npm link gulp flarum-gulp` so I'm not sure if the lockfile is valid?
2017-07-08 21:48:28 +09:30
Toby Zerner
c349e8cb54 Update dependencies 2017-07-08 21:38:57 +09:30
David Sevilla Martín
01124e5c59 Apply fixes from StyleCI (#1) 2017-05-19 08:12:52 -04:00
David Sevilla Martin
59de5cceac add alert & email notifications for suspend & unsuspend 2017-05-18 20:32:23 -04:00
VSN Reddy Janga
6f5ec67b30 Hide diff for compiled diff files 2017-02-20 19:34:23 +05:30
Miles Cellar
46a4d6f83e Update year 2017-01-01 22:47:37 +01:00
Toby Zerner
69aae68b54 Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:28:33 +00:00
Toby Zerner
e32202203e Recompile JS 2016-11-19 22:10:04 +10:30
Toby Zerner
2c448fe090 Update StyleCI rules 2016-11-16 15:46:26 +10:30
Toby Zerner
807c6b768b v0.1.0-beta.6 2016-10-19 21:13:51 +10:30
Toby Zerner
0c8d14b14e Use new event name 2016-06-03 11:03:04 +09:30
Toby Zerner
a27c108385 Recompile dist JS using latest version of babel 2016-06-03 11:02:58 +09:30
Toby Zerner
9907b0fa51 Require core v0.1.0-beta.5 2016-03-29 18:49:50 +10:30