David Wheatley
984b553dc8
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:05:24 +01:00
David Wheatley
91c115095b
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:05:09 +01:00
David Wheatley
5dc2ac9336
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:05:01 +01:00
David Wheatley
cf7c387e59
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:04:06 +01:00
David Wheatley
432d7accaf
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:04:03 +01:00
David Wheatley
99e7e74dfa
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:03:50 +01:00
David Wheatley
745de66d23
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:03:27 +01:00
David Wheatley
db35b90280
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:03:02 +01:00
David Wheatley
8a76bf0fca
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:02:48 +01:00
David Wheatley
068c513966
chore: bump bundled extension constraint to core 1.1
2021-10-13 08:02:39 +01:00
flarum-bot
8ff66a09d8
Bundled output for commit 8109eda0c6
...
Includes transpiled JS/TS.
[skip ci]
2021-10-12 01:27:28 +00:00
flarum-bot
4146913d55
Bundled output for commit e127d8606b
...
Includes transpiled JS/TS.
[skip ci]
2021-10-12 01:27:23 +00:00
flarum-bot
cde8a2e87a
Bundled output for commit aae835e9d2
...
Includes transpiled JS/TS.
[skip ci]
2021-10-12 01:27:21 +00:00
flarum-bot
57af2ccf83
Bundled output for commit 4547a4416b
...
Includes transpiled JS/TS.
[skip ci]
2021-10-12 01:27:19 +00:00
flarum-bot
444c64bc4c
Bundled output for commit 941647cde0
...
Includes transpiled JS/TS.
[skip ci]
2021-10-12 01:27:17 +00:00
flarum-bot
ef2012f6a1
Bundled output for commit 022e480084
...
Includes transpiled JS/TS.
[skip ci]
2021-10-12 01:27:15 +00:00
flarum-bot
0bd3f83528
Bundled output for commit ad168f345c
...
Includes transpiled JS/TS.
[skip ci]
2021-10-12 01:27:15 +00:00
flarum-bot
c8a1ec722d
Bundled output for commit 5910bd98bc
...
Includes transpiled JS/TS.
[skip ci]
2021-10-12 01:27:12 +00:00
flarum-bot
7b2e506fb8
Bundled output for commit c59c1becad
...
Includes transpiled JS/TS.
[skip ci]
2021-10-12 01:27:11 +00:00
Alexander Skvortsov
022e480084
Release v1.1.0
2021-10-11 21:18:24 -04:00
Alexander Skvortsov
d377fee8c9
Release v1.1.0
2021-10-11 21:17:37 -04:00
Alexander Skvortsov
75f3ec0b36
Release v1.1.0
2021-10-11 21:16:54 -04:00
Alexander Skvortsov
72d43427ab
Release v1.1.0
2021-10-11 21:16:13 -04:00
Alexander Skvortsov
941647cde0
Release v1.1.0
2021-10-11 21:15:40 -04:00
Alexander Skvortsov
5910bd98bc
Release v1.1.0
2021-10-11 21:14:35 -04:00
Alexander Skvortsov
04576fd209
Release v1.1.0
2021-10-11 21:13:44 -04:00
Alexander Skvortsov
c1318d641c
Release v1.1.0
2021-10-11 21:12:56 -04:00
Alexander Skvortsov
162784f611
Release v1.1.0
2021-10-11 21:12:06 -04:00
Alexander Skvortsov
4547a4416b
Release v1.1.0
2021-10-11 21:11:21 -04:00
Alexander Skvortsov
c59c1becad
Release v1.1.0
2021-10-11 21:10:46 -04:00
Alexander Skvortsov
9db9cb2ed0
Release v1.1.0
2021-10-11 21:09:59 -04:00
Alexander Skvortsov
aae835e9d2
Release v1.1.0
2021-10-11 21:07:45 -04:00
Alexander Skvortsov
126b457604
Release v1.1.0
2021-10-11 21:05:20 -04:00
Alexander Skvortsov
8109eda0c6
Release v1.1.0
2021-10-11 21:04:49 -04:00
Alexander Skvortsov
1436f073a5
Release v1.1.0
2021-10-11 21:03:10 -04:00
Alexander Skvortsov
ad168f345c
Release v1.1.0
2021-10-11 21:02:26 -04:00
Alexander Skvortsov
e127d8606b
Release v1.1.0
2021-10-11 21:00:48 -04:00
flarum-bot
ebe0f74618
Bundled output for commit 5192276062
...
Includes transpiled JS/TS.
[skip ci]
2021-10-07 22:34:32 +00:00
Alexander Skvortsov
5192276062
Make clicking edit tag button easier
...
Currently, tags will be dragged immediately on touch, which makes it very hard to click the edit button, as any non-perfect touch drags the tag. This commit adds a delay on mobile devices only, so that the tag can be both dragged and edited easily.
Closes https://github.com/flarum/core/issues/3098
2021-10-07 18:22:36 -04:00
flarum-bot
367cca8cc7
Bundled output for commit 2cb00d6773
...
Includes transpiled JS/TS.
[skip ci]
2021-10-06 20:31:59 +00:00
Alexander Skvortsov
2cb00d6773
Fix missing space after mentions inserted via post reply
...
Closes https://github.com/flarum/core/issues/3096
2021-10-06 16:30:45 -04:00
flarum-bot
7c954129f0
Bundled output for commit 84dcde4e85
...
Includes transpiled JS/TS.
[skip ci]
2021-10-06 20:24:50 +00:00
Alexander Skvortsov
84dcde4e85
Fix delayed mention search results
...
Fixes https://github.com/flarum/core/issues/3095
2021-10-06 16:22:04 -04:00
Alexander Skvortsov
03c6db4c8d
Import function correctly
...
There was a typo in the function's name which broke mentions.
2021-10-06 16:15:01 -04:00
SychO9
7e174dd08a
[untested] Major Update handler ( #1 )
2021-10-03 10:58:17 +01:00
SychO9
2ce28f8e5c
Improve update checking and add UI for major flarum update
2021-10-01 17:52:15 +01:00
SychO9
0aed124911
yarn format
2021-09-30 21:45:09 +01:00
SychO9
68a3133bbb
Prepend input to composer output log ( Fixes #7 )
2021-09-30 21:44:27 +01:00
Sami Mazouz
de6d291a09
fix: $relationsArray
can end up containing closures ( #146 )
...
* fix: `$relationsArray` can end up containing closures
Not sure I didn't simply unset the first time around..
* Use a new array instead of modifying one
2021-09-29 21:58:32 +01:00
SychO9
670a4dd26a
Add docs link
2021-09-29 14:31:07 +01:00
SychO9
2b8a85c933
fix: Only core update available not showing up
2021-09-29 14:19:02 +01:00
SychO9
79b5629125
fix: Buffer output
2021-09-29 14:04:53 +01:00
SychO9
1b65c6862e
Log composer command outputs ( Fixes #5 )
2021-09-29 13:00:36 +01:00
SychO9
d878eeb92a
Global Update ( Fixes #2 )
2021-09-29 12:07:53 +01:00
SychO9
77f0dca47e
Extension state exceptions
2021-09-29 11:03:13 +01:00
SychO9
e19c9ea67c
Post Composer Actions ( Fixes #3 )
2021-09-29 10:40:40 +01:00
SychO9
19da2e9827
Minor flarum update
2021-09-27 10:16:01 +01:00
SychO9
2812eada2c
show remove option only when extension is disabled and isn't the package manager
2021-09-25 20:42:44 +01:00
SychO9
b3a62bbac4
Add Extension Updating
2021-09-25 18:33:17 +01:00
SychO9
26e09d1e9d
Add Update Checker
2021-09-25 13:59:59 +01:00
SychO9
40e0a9672b
File permissions alert and clear command failure message.
2021-09-22 22:08:51 +01:00
flarum-bot
48b29b90db
Bundled output for commit 8111b5a56c
...
Includes transpiled JS/TS.
[skip ci]
2021-09-20 22:07:46 +00:00
David Sevilla Martin
8111b5a56c
Prevent browser/system shortcuts from triggering when applying editor style from shortcut ( #32 )
2021-09-20 18:06:47 -04:00
flarum-bot
798fadbddc
Bundled output for commit 6173c3d612
...
Includes transpiled JS/TS.
[skip ci]
2021-09-20 17:43:50 +00:00
David Wheatley
6173c3d612
Minor refactors in frontend JS ( #69 )
...
* Add Prettier
* Update dependencies; add typescript setup
* Add tsconfig
* Rewrite some mentions frontend into TS
* Fix use of username instead of display name
* Change back to JS
* Remove commented code
* Update function name to match filename
* Update getMentionText.js
* Simplify condition
* Bump packages to stable versions; use prettier package
* Make functions use camel case
* Update js/package.json
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
* Don't access data directly
* Update js/src/forum/addComposerAutocomplete.js
Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com>
* Update tsconfig.json
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com>
2021-09-20 18:42:38 +01:00
SychO9
ea5ee5a9a3
Merge remote-tracking branch 'origin/1.0.5'
2021-09-20 16:56:28 +01:00
Sami Mazouz
b020db4f46
Fix unauthorized view of restricted tags ( #145 )
...
* test: Not allowed to see tags even if included as a relation
* fix: Scope loaded related tags where actor has permission
2021-09-20 16:51:28 +01:00
Sami Mazouz
2f37a8bd58
Fix discussions hidden from all users including admins ( #140 )
...
* test: Start by adding tests for this case scenario
* fix: All discussions hidden from everyone when minSecondary > 0 and no secondary tags
* test: Test the scenario for primary tags as well
* fix: Properly fix the general case of more tags required than available
* Adjust to only check with the `viewForum` ability
* Test Cases for private discussions
2021-09-20 16:19:43 +01:00
flarum-bot
8e912e9e7b
Bundled output for commit 3e3fa6535d
...
Includes transpiled JS/TS.
[skip ci]
2021-09-20 15:07:38 +00:00
David Wheatley
3e3fa6535d
Repo maintenance ( #30 )
...
* Bump deps; add TS support; use Prettier
* Format
* Update js/package.json
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
* Update lockfile
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2021-09-20 16:06:32 +01:00
flarum-bot
153138c770
Bundled output for commit e376358e64
...
Includes transpiled JS/TS.
[skip ci]
2021-09-20 14:20:01 +00:00
Hasan Özbey
e376358e64
Add spoiler and strikethrough buttons ( #30 )
...
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2021-09-20 10:18:48 -04:00
flarum-bot
ec0184cb66
Bundled output for commit 7bada1f578
...
Includes transpiled JS/TS.
[skip ci]
2021-09-13 21:30:19 +00:00
Rafael Horvat
7bada1f578
Exported (compat) getSelectableTags
utils ( #144 )
2021-09-13 22:29:08 +01:00
SychO9
ffaa88f526
Serializer ID
2021-09-01 20:30:00 +01:00
SychO9
3d6a467de9
Remove unnecessary provider
2021-09-01 20:26:28 +01:00
SychO9
ae5fb2f253
Remove unnecessary provider
2021-09-01 20:01:36 +01:00
SychO9
1d48c9878b
Tweaks
2021-09-01 19:49:44 +01:00
SychO9
5d3804c7ca
init
2021-09-01 17:20:06 +01:00
Sami Mazouz
6a5d7e9864
Fix unrecognised user/post mentions ( #71 )
...
* fix: Use proper mentionsUsers serializer
The only reason we haven't seen any issues with this up until now is because we have not has to include the relationship in any responses.
* fix: User/Post mentions showing as deleted after saving
The reason this happens is because the modified relationship is not refreshed, so the formatter doesn't recognize the new mentions as valid.
2021-08-30 18:23:59 +01:00
David Wheatley
428fc3131c
Revert "Add translation support for quote. ( #12 )" ( #13 )
...
This reverts commit d6c01890a3
.
2021-08-28 18:23:33 +01:00
Sami Mazouz
df725cace6
perf: Eager load actor tag states ( #143 )
2021-08-26 21:57:36 +01:00
Ian Morland
e8111a6f8f
Pass filter params ( #141 )
...
* Pass params to getApiDocument
* Reverse arrays
2021-08-26 10:48:12 +01:00
flarum-bot
66065a33e8
Bundled output for commit b054ae7dcb
...
Includes transpiled JS/TS.
[skip ci]
2021-08-25 20:07:22 +00:00
David Wheatley
b054ae7dcb
Update JS imports to new namespaced style ( #39 )
2021-08-25 16:06:28 -04:00
Guillaume Kulakowski
d6c01890a3
Add translation support for quote. ( #12 )
2021-08-23 17:11:51 -04:00
Sami Mazouz
af9e5a9cc9
Eager load more necessary related mentions ( #72 )
...
* perf: Eager load related mentions from the extender
These missing relations caused more queries to be called, the more mentions posts have the more queries produced.
* perf: Eager load models in show endpoints
Can't use the extender for that
2021-08-23 20:33:42 +01:00
Clark Winkelmann
7a0923dce2
Update nojs view to use slug driver. Fixes #3013 ( #142 )
2021-08-21 16:30:37 +01:00
flarum-bot
b791263702
Bundled output for commit 12a9d7fd80
...
Includes transpiled JS/TS.
[skip ci]
2021-08-16 09:19:23 +00:00
Sami Mazouz
6f706f7774
Use css variables for badge ( #42 )
2021-08-16 10:18:56 +01:00
Sami Mazouz
711793c470
Use css variables for badge ( #29 )
2021-08-16 10:18:46 +01:00
Sami Mazouz
3e962c5e0f
Use css variables for badge ( #29 )
2021-08-16 10:18:32 +01:00
Sami Mazouz
12a9d7fd80
[1.x] Custom Colorising with CSS Custom Properties ( #139 )
...
* Use css variables for tag labels
* Use css variables for hero
* Fix color when links force override (event posts)
* Use css variables for start discussion button
* Use css variables for tag tiles
* Use css variables for sidenav links
* Use `classList` instead
2021-08-16 10:18:12 +01:00
flarum-bot
ab2a198aa3
Bundled output for commit bbca24a873
...
Includes transpiled JS/TS.
[skip ci]
2021-08-16 09:03:01 +00:00
David Wheatley
bbca24a873
Add classes to sticky discussions ( #31 )
2021-08-16 11:01:54 +02:00
flarum-bot
46fa1a1bd8
Bundled output for commit fa2cb91182
...
Includes transpiled JS/TS.
[skip ci]
2021-08-07 10:24:47 +00:00
Rafał Całka
fa2cb91182
Fixing posts not appearing automatically ( #32 )
2021-08-07 11:24:00 +01:00
flarum-bot
738db107b1
Bundled output for commit 05a2ded71a
...
Includes transpiled JS/TS.
[skip ci]
2021-08-05 07:42:52 +00:00
David Wheatley
05a2ded71a
Fix issue with Twemoji frontend rendering ( #40 )
2021-08-05 08:41:41 +01:00
flarum-bot
e4efd94add
Bundled output for commit 0cb36b90c3
...
Includes transpiled JS/TS.
[skip ci]
2021-07-31 11:51:35 +00: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
flarum-bot
fd14cb2472
Bundled output for commit 8353f087e5
...
Includes transpiled JS/TS.
[skip ci]
2021-07-18 20:48:36 +00: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
flarum-bot
ee0cbf9d85
Bundled output for commit 81187fe5fe
...
Includes transpiled JS/TS.
[skip ci]
2021-07-18 20:22:50 +00:00
David Wheatley
81187fe5fe
Repo maintenance: add Prettier config, update deps ( #41 )
...
* Bump deps; add prettier dep
* Add Prettier config
2021-07-18 21:21:44 +01:00
Sami Mazouz
fb365c98e5
Load parent relation for proper tag listing ( #137 )
2021-07-15 13:18:17 +01:00
flarum-bot
6f925c1229
Bundled output for commit e681d3eb00
...
Includes transpiled JS/TS.
[skip ci]
2021-07-10 20:40:18 +00:00
David Wheatley
e681d3eb00
Format with prettier, bump deps ( #37 )
...
General repo maintenance
2021-07-10 21:39:20 +01:00
Robert Korulczyk
bfdaee7e79
Add missing dot to liked_by_text
translation ( #29 )
2021-07-01 21:52:56 +01:00
Daniel Klabbers
222a0de3ef
fixes flarum/core#2907 discussion shows parent after child due to missing parent include
2021-06-11 00:25:24 +02:00
Daniel Klabbers
a72f0a8851
changelog for v1.0.3
2021-06-11 00:25:24 +02:00
flarum-bot
94eeb34ac0
Bundled output for commit 51790494ce
...
Includes transpiled JS/TS.
[skip ci]
2021-06-10 22:19:21 +00:00
Daniel Klabbers
51790494ce
fixes the parent include for tags when visiting index from any other page
2021-06-11 00:18:17 +02:00
Daniel Klabbers
9627e40e72
changelog for 1.0.2
2021-06-07 12:11:11 +02:00
flarum-bot
7df97be80a
Bundled output for commit a0f4dcc62a
...
Includes transpiled JS/TS.
[skip ci]
2021-06-07 10:09:41 +00:00
SychO9
a0f4dcc62a
Fix wrong subtags listing in sidebar
2021-06-07 12:08:40 +02:00
Daniel Klabbers
6c07082c83
changelog for v1.0.1
2021-06-02 09:13:30 +02:00
Daniel Klabbers
09e031ae23
changelog for v1.0.1
2021-06-02 08:56:52 +02:00
flarum-bot
a08b3d18e6
Bundled output for commit 3fb216b99e
...
Includes transpiled JS/TS.
[skip ci]
2021-06-02 06:54:57 +00:00
SychO9
3fb216b99e
Load all tags in permission grid
2021-06-02 08:53:59 +02:00
flarum-bot
4ad2bfc172
Bundled output for commit fd3300d7e5
...
Includes transpiled JS/TS.
[skip ci]
2021-05-31 13:28:37 +00:00
David Wheatley
fd3300d7e5
Add missing link button to Markdown toolbar ( #29 )
2021-05-31 14:26:44 +01:00
Daniel Klabbers
af7390eb4c
fixes flarum/core#2889 locale uses count instead of generated tags
2021-05-27 09:12:44 +02:00
Daniel Klabbers
7b636600ee
fix typo in changelog
2021-05-26 20:07:33 +02:00
Daniel Klabbers
e982e0206d
fix branch alias
2021-05-25 22:53:19 +02:00
Daniel Klabbers
14c6675e47
fix branch alias
2021-05-25 22:53:06 +02:00
Daniel Klabbers
53ed61c444
fix branch alias
2021-05-25 22:52:55 +02:00
Daniel Klabbers
4d8dd09abc
fix branch alias
2021-05-25 22:52:41 +02:00
Daniel Klabbers
c389c7bf9e
fix branch alias
2021-05-25 22:52:30 +02:00
Daniel Klabbers
0b950da35e
fix branch alias
2021-05-25 22:52:20 +02:00
Daniel Klabbers
c7b1b9283f
fix branch alias
2021-05-25 22:52:11 +02:00
Daniel Klabbers
5217b8b6be
fix branch alias
2021-05-25 22:51:07 +02:00
Daniel Klabbers
14e4a24514
fix branch alias
2021-05-25 22:50:52 +02:00
Daniel Klabbers
6be9cb86c7
fix branch alias
2021-05-25 22:50:37 +02:00
Daniel Klabbers
8a93498b22
fix branch alias
2021-05-25 22:50:29 +02:00
Daniel Klabbers
a8c85314a8
fix branch alias
2021-05-25 22:46:03 +02:00
Daniel Klabbers
af940bf48e
fix branch alias
2021-05-25 22:45:50 +02:00
Daniel Klabbers
122f1ff5e5
fix branch alias
2021-05-25 22:45:40 +02:00
Daniel Klabbers
19b87cf9ec
fix branch alias
2021-05-25 22:45:31 +02:00
Daniel Klabbers
5d1c1ce998
fix branch alias
2021-05-25 22:45:02 +02:00
Daniel Klabbers
c8c3463e6d
fix branch alias
2021-05-25 22:44:50 +02:00
Daniel Klabbers
a989ab040a
fix branch alias
2021-05-25 22:44:28 +02:00
Daniel Klabbers
27f70c5df9
changes for stable
2021-05-25 18:51:56 +02:00
Daniel Klabbers
df02f22594
changes for stable
2021-05-25 17:10:18 +02:00
Daniel Klabbers
d01810f5a8
changes for stable
2021-05-25 16:51:08 +02:00
Daniel Klabbers
448d8401d4
changes for stable
2021-05-25 16:50:04 +02:00
Daniel Klabbers
15e5c9bf0f
changes for stable
2021-05-25 16:36:04 +02:00
Daniel Klabbers
4dade0b078
changes for stable
2021-05-25 16:33:25 +02:00
Daniel Klabbers
03744e89a3
changes for stable
2021-05-25 16:32:16 +02:00
Daniel Klabbers
ddc49d8280
changes for stable
2021-05-25 16:29:56 +02:00
Daniel Klabbers
d37a43c795
changes for stable
2021-05-25 16:26:34 +02:00
Daniel Klabbers
1c2e96f30b
changes for stable
2021-05-25 16:17:35 +02:00
Daniel Klabbers
8ad2f77cff
changes for stable
2021-05-25 16:03:01 +02:00
Daniel Klabbers
30e21d29f6
changes for stable
2021-05-25 16:01:45 +02:00
Daniel Klabbers
b28e6c510f
changes for stable
2021-05-25 15:58:02 +02:00
Daniel Klabbers
9222e93135
remove phpunit cache
2021-05-25 15:49:32 +02:00
Daniel Klabbers
222584b814
remove ide file
2021-05-25 15:41:21 +02:00
Daniel Klabbers
cf6e1e5a5a
changes for stable
2021-05-25 15:31:57 +02:00
Daniel Klabbers
a20651617e
changes for stable
2021-05-25 15:28:08 +02:00
Daniel Klabbers
5634d61f27
changes for stable
2021-05-25 15:27:04 +02:00
Daniel Klabbers
cce3e072fb
changes for stable
2021-05-25 15:13:30 +02:00
Daniel Klabbers
b67889f56e
use shorter constraint
2021-05-25 15:07:57 +02:00
Daniel Klabbers
72dedbda42
updated changelog
2021-05-25 15:06:30 +02:00
Daniel Klabbers
fa23443528
npm audit fix
2021-05-25 15:03:21 +02:00
flarum-bot
37c1933d37
Bundled output for commit 07e93747be
...
Includes transpiled JS/TS.
[skip ci]
2021-05-25 07:03:39 +00:00
SychO9
b0a301229a
Tweak test name and add posts mention equivalent test
2021-05-25 00:15:10 +01:00
SychO9
cc62044e6f
Support smart quotes in mentions format
2021-05-24 21:49:31 +01:00
flarum-bot
5ccac5d607
Bundled output for commit 7f37e36241
...
Includes transpiled JS/TS.
[skip ci]
2021-05-18 05:20:53 +00:00
Alexander Skvortsov
7f37e36241
Avoid submitting forms with MarkdownButton
...
Add type="button" to the component so that it won't submit if placed inside a form.
Fixes https://github.com/flarum/core/issues/2875
2021-05-18 01:19:52 -04:00
Sami Mazouz
a311edf106
Update tests to use setting method ( #68 )
2021-05-17 22:46:02 +01:00
Sami Mazouz
a6695e10cd
Check that included
array exists ( #132 )
2021-05-17 16:16:00 -04:00
flarum-bot
f9d97b60d5
Bundled output for commit f076329636
...
Includes transpiled JS/TS.
[skip ci]
2021-05-17 13:44:50 +00:00
David Wheatley
f076329636
Fix tooltip deprecation warning
2021-05-17 14:43:35 +01:00
David Wheatley
c9af88e721
Use namespaced JS imports
2021-05-17 14:43:21 +01:00
David Wheatley
43b6e0818b
npm audit fix
2021-05-17 14:33:53 +01:00
flarum-bot
95fc846c04
Bundled output for commit 29525daa9b
...
Includes transpiled JS/TS.
[skip ci]
2021-05-17 04:21:14 +00:00
Alexander Skvortsov
29525daa9b
Fix logic for TagListState
...
This should load in the requested includes, not just parent and lastPostedDiscussion
2021-05-17 00:20:09 -04:00
Alexander Skvortsov
8468a05b87
Unset tags relation after setting ( #131 )
...
This ensures that the proper tag values are returned to the API by clearing any cached tags before returning a response. It also makes sure that the listeners to the `DiscussionWasTagged` event won't have old data under `$event->discussion->tags`.
Fixes https://github.com/flarum/core/issues/2514
2021-05-16 23:28:54 -04:00
flarum-bot
c7b235a781
Bundled output for commit f3ac771980
...
Includes transpiled JS/TS.
[skip ci]
2021-05-17 00:46:10 +00:00
David Wheatley
f3ac771980
Fix Tooltip deprecation warnings
2021-05-17 01:45:00 +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
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
SychO9
88f44ca0d0
Use core dev-master for tests
2021-05-15 22:54:01 +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
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
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
Alexander Skvortsov
0c0b3b2678
Fix display
2021-05-12 20:28:40 -04: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
Alexander Skvortsov
494633537e
Update for API Client changes
2021-05-12 19:58:49 -04:00
Alexander Skvortsov
706a07429d
Use RequestUtil to access actor
2021-05-12 19:48:17 -04:00
Alexander Skvortsov
ce65375e2a
Adjust EditUserModal import
2021-05-12 19:46:07 -04:00
Alexander Skvortsov
0be39b144c
Update for ICU MessageFormat
2021-05-12 19:37:44 -04:00
Alexander Skvortsov
d69b3fbb12
Update for ICU MessageFormat
2021-05-12 19:36:41 -04:00
Alexander Skvortsov
ae69dd25c7
Update for ICU MessageFormat
2021-05-12 19:27:13 -04:00
Alexander Skvortsov
6c27c08672
Update for ICU MessageFormat
2021-05-12 19:24:06 -04:00
Alexander Skvortsov
b6113169f8
Use new permissions
2021-05-12 18:52:19 -04:00
flarum-bot
bc187d9b83
Bundled output for commit 3e596aaadf
[skip ci]
2021-05-12 19:43:31 +00:00
Sami Mazouz
3e596aaadf
Move replies preview dropdown out of Post-footer ( #55 )
2021-05-12 20:42:33 +01:00
Alexander Skvortsov
fd48af2032
Massively simplify TagPolicy
2021-05-11 22:16:55 -04:00
Alexander Skvortsov
0d5510154e
Apply fixes from StyleCI
2021-05-12 00:10:22 +00:00
Alexander Skvortsov
bf5a401787
Remove flags visibility scoping
...
This was moved to flags in 9fe9dd515b
2021-05-11 20:10:10 -04:00
Alexander Skvortsov
99a82d0069
Apply fixes from StyleCI
2021-05-12 00:08:36 +00:00
Alexander Skvortsov
be59e77a01
Move in visibility scoping from tags, add automated testing.
2021-05-11 20:04:52 -04:00
Sami Mazouz
fffedb4e1d
Only check for bypassTagCounts permission for startDiscussion ability ( #130 )
...
This doesn't fix anything, but we should explicitly only check the
permission for the ability it is meant for, just to be safe in the
future.
Also add more tests.
2021-05-11 16:35:10 -04:00
flarum-bot
a0f9416f90
Bundled output for commit 99009e5d3b
[skip ci]
2021-05-11 20:06:14 +00:00
Alexander Skvortsov
99009e5d3b
Permission Tag Scoping Field ( #127 )
...
This allows tag scoping permissions that don't start with `discussion`, or on the contrary, removing tag scoping from permissions that DO start with `discussion`.
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2021-05-11 16:05:11 -04:00
Glowing Blue
93d373f066
Added created_at to post_likes table ( #28 )
2021-05-11 15:23:35 -04:00
Alexander Skvortsov
dfbb468744
Refactor queryIdsWhereCan ( #128 )
...
- Rename to queryIdsWhereHasPermission, since that's more accurate
- Make the base query an optional 3rd argument. This feels more intuitive
- Add a `can` function in AbstractPolicy, so extensions that add tag scopable permissions don't need to define their own policies (e.g. with approval)
- Combine ScopeDiscussionVisibilityWithAbility and ScopeDiscussionVisibility
- Fix ScopeDiscussionVisibility only requiring in one tag, not all.
- Add lots and lots of tests
Co-authored-by: SychO9 <sychocouldy@gmail.com>
2021-05-11 02:34:30 -04:00
flarum-bot
be62a33d23
Bundled output for commit 7ea9db7426
[skip ci]
2021-05-10 21:36:25 +00:00
Alexander Skvortsov
7ea9db7426
Editor Consolidation ( #28 )
...
- Move insertText to core
- Move styles and apply to core
- Simplify shortcut and button system
- Drop mdarea for now. In the future, we could implement the features we use (list continue, indent) in core.
- Remove admin dist (only admin setting was mdarea)
- Move inline style to css
2021-05-10 17:35:22 -04:00
flarum-bot
382729dd46
Bundled output for commit cc7e805a4b
[skip ci]
2021-05-10 18:22:48 +00:00
Alexander Skvortsov
cc7e805a4b
Restore searching in tags when on tag page ( #129 )
2021-05-10 14:21:43 -04:00
Alexander Skvortsov
8ed08b63cd
Fix mentioned filtering ( #67 )
2021-05-04 14:57:29 -04:00
flarum-bot
42a1c97371
Bundled output for commit a1edbdc9b0
[skip ci]
2021-05-04 17:58:54 +00:00
Daniël Klabbers
a1edbdc9b0
Initial tag load performance improvement ( #87 )
...
- Only load lastPostedDiscussion on TagsPage
- For forum payload, only load top-level primary tags and top 3 secondary tags.
- In other cases, load tags in dynamically when needed.
Co-authored-by: Alexander Skvortsov <sasha.skvortsov109@gmail.com>
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2021-05-04 13:57:55 -04:00
Alexander Skvortsov
712286151f
Optimize tag permissions ( #126 )
...
The new implementation generates a subquery of IDs instead of sending big arrays of data to/from the database. This massively speeds up performance.
2021-05-04 12:53:20 -04:00
flarum-bot
e2b309ad95
Bundled output for commit 02d3355989
[skip ci]
2021-05-02 20:38:50 +00:00
SychO9
02d3355989
Add space when inserting a post mention
2021-05-02 21:37:31 +01:00
flarum-bot
83ed624223
Bundled output for commit e407c66784
[skip ci]
2021-04-21 09:59:51 +00:00
Sami Mazouz
e407c66784
New mentions format, decouple usernames from mentions ( #65 )
...
* Convert user mentions to new `@"Display Name"#ID` format
* Handle deleted user's mentions
* Convert post mentions to `@"Display Name"#pID` format
* Handle deleted user's post mentions and deleted posts mentions
* Clean display name of `"#{letters}{numbers}` (replace with underscore _)
* Adapt integration tests to new mention formats
* Use a deleted attribute for user mentions
* Introduce cleanDisplayName util
* Detect new format with autocomplete
* Slug needed on rendering only
* Invalidate user mention tag when ID is invalid
This used to be implicitly done, when there was a username attribute configured, formatter would check that all attributes are available and if not invalidate.
since we now only have `displayname` and `id` attributes which are both available from the regex matching, formatter doesn't implicitly invalidate anymore and therefore validates ANY matches. So we explicitly invalidate the tag when the ID does not match a user.
* Allow username mention format with a setting
* Add tests for turning setting on/off
* Move setting check to tag filter
Because the configurator caches, changing the setting only takes effect after the cache is cleared.
* fix: showing autocomplete at the right moment
* Add dockblocks to explain unparsing process
2021-04-21 10:58:54 +01:00
Alexander Skvortsov
3b3cbdc82f
Fix conflicts with other extension visibility scoping ( #26 )
...
Wrapping all `wheres` in an `orWhere` ensures that there's no conflict.
See https://github.com/flarum/core/issues/2798 , https://github.com/flarum/docs/pull/200
2021-04-20 14:51:01 -04:00
Sami Mazouz
057517688c
Add integration tests ( #66 )
2021-04-13 22:27:42 +01:00
Alexander Skvortsov
62be9088a1
Use RequestUtil
to access actor
2021-04-12 17:50:59 -04:00
Alexander Skvortsov
258fe6d158
Apply fixes from StyleCI
2021-04-12 02:29:32 +00:00
Alexander Skvortsov
078441204d
Use criteria's sortIsDefault field
...
This was introduced in https://github.com/flarum/core/pull/2773 , and allows us to more cleanly determine whether the sort requested is the default one, while taking extension modifications into account.
2021-04-11 22:29:20 -04:00
Alexander Skvortsov
5235dda1e4
Use RequestUtil to access actor
2021-04-08 00:07:14 -04:00
Alexander Skvortsov
cd3934e358
Use RequestUtil to access actor
2021-04-08 00:03:18 -04:00
Alexander Skvortsov
f80a88d45b
Use RequestUtil for accessing actor
2021-04-08 00:02:11 -04:00
Alexander Skvortsov
9936681634
Use Symfony translator contract instead of deprecated component
2021-04-08 00:00:49 -04:00
Sami Mazouz
d5149b7406
Eager load post.user.groups relation and allow extensions to eager load relations ( #38 )
...
* Allow extensions to eager load relations
* Eager load post.user.groups
2021-04-07 16:24:52 +01:00
Alexander Skvortsov
0b65a4c375
Update changelog for 0.1.0-beta.16.1
2021-04-06 18:20:14 -04:00
Alexander Skvortsov
c9d9e85780
Fix FullTextGambit interface compatibility
2021-04-04 15:44:07 -04:00
Alexander Skvortsov
ac4edef78c
Use extender for setting NicknameFullTextGambit
2021-04-04 13:41:15 -04:00
Alexander Skvortsov
4ec8b87cdc
Update changelog for v0.1.0-beta.16.1
2021-03-25 13:54:43 -04:00
flarum-bot
2c8f88a72b
Bundled output for commit 61e61f5e8c
[skip ci]
2021-03-25 17:52:17 +00:00
Alexander Skvortsov
61e61f5e8c
Allow disabling mdarea via admin setting ( #27 )
2021-03-25 13:51:21 -04:00
Sami Mazouz
46aabd2ae5
Eager load mentionedBy and only missing relations ( #64 )
2021-03-25 15:37:47 +01:00
Sami Mazouz
a1ba21ec69
Eager load tags relation in discussion, posts and flags listing endpoints ( #125 )
...
* Eager load tags relation when listing posts & discussions
* Eager load ListFlags post.discussion.tags relation
2021-03-25 15:37:14 +01:00
flarum-bot
e12320a25d
Bundled output for commit e783a7603d
[skip ci]
2021-03-18 16:39:31 +00:00
sl-kr
e783a7603d
change value of subscribed from false to null in the JSON API ( #37 )
2021-03-18 12:38:21 -04:00
flarum-bot
14c10d400e
Bundled output for commit 4f63399d4a
[skip ci]
2021-03-18 15:59:27 +00:00
Daniël Klabbers
4f63399d4a
Adds the ability to push new posts onto discussions that aren't public. ( #17 )
...
It's very frustrating having pusher installed, but not seeing new posts pop up on non public
discussions. This PR simply re-uses the existing channels per user by reading
all similar private user channels (which require authentication) and then pushing
the websocket message over the line. This only happens in case the discussion is
not public and it only sends to connected users.
2021-03-18 11:58:29 -04:00
Alexander Skvortsov
c1c47e81aa
SubscriptionFilterGambit: properly implement conditions
method
2021-03-17 14:22:10 -04:00
Ian Morland
1b339267f8
Canonical URL: Use UrlGenerator in place of extracting the url from request ( #122 )
2021-03-15 21:44:22 -04:00
Matt Kilgore
34ee9c32de
Fix Changelog beta.16 header link
2021-03-15 11:39:02 -04:00
Daniel Klabbers
e8f64bc2ac
fix heading of removed
2021-03-15 13:29:23 +01:00
Daniel Klabbers
4988649816
Release v0.1.0-beta.16
2021-03-15 13:24:21 +01:00
Daniel Klabbers
4ff74d3289
Release v0.1.0-beta.16
2021-03-15 13:03:08 +01:00
Daniel Klabbers
258ff753de
Release v0.1.0-beta.16
2021-03-15 12:45:15 +01:00
Daniel Klabbers
786bf91f93
Release v0.1.0-beta.16
2021-03-15 12:36:13 +01:00
Daniel Klabbers
4805b7d2ee
Release v0.1.0-beta.16
2021-03-15 12:33:03 +01:00
Daniel Klabbers
78ad65c6c1
Release v0.1.0-beta.16
2021-03-15 12:20:50 +01:00
Daniel Klabbers
8eb91ecfc7
Release v0.1.0-beta.16
2021-03-15 12:17:21 +01:00
Daniel Klabbers
4d5238f983
Release v0.1.0-beta.16
2021-03-15 12:15:01 +01:00
Daniel Klabbers
613664525d
Release v0.1.0-beta.16
2021-03-15 12:11:51 +01:00
Daniel Klabbers
2ea6204dff
Release v0.1.0-beta.16
2021-03-15 12:00:06 +01:00
Daniel Klabbers
9ffccc77aa
Release v0.1.0-beta.16
2021-03-15 11:55:06 +01:00
Daniel Klabbers
a805c333e7
Release v0.1.0-beta.16
2021-03-15 11:49:08 +01:00
Daniel Klabbers
b481e41a9b
Release v0.1.0-beta.16
2021-03-15 11:27:30 +01:00
Daniel Klabbers
6aad164ed7
Release v0.1.0-beta.16
2021-03-15 11:21:14 +01:00
Daniel Klabbers
1890553c8b
npm audit
2021-03-15 10:51:41 +01:00
Daniel Klabbers
e5db085417
Release v0.1.0-beta.16
2021-03-15 10:51:17 +01:00
Daniel Klabbers
dc518b0f75
Release v0.1.0-beta.16
2021-03-15 10:32:08 +01:00
Daniel Klabbers
dbccc396b0
forgot one change in changelog
2021-03-15 10:24:28 +01:00
Daniel Klabbers
cd0f550808
Release v0.1.0-beta.16
2021-03-15 10:23:58 +01:00
Daniel Klabbers
57cbb2bb7f
Release v0.1.0-beta.16
2021-03-15 10:02:50 +01:00
Alexander Skvortsov
f2b2a26caf
Use Settings extender serializeToForum properly now that it supports defaults.
2021-03-13 17:18:55 -05:00
Alexander Skvortsov
ff86e68752
Use resolve helper instead of app
2021-03-13 17:13:20 -05:00
Alexander Skvortsov
6c25f09c9b
Use non-deprecated translator interface
2021-03-13 17:11:42 -05:00
Alexander Skvortsov
caaefa1bf1
Use non-deprecated translator interface
2021-03-13 17:11:03 -05:00
Alexander Skvortsov
b922257468
Use non-deprecated translator interface
2021-03-13 17:10:23 -05:00
Alexander Skvortsov
06dfd8a603
Use ApiSerializer attributes method
2021-03-13 17:04:58 -05:00
Alexander Skvortsov
506985e881
Update for beta 16
2021-03-13 17:03:56 -05:00
flarum-bot
208aa47e60
Bundled output for commit 932c31db6d
[skip ci]
2021-03-13 22:01:34 +00:00
Alexander Skvortsov
932c31db6d
Apply fixes from StyleCI
2021-03-13 22:00:39 +00:00
Alexander Skvortsov
ee48c97a23
Tags admin list: move edit button back to where it should be
2021-03-13 17:00:27 -05:00
Alexander Skvortsov
85de81627d
Update for beta 16
2021-03-13 16:54:03 -05:00
flarum-bot
ff8e3f8a92
Bundled output for commit 2da4f8204e
[skip ci]
2021-03-13 21:33:44 +00:00
Alexander Skvortsov
2da4f8204e
Apply fixes from StyleCI
2021-03-13 21:33:02 +00:00
Alexander Skvortsov
58fa8d4b8c
Update for beta 16
2021-03-13 16:32:48 -05:00
Alexander Skvortsov
b14d24964f
Apply fixes from StyleCI
2021-03-13 21:01:56 +00:00
SychO9
72ad775840
Update to beta.16
2021-03-13 16:00:50 -05:00
Alexander Skvortsov
c01dc63c5d
Apply fixes from StyleCI
2021-03-13 20:49:35 +00:00
Alexander Skvortsov
6eb2c9e574
Update for search/filter split
2021-03-13 15:49:23 -05:00
Alexander Skvortsov
63a71d58c5
Apply fixes from StyleCI
2021-03-13 20:36:07 +00:00
Alexander Skvortsov
668de47095
Update for search filter split
2021-03-13 15:35:53 -05:00
Alexander Skvortsov
8266966fec
Remove unused import
2021-03-13 15:18:56 -05:00
Alexander Skvortsov
70cbe1d186
Update to use new extenders
2021-03-13 15:15:11 -05:00
flarum-bot
32bd64f427
Bundled output for commit ae6a652a72
[skip ci]
2021-03-11 18:12:58 +00:00
Alexander Skvortsov
ae6a652a72
Fix typo
2021-03-11 13:11:56 -05:00
flarum-bot
c1308f395f
Bundled output for commit 752c43376e
[skip ci]
2021-03-11 00:24:16 +00:00
Alexander Skvortsov
752c43376e
Run oninput and input listeners on timeout
...
This is necessary for the setTimeout callback to be run after the new value has been applied; otherwise, mobile iOS doesn't respect the timeout.
Fixes https://github.com/flarum/core/issues/2681
2021-03-10 19:23:27 -05:00
flarum-bot
3f7fb66502
Bundled output for commit 50da5ffd45
[skip ci]
2021-03-08 21:10:12 +00:00
Alexander Skvortsov
50da5ffd45
Handle editor-driven input events.
...
The mdarea extension's handleKey method only applies when input is accompanied by an actual key press, and won't register programmatic inputs via `app.composer.editor` methods. We add an additional listener for custom events, which are dispatched in `setValue`.
2021-03-08 16:09:18 -05:00
Alexander Skvortsov
80efe35b16
Add defaults to params that should have it.
...
This fixes PHP8 warnings about required parameters following optional ones.
2021-03-08 15:51:56 -05:00
dependabot[bot]
7fbf5ba6ed
Bump elliptic from 6.5.3 to 6.5.4 in /js
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 19:39:59 +00:00
Charlie
e8f46e04ce
Change Category ( #11 )
2021-03-08 14:39:41 -05:00
Alexander Skvortsov
df7be8d2ff
Merge pull request #18 from flarum/ck/adminux-category
...
Change Category
2021-03-08 14:39:10 -05:00
Charlie
a915382cfd
Change Category ( #36 )
2021-03-08 14:38:58 -05:00
Charlie
d8a39508dd
Change Category ( #39 )
2021-03-08 14:33:13 -05:00
Charlie
2a74e2ceca
Change Category ( #27 )
2021-03-08 14:32:52 -05:00
Charlie
cea10c8e9b
Change Category ( #27 )
2021-03-08 14:24:57 -05:00
Charlie
32708281b2
Change Category ( #26 )
2021-03-08 14:24:49 -05:00
Charlie
e17b088c20
Change Category ( #24 )
2021-03-08 14:22:03 -05:00
Charlie
6cbd641ad5
Change category ( #25 )
2021-03-08 14:21:37 -05:00
Charlie
23c03e058a
change category ( #62 )
2021-03-08 14:21:21 -05:00
Charlie
b92854c8fb
Change category ( #35 )
2021-03-08 14:21:08 -05:00
Charlie
5b312bc280
Change Category ( #33 )
2021-03-08 14:20:55 -05:00
Charlie
7c1a96119c
Change category ( #118 )
2021-03-08 14:20:41 -05:00
Sami Mazouz
b78b097724
Eagerload lastPostedDiscussion needed relationships ( #120 )
2021-03-06 10:37:26 -05:00
Ian Morland
6cb68bcd01
Provide a target for can ability ( #35 )
...
This ensures that the default user policy applies, and `user.hasPermission` is called.
2021-03-05 10:28:53 -05:00
Daniël Klabbers
162167fe23
made compatible with illuminate 8 and beta 16 ( #121 )
2021-03-05 09:44:20 -05:00
flarum-bot
6dc433470f
Bundled output for commit 181229ae93
[skip ci]
2021-03-05 03:16:09 +00:00
Sami Mazouz
181229ae93
Check for selectable tags before opening tag selection modal ( #112 )
2021-03-04 22:15:27 -05:00
flarum-bot
f79506ea9f
Bundled output for commit 40a0f2e0c9
[skip ci]
2021-03-02 04:36:18 +00:00
Alexander Skvortsov
40a0f2e0c9
Fix dropdown going off top of screen
...
The previous solution didn't properly account for document scroll, so when replying to posts, the parent offset would be extremely large, and it'd fall back to the top coordinate, which is out of bounds on small screens.
2021-03-01 23:34:47 -05:00
flarum-bot
37f0a100bd
Bundled output for commit 0ad97bb4ed
[skip ci]
2021-03-02 04:33:37 +00:00
Alexander Skvortsov
0ad97bb4ed
Fix dropdown going off top of screen
...
The previous solution didn't properly account for document scroll, so when replying to posts, the parent offset would be extremely large, and it'd fall back to the top coordinate, which is out of bounds on small screens.
2021-03-01 23:32:30 -05:00
Alexander Skvortsov
302687b11a
Use one instance of formatter extender
2021-03-01 23:26:35 -05:00
flarum-bot
cacb6ffd0b
Bundled output for commit 09b14b980a
[skip ci]
2021-02-27 21:06:27 +00:00
Alexander Skvortsov
09b14b980a
Attach oninput, inputListeners, onsubmit via mdarea extension
...
Recent versions of mdarea are quite powerful, and have internal state data structures. As a result, updating current editor value via `oninput` event listeners isn't reliable. Instead, we can use the mdarea extension API to handle keypresses exactly when markdownarea wants us to.
This also removes the `super` call from `build`, and directly creates/configures the applicable DOM elements. Since the mdarea editor driver's initialization is already quite different from BasicEditorDriver, it should fully own this step.
2021-02-27 16:05:25 -05:00
Alexander Skvortsov
aa62e69dab
MarkdownEditorDriver should be its own driver.
...
Splitting it out instead of hacking it onto BasicEditorDriver gives us more flexibility in customizing it for markdown area.
2021-02-27 15:37:19 -05:00
flarum-bot
9579871378
Bundled output for commit 690f4619f8
[skip ci]
2021-02-27 03:19:41 +00:00
Alexander Skvortsov
690f4619f8
Update mdarea
...
This is included because it fixes a bug where the last character isn't included, introduced by the shift in core's editor implementation + the way mdarea used to handle state
2021-02-26 22:18:54 -05:00
Alexander Skvortsov
3bdfbf9349
Editor driver support
2021-02-26 22:18:54 -05:00
flarum-bot
8c78af4b1c
Bundled output for commit d4db946c31
[skip ci]
2021-02-26 21:20:57 +00:00
Alexander Skvortsov
d4db946c31
Update for Editor Drivers Abstraction ( #61 )
2021-02-26 16:20:07 -05:00
flarum-bot
e83b88d17d
Bundled output for commit 720ea6c576
[skip ci]
2021-02-26 21:19:24 +00:00
Alexander Skvortsov
720ea6c576
Update for Editor Drivers Abstraction ( #34 )
2021-02-26 16:18:32 -05:00
imzhi
687e1c41db
ApproveContent then refresh user table DiscussionCount and CommentCount ( #16 )
2021-02-19 08:18:01 -05:00
Robert Korulczyk
c315ba49e5
Move locale files from language pack to extension. ( #3 )
2021-02-17 16:46:21 -05:00
Robert Korulczyk
8dea58eac6
Move locale files from language pack to extensions. ( #175 )
2021-02-17 16:26:52 -05:00
Robert Korulczyk
04f4b1f14e
Move locale files from language pack to extension. ( #22 )
2021-02-17 16:26:31 -05:00
Robert Korulczyk
5606fcc06b
Move locale files from language pack to extension. ( #23 )
2021-02-17 16:26:14 -05:00
Robert Korulczyk
9fb0356e71
Move locale files from language pack to extension. ( #24 )
2021-02-17 16:26:05 -05:00
Robert Korulczyk
0ea9ef1c48
Move locale files from language pack to extension. ( #21 )
2021-02-17 16:25:57 -05:00
Robert Korulczyk
69cf76f294
Move locale files from language pack to extension. ( #26 )
2021-02-17 16:25:48 -05:00
Robert Korulczyk
eb458b6700
Move locale files from language pack to extension. ( #13 )
2021-02-17 16:25:40 -05:00
Robert Korulczyk
d0452d6e89
Move locale files from language pack to extension. ( #21 )
2021-02-17 16:25:16 -05:00
Robert Korulczyk
5f5cb9318d
Move locale files from language pack to extension. ( #34 )
2021-02-17 16:25:03 -05:00
Robert Korulczyk
2d85cc8c38
Move locale files from language pack to extension. ( #28 )
2021-02-17 16:24:51 -05:00
Robert Korulczyk
5c1fa4aea8
Move locale files from language pack to extension. ( #32 )
2021-02-17 16:24:42 -05:00
Robert Korulczyk
2c1ab2504f
Move locale files from language pack to extension. ( #32 )
2021-02-17 16:24:33 -05:00
Robert Korulczyk
0bf6384bb2
Move locale files from language pack to extension ( #99 )
2021-02-17 16:24:19 -05:00
Alexander Skvortsov
230c5f24a3
Merge pull request #17 from rob006/move-locale-files-to-extensions
2021-02-17 16:24:04 -05:00
Robert Korulczyk
b06f6470e7
Move locale files from language pack to extension. ( #56 )
2021-02-17 16:23:40 -05:00
flarum-bot
ad9eaa38b2
Bundled output for commit 42158112bf
[skip ci]
2021-02-17 13:51:41 +00:00
David Wheatley
42158112bf
Add missing Button-label span from ButtonLink ( #113 )
...
Every sideNav item created by flarum/core includes this span, so tags should too.
2021-02-17 08:50:35 -05:00
Robert Korulczyk
b864bc09ef
Fix date_format
message in validation.yml ( #152 )
2021-02-16 17:40:35 -05:00
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
Daniël Klabbers
afcd0dc511
npm audit fix
2020-12-15 09:20:31 +01:00
Daniël Klabbers
3b59e80955
changelog and constraint for beta 15
2020-12-15 09:18:59 +01:00
Daniël Klabbers
5f8a4009fe
changelog and constraint for beta 15
2020-12-15 09:15:26 +01:00
Daniël Klabbers
80101d52a9
npm audit fix
2020-12-15 09:15:26 +01:00
Daniël Klabbers
1df1b136aa
changelog and constraint for beta 15
2020-12-15 09:04:29 +01:00
Daniël Klabbers
d6c7f5b921
npm audit fix
2020-12-15 09:03:27 +01:00
Daniël Klabbers
46966c29ac
npm audit fix
2020-12-15 08:43:59 +01:00
Daniël Klabbers
467d49f938
changelog and constraint for beta 15
2020-12-14 23:23:48 +01:00
Daniël Klabbers
211f36df35
changelog and constraint for beta 15
2020-12-14 23:19:25 +01:00
Daniël Klabbers
51f0d7e25d
npm audit fix
2020-12-14 23:15:29 +01:00
Daniël Klabbers
9f065ee973
changelog and constraint for beta 15
2020-12-14 22:36:54 +01:00