Commit Graph

316 Commits

Author SHA1 Message Date
Maximilian Grundke
b2344cfd97 Add last activity label to RFCs 2017-08-13 14:33:12 +02:00
Maximilian Grundke
28605fbe9b Support adding and removing attributes of error templates 2017-07-12 21:25:18 +02:00
Maximilian Grundke
24fd142d3c Add localization and plural forms for error templates and error template attributes 2017-07-12 15:15:19 +02:00
Maximilian Grundke
0c8c8562f5 Scaffold error template attributes 2017-07-12 11:58:18 +02:00
Maximilian Grundke
2f759c03a9 List error template attributes 2017-07-12 11:23:51 +02:00
Maximilian Grundke
9eadc3a4db Make error template UI usable 2017-07-12 11:04:29 +02:00
Maximilian Grundke
6cec69d7b9 Update locales 2017-06-12 13:43:03 +02:00
Maximilian Grundke
e43b71bd7f Allow to hide thank you note 2017-06-09 14:46:20 +02:00
Maximilian Grundke
eaac43ac63 Send e-Mail to all commenters if thank you note is given 2017-06-09 14:40:44 +02:00
Maximilian Grundke
9a71405c49 Add thank you note frontend 2017-06-08 16:02:05 +02:00
Ralf Teusner
d706de28d9 adjusted locales 2017-04-18 17:02:35 +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
Thomas Hille
3cf123c61e added working time estimation into user feedback 2017-04-12 10:57:44 +02:00
Thomas Hille
8ca944558c improved texts of feedback, added ok button 2017-04-12 10:13:23 +02:00
Thomas Hille
e4d28452bf save progress 2017-04-11 16:29:29 +02:00
Thomas Hille
73c3b902a3 save progress. added user feedback view and stuff 2017-04-11 15:00:35 +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
Ralf Teusner
3bf5e69f8d fixed links and a typo in rfc mails 2017-04-03 19:29:53 +02:00
rteusner
73a7d9ef4d Merge pull request #110 from ThommyH/reduceInterventionAmount
do not show interventions on solved exercises, reduce to 2 interventions per day
2017-04-03 18:52:51 +02:00
Thomas Hille
cff46f963d added close button for requestForCommand-modal 2017-04-03 17:33:52 +02:00
Ralf Teusner
13758747e2 extended rfc mails 2017-04-03 11:39:16 +02:00
Thomas Hille
655147a610 changes in comment for exercise text 2017-03-31 16:43:43 +02:00
Thomas Hille
3f398c6047 add feedback for exercises 2017-03-30 22:06:17 +02:00
Thomas Hille
bd0721da2e deleted search modal. reused roc modal for search modal. also added translations 2017-03-21 10:31:33 +01:00
Thomas Hille
c1209e4972 added translation for search bar 2017-03-21 10:31:33 +01:00
Thomas Hille
3d7f5bdf1a added intervention controller and stuff 2017-03-21 10:31:32 +01:00
Thomas Hille
0db11884bc Extended Exercises by worktime, difficulty and tags, added ProxyExercises as prework for recommendations
Tags can be added to exercises in the edit view. Tags can monitored under /tags.
Added the concept of ProxyExercises which are a collection of Exercises. They can be found under /proxy_exercises
Added Interventions as prework to show interventions later to the user.
Added exercise/[:id]/working_time to return the working time of the user in this exercise and the average working time of all users in this exercise
2017-03-21 10:31:32 +01: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
Tom Staubitz
dd4c789fed replaced session_paramerters with server params for security reasons
cleaned up comments
2017-01-12 15:10:34 +01:00
Tom Staubitz
41a61a8507 Fixed the destroy session logic.
1. an exercise_id is provided ==> only the LtiParameter object for the current user, consumer, and exercise is deleted.
2. no exercise_id is provided ==> external user and consumer are removed from the session, all LtiParameter objects for this user and consumer are deleted.

This enables users to have several tabs with exercises open and submitting the results to the tool consumer.
When an exercise has been submitted, the user cannot use the back button to get back to CodeOcean and work on the submitted or any other exercise.
For now a warning has been added to the info text to tell users not to do this. (As the LtiParameters have been deleted, the points can no more be submitted to the consumer.)
@TODO disable/redirect back button?
2016-12-31 17:21:46 +01:00
Tom Staubitz
ca28e0aa87 updated rails from 4.1.13 to 4.2.5. This is required for rails to make use of new features in postgres 9.5
@Ralf
TODO: migration /Users/groucho/Documents/HPI/workspace/Xikolo-CodeOcean/codeocean/db/migrate/20160204111716_add_user_to_code_harbor_link.rb
is broken. A reference is made to table users which does not exist.
Workaround: run rake db:schema:load before running db:migrate. Still this should be fixed.
2016-12-31 00:05:23 +01:00
Ralf Teusner
1511941d3d Merge branch 'master' into editor-frontend-refactor
Conflicts:
	codeocean-dockerconfig.md
2016-11-09 18:00:40 +01:00
Ralf Teusner
ff7446fde6 redirect to RFCs on max score: redirect users to their own RFCs if they are open, fixed wrong usage of user_id (external_id is not used in RFCs, normal id has to be used!). 2016-11-09 17:58:10 +01:00
Ralf Teusner
0f76b1cb90 Merge branch 'master' into editor-frontend-refactor
Conflicts:
	app/assets/javascripts/editor.js.erb
---> kept refactored one
2016-09-09 14:17:42 +02:00
Ralf Teusner
8f499b72da Feature: Auto-Completion in Source Code
+ allow flags for exercises
2016-09-07 17:34:20 +02:00
Ralf Teusner
ddaed5929b Naming of sidebars 2016-09-01 18:47:16 +02:00
Alexander Kastius
e42330cf1b Added tooltip to request-comments button.
Added locale for all new texts.
2016-09-01 16:27:40 +02: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
rteusner
778b2cdd63 Merge pull request #79 from openHPI/dropdown3
implement dropdown menu
2016-08-03 14:39:31 +02:00
yqbk
b72b595388 implement dropdown menu 2016-08-03 14:32:01 +02:00
Ralf Teusner
ed3526a578 Merge branch 'master' into feature-file-templates
Conflicts:
	app/views/application/_navigation.html.slim
	config/locales/de.yml
	config/locales/en.yml
	db/schema.rb
2016-07-28 15:16:11 +02:00
yqbk
b0d468c0e0 remove rest of teams code -- NEED TO REMOVE TEAMS FROM DATABASE! 2016-06-30 12:17:19 +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
b7ce389961 Adapted locales so that german as well as english texts are now sent for every new comment. 2016-06-23 10:47:44 +02:00
Ralf Teusner
e0eac20361 added some more line breaks to the mail bodys of mails on new comments. 2016-06-22 14:21:17 +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
Maximilian Grundke
7ef401f75a Add navigation item for file templates 2016-06-10 18:15:37 +02:00
Maximilian Grundke
4d2676fea7 Only show file templates which are available for the selected file type 2016-06-10 17:48:04 +02:00
Maximilian Grundke
4f8feb38e1 Use file template to generate new file content 2016-06-10 13:41:38 +02:00