Commit Graph

63 Commits

Author SHA1 Message Date
217239e076 Rollback schema changes from different branch 2017-09-13 09:56:33 +02:00
bb6c266b13 Rename subscription#type to subscription_type to avoid rails stumbling over polymorphism 2017-09-13 07:54:43 +02:00
5aa9edb209 Add subscription model and link it to RFC 2017-09-06 15:16:47 +02:00
f0fb52d92a Add thank you note to rfc 2017-06-08 16:46:15 +02:00
5949d1208e Merge branch 'master' into client-routesv2 2017-04-25 13:50:08 +02:00
3cf123c61e added working time estimation into user feedback 2017-04-12 10:57:44 +02:00
73c3b902a3 save progress. added user feedback view and stuff 2017-04-11 15:00:35 +02:00
b1f9f1cc92 set request_for_comment.solved default to false and set all null values in database for that attribute to false 2017-04-03 19:51:32 +02:00
6c77b0743d updated schema with indexes. 2017-03-24 18:48:02 +01:00
4ff600ff45 added index to submissions for better performance in recommending exercises 2017-03-23 14:10:09 +01:00
dbfff77a40 added missing proxyexercise which caused problems when recommending exercises 2017-03-21 16:14:49 +01:00
10bcfc998c update schema.rb 2017-03-21 12:15:50 +01:00
7ef318713b added reason vor proxy exercise 2017-03-21 10:31:33 +01:00
695b8946f6 added search intervention. search opens new tab with search in the java course (at least in chrome)
send only 3 interventions per exercise at maximum
2017-03-21 10:31:33 +01:00
3d7f5bdf1a added intervention controller and stuff 2017-03-21 10:31:32 +01:00
9935cb3048 default value for tag factor 1 2017-03-21 10:31:32 +01:00
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
213ca6c6a1 add structure.sql 2017-02-02 18:24:21 +01:00
3562aa9103 create remote evaluation 2017-02-02 18:14:33 +01:00
5fe12bfa78 fixing tests p1 2017-01-12 18:12:36 +01:00
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
f4c01879bf preparations to replace session with lti_parameters object 2016-12-27 00:13:41 +01:00
2b55e0081c change LtiParameters Table 2016-12-16 15:28:40 +01:00
44380c0cc1 added model for lti_parameters 2016-12-14 15:53:16 +01:00
8f499b72da Feature: Auto-Completion in Source Code
+ allow flags for exercises
2016-09-07 17:34:20 +02:00
8abc0bb15a cleanup 2016-08-26 13:22:16 +02:00
b6cf5d313a migration 2016-08-12 13:33:55 +02:00
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
8282820974 removed requested_at
partly using submission_id
some cleanup
2016-07-14 16:22:22 +02:00
f5868a4fa2 merge master 2016-07-14 13:22:24 +02:00
59536ab189 the migrations to the changes in schema.rb. 2016-07-04 17:46:37 +02:00
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
2a52b66daa rfc can now be solved.
show.html still needs to be finished
2016-06-24 16:44:34 +02:00
4f8feb38e1 Use file template to generate new file content 2016-06-10 13:41:38 +02:00
1cd879bcb6 Scaffold file templates 2016-06-09 22:38:19 +02:00
7ec3443adf Change comments relation to use text data type for attribute text 2016-05-12 16:23:40 +02:00
6c820b75c7 Add boolean flag to allow file creation 2016-05-10 17:05:43 +02:00
07fa0ef2a9 Add question to RequestForComment model 2016-04-26 13:58:49 +02:00
b66e9fc05d Add Testrun to schema 2016-03-02 14:52:39 +01:00
551552279b Update schema.rb 2016-03-02 12:17:20 +01:00
63502831aa Change forgotten schema.rb
(leoselig/codeocean#2)
2016-02-04 13:34:55 +01:00
68e74a9d85 Add association User has many CodeHarborLink
- add migration tht associates User with CodeHarborLink
- add belongs_to from CodeHarborLink to User
- changed CodeHarborLinkController#index to only serve current user's
  CodeHarborLinks

(leoselig/codeocean#2)
2016-02-04 12:38:46 +01:00
e534a8cb2d Add authorization to CodeHarborLink controller
(leoselig/codeocean#2)
2016-02-04 11:42:03 +01:00
76bf3dd3f0 Scaffold CodeHarbourLink with field oauth2token
(leoselig/codeocean#2)
2016-02-04 11:02:26 +01:00
5da6e74c1c forgot to push the according migration to hiding the file tree... 2015-10-08 18:57:48 +02:00
10da12f950 option to hide the file tree in exercises. 2015-09-22 18:22:25 +02:00
d292fec47c Code Cleanup: Usage of Polymorphic User instead of ExternalUser and InternalUser
Renamed requestor_user_id -> user_id
Index of request_for_comments now returns the n (5?) newest requests per user. Solved via sliding windows in postgres, code added to model.
Added route to /my_request_for_comments/ that shows all requests for the current user.
Changed view from ERB to slim
2015-09-04 14:05:30 +02:00
e520914385 Some correction of column names.
Support for internal as well as external users. Added column user_type and used it where necessary
2015-08-18 17:44:31 +02:00
c7583f3eda Add index on Files 2015-04-21 09:50:23 +02:00
172ca91329 bugfixes, policies, errors now have a link to the submissions 2015-04-10 20:23:38 +02:00