Skip to content

Commit 260977b

Browse files
Remove unused webserver configs (apache#48066)
This is my first pass through them - these are all unused.
1 parent 48ab15d commit 260977b

File tree

15 files changed

+192
-334
lines changed

15 files changed

+192
-334
lines changed

airflow-core/docs/administration-and-deployment/logging-monitoring/index.rst

-2
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,3 @@ In addition to the standard logging and metrics capabilities, Airflow supports t
3737

3838
check-health
3939
errors
40-
41-
tracking-user-activity

airflow-core/docs/administration-and-deployment/logging-monitoring/tracking-user-activity.rst

-40
This file was deleted.

airflow-core/docs/administration-and-deployment/plugins.rst

-12
Original file line numberDiff line numberDiff line change
@@ -317,18 +317,6 @@ Then inside pyproject.toml:
317317
[project.entry-points."airflow.plugins"]
318318
my_plugin = "my_package.my_plugin:MyAirflowPlugin"
319319
320-
Automatic reloading webserver
321-
-----------------------------
322-
323-
To enable automatic reloading of the webserver, when changes in a directory with plugins has been detected,
324-
you should set ``reload_on_plugin_change`` option in ``[webserver]`` section to ``True``.
325-
326-
.. note::
327-
For more information on setting the configuration, see :doc:`/howto/set-config`
328-
329-
.. note::
330-
See :doc:`../administration-and-deployment/modules_management` for details on how Python and Airflow manage modules.
331-
332320
Troubleshooting
333321
---------------
334322

airflow-core/docs/core-concepts/dag-run.rst

-12
Original file line numberDiff line numberDiff line change
@@ -267,18 +267,6 @@ Using CLI
267267
268268
airflow dags trigger --conf '{"conf1": "value1"}' example_parameterized_dag
269269
270-
Using UI
271-
^^^^^^^^^^
272-
273-
In the UI the parameters to trigger a DAG can be better represented via ``params`` definition as described in
274-
:ref:`concepts:params` documentation. Via defined params a proper form for value entry is rendered.
275-
276-
If the DAG does not define ``params`` the form is usually skipped, via the configuration option ``show_trigger_form_if_no_params``
277-
it is possible to force the display the classic form of a dict-only entry to pass configuration options.
278-
279-
.. image:: ../img/example_passing_conf.png
280-
281-
Please consider to convert such usage to ``params`` as this is the more convenient way and allows also validation of user input.
282270
283271
To Keep in Mind
284272
''''''''''''''''

airflow-core/docs/core-concepts/params.rst

-4
Original file line numberDiff line numberDiff line change
@@ -400,10 +400,6 @@ Finally the fourth section shows advanced form elements.
400400

401401
.. image:: ../img/trigger-dag-tutorial-form-4.png
402402

403-
.. versionadded:: 2.7.0
404-
The trigger form can also be forced to be displayed also if no params are defined using the configuration switch
405-
``webserver.show_trigger_form_if_no_params``.
406-
407403
.. versionchanged:: 3.0.0
408404
By default custom HTML is not allowed to prevent injection of scripts or other malicious HTML code. The previous field named
409405
``description_html`` is now super-seeded with the attribute ``description_md``. ``description_html`` is not supported anymore.

airflow-core/docs/faq.rst

-8
Original file line numberDiff line numberDiff line change
@@ -464,14 +464,6 @@ How do I stop the sync perms happening multiple times per webserver?
464464
Set the value of ``[fab] update_fab_perms`` configuration in ``airflow.cfg`` to ``False``.
465465

466466

467-
How to reduce the airflow UI page load time?
468-
------------------------------------------------
469-
470-
If your DAG takes long time to load, you could reduce the value of ``default_dag_run_display_number`` configuration
471-
in ``airflow.cfg`` to a smaller value. This configurable controls the number of DAG runs to show in UI with default
472-
value ``25``.
473-
474-
475467
Why did the pause DAG toggle turn red?
476468
--------------------------------------
477469

airflow-core/docs/howto/run-behind-proxy.rst

-19
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,3 @@ Your reverse proxy (ex: nginx) should be configured as follow:
6363
proxy_set_header Connection "upgrade";
6464
}
6565
}
66-
67-
To ensure that Airflow generates URLs with the correct scheme when
68-
running behind a TLS-terminating proxy, you should configure the proxy
69-
to set the ``X-Forwarded-Proto`` header, and enable the ``ProxyFix``
70-
middleware in your ``airflow.cfg``::
71-
72-
[webserver]
73-
enable_proxy_fix = True
74-
75-
If you need to configure the individual parameters to the ``ProxyFix`` middleware,
76-
you can set them individually in your ``airflow.cfg``::
77-
78-
[webserver]
79-
proxy_fix_x_for = 1
80-
proxy_fix_x_host = 3
81-
82-
.. note::
83-
You should only enable the ``ProxyFix`` middleware when running
84-
Airflow behind a trusted proxy (AWS ELB, nginx, etc.).
-52.1 KB
Binary file not shown.

airflow-core/docs/integration.rst

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Airflow has a mechanism that allows you to expand its functionality and integrat
3030
* :doc:`Plugins </administration-and-deployment/plugins>`
3131
* :doc:`Listeners </administration-and-deployment/listeners>`
3232
* :doc:`Secrets backends </security/secrets/secrets-backend/index>`
33-
* :doc:`Tracking systems </administration-and-deployment/logging-monitoring/tracking-user-activity>`
3433
* :doc:`Web UI Authentication backends </security/api>`
3534
* :doc:`Serialization </authoring-and-scheduling/serializers>`
3635

airflow-core/docs/ui.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Dags View
2929

3030
List of the dags in your environment, and a set of shortcuts to useful pages.
3131
You can see exactly how many tasks succeeded, failed, or are currently
32-
running at a glance. To hide completed tasks set ``show_recent_stats_for_completed_runs = False``
32+
running at a glance.
3333

3434
In order to filter dags (e.g. by team), you can add tags in each DAG.
3535
The filter is saved in a cookie and can be reset by the reset button.

airflow-core/src/airflow/cli/commands/remote_commands/config_command.py

+112
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,118 @@ def message(self) -> str | None:
349349
config=ConfigParameter("webserver", "access_logformat"),
350350
was_deprecated=False,
351351
),
352+
ConfigChange(
353+
config=ConfigParameter("webserver", "web_server_master_timeout"),
354+
was_deprecated=False,
355+
),
356+
ConfigChange(
357+
config=ConfigParameter("webserver", "worker_refresh_batch_size"),
358+
was_deprecated=False,
359+
),
360+
ConfigChange(
361+
config=ConfigParameter("webserver", "worker_refresh_interval"),
362+
was_deprecated=False,
363+
),
364+
ConfigChange(
365+
config=ConfigParameter("webserver", "reload_on_plugin_change"),
366+
was_deprecated=False,
367+
),
368+
ConfigChange(
369+
config=ConfigParameter("webserver", "worker_class"),
370+
was_deprecated=False,
371+
),
372+
ConfigChange(
373+
config=ConfigParameter("webserver", "expose_stacktrace"),
374+
was_deprecated=False,
375+
),
376+
ConfigChange(
377+
config=ConfigParameter("webserver", "log_fetch_delay_sec"),
378+
was_deprecated=False,
379+
),
380+
ConfigChange(
381+
config=ConfigParameter("webserver", "log_auto_tailing_offset"),
382+
was_deprecated=False,
383+
),
384+
ConfigChange(
385+
config=ConfigParameter("webserver", "log_animation_speed"),
386+
was_deprecated=False,
387+
),
388+
ConfigChange(
389+
config=ConfigParameter("webserver", "default_dag_run_display_number"),
390+
was_deprecated=False,
391+
),
392+
ConfigChange(
393+
config=ConfigParameter("webserver", "enable_proxy_fix"),
394+
was_deprecated=False,
395+
),
396+
ConfigChange(
397+
config=ConfigParameter("webserver", "proxy_fix_x_for"),
398+
was_deprecated=False,
399+
),
400+
ConfigChange(
401+
config=ConfigParameter("webserver", "proxy_fix_x_proto"),
402+
was_deprecated=False,
403+
),
404+
ConfigChange(
405+
config=ConfigParameter("webserver", "proxy_fix_x_host"),
406+
was_deprecated=False,
407+
),
408+
ConfigChange(
409+
config=ConfigParameter("webserver", "proxy_fix_x_port"),
410+
was_deprecated=False,
411+
),
412+
ConfigChange(
413+
config=ConfigParameter("webserver", "proxy_fix_x_prefix"),
414+
was_deprecated=False,
415+
),
416+
ConfigChange(
417+
config=ConfigParameter("webserver", "cookie_secure"),
418+
was_deprecated=False,
419+
),
420+
ConfigChange(
421+
config=ConfigParameter("webserver", "analytics_tool"),
422+
was_deprecated=False,
423+
),
424+
ConfigChange(
425+
config=ConfigParameter("webserver", "analytics_id"),
426+
was_deprecated=False,
427+
),
428+
ConfigChange(
429+
config=ConfigParameter("webserver", "analytics_url"),
430+
was_deprecated=False,
431+
),
432+
ConfigChange(
433+
config=ConfigParameter("webserver", "show_recent_stats_for_completed_runs"),
434+
was_deprecated=False,
435+
),
436+
ConfigChange(
437+
config=ConfigParameter("webserver", "run_internal_api"),
438+
was_deprecated=False,
439+
),
440+
ConfigChange(
441+
config=ConfigParameter("webserver", "caching_hash_method"),
442+
was_deprecated=False,
443+
),
444+
ConfigChange(
445+
config=ConfigParameter("webserver", "show_trigger_form_if_no_params"),
446+
was_deprecated=False,
447+
),
448+
ConfigChange(
449+
config=ConfigParameter("webserver", "num_recent_configurations_for_trigger"),
450+
was_deprecated=False,
451+
),
452+
ConfigChange(
453+
config=ConfigParameter("webserver", "allowed_payload_size"),
454+
was_deprecated=False,
455+
),
456+
ConfigChange(
457+
config=ConfigParameter("webserver", "max_form_memory_size"),
458+
was_deprecated=False,
459+
),
460+
ConfigChange(
461+
config=ConfigParameter("webserver", "max_form_parts"),
462+
was_deprecated=False,
463+
),
352464
# policy
353465
ConfigChange(
354466
config=ConfigParameter("policy", "airflow_local_settings"),

0 commit comments

Comments
 (0)