Commit graph

92 commits

Author SHA1 Message Date
e197413127 Add TZ for consistent Celery timestamps 2023-02-20 15:42:02 +01:00
46e3db3a89 Improve docker setup
- add entrypoint script
- add .dockerignore
- fix shellcheck warnings in gvafile.sh
- migrate to Celery 5 settings
- downgrade importlib-metadata for Celery compatibility
2023-02-20 13:54:23 +01:00
a04d5b754f Unify with gvaldap 2023-02-19 18:09:33 +01:00
f97fb6f700 Switch from pipenv to poetry 2023-02-19 17:56:11 +01:00
f999e65a10 Release 0.6.0
- use Pipenv for dependency management
 - ensure proper task names for Python 3
 - update Vagrant setup
 - add Docker setup
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEKHuXKkUYdvdO9493DXkdyNc3wdkFAl6QRXIUHGphbkBkaXR0
 YmVybmVyLmluZm8ACgkQDXkdyNc3wdli3wgA2OwEeQfzlNk1woZcwPiMuAIgeJGr
 Rd47b56rdxZAxz4C6c8tQucA8+6R3s/mVcvAxZJcKIFm+Gs59H8TzwWfQw22S3PF
 X4jmV8NdFG0o3VPY2Vn9u02xWtgOHglajjFaWKe3Odpsotc/mMnkOVc2vpjrwXfE
 E4rnV78Tm9KGsHA/c2J9s9Ekg1QzzO1oiS4e5kC1xWuNLTxivMOsNXGbrtaM9OfZ
 PkqCEf2hw4C6pVZhTIftlaZ8WBWe+nJS6O4CIGi1HbcZ8QdS6G2zoUc/rTyqEI6m
 63gQl+Dk7Q2J2g8oH8gwfTldoMgElrGA/5jDR8vYWONEWytcelBD0XOmzQ==
 =FQ9d
 -----END PGP SIGNATURE-----

Merge tag '0.6.0'

Release 0.6.0

- use Pipenv for dependency management
- ensure proper task names for Python 3
- update Vagrant setup
- add Docker setup
2020-04-10 12:07:51 +02:00
8898c1506e Merge branch 'release/0.6.0' into production 2020-04-10 12:06:52 +02:00
94705f26bd Add release version to changelog 2020-04-10 12:05:55 +02:00
7911df39fa Update project page URL in README 2020-04-10 12:04:12 +02:00
4ad9b32f7e Update dependencies 2020-04-10 12:02:58 +02:00
c4e7e8c497 Unify celery config with gvaldap and gvaweb 2020-03-04 18:42:37 +01:00
aa2b87682f Add Docker setup for lightweight local testing 2020-03-04 17:19:14 +01:00
f2db400ed8 Update Vagrant setup to Debian Buster and libvirt 2020-03-04 17:06:14 +01:00
adae20cc7d Update documentation
Bump copyright years and document that we use systemd instead of
supervisord to run the celery worker.
2020-03-04 16:55:38 +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
cbd8e37e8e Switch dependency management to Pipenv
Fixes #2
2020-03-04 16:52:11 +01:00
5361f9e82e Release 0.5.1 for Stretch
-----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEKHuXKkUYdvdO9493DXkdyNc3wdkFAl10whQACgkQDXkdyNc3
 wdk6OQf/d/y8T8yG0fgTEUcianYcxuT1CYEMEdUTHt77SgYALc75yMfqvjj3FpRO
 rN/PeRc3LOXN9TaFxx2qXW9qPmATWBQwSRe0AmIreXSLctH/voR0mRdz114K1b1i
 hP5cTW6mztBDLZHLAmxcS2ej8Skwgz1kKxxlF9+f/gnP4n3V7SAdDuMcXlkvSH8p
 K15CxoAcktRfwM4odOrHk9g+BVRse3uxk2Z8ozy9vpL53qxRPUwOSCu2adbgpshB
 DrKA61TMsXV9B+CY+Lat0wQHVQAjJhTWPe/oz85/4sfCv7tD1430DZpeCwLeEhqE
 h0YvC1Xar19qijjhGD1E8C0AxcldwA==
 =yS5Q
 -----END PGP SIGNATURE-----

Merge tag '0.5.1'

Release 0.5.1 for Stretch

* tag '0.5.1':
  Update dependencies
2019-09-08 10:57:26 +02:00
e15c3a1fd9 Merge branch 'hotfix/0.5.1' into production
* hotfix/0.5.1:
  Update dependencies
2019-09-08 10:55:39 +02:00
b4ba90a7c9 Update dependencies 2019-09-08 10:55:20 +02:00
b71fbf78ff Change gvacommon dependency URL 2019-06-26 22:50:28 +02:00
821e84f608 Protect /etc/salt/grains
Make sure that the permissions of /etc/salt/grains only allow access for the
root user.
2016-09-25 17:27:42 +02: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
4eb3a1c3f3 Ignore PyCharm files 2016-09-25 01:10:45 +02:00
8d14826169 Improve Vagrant setup
Use debian/contrib-jessie64 base box, install python-cryptography before
saltstack bootstrap.
2016-09-25 01:10:17 +02:00
88d8a29a14 Improve documentation 2016-09-24 21:59:01 +02:00
20d5a86a71 Add code QA tools to local requirements 2016-02-07 22:45:07 +01: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
f64a87714d Update dependency versions 2016-02-06 21:34:27 +01:00
62e1e8bad7 Derive local requirements from test requirements 2016-02-06 20:50:06 +01:00
dee8aa71a4 Replace internal gvacommon copy with external requirement 2016-02-06 20:48:17 +01:00
2b74fe99e0 Initial vagrant setup 2016-02-06 14:25:22 +01:00
2807ae5451 release 0.5.0
- add new task set_file_ssh_authorized_keys
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUyq10AAoJEA15HcjXN8HZQ0gH/A02ECdKVc1RiaZHNa8Faxnw
 bKfXGLRbVZkpSmYV1oPuFUSlInGtHft0zJ3yBfM7pJvftuDVhROgFyphkl2y5P/d
 7exUnt2Dc36TcLJ5lDRRf81iXPql9lT8xpKmD5a4bQkrekxMrqqcMob3OsKNLbWu
 Ts08y9DSJFlEpr85qV96WtzJPjR7yriFtfBcsI+096mTUtn2Lc3aEmgYXjajHW9u
 Iia57ip6ZdvKTs6MAd0JDfl1YBrUaeu5uGzpQP44wkepfdNP4jrZUGWRooNoNP5G
 WR1ok54o9eKYJ06a1HWft8uuAJxV4X/i9j46a5+xbHX3ZsixQwppzhHqoFZ2RVg=
 =4XVe
 -----END PGP SIGNATURE-----

Merge tag '0.5.0'

release 0.5.0

- add new task set_file_ssh_authorized_keys

* tag '0.5.0':
  update docs version, add release to changelog
2015-01-29 23:00:27 +01:00
420d34dfea Merge branch 'release/0.5.0' into production
* release/0.5.0:
  update docs version, add release to changelog
  add missing - to install parameter
  add return value as documented
  add logging for set_file_ssh_authorized_keys
  add new task set_file_ssh_authorized_keys
  improved logging in fileservertasks.tasks
2015-01-29 22:59:10 +01:00
dd866381be update docs version, add release to changelog 2015-01-29 22:58:10 +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
735a468806 release 0.4.0
This release adds website hierarchy tasks.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUxnHYAAoJEA15HcjXN8HZio4IAMh/hpSs5eBmXTUwUAP8VEfF
 IJdbOEIxv+EShmMb82vmfKW+QyGcQl57RhDKVW3o9EvaqlAF06VQ0cML3aZrOClY
 hV5gvcVxoe+nKxvOJrf7p//eAgkoDPEU0PCWu1ttyoFsUBeUPqRMVUjy4bl8alNY
 7913GrkH7i1hhe73/wDmKIhD7qQdGsA3G80PL8X9N8ITW0yirXpZkfUAsp4s1Vkc
 agsfhqVshQCAV7G4iBxWYkFQ+u2RozoK56G3wrcelz6UGK+vKmcCqbS8WIKq4TnJ
 x/SD6Ngo2kABrX0dDJCUDoBnFPEPquVnOGuhyJzFCtL9wuNcN0+6vwZF8fJSGGg=
 =dXnA
 -----END PGP SIGNATURE-----

Merge tag '0.4.0'

release 0.4.0

This release adds website hierarchy tasks.

* tag '0.4.0':
  add release version in changelog, update conf.py
2015-01-26 17:57:00 +01:00
4d2da5229c Merge branch 'release/0.4.0' into production
* release/0.4.0:
  add release version in changelog, update conf.py
  implement new tasks for website hierarchy
  remove Django dependencies as they are not used
  add new route 'web' for web server configuration
  implement viewmixins.StaffOrSelfLoginRequiredMixin
2015-01-26 17:56:27 +01:00
65d1a7090c add release version in changelog, update conf.py 2015-01-26 17:56:15 +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
d31c1d0fbf add new route 'web' for web server configuration 2015-01-26 15:43:05 +01:00
3c4d34cce5 implement viewmixins.StaffOrSelfLoginRequiredMixin 2015-01-24 15:38:08 +01:00
af5fb4c773 release 0.3.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUvXZvAAoJEA15HcjXN8HZlloH/0fnhCK/J0aLvvTZDhWxJVLn
 zS24II5EMGUj/9uf+tIVsu/cLUdr6O+QZbTEydLq1ceW2SDspokAv7jX3P67of8d
 RJiEJ903Clu/Zgab9kZlQec4J3azyw6eRAByIdaSGxTEnN1MUfWt5cECMQw03nTy
 Q609D8IBhU808l3oc7T57PtUXq1tD0lIUjTMctPFc1I5YnAP54Ne5hDPA8SS5/6H
 wtT7RTbSLjOOFD38DzhaCE4GS2pU8ybpjuGCFi/fMMIrm24hofAqiAkzmlBbn7xi
 U+EgaT2Q1JxytG7aiQDtBU4mJ7SsfK0Frehwv6V8O+hGojXQqtXmrvtzMj3rWT8=
 =noVz
 -----END PGP SIGNATURE-----

Merge tag '0.3.0'

release 0.3.0

* tag '0.3.0':
  update changelog, add release version
2015-01-19 22:26:12 +01:00
464a5ba47f Merge branch 'release/0.3.0' into production
* release/0.3.0:
  update changelog, add release version
  adapt documentation to changed package structure
  move tasks from osusers to fileservertasks.tasks
  switch to gvacommon.celeryrouters.GvaRouter
  fix typo
  unify routers, add support for mysql and pgsql tasks
  define celery timezone, restrict celery content to json
2015-01-19 22:25:55 +01:00
7f4247bf76 update changelog, add release version 2015-01-19 22:25:42 +01:00
70977c5a61 adapt documentation to changed package structure 2015-01-19 22:05:57 +01:00