Commit Graph

198 Commits

Author SHA1 Message Date
David Wheatley
03f7452efc Update copyright year 2021-05-15 00:55:34 +01:00
flarum-bot
d7698f04a4 Bundled output for commit 6c27c08672
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:02:48 +00:00
Alexander Skvortsov
6c27c08672 Update for ICU MessageFormat 2021-05-12 19:24:06 -04:00
Glowing Blue
93d373f066 Added created_at to post_likes table (#28) 2021-05-11 15:23:35 -04:00
Daniel Klabbers
a805c333e7 Release v0.1.0-beta.16 2021-03-15 11:49:08 +01:00
Charlie
32708281b2 Change Category (#26) 2021-03-08 14:24:49 -05:00
Robert Korulczyk
5606fcc06b Move locale files from language pack to extension. (#23) 2021-02-17 16:26:14 -05:00
Daniël Klabbers
211f36df35 changelog and constraint for beta 15 2020-12-14 23:19:25 +01:00
Daniël Klabbers
51f0d7e25d npm audit fix 2020-12-14 23:15:29 +01:00
Alexander Skvortsov
a6cae387d7 Make listener methods static
This is needed since we're listening to the individual methods of the class, as opposed to registering the class as a subscriber.
2020-12-10 23:35:42 -05:00
Alexander Skvortsov
d2284d9de1 Update composer metadata for admin dashboard 2020-12-08 19:56:32 -05:00
Alexander Skvortsov
dc56e18739 Apply fixes from StyleCI 2020-12-08 16:12:11 +00:00
Alexander Skvortsov
a9e729401b Convert subscriber to listener, eliminating compat-style extender 2020-12-08 11:11:54 -05:00
Sami Mazouz
99e73a38a9 Use new extenders (#25) 2020-12-08 10:59:03 -05:00
flarum-bot
78288cfbae Bundled output for commit d30eadd4a9 [skip ci] 2020-11-25 06:17:27 +00:00
Alexander Skvortsov
d30eadd4a9 Add composer metadata for admin ux redesign 2020-11-25 01:16:14 -05:00
Alexander Skvortsov
418829d689 Admin js changes for admin UX redesign 2020-11-25 01:15:37 -05:00
Sami Mazouz
fba1aea032 Use the new Notification type extender (#24) 2020-10-31 18:42:13 -04:00
Daniël Klabbers
d510519936 changelog and dep for v0.1.0-beta.14 2020-10-15 14:01:20 +02:00
Daniël Klabbers
e50c375c73 npm audit security vulnerabilities patched 2020-10-14 09:57:21 +02:00
flarum-bot
e9492a2900 Bundled output for commit 99b4f707be [skip ci] 2020-10-03 00:18:29 +00:00
Alexander Skvortsov
99b4f707be Use Link component instead of route patch 2020-10-02 20:17:15 -04:00
flarum-bot
679075407f Bundled output for commit 080f553a08 [skip ci] 2020-09-24 02:49:58 +00:00
Alexander Skvortsov
080f553a08 Mithril 2 Update (#22)
Update for Mithril 2
2020-09-23 22:49:05 -04:00
dependabot[bot]
b663d9b199 Bump elliptic from 6.5.2 to 6.5.3 in /js (#21)
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:11 +02:00
Matt Kilgore
e8490bd991 Removes AssertPermissionTrait (#20)
* Removes AssertPermissionTrait

* Fix my dumb mistake
2020-07-20 07:58:22 +02:00
dependabot[bot]
27925133d6 Bump lodash from 4.17.15 to 4.17.19 in /js (#19)
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:38 +02:00
flarum-bot
ab60b51476 Bundled output for commit 6a96d0244a [skip ci] 2020-07-02 00:02:26 +00:00
Alexander Skvortsov
6a96d0244a Fix extension to work with latest state changes 2020-07-01 20:01:32 -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
Franz Liedke
afc746703b Release v0.1.0-beta.13 2020-05-01 10:42:55 +02:00
Franz Liedke
fca62108ae Update Webpack 2020-05-01 10:30:43 +02:00
Franz Liedke
8c90c1d2da Use new Model extender 2020-04-24 15:55:35 +02:00
Franz Liedke
e308a7ae60 npm audit fix 2020-04-24 14:30:28 +02:00
dependabot[bot]
eadb603853 Bump acorn from 6.4.0 to 6.4.1 in /js (#18)
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:26:18 +01:00
Daniël Klabbers
7afae64629 remove author, updated deps 2020-03-03 13:59:55 +01:00
Daniël Klabbers
7d5a1b2db6 changelog for beta 12 2020-03-03 13:59:36 +01:00
the-turk
08bcdbd8da notification fix 2020-02-26 20:13:12 +03:00
flarum-bot
ce79f60b4b Bundled output for commit 2a27ba15ec [skip ci] 2020-02-11 20:45:05 +00:00
Franz Liedke
2a27ba15ec Update Webpack 2020-02-11 21:43:52 +01:00
Franz Liedke
af13438c76 Apply fixes from StyleCI 2019-11-29 23:02:05 +00:00
Franz Liedke
ba4e4e6b6d Update copyright claims in LICENSE 2019-11-30 00:01:01 +01:00
Franz Liedke
090b8fbd63 Update vulnerable JS dependencies 2019-09-13 15:34:23 +02:00
Franz Liedke
6fc6e7d9f4 Add GitHub workflow for JavaScript building 2019-08-20 23:54:23 +02:00
Daniël Klabbers
79e1f7c051 changelog and constraint for beta 8.1 2019-06-24 12:07:38 +02:00
Franz Liedke
d6604dfa74 Update changelog 2019-02-15 00:30:03 +01:00
Franz Liedke
d515b16303 Depend on Laravel 5.7 for correct index names 2019-02-03 20:51:23 +01:00
Franz Liedke
c0f08ff907 Get rid of event subscribers that resolve services too early
Refs flarum/core#1578.
2018-12-15 16:58:00 +01:00
Toby Zerner
6ac090c0cb Add changelog 2018-12-07 09:12:50 +10:30
flarum-bot
bea2bc2869 Bundled output for commit ab30e484c1 [skip ci] 2018-12-03 23:51:00 +00:00
Toby Zerner
ab30e484c1 Fix travis builds 2018-12-04 10:16:33 +10:30
Toby Zerner
bdda467ae1 Prevent crash if likes relationship hasn't been loaded
This could theoretically happen if a post is loaded in some other context
(without its likes relationship) and overwrites the full version in the
store. While this should ideally never happen, it's better to fail
gracefully if it does.

Fixes flarum/core#1665
2018-12-04 09:23:11 +10:30
Toby Zerner
72ba762fed Truncate notification excerpts 2018-12-03 09:37:14 +10:30
Franz Liedke
732432d00b Migrations: Fix dropping foreign keys
Passing an array to dropForeign does not mean dropping multiple indices,
but rather dropping a key on multiple tables.

Passing a string means that this string will be interpreted as index
name, not as name of the indexed column. Passing an array with one
string is therefore correct, in order to benefit from automatic index
name generation.
2018-11-30 14:04:26 +01:00
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
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
flarum-bot
3565f6b8a4 Bundled output for commit 1cce9b251a [skip ci] 2018-11-21 08:21:06 +00:00
Toby Zerner
1cce9b251a Make npm package private, update deps, change watch to dev 2018-11-21 18:45:10 +10:30
Toby Zerner
ef3b7c03f1 Remove copyright year from LICENSE 2018-11-21 18:37:20 +10:30
Toby Zerner
9ed1b6ee32 Update dependencies 2018-11-17 18:53:38 +10:30
flarum-bot
11a57c5892 Bundled output for commit 25ae502f2f [skip ci] 2018-10-21 04:50:32 +00:00
Toby Zerner
25ae502f2f Rename package 2018-10-21 15:16:21 +10:30
Toby Zerner
94ea0fbb6d Rename package 2018-10-17 13:44:47 +10:30
Toby Zerner
8ebe83d006 Rename bootstrap.php 2018-09-21 11:46:37 +09:30
flarum-bot
58612392fd Bundled output for commit e038aebfa0 [skip ci] 2018-09-21 01:58:54 +00:00
Toby Zerner
e038aebfa0 Remove notification pluralization logic
Since we don't return an "unread count" in the API, this pluralization
logic is useless at the moment. Related to #643 and #716 but really
needs further thought in #868.
2018-09-21 11:27:45 +09:30
flarum-bot
2539f4aec7 Bundled output for commit 9caf5108c3 [skip ci] 2018-09-21 01:02:34 +00:00
Toby Zerner
9caf5108c3 Update dependencies 2018-09-21 10:25:47 +09:30
flarum-bot
482303a820 Bundled output for commit 74fac8c206 [skip ci] 2018-09-16 18:51:31 +00:00
Toby Zerner
74fac8c206 Database changes (#16)
* Add foreign keys

* Rename table

* Use whereColumn

* Update core attribute names
2018-09-16 20:49:51 +02:00
Franz Liedke
7526b70cf5 Use new Frontend extender
See flarum/core#851.
2018-07-23 16:28:46 +02:00
flarum-bot
1132bf653c Bundled output for commit 5e28acaf8b [skip ci] 2018-06-20 05:26:47 +00:00
Toby Zerner
5e28acaf8b Fix Travis' deploy key 2018-06-20 14:31:52 +09:30
Toby Zerner
3a4fa7754a Remove progress flag 2018-06-20 13:54:01 +09:30
Toby Zerner
8efb08dcfa Webpack (#15)
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:35:14 +09:30
AFR
f25cf83e9b Adapt to FontAwesome v5.0.6 icon name changes (#14) 2018-02-23 23:47:15 +01:00
Franz Liedke
8cbceb8d96 Extender: List all assets explicitly 2018-01-21 21:09:27 +01:00
Franz Liedke
88826fa9ae Adapt new bootstrap format, use Asset extender 2018-01-16 23:18:30 +01:00
Miles Cellar
69664a94be Update license year range to 2018 2018-01-15 19:35:18 +01:00
Toby Zerner
6a0de0828d Require beta 8 2018-01-11 12:25:23 +10:30
Toby Zerner
f38103e077 Fix likes relationship method arguments
As per https://laravel.com/docs/5.5/upgrade (under "Eloquent")
2017-12-26 20:09:44 +10:30
Toby Zerner
1c7855b646 Merge branch 'master' into next-back
# Conflicts:
#	src/Listener/SendNotificationWhenPostIsLiked.php
2017-12-26 19:59:27 +10:30
Franz Liedke
2ba7554b5c Fix some namespaces 2017-10-03 16:29:42 +02:00
Toby Zerner
4a7d5ba788 Fix notifications not including post content
closes flarum/core#1248
2017-09-24 18:01:56 +09:30
Charlie
f17f789878 Update for beta 8 (#12)
* Update for beta 8

* Make StyleCI happy
2017-09-01 16:37:48 +09:30
Toby Zerner
a7f53dbe63 Require b7 for new migration helper 2017-07-22 12:19:55 +09:30
Toby Zerner
1f258c362a Use new migration helper 2017-07-22 12:19:29 +09:30
VSN Reddy Janga
c621c4cf20 Hide diff for compiled diff files 2017-02-20 19:31:23 +05:30
Miles Cellar
9b92c66d19 Update year 2017-01-01 22:43:17 +01:00
Toby Zerner
d1872217ff Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:29:40 +00:00
Toby Zerner
9515c66447 Recompile JS 2016-11-19 22:08:34 +10:30
Toby Zerner
0cd623be60 Update StyleCI rules 2016-11-16 15:46:15 +10:30
Toby Zerner
a73340fbaa v0.1.0-beta.6 2016-10-19 21:13:14 +10:30
Toby Zerner
55f7fa8fdb Use new event name 2016-06-03 11:01:45 +09:30
Toby Zerner
f4e4f10624 Recompile dist JS using latest version of babel 2016-06-03 11:01:39 +09:30
Toby Zerner
eb571098cc Require core v0.1.0-beta.5 2016-03-29 18:46:33 +10:30
Franz Liedke
27d1036b90 Make StyleCI happy 2016-03-23 19:52:29 +09:00
Franz Liedke
95ea40a7c4 Do not use model classes in the migrations
The model classes encapsulate knowledge about the database that
may change. That knowledge may be table names, or the value of
constants (such as `Group::MEMBER_ID` in this case).

Models may even disappear after a while due to refactorings.

In all these cases, this migration would break. Thus, we use
Laravel's query builder features which makes building queries
almost as easy as using the model - but correct in all cases. :-)
2016-03-20 22:40:42 +09:00
Toby Zerner
10e929f2dc Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:32:57 +10:30