apache-airflow-providers-fab 2.0.2rc2__py3-none-any.whl → 2.1.0rc1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. airflow/providers/fab/__init__.py +3 -3
  2. airflow/providers/fab/auth_manager/api_endpoints/role_and_permission_endpoint.py +4 -0
  3. airflow/providers/fab/auth_manager/api_endpoints/user_endpoint.py +4 -0
  4. airflow/providers/fab/auth_manager/models/__init__.py +56 -6
  5. airflow/providers/fab/auth_manager/models/anonymous_user.py +5 -1
  6. airflow/providers/fab/auth_manager/security_manager/override.py +25 -21
  7. airflow/providers/fab/get_provider_info.py +56 -0
  8. airflow/providers/fab/www/app.py +2 -0
  9. airflow/providers/fab/www/auth.py +3 -3
  10. airflow/providers/fab/www/extensions/init_jinja_globals.py +1 -1
  11. airflow/providers/fab/www/extensions/init_wsgi_middlewares.py +41 -0
  12. airflow/providers/fab/www/package-lock.json +1258 -520
  13. airflow/providers/fab/www/package.json +7 -7
  14. airflow/providers/fab/www/static/dist/{main.edb2d40dfbbc537916e3.js → main.eb83be09d97c23018bcb.js} +1 -1
  15. airflow/providers/fab/www/static/dist/manifest.json +11 -11
  16. airflow/providers/fab/www/static/dist/{moment.624b1f00ba723d39ce06.js → moment.75a9286ff6019fefe5d9.js} +1 -1
  17. {apache_airflow_providers_fab-2.0.2rc2.dist-info → apache_airflow_providers_fab-2.1.0rc1.dist-info}/METADATA +10 -10
  18. {apache_airflow_providers_fab-2.0.2rc2.dist-info → apache_airflow_providers_fab-2.1.0rc1.dist-info}/RECORD +33 -32
  19. /airflow/providers/fab/www/static/dist/{airflowDefaultTheme.feec4a4075c2f3d6ae01.css → airflowDefaultTheme.a26736fa84b3356edac0.css} +0 -0
  20. /airflow/providers/fab/www/static/dist/{airflowDefaultTheme.feec4a4075c2f3d6ae01.js → airflowDefaultTheme.a26736fa84b3356edac0.js} +0 -0
  21. /airflow/providers/fab/www/static/dist/{flash.137b30cff85b5588e661.css → flash.fbcc531a39479aa27065.css} +0 -0
  22. /airflow/providers/fab/www/static/dist/{flash.137b30cff85b5588e661.js → flash.fbcc531a39479aa27065.js} +0 -0
  23. /airflow/providers/fab/www/static/dist/{loadingDots.48ab7d5b04e66f2686b0.css → loadingDots.e1fc82c3ac3f9af3771e.css} +0 -0
  24. /airflow/providers/fab/www/static/dist/{loadingDots.48ab7d5b04e66f2686b0.js → loadingDots.e1fc82c3ac3f9af3771e.js} +0 -0
  25. /airflow/providers/fab/www/static/dist/{main.edb2d40dfbbc537916e3.css → main.eb83be09d97c23018bcb.css} +0 -0
  26. /airflow/providers/fab/www/static/dist/{main.edb2d40dfbbc537916e3.js.LICENSE.txt → main.eb83be09d97c23018bcb.js.LICENSE.txt} +0 -0
  27. /airflow/providers/fab/www/static/dist/{materialIcons.57390fa60d8f61175334.css → materialIcons.b21138ea09d0cdf9ffc4.css} +0 -0
  28. /airflow/providers/fab/www/static/dist/{materialIcons.57390fa60d8f61175334.js → materialIcons.b21138ea09d0cdf9ffc4.js} +0 -0
  29. /airflow/providers/fab/www/static/dist/{moment.624b1f00ba723d39ce06.js.LICENSE.txt → moment.75a9286ff6019fefe5d9.js.LICENSE.txt} +0 -0
  30. {apache_airflow_providers_fab-2.0.2rc2.dist-info → apache_airflow_providers_fab-2.1.0rc1.dist-info}/WHEEL +0 -0
  31. {apache_airflow_providers_fab-2.0.2rc2.dist-info → apache_airflow_providers_fab-2.1.0rc1.dist-info}/entry_points.txt +0 -0
  32. {apache_airflow_providers_fab-2.0.2rc2.dist-info → apache_airflow_providers_fab-2.1.0rc1.dist-info}/licenses/3rd-party-licenses/LICENSES-ui.txt +0 -0
  33. {apache_airflow_providers_fab-2.0.2rc2.dist-info → apache_airflow_providers_fab-2.1.0rc1.dist-info}/licenses/NOTICE +0 -0
@@ -39,17 +39,17 @@
39
39
  ]
40
40
  },
41
41
  "devDependencies": {
42
- "@babel/core": "^7.26.10",
43
- "@babel/eslint-parser": "^7.27.0",
44
- "@babel/plugin-transform-runtime": "^7.26.10",
45
- "@babel/preset-env": "^7.24.7",
42
+ "@babel/core": "^7.27.1",
43
+ "@babel/eslint-parser": "^7.27.1",
44
+ "@babel/plugin-transform-runtime": "^7.27.1",
45
+ "@babel/preset-env": "^7.27.2",
46
46
  "babel-loader": "^10.0.0",
47
47
  "clean-webpack-plugin": "^4.0.0",
48
48
  "copy-webpack-plugin": "^13.0.0",
49
49
  "css-loader": "7.1.2",
50
50
  "css-minimizer-webpack-plugin": "^7.0.2",
51
- "eslint": "^9.25.1",
52
- "eslint-config-prettier": "^10.1.2",
51
+ "eslint": "^9.26.0",
52
+ "eslint-config-prettier": "^10.1.5",
53
53
  "eslint-plugin-html": "^8.1.2",
54
54
  "eslint-plugin-import": "^2.27.5",
55
55
  "eslint-plugin-node": "^11.1.0",
@@ -62,7 +62,7 @@
62
62
  "stylelint": "^16.19.1",
63
63
  "terser-webpack-plugin": "<6.0.0",
64
64
  "url-loader": "4.1.1",
65
- "webpack": "^5.99.7",
65
+ "webpack": "^5.99.8",
66
66
  "webpack-cli": "^6.0.1",
67
67
  "webpack-license-plugin": "^4.2.1",
68
68
  "webpack-manifest-plugin": "^5.0.1"
@@ -1,2 +1,2 @@
1
- /*! For license information please see main.edb2d40dfbbc537916e3.js.LICENSE.txt */
1
+ /*! For license information please see main.eb83be09d97c23018bcb.js.LICENSE.txt */
2
2
  !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Airflow=t():(e.Airflow=e.Airflow||{},e.Airflow.main=t())}(self,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var a in o)e.o(o,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:o[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};return(()=>{e.r(t),e.d(t,{convertSecsToHumanReadable:()=>d,escapeHtml:()=>s});const o="YYYY-MM-DD, HH:mm:ss",a="YYYY-MM-DD, HH:mm:ss z",n="z (Z)";function r(e){return e instanceof moment?e.isUTC()?"UTC":e.format(n):"UTC"===e?e:moment().tz(e).format(n)}function i(e){moment.tz.setDefault(e),$('time[data-datetime-convert!="false"]').each(((e,t)=>{const n=$(t),r=moment(n.attr("datetime"));r._isValid&&n.text(r.format(n.data("with-tz")?a:o)),void 0!==n.attr("title")&&n.attr("title",r.isUTC()?"":`UTC: ${r.clone().utc().format()}`)})),$(".datetime input").each(((e,t)=>{t.value=moment(t.value).format()}))}function m(){const e=moment();$("#clock").attr("datetime",e.format("YYYY-MM-DDThh:mm:ssZ")).html(`${e.format("HH:mm")} <strong>${r(e)}</strong>`)}function l(e){localStorage.setItem("selected-timezone",e);const t=new CustomEvent("timezone",{detail:e});document.dispatchEvent(t),i(e),m(),$("body").trigger({type:"airflow.timezone-change",timezone:e})}window.isoDateToTimeEl=function(e,t){const a=moment(e),n=$.extend({title:!0},t).title,r=document.createElement("time");return r.setAttribute("datetime",a.format()),n&&r.setAttribute("title",a.isUTC()?"":`UTC: ${a.clone().utc().format()}`),r.innerText=a.format(o),r},window.moment=Airflow.moment;const c=document.createElement("span");function s(e){return c.textContent=e,c.innerHTML}function d(e){let t=e;const o=e,a=o-Math.floor(o);t=Math.floor(t);const n=Math.floor(t/3600);t-=3600*n;const r=Math.floor(t/60);t-=60*r;let i="";return n>0&&(i+=`${n}Hours `),r>0&&(i+=`${r}Min `),t+a>0&&(Math.floor(o)===o?i+=`${t}Sec`:(t+=a,i+=`${t.toFixed(3)}Sec`)),i}function u(){const e=moment.tz.guess(),t=localStorage.getItem("selected-timezone"),o=localStorage.getItem("chosen-timezone");function a(t){localStorage.setItem("chosen-timezone",t),t!==e||t!==Airflow.serverTimezone?($("#timezone-manual a").data("timezone",t).text(r(t)),$("#timezone-manual").show()):$("#timezone-manual").hide()}o&&a(o),l(t||Airflow.defaultUITimezone),"UTC"!==Airflow.serverTimezone&&($("#timezone-server a").html(`${r(Airflow.serverTimezone)} <span class="label label-primary">Server</span>`),$("#timezone-server").show()),Airflow.serverTimezone!==e?$("#timezone-local a").attr("data-timezone",e).html(`${r(e)} <span class="label label-info">Local</span>`):$("#timezone-local").hide(),$("a[data-timezone]").click((e=>{l($(e.currentTarget).data("timezone"))}));const n=moment.tz.names().map((e=>({category:e.split("/",1)[0],label:e.replace("_"," "),value:e})));$("#timezone-other").autocomplete({source:(e,t)=>{t(function(e,t){const o=new RegExp($.ui.autocomplete.escapeRegex(t),"i");return $.grep(e,(e=>o.test(e.label)||o.test(e.category)))}(n,e.term))},appendTo:"#timezone-menu > li:nth-child(6) > form",focus:(e,t)=>{e.preventDefault(),$(this).val(t.item.label)},select:(e,t)=>($(this).val(""),a(t.item.value),l(t.item.value),!1)}).data("ui-autocomplete")._renderItem=function(e,t){const o=$("<li>");return o.append(`<a class='dropdown-item' href='#' role='option'>${t.label}</a>`),o.appendTo(e)},$.ui.autocomplete.prototype._renderMenu=function(e,t){let o="";e.addClass("typeahead dropdown-menu"),e.attr("role","listbox"),$.each(t,((t,a)=>{a.category!==o&&(e.append(`<li class='ui-autocomplete-category dropdown-header'>${a.category}</li>`),o=a.category),this._renderItemData(e,a)}))}}function f(e){const t=$(e),o=$(".filter_val.form-control",t.parents("tr"));"Is Null"===t.text()||"Is not Null"===t.text()?(void 0!==o.attr("required")&&(o.removeAttr("required"),o.attr("airflow-required",!0)),1===o.parent(".datetime").length?o.parent(".datetime").hide():o.hide()):("true"===o.attr("airflow-required")&&(o.attr("required",!0),o.removeAttr("airflow-required")),1===o.parent(".datetime").length?o.parent(".datetime").show():o.show())}window.escapeHtml=s,window.convertSecsToHumanReadable=d,window.postAsForm=function(e,t){const o=$("<form></form>");o.attr("method","POST"),o.attr("action",e),$.each(t||{},((e,t)=>{const a=$("<input></input>");a.attr("type","hidden"),a.attr("name",e),a.attr("value",t),o.append(a)}));const a=$("<input></input>");a.attr("type","hidden"),a.attr("name","csrf_token"),a.attr("value",csrfToken),o.append(a),$(document.body).append(o),o.submit()},$(document).ready((()=>{u(),$("#clock").attr("data-original-title",hostName).attr("data-placement","bottom").parent().show(),m(),setInterval(m,1e3),$.ajaxSetup({beforeSend(e,t){/^(GET|HEAD|OPTIONS|TRACE)$/i.test(t.type)||this.crossDomain||e.setRequestHeader("X-CSRFToken",csrfToken)}}),$.fn.datetimepicker.defaults.sideBySide=!0,$(".datetimepicker").datetimepicker({format:"YYYY-MM-DDTHH:mm:ssZ"}),$(".datepicker").datetimepicker({format:"YYYY-MM-DD"}),$(".timepicker").datetimepicker({format:"HH:mm:ss"}),$(".filters .select2-chosen").each(((e,t)=>{f(t)})),$(".filters .select2-chosen").on("DOMNodeInserted",(e=>{f(e.target)})),$("#filter_form a.filter").click((()=>{$(".datetimepicker").datetimepicker(),$(".filters .select2-chosen").on("DOMNodeInserted",(e=>{f(e.target)}))})),$(".js-tooltip").tooltip()}))})(),t})()));
@@ -1,15 +1,15 @@
1
1
  {
2
- "airflowDefaultTheme.css": "airflowDefaultTheme.feec4a4075c2f3d6ae01.css",
3
- "airflowDefaultTheme.js": "airflowDefaultTheme.feec4a4075c2f3d6ae01.js",
4
- "flash.css": "flash.137b30cff85b5588e661.css",
5
- "flash.js": "flash.137b30cff85b5588e661.js",
6
- "loadingDots.css": "loadingDots.48ab7d5b04e66f2686b0.css",
7
- "loadingDots.js": "loadingDots.48ab7d5b04e66f2686b0.js",
8
- "main.css": "main.edb2d40dfbbc537916e3.css",
9
- "main.js": "main.edb2d40dfbbc537916e3.js",
10
- "materialIcons.css": "materialIcons.57390fa60d8f61175334.css",
11
- "materialIcons.js": "materialIcons.57390fa60d8f61175334.js",
12
- "moment.js": "moment.624b1f00ba723d39ce06.js",
2
+ "airflowDefaultTheme.css": "airflowDefaultTheme.a26736fa84b3356edac0.css",
3
+ "airflowDefaultTheme.js": "airflowDefaultTheme.a26736fa84b3356edac0.js",
4
+ "flash.css": "flash.fbcc531a39479aa27065.css",
5
+ "flash.js": "flash.fbcc531a39479aa27065.js",
6
+ "loadingDots.css": "loadingDots.e1fc82c3ac3f9af3771e.css",
7
+ "loadingDots.js": "loadingDots.e1fc82c3ac3f9af3771e.js",
8
+ "main.css": "main.eb83be09d97c23018bcb.css",
9
+ "main.js": "main.eb83be09d97c23018bcb.js",
10
+ "materialIcons.css": "materialIcons.b21138ea09d0cdf9ffc4.css",
11
+ "materialIcons.js": "materialIcons.b21138ea09d0cdf9ffc4.js",
12
+ "moment.js": "moment.75a9286ff6019fefe5d9.js",
13
13
  "jquery-ui.min.js": "jquery-ui.min.js",
14
14
  "jquery-ui.min.css": "jquery-ui.min.css",
15
15
  "oss-licenses.json": "oss-licenses.json",