Commit Graph

201 Commits

Author SHA1 Message Date
Robert Korulczyk
5f5cb9318d Move locale files from language pack to extension. (#34) 2021-02-17 16:25:03 -05:00
flarum-bot
293b2e31cf Bundled output for commit b222856744 [skip ci] 2021-01-07 15:25:43 +00:00
Alexander Skvortsov
b222856744 Add an onFollowing param to GlobalSearchState (#38)
Add an `onFollowing` param to GlobalSearchState

This ensures that it will be taken into account by IndexPage's `refreshParams` call, preventing the following page from being shown if the user:

1. goes to following
2. goes to any other page not inheriting IndexPage
3. goes to 'all discussions'

Ref https://github.com/flarum/core/issues/2516 for a full explanation.
2021-01-07 10:24:41 -05:00
Daniël Klabbers
1b69d455d1 changelog and constraint for beta 15 2020-12-15 09:30:15 +01:00
Daniël Klabbers
a30a5aefce npm audit fix 2020-12-15 09:29:29 +01:00
Alexander Skvortsov
03fc9d2119 Update composer metadata for admin dashboard 2020-12-08 19:58:17 -05:00
Alexander Skvortsov
9614c9d5c1 Use User extender for preference registration, move search modifications back into callback style extender 2020-12-08 12:43:59 -05:00
Sami Mazouz
2ef3bf411f Use new extenders (#36) 2020-12-08 12:37:40 -05:00
Alexander Skvortsov
032ad4aadc Add composer metadata for admin ux redesign 2020-11-25 01:34:01 -05:00
Sami Mazouz
249626c68d Use the new Notification type extender (#35) 2020-10-31 18:42:30 -04:00
Daniël Klabbers
9164eafd42 changelog and dep for v0.1.0-beta.14 2020-10-15 16:04:46 +02:00
Daniël Klabbers
db88a12cde npm audit security vulnerabilities patched 2020-10-14 10:02:07 +02:00
Alexander Skvortsov
063b853305 Translate notification emails (#30) 2020-09-30 15:51:00 -04:00
flarum-bot
eebefa196e Bundled output for commit 6bdbee70db [skip ci] 2020-09-24 02:57:42 +00:00
Alexander Skvortsov
6bdbee70db Mithril 2 Update (#32)
Update for Mithril 2
2020-09-23 22:56:47 -04:00
dependabot[bot]
73579883f6 Bump elliptic from 6.5.2 to 6.5.3 in /js (#31)
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:08:57 +02:00
Alexander Skvortsov
39bf9af538 Don't typehint the view factory in the closure in extend.php
This causes the view factory to resolve early, breaking all future extensions that use the view extender
2020-07-27 19:31:13 -04:00
Matt Kilgore
1fe034460b Removes AssertPermissionTrait (#29)
* Removes AssertPermissionTrait

* Apply fixes from StyleCI

* Fix my dumb mistake

Co-authored-by: luceos <daniel+github@klabbers.email>
2020-07-19 17:37:05 -04:00
Franz Liedke
2648ee2031 Use new View extender
Refs flarum/core#2134.
2020-07-17 12:11:25 +02:00
dependabot[bot]
db11257494 Bump lodash from 4.17.15 to 4.17.19 in /js (#28)
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:47:35 +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
52b832c520 Bundled output for commit 04ee85f266 [skip ci] 2020-06-26 14:07:34 +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
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
flarum-bot
c5deb89fee Bundled output for commit a67e90adf4 [skip ci] 2020-06-03 10:47:58 +00:00
Alexander Skvortsov
a67e90adf4 Added meta title to following page (#23)
Refs flarum/core#495.
2020-06-03 12:46:05 +02:00
Hasan Özbey
72bb3ef5be fix button colors for dark mode (#26) 2020-05-27 12:51:55 -04:00
Daniël Klabbers
df32bae2b6 Release v0.1.0-beta.13 2020-05-04 10:44:10 +02:00
Franz Liedke
466a62231c Update Webpack 2020-05-01 11:56:02 +02:00
Franz Liedke
cadb279bf1 npm audit fix 2020-04-24 14:30:31 +02:00
luceos
fa8e5afbbd Apply fixes from StyleCI 2020-04-01 13:00:45 +00:00
datitisev
87437d1bdc Apply fixes from StyleCI 2020-04-01 15:00:28 +02:00
David Sevilla Martin
9f3d6a9a1f Queue 'new post' notification
Fixes flarum/core#1869
2020-04-01 15:00:28 +02:00
dependabot[bot]
82978c57ce Bump acorn from 6.4.0 to 6.4.1 in /js (#24)
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:25:50 +01:00
Daniël Klabbers
b7ac4796d3 remove author, updated deps 2020-03-03 14:49:56 +01:00
Daniël Klabbers
2ee8093099 changelog for b12 2020-03-03 14:49:39 +01:00
flarum-bot
607cea212f Bundled output for commit bf31808119 [skip ci] 2020-02-11 20:44:56 +00:00
Franz Liedke
bf31808119 Update Webpack 2020-02-11 21:44:11 +01:00
Tariq Hussein
b92e5a214f Replaced whereExists/whereNotExists with whereIn/whereNotIn (#22) 2020-01-08 22:02:28 +01:00
Franz Liedke
907cc2fbe7 Apply fixes from StyleCI 2019-11-29 23:02:31 +00:00
Franz Liedke
405a2fe965 Update copyright claims in LICENSE 2019-11-30 00:01:03 +01:00
Franz Liedke
ab198e5898 Update vulnerable JS dependencies 2019-09-13 15:35:13 +02:00
Franz Liedke
2b51bdf66e Add GitHub workflow for JavaScript building 2019-08-20 23:54:26 +02:00
Daniël Klabbers
72ca5e9978 update constraint 2019-06-24 12:04:17 +02:00
Daniël Klabbers
7402c46b6f changelog for 0.1.0-beta.9 2019-06-24 11:46:55 +02:00
Franz Liedke
34553bb823 Add changelog 2019-02-15 00:30:51 +01:00
flarum-bot
1342fb5c3a Bundled output for commit c28aaf8ddd [skip ci] 2019-02-13 19:09:54 +00:00
Franz Liedke
c28aaf8ddd Update JS dependencies to fix vulnerable packages 2019-02-13 20:08:15 +01:00
Franz Liedke
dfadc8f5fc Get rid of event subscribers that resolve services too early
Refs flarum/core#1578.
2018-12-16 15:00:02 +01:00
Franz Liedke
ef11e87119 Rely on TextFormatter to unparse the post content
Fixes flarum/core#920.
2018-12-11 22:28:26 +01:00
Toby Zerner
85ea9851d4 Fix travis builds 2018-12-04 10:16:33 +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
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
flarum-bot
9d2e4e8ed6 Bundled output for commit 7ccfc409de [skip ci] 2018-11-21 08:23:50 +00:00
Toby Zerner
7ccfc409de Make npm package private, update deps, change watch to dev 2018-11-21 18:46:05 +10:30
Toby Zerner
276d819320 Remove copyright year from LICENSE 2018-11-21 18:37:21 +10:30
flarum-bot
577ee0d45a Bundled output for commit bb5704148e [skip ci] 2018-11-17 08:28:16 +00:00
Toby Zerner
bb5704148e Update dependencies 2018-11-17 18:53:38 +10:30
Toby Zerner
d818c1680d Rename package 2018-10-21 15:16:21 +10:30
Toby Zerner
5e57c8c042 Rename package 2018-10-17 13:44:48 +10:30
Toby Zerner
6c45f6c6f3 Rename bootstrap.php 2018-09-21 11:47:48 +09:30
flarum-bot
d21f4c9a44 Bundled output for commit 5ce9bc28fc [skip ci] 2018-09-21 01:04:27 +00:00
Toby Zerner
5ce9bc28fc Update dependencies 2018-09-21 10:25:47 +09:30
flarum-bot
19ecefba68 Bundled output for commit 3e09c2bf33 [skip ci] 2018-09-16 18:53:46 +00:00
Toby Zerner
3e09c2bf33 Database changes (#18)
* Update core references

* Update core attribute names
2018-09-16 20:50:44 +02:00
Franz Liedke
63ff4b7fc7 Apply fixes from StyleCI 2018-07-23 14:33:49 +00:00
Franz Liedke
2dd2847230 Ensure compatibility with DB table prefix 2018-07-23 16:33:30 +02:00
Franz Liedke
a867ab4ea3 Use new Frontend extender
See flarum/core#851.
2018-07-23 16:31:08 +02:00
flarum-bot
06f22972a7 Bundled output for commit 26938d774e [skip ci] 2018-06-20 05:24:50 +00:00
Toby Zerner
26938d774e Fix Travis' deploy key 2018-06-20 14:19:22 +09:30
Toby Zerner
5357668a8a Remove progress flag 2018-06-20 13:54:01 +09:30
Toby Zerner
078eec06d2 Webpack (#17)
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:12 +09:30
Ammar Fadhlur Rahman
6d3c084a5f Change fa icon prefix to fas 2018-05-10 15:04:42 +07:00
AFR
3caa5e52e6 Adapt to FontAwesome v5.0.6 icon name changes (#15) 2018-02-23 23:47:36 +01:00
Franz Liedke
4daec37f78 Use Routes extender 2018-02-08 18:30:00 +01:00
Franz Liedke
99c172b2b4 Extender: List all assets explicitly 2018-01-21 21:10:41 +01:00
Franz Liedke
5cb1fc4627 Adapt new bootstrap format, use Asset extender 2018-01-16 23:24:34 +01:00
Miles Cellar
4643d92d27 Update license year range to 2018 2018-01-15 19:38:10 +01:00
Toby Zerner
c7aeef19ea Remove use of event priorities
Event priorities are no longer in Laravel - see dbbfc62bef

Now we can't force this event listener to be run before the discussion
metadata is updated; instead we just subtract one off of the new
last post number.
2018-01-11 14:06:43 +10:30
Toby Zerner
14bc69d6bd Use *Raw methods instead of Expression 2018-01-11 12:29:33 +10:30
Toby Zerner
d55945cefa Require beta 8 2018-01-11 12:28:46 +10:30
Toby Zerner
b5809d1b7f Merge branch 'master' into next-back 2017-12-27 07:06:09 +10:30
Toby Zerner
a95a89cb58 Don't sanitize values in plain-text emails 2017-11-05 15:29:29 +10:30
Franz Liedke
96f073c45f Fix class names 2017-10-03 19:45:42 +02:00
Franz Liedke
1ad71264c3 Fix a namespace 2017-10-03 19:15:16 +02:00
Franz Liedke
e2c97286e1 Update namespaces for beta 8
Refs flarum/core#1235.
2017-10-01 19:54:13 +02:00
Toby Zerner
86480a0d1a Update for display names 2017-09-20 16:44:03 +09:30
Toby Zerner
c134843633 Actually no npm lockfile, at least for now
Since I tend to do `npm link gulp flarum-gulp` so I'm not sure if the lockfile is valid?
2017-07-08 21:48:19 +09:30
Toby Zerner
a5d79ea287 Update dependencies 2017-07-08 21:41:36 +09:30
VSN Reddy Janga
ec5257dd9a Hide diff for compiled diff files 2017-02-20 19:32:25 +05:30
Miles Cellar
8ee46265e6 Update year 2017-01-01 22:47:19 +01:00
Toby Zerner
d136f4fae2 Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:29:46 +00:00
Toby Zerner
628c35c404 Recompile JS 2016-11-19 22:09:52 +10:30
Toby Zerner
b0c46a13e8 Update StyleCI rules 2016-11-16 15:46:24 +10:30
Toby Zerner
038b567fdf v0.1.0-beta.6 2016-10-19 21:13:45 +10:30
dcsjapan
45832485d1 Adjust ID key name
- Adjusts the key for the "Follow after reply" setting.
2016-06-04 18:22:39 +09:00
Toby Zerner
2c10a42d6b Use new event name 2016-06-03 11:02:48 +09:30
Toby Zerner
e16b960242 Recompile dist JS using latest version of babel 2016-06-03 11:02:43 +09:30