Commit Graph

124 Commits

Author SHA1 Message Date
Maximilian Grundke
178ec5c10d Refactor comment template 2017-08-31 17:42:38 +02:00
Maximilian Grundke
00e727a325 Actually update comments in the backend 2017-08-31 17:42:20 +02:00
Maximilian Grundke
17fb22b9df Add basic edit button functionality 2017-08-31 17:06:40 +02:00
Maximilian Grundke
889987f3ad Refactor styling 2017-08-25 18:46:04 +02:00
Maximilian Grundke
bb79852e42 Do not delete comment containers; replace them with success message. This also fixes a visual bug when deleting the last comment 2017-08-25 18:33:39 +02:00
Maximilian Grundke
3dd4cb440b Allow to delete single comments via UI 2017-08-25 18:15:55 +02:00
Maximilian Grundke
771793f32e Show edit and delete buttons for comments that can be edited by the user 2017-08-24 11:48:26 +02:00
Maximilian Grundke
a8d801d3a7 Show html formatted comments in modal 2017-08-23 18:38:24 +02:00
Maximilian Grundke
b9646b4857 Refactor content creation 2017-08-23 18:25:27 +02:00
Maximilian Grundke
ce3bf52509 Remove old code 2017-08-23 17:52:16 +02:00
rteusner
b90392f580 Merge pull request #124 from openHPI/rfc-enhancements
Rfc enhancements
2017-08-23 14:44:23 +02:00
Maximilian Grundke
74a7deffa2 Change date position 2017-08-17 15:44:51 +02:00
Maximilian Grundke
2c6ab19f36 Add comments explaining clustering 2017-08-17 14:45:48 +02:00
Maximilian Grundke
48227d68f3 Add edited-label to edited comments 2017-08-17 14:32:36 +02:00
Maximilian Grundke
389934920d Add dividers and comment date to popover 2017-08-17 13:57:03 +02:00
Maximilian Grundke
14af5182bf Sort comments by date (sort of) 2017-08-16 18:35:30 +02:00
Maximilian Grundke
0326354847 Make popover stylable and apply default styling 2017-08-16 18:27:35 +02:00
Maximilian Grundke
b5c997e8a9 Preprocess comment text to protect from XSS attacks 2017-08-16 18:20:56 +02:00
Maximilian Grundke
1ffda4f896 Fix cluster sorting 2017-08-16 17:29:26 +02:00
Maximilian Grundke
0f3db8a644 Remove old comments before refresh to fix event leak 2017-08-16 17:29:08 +02:00
Maximilian Grundke
520a60d1be Use popovers with formatted comments instead of tooltips 2017-08-13 18:46:35 +02:00
Maximilian Grundke
ba8511fe40 Fall back on RFC update time when there are no comments 2017-08-13 16:09:15 +02:00
Maximilian Grundke
726ef31ee7 Add new route to view all RFCs the user has commented on 2017-08-13 15:01:11 +02:00
Maximilian Grundke
b2344cfd97 Add last activity label to RFCs 2017-08-13 14:33:12 +02:00
Ralf Teusner
9592b5c939 removed tabs from rfc comment overlays
fixed minor typo in thank you emails
2017-08-11 18:23:16 +02:00
Ralf Teusner
38c6e29cbf remove webWorker outputs from request_for_comments 2017-07-19 14:29:45 +02:00
Maximilian Grundke
76f563016a Hide button after rfc is solved and add check mark to title 2017-06-12 14:11:12 +02:00
Maximilian Grundke
e43b71bd7f Allow to hide thank you note 2017-06-09 14:46:20 +02:00
Maximilian Grundke
e4d1f57164 Send optional thank you note 2017-06-08 16:46:44 +02:00
Maximilian Grundke
9a71405c49 Add thank you note frontend 2017-06-08 16:02:05 +02:00
Maximilian Grundke
bacbf05f59 Re-use button instead of hiding it. Clean up code. 2017-06-08 14:57:49 +02:00
Ralf Teusner
81e7cbc8be clear comment modal if comment was created 2017-04-18 17:46:36 +02:00
Ralf Teusner
234c19ac6c only format comments that do not include a tab or a carriage return. 2017-04-18 17:44:42 +02:00
Thomas Hille
60e587b690 removed comment on exercise in the RFC view. redirect 10% of user instead of redirecting to the RFC view to the feedback view. redirect all users how submitted to the feedback view if score is less than 100% 2017-04-12 11:47:39 +02:00
Ralf Teusner
4a8ed1d1fb show comments with breaks after 80 chars and tab subsequent lines in. 2017-04-07 21:15:52 +02:00
Ralf Teusner
58f76f53e6 added a search for request_for_comments.
fixed translation of model for request_for_comments
2017-04-03 19:49:03 +02:00
Thomas Hille
af0cc8cdb0 changed button design 2017-03-30 22:10:02 +02:00
Thomas Hille
3f398c6047 add feedback for exercises 2017-03-30 22:06:17 +02:00
Ralf Teusner
8f927d5ac9 some howto text for request_for_comment usage, changed background color of read-only editor. 2017-03-15 16:15:29 +01:00
Ralf Teusner
802502935e removed debug statement... 2016-12-20 16:08:08 +01:00
Ralf Teusner
1108f954ba show admin menu on RFC page for admins 2016-12-19 18:30:39 +01:00
Ralf Teusner
6e6c9143cd Some tidy up in request for comments (bugfix: removed leftover parts of requested_at attribute, some UI changes in comment dialog)
Redirect to open rfc if an exercise has been solved
2016-08-11 18:13:33 +02:00
Ralf Teusner
39a253997d use submission from model 2016-07-14 16:59:42 +02:00
Ralf Teusner
8282820974 removed requested_at
partly using submission_id
some cleanup
2016-07-14 16:22:22 +02:00
Ralf Teusner
223df2ffa8 some cleanup of request for comments. Work in progress.
Noticed a flaw when fetching the last submission, which is caused by timezone differences. First step to solve this.
Existing Request for Comments still need to be updated with their current submissionId, the SQL to do that is not yet finished.
2016-07-04 17:44:22 +02:00
Ralf Teusner
2ff12dbeb6 Cached displaynames of users
Added solved state and #comments to index of request_for_comments
Added translations
2016-06-27 16:46:26 +02:00
Ralf Teusner
2a52b66daa rfc can now be solved.
show.html still needs to be finished
2016-06-24 16:44:34 +02:00
Ralf Teusner
bd6d4c4d71 Syntax Highlighting for the Request for Comment View 2016-06-23 14:23:28 +02:00
Ralf Teusner
918da5270d added id for h4 holding the rfc-id
updated locales.
2016-06-22 13:06:35 +02:00
Ralf Teusner
ec26a095f6 First working version of mails on comments. 2016-06-17 14:48:57 +02:00