Commit graph

38 commits

Author SHA1 Message Date
c4e7e8c497 Unify celery config with gvaldap and gvaweb 2020-03-04 18:42:37 +01:00
26aae0173d Refactor fileservertasks into top level module
This change moves the fileservertasks module to the top level to allow
keeping the same task names when running in a Python 3 environment.
2020-03-04 16:53:50 +01:00
d5a275dbbe Log directory path for exceptions
Improve the log message of setup_file_sftp_userdir to include the path that
has been attempted to create.
2016-09-25 16:33:02 +02:00
88d8a29a14 Improve documentation 2016-09-24 21:59:01 +02:00
cbb695137c Add redis result backend support
This commit changes the Celery result backend to redis as it has already
been done for the webinterface and gvaldap parts of gnuviechadmin.
2016-02-07 22:43:42 +01:00
dee8aa71a4 Replace internal gvacommon copy with external requirement 2016-02-06 20:48:17 +01:00
92beb28816 add missing - to install parameter 2015-01-29 22:55:45 +01:00
0db08db831 add return value as documented 2015-01-29 22:44:10 +01:00
7dbb51da1a add logging for set_file_ssh_authorized_keys 2015-01-29 22:43:00 +01:00
307ccf4307 add new task set_file_ssh_authorized_keys 2015-01-29 22:23:11 +01:00
4e144fb49d improved logging in fileservertasks.tasks 2015-01-29 20:24:46 +01:00
0752570078 Merge commit 'd31c1d0fbf02bde5d4dc2be24762d872da64935f'
* commit 'd31c1d0fbf02bde5d4dc2be24762d872da64935f':
  add new route 'web' for web server configuration
  implement viewmixins.StaffOrSelfLoginRequiredMixin
2015-01-26 17:54:56 +01:00
5955f3c38c implement new tasks for website hierarchy
- implement tasks fileservertasks.tasks.create_file_website_hierarchy and
  fileservertasks.tasks.delete_file_website_hierarchy
2015-01-26 17:32:24 +01:00
ea3164b762 remove Django dependencies as they are not used
- move settings to gvafile.settings
- use gvafile.settings directly without Django support
- initialize Celery without Django
- remove Django requirements
2015-01-26 17:07:31 +01:00
cfc023cb14 move tasks from osusers to fileservertasks.tasks 2015-01-19 22:00:48 +01:00
800fff8908 switch to gvacommon.celeryrouters.GvaRouter 2015-01-01 22:38:49 +01:00
7c65fc3dc7 Merge commit '546441d49920caf43eb7d33976c2d71ae85f16d5'
* commit '546441d49920caf43eb7d33976c2d71ae85f16d5':
  unify routers, add support for mysql and pgsql tasks
2015-01-01 22:37:50 +01:00
33b28c5598 define celery timezone, restrict celery content to json 2014-12-29 12:59:14 +01:00
7aeefd9a80 restrict permissions of mailbox base directories to be read only 2014-12-27 14:50:00 +01:00
a285133f75 add new mailbox handling tasks 2014-12-27 14:48:18 +01:00
3bdf634703 move celery routers to gvacommon 2014-12-27 13:59:38 +01:00
92e3212fe1 Add 'gvafile/gvacommon/' from commit 'e29646a94714d516d52272fc83d9a15bbc21e488'
git-subtree-dir: gvafile/gvacommon
git-subtree-mainline: b362693911
git-subtree-split: e29646a947
2014-12-27 13:56:49 +01:00
b362693911 sftp directories are now owned by root instead of user 2014-12-26 23:58:22 +01:00
7a305aa7cb allow pickle content 2014-12-26 13:16:17 +01:00
e04d9f586b define celery routing 2014-12-26 13:14:09 +01:00
7a47cc9a17 define CELERY_TASK_SERIALIZER 2014-12-26 12:56:32 +01:00
17671f1a64 change default serializer to json 2014-12-26 12:42:43 +01:00
3218d58ee4 implement delete SFTP and setup/delete for mail base directories 2014-12-26 00:39:53 +01:00
1fe16eda45 remove invalid command option from setfacl call 2014-12-26 00:11:26 +01:00
7aee6c8838 use full paths for invoked commands 2014-12-25 23:53:58 +01:00
ea278eeb35 implement and document GVAFileException 2014-12-25 21:20:16 +01:00
b2acae7dda fix exception handling in setup_file_sftp_userdir 2014-12-25 19:19:21 +01:00
1ad42ca4fd fix logging string formatting 2014-12-25 18:51:14 +01:00
1ba6a2ad9d introduce new settings GVAFILE_SFTP_DIRECTORY and GVAFILE_MAIL_DIRECTORY 2014-12-25 18:32:08 +01:00
caf9d2125e define stub tasks and implement setup_file_sftp_userdir task
- create new module osusers.tasks
- define helper functions _build_sftp_directory_name and
  _build_mail_directory_name
- implement task setup_file_sftp_userdir
- define stubs for delete_file_sftp_userdir, setup_file_mail_userdir and
  delete_file_mail_userdir
2014-12-25 18:26:37 +01:00
d7cefa6093 initial celery app and dependency 2014-12-25 16:05:21 +01:00
80ba329d29 initial working settings 2014-12-25 16:00:28 +01:00
18a9d825f2 initial generated django files 2014-12-25 15:07:02 +01:00