Commit Graph

195 Commits

Author SHA1 Message Date
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
Toby Zerner
42235cbed2 Remove progress flag 2018-06-20 13:54:01 +09:30
Toby Zerner
d1f4d5a739 Webpack (#33)
See https://github.com/flarum/core/pull/1367

* Replace gulp with webpack and npm scripts for JS compilation
* Set up Travis CI to commit compiled JS
* Restructure `js` directory; only one instance of npm, forum/admin are "submodules"
* Restructure `less` directory
2018-06-20 13:35:33 +09:30
Ammar Fadhlur Rahman
ca805afdfe Change fa icon prefix to fas 2018-05-10 15:01:02 +07:00
Clark Winkelmann
5bf642046d Remove unused parameter 2018-03-07 04:04:19 +01:00
AFR
c5818ba87d Adapt to FontAwesome v5.0.6 icon name changes (#30) 2018-02-23 23:43:43 +01:00
Toby Zerner
11292223a7 Fix incorrect query parameter when searching for users 2018-02-09 07:41:25 +10:30
Franz Liedke
c25b8e1510 Extender: List all assets explicitly 2018-01-21 21:09:52 +01:00
Franz Liedke
30e21bb37d Remove unused import 2018-01-17 08:27:19 +01:00
Franz Liedke
ee07f29d5a Adapt new bootstrap format, use Asset extender 2018-01-16 23:27:32 +01:00
Miles Cellar
b4ee4a6299 Update license year range to 2018 2018-01-15 19:36:14 +01:00
Toby Zerner
ba4ce1a9c9 Require beta 8 2018-01-11 12:25:45 +10:30
Toby Zerner
89ec1d77df Fix class names 2017-12-27 16:09:20 +10:30
Toby Zerner
2d9839ee66 Fix relationship method arguments
As per https://laravel.com/docs/5.5/upgrade (under "Eloquent")
2017-12-26 20:21:47 +10:30
Toby Zerner
c145121516 Merge branch 'master' into next-back
# Conflicts:
#	src/Listener/AddPostMentionedByRelationship.php
#	src/Listener/FormatPostMentions.php
#	src/Listener/FormatUserMentions.php
#	src/Listener/UpdatePostMentionsMetadata.php
#	src/Listener/UpdateUserMentionsMetadata.php
2017-12-26 20:20:31 +10:30
Toby Zerner
14215773b3 Fix positioning of quote button when parents are positioned relatively 2017-11-10 17:45:21 +10:30