Wykres commitów

111 Commity (master)

Autor SHA1 Wiadomość Data
Piero Toffanin 59195124a0 Fix test 2024-01-09 12:54:04 -05:00
Piero Toffanin f227bdb08b Remove django-compressor 2024-01-09 12:19:24 -05:00
Piero Toffanin ce9cd0a8b9 Add configurable docs/task options links 2023-11-06 12:19:41 -05:00
Piero Toffanin 58dcc46e40 Cleanup partial tasks 2023-11-06 11:22:39 -05:00
Piero Toffanin 9fb0c6db67 Cleanup partial tasks 2023-11-06 11:21:10 -05:00
Piero Toffanin ef5336927d Persists secret_key between updates 2023-09-16 13:46:15 -04:00
Piero Toffanin c0fe407157 Add NODE_OPTIMISTIC_MODE 2023-09-16 12:23:49 -04:00
Piero Toffanin 82f3408b94 Add test, comments 2023-09-16 11:26:24 -04:00
Piero Toffanin c6d4c763f0 Add UI_MAX_PROCESSING_NODES setting 2023-09-16 10:55:04 -04:00
Piero Toffanin a709c8fdf6 Moar tests 2023-09-11 11:53:10 -04:00
Piero Toffanin 039df51cc6 Add some unit tests 2023-09-08 17:38:05 -04:00
Piero Toffanin 83419a7dab Add --settings, drop --external-auth-endpoint 2023-09-08 15:55:42 -04:00
Piero Toffanin 4cd5a01023 Add --external-auth-endpoint 2023-09-06 11:09:49 -04:00
Piero Toffanin 872d5abbc7 Invalidate cache, warn of quota excess 2023-08-26 09:23:42 -04:00
Piero Toffanin ba1965add0 Add profile model 2023-08-24 15:02:30 -04:00
Piero Toffanin 84356f1ce7 External auth PoC, add task sizes 2023-08-21 11:43:50 -04:00
Piero Toffanin e55ef9726a Fix tests 2023-04-27 15:22:08 -04:00
Piero Toffanin f8410c720d Use inline CSS compression 2023-04-27 15:02:42 -04:00
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