Commit Graph

  • d4f1c5aee1 Use correct policy to check if RfC could be accessed Sebastian Serth 2019-02-07 21:13:21 +01:00
  • 903ae02bbe Prevent development servers from trying to send an email Sebastian Serth 2019-02-06 13:51:33 +01:00
  • 1b72d9d01a Merge pull request #251 from openHPI/bugfixes rteusner 2019-02-05 13:15:25 +01:00
  • 2df992102f Allow LTI clients to specify a redirect target Sebastian Serth 2019-02-05 12:13:46 +01:00
  • c74f2bd4ba Fix response format handling when creating a comment Sebastian Serth 2019-02-05 12:11:32 +01:00
  • f7030e3506 Refactor redirect if user is not authorized Sebastian Serth 2019-01-31 13:06:28 +01:00
  • 4308f0f3cd Hide other occurrences of the same user from appearing in wrong StudyGroup Sebastian Serth 2019-01-17 19:05:54 +01:00
  • c498d2b08b Allow sign in via case insensitive email address Sebastian Serth 2019-01-17 18:44:11 +01:00
  • ff8c1f6838 Use index? to validate permissions of classes instead of show? for obj. Sebastian Serth 2019-01-17 18:34:04 +01:00
  • 0b5ec1820d Fix link for external users Sebastian Serth 2019-01-15 17:37:34 +01:00
  • 7eab61dc8f Show nice name for StudyGroups Sebastian Serth 2019-01-15 17:36:57 +01:00
  • d45dc04a3e Limit redirect to host Sebastian Serth 2019-01-15 17:36:32 +01:00
  • 27aa822e27 Migration: Skip if submission is blank Sebastian Serth 2018-12-20 15:17:21 +01:00
  • 3a4b359e91 Merge pull request #249 from openHPI/fix_role_via_LTI rteusner 2018-12-20 14:53:44 +01:00
  • 9087d42088 Fix usage of incorrect downcase method Sebastian Serth 2018-12-19 19:47:16 +01:00
  • ac7e41d8b3 Merge pull request #248 from openHPI/improve_groups rteusner 2018-12-19 13:57:41 +01:00
  • c906b3240a Merge pull request #243 from openHPI/add_roles_via_LTI rteusner 2018-12-19 13:50:32 +01:00
  • d95cf1cffb Merge branch 'master' into add_roles_via_LTI Sebastian Serth 2018-12-19 01:44:34 +01:00
  • 1693824690 Clean routes and remove invalid ones Sebastian Serth 2018-12-19 01:42:53 +01:00
  • 71cd9e3488 Remove user_exercise_feedback index and show routes / views Sebastian Serth 2018-12-19 01:35:00 +01:00
  • 0e8c663039 Remove intervention controller, route and policy Sebastian Serth 2018-12-19 01:29:42 +01:00
  • c0608b6f50 Don't set admin privileges through LTI Sebastian Serth 2018-12-19 00:58:04 +01:00
  • f74c241141 Update app/views/shared/_file.html.slim MrSerth 2018-12-18 17:05:18 +01:00
  • 6e6e7f4765 Update app/views/execution_environments/statistics.html.slim MrSerth 2018-12-18 16:29:30 +01:00
  • 0a5bb4854a Update config/locales/en.yml MrSerth 2018-12-18 15:30:38 +01:00
  • ebd8b56ebf Merge pull request #237 from openHPI/repair_charts MrSerth 2018-12-18 15:24:23 +01:00
  • 86f2f42fa1 Merge pull request #247 from openHPI/fix_commentors_query MrSerth 2018-12-14 18:13:06 +01:00
  • 7dc83065eb Create study groups for every LTI launch Sebastian Serth 2018-12-14 15:11:50 +01:00
  • 7983c0797a Add view for StudyGroups Sebastian Serth 2018-12-14 14:52:04 +01:00
  • 9061a07763 Merge pull request #245 from openHPI/add_groups rteusner 2018-12-14 13:41:28 +01:00
  • 76079bb47d one line the loop, thanks for the hint @MrSerth Ralf Teusner 2018-12-14 13:36:24 +01:00
  • 2c29bf4e2b Merge branch 'master' into add_groups rteusner 2018-12-13 16:28:34 +01:00
  • 1a26d67c82 Merge branch 'master' into add_roles_via_LTI Sebastian Serth 2018-12-14 00:53:06 +01:00
  • 6c46566174 Merge pull request #242 from openHPI/fix_proxy_exercise rteusner 2018-12-13 16:23:51 +01:00
  • ff701e52bb Merge pull request #244 from openHPI/specify_embed_options rteusner 2018-12-13 16:21:55 +01:00
  • 2bdb51ba14 Merge pull request #246 from openHPI/consider_empty_name_and_mail_for_external_users rteusner 2018-12-13 16:19:48 +01:00
  • 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.. Ralf Teusner 2018-12-13 16:16:12 +01:00
  • f0a462e3b8 Ensure that migration will always succeed Sebastian Serth 2018-12-13 14:30:21 +01:00
  • 88081bb541 Replace usage of name in favor of displayname Sebastian Serth 2018-12-13 13:11:32 +01:00
  • 4a1cd3037c Fix execution of code via Ajax. Add output message for program runs without any output Sebastian Serth 2018-12-13 13:55:45 +01:00
  • d45a68a123 Minor: Fix spelling in comment Sebastian Serth 2018-12-13 12:57:49 +01:00
  • b4b9ab48d0 External User: Set name to displayname and introduce real_name Sebastian Serth 2018-12-12 16:47:49 +01:00
  • 25602972ab Prevent delivery of mails to non-existent empty mail addresses Sebastian Serth 2018-12-12 14:11:57 +01:00
  • 3665058435 Fix tests and slightly refactor some policies Sebastian Serth 2018-11-30 15:44:45 +01:00
  • 2125fb1c1d Ensure views only link to those actions allowed for current user Sebastian Serth 2018-11-30 13:29:04 +01:00
  • d3f67ab4c7 Rethink permissions in CodeOcean for usage in schools and adopt views Sebastian Serth 2018-11-27 17:05:38 +01:00
  • 7a63a9c1c1 Hide navigation elements in the UI based on policies Sebastian Serth 2018-11-22 19:11:40 +01:00
  • 4b251599ff Use admin? or teacher? for permission check instead of internal_user? Sebastian Serth 2018-11-22 18:55:54 +01:00
  • 71fd3b9b07 Add role to ExternalUser and update it via LTI Sebastian Serth 2018-11-22 18:45:31 +01:00
  • b137e64020 Add StudyGroups with ExternalUsers only Sebastian Serth 2018-11-26 17:06:35 +01:00
  • 141450a840 Migrate User to abstract class Sebastian Serth 2018-11-25 20:22:43 +01:00
  • 6bf1bde2ea Allow sign out request via GET Sebastian Serth 2018-12-11 14:30:00 +01:00
  • a0d8b30ef2 Implement support for some basic embed options for work sheets via LTI Sebastian Serth 2018-12-10 16:53:43 +01:00
  • 4fd128b31b Merge pull request #241 from openHPI/fix_access_on_active_file rteusner 2018-12-07 20:17:08 +01:00
  • 59257d17f2 Add user (ID and type) to proxy exercise Sebastian Serth 2018-11-22 19:16:03 +01:00
  • 1833435268 Use CodeOceanEditor.active_file to access file selected in JSFileTree Sebastian Serth 2018-12-05 13:46:44 +01:00
  • 95503c7b7d Include some improvements from current master Sebastian Serth 2018-12-02 15:09:39 +01:00
  • b6ff7ede99 Rebase repair-charts onto master Sebastian Serth 2018-11-28 17:21:50 +01:00
  • e08e02f1c8 Merge pull request #240 from openHPI/snyk-fix-nw3acm rteusner 2018-11-30 15:42:47 +01:00
  • 8dfcef3e45 Merge pull request #235 from openHPI/remove_old_hints rteusner 2018-11-30 15:41:01 +01:00
  • 77c5367650 Merge pull request #239 from openHPI/remove_old_errors rteusner 2018-11-30 15:40:33 +01:00
  • c452fa16bd Merge pull request #238 from openHPI/fix_editing_exercises rteusner 2018-11-30 15:39:58 +01:00
  • b9bf869b55 fix: Gemfile & Gemfile.lock to reduce vulnerabilities snyk-bot 2018-11-30 14:26:39 +00:00
  • 58e01880df Merge pull request #208 from openHPI/flowr rteusner 2018-11-30 15:26:23 +01:00
  • 56c59a616e Completely remove old non-structured errors and migrate existing ones. Sebastian Serth 2018-11-29 19:38:23 +01:00
  • b94289f36f Fix adding files to exercises (as admin) Sebastian Serth 2018-11-29 22:32:12 +01:00
  • 8ccdb79fef Flowr: Return empty array if no submission was found Sebastian Serth 2018-11-28 23:42:37 +01:00
  • 64d5a0f9b2 Fix caret to show down (collapsed state) after initial load Sebastian Serth 2018-11-28 22:54:40 +01:00
  • 63d36726aa Merge pull request #236 from openHPI/fix_testruns rteusner 2018-11-28 16:10:28 +01:00
  • 08ce579e8d Add comment about #insights? in SubmissionPolicy Sebastian Serth 2018-11-28 15:55:44 +01:00
  • 832b48ba62 Refactor /insights to throw a Pundit exception if no current_user is set Sebastian Serth 2018-11-28 15:44:45 +01:00
  • 8381b4f1ba Specify file as optional for testruns Sebastian Serth 2018-11-28 15:23:32 +01:00
  • 212867f300 Fix flowr output to work with Bootstrap 4 Sebastian Serth 2018-11-28 15:22:21 +01:00
  • b9dce854c4 Merge remote-tracking branch 'origin/master' into flowr Maximilian Grundke 2018-11-28 13:14:21 +01:00
  • efacb5a6a9 Completely remove old hints connected to the execution environment Sebastian Serth 2018-11-27 18:15:12 +01:00
  • 5d13ee0e56 Merge pull request #230 from openHPI/fix_download rteusner 2018-11-27 15:49:18 +01:00
  • 3980b78d92 Merge pull request #232 from openHPI/fix_empty_docker_image_tag rteusner 2018-11-27 15:46:11 +01:00
  • c65488880e Merge pull request #231 from openHPI/fix_db_rake_tasks rteusner 2018-11-27 15:44:12 +01:00
  • 0a624c3d5b Merge pull request #229 from openHPI/fix_db_migrations rteusner 2018-11-27 15:42:55 +01:00
  • 85088a60d0 Merge pull request #228 from openHPI/fix_flash_messages rteusner 2018-11-27 15:42:14 +01:00
  • 1131d08e2b Add user_type to RemoteEvaluationMappings Sebastian Serth 2018-11-26 17:56:07 +01:00
  • 94808cc9ef Merge pull request #234 from openHPI/fix_jquery MrSerth 2018-11-26 12:35:19 +01:00
  • 16a5345a71 Migrate jQuery function use for ajax in case of success or failure Sebastian Serth 2018-11-26 12:23:30 +01:00
  • 44dc18feb0 Add version identifier to old migrations (required for Rails 5) Sebastian Serth 2018-11-22 19:05:19 +01:00
  • 39a822f8bf Skip all docker images not tagged (otherwise, the method crashes) Sebastian Serth 2018-11-22 19:03:35 +01:00
  • 942d87f9ba Prevent creation of the Docker containers if just running a db rake task Sebastian Serth 2018-11-22 19:02:33 +01:00
  • c4f9c2fc85 Prevent redirection if possible Sebastian Serth 2018-11-22 19:00:01 +01:00
  • 68c07f49cf Show flash messages based on turbolinks:load instead of real page load Sebastian Serth 2018-11-22 18:59:07 +01:00
  • bb10e191ed Specify ExternalUser as class for user in RemoteEvaluationMapping Sebastian Serth 2018-11-22 18:57:58 +01:00
  • 0fbbe97ae4 revert 8acd77d9c4 Ralf Teusner 2018-11-16 10:38:36 +01:00
  • d7dcbdc799 Merge pull request #200 from openHPI/remove-ab-tests rteusner 2018-11-15 18:02:34 +01:00
  • 864f326bc5 Merge pull request #224 from openHPI/rt/fix_uef rteusner 2018-11-15 17:29:34 +01:00
  • 06756bceeb Merge pull request #226 from openHPI/clean_up_provision rteusner 2018-11-15 17:16:50 +01:00
  • 9507bdb329 cleanup duplicate code Ralf Teusner 2018-11-15 17:15:57 +01:00
  • 23bb698f74 Fix retrieval of user_exercise_feedback and exercise Ralf Teusner 2018-10-23 14:59:11 +02:00
  • 8acd77d9c4 temporary changes to render pictures again. Ralf Teusner 2018-11-13 13:07:49 +01:00
  • 68142042f0 Vagrant: Prevent installation of older node.js versions Sebastian Serth 2018-11-07 22:10:02 +01:00
  • 374702c45d enable ES6 syntax Ralf Teusner 2018-11-06 18:10:59 +01:00
  • d06ed21171 Restyle user exercise feedback to look nicer (not nice) Sebastian Serth 2018-11-06 17:17:58 +01:00
  • 8a211da0c1 Merge pull request #207 from openHPI/updates rteusner 2018-11-06 17:15:58 +01:00