help to up to date CAS integration

50 views
Skip to first unread message

Mahyar Damavand

unread,
Aug 4, 2016, 9:36:50 AM8/4/16
to General Open edX discussion
Hi,

after about 1 week hard working on CAS login activation for my open Edx instance
now I learn many things about python and django ( Basically I'm a php programmer )
Also I understood that this feature has a lot of bugs and does not work properly ( at least on dogwood ) because of no maintenance over the time
now I want to help to make this useful feature usable again

Regards,
Mahyar

Peter Pinch

unread,
Aug 4, 2016, 9:54:32 AM8/4/16
to edx-...@googlegroups.com
Hi Mahyar. We're in the process of deploying Dogwood and CAS on campus at MIT right now and we've updated the django-cas library that open edX depends on.


And we've submitted a pull request to edX to update edx-platform accordingly: https://github.com/edx/edx-platform/pull/12998

It would actually be super helpful if you could try this out and give some feedback on the pull request. 

- Peter



Peter Pinch |  Associate Director of Engineering, Office of Digital Learning
Massachusetts Institute of Technology
One Main Street  |  Cambridge MA 02142
pdp...@mit.edu | T 617-253-6256C 617-652-0183






--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/b3fb9256-60f5-434e-a407-063d21910eca%40googlegroups.com.

Mahyar Damavand

unread,
Aug 5, 2016, 5:36:09 AM8/5/16
to General Open edX discussion
Hi Peter,
It's my pleasure to help you for this. 
I should tell you that this is my first contribute on such a greate project and I don't know how a pull request helps for developing but I'll google it tomorrow.

By now I have 2 questions:
1. Why you don't use django_cas_ng which is a live replacement for dead django_cas project and supports python v3 and soon django 1.10.
I did so with some small changes and I succeed to activate cas login

2. What should I do exactly. Should I play an end-user role. If so first I need some documents for Installation, configuration, testing and etc.

and another small question,
Is your own django-cas at v2.1.1 and still not included in the main open Edx? Is this a continuation for the major django-cas?

Thanks for your attention.

Regards,
Mahyar

Peter Pinch

unread,
Aug 5, 2016, 9:11:04 AM8/5/16
to edx-...@googlegroups.com, Tobias Macey, Brandon DeRosier
Hi Mahyar. I didn't realize you were using django_cas_ng. If it's working for you, then there's probably not much point for you testing our fork of django-cas. 

We have not been using django_cas_ng because it doesn't support django 1.4 (!) which the prior version of edX used (Cypress). Perhaps we should have switched to it when we upgraded to dogwood, instead of forking django-cas. 

What bugs have you run into with CAS and dogwood? There is an issue with profiles that we fixed with commit 9220c4d. You might want to cherry pick that. 

- Peter





Peter Pinch |  Associate Director of Engineering, Office of Digital Learning
Massachusetts Institute of Technology
One Main Street  |  Cambridge MA 02142
pdp...@mit.edu | T 617-253-6256C 617-652-0183






--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
Reply all
Reply to author
Forward
0 new messages