Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase on cloudera master #28

Closed
wants to merge 543 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
543 commits
Select commit Hold shift + click to select a range
437bcfb
[ci] Updated versions of CI github actions to resolve deprecation war…
bjornalm Feb 26, 2024
5a1103e
[docker] Upgrade PostgresSQL version from 13 to 15 (#3634)
wing2fly Feb 28, 2024
ba093b2
Addeing HuePubSub for wrning messages (#3585)
ananya-agarwal Feb 28, 2024
2e780cb
[log] Remove the comment of dev only in log conf files (#3636)
wing2fly Feb 29, 2024
a46b3b6
[frontend] Advance the 'AND' rule in the definition of 'between' synt…
laochake Feb 29, 2024
55ab28d
[api] Add new /content_summary public api (#3620)
nidhibhatg Mar 1, 2024
a17d499
[Trino] Refactor Trino-related code for readability and maintainabili…
agl29 Mar 2, 2024
4ed5b0b
[pypi] Upgrade PyYAML package to 6.0.1 (#3635)
Harshg999 Mar 6, 2024
0e711ea
[idbroker] Refactor IDBroker with improved HA support and giving more…
Harshg999 Mar 7, 2024
4b3e9cc
[editor] Update the corrdinator URL pattern in Impala mini job browser
wing2fly Mar 6, 2024
7f2b788
[pylint] Fix the long line in Impala conf
wing2fly Mar 7, 2024
fe9968c
[test] Add unit test for updating the corrdinator URL pattern in Impa…
wing2fly Mar 7, 2024
2ad9381
[Trino] Adding unittest for trino (#3643)
agl29 Mar 8, 2024
b995721
[jb] Split the Job Browser mako into a regular and mini version and e…
JohanAhlen Mar 11, 2024
0f1c58c
[frontend] Dismiss info alert popup messages after 3 seconds
ananya-agarwal Mar 5, 2024
27503c6
Fixed Linting issues
ananya-agarwal Mar 5, 2024
64c749e
Unit testing
ananya-agarwal Mar 9, 2024
a3d9da0
Fixing the jest
ananya-agarwal Mar 9, 2024
46347fa
Fixing the issues in the PR
ananya-agarwal Mar 11, 2024
42055b4
[frontend] Turn all current linting warnings into errors (#3649)
JohanAhlen Mar 11, 2024
57523a1
[jb] Various mini Job Browser improvements (#3654)
JohanAhlen Mar 14, 2024
08037bd
[knox_jwt] Improve unit tests for Knox JWT HA support (#3650)
Harshg999 Mar 14, 2024
c8872fc
[editor] Fix a bug where saving an actual notebook has the incorrect …
JohanAhlen Mar 14, 2024
1f64dee
[Trino] Adding explain query method (#3645)
agl29 Mar 15, 2024
4bd2f36
[raz] Improve RAZ HA unit tests (#3651)
Harshg999 Mar 15, 2024
fd2cfdd
[docker] fix Huefrontend pod going to carshloopbackoff state (#3658)
wing2fly Mar 15, 2024
64adde0
[api] Provide configs to control CORS
sreenaths Mar 15, 2024
4ccdc7b
[jb] Fix bug that breaks Hue when the Job Browser is blacklisted (#3668)
JohanAhlen Mar 19, 2024
b61dac9
[fb] Check for get attribute for ARCHIVE_UPLOAD_TEMPDIR config (#3669)
Harshg999 Mar 19, 2024
d9ae00d
[frontend] Fix missing act() in AlertComponent tests
JohanAhlen Mar 18, 2024
30a1693
[frontend] Fix jest warning when an actual API call happens from unit…
JohanAhlen Mar 18, 2024
1291cc8
[editor] Replace the editor_autocomplete_timeout setting with disable…
JohanAhlen Mar 18, 2024
1f30a3a
[editor] Remove mako variables for editor id and notebooks as well as…
JohanAhlen Mar 19, 2024
b6b2ecc
[editor] Move the SQL Syntax Dropdown from mako to js to get rid of i…
JohanAhlen Mar 19, 2024
0580e7b
[frontend] Implement new file and folder creation modal
nidhibhatg Dec 22, 2023
527f957
[frontend]Added new folder functionalities to storage browser
nidhibhatg Feb 1, 2024
14dfbf2
[frontend] Changes pagenumber to 1 when new folder is viewed
nidhibhatg Feb 2, 2024
1eccd9d
[frontend] Added new file creation functionalities to storage browser
nidhibhatg Feb 2, 2024
513284a
[frontend] Removed description and placeholder from input modal.
nidhibhatg Feb 5, 2024
adecbc9
[frontend] i18n changes and improvements
nidhibhatg Feb 7, 2024
6ea1271
[frontend] Improvements and replaced axios post
nidhibhatg Mar 1, 2024
129b43f
[frontend] Improvements and added 118n to default props
nidhibhatg Mar 5, 2024
d8dbbf7
[frontend] Added tests for input modal
nidhibhatg Mar 20, 2024
7d4f388
[frontend] Add nonStick option for global alerts
JohanAhlen Mar 18, 2024
0d9fda4
[frontend] Add pubsub topic to hide all open global alerts
JohanAhlen Mar 19, 2024
0269dd9
[frontend] Adjust the useHuePubSub hook to not update the state when …
JohanAhlen Mar 20, 2024
56f13d2
[frontend] Replace the use of jHueNotify with the new Alert component
JohanAhlen Mar 19, 2024
8fa8144
[frontend] Change typescript eslint rule from warning to error
JohanAhlen Mar 22, 2024
622a0e7
[raz][abfs] Improve url params encoding for RAZ ABFS client (#3666)
Harshg999 Mar 27, 2024
f5250cd
CDPD-65912: [git] precommit hooks for linting
Jan 29, 2024
0c21d58
Add Folder Pattern to linting
Mar 24, 2024
47db78a
add a push hook as well
Mar 24, 2024
5f67c2c
[raz][s3] Fix encoding for special chars in directory name listing 10…
Harshg999 Apr 1, 2024
612a837
[fb] Changed file system name in permission_actions (#3679)
tarunjangid Apr 4, 2024
c435498
[Trino] Support ldap password script in trino (#3689)
agl29 Apr 10, 2024
008554c
[tb] Fix an issue where column comments were fetched for individual c…
JohanAhlen Apr 10, 2024
1cc2431
[jb] Fix issues with Impala query detailed view in the Job Browser
JohanAhlen Apr 12, 2024
682d496
[jb] Fix issues where Hive was showing up in the job browser even tho…
JohanAhlen Apr 12, 2024
a07820c
[tests] Switch Hue backend unit testing from nose to pytest (#3693)
agl29 Apr 16, 2024
658faba
[pylint] enable pylint and remove tools/ace-editor changes done in py…
agl29 Apr 16, 2024
c5c6d8e
Adding Task server backend changes for Hue (#3687)
ranade1 Apr 16, 2024
03fcee0
Task server Docker changes and backend tasks changes (#3688)
athithyaaselvam Apr 16, 2024
1cd19ea
[Frontend] Task server frontend changes. (#3673)
athithyaaselvam Apr 16, 2024
0f91e3b
Importer supports chunked file uploads (#3686)
athithyaaselvam Apr 16, 2024
3b8881d
[Trino] Support multiple query execution from the Hue-Trino editor (#…
agl29 Apr 17, 2024
264c4bb
update nodejs version from 14 to 20 (#3584)
athithyaaselvam Apr 17, 2024
432cd98
[test] convert remaining nose based test to pytest (#3705)
agl29 Apr 18, 2024
264a267
[lint] Remove pylint and switch to ruff for Hue backend linting (#3703)
Harshg999 Apr 18, 2024
36baffd
[doc] Update documentation for running unit tests with pytest (#3706)
agl29 Apr 18, 2024
63958cc
[Core][Python3.10] Refactor codebase for Python 3.10 compatibility, r…
agl29 Apr 19, 2024
cbef69c
[CI] Add python 3.10 CI check in github action (#3699)
agl29 Apr 19, 2024
ba387d4
[beeswax] fixed the incorrect set_nulls in hive results
amitsrivastava Apr 9, 2024
055f98e
[tests] Fix S3 tests to not pickup local Hue setup configs (#3708)
Harshg999 Apr 22, 2024
28a7335
[lint] Ignore deleted files for Ruff linting (#3709)
Harshg999 Apr 22, 2024
9d613c9
[useradmin] Add new "set_user_as_active" and improve "promote_to_supe…
tarunjangid Apr 23, 2024
3fce74c
[connectors] connectors from request is incomplete
amitsrivastava Apr 17, 2024
06c5641
[core][cve] Bump sqlparse to 0.5.0 (#3713)
Harshg999 Apr 24, 2024
0119e00
[core][cve] Remove werkzeug package (#3710)
Harshg999 Apr 24, 2024
a172d00
[cleanup][nose] Remove old nose package references (#3711)
Harshg999 Apr 24, 2024
7f1227f
[commands] Remove promote_to_superuser Hue command (#3715)
Harshg999 Apr 25, 2024
eb37ea6
[frontend] Implement placeholder for empty table scenario (#3682)
nidhibhatg Apr 26, 2024
0e6025f
[core] Change ext-py3 package installation path (#3720)
Harshg999 Apr 29, 2024
d7fd783
[core] Upgrade the request_kerberos lib for python3.10 support (#3721)
agl29 Apr 30, 2024
adfc122
[core] Correct expression for python version comparison (#3718)
agl29 Apr 30, 2024
2fef726
[ubuntu22] Support Hue on ubuntu22 and sles15 with python3.10 (#3714)
agl29 Apr 30, 2024
aa46998
[eventlet] Add rudimentary support for Python 3.10 (#3717)
agl29 Apr 30, 2024
0b8bace
[ruff] Add custom Ruff command in Hue and improve config file (#3716)
Harshg999 Apr 30, 2024
67828f3
[dnspython] Adding dnspython to local install ext-py3 (#3719)
agl29 Apr 30, 2024
c1875de
[ci][ruff] Switch to new custom Ruff cmd for python linting in CI che…
Harshg999 Apr 30, 2024
8793794
[Django] Upgrade the django version (#3725)
agl29 May 2, 2024
050cf3b
[ruff] Skip logging subprocess exception as error (#3728)
Harshg999 May 6, 2024
04dc6d1
[raz] Change log statements to DEBUG for RAZ HA section (#3730)
Harshg999 May 8, 2024
ffdb386
[ui][mako] Delete unused mako files (#3731)
Harshg999 May 9, 2024
4c648c1
[ruff] Enable isort rules for linting (#3727)
Harshg999 May 10, 2024
f678bec
[ui][sidebar] Make visibility of the help menu in the sidebar configu…
tarunjangid May 11, 2024
c6673f8
[ui-storageBrowser] Implement UI modal for content summary (#3681)
nidhibhatg May 14, 2024
d5ab133
[ui-doc] Documenting data-testid attribute in contributing-frontend.m…
ananya-agarwal May 15, 2024
bb57a00
[docs] Add new Python Linting section (#3737)
Harshg999 May 16, 2024
32d205d
[Importer] Fix importer for Parquet, ORC, and Avro formats (#3736)
agl29 May 16, 2024
4a157d8
[filebrowser] updated file compression in hdfs to support py3 (#3734)
tarunjangid May 16, 2024
d32163f
[ui-qe] Adding data-testid attribute to the Hue page HTML elements (#…
ananya-agarwal May 17, 2024
52c1bf5
[taskserver] Handle concurrent uploads using a counter and locking me…
athithyaaselvam May 21, 2024
dc02b1b
[taskserver] Disable schedule tasks tab in job browser based on task_…
athithyaaselvam May 21, 2024
9e27d5f
[ui-storageBrowser] Add cuix and antd classes to Storage Browser (#3741)
nidhibhatg May 22, 2024
b302114
[computes] add k8s label selector filter for service discovery
amitsrivastava May 22, 2024
81a8fad
Avoid initializing free disk space in redis for all hue shell command…
athithyaaselvam May 29, 2024
7ee5a33
[core] Use dedicated home_directory methods and introduce DEFAULT_HOM…
Harshg999 Jun 3, 2024
342357d
[impala] improved query timeout error logging
amitsrivastava Jun 11, 2024
c8e07e3
[conf] Make Gunicorn worker timeout and graceful timeout configurable…
wing2fly Jun 13, 2024
e16b7f6
[ui-tablebrowser] Fix viewSQL tab for Hive (#3754)
Harshg999 Jun 14, 2024
c740708
[ui-storageBrowser]Implement multiselect for Storage browser table da…
nidhibhatg Jun 14, 2024
33b4c90
[cve] Bump cryptography package to 42.0.8 (#3712)
Harshg999 Jun 18, 2024
e118249
[api][fb] Refactor existing filebrowser APIs to clean public APIs (#3…
Harshg999 Jun 20, 2024
bdeccbd
[ui-metrics] Converted the Metrics page within Admin Server in ReactJ…
ananya-agarwal Jun 22, 2024
267dd86
[docs] Remove dead links (#3760)
Harshg999 Jun 25, 2024
d34fd43
[docs] Add documentation for new file browser public APIs (#3759)
Harshg999 Jun 25, 2024
c702fd7
[Hive] Support complex data type sampling (#3766)
agl29 Jun 27, 2024
0a7a1ce
[Blog] Trino blog (#3768)
agl29 Jun 27, 2024
0c4f9d5
[Blog] Trino blog correction (#3770)
agl29 Jun 27, 2024
4cb7a52
[Taskserver] Enhance ABFS upload logic to handle chunk position tracking
Jun 27, 2024
db70a86
[ui-cve]Upgrade sanitize-html to fix CVE-2024-21501 (#3769)
nidhibhatg Jun 28, 2024
78d41a4
[ui-storageBrowser] Implement UI for rename action (#3764)
nidhibhatg Jun 28, 2024
8713bf6
[ui-cve] Upgrade Axios to fix CVE-2023-45857, CVE-2024-28849 and CVE-…
nidhibhatg Jul 1, 2024
7a3bf66
[ui-cve] Upgrade mime in the ace editor source for CVE-2017-16138 (#3…
ananya-agarwal Jul 3, 2024
18b21b7
[ui-metrics-test] Adding an additional test for the metrics Page (#3761)
ananya-agarwal Jul 4, 2024
1826fef
[ui-admin][improvement] Rename AlertComponent to GlobalAlert, Metrics…
ananya-agarwal Jul 4, 2024
cc70d32
[ui-core] Upgrade all jest related libraries
JohanAhlen Jul 8, 2024
9ea0ac5
[ui-core] Allow Blue Oak License 1.0.0
JohanAhlen Jun 24, 2024
c64d748
Bump ws from 7.5.2 to 7.5.10
dependabot[bot] Jul 8, 2024
6d08458
[ui-core] refactor storage browser to extend file preview feature (#3…
ramprasadagarwal Jul 10, 2024
df0e7f9
Bump braces from 3.0.2 to 3.0.3 (#3756)
dependabot[bot] Jul 11, 2024
376c3c4
[ui-storageBrowser]Implement storage browser table search (#3781)
nidhibhatg Jul 11, 2024
666046e
[core] Change ext-py3 package installation path again (#3785)
Harshg999 Jul 12, 2024
cdfb17e
[cve] Bump requests to 2.32.3 for fixing CVE-2023-32681 (#3783)
Harshg999 Jul 12, 2024
ed1867f
[tests][cleanup] Make few unit tests not depend local Hue config and …
Harshg999 Jul 12, 2024
cd0a92e
[ui-leftnav] Remove "Edit List" tab from Editor dropdown in left navb…
Harshg999 Jul 12, 2024
53998b3
[UI] Added a check to handle cases where the input is of type 'object…
agl29 Jul 15, 2024
b960c70
[ui-cve] Upgrade babel related packages due to CVE-2023-45133
JohanAhlen Jul 15, 2024
b580740
[ui-cve] Upgrade tar due to CVE-2024-28863
JohanAhlen Jul 15, 2024
4c3bbcb
[Taskserver] Set timezone-aware datetimes to False
Jul 15, 2024
1e666be
[ui-core] Upgrade babel and webpack to the latest versions
JohanAhlen Jul 15, 2024
f67890e
[ui-core] Upgrade Typescript and related libs to the latest versions
JohanAhlen Jul 15, 2024
103385e
[ui-core] Upgrade js/ts linters to the latest possible versions
JohanAhlen Jul 15, 2024
1afb798
[ui-core] Upgrade style lint to the latest version
JohanAhlen Jul 15, 2024
58fd518
[ui-core] Add missing dependencies
JohanAhlen Jul 17, 2024
034e6fd
[api] Add swagger UI and schema for public APIs (#3776)
tabraiz12 Jul 17, 2024
ce2894e
[ui-jobs] Change "Modified" header for schedules listing to "Next Mat…
JohanAhlen Jul 17, 2024
e51c4fd
[ext-py][dnspython] Fix Tudoor DoS issue (CVE-2023-29483)
amitsrivastava Jul 19, 2024
3cb867c
[ext-py][eventlet] Fix Tudoor DoS issue (CVE-2023-29483)
amitsrivastava Jul 18, 2024
c49ecbe
[lib] Pin krb5 to 0.5.1 for SLES12 (#3798)
wing2fly Jul 25, 2024
f3f1630
[ci] Setup node v20 correctly for py3 checks (#3799)
Harshg999 Jul 25, 2024
03b1a53
[Python3.11] Upgrade libs to support python3.11 with backward compati…
agl29 Aug 1, 2024
493543c
[Python3.11] Improve the regex expression (#3804)
agl29 Aug 1, 2024
62be61b
[Python3.11] support python3.11 in Hue makefile build script (#3806)
agl29 Aug 1, 2024
f6e6ef1
[Importer] Fix manual table creation from importer (#3807)
agl29 Aug 5, 2024
be2b3d4
[core] Add the inline documents search back in the documents page
JohanAhlen Aug 5, 2024
3496749
[core] Add the document copy action to the right click context menu i…
JohanAhlen Aug 5, 2024
d742b42
[core] Add the document copy action to the right click context menu i…
JohanAhlen Aug 5, 2024
8a453b1
[Python3.11] Adding custom commit in sasl lib to support python3.11
agl29 Aug 1, 2024
f75608c
Added the commit to support the python3.11
agl29 Jul 29, 2024
89c8ee7
[Python3.11] Added CI for python3.11 (#3802)
agl29 Aug 7, 2024
ce08dcc
[ui-storageBrowser] Fix height layout issues in storage browser (#3813)
nidhibhatg Aug 8, 2024
a2c3090
[doc2] Fix issue where a copy of a shared document in user home becom…
JohanAhlen Aug 5, 2024
71a6726
[core] Bump up celery to 5.4.0 and django-celery-beat to 2.6.0
ranade1 Aug 14, 2024
2d06975
[CVE] Remove libexpat from windows OS's virtual env directory
Aug 14, 2024
a6585ee
[api] Add /get_trash_path public API (#3817)
Harshg999 Aug 20, 2024
8c7a364
[ui-core]: feat: add useLoadData hook for API calls (#3819)
ramprasadagarwal Aug 20, 2024
f348cd7
[ui-storagebrowser] chore: code cleanup (#3820)
ramprasadagarwal Aug 20, 2024
395d807
[Hive][left assist] Enhanced get_tables_meta to correctly fetch and d…
agl29 Aug 20, 2024
b2d2978
[ci] Bump checkout and setup-node actions from v3 to v4 (#3825)
Harshg999 Aug 21, 2024
2b22c03
[interpreters] Skip adding all available editors by default for every…
Harshg999 Aug 22, 2024
a2f1b62
Removing the import and usage of act in TaskBrowser.jsx
Aug 22, 2024
64dac7f
[ui-testing] Improve 2 unit tests
bjornalm Aug 23, 2024
15c0dd5
[ui-metrics-cuix] Updating metrics to sync with Cloudera design (#3826)
ananya-agarwal Sep 3, 2024
c26b467
[Python3.9] Add support for Python 3.9 on RHEL8 and RedHat8-ARM64 (#3…
agl29 Sep 4, 2024
09d13d0
[hive] Fix config issue in HS2 ZK discovery
kovjanos Aug 21, 2024
bc62813
[hive] Use the right port number for server config according to thrif…
wing2fly Sep 4, 2024
5ec331d
[Threads] Remove Threads tab from Administrator Server Tab (#3815)
ananya-agarwal Sep 5, 2024
670c429
[ui] Bump webpack from 5.93.0 to 5.94.0 (#3834)
dependabot[bot] Sep 9, 2024
82d8b0a
[core] Upgrade markdown package from 3.1 to 3.7 (#3838)
agl29 Sep 10, 2024
eedf754
[oozie] Upgrade workflow sharing command to support Py3 (#3840)
Harshg999 Sep 11, 2024
acc74f1
[ruff] Change runruff args order and update docstring example (#3842)
Harshg999 Sep 12, 2024
08ca92c
[hdfs] Improve log message for left-over temporary file during upload…
Harshg999 Sep 12, 2024
9f0280e
[ui-core]: add onSuccess and onError callback for useLoadData hook (#…
ramprasadagarwal Sep 17, 2024
ad12816
[core][config] Hide config values having secret attribute as True (#3…
Harshg999 Sep 17, 2024
53e8d58
[ui-storagebrowser] view file content as text (#3823)
ramprasadagarwal Sep 18, 2024
d7a54dd
[Trino] Table/database names starting with digit should inclosed with…
agl29 Sep 24, 2024
41fd5de
DWX-17085: added compute support for trino
amitsrivastava Sep 18, 2024
9111b91
[metrics] Fix lost connection when metrics query database (#3852)
wing2fly Sep 24, 2024
ce781c6
[Trino] Update drag and drop suggestions to use double quotes instead…
agl29 Oct 1, 2024
0c66ada
[ui-importer] adds compute selection in importer destination (#3854)
ramprasadagarwal Oct 1, 2024
e806c01
[computes] Fixed the typo in picking compute display-name
amitsrivastava Oct 1, 2024
cef1bae
[ui-storagebrowser] add download button for files (#3851)
ramprasadagarwal Oct 8, 2024
9b4747f
[ui-editor] replaces editor shortcuts separator to plus sign (#3856)
ramprasadagarwal Oct 8, 2024
f46a834
[raz][fips] Set usedforsecurity=False for MD5 hash to support FIPS mo…
Harshg999 Oct 9, 2024
1df282a
[config][cleanup] Fix bool to coerce_bool type conversion warning (#3…
Harshg999 Oct 9, 2024
961f7ea
[Trino] Show query ID in logs for the Trino editor (#3857)
agl29 Oct 10, 2024
b31a749
[raz][fips] Fix S3 WRITE operations from regressing in non-raz setup …
Harshg999 Oct 10, 2024
3c01e25
[sasl] Remove the prebuild saslwrapper (#3863)
agl29 Oct 14, 2024
db70e4c
[cve] Upgrade configobj to 5.0.9 to fix CVE-2023-26112 (#3862)
Harshg999 Oct 14, 2024
fa15c5b
[ui-oozie] Hide the widget drop zone above end if a decision node is …
JohanAhlen Oct 16, 2024
59fad96
[ui-core] add useSaveData hook for api calls (#3864)
ramprasadagarwal Oct 16, 2024
43f8e00
[ui-core] remove urlPrefix option from useLoadData hook (#3868)
ramprasadagarwal Oct 16, 2024
b65a11b
use the system username for impala/hive auth from configs
amitsrivastava Oct 16, 2024
7f6aab6
[Core] Refactor the URL pattern to allow special characters in the ta…
agl29 Oct 17, 2024
6cf4875
[commands][cleanup] Remove redundant set_default_editor scripts (#3865)
Harshg999 Oct 17, 2024
2e10b71
[Trino] Add a flag to distinguish between the database and table/colu…
agl29 Oct 17, 2024
ccecafa
[core][cleanup] Refactor and remove old Py2 code checks and methods (…
Harshg999 Oct 21, 2024
16c940e
[middleware][cleanup] Remove unused HtmlValidationMiddleware (#3871)
Harshg999 Oct 21, 2024
9a85afa
[frontend] fixed calendar button alignment in Oozie WF Submit form (#…
tarunjangid Oct 24, 2024
552850e
[api] Refactor old filebrowser methods to new public APIs (#3836)
Harshg999 Oct 28, 2024
0e94376
[ui-storagebrowser] adds file preview and save for files (#3869)
ramprasadagarwal Oct 29, 2024
7b54217
[Pytest] Generate HTML report for test results and disable warnings (…
agl29 Nov 5, 2024
b1d5856
[pytest] Add warning for PRs missing unit test file changes (#3875)
agl29 Nov 13, 2024
e9b6a45
Fix it (#3882)
ranade1 Nov 15, 2024
7d8961f
Fixing redirect_url for Production and Dev/Staging environment
ranade1 Nov 15, 2024
7b08df4
[Filebrowser] Fix support for reading Parquet files (#3885)
agl29 Nov 18, 2024
ff1e56e
[security] Unsafe Inline Script (#3876)
tabraiz12 Nov 19, 2024
577b140
[api] Improve normal file upload design for public APIs (#3878)
Harshg999 Nov 21, 2024
3d0bf36
[ui-configuration] Convert the Configuration page within Administrato…
ananya-agarwal Nov 22, 2024
251b017
[api] Prevent renaming files to restricted file types (#3886)
Harshg999 Nov 25, 2024
a104a75
[fb] Stop file uploads with restrictive file types for old upload han…
Harshg999 Nov 25, 2024
6948861
[api] Change error message for new upload public API (#3889)
Harshg999 Nov 25, 2024
7489ce0
[computes] typo-fix k8s labels should be in lowercase
amitsrivastava Nov 25, 2024
a8a8585
[Importer] Update Iceberg table syntax for Impala (#3887)
agl29 Nov 26, 2024
1675c50
[ozone] Fix edge cases when volume name start with service_id in path…
Harshg999 Nov 27, 2024
979d867
[logs] Refactor old Hue logs views into new public APIs (#3899)
Harshg999 Dec 4, 2024
cd9a3cb
Remove psycopg2-binary due to FIPS restrictions
Dec 3, 2024
d2edbee
[api] Add overwrite option for /upload API when file already exists (…
Harshg999 Dec 6, 2024
f1015c8
[ui-config] Change MAX_FILEEDITOR_SIZE from string to number (#3904)
Harshg999 Dec 9, 2024
1c69b6f
[ci] Upgrade go and muffet package to latest versions for docs lint c…
Harshg999 Dec 10, 2024
74c592e
[ui-core] adds useQueueProcessor hook to manage concurrent async task…
ramprasadagarwal Dec 10, 2024
acdd97c
Install psycopg2 for all os
Dec 11, 2024
fec209e
[ui-storageBrowser] Implement storage browser actions (#3877)
nidhibhatg Dec 12, 2024
470b515
[ui-core] adds drag and drop component (#3912)
ramprasadagarwal Dec 12, 2024
8203d76
Upgrade Gunicorn to v23.0.0 and switch to gthread worker class
amitsrivastava Dec 10, 2024
f356158
[backend] Remove lockfile python package due to EOL
ranade1 Dec 13, 2024
c67bfd6
[ui-importer] make compute selection mandatory (#3896)
ramprasadagarwal Dec 14, 2024
8fe5b1a
[api] optimise new storage browser rendering (#3918)
ramprasadagarwal Dec 16, 2024
130bb0f
[ui-storagebrowser] adds hooks for file upload (#3910)
ramprasadagarwal Dec 17, 2024
04fe0f9
[ui-storagebrowser] refactors PathBrowser component to construct brea…
ramprasadagarwal Dec 17, 2024
a2ddc9b
[ui-storagebrowser] ports APIs to public and refactors code (#3906)
ramprasadagarwal Dec 17, 2024
d16de72
[api] Port chunk file upload related APIs to public (#3921)
Harshg999 Dec 17, 2024
2331571
[ui-storagebrowser] refactor storage browser and folder structure (#3…
ramprasadagarwal Dec 18, 2024
5dc39b7
[ui-storagebrowser] refactor browser actions (#3915)
ramprasadagarwal Dec 18, 2024
ad00b2e
[ui-storagebrowser] integrates file upload components to storage brow…
ramprasadagarwal Dec 18, 2024
4b551c9
[ui-storagebrowser] updates browser url while navigating (#3919)
ramprasadagarwal Dec 18, 2024
fe17f6a
[ui-storagebrowser] refreshes file stats when file is edited (#3920)
ramprasadagarwal Dec 18, 2024
9c69910
[ui-storagebrowser] adds and reads configs from .ini files (#3922)
ramprasadagarwal Dec 18, 2024
ca87369
[security] Inline Js Fixes, Fixes File Browser Issues and other relat…
tabraiz12 Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
291 changes: 21 additions & 270 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
version: 2.1

commands:
build-common:
build-py-38-common:
parameters:
go_arch:
# amd64 or arm64
Expand All @@ -16,111 +16,29 @@ commands:
steps:
- checkout

# Download and cache dependencies
# - restore_cache:
# keys:
# - v1-dependencies-{{ checksum "requirements.txt" }}
# # fallback to using the latest cache if no exact match is found
# - v1-dependencies-

# - run:
# name: install dependencies
# command: |
# python -m venv venv
# . venv/bin/activate
# pip install -r requirements.txt

# - save_cache:
# paths:
# - ./venv
# key: v1-dependencies-{{ checksum "requirements.txt" }}

# Revert to traditional pip install when build refactored, in the meantime:
- run:
name: refresh sources
name: compile
command: |
if [ ! -d /usr/share/hue ]; then
# Ubuntu 20.04 ARM64
sudo mkdir -p /usr/share/hue
sudo chown -R $USER:$USER /usr/share/hue
fi

rm -rf /usr/share/hue/desktop/core/src/desktop
mkdir -p /usr/share/hue/desktop/core/src/
cp -r desktop/core/src/desktop /usr/share/hue/desktop/core/src/desktop

for lib in `ls desktop/libs`
do
rm -rf /usr/share/hue/desktop/libs/$lib/src/$lib
mkdir -p /usr/share/hue/desktop/libs/$lib/src/
cp -r desktop/libs/$lib/src/$lib /usr/share/hue/desktop/libs/$lib/src/$lib
done
for lib in `ls apps | grep -v Makefile | grep -v logs`
do
rm -rf /usr/share/hue/apps/$lib/src/$lib
mkdir -p /usr/share/hue/apps/$lib/src/
cp -r apps/$lib/src/$lib /usr/share/hue/apps/$lib/src/$lib
done
sudo ln -fs /usr/share/zoneinfo/UTC /etc/localtime
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y gcc g++ build-essential python3.8-dev python3.8-venv python3.8-distutils asciidoc rsync curl libkrb5-dev libldap2-dev libsasl2-dev libxml2-dev libxslt-dev libsasl2-modules-gssapi-mit libsnappy-dev libffi-dev
curl -sL https://deb.nodesource.com/setup_20.x | sudo bash - && sudo apt-get install -y nodejs
curl -sL https://bootstrap.pypa.io/get-pip.py | sudo python3.8
sudo apt-get install -y libncursesw5-dev libgdbm-dev libc6-dev libssl-dev openssl

rm -rf /usr/share/hue/tools
cp -r tools /usr/share/hue

rm -f /usr/share/hue/desktop/conf/*.ini
mkdir -p /usr/share/hue/desktop/conf/
cp desktop/conf/pseudo-distributed.ini.tmpl /usr/share/hue/desktop/conf/pseudo-distributed.ini

# ini configuration tweaks
## Very slow if on, cuts time in two and does not skip tests
sed -i 's/## has_iam_detection=true/ has_iam_detection=false/g' /usr/share/hue/desktop/conf/pseudo-distributed.ini

# build Hue when using plain Ubuntu image
if [ ! -f /usr/share/hue/build/env/bin/hue ]; then
sudo add-apt-repository --yes ppa:deadsnakes/ppa
sudo apt-get update
DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true TZ=UTC sudo apt-get install -y --no-install-recommends python2.7-dev libsnappy-dev asciidoc git ant gcc g++ libffi-dev libkrb5-dev libmysqlclient-dev libsasl2-dev libsasl2-modules-gssapi-mit libsqlite3-dev libssl-dev libxml2-dev libxslt-dev make maven libldap2-dev python-setuptools libgmp3-dev
# see https://docs.gethue.com/administrator/installation/dependencies/#mysql--mariadb
git config user.email "[email protected]"
git config user.name "Hue CircleCI"
git cherry-pick 7a9100d4a7f38eaef7bd4bd7c715ac1f24a969a8
git cherry-pick e67c1105b85b815346758ef1b9cd714dd91d7ea3
git clean -fdx
make apps
cp -r build /usr/share/hue/
fi

cd /usr/share/hue
# make npm-install # Not available
cp ~/repo/babel.config.js .
cp ~/repo/tsconfig.json .
cp ~/repo/jest.config.js .
cp ~/repo/.pylintrc .
cp ~/repo/.stylelintrc .

cp ~/repo/webpack.config*.js .
rm -f package.json
cp ~/repo/package.json .
rm -f package-lock.json
cp ~/repo/package-lock.json .
npm install
npm i eslint-plugin-jest@latest --save-dev # Seems to not be found otherwise
npm run webpack
npm run webpack-login
npm run webpack-workers
./build/env/bin/hue collectstatic --noinput

cp -r ~/repo/docs .
export PYTHON_VER=python3.8
export ROOT=$PWD
make apps

# Run documentation lint
- run:
name: run documentation lints
command: |
cd ~/repo

# Installs to move to image building
curl -O https://dl.google.com/go/go1.17.linux-<< parameters.go_arch >>.tar.gz
tar -xvf go1.17.linux-<< parameters.go_arch >>.tar.gz
export GO111MODULE=on
go/bin/go get -u github.com/raviqqe/[email protected]
curl -O https://dl.google.com/go/go1.23.4.linux-<< parameters.go_arch >>.tar.gz
tar -xvf go1.23.4.linux-<< parameters.go_arch >>.tar.gz
go/bin/go install github.com/raviqqe/muffet/v2@latest

curl --output hugo_0.69.0_Linux.tar.gz -L https://github.com/gohugoio/hugo/releases/download/v0.69.0/hugo_0.69.0_Linux-<< parameters.hugo_arch >>.tar.gz
tar -xvf hugo_0.69.0_Linux.tar.gz
Expand All @@ -131,205 +49,38 @@ commands:
./tools/ci/check_for_website_dead_links.sh docs/docs-site
# ./tools/ci/check_for_website_dead_links.sh docs/gethue

# Run code lints
- run:
name: run python lints
command: |
cd ~/repo

/usr/share/hue/build/env/bin/pip install pylint==1.7.5 pylint-django==0.7.2 configparser==4.0.2
./tools/ci/check_for_python_lint.sh /usr/share/hue

- run:
name: run commit title format check
command: |
cd ~/repo

./tools/ci/check_for_commit_message.sh

- run:
name: run js lint
command: |
cd /usr/share/hue
cp ~/repo/.prettierrc .
cp ~/repo/.eslint* .
cp ~/repo/tools . -r

npm run lint

- run:
name: run style lint
command: |
cd /usr/share/hue

npm run style-lint

- run:
name: run npm license checker
command: |
cd /usr/share/hue

npm run check-license
PYTHONWARNINGS=always ./build/env/bin/hue runruff check

- run:
name: run npm absolute path detection
command: |
cd /usr/share/hue

npm run check-absolute-paths

# Run tests
- run:
name: run python API tests
command: |
cd /usr/share/hue

PYTHONWARNINGS=always ./build/env/bin/hue test unit --with-xunit --with-cover

- run:
name: run js tests
name: run tests
command: |
cd /usr/share/hue

# https://jestjs.io/docs/en/troubleshooting.html#tests-are-extremely-slow-on-docker-andor-continuous-integration-ci-server
sed -i 's/"test": "jest"/"test": "jest --runInBand"/g' package.json

npm run test
PYTHONWARNINGS=always ./build/env/bin/pytest

- store_artifacts:
path: test-reports
destination: test-reports

build-py-38-common:
steps:
- checkout

- run:
name: compile
command: |

if [ -d /usr/share/hue ]; then
# Running in gethue/hue Docker container
apt-get install -y python3.8-dev python3.8-venv python3.8-distutils libsnappy-dev # This should not be needed as some point
curl -sL https://bootstrap.pypa.io/get-pip.py | python3.8
else
sudo ln -fs /usr/share/zoneinfo/UTC /etc/localtime
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y gcc g++ build-essential python3.8-dev python3.8-venv python3.8-distutils asciidoc rsync curl libkrb5-dev libldap2-dev libsasl2-dev libxml2-dev libxslt-dev libsasl2-modules-gssapi-mit libsnappy-dev libffi-dev
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - && sudo apt-get install -y nodejs
curl -sL https://bootstrap.pypa.io/get-pip.py | sudo python3.8
sudo apt-get install -y libncursesw5-dev libgdbm-dev libc6-dev libssl-dev openssl
fi

export PYTHON_VER=python3.8
export ROOT=$PWD
make apps

- run:
name: run tests
command: |
PYTHONWARNINGS=always ./build/env/bin/hue test unit --with-xunit --with-cover


jobs:
build:
docker:
# specify the version you desire here
# - image: circleci/python:3.8.0
- image: gethue/hue:latest-py2

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4

working_directory: ~/repo

steps:
- build-common:
go_arch: "amd64"
hugo_arch: "64bit"

build-arm64:
build-py-38-arm64:
machine:
image: ubuntu-2004:202101-01
image: ubuntu-2004:2023.07.1
resource_class: arm.medium

working_directory: ~/repo

steps:
- build-common:
- build-py-38-common:
go_arch: "arm64"
hugo_arch: "ARM64"

commit:
docker:
- image: circleci/python:3.8.0

working_directory: ~/repo

steps:
- checkout

- add_ssh_keys:
fingerprints:
- "8c:68:29:28:04:80:38:31:c0:59:d9:3d:65:3e:b7:8c"

- run:
name: push to master
command: |
git push origin HEAD:master

build-py-38:
docker:
- image: gethue/hue:latest-py2 # Should be circleci/python:3.6 at some point

working_directory: ~/repo

steps:
- build-py-38-common

build-py-38-arm64:
machine:
image: ubuntu-2004:202101-01
resource_class: arm.medium

working_directory: ~/repo

steps:
- build-py-38-common

workflows:
version: 2
run-tests-and-rebase-master:
jobs:
- build:
filters:
branches:
ignore:
- master
- py3-ci
- build-arm64:
filters:
branches:
ignore:
- master
- py3-ci
- commit:
requires:
- build
filters:
branches:
only:
- /.*ci-commit-master.*/
build-python3:
jobs:
- build-py-38:
filters:
branches:
ignore:
- master
- build-py-38-arm64:
filters:
branches:
Expand Down
Loading