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

8249 Commits

Author SHA1 Message Date
Alexander Skvortsov
417e878c0c Fix: Use proper variable for display name drivers in user extender 2020-06-29 19:32:08 -04:00
Alexander Skvortsov
6a6d2f3803 Fix Last Posted Discussion, Improve DiscussionCount (#78)
The calculation/caching of the last posted discsussion is currently not very good. This PR adds fixes for:

Ensuring that private and hidden discussions aren't returned
Hiding and restoring discussions (hidden discussions shouldn't be returned)
Editing tags on a discussion (previously the discussion wasn't removed from the old tags).
2020-06-28 15:07:06 -04:00
Alexander Skvortsov
061a8585c2 Add suspended gambit (#23)
* Add is:suspended gambit

* Wrap where clauses in function

* Added permission check for suspended gambit

* Apply fixes from StyleCI

Co-authored-by: luceos <daniel+github@klabbers.email>
2020-06-28 15:02:09 -04:00
Rafael Horvat
2a21725fe3 Firing 2 new events for tags: Creating & Deleting (#86) 2020-06-28 14:47:32 -04:00
flarum-bot
4e7c4ede50 Bundled output for commit 1cfdc23865 [skip ci] 2020-06-28 17:45:26 +00:00
Alexander Skvortsov
1cfdc23865 Add check to register state of '0' as false for checkboxes (#2210)
* Add check to register state of '0' as false for checkboxes
* Add comment explaining state === '0'
2020-06-28 13:44:14 -04:00
Alexander Skvortsov
153c650c0d Add 'all discussions' meta title (#158)
* Add homepage meta title
2020-06-27 14:22:41 -04:00
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