1
0
mirror of https://github.com/flarum/core.git synced 2025-08-23 08:33:45 +02:00
Commit Graph

77 Commits

Author SHA1 Message Date
Toby Zerner
061a6cdafa 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:28:11 +09:30
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
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
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
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
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
80474ec544 No need to query the API about nothing 2015-06-19 15:49:20 +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
b2557e2ae9 Use new flarum-gulp package. 2015-06-08 15:04:15 +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
67ffd8efd7 Fix error when rendering deleted user 2015-05-26 18:02:10 +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
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
57bb8702de Initial commit 2015-05-14 22:01:03 +09:30