1
0
mirror of https://github.com/flarum/core.git synced 2025-08-14 12:24:33 +02:00
Commit Graph

3714 Commits

Author SHA1 Message Date
Charlie
01819f0e45 Change Category 2021-02-16 13:25:01 -08:00
Qiaeru
3ef0c6e226 Fix alphabetical order (#184) 2021-02-16 11:39:18 -05:00
flarum-bot
03426b57a0 Bundled output for commit 300e47cfb3 [skip ci] 2021-02-08 02:34:44 +00:00
Alexander Skvortsov
300e47cfb3 Fix editing tags (#117)
`tagLabel` expects an object with an isChild method, so we can just wrap needed data in a Tag object. We don't want to update `this.tag`, since that would mess things up if the user exits the modal without saving.
2021-02-07 18:33:49 -08:00
Charlie
1980636ed6 Max-height for tags settings (#116) 2021-02-07 17:11:42 -05:00
flarum-bot
0765d3fdb7 Bundled output for commit 9c77d677c6 [skip ci] 2021-02-07 06:39:33 +00:00
Alexander Skvortsov
9c77d677c6 Fix submitting TagDiscussionModal via enter key
The DOM submit method doesn't raise a `submit` event (https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit), so submitting the form this way just refreshed the page (default HTML form behavior). The recommended fix (and the one implemented here) is to simulate a button-triggered submission.

Fixes https://github.com/flarum/core/issues/2595
2021-02-07 01:38:39 -05:00
flarum-bot
7f14e72626 Bundled output for commit b6ca4c8c84 [skip ci] 2021-02-01 21:03:27 +00:00
David Wheatley
b6ca4c8c84 Add "TagLabel--child" class to tagLabel to aid with custom theming (#114) 2021-02-01 16:02:36 -05:00
flarum-bot
3573b694e5 Bundled output for commit b985aa8631 [skip ci] 2021-01-26 22:09:35 +00:00
Sami Mazouz
01d8a69dd1 Add bypass tag requirements permission label (#182) 2021-01-26 17:09:23 -05:00
Sami Mazouz
b985aa8631 Add permission to bypass tag count requirements (#111) 2021-01-26 17:08:47 -05:00
SychO9
fe4803a07c Fix starting a discussion without tags, without global startDiscussion perm 2021-01-26 17:06:14 -05:00
SychO9
c2e5c1008f Fix starting discussion without tags 2021-01-26 17:06:14 -05:00
Alexander Skvortsov
a76ad6ca48 Update changelog for v0.1.0-beta.15.1 2021-01-25 20:03:54 -05:00
flarum-bot
7124f42805 Bundled output for commit 14adb2bed1 [skip ci] 2021-01-26 01:00:41 +00:00
Alexander Skvortsov
14adb2bed1 mdarea: disable inlines
This was accidentially introduced when updating for v1.0.0 of the mdarea library, and causes user inconvenience.

Fixes https://github.com/flarum/core/issues/2569
2021-01-25 19:57:43 -05:00
Ian Morland
705ea7f2bc Add Created and Deleting events (#35) 2021-01-25 08:49:27 -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
flarum-bot
0abbe627d0 Bundled output for commit 768fc0d653 [skip ci] 2021-01-22 18:54:03 +00:00
Sami Mazouz
768fc0d653 Fix evaluation of post content by m.trust() (#24) 2021-01-22 13:53:11 -05:00
flarum-bot
9b65d4cbc8 Bundled output for commit 4dbc7369a2 [skip ci] 2021-01-20 03:23:08 +00:00
Ian Morland
4dbc7369a2 Restrict post excerps to IndexPage and DiscussionPage only #2066 (#25) 2021-01-19 22:22:20 -05:00
Ian Morland
82c57cd36a Add is_sticky, last_posted_at index to improve performance (#23)
This PR introduces an additional index [is_sticky, last_posted_at] to the discussions table. We discovered that when viewing discussions in a tag with a large number of discussions (approx 1.4M in our case), performance was poor when using the default sort criteria (sort by latest).
2021-01-13 14:18:38 -05:00
SychO9
5291c969a4 Null positions refer to secondary tags 2021-01-12 21:28:44 -05:00
SychO9
550a04df83 Use the correct setting keys 2021-01-12 21:28:44 -05:00
flarum-bot
293b2e31cf Bundled output for commit b222856744 [skip ci] 2021-01-07 15:25:43 +00:00
Alexander Skvortsov
b222856744 Add an onFollowing param to GlobalSearchState (#38)
Add an `onFollowing` param to GlobalSearchState

This ensures that it will be taken into account by IndexPage's `refreshParams` call, preventing the following page from being shown if the user:

1. goes to following
2. goes to any other page not inheriting IndexPage
3. goes to 'all discussions'

Ref https://github.com/flarum/core/issues/2516 for a full explanation.
2021-01-07 10:24:41 -05:00
flarum-bot
ed6035c674 Bundled output for commit 3b838dfd01 [skip ci] 2021-01-05 21:41:50 +00:00
SKmedix
3b838dfd01 🐛 Make sure summed value is a number (#14) 2021-01-05 16:41:00 -05:00
Robert Korulczyk
be9d498614 Register locale extender to refresh translations after enabling extension (#2) 2020-12-23 16:10:51 -05:00
Qiaeru
135c662cf7 Fix some typos (#181) 2020-12-23 15:05:09 -05:00
Ian Morland
d368aa4e55 Fix incorrect display_name showing in email notifications (#59) 2020-12-21 12:43:27 -05:00
Daniël Klabbers
833dfb1fae changes for beta 15 2020-12-20 21:16:48 +01:00
Robert Korulczyk
0892b83c88 Fix appearance title typo (#180) 2020-12-17 20:50:15 -05:00
Alexander Skvortsov
c9b9c1ddce Properly return allow / deny instead of boolean 2020-12-17 19:51:53 -05:00
Alexander Skvortsov
64d965fa17 Fix logic for determining whether users can add tags to a discussion 2020-12-16 17:31:44 -05:00
Alexander Skvortsov
c099c96703 Fix old-style return true in policy 2020-12-16 17:31:02 -05:00
Daniël Klabbers
765254c4f5 changelog and constraint for beta 15 2020-12-15 09:41:50 +01:00
Daniël Klabbers
9429b229bb npm audit fix 2020-12-15 09:34:41 +01: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
Daniël Klabbers
1b69d455d1 changelog and constraint for beta 15 2020-12-15 09:30:15 +01:00
Daniël Klabbers
a30a5aefce npm audit fix 2020-12-15 09:29:29 +01:00
Daniël Klabbers
8e3e51a613 changelog and constraint for beta 15 2020-12-15 09:28:40 +01:00
Daniël Klabbers
69997f188b npm audit fix 2020-12-15 09:27:52 +01:00
Daniël Klabbers
aaf3bc309c changelog and constraint for beta 15 2020-12-15 09:26:39 +01:00
Daniël Klabbers
22a5b3e381 npm audit fix 2020-12-15 09:24:26 +01:00
Daniël Klabbers
d93c80fdba changelog and constraint for beta 15 2020-12-15 09:22:33 +01:00