1
0
mirror of https://github.com/flarum/core.git synced 2025-08-28 10:30:54 +02:00
Commit Graph

8723 Commits

Author SHA1 Message Date
Toby Zerner
6b705793eb Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
9302014dfa Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
df42580f7e Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
85ea9851d4 Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
6d554ad499 Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
6ccb297af4 Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
f1beefc939 Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
afd6e5a291 Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
ab30e484c1 Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
e6213d517e Fix travis builds 2018-12-04 10:16:32 +10:30
Toby Zerner
8632dd31e5 Fix travis builds 2018-12-04 10:16:32 +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
d7fd5ef11e Don't output empty html tag attributes
From https://discuss.flarum.org/d/17817-meta-description-is-empty/8
ref #1677
2018-12-04 09:47:49 +10:30
Toby Zerner
2b9e969b95 Fix empty meta description tag. Fixes #1677 2018-12-04 09:28:24 +10:30
Toby Zerner
bdda467ae1 Prevent crash if likes relationship hasn't been loaded
This could theoretically happen if a post is loaded in some other context
(without its likes relationship) and overwrites the full version in the
store. While this should ideally never happen, it's better to fail
gracefully if it does.

Fixes flarum/core#1665
2018-12-04 09:23:11 +10:30
Toby Zerner
b8661a166f Update old attribute names. fixes flarum/core#1666 2018-12-04 09:18:01 +10:30
Toby Zerner
126551366b Set the default engine in the installer
The installer doesn't use DatabaseServiceProvider, so we need to set
the default engine in the config here too.

Fixes #1675
2018-12-04 09:12:19 +10:30
Toby Zerner
93531c6636 Fix oopsie in d6632c061d 2018-12-04 08:54:33 +10:30
Toby Zerner
72ba762fed Truncate notification excerpts 2018-12-03 09:37:14 +10:30
Toby Zerner
e2bb04ce34 Truncate notification excerpts 2018-12-03 09:37:01 +10:30
flarum-bot
d399c38b96 Bundled output for commit eefac062a1 [skip ci] 2018-12-02 22:26:12 +00:00
Toby Zerner
eefac062a1 Update changelog 2018-12-03 08:51:27 +10:30
Toby Zerner
4365fa3c52 Fix discussion list scroll position not being maintained when hero is not visible 2018-12-03 08:50:54 +10:30
Toby Zerner
83cdea35ea Add changelog 2018-12-02 08:08:44 +10:30
Franz Liedke
e2004c2dcb 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:05:04 +01:00
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
Franz Liedke
732432d00b 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:26 +01:00
Franz Liedke
ae3d1f5f5f 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:12 +01:00
Franz Liedke
c23b7f33eb 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:02:37 +01:00
Franz Liedke
d6632c061d Set InnoDB for DB connection and new tables
Refs #1661.
2018-11-29 23:21:58 +01:00
Franz Liedke
7092b3bfff Installer: Fix invalid join time of admin user
Fixes #1664.
2018-11-29 22:56:56 +01:00
Franz Liedke
42dfcf3e40 Fix search with database prefix
wrap() only adds a table prefix when referencing a column with a table
name (such as `foo.bar`) - when only a single identifier is provided, it
is assumed to be a column name, which does not need a prefix.

Fixes #1659.
2018-11-29 22:50:32 +01:00
Franz Liedke
13005b0363 Fix live output in ResetCommand
This was forgotten in aab06e0.

Fixes #1663.
2018-11-29 22:04:01 +01:00
Franz Liedke
ff17cba95a Fix code style and doc block 2018-11-29 21:31:12 +01:00
Daniël Klabbers
992bd2f3ad Up the version (#1582) 2018-11-29 00:34:49 +01:00
Franz Liedke
521a592d43 Always invalidate all user email tokens
Reported by B. Dhiyaneshwaran of Geek Freak.
2018-11-29 00:33:42 +01:00
Toby Zerner
d08bb264b4 Fix index names in migrations
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 22:34:26 +10:30
Toby Zerner
d497e65d21 Fix index names in migrations
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 22:34:00 +10:30
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
ba84633d45 Fix index names in migrations
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 22:33:38 +10:30
Toby Zerner
a54f1e2bc5 Fix index names in migrations
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 22:33:32 +10:30
Toby Zerner
2722a0f2c5 Fix index names in migrations
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 22:33:21 +10:30
Toby Zerner
0ff0f45150 Merge pull request #1656 from flarum/tz/fix-index-names
Fix index names in migrations
2018-11-27 22:32:17 +10:30
Toby Zerner
41688c73f8 Fix index names in migrations
This can be reverted when we upgrade to Laravel 5.7.
2018-11-27 12:19:13 +10:30
David Sevilla Martín
84b4f4832d Throw FileNotFoundException when FileSource path does not exist
Closes #1649.
2018-11-22 23:40:38 +01:00
Franz Liedke
fcff84fd96 Adopt latest frontend/assets refactoring 2018-11-22 21:59:37 +01:00
David Sevilla Martín
bd210636e8 Fix frontend extender using old container & wrong class 2018-11-22 21:17:32 +01:00
Franz Liedke
9b7957815f Remove obsolete property accessor in User model
The locale field does not exist, and the accessor code was broken.

Closes #1653.
2018-11-22 21:12:25 +01:00
Toby Zerner
b68767abdd Clearer delineation of installation pointer 2018-11-22 18:37:00 +10:30