1
0
mirror of https://github.com/flarum/core.git synced 2025-08-24 00:53:27 +02:00
Commit Graph

8592 Commits

Author SHA1 Message Date
flarum-bot
becc75c5c0 Bundled output for commit 2f9beccf2a [skip ci] 2020-06-27 18:20:09 +00:00
Alexander Skvortsov
2f9beccf2a Add index page title, add mechanism to clear title from defaultRoute. (#2047)
* Add "All Descriptions title to index

* Added system to clear custom title if we're on the default route
2020-06-27 14:18:49 -04:00
flarum-bot
d6de442b8a Bundled output for commit 8513e013f4 [skip ci] 2020-06-26 16:25:45 +00:00
Franz Liedke
8513e013f4 Fix typo and update outdated doc block 2020-06-26 18:23:56 +02:00
flarum-bot
b5b477ad3a Bundled output for commit 0654a93c1e [skip ci] 2020-06-26 14:12:46 +00:00
Franz Liedke
0654a93c1e Fix extension to work with latest state changes
Refs flarum/core#2151.
2020-06-26 16:11:16 +02:00
flarum-bot
c659b3e72b Bundled output for commit c8185a22df [skip ci] 2020-06-26 14:08:35 +00:00
flarum-bot
52b832c520 Bundled output for commit 04ee85f266 [skip ci] 2020-06-26 14:07:34 +00:00
Franz Liedke
c8185a22df Remove documentation for obsolete component prop 2020-06-26 16:06:56 +02:00
flarum-bot
4352aed1a2 Bundled output for commit 38be86ec51 [skip ci] 2020-06-26 14:06:48 +00:00
flarum-bot
24bf30d752 Bundled output for commit 9b0366c14d [skip ci] 2020-06-26 14:06:31 +00:00
Franz Liedke
04ee85f266 Fix extension to work with latest state changes
Refs flarum/core#2150.
2020-06-26 16:06:16 +02:00
Franz Liedke
6c6975a750 Remove unused imports 2020-06-26 16:06:05 +02:00
Franz Liedke
38be86ec51 Fix extension to work with latest state changes
Refs flarum/core#2150, flarum/core#2156.
2020-06-26 16:05:35 +02:00
flarum-bot
5240157871 Bundled output for commit 1ae36a0b64 [skip ci] 2020-06-26 14:05:34 +00:00
Franz Liedke
9b0366c14d Fix extension to work with latest state changes
Refs flarum/core#2150, flarum/core#2156.
2020-06-26 16:05:03 +02:00
Franz Liedke
1ae36a0b64 Fix extension to work with latest state changes
Refs flarum/core#2156.
2020-06-26 16:04:02 +02:00
Franz Liedke
0b9e8e0408 Expose a method for clearing notification list
Needed for pusher extension.

Refs #2185.
2020-06-26 15:10:41 +02:00
flarum-bot
0c1869b93e Bundled output for commit 942d39a37a [skip ci] 2020-06-26 12:47:25 +00:00
Franz Liedke
942d39a37a Fix extension to work with latest state changes
Refs flarum/core#2150, flarum/core#2151, flarum/core#2156.
2020-06-26 14:44:08 +02:00
Franz Liedke
dcf814fb12 Remove an obsolete method extension
This method hasn't existed in a while, and its purpose (including
the related tags when loading a discussion via API) has already
been achieved by extending the backend.
2020-06-26 14:43:11 +02:00
flarum-bot
365ae0464e Bundled output for commit 301495478d [skip ci] 2020-06-26 12:32:40 +00:00
Franz Liedke
301495478d Move DiscussionListState to correct folder 2020-06-26 12:52:33 +02:00
Franz Liedke
070b4b1c21 Expose state classes via compat
This way, they can be extended by extensions.
2020-06-26 12:50:43 +02:00
flarum-bot
c2bea8cde3 Bundled output for commit 144e38049e [skip ci] 2020-06-24 00:51:55 +00:00
David Sevilla Martín
144e38049e Call liveHumanTimes() to update ago times every 10s (#2208)
This file has existed for 5 years, yet it was never used.
2020-06-23 20:50:57 -04:00
flarum-bot
d4905437bd Bundled output for commit 395ee845ae [skip ci] 2020-06-20 14:19:53 +00:00
w-4
395ee845ae Fix discussion unreadCount could be higher than commentCount (#2195)
* Fix discussion unreadCount being higher than commentCount if posts have been deleted
2020-06-20 10:18:26 -04:00
Alexander Skvortsov
9d2f0c9125 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:30:05 -04:00
Alexander Skvortsov
c106cb10f6 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:28:40 -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
luceos
c925f92f79 Apply fixes from StyleCI 2020-06-20 02:25:53 +00:00
Alexander Skvortsov
eb1e364424 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:25:40 -04:00
Alexander Skvortsov
1e64ac9376 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:24:35 -04:00
Alexander Skvortsov
2a4e8bf8ad 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:22:54 -04:00
Alexander Skvortsov
3e9c764546 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:20:14 -04:00
Alexander Skvortsov
6defee4fc4 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:18:56 -04:00
Alexander Skvortsov
ce66d7d43b 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:16:32 -04:00
Alexander Skvortsov
541b1a59d3 Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 21:54:38 -04:00
Alexander Skvortsov
95269bfb68 Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 21:48:53 -04:00
Alexander Skvortsov
4d10a5663f Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 21:46:07 -04:00
Franz Liedke
80376d24b1 Apply fixes from StyleCI 2020-06-20 01:43:47 +00:00
Alexander Skvortsov
a1ede6503c Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 21:43:34 -04:00
luceos
b75d5c6670 Apply fixes from StyleCI 2020-06-20 01:42:16 +00:00
Alexander Skvortsov
a9810ffb4c Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 21:42:03 -04:00
flarum-bot
f14da4b159 Bundled output for commit 1c1a3b363e [skip ci] 2020-06-19 21:42:28 +00:00
Alexander Skvortsov
1c1a3b363e Clean up app.current, app.previous in JS (#2156)
- Encapsulate app.current, app.previous in PageState objects
- Reorganize Page classes to use one central base class in common

Co-authored-by: Franz Liedke <franz@develophp.org>
2020-06-19 17:41:26 -04:00
Franz Liedke
17eac0fa4a Clean up usages / deprecate path helpers (#2155)
* Write source map without creating temp file

Less I/O, and one less place where we access the global path helpers.

* Drop useless app_path() helper

This was probably taken straight from Laravel. There is no equivalent
concept in Flarum, so this should be safe to remove.

* Deprecate global path helpers

Developers using these helpers can inject the `Paths` class instead.

* Stop storing paths as strings in container

* Avoid using path helpers from Application class

* Deprecate path helpers from Application class

* Avoid using public_path() in prerequisite check

a) The comparison was already outdated, as a different path was passed.
b) We're trying to get rid of these global helpers.
2020-06-19 16:16:03 -04:00
flarum-bot
be5ffad574 Bundled output for commit 85deb7ae03 [skip ci] 2020-06-19 00:30:16 +00:00
Franz Liedke
85deb7ae03 Remove leftover property
Refs #2150.
2020-06-19 02:27:01 +02:00