Commit Graph

18 Commits

Author SHA1 Message Date
Sami Mazouz
47b670aa29
feat: frontend Model extender (#3646)
* feat: reintroduce frontend extenders
* chore: used `Routes` extender in bundled extensions
* chore: used `PostTypes` extender in bundled extensions
* chore: `yarn format`
* feat: `Model` frontend extender
* chore: naming
* chore(review): attributes can be nullable or undefined
* chore(review): delay extender implementation
* chore(review): unnecessary check
* chore(review): stay consistent
* chore: merge conflicts
* chore: unused import
* chore: multiline extenders
* feat: add Store extender

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-02-08 21:13:53 +01:00
Sami Mazouz
74bcab866c
fix(suspend): suspension modal shows after suspension is over (#3449) 2022-06-19 23:51:29 +01:00
Alexander Skvortsov
e03273e368 chore: flarum-cli audit infra --fix 2022-01-20 03:57:25 -05:00
Sami Mazouz
7453bc338a fix: minor js error when user is not suspended (#42) 2021-12-20 17:32:25 +01:00
Ian Morland
fc06dba1b3 feat: Display suspension to user (#41) 2021-12-13 00:48:10 +01:00
David Wheatley
0cb36b90c3 Perform general repo maintenance (#37)
* Perform general repo maintenance

- Bump deps
- Add Prettier
- Add `flarum-tsconfig` for typings support

* Move webpack config to devDeps

* Use organisation Prettier

* Add setup for https://github.com/flarum/flarum-tsconfig/pull/2
2021-07-31 12:50:35 +01:00
Hasan Özbey
8353f087e5 suspend anonymously (#39)
* suspend anonymously

closes https://github.com/flarum/core/issues/2614

* format less file

* empty methods should return null
2021-07-18 22:47:34 +02:00
David Sevilla Martín
1c6b8c67a7 Fix suspended notification not showing correct suspension length (#32) 2021-01-24 01:42:52 -05:00
Alexander Skvortsov
d7d9ebb882 Admin js changes for admin ux redesign 2020-11-25 01:36:17 -05:00
Alexander Skvortsov
961bb3178f Use Stream util instead of m.stream 2020-10-02 20:22:09 -04:00
Alexander Skvortsov
b26a9af51f Mithril 2 Update (#27)
Update for Mithril 2
2020-09-23 22:57:08 -04:00
Franz Liedke
400a9a6267 Use dayjs, not moment.js
Refs flarum/core#2219.
2020-08-28 18:30:52 +02:00
Alexander Skvortsov
78f8a4d310 Fix extension to work with latest state changes 2020-07-01 20:05:06 -04: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
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
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
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