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
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
Toby Zerner
92b89532ec Add translations for new admin tools button 2018-11-22 16:32:09 +10:30
Toby Zerner
f25cc57f95 Remove unused view code 2018-11-22 12:13:41 +10:30
Toby Zerner
54e12c8acc LESS variables and mixins are now included by default 2018-11-22 12:13:41 +10:30
Toby Zerner
b678ace1eb Make npm package private, update deps, change watch to dev 2018-11-22 12:13:41 +10:30
Toby Zerner
d748d8739d Update for beta 8 2018-11-22 12:13:41 +10:30
Toby Zerner
d4cebc5901 Include LESS mixins and variables in all frontend compilers 2018-11-22 12:09:50 +10:30
Toby Zerner
1ea8dbed03 Consolidate ControllerRouteHandler into RouteHandlerFactory
Also allow closure to be passed for frontend content when creating routes
2018-11-22 12:09:50 +10:30
Toby Zerner
171f9184d9 Refactor frontend code to allow for extension of assets
- Simpler class naming:
    Frontend\CompilerFactory → Frontend\Assets
    Frontend\HtmlDocumentFactory → Frontend\Frontend
    Frontend\HtmlDocument → Frontend\Document

- Remove AssetInterface and simply collect callbacks in Frontend\Assets
  instead

- Remove ContentInterface because it serves no purpose (never type-
  hinted or type-checked)

- Commit and add asset URLs to the Document via a content callback
  instead of in the Document factory class itself

- Add translations and locale assets to Assets separate to the assets
  factory, as non-forum/admin asset bundles probably won't want them

- Update Frontend Extender to allow the creation of new asset bundles

- Make custom LESS validation listener a standalone class instead of
  extending RecompileFrontendAssets
2018-11-22 12:09:50 +10:30
flarum-bot
59330d8fe6 Bundled output for commit dc71192d77 [skip ci] 2018-11-21 21:38:27 +00:00
Toby Zerner
fedc1f6fe4 Apply fixes from StyleCI (#1651)
[ci skip] [skip ci]
2018-11-22 08:04:41 +10:30
Toby Zerner
dc71192d77 Fix build errors by updating webpack-cli 2018-11-22 08:04:08 +10:30
Toby Zerner
e98a1d33e9 Add "clear cache" button to admin 2018-11-22 08:03:43 +10:30
Toby Zerner
1b788a09f7 Fix old session method name 2018-11-22 07:24:44 +10:30
Toby Zerner
3394abde2b Fix positioning of hamburger menu unread indicator 2018-11-22 07:24:01 +10:30
Toby Zerner
eea80766a2 Revert "Configure external links before dispatching event"
This reverts commit fd97e787dd.

Fixes #1650
2018-11-22 07:21:16 +10:30
Toby Zerner
a70dbf0b46 Make npm package private, update deps, change watch to dev 2018-11-22 07:10:31 +10:30
Toby Zerner
589b27bb7d Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-22 07:09:18 +10:30
Toby Zerner
11bc314177 Remove copyright year from LICENSE 2018-11-22 07:08:59 +10:30
Toby Zerner
f6f604b0d9 Fix new post notifications not being sent
It seems that c7aeef19ea actually caused
a regression. With the order of execution of extensions, this event
listener was always being executed before the discussion metadata
was updated, and the listener priority was not actually necessary.

Fixes flarum/core#1646
2018-11-21 22:04:52 +10:30
Toby Zerner
736bf0e75d Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:15 +10:30
Toby Zerner
4483b7fee7 Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:15 +10:30
Toby Zerner
73b09c8161 Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30
Toby Zerner
67f45c265d Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30
Toby Zerner
8d1b93fe41 Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30
Toby Zerner
3e6fb78c1e Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30
Toby Zerner
97c1472786 Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +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
Toby Zerner
5c431b79b1 Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30
Toby Zerner
aa00a2d51b Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30
Toby Zerner
60e80d45ca Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30
Toby Zerner
264c730d0d Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:57:14 +10:30