Start to support Overleaf 5.1.1#58
Conversation
|
Great work! It seems that there may be an issue with LDAP. I should have some time later to take a look at it. Updated: Sorry for the delay. I have to mention that this project requires a better development environment. it's quite difficult to debug with LDAP at the moment. |
|
Hi, is there any update on this? |
|
I will have a look into this pull request in the upcoming week - sorry for the delay. |
|
Current sharelatex version is 5.3.0, an update would be very cool |
have you tried to run overleaf in dev mode? https://github.com/overleaf/overleaf/tree/main/develop It will mount actual source inside docker and apply code changes to running code. |
|
I wonder if the effort of the individual Overleaf "repair" projects can be combined somehow... |
Hello,
This PR was made to try to make #50 progress.
I used two great sources to begin this pull request:
The purpose behind this PR is to propose only changes related to 5.1.1 support. This pull request does not provide a complete support for 5.1.1
Suggestions and review are really welcome. If this PR can help someone in the process of updating ldap-overleaf-sl to support Overleaf 5.1.1, feel free to use it and improve it.
Implemented changes
OVERLEAFnavbar.pugbynavbar-website-redesign.pugOAuth 2
OAuth 2 was tried against a provider, and should work. Only a few changes were related to OAuth.
LDAP
LDAP features are partially updated for 5.1.1. Changes made are mostly related to the use of the promise based syntax.
Currently, LDAP features does not work, and are commented out in this PR.
If someone manages to fix them, help would be really appreciated.
Update to V5
Migrations steps are required to update to V5, especially for the database migration.
Users should also update environment variables and volume mounts : https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#mongodb-upgrade-to-v5
Documentation needs to be written on this subject
close #50