Commit Graph

86 Commits

Author SHA1 Message Date
Toby Zerner
dffcb660aa Update dependencies 2018-09-21 10:25:47 +09:30
flarum-bot
c1b2427e16 Bundled output for commit 67c7b45dc8 [skip ci] 2018-09-16 18:52:34 +00:00
Toby Zerner
67c7b45dc8 Database changes (#34)
* Implement database changes

* Split foreign keys in to their own migrations; rename pivot tables

* Use whereColumn

* Update core attribute names
2018-09-16 20:50:16 +02:00
flarum-bot
800e68bf4c Bundled output for commit 2e9c184b3b [skip ci] 2018-07-23 12:29:20 +00:00
Franz Liedke
2e9c184b3b Fix positioning of mention dropdown
Previously, the positioning logic did not account for the case
when the textarea was already scrolled down a bit, thus often
rendering the dropdown off-screen.

Fixes flarum/core#1021.
2018-07-23 14:28:09 +02:00
flarum-bot
8214638cb5 Bundled output for commit 20ddf72ec9 [skip ci] 2018-06-20 05:19:54 +00:00
Toby Zerner
42235cbed2 Remove progress flag 2018-06-20 13:54:01 +09:30
Toby Zerner
d1f4d5a739 Webpack (#33)
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:33 +09:30
Ammar Fadhlur Rahman
ca805afdfe Change fa icon prefix to fas 2018-05-10 15:01:02 +07:00
AFR
c5818ba87d Adapt to FontAwesome v5.0.6 icon name changes (#30) 2018-02-23 23:43:43 +01:00
Toby Zerner
11292223a7 Fix incorrect query parameter when searching for users 2018-02-09 07:41:25 +10:30
Toby Zerner
14215773b3 Fix positioning of quote button when parents are positioned relatively 2017-11-10 17:45:21 +10:30
Toby Zerner
408d882598 Update to sub in "display names" from database when rendering
This also improves the behaviour of mentions in the JS preview (no more
broken links, mention is only picked up if corresponding user/post is
found).

See flarum/core#1246

Closes flarum/core#315
2017-09-19 20:16:30 +09:30
Toby Zerner
53e63069c1 Properly inactivate the autocomplete dropdown when there are no suggestions 2017-09-19 19:35:44 +09:30
Clark Winkelmann
86496f3e06 Keep images and links when quoting (#25)
* Keep images and links when quoting

* Fix bower dependencies
2017-06-29 08:26:15 +09:30
Clark Winkelmann
2bbf4a2b4b Drop bower usage (#27) 2017-06-29 08:25:24 +09:30
David Sevilla Martín
eac6e2e32f Use mentioned_by_self_text correctly (#26)
* Use mentioned_by_self_text correctly

* Whoops! Use , not david

* Fix dist js error
2017-06-25 10:54:18 +09:30
Franz Liedke
425a612537 Recompile dist JS 2017-03-06 22:01:14 +01:00
Franz Liedke
04b32d9abc Improve order of mention auto-completes
Suggest plain mention of username before explicitly replying to a
specific post.

Closes flarum/core#1118.
2017-03-06 22:00:25 +01:00
Toby Zerner
26caab7923 Recompile JS 2016-11-19 22:09:04 +10:30
Toby Zerner
de7d450093 Don't show quote button until after selection has been made 2016-10-18 22:26:04 +10:30
Wietse Wind
9ca106e136 Amend Pull Request #21 2016-08-29 09:37:20 +02:00
Wietse Wind
bb35bd5268 Fix: Someuser vs. You (mention) -- In English: the same. In Dutch: Jij hebt / Someuser HEEFT -> _self text was ignored, comparing POST with USER object. 2016-08-29 09:27:30 +02:00
Toby Zerner
bfa9a1d68e Support quote button on mobile; make reply button behaviour consistent
closes flarum/core#972
2016-06-03 11:24:33 +09:30
Sjjad Hashemian
496995d55a Fix quote emoji icons 2016-06-02 15:45:04 +04:30
Toby Zerner
310fed2329 Tweak quote button positioning/style
Now appears where your cursor ends the selection, but not overlapping text.
2016-05-22 14:05:38 +09:30
Sajjad Hasehmian
a05600b91e Show quote button when post text is selected
closes #19 closes flarum/core#320
2016-05-21 21:37:48 +09:30
Franz Liedke
8c280b0b15 Use newly extracted KeyboardNavigatable util for emoji dropdown
Refs flarum/core#264.
2016-05-15 22:42:15 +09:00
Toby Zerner
865238df81 Add logic to make sure post mention preview isn't hidden by header. closes flarum/core#316 2016-03-28 13:33:46 +10:30
Toby Zerner
febf4356c0 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:33:14 +10:30
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
Franz Liedke
5fa9d58062 #317: Better reply insertion intelligence 2016-01-20 20:18:55 +01:00
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
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
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
ccda85cc29 Update for composer branch 2015-10-11 13:02:57 +10: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
0e8d6867aa Update npm dependency 2015-09-04 12:24:16 +09:30