Commit Graph

22 Commits

Author SHA1 Message Date
e749eec5ff Remove more merge mistakes 2021-02-05 13:30:08 +01:00
2f5f312d9c Move the Django API Permissions to a FastAPI dependency 2021-02-05 13:28:08 +01:00
117ab96017 Fix user creation 2021-02-05 12:23:32 +01:00
4229cebd61 Merge branch 'master' into feat/ldap 2021-02-04 18:56:26 +01:00
Tom Hacohen
8485806046 Easy config: add support for setting redis URI. 2021-01-28 17:55:37 +02:00
Tom Hacohen
4ceb42780e Remove unused django_etebase code. 2020-12-28 16:42:39 +02:00
Tom Hacohen
b081d0129f Add support for read/write permissions. 2020-12-28 16:42:39 +02:00
Tom Hacohen
9559a0fd35 Chunk download: use the new sendfile to serve files. 2020-12-14 16:47:47 +02:00
Tom Hacohen
070abfcdd8 Format using black. 2020-12-14 16:47:47 +02:00
0a9ffd1c9b Remove duplicated code (Issue from merging) 2020-11-14 16:46:08 +01:00
2d11c82e32 Format code using black 2020-11-14 16:44:45 +01:00
6751502e21 Merge remote-tracking branch 'origin/master' into feat/ldap 2020-11-14 16:39:46 +01:00
Tal Leibman
d8e5c37db1
Use black for code formatting and format the code
Merge #65
2020-11-14 17:04:41 +02:00
e09d5f1723 Set CREATE_USER_FUNC and API_PERMISSIONS when using LDAP 2020-11-08 12:41:38 +01:00
Victor R. Santos
e9de8f1adb Add env variable to change configuration file path.
ETEBASE_EASY_CONFIG_PATH is optional, the server serches for the
configurations files in this order:
- "ETEBASE_EASY_CONFIG_PATH"
- etebase-server.ini
- /etc/etebase-server/etebase-server.ini
2020-11-08 08:58:19 +02:00
b0d0f99492 Refactor LDAP support and add LDAP caching 2020-11-06 20:55:04 +01:00
1fef1e2b7a Implement authentication with LDAP
Enable an additional lookup against an LDAP directory
during login and user creation to ensure that only
specific users can login and register on the EteBase
server instance.
2020-11-06 15:24:29 +01:00
Tom Hacohen
8a557ff82c Disable signups by default.
The next commit includes README instructions on how to create users
and enable signups.
2020-09-27 09:42:01 +03:00
Tom Hacohen
38e0700ac0 Update django and remove unused deps. 2020-09-10 19:19:19 +03:00
Pierre-Alain TORET
5785f803ac Port over easyconfig from the etesync server code.
Migrated by Tom, but kept the credit to daftaupe
2020-09-10 19:18:51 +03:00
Tom Hacohen
cc163d27af Add settings and configuration to run the etebase app. 2020-07-08 17:58:28 +03:00
Tom Hacohen
4aa3daaa97 Create a new django project. 2020-07-08 17:57:57 +03:00