Commit Graph

8565 Commits

Author SHA1 Message Date
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
David Wheatley
47f28b5681 Add MIT license
Matches other Flarum repos
2021-05-15 00:53:49 +01:00
David Wheatley
089c17becb Update copyright year 2021-05-15 00:49:42 +01:00
David Wheatley
163e6d1337 Update copyright year 2021-05-15 00:49:28 +01:00
David Wheatley
f53df8715f Update copyright year 2021-05-15 00:49:18 +01:00
David Wheatley
9fe4694468 Update copyright year 2021-05-15 00:47:46 +01:00
David Wheatley
0525dbd7c8 Update copyright year 2021-05-15 00:47:08 +01:00
David Wheatley
90fa5e01ff Update copyright year 2021-05-15 00:45:34 +01:00
David Wheatley
a2e5b30f37 Update copyright year 2021-05-15 00:45:09 +01:00
flarum-bot
21e251599a Bundled output for commit a012029521
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-14 22:37:39 +00:00
Sami Mazouz
a012029521 Use slugs for user pages (#2864) 2021-05-14 23:35:50 +01:00
Alexander Skvortsov
ef64c2ab35 Fix "add numbered list" styleSelectedText action
Looks like I missed the `numberedLines` function used by the `orderedList` function in 60dea59815
2021-05-14 18:35:11 -04:00
flarum-bot
b7e9d729c1 Bundled output for commit 8ef8dee532
Includes transpiled JS/TS.

[skip ci]
2021-05-14 22:15:06 +00:00
SychO9
8ef8dee532 Use slug for user mentions page 2021-05-14 23:13:45 +01:00
Sami Mazouz
aa7ea1940f Fix version update page (#2862)
* Binding closures only get the container instance as argument
2021-05-14 16:10:05 +01:00
SychO9
ccc7a43913 Update Application version constant to 1.0.0-dev 2021-05-13 22:19:01 +01:00
flarum-bot
b7ad30833a Bundled output for commit 40f9d2213f
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-13 19:58:41 +00:00
Christian Lopez
40f9d2213f Replace removed hasDiscussions method from DiscussionListPane (#2860) 2021-05-13 15:56:55 -04:00
Sami Mazouz
db4216eb47 Backend cleanup (#2859)
* Extender docblocks cleanup
* Excplicit type hinting in extenders
* Bring method under constructor
* Mark some classes and methods as internal
* Remove beta references

Co-authored-by: Clark Winkelmann <clark.winkelmann@gmail.com>
2021-05-13 15:26:24 +01:00
Alexander Skvortsov
0c0b3b2678 Fix display 2021-05-12 20:28:40 -04:00
flarum-bot
09be7ff3b3 Bundled output for commit d0829bc3a4
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-13 00:03:24 +00:00
flarum-bot
91891da48b Bundled output for commit 0ec87f5b43
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:03:13 +00:00
flarum-bot
48526c4892 Bundled output for commit 0be39b144c
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:02:52 +00:00
flarum-bot
4d8f105d07 Bundled output for commit ae69dd25c7
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:02:51 +00:00
flarum-bot
d7698f04a4 Bundled output for commit 6c27c08672
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:02:48 +00:00
flarum-bot
9e80c69124 Bundled output for commit ce65375e2a
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:02:47 +00:00
Alexander Skvortsov
0ec87f5b43 Apply fixes from StyleCI 2021-05-13 00:02:06 +00:00
Alexander Skvortsov
f9e8c51e76 Don't add filter q if not defined
Otherwise, the backend controller will think we are searching, not filtering, and fail to apply filters.
2021-05-12 20:01:04 -04:00