Commit Graph

167 Commits

Author SHA1 Message Date
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
Toby Zerner
4d9b0e9d57 Clean up linting stuff 2016-03-10 17:22:35 +10:30
Franz Liedke
af76eff949 Use new shortcuts for migrations 2016-03-04 01:11:39 +09:00
Toby Zerner
3e01c2fee9 Applied fixes from StyleCI 2016-02-25 22:51:14 -05:00
Toby Zerner
048bc884ff Add StyleCI config 2016-02-26 14:02:14 +10:30
Franz Liedke
5102a0d97b Use new migration format 2016-02-24 23:12:49 +09:00
Maël Soucaze
6049c66ed5 Update license year range to 2016 2016-01-25 16:52:32 +01:00
Toby Zerner
3b9b31db12 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:44 +10:30
Toby Zerner
b2d4909068 Rename package 2015-12-29 12:55:22 +10:30
Toby Zerner
879ce7e4dd Release 0.1.0-beta.3 2015-11-03 10:03:14 +10:30
Toby Zerner
8f9f904deb Translations are now automatically included 2015-11-02 18:52:23 +10:30
Toby Zerner
3695d7d8c7 Update API relationship listener 2015-10-30 11:06:57 +10:30
Toby Zerner
9732e1d6a1 Recompile JS 2015-10-27 12:39:51 +10:30
Toby Zerner
6ac115edf5 Recompile JS 2015-10-27 12:16:37 +10:30
Toby Zerner
553414e672 i18n: Pluralise notification text 2015-10-24 13:15:18 +10:30
dcsjapan
5836f1062f 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-23 11:29:32 +09:00
Franz Liedke
8ae21a630d Prevent "and 1 others" in list of likes
Refs flarum/core#546.
2015-10-22 10:38:28 +02:00
Franz Liedke
c41ff409cd Recompile JavaScript 2015-10-22 10:20:01 +02:00
Toby Zerner
3380495222 Change app.trans calls to app.translator.trans calls 2015-10-21 10:28:41 +10:30
Toby Zerner
fed89e0de1 Update plural translations 2015-10-16 12:41:48 +10:30
Toby Zerner
d70bbbe18d Update translation ID 2015-10-16 12:35:35 +10:30
Toby Zerner
4b37f46201 Update metadata 2015-10-12 15:00:44 +10:30
Toby Zerner
972116f5bb Import admin translations 2015-10-11 22:24:33 +10:30
Toby Zerner
eee3f9ca92 Update for composer branch 2015-10-11 15:30:19 +10:30
Toby Zerner
8f6000111e Add permission icon 2015-09-22 18:08:49 +09:30
Toby Zerner
94371f845e Add gitattributes 2015-09-17 09:10:10 +09:30
Toby Zerner
1f8ccc8674 Namespace migrations 2015-09-17 09:10:05 +09:30
Toby Zerner
f3bbcffc28 Change button class for new post controls location 2015-09-08 10:30:22 +09:30
Toby Zerner
f8b96c6ca9 Prevent MassAssignmentException 2015-09-06 10:57:17 +09:30
Toby Zerner
f02d0ec602 Add LICENSE information 2015-09-04 12:32:27 +09:30
Toby Zerner
fc43fd8fb4 Allow members to like posts by default and add setting
closes flarum/core#344
2015-09-04 12:06:37 +09:30
Toby Zerner
d42ae22d59 Update flarum.json 2015-09-04 11:48:14 +09:30
Toby Zerner
ff7af13984 Add phpcs, Travis, clean up editorconfig and eslint 2015-09-04 11:36:43 +09:30
Toby Zerner
68400e8031 No need to truncate 2015-08-21 10:04:08 +09:30
Toby Zerner
d8507f599d Implement notification excerpts 2015-08-21 09:55:08 +09:30
Toby Zerner
21ad0d8203 Update migrations 2015-08-14 12:55:06 +09:30
Toby Zerner
e1bcb083be Use new listen API 2015-08-13 12:49:19 +09:30
Toby Zerner
16cfc2f268 Add icon 2015-08-13 12:49:17 +09:30
Toby Zerner
4a9f8e0f23 Don't allow re-liking or re-unliking 2015-08-05 16:08:28 +09:30
Toby Zerner
d27f0403d8 Make sure no likes are left behind 2015-07-27 20:02:26 +09:30
Toby Zerner
894246806f Update gulp module configuration 2015-07-27 14:19:21 +09:30
Toby Zerner
05cfb6af62 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:13 +09:30
Toby Zerner
d7ac8aac2e API includes are now required to be included by default 2015-07-23 14:27:54 +09:30
Toby Zerner
420088acc9 Add missing translation 2015-07-23 14:27:24 +09:30
Toby Zerner
9c384bee98 Update for new extension API; implement l10n 2015-07-22 10:15:08 +09:30
Toby Zerner
fb9ed378e0 Add notification preference 2015-06-25 09:57:54 +09:30
Toby Zerner
c3cf1045b1 Add icon, move before replies 2015-06-24 11:46:58 +09:30
Toby Zerner
6596fb4734 Fix migration 2015-06-23 11:01:25 +09:30
Toby Zerner
e57eb5a14f Initial commit 2015-06-23 10:25:24 +09:30