aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments
Commit message (Collapse)AuthorAgeFilesLines
* Fix array method usages with a proper callMorris Jobke2018-01-251-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bump appsRoeland Jago Douma2018-01-141-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update composerMorris Jobke2018-01-122-10/+14
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Composer updatedRoeland Jago Douma2018-01-042-16/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [tx-robot] updated from transifexNextcloud bot2018-01-04116-156/+192
|
* format links in commentsArthur Schiwon2018-01-031-3/+7
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Show max warning comment lenth againRoeland Jago Douma2018-01-022-3/+3
| | | | | | | | | Fixes #7414 Since we no longer use an input field we have to use text instead of val. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use proper authorative-autoloader for app autoloadersRoeland Jago Douma2017-12-142-11/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* The user displayNameResolver is specific to users, not the comments appArthur Schiwon2017-12-121-11/+0
| | | | | | | Other apps like spreed rely on it, and only can resolver per type can be registered anyhow. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* [tx-robot] updated from transifexNextcloud bot2017-12-102-0/+4
|
* [tx-robot] updated from transifexNextcloud bot2017-12-092-2/+2
|
* Merge pull request #7252 from nextcloud/send-comment-on-enterMorris Jobke2017-12-082-12/+92
|\ | | | | Submit comments with Enter and use Shift+Enter for new lines
| * Fix Enter sending comment instead of adding autocomplete item to messageDaniel Calviño Sánchez2017-12-072-2/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | When the autocomplete popover is shown the At.js plugin listens on the message input field for key down events, and when Enter is pressed it adds the selected item to the message. However, as "_onTypeComment" also handles key down events for the message input field, when Enter was pressed the comment was submitted and At.js had no chance to add the item before that happened. Now when Enter is pressed and the autocomplete popover is shown the comment is not submitted, and thus At.js adds the selected item to the message as expected. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add unit tests for posting comments with enter keyDaniel Calviño Sánchez2017-11-301-0/+28
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Set text only in the message div of the new comment formDaniel Calviño Sánchez2017-11-301-10/+13
| | | | | | | | | | | | | | | | When finding ".message" elements on "view.$el" the message area for the new comment form and all the comments were matched. Now the selector was restricted to match only the message area for the new comment form. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Submit comments with Enter and use Shift+Enter for new linesDaniel Calviño Sánchez2017-11-231-2/+3
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | [tx-robot] updated from transifexNextcloud bot2017-12-064-0/+8
| |
* | [tx-robot] updated from transifexNextcloud bot2017-12-052-0/+4
| |
* | [tx-robot] updated from transifexNextcloud bot2017-12-042-0/+4
| |
* | [tx-robot] updated from transifexNextcloud bot2017-12-024-0/+8
| |
* | [tx-robot] updated from transifexNextcloud bot2017-12-0130-0/+60
| |
* | [tx-robot] updated from transifexNextcloud bot2017-11-308-0/+14
| |
* | Merge pull request #7316 from ↵Roeland Jago Douma2017-11-291-3/+3
|\ \ | | | | | | | | | | | | nextcloud/fix-silent-conflicts-due-to-merging-7256-after-7251 Fix silent conflicts due to merging #7256 after #7251
| * | Fix silent conflicts due to merging #7256 after #7251Daniel Calviño Sánchez2017-11-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Although #7256 was merged cleanly some of the changes really conflicted with those introduced by the last commit of #7251, and this broke the appearance of the author row of comments. This commit fixes those silent conflicts and restores the appearance of the author row. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | [tx-robot] updated from transifexNextcloud bot2017-11-2912-0/+24
| | |
* | | [tx-robot] updated from transifexNextcloud bot2017-11-28112-334/+334
|/ /
* | Merge pull request #7256 from ↵blizzz2017-11-272-11/+34
|\ \ | | | | | | | | | | | | nextcloud/fix-cursor-for-avatar-and-user-names-in-comments Fix cursor for avatar and user names in comments
| * | Replace with non-deprecated JS callLukas Reschke2017-11-271-1/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | Disable contacts menu for mentions to current user in comment messagesDaniel Calviño Sánchez2017-11-272-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | The contacts menu is not shown for avatars and user names in the author row if they represent the current user. For consistency, and because the contacts menu provides no value when shown for the current user, this commit also disables the contacts menu for mentions to the current user. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Disable contacts menu for mentioned users in comments being composedDaniel Calviño Sánchez2017-11-272-7/+14
| | | | | | | | | | | | | | | | | | | | | The contacts menu does not provide too much value for users mentioned in a message being composed, so it is now disabled in this case. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Fix cursor for author row and avatars in commentsDaniel Calviño Sánchez2017-11-262-4/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When it was on an author row the cursor was shown as a pointer, even if clicking on the author row itself does nothing. On the other hand, avatars used the default cursor, even if clicking on them either shows the contacts menu (in the case of the author row, only when the avatar is for a different user than the current one) or inserts a mention (for avatars shown in the list of suggested mentions), depending on the case. Now, the author row uses the default cursor, and avatars (and their associated user name) use a pointer cursor if clicking on them will trigger an action (either showing the contacts menu or inserting a mention). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #7266 from ↵Morris Jobke2017-11-271-3/+3
|\ \ | | | | | | | | | | | | nextcloud/fix-input-field-not-disabled-while-a-comment-is-being-sent Fix input field not disabled while a comment is being sent
| * | Fix input field not disabled while a comment is being sentDaniel Calviño Sánchez2017-11-231-3/+3
| |/ | | | | | | | | | | | | | | | | | | Since the change of the text area to a content editable div the input field was no longer disabled while a new comment was being sent. It was caused by still trying to disable the div using the "disabled" property, which works only on real input fields; when using a content editable div the way to disable it is by setting "contenteditable" to "false". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #7280 from ↵Morris Jobke2017-11-272-2/+18
|\ \ | | | | | | | | | | | | nextcloud/fix-working-icon-position-when-sending-or-deleting-a-comment Fix working icon position when sending or deleting a comment
| * | Show delete working icon at the same position as the delete iconDaniel Calviño Sánchez2017-11-242-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | When a comment was being deleted the submit working icon was shown. Now the submit working icon is kept hidden in that case and a specific delete working icon, which is shown at the same position as the delete icon, is used instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Show submit working icon at the same position as the submit confirm iconDaniel Calviño Sánchez2017-11-241-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | The submit confirm icon is shown as the background image of an absolutely positioned input element, so the CSS rules for the submit working icon were modified to match those of the submit confirm icon. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Merge pull request #7251 from nextcloud/contact-menu-position-fixMorris Jobke2017-11-271-9/+14
|\ \ \ | | | | | | | | Fixed contact menu position on comments
| * | | Fixed alignment of items in commentsJohn Molakvoæ (skjnldsv)2017-11-231-8/+13
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Fix contacts menu vertical position for comment authorsDaniel Calviño Sánchez2017-11-231-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | The contacts menu was being shown as "inline-block", which caused the top of the menu to be aligned to the top of the author row. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Fix unit testsMorris Jobke2017-11-272-3/+3
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | that has since been deleted, ID to nodeAllan Nordhøy2017-11-271-3/+3
| |/ |/| | | | | | | | | You were mentioned in a group chat by a user that has since been deleted Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Disable elements while a comment is being deletedDaniel Calviño Sánchez2017-11-242-2/+13
|/ | | | | | | | | | When a comment is being deleted the "disabled" class is added to the comment div, which causes it to look disabled. However, the input elements and the content editable div were not truly disabled, and thus it was still possible to interact with them. This commit ensures that they are properly disabled while the comment is being deleted. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Force breaks on extremely long wordsDaniel Calviño Sánchez2017-11-171-0/+2
| | | | | | If not broken extremely long words overflow their container. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* [tx-robot] updated from transifexNextcloud bot2017-11-1112-14/+334
|
* [tx-robot] updated from transifexNextcloud bot2017-11-1010-0/+330
|
* [tx-robot] updated from transifexNextcloud bot2017-11-082-2/+56
|
* [tx-robot] updated from transifexNextcloud bot2017-11-072-0/+66
|
* Update license headersMorris Jobke2017-11-0615-26/+52
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add variable for border-radiusJan-Christoph Borchardt2017-11-031-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* [tx-robot] updated from transifexNextcloud bot2017-11-034-0/+132
|