Owen Kaluza
6000c674f5
Use drf-yasg to generate swagger openapi 2.0 API docs
...
https://drf-yasg.readthedocs.io/en/stable/readme.html
2022-03-18 17:54:46 +11:00
Owen Kaluza
980ee89501
Update Django to 2.2.27 and drf to 3.13.1
...
Required some fixes:
- detail_route replaced with action(detail=True)
- base_name replaced with basename
- handler404 requires exception arg
- DjangoObjectPermissionsFilter deprecated and moved to
djangorestframework-guardian, now called ObjectPermissionsFilter
2022-03-18 17:51:55 +11:00
Piero Toffanin
0db85bba66
Add /api/users
2021-10-18 16:42:13 -04:00
Piero Toffanin
9bb8b1bed5
Task moving functionality working
2021-08-04 16:20:51 -04:00
Piero Toffanin
9a4f65e11e
Unit tests
2021-06-11 16:45:29 -04:00
Piero Toffanin
3e0a2a665d
Configurable node offline minutes setting
2021-06-09 15:49:51 -04:00
Piero Toffanin
de17943440
Fix plugin paths when app media is set to a different folder
2021-06-08 10:31:47 -04:00
Piero Toffanin
2b907b304c
Added addnode command
2021-05-27 16:13:37 -04:00
Piero Toffanin
92966f1d29
Finish translate command, fix build
2021-05-27 09:55:27 -04:00
Piero Toffanin
a19cc6260a
Desktop mode false by default
2021-05-26 12:19:37 -04:00
Piero Toffanin
b05cceaa04
no need to create symlink to pip
2021-05-26 12:18:33 -04:00
Piero Toffanin
30ae36d91e
Desktop mode, share button hiding
2021-05-26 10:55:53 -04:00
Piero Toffanin
11ee54245d
PoC translation for both JSX components and Django
2020-12-14 13:55:57 -05:00
Piero Toffanin
e278f728eb
Add generic run_function_async method, settings changes, bump version
2020-07-26 16:08:04 -04:00
nchamo
75e6a03a59
Adding github support
2020-07-25 19:21:15 -03:00
Islam Heggy
abdf8b5016
remove extra comma in databases settings
2020-07-15 20:29:59 +02:00
Islam Heggy
8410763738
update missing comma in databases settings
2020-07-15 20:24:00 +02:00
Islam Heggy
cc8d8dddc5
adjusting python DB settings to use environment variables
2020-07-15 19:41:23 +02:00
Piero Toffanin
90709825aa
Celery always eager when flushing
2020-03-25 07:41:59 -04:00
Piero Toffanin
86fe256a39
Force media static files option
2020-03-25 06:30:44 -04:00
Piero Toffanin
b14209dd88
Plugin blacklist
2020-03-24 13:11:41 -04:00
Piero Toffanin
de2aafa670
Default theme CSS
2020-03-20 13:00:09 -04:00
Piero Toffanin
0c256afcbc
Processing nodes onboarding
2020-03-20 12:38:03 -04:00
Piero Toffanin
1afc7a8aa0
Default app name/logo settings
2020-03-20 11:32:12 -04:00
Florian Mickler
2317916f93
fix file upload in selinux enabled environments
...
docker-compose.yml:
:z on volume mounts relabels the directory to enable access for all docker container
:Z on volume mounts relabels the directory to enable access for this specific docker container
Some background:
https://www.projectatomic.io/blog/2015/06/using-volumes-with-docker-can-cause-problems-with-selinux/
https://docs.docker.com/release-notes/docker-compose/ (-> Syntax introduced in v1.4.0 from 2015-08-04)
Since these volumes are designed only for use by webodm a relabeling to allow docker containers to have access seems resonable.
webodm/settings.py:
The change in webodm/settings.py is necessary, because else the webapp will create big upload files in /tmp and move them to the final destination afterwards. Which means they will have container specific MCS context selinux labels applied to them. If the tmp files are created under MEDIA_ROOT, which has the :z labels applied to it, the files will get a label that is accessible from all docker containers.
Some background:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/selinux_users_and_administrators_guide/sect-security-enhanced_linux-working_with_selinux-selinux_contexts_labeling_files
2020-01-30 23:10:41 +01:00
Piero Toffanin
5577115008
Make CORS settings relaxed again (broken due to Django 2.1 update)
2019-07-12 23:03:01 -04:00
Piero Toffanin
8bc15e4562
WO_DEV tweaks
2019-07-01 12:02:31 -04:00
nchamo
94ba5257d5
Now plugins are watched in dev mode
2019-07-01 10:57:52 -03:00
Piero Toffanin
7e1705017d
Removed copy to clipboard, better save to text
2019-06-25 15:46:40 -04:00
Piero Toffanin
0fca052900
Upgraded Django to 2.1
2019-01-16 10:47:35 -05:00
Piero Toffanin
83fd1e9336
Skip boot code while migrating (speed-up, permission issue fix)
2018-09-12 10:42:09 -04:00
Piero Toffanin
572abd8db9
Added unit tests for grass engine
2018-05-13 13:30:44 -04:00
Piero Toffanin
e619f82173
Removed task result expiries key
2018-04-22 15:00:16 -04:00
Piero Toffanin
8317283b87
Faster timeout on update_node_info(), oom preferences
2018-04-22 14:49:20 -04:00
Piero Toffanin
480a20d9c7
Added max-tasks-per-child to workers
2018-04-19 14:55:09 -04:00
Piero Toffanin
38c8db0037
Changed DEBUG default, added restart on failure on all services
2018-04-19 14:45:33 -04:00
Piero Toffanin
3a55dea1b3
CORS update, Safari text mime fix
2018-03-31 13:08:56 -04:00
Piero Toffanin
ae0a0cbf67
Volume measurements! Processing done in celery, updated README
2018-03-29 17:28:15 -04:00
Piero Toffanin
b1fbf61fcc
Deprecation changes, package updates
2018-03-11 10:51:55 -04:00
Piero Toffanin
4fea36fc7e
posm-gcpi integration, django template inclusion, minor refactoring
2018-03-01 16:29:23 -05:00
Piero Toffanin
2735942409
Added support for server resize, in-browser resize, or no resize
2018-02-19 15:50:26 -05:00
Piero Toffanin
510b1db237
Fixed unit tests
2018-02-17 12:35:03 -05:00
Piero Toffanin
d9f1e7a154
Fixed some unit tests
2018-02-16 17:05:09 -05:00
Piero Toffanin
1aedfd5c7a
Worker unit tests, changed version number
2018-02-16 15:07:53 -05:00
Piero Toffanin
22c3e66c02
Removed scheduler code, background decorator, added Celery workers, migrated code, added SharedTestWatch
2018-02-15 16:23:29 -05:00
Piero Toffanin
e03e884ffc
minWebodmVersion check in plugins
2018-02-09 13:46:45 -05:00
Piero Toffanin
ab0f1f8d76
Changed iframe code, removed x-frame headers, js undefined reference error
2017-12-05 15:18:01 -05:00
Piero Toffanin
9c40f2d31b
Updated readme, django debug and ssl settings
2017-11-18 10:55:22 -05:00
Piero Toffanin
cf76258abf
More CSS tweaks
2017-11-09 12:37:04 -05:00
Piero Toffanin
d3ca3a53be
Last CSS changes, colors look OK
2017-11-09 11:31:17 -05:00