17 Commits

Author SHA1 Message Date
Jimmy Berry
5cc8920689 osclib/comments: command_find: stupid \r line endings. 2018-05-08 21:41:13 -05:00
Jimmy Berry
49bc52187b osclib/comments: provide command_find() for comment commands. 2018-03-06 16:42:07 -06:00
Jimmy Berry
1bd5b99028 ReviewBot: comment_write(): provide info_extra_identical parameter.
Allows for excluding info_extra from comment_find() and compares messages
after marker has been removed.
2017-12-29 18:32:43 -06:00
Jimmy Berry
642f0536a1 ReviewBot: comment_write(): pre-truncate for correct comparison.
Otherwise, long comments that end up being truncated are re-posted.
2017-10-05 17:40:26 -05:00
Jimmy Berry
bf2832aaf2 commentapi: provide truncate() and apply during add_comment(). 2017-08-23 15:59:22 -05:00
Jimmy Berry
fe400a209b comments: avoid attempt to delete non-existent parent comments. 2017-07-10 17:12:37 -05:00
Jimmy Berry
dfcad869c9 comments: provide parent_id parameter for add_comment(). 2017-06-01 10:10:12 +02:00
Jimmy Berry
040cfde16b comments: remove unused chunks() from comment_find(). 2017-06-01 10:10:12 +02:00
Jimmy Berry
6ed8e2ea8a comments: add query parameter to _prepare_url(). 2017-06-01 10:10:12 +02:00
Jimmy Berry
47459ccb29 CommentAPI: provide comment_find() and add_marker() from ReviewBot. 2017-03-10 00:09:27 -06:00
Ludwig Nussel
6c7325f31b fix CommentAPI.delete_from_where_user 2015-05-28 13:16:36 +02:00
5962765901 action #2858 Remove code from staging relate with the old osc staging check command 2014-07-31 14:16:54 +02:00
cb74d62875 Add empty line. 2014-06-04 11:04:36 +02:00
Stephan Kulow
bef2b1bdae fix iterating over comments 2014-05-26 10:32:09 +02:00
Stephan Kulow
94f08697d4 fix issues pointed out by alberto 2014-05-23 11:51:51 +02:00
Stephan Kulow
d0a620cb7d make sure we delete comment childrens first then parents
Otherwise OBS will leave them as "this was deleted"
2014-05-23 11:20:37 +02:00
da139e58d9 Add CommentAPI class. 2014-05-20 12:26:56 +02:00