Commit Graph

2081 Commits

Author SHA1 Message Date
Sebastian Serth
016526240d Switch to postgres adapter for ActionCable
With using postgres, we remove the need of introducing a redis store
2019-03-12 09:54:18 +01:00
Sebastian Serth
7f1a7fbaa0 Fix error in displaying JStree and revert new default for FactoryBot 2019-03-11 23:43:02 +01:00
Sebastian Serth
a0b544fb26 Upgrade Ransack #search to #ransack to prevent deprecation warning 2019-03-11 09:59:38 +01:00
Sebastian Serth
114f77e799 Extract WORKING_TIME_DELTA to be used globally and set it to 5 min. 2019-03-09 00:32:36 +01:00
Sebastian Serth
26c2069e02 Move d3 to package.json and include I18n JS library though Gemfile
Also, update bundle to make it installable again (a version had been removed)
2019-03-09 00:31:56 +01:00
Sebastian Serth
3e4efdfca9 Update yarn packages to fix deprecation warning 2019-03-06 14:01:00 +01:00
Sebastian Serth
d63700c7db Add live dashboard for teachers in the context of an exercise
This commit also adds the fundamentals for ActionCable
2019-03-06 14:00:59 +01:00
Sebastian Serth
6e03939c10 Add StudyGroup to submissions and show it for submissions and RfCs
Also take care of deleting a StudyGroup for existing submissions
2019-03-06 14:00:58 +01:00
Sebastian Serth
532416b9d3 Fix sending a "Thank you note" mail 2019-02-14 18:06:34 +01:00
Sebastian Serth
1e769a1085 Upgrade bundle 2019-02-13 12:04:10 +01:00
rteusner
1b72d9d01a Merge pull request #251 from openHPI/bugfixes
Multiple Bugfixes
2019-02-05 13:15:25 +01:00
Sebastian Serth
2df992102f Allow LTI clients to specify a redirect target 2019-02-05 12:13:46 +01:00
Sebastian Serth
c74f2bd4ba Fix response format handling when creating a comment 2019-02-05 12:11:32 +01:00
Sebastian Serth
f7030e3506 Refactor redirect if user is not authorized 2019-01-31 13:06:28 +01:00
Sebastian Serth
4308f0f3cd Hide other occurrences of the same user from appearing in wrong StudyGroup 2019-01-17 19:05:54 +01:00
Sebastian Serth
c498d2b08b Allow sign in via case insensitive email address 2019-01-17 18:44:11 +01:00
Sebastian Serth
ff8c1f6838 Use index? to validate permissions of classes instead of show? for obj. 2019-01-17 18:34:04 +01:00
Sebastian Serth
0b5ec1820d Fix link for external users 2019-01-15 17:37:34 +01:00
Sebastian Serth
7eab61dc8f Show nice name for StudyGroups 2019-01-15 17:36:57 +01:00
Sebastian Serth
d45dc04a3e Limit redirect to host 2019-01-15 17:36:32 +01:00
Sebastian Serth
27aa822e27 Migration: Skip if submission is blank 2018-12-20 15:17:29 +01:00
rteusner
3a4b359e91 Merge pull request #249 from openHPI/fix_role_via_LTI
Fix usage of incorrect downcase method
2018-12-20 14:53:44 +01:00
Sebastian Serth
9087d42088 Fix usage of incorrect downcase method 2018-12-19 19:47:16 +01:00
rteusner
ac7e41d8b3 Merge pull request #248 from openHPI/improve_groups
Improve groups with a view and always create a group
2018-12-19 13:57:41 +01:00
rteusner
c906b3240a Merge pull request #243 from openHPI/add_roles_via_LTI
Add roles via LTI
2018-12-19 13:50:32 +01:00
Sebastian Serth
d95cf1cffb Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/controllers/concerns/lti.rb
2018-12-19 01:44:34 +01:00
Sebastian Serth
1693824690 Clean routes and remove invalid ones 2018-12-19 01:43:37 +01:00
Sebastian Serth
71cd9e3488 Remove user_exercise_feedback index and show routes / views 2018-12-19 01:43:37 +01:00
Sebastian Serth
0e8c663039 Remove intervention controller, route and policy 2018-12-19 01:43:37 +01:00
Sebastian Serth
c0608b6f50 Don't set admin privileges through LTI 2018-12-19 01:43:37 +01:00
MrSerth
f74c241141 Update app/views/shared/_file.html.slim 2018-12-18 17:05:18 +01:00
MrSerth
6e6e7f4765 Update app/views/execution_environments/statistics.html.slim 2018-12-18 16:29:30 +01:00
MrSerth
0a5bb4854a Update config/locales/en.yml 2018-12-18 15:30:38 +01:00
MrSerth
ebd8b56ebf Merge pull request #237 from openHPI/repair_charts
Improve working time bar graph
2018-12-18 15:24:23 +01:00
MrSerth
86f2f42fa1 Merge pull request #247 from openHPI/fix_commentors_query
fix active record induced error on postgres by removing distinct.
2018-12-14 18:13:06 +01:00
Sebastian Serth
7dc83065eb Create study groups for every LTI launch 2018-12-14 15:11:50 +01:00
Sebastian Serth
7983c0797a Add view for StudyGroups 2018-12-14 14:52:04 +01:00
rteusner
9061a07763 Merge pull request #245 from openHPI/add_groups
Add groups via LTI
2018-12-14 13:41:28 +01:00
Ralf Teusner
76079bb47d one line the loop, thanks for the hint @MrSerth 2018-12-14 13:36:24 +01:00
rteusner
2c29bf4e2b Merge branch 'master' into add_groups 2018-12-14 00:57:26 +01:00
Sebastian Serth
1a26d67c82 Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/views/application/_breadcrumbs.html.slim
#	app/views/application/welcome.html.slim
#	app/views/exercise_collections/show.html.slim
#	app/views/external_users/index.html.slim
#	app/views/layouts/application.html.slim
#	app/views/proxy_exercises/index.html.slim
#	app/views/user_exercise_feedbacks/index.html.slim
#	app/views/user_mailer/send_thank_you_note.slim
2018-12-14 00:53:06 +01:00
rteusner
6c46566174 Merge pull request #242 from openHPI/fix_proxy_exercise
Add user (ID and type) to proxy exercise
2018-12-13 16:23:51 +01:00
rteusner
ff701e52bb Merge pull request #244 from openHPI/specify_embed_options
Implement support for some basic embed options for work sheets via LTI
2018-12-13 16:21:55 +01:00
rteusner
2bdb51ba14 Merge pull request #246 from openHPI/consider_empty_name_and_mail_for_external_users
Consider empty name and mail for external users
2018-12-13 16:19:48 +01:00
Ralf Teusner
8558c5041f fix active record induced error on postgres by removing distinct.
Inlining the code did not turn out well, as we have to cope with the polymorphic association of user here..
2018-12-13 16:16:12 +01:00
Sebastian Serth
f0a462e3b8 Ensure that migration will always succeed 2018-12-13 14:30:21 +01:00
Sebastian Serth
88081bb541 Replace usage of name in favor of displayname 2018-12-13 14:27:55 +01:00
Sebastian Serth
4a1cd3037c Fix execution of code via Ajax.
Add output message for program runs without any output
2018-12-13 13:55:45 +01:00
Sebastian Serth
d45a68a123 Minor: Fix spelling in comment 2018-12-13 12:57:49 +01:00
Sebastian Serth
b4b9ab48d0 External User: Set name to displayname and introduce real_name 2018-12-12 16:47:49 +01:00