1
0
mirror of https://github.com/flarum/core.git synced 2025-08-29 02:50:57 +02:00
Commit Graph

8592 Commits

Author SHA1 Message Date
Franz Liedke
7ffca76c61 Fix incorrect column name for registration token
Oversight from the database renamings, I suppose.

Fixes #1691.
2018-12-09 23:17:04 +01:00
Toby Zerner
13ce2d1e3d Performance: Actually make use of the translator cache
We had added a `storage/locale` directory to our skeleton, but we had
forgotten to hook it up with the translator. Enabling caching saves
parsing that locale YAML files on every pageload which should be good
for performance.

The locale cache will be cleared whenever an extension that uses the
`Locales` or `LanguagePack` extenders is enabled/disabled. If debug
mode is ON, then the caching mechanism will automatically check if any
of the loaded YAML files are dirty and update accordingly.
2018-12-07 09:38:08 +10:30
Toby Zerner
6b6fce878a Add another commit 2018-12-07 09:13:44 +10:30
Toby Zerner
ffc78a0218 Add changelog 2018-12-07 09:12:57 +10:30
Toby Zerner
6ac090c0cb Add changelog 2018-12-07 09:12:50 +10:30
Toby Zerner
4ce3348e1e Add changelog 2018-12-07 09:12:41 +10:30
Toby Zerner
bdf94f9218 Add changelog 2018-12-07 09:12:34 +10:30
Toby Zerner
85bc128e4f Add changelog 2018-12-07 09:12:19 +10:30
Franz Liedke
36a0231796 Release version 0.1.0-beta.8.1 2018-12-06 00:47:38 +01:00
Franz Liedke
de73685764 Do not create tables as InnoDB automatically, rely on connection default
As argued in #1675, this makes us slightly less reliant on MySQL.
2018-12-06 00:34:43 +01:00
Franz Liedke
c7c4046d03 Revert "Explicitly create tags table with InnoDB engine"
This reverts commit b8b72e51af.
2018-12-06 00:34:15 +01:00
Toby Zerner
1b78395d9a Include full last discussion info
Fixes flarum/core#1662
2018-12-05 09:05:07 +10:30
Franz Liedke
b8b72e51af Explicitly create tags table with InnoDB engine
Refs flarum/core#1675.
2018-12-04 10:20:22 +01:00
flarum-bot
7492d7e610 Bundled output for commit f1beefc939 [skip ci] 2018-12-03 23:53:24 +00:00
flarum-bot
bd46f533a3 Bundled output for commit afd6e5a291 [skip ci] 2018-12-03 23:52:29 +00:00
flarum-bot
bea2bc2869 Bundled output for commit ab30e484c1 [skip ci] 2018-12-03 23:51:00 +00:00
flarum-bot
d963704249 Bundled output for commit 8632dd31e5 [skip ci] 2018-12-03 23:48:22 +00:00
Toby Zerner
7ae9b1263b Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
9bdc10a09a Fix travis builds 2018-12-04 10:16:33 +10:30
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