Commit Graph

355 Commits

Author SHA1 Message Date
Franz Liedke
ec3db146fc Use new shortcuts for migrations 2016-03-04 01:12:03 +09:00
Toby Zerner
47ec802166 Applied fixes from StyleCI 2016-02-25 22:56:19 -05:00
Toby Zerner
331a48be66 Add StyleCI config 2016-02-26 14:02:36 +10:30
Franz Liedke
f270a609cb Use new migration format 2016-02-24 23:13:28 +09:00
Franz Liedke
b656f6f54c Recompile JS 2016-02-23 10:15:43 +09:00
Franz Liedke
d97ad5f32c Use variable instead of closure 2016-02-23 10:11:43 +09:00
Daniel Klabbers
da59430cb7 fixes flarum/core#781 adding unnecessary newlines with empty composer
fixing indentation
2016-02-22 22:22:51 +01:00
Franz Liedke
ab920bab05 Fix typo 2016-02-10 15:20:52 +01:00
Sajjad Hasehmian
b4d7c18eb9 Add Mentions section to user profile (fixes flarum/core#319) 2016-02-04 01:04:08 +03:30
Maël Soucaze
7bd1f7319d Update license year range to 2016 2016-01-25 16:48:30 +01:00
Franz Liedke
5fa9d58062 #317: Better reply insertion intelligence 2016-01-20 20:18:55 +01:00
Toby Zerner
48c398df98 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:23 +10:30
Toby Zerner
a5a7cfee9d Commit latest dist files
See https://github.com/flarum/core/issues/727#issuecomment-172384020
2016-01-19 16:52:55 +10:30
Toby Zerner
37ff7fdf1d Use URL generator for mention href 2015-12-30 15:28:22 +10:30
Toby Zerner
9af74f89d7 Rename package 2015-12-29 12:55:37 +10:30
Toby Zerner
4cb764e603 Don't directly change TextEditor styles 2015-11-21 13:11:22 +10:30
Toby Zerner
4bae199bdb Release 0.1.0-beta.3 2015-11-03 10:03:33 +10:30
Toby Zerner
5ffac115ad Translations are now automatically included 2015-11-02 18:52:41 +10:30
Toby Zerner
25e8c53af3 Temporary fix for email URLs 2015-11-01 17:13:48 +10:30
Toby Zerner
7b3cd8b1c1 Fix user mentioned notification registration 2015-10-31 18:18:44 +10:30
Toby Zerner
76b676d489 Update API relationship listener 2015-10-30 11:07:03 +10:30
Toby Zerner
56d4fb1c73 Recompile JS 2015-10-27 12:16:54 +10:30
Toby Zerner
3d7fcaa2b2 Truncate list of replies, pluralize notification text
ref flarum/core#597
2015-10-24 13:14:57 +10:30
dcsjapan
792afbb476 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.
- Changes an instance of `punctuate` to `punctuateSeries`.
- Modifies the syntax of **addMentionedByLIst.js** slightly.
2015-10-23 14:41:31 +09:00
Franz Liedke
c61f49efbc Recompile JavaScript 2015-10-22 10:52:07 +02:00
Toby Zerner
3dd2260b0f Change app.trans calls to app.translator.trans calls 2015-10-21 10:29:17 +10:30
Toby Zerner
49ed9c7dde Fix error when replying to a post by a deleted user 2015-10-19 16:18:26 +10:30
Toby Zerner
4d5a291d76 Initialise component state in init() instead of constructor 2015-10-13 16:58:51 +10:30
Toby Zerner
b00467ecd7 Update metadata 2015-10-12 15:01:11 +10:30
Toby Zerner
83f5981f83 Update compile script 2015-10-11 15:28:35 +10:30
Toby Zerner
ccda85cc29 Update for composer branch 2015-10-11 13:02:57 +10:30
Toby Zerner
36607a92cc Add gitattributes 2015-09-17 09:09:41 +09:30
Toby Zerner
354da3c5c9 Namespace migrations 2015-09-17 09:09:37 +09:30
Toby Zerner
7ab1eb4f64 Move post previews outside of .Post-body so they don't get clipped 2015-09-16 14:43:48 +09:30
Toby Zerner
45feeb6a1f Change button class for new post controls location 2015-09-08 10:30:46 +09:30
Toby Zerner
384330da77 Add LICENSE information 2015-09-04 12:31:19 +09:30
Toby Zerner
0e8d6867aa Update npm dependency 2015-09-04 12:24:16 +09:30
Toby Zerner
134427f0e9 Update flarum.json 2015-09-04 12:24:15 +09:30
Toby Zerner
617c3d54ff Add phpcs, Travis, clean up editorconfig and eslint 2015-09-04 12:24:15 +09:30
young
b86077dfcf Fix issue-email notifications quoting wrong reply
This commit fix this bug https://github.com/flarum/core/issues/304.Problem not in newPost.blade.php but in this file.
2015-08-30 13:16:06 +08:00
Franz Liedke
7bbe4a2e76 Use new method for retrieving base URL 2015-08-27 00:49:24 +02:00
Toby Zerner
d241a09f83 Include missing discussion relationship 2015-08-26 10:20:03 +09:30
Toby Zerner
183badef86 Use new discussion URL format 2015-08-25 19:52:56 +09:30
Toby Zerner
413f2e4825 Add excerpt for user mentioned notification 2015-08-21 10:03:59 +09:30
Toby Zerner
1930fcdd92 Implement notification excerpts 2015-08-21 09:54:57 +09:30
Toby Zerner
6606f416af Update migrations 2015-08-14 12:55:23 +09:30
Toby Zerner
26ad468778 Reduce post preview hover delay 2015-08-13 12:50:34 +09:30
Toby Zerner
d065495959 Fix error in post mention emails 2015-08-13 12:50:12 +09:30
Toby Zerner
b9edb29d9f Use new listen API 2015-08-13 12:49:58 +09:30
Toby Zerner
bcce0c8cc0 Add icon 2015-08-13 12:49:51 +09:30
Toby Zerner
1419f9d215 Reload post if we don't know about its discussion 2015-08-08 09:26:05 +09:30
Toby Zerner
19ed23e89b Remove post mentions from previews 2015-08-06 13:28:47 +09:30
Toby Zerner
c014c330d9 Allow inter-discussion replying 2015-08-06 13:17:21 +09:30
Toby Zerner
e82a50c5d7 Ensure post mention previews are clickable on mobile 2015-07-28 18:36:53 +09:30
Toby Zerner
7f05f8ab22 Fix post mention preview behaviour on mobile 2015-07-28 17:59:00 +09:30
Toby Zerner
30d17308ea Update gulp module configuration 2015-07-27 14:19:36 +09:30
Toby Zerner
4e73a520ea Fix oopsie 2015-07-27 12:02:34 +09:30
Toby Zerner
714ab8fca5 PERF: avoid reinstantiation of event subscribers 2015-07-27 11:54:28 +09:30
Toby Zerner
7ac3e9fa92 Make mention formatter work in live preview 🎉 2015-07-23 20:50:41 +09:30
Toby Zerner
b300323fb7 Fix notification emails 2015-07-23 16:40:19 +09:30
Toby Zerner
0c7bd6e86d Add missing translations 2015-07-23 16:40:11 +09:30
Toby Zerner
da25882280 Update for new API + TextFormatter 2015-07-23 14:28:39 +09:30
Toby Zerner
985ccc096e Update for component API 2015-06-26 19:09:56 +09:30
Toby Zerner
653f1dc841 Fix post content in email template 2015-06-26 12:21:30 +09:30
Toby Zerner
9f2393f7bb Add vendor prefix to initializer name 2015-06-25 15:39:17 +09:30
Toby Zerner
48ca774af9 Remove parentheses from around post number
They draw too much attention, kinda making it look like an ID or an
error code or something.
2015-06-25 10:11:46 +09:30
Franz Liedke
6ff446675d Include post number in mention notification 2015-06-24 22:46:01 +02:00
Toby Zerner
cf4074b3b8 Make mention previews work on touch devices 2015-06-24 11:47:30 +09:30
Toby Zerner
e53cc010e4 Add icon 2015-06-24 11:47:09 +09:30
Toby Zerner
880f3072ea Only show reply list if there are replies not adjacent 2015-06-23 10:27:42 +09:30
Toby Zerner
8bdbdeb433 Don't use hash in generated mention URLs 2015-06-23 10:27:14 +09:30
Toby Zerner
090e0f1e94 Link replies to their discussion to ensure we can link to them 2015-06-19 15:49:44 +09:30
Toby Zerner
80474ec544 No need to query the API about nothing 2015-06-19 15:49:20 +09:30
Toby Zerner
6455d03eb6 Don't include some relations by default 2015-06-18 17:44:20 +09:30
Toby Zerner
867210ab64 Update APIs 2015-06-18 12:45:37 +09:30
Toby Zerner
679025095f Oops, camel case! 2015-06-17 18:22:40 +09:30
Toby Zerner
0265a2dbe3 Use truncate helper 2015-06-17 18:22:29 +09:30
Toby Zerner
0e774db5a0 Don't show the reply button if the user can't reply 2015-06-16 17:34:47 +09:30
Toby Zerner
578d8df04d Reorder Extend\Relationship arguments 2015-06-11 18:46:12 +09:30
Toby Zerner
0511982426 Update for new formatting API. 2015-06-08 15:04:22 +09:30
Toby Zerner
b2557e2ae9 Use new flarum-gulp package. 2015-06-08 15:04:15 +09:30
Toby Zerner
70a2bcc002 Update manifest. 2015-06-08 15:04:00 +09:30
Toby Zerner
eb5e74c9c9 Use core's new highlight helper 2015-06-03 18:05:41 +09:30
Toby Zerner
5ca1c95d74 Use new replyAction promise implementation 2015-06-01 10:29:36 +09:30
Toby Zerner
eb69be366a Fix mentions autocomplete not appearing after users are loaded 2015-05-30 14:00:50 +09:30
Toby Zerner
a6e3c3c0c8 Add missing classes 2015-05-29 18:56:41 +09:30
Toby Zerner
c780e620c0 Fix mistake in table name 2015-05-29 18:22:51 +09:30
Toby Zerner
67ffd8efd7 Fix error when rendering deleted user 2015-05-26 18:02:10 +09:30
Toby Zerner
360b503357 Update for new notifications API, add user activity feed integration 2015-05-20 12:32:08 +09:30
Toby Zerner
ee7044615b Make sure we don't parse post mentions as user mentions 2015-05-20 12:31:35 +09:30
Toby Zerner
643726df43 Fix undefined variables 2015-05-19 11:23:35 +09:30
Toby Zerner
978ecd369d Email notifications. Too easy! 2015-05-19 11:02:02 +09:30
Toby Zerner
4080a76a99 Don't parse user mentions with a # ahead of them 2015-05-19 11:01:50 +09:30
Toby Zerner
2101250eaa Only notify when a post is created, not edited 2015-05-19 11:01:11 +09:30
Toby Zerner
fdc82b5273 Add notification preferences 2015-05-19 11:00:49 +09:30
Toby Zerner
2a6403a6a7 Reset original content before inserting the mention 2015-05-19 11:00:29 +09:30
Toby Zerner
6bfecec9f2 Rename JS sub-components so that descriptors are before the noun, not after 2015-05-18 18:50:54 +09:30
Toby Zerner
0b95fc7f81 Fix error when another user has replied to a post 2015-05-18 18:12:26 +09:30
Toby Zerner
349a0fc215 Sync mention metadata when a post is edited/deleted 2015-05-18 14:35:22 +09:30
Toby Zerner
547b2b1304 Search for users in autocomplete popup + other tweaks
- Highlight matching parts of usernames
- Fix positioning edge cases
2015-05-18 12:24:48 +09:30
Toby Zerner
547631ac93 Fix buggy autocomplete keyboard navigation when mouse is over popup 2015-05-18 12:22:53 +09:30
Toby Zerner
8c41195223 Reposition the post mention preview after its content has loaded 2015-05-18 10:32:46 +09:30
Toby Zerner
ecb06f36c8 Insert newlines into composer before post mentions 2015-05-18 10:32:20 +09:30
Toby Zerner
f8d756d19d Update for new extension API 2015-05-17 10:20:18 +09:30
Toby Zerner
57bb8702de Initial commit 2015-05-14 22:01:03 +09:30