summaryrefslogtreecommitdiffstats
path: root/apps/comments/js
Commit message (Collapse)AuthorAgeFilesLines
* Fix mentioned user not clickable after posting or editing a commentDaniel Calviño Sánchez2017-05-081-3/+10
| | | | | | | | | | | | | | | | | | | The contactsMenu plugin was called on avatar elements from _postRenderItem, which is called when a new comment is added to the collection. Due to this contactsMenu was not called when messages were edited; when a new comment is posted _postRenderItem is called, but at that time the "mentions" attribute is not filled yet, so "@username" is not replaced by avatars in the message and thus contactsMenu has no avatars to be called on. Calling contactsMenu was moved to a new method, _postRenderMessage, which is called from _postRenderItem and from the success callback when fetching the model in _onSubmitSuccess (which replaces "@username" by avatars in the message after posting or editing a comment). Fixes #4555 Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* add contactsmenu popover to commentsGeorg Ehrke2017-04-261-1/+19
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge JS for commentsLukas Reschke2017-03-241-0/+9
| | | | | | Shaves off 6 requests. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* added quit option in commentstabview.jsnoveens2017-03-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added quit option in notif in app.js added quit option in notif in file-upload.js added quit option in notif in fileinfomodel.js added quit option in notif in filelist.js added quit option in notif in filelist.js added quit option in notif in tagsplugin.js added quit option in notif in statusmanager.js added quit option in notif in external.js added quit option in notif in versionstabview.js added quit option in notif in notification.js changes according to the latest review. timeout removed since there is a button to close it translation capability added typo fixed test files updated small errors fixed Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Always enable avatarsMorris Jobke2017-02-131-25/+9
| | | | | | | | | * we introduced this setting in the begining because our avatar support caused some performance issues, but we fixed them and should only provide one way how Nextcloud looks Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* mention property to follow same styleArthur Schiwon2016-12-231-3/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fixed size issues on main detail view and disappearing of share recipients ↵Michael Jobst2016-12-233-19/+36
| | | | | | | | | | | | | | | | | | (#26603) * fixed size issues on main detail view and disappearing of share recipients * Changes due to code comments * Moved reloadProperties() to FileInfoModel * Solved Scrutinizer issues * Bugfix: undefined value used on error * check if options are set for FileInfoModel.initialize() Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Move comments activities to the new APIJoas Schilling2016-11-161-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* avoid that all avatars are copied to the author row when editing commentsArthur Schiwon2016-10-211-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* consolidate error handlingArthur Schiwon2016-10-191-27/+41
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix avatar displaying after submit (either edit or new)Arthur Schiwon2016-10-191-3/+7
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* display avatar (if enabled) alongside displaynamesArthur Schiwon2016-10-191-1/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix regexArthur Schiwon2016-10-191-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* improve regex, fixes replacements of usernames with same trunkArthur Schiwon2016-10-191-1/+12
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* show displayname not uid in commit mentionsArthur Schiwon2016-10-192-17/+76
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #1407 from nextcloud/multiline_commentsMorris Jobke2016-10-111-2/+6
|\ | | | | Bring back multiline comments
| * Add autosize to comments inputRoeland Jago Douma2016-10-041-2/+6
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Update file headerJoas Schilling2016-10-051-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix activity rendering plugin nameVincent Petry2016-10-051-1/+1
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Mark the methods as copiedJoas Schilling2016-10-051-3/+5
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Register a ActivityTabView pluginJoas Schilling2016-10-051-0/+57
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix comment count tooltipJoas Schilling2016-09-281-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use live timestamp on comments tabJoas Schilling2016-09-011-1/+2
|
* Prevent parse error on editing an HTML commentJoas Schilling2016-08-291-1/+1
|
* Fix double ending quotesJoas Schilling2016-08-181-1/+1
|
* Improve layout of cancel button in the comments sidebarMorris Jobke2016-08-181-1/+1
|
* fix design details in comments sidebarJan-Christoph Borchardt2016-08-171-12/+12
|
* Show error message when posting an invalid commentVincent Petry2016-06-241-6/+6
| | | | | When an internal server error occurs while creating or updating a comment, display a proper error notification in the UI.
* fixes indentationVincent Chan2016-05-031-1/+1
|
* adds functionality to submit comments with cmd+EnterVincent Chan2016-05-031-4/+4
|
* Submit comment on ctrl+EnterVincent Chan2016-05-021-0/+5
| | | | closes #24302
* remove comments count because it is not that relevant to show directlyJan-Christoph Borchardt2016-02-251-3/+1
|
* Merge pull request #22475 from owncloud/fix-js-issuesThomas Müller2016-02-181-2/+2
|\ | | | | Fixes code analysis issues
| * Fixes code analysis issuesMorris Jobke2016-02-171-2/+2
| |
* | Show the comments and tags on the share filtersJoas Schilling2016-02-161-4/+4
|/
* Collapse long commentsVincent Petry2016-02-081-4/+25
| | | | | | | Very crude a naive implementation that relies on length and number of newlines. Should be good enough for most cases. Clicking on such comments will expand them.
* Limit comment size to 1000 in UIVincent Petry2016-02-051-1/+29
| | | | | | | | Whenever the limit is almost reached (90% of the length), a tooltip will appear. Once the limit is exceeded, the "Post" button will be disabled and the field will become red.
* Special label for deleted users in comments listVincent Petry2016-02-041-4/+15
|
* Move comment delete action into edit modeVincent Petry2016-02-031-13/+20
|
* Comment owner can now edit or deleteVincent Petry2016-02-032-38/+158
|
* Reset comments read marker after loading commentsVincent Petry2016-02-034-7/+151
|
* Add file row indicator for unread commentsVincent Petry2016-02-031-0/+84
|
* Fixed report nameVincent Petry2016-02-021-2/+2
|
* Added JS unit tests for commentsVincent Petry2016-02-022-6/+6
|
* Add spinner when submitting commentsVincent Petry2016-02-021-5/+30
|
* Fix formatting messages with newlinesVincent Petry2016-02-021-2/+11
|
* Better comments pagination logicVincent Petry2016-02-021-11/+9
|
* Improve comments style, add avatarsVincent Petry2016-02-022-22/+53
|
* Use last comment's time for paginationVincent Petry2016-02-021-1/+1
|
* Add pagination support for comments GUIVincent Petry2016-02-022-16/+45
|