1
0
mirror of https://github.com/flarum/core.git synced 2025-08-12 19:34:18 +02:00
Commit Graph

8592 Commits

Author SHA1 Message Date
David Wheatley
f3ac771980 Fix Tooltip deprecation warnings 2021-05-17 01:45:00 +01:00
flarum-bot
4db6810e40 Bundled output for commit fbe6beef28
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-17 00:29:54 +00:00
David Wheatley
fbe6beef28 Fix Badge className not being correctly set
Fixes group icons on Admin permissions page
2021-05-17 01:27:30 +01:00
David Wheatley
1785e6b8cb Update copyright date (#2863) 2021-05-16 19:10:33 -04:00
flarum-bot
f41c22df6f Bundled output for commit 3b52df1d5d
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-16 23:04:41 +00:00
SychO9
3b52df1d5d Remove Beta leftover warning code 2021-05-17 00:02:21 +01:00
SychO9
3635dbad19 Fix $tag object getting overriden by last array item 2021-05-16 23:53:34 +01:00
Alexander Skvortsov
bcb5577de5 Bump composer reqs for 1.0.0 2021-05-16 18:29:46 -04:00
Alexander Skvortsov
d074d8eb23 Bump composer reqs for 1.0.0 2021-05-16 18:29:36 -04:00
Alexander Skvortsov
b51c7c01ba Bump composer reqs for 1.0.0 2021-05-16 18:29:28 -04:00
Alexander Skvortsov
d8a0d1e6f7 Bump composer reqs for 1.0.0 2021-05-16 18:29:18 -04:00
Alexander Skvortsov
44a3ecd261 Bump composer reqs for 1.0.0 2021-05-16 18:29:11 -04:00
Alexander Skvortsov
65164449d3 Bump composer reqs for 1.0.0 2021-05-16 18:28:56 -04:00
Alexander Skvortsov
a07828dde0 Bump composer reqs for 1.0.0 2021-05-16 18:28:49 -04:00
Alexander Skvortsov
53bbb63a24 Bump composer reqs for 1.0.0 2021-05-16 18:28:41 -04:00
Alexander Skvortsov
58b322fc54 Bump composer reqs for 1.0.0 2021-05-16 18:28:28 -04:00
Alexander Skvortsov
05ba7e4270 Bump composer reqs for 1.0.0 2021-05-16 18:28:21 -04:00
Alexander Skvortsov
3f51eb8431 Bump composer reqs for 1.0.0 2021-05-16 18:28:10 -04:00
Alexander Skvortsov
2ce16084a2 Bump composer reqs for 1.0.0 2021-05-16 18:28:02 -04:00
Alexander Skvortsov
2be508c8ab Bump composer reqs for 1.0.0 2021-05-16 18:27:55 -04:00
Alexander Skvortsov
7aac31f9ac Bump composer reqs for 1.0.0 2021-05-16 18:27:49 -04:00
Alexander Skvortsov
f9c0bda172 Bump composer reqs for 1.0.0 2021-05-16 18:27:36 -04:00
Alexander Skvortsov
7bd95e3121 Bump composer reqs for 1.0.0 2021-05-16 18:27:27 -04:00
Alexander Skvortsov
506857bf92 Bump composer reqs for 1.0.0 2021-05-16 18:27:21 -04:00
Alexander Skvortsov
ddd63588d5 Bump composer reqs for 1.0.0 2021-05-16 18:27:10 -04:00
Alexander Skvortsov
6bcbe36654 Bump composer reqs for 1.0.0 2021-05-16 18:27:04 -04:00
flarum-bot
2ab5bb26eb Bundled output for commit 130a07df78
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-16 00:14:08 +00:00
Alexander Skvortsov
130a07df78 Drop JS copyright blocks 2021-05-15 20:11:38 -04:00
flarum-bot
48344069a9 Bundled output for commit a325444799
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-15 23:09:46 +00:00
Alexander Skvortsov
a325444799 Merge pull request #2867 from flarum/as/1.0-qa-fixes
Assorted 1.0 QA fixes
2021-05-15 19:07:41 -04:00
SychO9
88f44ca0d0 Use core dev-master for tests 2021-05-15 22:54:01 +01:00
Alexander Skvortsov
e835e36b8e Fix glitchy group editing
Currently, when groups are edited, the new groups flicker, but the UI soon reverts to the old groups. This is because the returned API response has the old group values. This, in turn, is because we eager load groups, and when we sync the new group relation, that doesn't update the groups saved in memory. By unsetting the relation, we make sure the right groups are returned (and also available to the GroupsChanged event).

See https://github.com/flarum/core/issues/2514
2021-05-15 02:30:03 -04:00
Alexander Skvortsov
4436d82c36 Fix CustomFooterModal Appearance
The textarea in the CustomFooterModal was much larger than in the other appearance page modals, and did not use a monospaced font. Turns out the other 2 were explicitly specified in the less. This commit adds a class that can be applied to all these modals for simpler maintenance.

Fixes https://github.com/flarum/core/issues/2865
2021-05-14 21:36:06 -04:00
Alexander Skvortsov
c90f05cb94 Fix KeyboardNavigatable
In acd3873bbd, I tried to be clever and create a new KeyboardNavigatable object as a return value for `when`. My approach to cloning was incorrect, and caused the util to break entirely.

My original intent for having this "clone"-based behavior is that a single KeyboardNavigatable instance could be created with multiple listeners, and then "cloned" like this with different "activators" registered via "then" calls. In hindsight, this change introduces more issues than it solves: outside of just not working, the cloned "KeyboardNavigatable" instances have shared internal state (the set of callbacks), and each has write access to this internal state. This is a recipe for unpredictable behavior and confusing bugs, so best to keep things simple for now, and maybe introduce more functional behavior in later releases.

Fixes https://github.com/flarum/QualityAssurance/issues/25
2021-05-14 21:21:58 -04:00
Alexander Skvortsov
0289a3b714 Fix 0s in notification dropdown
By casting the length int to a bool, if there are no badges, we don't display a  0. It seems that mithril will render integers, but not booleans.

Fixes https://github.com/flarum/QualityAssurance/issues/28
2021-05-14 21:08:48 -04:00
Alexander Skvortsov
99deb2514d NotificationListState separate content method
This fixes an error where an empty notification list wouldn't show the "empty" text.

It also simplifies flow of logic and breaks the component up a bit for readability.
2021-05-14 21:04:26 -04:00
David Wheatley
f2398017a7 Update copyright year 2021-05-15 00:58:25 +01:00
David Wheatley
e15aaf428c Update copyright year 2021-05-15 00:58:11 +01:00
David Wheatley
d61d770229 Update copyright year 2021-05-15 00:58:03 +01:00
David Wheatley
4e44f1fe6b Update copyright year 2021-05-15 00:57:53 +01:00
David Wheatley
a3b9924e40 Update copyright year 2021-05-15 00:57:44 +01:00
David Wheatley
c58153cefb Update copyright year 2021-05-15 00:57:25 +01:00
David Wheatley
44f00ad133 Update copyright year 2021-05-15 00:56:44 +01:00
David Wheatley
0807d75ec1 Update copyright year 2021-05-15 00:56:32 +01:00
David Wheatley
59320d401f Update copyright year 2021-05-15 00:56:10 +01:00
David Wheatley
f5898b393e Update copyright year 2021-05-15 00:56:00 +01:00
David Wheatley
98dca1d4e1 Update copyright year 2021-05-15 00:55:43 +01:00
David Wheatley
03f7452efc Update copyright year 2021-05-15 00:55:34 +01:00
David Wheatley
66b98cf4d6 Update copyright year 2021-05-15 00:55:18 +01:00
David Wheatley
4c9d8389a6 Update copyright year 2021-05-15 00:54:10 +01:00