Commit Graph

25 Commits (c7d1de31a1347c0085f2802b01bad39f84000504)

Author SHA1 Message Date
Xiretza 791de952f4 fix: move template directory into source directory
This is in preparation for creating a python package.
2022-05-09 17:41:16 +02:00
Xiretza ada5181a7e fix: move django_etebase module from toplevel to under etebase_server
This is in preparation for creating a python package, which should only
occupy the "etebase_server" name in the global module namespace.
2022-05-09 17:41:16 +02:00
Xiretza 9d6e0ae60a fix: move myauth module from toplevel to under etebase_server
This is in preparation for creating a python package, which should only
occupy the "etebase_server" name in the global module namespace.
2022-05-09 17:41:16 +02:00
Xiretza 163f7766f1 fix: move etebase_fastapi module from toplevel to under etebase_server
This is in preparation for creating a python package, which should only
occupy the "etebase_server" name in the global module namespace.
2022-05-09 17:41:16 +02:00
Xiretza 13a137a128 fix: remove obsolete static file handler 2022-05-09 10:40:38 -05:00
Xiretza e635e081c7 fix: use django.urls.path instead of deprecated django.conf.urls.url 2022-05-09 10:40:38 -05:00
Xiretza 04ca0ae5db
feat(config): allow specifying engine-specific database options (#135)
These are required to e.g. use PostgreSQL client certificates using
sslcert=/sslkey=.
2022-05-09 17:32:35 +03:00
Xiretza 70b753cd31
fix: don't create secrets file as world-readable (#136) 2022-05-09 17:17:56 +03:00
Victor R. Santos 7bb1bf9d22 Fix Django 3.2 warnings models.W042 2022-03-20 14:22:05 +02:00
Dustin J. Mitchell 43d5af32d7 Fix sendfile settings
* set SENDFILE_ROOT to the filesystem path for media, not the URL
  component
* use the correct import path to the sendfile backend
2021-04-17 19:03:35 +03:00
Tom Hacohen 8485806046 Easy config: add support for setting redis URI. 2021-01-28 17:55:37 +02:00
Tom Hacohen c1f171bde0 Change how we create applications. 2020-12-28 16:42:39 +02:00
Tom Hacohen 4ceb42780e Remove unused django_etebase code. 2020-12-28 16:42:39 +02:00
Tom Hacohen 0fa2f2da3b Make the fastapi application the main asgi one. 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
Tal Leibman d8e5c37db1
Use black for code formatting and format the code
Merge #65
2020-11-14 17:04:41 +02: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
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 5c803d8a51 Only expose drf's auth in debug mode. 2020-09-22 18:00:28 +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