Commit Graph

119 Commits

Author SHA1 Message Date
yzx9
d5bf3e5d1c Add OAuth2 docs 2023-11-25 12:41:01 +08:00
Zexin Yuan
f2f629e3ee
Merge branch 'master' into feature/oauth2 2023-11-25 01:54:29 +08:00
yzx9
94fa8fb192 Add OAuth2 authorization content type configuration 2023-11-25 01:41:55 +08:00
yzx9
40eb01cce4 Add OAuth2 state validation 2023-11-25 01:26:00 +08:00
yzx9
d94aa2fdf9 Custom provider name 2023-11-25 01:05:40 +08:00
yzx9
b1d9cedddb Add oauth enable flag 2023-11-24 14:41:49 +08:00
yzx9
a30419ea5a Disable secure cookie in no proxy settings 2023-11-24 13:58:33 +08:00
yzx9
78652946ee Update README.md 2023-11-23 17:20:11 +08:00
yzx9
f53790c452 Fix bugs 2023-11-23 17:06:44 +08:00
yzx9
242183d601 Add docker-compose.yml 2023-11-23 12:27:53 +08:00
yzx9
1f7c65aa6d Cache docker build 2023-11-23 12:18:25 +08:00
sym
15a3a609f4
Update README.md 2023-11-22 11:00:43 +01:00
yzx9
b225d6a8ce Update OAuth2 Configuration 2023-11-22 15:32:01 +08:00
yzx9
a40aec7677 Add OAuth2 Support (WIP) 2023-11-22 11:45:15 +08:00
sym
c5e8e6f79a
Update README.md 2023-11-21 12:20:20 +01:00
sym
d049e4534a
Update README.md 2023-11-21 12:20:04 +01:00
sym
ed63dd0527
Merge pull request #31 from yzx9/feature/sharelatex411
Update sharelatex to v4.1.1:
- v.4.1.1 works but i have still troubles migrating the projects from 3.3.2 (even after running the migrations scripts from 3.5.10)
2023-11-21 12:17:01 +01:00
Zexin Yuan
062f17e0f7
Fix wrong indentation 2023-11-08 10:18:32 +08:00
Zexin Yuan
48b1623c95
Merge branch 'master' into feature/sharelatex411 2023-09-18 23:21:06 +08:00
yzx9
7ac46ad430 Remove placeholder of share.pug 2023-09-18 23:05:36 +08:00
gizmo1-11
a382fbc194 changed variable "user1" to "user"
I used "user1", because Im not sure about the scope inside the anonymous callback functions
2023-09-18 22:52:00 +08:00
yzx9
a107b6444c Clean apt cache 2023-09-18 22:52:00 +08:00
yzx9
4bc203a757 Merge RUN command 2023-09-18 22:52:00 +08:00
yzx9
3a560801d9 Fix version of mongo and redis 2023-09-18 22:52:00 +08:00
yzx9
a99e70f3c4 Bump sharelatex to v4.1.1
- bump sharelatex
- init mongodb replset
- format docker-compose.yml
2023-09-18 22:52:00 +08:00
yzx9
c4775c7d7c Bump sharelatex from 3.3.2 to 4.0.5
Co-authored-by: gizmo1-11 <thom_schu@gmx.de>
2023-09-18 22:51:49 +08:00
yzx9
f645454a74 Fix authentication api changes
Co-authored-by: gizmo1-11 <thom_schu@gmx.de>
2023-09-18 22:48:37 +08:00
sym
ba1e78f2a8
Merge pull request #29 from yzx9/minimize-image-size
Minimize image size
2023-07-24 13:37:40 +02:00
yzx9
ad051a0e18 Clean apt cache 2023-07-20 19:30:56 +08:00
yzx9
810aa1d0e9 Merge RUN command 2023-07-20 19:25:56 +08:00
yzx9
a6448a51e9 Sync changes from upstream 2023-07-20 18:46:13 +08:00
Simon M. Haller-Seeber
a0e70e4f1f Adapted Contact Controller to work with Sharelatex 3.3.2 2022-12-21 11:07:59 +01:00
Simon M. Haller-Seeber
682d15d62e Merge branch 'master' of github.com:smhaller/ldap-overleaf-sl 2022-07-18 16:15:12 +02:00
Simon M. Haller-Seeber
46cdf93fd5 added http to https traefik forward 2022-07-18 16:14:59 +02:00
Simon M. Haller-Seeber
b42604f22c corrected sharelatex version to Dockerfile 2022-07-18 14:11:39 +02:00
sparkcyf
8995a35f70
Pin the ldapts package version, change the path of the fronted files in overleaf docker image.
Pin the version of the ldapts package to 3.2.4 as ldapts 4.0.0 drops the nodejs 12 support.
Change the path of the fronted files in overleaf docker image to follow the changes in overleaf 3.1
2022-06-09 12:47:20 +08:00
Simon M. Haller-Seeber
489b158b50 Merge branch 'master' of github.com:smhaller/ldap-overleaf-sl 2022-01-17 14:36:33 +01:00
Simon M. Haller-Seeber
da9a27b34d adapted changes from PR #15. 2022-01-17 14:36:17 +01:00
sym
c2c20cc861
Update README.md 2022-01-13 18:28:09 +01:00
Simon M. Haller-Seeber
41c172b587 Update to version sharelatex version 3.0.1. Tested changes with our small experimental environment: Seems to work with the applied small fixes. 2022-01-13 15:29:43 +01:00
sym
39ef130adc
Merge pull request #13 from davidmehren/fix_contacts_disable
Fix parsing the LDAP_CONTACTS environment variable. 
Thank you for the contribution!
2021-06-16 10:32:17 +02:00
David Mehren
c40b47135c
Fix parsing the LDAP_CONTACTS environment variable
The current code skips loading contact information from LDAP if
`!process.env.LDAP_CONTACTS` evaluates to `true`.

This is nearly never the case, as `process.env` contains strings
and non-empty strings evaluate to `true`, making the negation falsy.
Only an empty string in `LDAP_CONTACTS` (or not setting the environment
variable at all) skips the contact loading.

This commit changes the logic to only load contacts from LDAP if the
`LDAP_CONTACTS` environment variable is explicitly set to `"true"` (case
insensitive). This should bring the behaviour of the application more in
line with the expectation and the docs.
2021-06-14 17:34:42 +02:00
Simon M. Haller-Seeber
ba73f282ec small docker compose comments 2021-06-08 15:44:14 +02:00
sym
9cde93be05
Merge pull request #11 from SF2311/fix-contacts
Agreed.
2021-05-26 22:45:44 +02:00
Sven Feyerabend
19d3b30c93 Fix import of contacts 2021-05-26 17:09:58 +02:00
sym
256c887d8f
Update README.md 2021-05-25 23:07:15 +02:00
Simon Markus Haller
ca0dc33cb7 Merged pull reqeust #9. Added missing adaptions in ContactController. Generally moved GROUP_FILTER to USER_FILTER. Added some comments to the readme. 2021-05-25 15:35:13 +02:00
Simon Markus Haller
df51a6dbe0 Merge branch 'SF2311-fix-uid' 2021-05-25 13:58:19 +02:00
Simon Markus Haller
6263029df9 Merge branch 'fix-uid' of https://github.com/SF2311/ldap-overleaf-sl into SF2311-fix-uid 2021-05-25 13:56:55 +02:00
Sven Feyerabend
6992f2c8ed Allow ldap bind with authenticating user 2021-05-25 11:27:42 +02:00