Commit Graph

247 Commits

Author SHA1 Message Date
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
bfa12899a5 adjust german locales to comply with the standard form of address 2016-11-09 18:09:24 +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
1c7b4c931b Added german locale. 2016-09-01 16:29:45 +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
83cf3b2321 added line breaks (<br> tags) in the email body. 2016-06-22 14:16:23 +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
tstaubitz
a1ead9658e Update de.yml 2016-06-14 17:27:15 +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
Maximilian Grundke
1cd879bcb6 Scaffold file templates 2016-06-09 22:38:19 +02:00
yqbk
10e68915d8 add key exercise_deadline_passed 2016-05-12 17:34:30 +02:00
rteusner
3cd29556bb Merge pull request #53 from openHPI/fix-file-creation-behavior
Fix file creation behavior
2016-05-10 18:34:21 +02:00
Maximilian Grundke
87d4eb8b0d Let everyone see all comments and polish request for comments overview 2016-05-10 18:17:02 +02:00
Maximilian Grundke
aba6d56a87 Enable exercise forms to manipulate file creation flag 2016-05-10 17:14:07 +02:00
Maximilian Grundke
9fc974af20 Implement file name validation based on path, name, and filetype upon file creation 2016-05-10 16:03:52 +02:00
Ralf Teusner
1f7f2865a0 Some cosmetic changes. Fade out of button after asking a question, some margin to avoid interference of the button with scrollbars, reduced timeframe upon appearance and changed modal window description text. 2016-05-01 12:12:46 +02:00
Maximilian Grundke
88a81dceb5 Fix labels for comment deletion 2016-04-30 14:27:36 +02:00
Maximilian Grundke
ee164b9e68 Fix I18n for request success message 2016-04-30 14:17:37 +02:00
Maximilian Grundke
268b723f3a Fallback for no question asked 2016-04-30 14:02:49 +02:00
Maximilian Grundke
c4405e24b9 Show question in overview 2016-04-30 13:57:23 +02:00
Maximilian Grundke
027c6013eb Implement request modal 2016-04-30 12:55:58 +02:00
Maximilian Grundke
ba040beceb Add link to all requests 2016-04-26 14:21:25 +02:00
Maximilian Grundke
99ee7337ed Add python adapter error messages to score output 2016-03-09 18:01:30 +01:00
Maximilian Grundke
16346fa732 Show testrun results in statistics 2016-03-09 15:20:38 +01:00
Maximilian Grundke
f17ae9ad2f Merge remote-tracking branch 'origin/master' into statistics 2016-03-02 12:01:16 +01:00
leo.selig
aee5585189 Change German i18n "CodeHarbor-Verknüpfung(en)" to "...Link(s)"
(leoselig/codeocean#2)
2016-02-04 13:32:50 +01:00
leo.selig
057b19cf2a Translate CodeHarbor links (en/de)
- model name (singular/plural)
- attribute oauth2token
(leoselig/codeocean#2)
2016-02-04 11:57:54 +01:00
Maximilian Grundke
4ebaee8931 Add working time delta for each submission 2016-02-04 11:36:00 +01:00
Maximilian Grundke
4ee474a7d2 Speed up external user statistics 2016-01-28 14:46:25 +01:00
Ralf Teusner
5b8f710196 added standard deviations 2016-01-11 19:00:53 +01:00
Maximilian Grundke
76e91ec2cf Add number of users and relative scores to execution environment statistics 2016-01-06 16:59:51 +01:00
Maximilian Grundke
0a779e4ed1 Implement exercise statistics for specific (external) users 2015-12-16 15:40:31 +01:00
Ralf Teusner
a0680d34c3 Merge branch 'master' into statistics 2015-12-15 16:17:10 +01:00