Commit Graph

310 Commits

Author SHA1 Message Date
Sami Mazouz
256e821289 Use new extenders (#58) 2020-12-08 11:15:52 -05:00
Alexander Skvortsov
ab27fd452d Add composer metadata for admin ux redesign 2020-11-25 01:23:14 -05:00
Sami Mazouz
2e9d9ab816 Use the new Notification type extender (#57) 2020-10-31 18:43:02 -04:00
flarum-bot
6f7b86b0a9 Bundled output for commit 367a1b2329 [skip ci] 2020-10-29 22:34:16 +00:00
Sami Mazouz
367a1b2329 Check if event is cancelable before preventDefault (#54)
This recovers the initial wanted behavior of opening the post mention preview dropdown instead of directly going to the post on touchscreens.
2020-10-29 18:33:26 -04:00
Daniël Klabbers
2b6b7ed26e changelog and dep for v0.1.0-beta.14 2020-10-15 14:43:04 +02:00
Daniël Klabbers
5cfb1550eb npm audit security vulnerabilities patched 2020-10-14 09:59:01 +02:00
flarum-bot
d94dfa6090 Bundled output for commit 26c84b9e5b [skip ci] 2020-10-03 00:20:06 +00:00
Alexander Skvortsov
26c84b9e5b Use Link component instead of route patch 2020-10-02 20:19:10 -04:00
Alexander Skvortsov
9ef207fa85 Translate notification emails (#50) 2020-10-01 11:16:20 -04:00
flarum-bot
51134ff625 Bundled output for commit ea56f39a53 [skip ci] 2020-09-24 02:54:49 +00:00
Alexander Skvortsov
ea56f39a53 Mithril 2 Update (#52)
Update for Mithril 2

- Please note that PostQuoteButton and AutocompleteDropdown are not Fragments, not Components. Accordingly, they have been moved to the components folder.

Co-authored-by: Matthew Kilgore <tankerkiller125@gmail.com>
Co-authored-by: Franz Liedke <franz@develophp.org>
2020-09-23 22:53:46 -04:00
flarum-bot
a48a84fcd0 Bundled output for commit 1674e7a313 [skip ci] 2020-09-04 16:26:07 +00:00
Franz Liedke
1674e7a313 Fix extension to work with Composer state changes
Refs flarum/core#2162.
2020-09-04 18:19:27 +02:00
flarum-bot
8f1ba6e7d2 Bundled output for commit 921db74fe4 [skip ci] 2020-09-04 14:47:16 +00:00
Franz Liedke
921db74fe4 Fix extension to work with Composer state changes
Refs flarum/core#2162.
2020-09-04 16:46:01 +02:00
flarum-bot
1ce62ca3c5 Bundled output for commit ce039d3dd6 [skip ci] 2020-09-04 14:43:38 +00:00
Franz Liedke
ce039d3dd6 Fix extension to work with Composer state changes
Refs flarum/core#2162.
2020-09-04 16:42:07 +02:00
dependabot[bot]
6da004c7ae Bump elliptic from 6.5.2 to 6.5.3 in /js (#51)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:09:16 +02:00
Alexander Skvortsov
5d7f1d87d5 Don't typehint the view factory in the closure in extend.php
This causes the view factory to resolve early, breaking all future extensions that use the view extender
2020-07-27 19:30:24 -04:00
Matthew Kilgore
d1cf21dcd2 Replaced depreciated helper function with classfull function 2020-07-25 21:08:49 -04:00
Franz Liedke
ba3071eaac Use new View extender
Refs flarum/core#2134.
2020-07-17 12:10:47 +02:00
dependabot[bot]
c192cbc57b Bump lodash from 4.17.15 to 4.17.19 in /js (#49)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 10:48:25 +02:00
flarum-bot
ebc8b763ce Bundled output for commit 68163d462a [skip ci] 2020-07-01 21:10:06 +00:00
Alexander Skvortsov
68163d462a Stop mentions dropdown from jumping around (#48)
Cache the order in which users are returned by the API to stop the mentions list from jumping around
Only ping the api when 2 or more characters are entered
2020-07-01 17:08:31 -04:00
Alexander Skvortsov
13e79e5457 Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 22:27:37 -04:00
flarum-bot
a905fbd073 Bundled output for commit af979f20ff [skip ci] 2020-06-10 00:14:45 +00:00
Matteo Contrini
af979f20ff Always show replies list on posts (#47)
Previously, if there was a single reply and it was adjacent to the post it wasn't shown.

See discussion on Discuss: https://discuss.flarum.org/d/23666-flarum-010-beta13-released/75
2020-06-09 20:13:24 -04:00
Sami Mazouz
f8d1e2b22e Fix replies dropdown menu width (#38)
* Fixes flarum/core#1707
2020-05-22 18:50:26 -04:00
Franz Liedke
e6f0ca5873 Use existing variable for media query
Refs #46, flarum/core#2070.
2020-05-21 03:33:32 +02:00
Tariq Hussein
2ecfe5da7b Check reply with mention can be read by original poster (#39) 2020-05-20 17:01:34 -04:00
timas130
43ad78654c Fix dropdown overflow on mobile (flarum/core#2070) (#46)
* Fix dropdown overflow on mobile (flarum/core#2070)
2020-05-20 15:20:02 -04:00
Daniël Klabbers
665f41a518 incorrect compared versions in changelog 2020-05-04 10:42:22 +02:00
Daniël Klabbers
6f3e7fde0b Missing PR ref in Changelog beta 13 2020-05-04 10:35:14 +02:00
Daniël Klabbers
910ca68ccd Release v0.1.0-beta.13 2020-05-04 10:34:34 +02:00
flarum-bot
494ec8b8a6 Bundled output for commit 5855b0367f [skip ci] 2020-05-01 09:59:00 +00:00
Franz Liedke
5855b0367f Update Webpack 2020-05-01 11:56:01 +02:00
Franz Liedke
a552b957ba Use new Model extender 2020-04-24 15:55:50 +02:00
Franz Liedke
9587d3b416 npm audit fix 2020-04-24 14:30:29 +02:00
dependabot[bot]
dd89498150 Bump acorn from 6.4.0 to 6.4.1 in /js (#45)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 21:52:38 +01:00
Robert Turner
9c674f0a8b Fix mentioning a deleted user's post (#41)
Fixes #1956 - ErrorException: Trying to get property 'display_name' of 
non-object. ConfigureMentions::addPostId method set mention details 
based on if there was an existing post. This caused an error if there 
was an existing post, but the user who posted had been deleted. The 
mention details are now only set if there is a user associated with the 
post being mentioned.
2020-03-06 23:04:24 +01:00
Daniël Klabbers
090483e3ab remove author, updated deps 2020-03-03 14:29:50 +01:00
flarum-bot
62ec7dc2fc Bundled output for commit 969638a311 [skip ci] 2020-02-11 20:44:30 +00:00
Franz Liedke
969638a311 Update Webpack 2020-02-11 21:43:28 +01:00
Franz Liedke
3390bd5b02 Apply fixes from StyleCI 2019-11-29 23:02:17 +00:00
Franz Liedke
8227426aa0 Update copyright claims in LICENSE 2019-11-30 00:01:02 +01:00
Daniël Klabbers
0b80dfe837 updated requirement with flarum/core 2019-09-16 09:34:22 +02:00
Franz Liedke
9bb4894ec0 Update changelog for beta.10 2019-09-15 22:43:58 +02:00
Franz Liedke
d9fb5ab31b Update vulnerable JS dependencies 2019-09-13 15:33:06 +02:00
Franz Liedke
dd43db2ddb Add GitHub workflow for JavaScript building 2019-08-20 23:54:24 +02:00
Shivanshu Patel
7afdbb1ea9 Remove like with and compare with equals (#37)
`_` is special character in mysql so like query was fetching different result for user who's unsername starts with or contains `_`
2019-08-16 15:57:35 +02:00
Daniël Klabbers
f21b062b3d update constraint 2019-06-24 12:01:04 +02:00
Daniël Klabbers
6b8fc76283 changelog for 0.1.0-beta.9 2019-06-24 11:23:29 +02:00
Franz Liedke
0e0159c397 Update changelog 2019-06-13 01:32:20 +02:00
bdumaspilhou
b9c4a003f2 Fixes : use display_name in mail and in subject (#35) 2019-03-06 23:25:23 +01:00
Franz Liedke
55b1fd5461 Update changelog 2019-02-15 00:30:03 +01:00
Franz Liedke
95d01f3136 Depend on Laravel 5.7 for correct index names 2019-02-03 20:51:10 +01:00
Franz Liedke
70a66a9529 Get rid of event subscribers that resolve services too early
Refs flarum/core#1578.
2018-12-16 16:24:05 +01:00
Franz Liedke
c2cabd7c2e I can do this! 2018-12-15 16:24:31 +01:00
Franz Liedke
99adb8e998 Fix copy-paste mistake 2018-12-15 16:01:03 +01:00
Franz Liedke
3656072ff4 Use Formatter extender to avoid resolving the UrlGenerator too early
Refs flarum/core#1578.
Fixes flarum/core#1703.
2018-12-15 12:06:58 +01:00
Franz Liedke
875daf3ce2 Rely on TextFormatter to unparse the post content
Refs flarum/core#920.
Possibly fixing flarum/core#537.
2018-12-11 22:56:16 +01:00
Toby Zerner
4ce3348e1e Add changelog 2018-12-07 09:12:41 +10:30
flarum-bot
ce1f81a460 Bundled output for commit 87ed42157f [skip ci] 2018-12-03 23:43:48 +00:00
Toby Zerner
87ed42157f Fix travis builds 2018-12-04 10:11:51 +10:30
Toby Zerner
e2bb04ce34 Truncate notification excerpts 2018-12-03 09:37:01 +10:30
Franz Liedke
731da10088 Migrations: Fix dropping foreign keys
Passing an array to dropForeign does not mean dropping multiple indices,
but rather dropping a key on multiple tables.

Passing a string means that this string will be interpreted as index
name, not as name of the indexed column. Passing an array with one
string is therefore correct, in order to benefit from automatic index
name generation.
2018-11-30 14:04:44 +01:00
Toby Zerner
147fc1a65e Fix index names in migrations
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 22:33:45 +10:30
Toby Zerner
814a47c00f Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30
flarum-bot
4f190d6b74 Bundled output for commit 2786476ab1 [skip ci] 2018-11-21 08:23:18 +00:00
Toby Zerner
2786476ab1 Make npm package private, update deps, change watch to dev 2018-11-21 18:45:36 +10:30
Toby Zerner
3225539c0b Remove copyright year from LICENSE 2018-11-21 18:37:21 +10:30
flarum-bot
a808ccab69 Bundled output for commit 54660c2cc8 [skip ci] 2018-11-17 08:37:36 +00:00
Toby Zerner
54660c2cc8 Update dependencies 2018-11-17 19:06:29 +10:30
flarum-bot
c8a3c3c22b Bundled output for commit 1f04c732a0 [skip ci] 2018-11-14 03:07:37 +00:00
Toby Zerner
1f04c732a0 Fix cursor not being placed correctly after mention insertion 2018-11-14 13:36:21 +10:30
Toby Zerner
7075998b87 Use canonical username for user profile link. fixes flarum/core#1265 2018-11-14 12:10:24 +10:30
flarum-bot
7929d2e4bf Bundled output for commit dd500ec54b [skip ci] 2018-11-12 10:35:09 +00:00
Toby Zerner
dd500ec54b Add mention button to text editor toolbar 2018-11-12 17:37:25 +10:30
flarum-bot
d34c7745f8 Bundled output for commit 4bd704c9c5 [skip ci] 2018-11-06 08:42:37 +00:00
Toby Zerner
4bd704c9c5 Trigger mention autocomplete on any kind of input 2018-11-06 19:11:25 +10:30
flarum-bot
6a2ed43a51 Bundled output for commit 5a35480db2 [skip ci] 2018-10-21 04:51:03 +00:00
Toby Zerner
5a35480db2 Rename package 2018-10-21 15:16:21 +10:30
Toby Zerner
068f55e8e6 Rename package 2018-10-17 13:44:48 +10:30
flarum-bot
3fda95bd34 Bundled output for commit f11562f27b [skip ci] 2018-09-21 02:23:13 +00:00
Toby Zerner
f11562f27b Fix user mentions page 2018-09-21 11:52:13 +09:30
Toby Zerner
6700eeecfd Rename bootstrap.php 2018-09-21 11:48:36 +09:30
flarum-bot
11c581d3f7 Bundled output for commit 8d67e6dcf5 [skip ci] 2018-09-21 02:12:33 +00:00
Toby Zerner
8d67e6dcf5 Fix live preview 2018-09-21 11:41:32 +09:30
flarum-bot
78050e8c4e Bundled output for commit 061a6cdafa [skip ci] 2018-09-21 01:59:11 +00:00
Toby Zerner
061a6cdafa Remove notification pluralization logic
Since we don't return an "unread count" in the API, this pluralization
logic is useless at the moment. Related to #643 and #716 but really
needs further thought in #868.
2018-09-21 11:28:11 +09:30
flarum-bot
f7df6b7d58 Bundled output for commit dffcb660aa [skip ci] 2018-09-21 01:03:27 +00:00
Toby Zerner
dffcb660aa Update dependencies 2018-09-21 10:25:47 +09:30
flarum-bot
c1b2427e16 Bundled output for commit 67c7b45dc8 [skip ci] 2018-09-16 18:52:34 +00:00
Toby Zerner
67c7b45dc8 Database changes (#34)
* Implement database changes

* Split foreign keys in to their own migrations; rename pivot tables

* Use whereColumn

* Update core attribute names
2018-09-16 20:50:16 +02:00
Franz Liedke
f8ad54cb1f Use new Frontend extender
See flarum/core#851.
2018-07-23 16:29:48 +02:00
flarum-bot
800e68bf4c Bundled output for commit 2e9c184b3b [skip ci] 2018-07-23 12:29:20 +00:00
Franz Liedke
2e9c184b3b Fix positioning of mention dropdown
Previously, the positioning logic did not account for the case
when the textarea was already scrolled down a bit, thus often
rendering the dropdown off-screen.

Fixes flarum/core#1021.
2018-07-23 14:28:09 +02:00
flarum-bot
8214638cb5 Bundled output for commit 20ddf72ec9 [skip ci] 2018-06-20 05:19:54 +00:00
Toby Zerner
20ddf72ec9 Fix Travis' deploy key 2018-06-20 14:30:24 +09:30