Commit Graph

210 Commits

Author SHA1 Message Date
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
Toby Zerner
2dcab6f4e4 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:34:02 +10:30
Toby Zerner
4352b025d5 Clean up linting stuff 2016-03-10 17:21:10 +10:30
Franz Liedke
3a2699a7bf Use new shortcuts for migrations 2016-03-04 01:12:58 +09:00
Toby Zerner
9455ca16d1 Applied fixes from StyleCI 2016-02-25 22:57:42 -05:00
Toby Zerner
a16b531fbc Add StyleCI config 2016-02-26 14:03:03 +10:30
Franz Liedke
3bfd9b7fea Use new migration format 2016-02-24 23:14:03 +09:00
Toby Zerner
1fdac619ba Use valid date (according to Illuminate Validator) for indefinite suspension 2016-02-24 16:07:50 +10:30
Toby Zerner
a87b51f511 Only validate and check for suspend permission if suspendUntil attribute is present. fixes flarum/core#826 2016-02-24 16:07:05 +10:30
Daniel Klabbers
5119dbca91 fixed validation the date instead of integers
satisfying nitpick
2016-02-19 10:52:32 +01:00
Maël Soucaze
93ad7cc837 Update license year range to 2016 2016-01-25 16:47:27 +01:00
Daniel Klabbers
56e0eeebb1 removed "useless" phpdoc, added description for validator 2016-01-23 09:49:23 +01:00
Daniel Klabbers
d6766dbf7e added validator 2016-01-22 22:14:08 +01:00
Toby Zerner
6936a5452a Add Composer branch-alias
This allows installations to require version 0.1.0 with minimum-stability=dev, and they will get the latest from master.

See flarum/core#727
2016-01-19 17:17:29 +10:30
Toby Zerner
8beea31836 Commit latest dist files
See https://github.com/flarum/core/issues/727#issuecomment-172384020
2016-01-19 16:53:21 +10:30
Toby Zerner
9c7ded61fc Rename package 2015-12-29 12:55:55 +10:30
Toby Zerner
73e78ef80c Pass user model, not user name 2015-12-21 08:56:11 +10:30
dcsjapan
e3de8a5a23 Extract translations
- Adds app.translator calls for forum and admin interfaces.
- Locale file to follow later.
2015-11-29 11:24:14 +09:00
Toby Zerner
ec7b781adc Release 0.1.0-beta.3 2015-11-03 10:03:59 +10:30
Toby Zerner
ecf3e12947 Translations are now automatically included 2015-11-02 18:53:06 +10:30
Toby Zerner
7aa46e99cb Recompile JS 2015-10-27 12:17:34 +10:30
Toby Zerner
c7da79a646 Use more concise error handling 2015-10-20 12:50:19 +10:30
Toby Zerner
e991d65a02 Initialise component state in init() instead of constructor 2015-10-13 16:59:09 +10:30
Toby Zerner
42f7bfebad Update metadata 2015-10-12 15:01:38 +10:30
Toby Zerner
cdcf68cf5a Update for composer branch 2015-10-11 18:01:29 +10:30
Toby Zerner
7fe52f2494 Fix suspend modal submit button 2015-10-01 15:15:52 +09:30
Toby Zerner
ba7ae1eb96 Add permission grid icon 2015-09-22 18:01:56 +09:30
Toby Zerner
2832128b86 Add gitattributes 2015-09-17 09:08:46 +09:30
Toby Zerner
be550ec8f9 Namespace migrations 2015-09-17 09:08:31 +09:30
Toby Zerner
cfa4458308 Create a new migration instead of editing old one 2015-09-14 15:24:41 +09:30
Toby Zerner
2d5d9a85c0 Use correct column name 2015-09-14 15:20:51 +09:30
Toby Zerner
4aa0c0e923 Add LICENSE information 2015-09-04 12:29:32 +09:30
Toby Zerner
234e527f38 Update npm dependency 2015-09-04 12:07:26 +09:30
Toby Zerner
408c250361 Update flarum.json 2015-09-04 11:47:45 +09:30
Toby Zerner
47848488d8 Add phpcs, Travis, clean up editorconfig and eslint 2015-09-04 11:35:59 +09:30
Toby Zerner
daddce5bd0 Update migrations 2015-08-14 12:55:46 +09:30
Toby Zerner
ea5dead830 Use new listen API 2015-08-13 12:51:24 +09:30
Toby Zerner
06f4475d59 Add icon 2015-08-13 12:51:22 +09:30
Toby Zerner
9f0e574f20 Add suspend permission; don't let admins be suspended 2015-08-05 16:22:30 +09:30
Toby Zerner
8c897ceb72 Initial commit 2015-08-05 16:08:53 +09:30