0234414bae
Rename user to contributor in submission
2023-08-24 19:32:06 +02:00
97138288f4
Delete unused LTI params from session
2023-08-24 19:32:06 +02:00
9977e1614b
Allow external redirect for render host and LTI
...
We only use the `launch_presentation_return_url` provided to the @provider, in order to prevent using an open redirect.
2022-12-05 22:38:13 +01:00
574e99eddd
Fix rubocop offenses - Requires Ruby 3.1+
2022-11-25 11:10:06 +01:00
006c794f54
Fix rubocop offenses
2022-09-14 00:31:47 +02:00
7da47a7b5c
Improve tests based on expectations
...
Amends and improves da0a682f
2022-08-18 15:40:48 +02:00
cb0f30768f
Change HTTP links to HTTPS
2022-08-17 01:29:27 +02:00
d9f40531fb
Fix Rubocop offenses
2022-04-20 18:26:53 +02:00
ea85519163
Update bundle (with newest rubocop version) and fix offenses
2022-01-04 09:42:37 +01:00
da0a682ffb
Apply manual rubocop fixes
2021-05-14 22:03:06 +02:00
6cbecb5b39
Apply automatic rubocop fixes
2021-05-14 22:03:06 +02:00
0739e13b78
Fix LTI spec for clear_lti_session_data
2021-02-02 11:53:01 +01:00
c32e7586cd
Remove consumer_id from session
...
* Each external (and also internal) user has a consumer attached. We don't need that information twice.
2020-11-25 21:19:18 +01:00
564b249e50
Refactor send_score to have access to the submission
2020-05-12 17:51:07 +02:00
f2c45b2488
Add more LTI debug messages
2020-03-04 19:37:05 +01:00
a0d8b30ef2
Implement support for some basic embed options for work sheets via LTI
...
This commit also fixes an issue with the flash messages being positioned too high and displayed for too long
2018-12-11 14:29:36 +01:00
de52db89f0
Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
...
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de >
2018-11-06 16:46:00 +01:00
d5e16c967d
Reenable some LTI specs with mocked LTI parameter
2018-02-22 17:19:54 +01:00
0e26ab98c8
rename factory_girl_(rails) to factory_bot_(rails)
2017-11-15 15:18:07 +01:00
6d28f427d8
Add Ralf's comment to skipped tests
2017-10-25 10:12:29 +02:00
ffe4f65628
Adapt lti_spec to current functionality
2017-10-18 22:05:07 +02:00
350913de79
fixed LTI Spec
2017-03-21 10:31:33 +01:00
4af24d4317
fixing tests p2 lti_spec tests all passed
2017-01-13 00:37:07 +01:00
5fe12bfa78
fixing tests p1
2017-01-12 18:12:36 +01:00
325ea25849
Replaced session[:lti_parameters] with proper LtiParameter object.
...
Removed all tests that would be failing
TODO: decision if all LtiParameter objects for a certain user/consumer will be deleted when the user/consumer is deleted from the session, or only the LtiParameter object for the current exercise of the user/consumer.
TODO: replace removed tests with proper tests
2016-12-30 09:45:39 +01:00
6f1d8b2d38
Marked more locations that might require to be changed when we switch from session to LtiParameters Object
2016-12-27 07:48:59 +01:00
f4c01879bf
preparations to replace session with lti_parameters object
2016-12-27 00:13:41 +01:00
821b911ebb
added tests
2015-02-23 17:37:48 +01:00
a13d1738e2
fixed multiple style guide violations
2015-02-17 10:23:01 +01:00
6fbeb574e3
added tests
2015-02-10 15:36:03 +01:00
4cbf9970b1
transferred Code Ocean from original repository to GitHub
2015-01-22 10:01:32 +01:00