Commit Graph

196 Commits

Author SHA1 Message Date
Daniël Klabbers
0d43d5836f changelog and dep for v0.1.0-beta.14 2020-10-15 15:57:40 +02:00
Daniël Klabbers
28749eb2b1 npm audit security vulnerabilities patched 2020-10-14 10:01:20 +02:00
flarum-bot
91078a0ee7 Bundled output for commit a2aedaa2e1 [skip ci] 2020-09-29 14:41:24 +00:00
Sami Mazouz
a2aedaa2e1 Fix sticky discussion excerpt (#20) 2020-09-29 10:40:19 -04:00
flarum-bot
fe02967de0 Bundled output for commit 418e656c9e [skip ci] 2020-09-24 02:57:17 +00:00
Alexander Skvortsov
418e656c9e Mithril 2 Update (#19)
Update for Mithril 2
2020-09-23 22:56:13 -04:00
dependabot[bot]
7bf581d635 Bump elliptic from 6.5.2 to 6.5.3 in /js (#18)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:09:19 +02:00
Matt Kilgore
38c0e3c500 Removes AssertPermissionTrait (#17)
* Removes AssertPermissionTrait

* Fix my dumb mistake
2020-07-20 07:59:16 +02:00
dependabot[bot]
bab0e072b3 Bump lodash from 4.17.15 to 4.17.19 in /js (#16)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 10:48:06 +02:00
flarum-bot
4352aed1a2 Bundled output for commit 38be86ec51 [skip ci] 2020-06-26 14:06:48 +00: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
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
Daniël Klabbers
df7d4d1907 incorrect compared versions in changelog 2020-05-04 10:42:34 +02:00
Daniël Klabbers
e05857602b Release v0.1.0-beta.13 2020-05-04 10:38:45 +02:00
Franz Liedke
c134f037dd Update Webpack 2020-05-01 11:56:02 +02:00
Franz Liedke
fbd50d390a npm audit fix 2020-04-24 14:30:30 +02:00
dependabot[bot]
9e22f00a76 Bump acorn from 6.4.0 to 6.4.1 in /js (#15)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 20:27:00 +01:00
Daniël Klabbers
8f3d9dfee1 remove author, updated deps 2020-03-03 14:40:42 +01:00
flarum-bot
724f7218d6 Bundled output for commit b6c240409d [skip ci] 2020-02-11 20:44:07 +00:00
Franz Liedke
b6c240409d Update Webpack 2020-02-11 21:43:01 +01:00
Franz Liedke
e9f298bf89 Apply fixes from StyleCI 2019-11-29 23:02:29 +00:00
Franz Liedke
ae2d9afe9c Update copyright claims in LICENSE 2019-11-30 00:01:03 +01:00
Franz Liedke
f85f1a7e06 Update vulnerable JS dependencies 2019-09-13 15:28:40 +02:00
Franz Liedke
06eee0929e Add GitHub workflow for JavaScript building 2019-08-20 23:54:25 +02:00
Daniël Klabbers
9c7cbcef36 update constraint 2019-06-24 12:04:24 +02:00
Daniël Klabbers
93a6163f48 changelog for 0.1.0-beta.9, with the correct link 2019-06-24 11:50:45 +02:00
Daniël Klabbers
b39c439c73 changelog for 0.1.0-beta.9 2019-06-24 11:50:21 +02:00
Franz Liedke
876c5d3a10 Add changelog 2019-02-15 00:30:51 +01:00
Daniël Klabbers
bb6ed4a764 revert the fix index names logic, preparing for illuminate 5.7 2019-01-15 21:01:44 +01:00
Toby Zerner
6b705793eb Fix travis builds 2018-12-04 10:16:33 +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
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
flarum-bot
6fb378cf98 Bundled output for commit b04eb88fa5 [skip ci] 2018-11-21 08:22:38 +00:00
Toby Zerner
b04eb88fa5 Make npm package private, update deps, change watch to dev 2018-11-21 18:45:58 +10:30
Toby Zerner
d79f36ceda Remove copyright year from LICENSE 2018-11-21 18:37:21 +10:30
Toby Zerner
23edafc47a Update dependencies 2018-11-17 18:53:38 +10:30
flarum-bot
9a9dc0e5e0 Bundled output for commit a570d41f68 [skip ci] 2018-10-21 04:51:59 +00:00
Toby Zerner
a570d41f68 Rename package 2018-10-21 15:16:21 +10:30
Toby Zerner
a30d89677b Rename package 2018-10-17 13:44:48 +10:30
Toby Zerner
aa386b2878 Add database indices. ref flarum/core#127 (#12) 2018-09-24 23:49:55 +02:00
Toby Zerner
41fd579963 Rename bootstrap.php 2018-09-21 11:47:36 +09:30
flarum-bot
b6715fb21c Bundled output for commit 2b5cf3a021 [skip ci] 2018-09-21 01:04:13 +00:00
Toby Zerner
2b5cf3a021 Update dependencies 2018-09-21 10:25:47 +09:30
flarum-bot
9d0a3d5101 Bundled output for commit c4692d2bcd [skip ci] 2018-09-16 18:52:33 +00:00
Toby Zerner
c4692d2bcd Database changes (#11)
* Update core references

* Update remaining core references
2018-09-16 20:50:31 +02:00
Franz Liedke
6b67263f01 Ensure compatibility with DB table prefix 2018-08-03 01:24:17 +02:00
Franz Liedke
716428882d Use new Frontend extender
See flarum/core#851.
2018-07-23 16:30:22 +02:00
flarum-bot
067df578c9 Bundled output for commit c89b4f79f7 [skip ci] 2018-06-20 05:23:22 +00:00
Toby Zerner
c89b4f79f7 Fix Travis' deploy key 2018-06-20 14:27:18 +09:30
Toby Zerner
d7b0d5c42c Remove progress flag 2018-06-20 13:54:01 +09:30
Toby Zerner
70f2b63bf5 Webpack (#10)
See https://github.com/flarum/core/pull/1367

* Replace gulp with webpack and npm scripts for JS compilation
* Set up Travis CI to commit compiled JS
* Restructure `js` directory; only one instance of npm, forum/admin are "submodules"
* Restructure `less` directory
2018-06-20 13:36:00 +09:30
Ammar Fadhlur Rahman
28e4bfa409 Change fa icon prefix to fas 2018-05-10 15:03:19 +07:00
Toby Zerner
a3755e06f0 Only show sticky excerpt on unread discussions 2018-02-24 16:00:45 +10:30
AFR
d3baf624d1 Adapt to FontAwesome v5.0.6 icon name changes (#8) 2018-02-23 23:47:51 +01:00
Toby Zerner
8b5f1839b6 Recompile JS 2018-02-04 12:54:41 +10:30
Toby Zerner
6138794712 Excerpt added to core 2018-02-04 12:53:52 +10:30
Franz Liedke
4c8bea217b Extender: List all assets explicitly 2018-01-21 21:10:26 +01:00
Franz Liedke
a4c42dcfff Adapt new bootstrap format, use Asset extender 2018-01-16 23:19:29 +01:00
Miles Cellar
b5460b6b59 Update license year range to 2018 2018-01-15 19:38:45 +01:00
Toby Zerner
cf0ae80691 Remove use of event priorities
Event priorities are no longer in Laravel - see dbbfc62bef
2018-01-11 14:22:43 +10:30
Toby Zerner
8bfaff339e Only pin to top if viewing a tag with no other filters 2018-01-11 12:28:35 +10:30
Toby Zerner
b58f97fd5e Require beta 8 2018-01-11 12:26:49 +10:30
Toby Zerner
57c730af29 Merge branch 'master' into next-back
# Conflicts:
#	src/Listener/PinStickiedDiscussionsToTop.php
2017-12-26 20:38:55 +10:30
Toby Zerner
20f6a256d5 Only touch orders property if we're going to add to it 2017-11-13 13:18:36 +10:30
Toby Zerner
c7d7b2d360 Fix subsequent pages of results not working properly 2017-11-13 09:17:55 +10:30
Toby Zerner
0ce00c6d16 Performance: Refactor SQL that pins unread sticky posts to the top
Ordering by `is_sticky and (unread subquery) desc` removes MySQL's
ability to use an index for ordering by `last_time`, which triggers a
filesort across the whole discussions table which is BAD.

This commit uses a union to add all stickied discussions to the query.
The results of the unioned queries are then ordered by the `is_sticky
and (unread subquery)` criteria, so the filesort only takes place on
a maximum of limit * 2 rows. Big performance win when you get up to
thousands of discussions!
2017-11-12 21:28:17 +10:30
Toby Zerner
7ff57e1ba4 Refactor sticky order clause into a subquery
Based on some limited testing, using a subquery seems to outperform a
join in this case (the join was invoking a temporary table, which is
always a bad sign).

This also adds logic to fix a bug where sticky discussions would remain
at the top even when marked as read using the "mark all as read" button.
I thought we had an open issue for this somewhere, but I can't seem to
find one. ref #988 #1003
2017-11-08 11:34:37 +10:30
Franz Liedke
b28f116b06 Fix class names 2017-10-03 19:45:54 +02:00
Franz Liedke
a8c43097d7 Update namespaces for beta 8
Refs flarum/core#1235.
2017-10-01 19:55:07 +02:00
Toby Zerner
86cc5fe9c8 Remove unused imports 2017-09-29 12:35:59 +09:30
Toby Zerner
5a9711fac9 Require b7 for new migration helper 2017-07-22 12:17:30 +09:30
Toby Zerner
9fb03d3549 Add default permissions 2017-07-22 12:09:36 +09:30
VSN Reddy Janga
b7f2469523 Hide diff for compiled diff files 2017-02-20 19:28:13 +05:30
Miles Cellar
c1d7a2db51 Update year 2017-01-01 22:46:59 +01:00
Toby Zerner
7564533d1d Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:29:44 +00:00
Toby Zerner
0653d74f0d Recompile JS 2016-11-19 22:09:38 +10:30
Toby Zerner
0802a9f139 Update StyleCI rules 2016-11-16 15:46:23 +10:30
Toby Zerner
6cb446837d v0.1.0-beta.6 2016-10-19 21:13:40 +10:30
Toby Zerner
dce149b536 Use new event name 2016-06-03 11:02:34 +09:30
Toby Zerner
5c6089b4df Recompile dist JS using latest version of babel 2016-06-03 11:02:28 +09:30
Toby Zerner
71db5f23e9 Require core v0.1.0-beta.5 2016-03-29 18:48:57 +10:30
Toby Zerner
fe90e5d6a5 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:33:31 +10:30
Toby Zerner
ad80f1bc1e Clean up linting stuff 2016-03-10 17:22:05 +10:30
Franz Liedke
da664d1624 Use new shortcuts for migrations 2016-03-04 01:12:30 +09:00
Toby Zerner
3b6fc53f91 Update MergeableInterface method arguments 2016-02-29 18:54:25 +10:30
Toby Zerner
b59268b856 Applied fixes from StyleCI 2016-02-25 22:56:55 -05:00
Toby Zerner
648cad1a38 Add StyleCI config 2016-02-26 14:02:50 +10:30
Franz Liedke
ead84c29c5 Use new migration format 2016-02-24 23:13:39 +09:00
Maël Soucaze
a82d256366 Update license year range to 2016 2016-01-25 16:54:00 +01:00
Toby Zerner
1fdcf58014 Add Composer branch-alias
This allows installations to require version 0.1.0 with minimum-stability=dev, and they will get the latest from master.

See flarum/core#727
2016-01-19 17:18:10 +10:30
Toby Zerner
85c71af3a5 Rename package 2015-12-29 12:55:46 +10:30
Toby Zerner
a6a9e87873 Release 0.1.0-beta.3 2015-11-03 10:03:45 +10:30
Toby Zerner
395b45156b Translations are now automatically included 2015-11-02 18:52:52 +10:30
Toby Zerner
36b81b55bb Recompile JS 2015-10-27 12:40:16 +10:30
Toby Zerner
f7e815f6e6 Recompile JS 2015-10-27 12:17:08 +10:30
Toby Zerner
50e838e990 Remove unused notification component 2015-10-22 11:14:11 +10:30
dcsjapan
160f092810 Reorganize key names
See [flarum/core #265](https://github.com/flarum/core/issues/265).

- Adjusts key names to three-tier namespacing.
- Extracts previously unextracted strings.
2015-10-22 09:21:00 +09:00
Toby Zerner
45e3e0fbff Change app.trans calls to app.translator.trans calls 2015-10-21 10:29:31 +10:30
Toby Zerner
d11d9d144a Update metadata 2015-10-12 15:01:20 +10:30
Toby Zerner
030e0c9938 Update API, add default translations 2015-10-11 22:24:12 +10:30