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

Syncing latest changes from master for noobaa-core #13

Open
wants to merge 1,709 commits into
base: release-4.18
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1709 commits
Select commit Hold shift + click to select a range
fe3dd1d
refactor delete bucket
romayalon Apr 1, 2024
b1aa754
Merge pull request #7938 from romayalon/romy-delete-bucket-perf
romayalon Jun 16, 2024
87d241d
Utilize the correct certificates for the STS HTTPS server (#8123)
Neon-White Jun 17, 2024
95f0903
Fix log-based replication Prometheus field (#8144)
Neon-White Jun 17, 2024
ed3cd1c
Fix IAM and STS endpoint servers (#8150)
Neon-White Jun 17, 2024
fa61521
Bucket Logging: Accept Log Prefix as per S3 bucket logging
aspandey Jun 12, 2024
64d88dd
Merge pull request #8136 from aspandey/bucket-logging-prefix-change
aspandey Jun 18, 2024
f815a51
Bucket_logging: Change log object name format.
aspandey Jun 10, 2024
967ab61
Merge pull request #8128 from aspandey/change-log-object-name
aspandey Jun 19, 2024
af502bc
Adding debug option to manage_nsfs
jackyalbo Jun 19, 2024
2a05300
Merge pull request #8156 from jackyalbo/jacky-nsfs-fixes
jackyalbo Jun 19, 2024
b5a5075
NC | MPU disable ctime check on load_multipart()
romayalon Jun 19, 2024
6734bb7
Merge pull request #8158 from romayalon/romy-MPU-disable-ctime-check
romayalon Jun 20, 2024
0048539
Bump ws from 8.17.0 to 8.17.1
dependabot[bot] Jun 20, 2024
25aab25
Merge pull request #8154 from noobaa/dependabot/npm_and_yarn/ws-8.17.1
liranmauda Jun 20, 2024
d416089
NSFS | NC | IAM service - access keys API
shirady May 22, 2024
d5921f4
Merge pull request #8119 from shirady/nsfs-iam-account-access-keys
shirady Jun 23, 2024
6b5195d
load_requesting_account fix throw error in object_sdk + simplify catc…
shirady Jun 19, 2024
0f071fd
load_requesting_account fix throw error in account_sdk
shirady Jun 19, 2024
176c6f6
Merge pull request #8157 from shirady/fix-throw-error-load_requesting…
shirady Jun 23, 2024
8d56a25
NSFS | NC | CLI Refactor Validation (Partial) - Part 2
shirady Jun 25, 2024
a32ca59
Merge pull request #7928 from shirady/nsfs-nc-refactor-validation-part2
shirady Jun 27, 2024
acf6bf5
NC | nsfs.js | Take fork_utils down after process.env.NC_NSFS_NO_DB_E…
romayalon Jun 25, 2024
9f0873f
Merge pull request #8164 from romayalon/romy-nc-vaccum-fix
romayalon Jun 27, 2024
e76dbcd
Fix STS SessionToken generation and refactor JWT `make_auth_token` (#…
Neon-White Jun 27, 2024
e8b44aa
NC | Add --debug flag to health CLI
romayalon Jun 25, 2024
ec7a200
Merge pull request #8165 from romayalon/romy-health-debug
romayalon Jun 30, 2024
674c0c7
Avoid throwing an error in update_bucket_class
dannyzaken Jul 1, 2024
7b0d3e3
Merge pull request #8173 from dannyzaken/danny-fixes
dannyzaken Jul 2, 2024
052f158
NSFS | NC | IAM service - root accounts manager (root account operati…
shirady Jun 23, 2024
0689043
Merge pull request #8161 from shirady/nsfs-iam-account-allow_root_acc…
shirady Jul 3, 2024
d57b7f6
Bucket Logging: Add unit tests for bucket logging
aspandey Jun 19, 2024
1e26ec2
Merge pull request #8155 from aspandey/bucket_logging_testing
aspandey Jul 3, 2024
c26e52f
NC | noobaa log is not performing logrotate
naveenpaul1 Jun 24, 2024
f53743d
Merge pull request #8182 from naveenpaul1/rsyslog-fail-bm
naveenpaul1 Jul 4, 2024
c42e64d
NSFS | NC | Handle concurrency when reading entries and they deleted…
shirady Jul 3, 2024
143b774
Merge pull request #8183 from shirady/nsfs-nc-check-deletion
shirady Jul 4, 2024
a044c30
Replace yamljs with yaml
liranmauda Jul 1, 2024
4eec949
Merge pull request #8184 from liranmauda/liran-replace-yamljs
liranmauda Jul 7, 2024
5d8dda6
add context to fs_napi errors
tangledbytes Jun 17, 2024
e1c6fed
Merge pull request #8149 from tangledbytes/utkarsh/fix/8065
tangledbytes Jul 8, 2024
df7625f
NC | NSFS | Delete a bucket when its path was deleted first
shirady Jul 7, 2024
bead679
Merge pull request #8187 from shirady/nsfs-nc-bucket-issue
shirady Jul 8, 2024
42f9f4a
NC | NSFS | Add config object for the CLI
shirady Jul 7, 2024
22d5019
Merge pull request #8188 from shirady/nsfs-nc-config-object
shirady Jul 8, 2024
e08c1dd
update commit hash in Ceph test
shirady Jul 9, 2024
bc4eff6
Merge pull request #8191 from shirady/update-ceph-test
shirady Jul 9, 2024
8ed9d83
NC | docs refactoring
romayalon Jun 16, 2024
cc240ff
Merge pull request #8162 from romayalon/romy-nc-docs
romayalon Jul 11, 2024
30bd125
PR3 - Persistent logging
jackyalbo Jun 9, 2024
bbb8f51
Merge pull request #8121 from jackyalbo/jacky-pers_log
jackyalbo Jul 11, 2024
fef6ea9
NSFS | NC | IAM Service - Input Validation
shirady Jun 16, 2024
5e4aa42
Merge pull request #8172 from shirady/nsfs-iam-account-input-validation
shirady Jul 15, 2024
a23512d
Adding unsupported ceph test to pending list (#8201)
vh05 Jul 15, 2024
73e7a54
Bump dependencies
liranmauda Jun 30, 2024
469b356
Merge pull request #8202 from liranmauda/liran-bump-deps
liranmauda Jul 16, 2024
b6bda3c
Add missing bucket name to params while calling list_objects() (#8204)
vh05 Jul 16, 2024
377db13
NC | NSFS | Update docs
shirady Jul 16, 2024
fa4ff5d
Merge pull request #8203 from shirady/nsfs-nc-update-docs
shirady Jul 16, 2024
0d4c319
Adding unsupported ceph nsfs s3 test to pending list (#8205)
vh05 Jul 16, 2024
dcf1957
[MCG] Store relevant Owner metadata for MCG objects (#8062)
vh05 Jul 16, 2024
407af97
NC | NSFS | IAM Service - Input Validation - MaxItems
shirady Jul 16, 2024
00513d4
Merge pull request #8208 from shirady/nsfs-iam-account-max-items-vali…
shirady Jul 17, 2024
ff2c0b0
NC | NSFS | change config of config.NSFS_GLACIER_LOGS_ENABLED to false
shirady Jul 17, 2024
061d5f7
Merge pull request #8210 from shirady/nsfs-nc-wal-config
shirady Jul 17, 2024
74b2f44
Object Owner | get default owner once
romayalon Jul 17, 2024
0719ffa
Merge pull request #8211 from romayalon/romy-list-objects-fix
romayalon Jul 17, 2024
19a9ad4
Bump prom client to 15.1.3
liranmauda Jul 17, 2024
a6e8837
Merge pull request #8212 from liranmauda/liran-bump-deps
liranmauda Jul 18, 2024
818d67c
NSFS | NC | IAM Gap - Handle concurrency when reading entries and the…
shirady Jul 21, 2024
7d78bac
Merge pull request #8219 from shirady/nsfs-iam-list-users-gap
shirady Jul 22, 2024
66a4e52
NC | NSFS | CLI Basic Support of IAM Accounts Configs
shirady Jul 10, 2024
4bb376b
Merge pull request #8195 from shirady/nsfs-iam-minor-cli-changes
shirady Jul 22, 2024
1d8ce65
change finalize restore open mode to RDONLY
tangledbytes Jul 19, 2024
f7bd79c
Merge pull request #8217 from tangledbytes/utkarsh/fix/recall-random-…
tangledbytes Jul 22, 2024
8b310d6
NC | Noobaa syslogs are sent to two different files
naveenpaul1 Jun 6, 2024
a3dbb7b
Merge pull request #8122 from naveenpaul1/duplicate_logs
naveenpaul1 Jul 23, 2024
12c1502
NC | FS_NAPI | ctime check only if not a directory
romayalon Jul 18, 2024
1aa3e75
Merge pull request #8215 from romayalon/romy-ctime-disable
romayalon Jul 23, 2024
d4246d9
NC | Add NC versioning tests
romayalon Jul 17, 2024
89c2b69
Merge pull request #8220 from romayalon/romy-nc-versionong-tests
romayalon Jul 24, 2024
1e219b2
NC | CLI | Add Diagnose command
romayalon Jul 7, 2024
60b2be7
Merge pull request #8189 from romayalon/romy-noobaa-cli-diagnose
romayalon Jul 24, 2024
b5bcca8
replace flock with fcntl based locks
tangledbytes Jul 2, 2024
a37b513
Merge pull request #8174 from tangledbytes/utkarsh/fix/replace-flock-…
tangledbytes Jul 24, 2024
d0b9dbf
Implement pool ownership (#8196)
Neon-White Jul 25, 2024
c65e20d
NSFS | NC | IAM Service - Accounts Permission When No Bucket Policy
shirady Jul 1, 2024
c5026ab
Merge pull request #8175 from shirady/nsfs-iam-account-implicit-policy
shirady Jul 28, 2024
1f2cfcf
NC | NSFS | S3 flow delete_bucket when ULS was deleted
shirady Jul 22, 2024
c1a4b5d
Merge pull request #8224 from shirady/nsfs-nc-delete-bucket-no-path
shirady Jul 28, 2024
bcf0237
Add get object owner for list object versions (#8221)
vh05 Jul 29, 2024
65d99d0
NSFS | add fs_worker data for stats collector
nadavMiz Jul 24, 2024
daa46cd
Merge pull request #8230 from nadavMiz/fs_worker_stats
nadavMiz Jul 29, 2024
af655d8
fixed upgrade script assign_owner_id_to_all_resources.js
dannyzaken Jul 29, 2024
147bc7e
Merge pull request #8237 from dannyzaken/danny-fixes
dannyzaken Jul 29, 2024
b7f3d16
NC | NSFS | Fix issue related to update_access_key and delete_access_key
shirady Jul 25, 2024
909e29f
Merge pull request #8233 from shirady/nsfs-iam-username-issue
shirady Jul 30, 2024
1bdace7
NC | BucketspaceFS | Atomic updates
romayalon Jul 30, 2024
5777873
Merge pull request #8239 from romayalon/romy-atomic-update-config-dir
romayalon Jul 30, 2024
4c75bde
NC | NSFS | Remove Extra Information From The Logs + Refactor iam _co…
shirady Jul 30, 2024
b22c06e
Merge pull request #8242 from shirady/nsfs-iam-remove-from-logs
shirady Jul 31, 2024
c286886
NC | NSFS | CLI Basic Support of IAM Accounts Configs - Delete Account
shirady Jul 29, 2024
a7069fc
Merge pull request #8238 from shirady/nsfs-iam-minor-cli-changes-dele…
shirady Jul 31, 2024
ed61d22
handle ENOENT in _finalize_restore
tangledbytes Aug 5, 2024
902aa31
fix nsfs_glacier_backend tests not running
tangledbytes Aug 5, 2024
7b46193
Merge pull request #8253 from tangledbytes/utkarsh/nsfs/fix-finalize-…
tangledbytes Aug 5, 2024
5a5eced
add support for bucket tagging in NSFS
tangledbytes Jul 26, 2024
3882f49
Merge pull request #8234 from tangledbytes/utkarsh/nsfs/bucket-tagging
tangledbytes Aug 6, 2024
8c202b4
NC | NSFS | Rename Constants With Prefix GLOBAL_CONFIG
shirady Aug 6, 2024
408c24d
Merge pull request #8260 from shirady/nsfs-nc-rename-constants
shirady Aug 6, 2024
bf4c877
agent_cli.js respect NOOBAA_LOG_LEVEL environment variable
liranmauda Aug 6, 2024
aa9d446
Merge pull request #8262 from liranmauda/liran-Add-NooBaa-Log-Level-t…
liranmauda Aug 6, 2024
3adf2b5
moved upgrade script of upgrade_bucket_policy to 5.15.6 dir
dannyzaken Aug 6, 2024
55d87ae
Merge pull request #8261 from dannyzaken/danny-fix-upgarde-script
liranmauda Aug 6, 2024
b0e7360
NC | config dir class
romayalon Aug 4, 2024
63dcad4
Merge pull request #8258 from romayalon/romy-refactor-config-dir
romayalon Aug 7, 2024
57ff216
NC | NSFS | Remove condiotion checks using lodash isUndefined
shirady Aug 7, 2024
133cbc7
Merge pull request #8267 from shirady/nsfs-nc-remove-lodash-isundefined
shirady Aug 7, 2024
0baa3bf
NC | NSFS | Remove fs_root member in BucketSpaceFS and AccountSpaceFS
shirady Aug 8, 2024
68a0cc7
Merge pull request #8268 from shirady/nsfs-nc-remove-fs-root-empty-st…
shirady Aug 8, 2024
8d110bd
NC | NSFS | Stop setting the system_owner as the account's name in bu…
shirady Jul 18, 2024
ad73e9c
Merge pull request #8192 from shirady/nsfs-nc-system-owner
shirady Aug 8, 2024
a7a5c89
NC | NSFS | Update fetch_existing_account_data
shirady Aug 8, 2024
8b10e2e
Merge pull request #8269 from shirady/nsfs-nc-update-fetch-fetch-exis…
shirady Aug 11, 2024
18a6255
CI | Update Commit Hash in Ceph Tests
shirady Aug 11, 2024
2e73bae
Merge pull request #8271 from shirady/ceph-tests-update-commit-hash
shirady Aug 11, 2024
2b2f87a
adding node support for bucket logging
jackyalbo Jul 30, 2024
d251916
Merge pull request #8256 from jackyalbo/jacky-pers_log
jackyalbo Aug 11, 2024
b8fe822
Bump version to 5.18.0
liranmauda Aug 12, 2024
7d1e7e9
Merge pull request #8276 from liranmauda/liran-bump-version
liranmauda Aug 12, 2024
6268072
NC | NSFS | list_config_files small fix
shirady Aug 12, 2024
906ba38
Merge pull request #8278 from shirady/nsfs-nc-fix-cli-list
shirady Aug 12, 2024
cd5d80e
NC | NSFS | CLI | Improve performance of list with name filter
shirady Aug 11, 2024
a72063b
Merge pull request #8272 from shirady/nsfs-nc-list-with-name-filter
shirady Aug 13, 2024
5e71305
NSFS | versioning | don't show .versions folder on list-object-versions
nadavMiz Aug 11, 2024
a2992c0
Merge pull request #8273 from nadavMiz/remove-versions-folder-from-list
nadavMiz Aug 13, 2024
4898af4
NSFS | NC | add versioning to object tagging
nadavMiz Aug 12, 2024
60a0d68
Merge pull request #8275 from nadavMiz/put-object-tagging-versioning
nadavMiz Aug 14, 2024
5d071d4
Handle the case where the endpoint port was wrong
shirady Jul 28, 2024
c303a3d
Merge pull request #8235 from shirady/nsfs-nc-fix-wrong-port-issue
shirady Aug 15, 2024
fbb2003
Bump dependencies
liranmauda Jul 25, 2024
9ad0d45
Merge pull request #8274 from liranmauda/liran-bump-deps
liranmauda Aug 18, 2024
10c7289
loading RESTRICT_RESOURCE_DELETION from env variable
liranmauda Aug 18, 2024
528a6e2
Merge pull request #8292 from liranmauda/liran-RESTRICT_RESOURCE_DELE…
liranmauda Aug 19, 2024
8c21f68
fixing bucket logging after refactor
jackyalbo Aug 14, 2024
46ccb82
Merge pull request #8286 from jackyalbo/jacky-pers_log
jackyalbo Aug 19, 2024
e2285af
NC | Config Directory Restructure
romayalon Aug 6, 2024
7015998
Merge pull request #8279 from romayalon/romy-config-dir-restructure-c…
romayalon Aug 19, 2024
1c5effa
NSFS | Log events to stderr if stderr is enabled
naveenpaul1 Jul 16, 2024
6cb5714
Merge pull request #8207 from naveenpaul1/event_stderr_log
naveenpaul1 Aug 21, 2024
3c80dc0
AWS SDK Bump dependencies
romayalon Aug 21, 2024
a55b8e1
Merge pull request #8301 from romayalon/romy-bump-version
liranmauda Aug 21, 2024
7a52a4f
fix db_cleaner.js to keep updating from_time
jackyalbo Aug 21, 2024
8b634dd
Merge pull request #8303 from jackyalbo/jacky-db_cleaner_fix
jackyalbo Aug 21, 2024
6751d81
NC | NSFS | Docs | Bucket Policy
shirady Aug 15, 2024
d19fdfd
Merge pull request #8287 from shirady/nsfs-nc-doc-bucket-policy
shirady Aug 22, 2024
42f3ae7
noobaa/core: Modify debug module to chnge log color
aspandey Aug 13, 2024
dd4e50a
Merge pull request #8281 from aspandey/remove-log-colors
aspandey Aug 22, 2024
c29e90a
NC | bucket owner removal
romayalon Aug 15, 2024
8c93a87
Merge pull request #8289 from romayalon/romy-bucket-owner-removal
romayalon Aug 22, 2024
ff0ae59
js-beautify formatting
dannyzaken Aug 20, 2024
8906f86
Lifecycle configuration support in bucketspace_fs
dannyzaken Aug 21, 2024
37429af
Merge pull request #8300 from dannyzaken/danny-nc-lifecycle
dannyzaken Aug 22, 2024
65fca93
Update package.json to avoid CVE
liranmauda Aug 26, 2024
485395b
Merge pull request #8305 from liranmauda/liran-bump-deps
liranmauda Aug 27, 2024
dd68f80
NC | IAM | Docs | Update Terminology Part
shirady Aug 26, 2024
f004fd3
Merge pull request #8306 from shirady/update-iam-docs
shirady Aug 28, 2024
4c60720
NC | NSFS | Bucket policy with Principal as account id (addition)
shirady Aug 20, 2024
29d705f
Merge pull request #8280 from shirady/nsfs-nc-bucket-policy-by-id
shirady Aug 28, 2024
4157448
NC | More Refactoring config_fs
romayalon Aug 18, 2024
8f62e5b
Merge pull request #8297 from romayalon/romy-parse-json-and-encrypt-c…
romayalon Aug 29, 2024
b21517a
NSFS | NC | fix list-objecs-versions issues
nadavMiz Aug 14, 2024
1c8a75f
Merge pull request #8298 from nadavMiz/fix-version-list
nadavMiz Aug 29, 2024
1772148
NSFS | NC | versioning - don't delete bucket with delete marker on to…
nadavMiz Aug 20, 2024
23add37
Merge pull request #8299 from nadavMiz/delete-bucket-versioning
nadavMiz Aug 29, 2024
c2aee5c
Added a fix in upload_object for azure namespace cache bucket
achouhan09 Aug 27, 2024
0d9d1f7
Merge pull request #8311 from achouhan09/azure-cache
achouhan09 Sep 3, 2024
5bbc82c
NC | Online Upgrade CLI
romayalon Aug 26, 2024
dbe6dab
Merge pull request #8308 from romayalon/romy-online-upgrade-cli
romayalon Sep 5, 2024
4e7790f
add support for "Server" and "x-noobaa-available-storage-classes" hea…
tangledbytes Aug 5, 2024
df0c64a
Merge pull request #8255 from tangledbytes/utkarsh/add-support-for-no…
tangledbytes Sep 5, 2024
54eeacf
NSFS | NC | fix versions_dir_cache validation
nadavMiz Aug 29, 2024
bc77785
Merge pull request #8321 from nadavMiz/versioning-validation
nadavMiz Sep 9, 2024
0588fad
block delete_bucket requests by an OBC account
dannyzaken Sep 5, 2024
2bcdc0a
Merge pull request #8331 from dannyzaken/danny-fixes
dannyzaken Sep 10, 2024
8a1d91d
Support any principal `("*")` in STS role policies
Neon-White Sep 10, 2024
8961f1d
Merge pull request #8257 from Neon-White/support-any-sts-principal
Neon-White Sep 10, 2024
fd8df3b
NC | Add backwards compatibility on get_bucket_owner for error accuracy
romayalon Sep 12, 2024
c21797d
Merge pull request #8354 from romayalon/romy-backwards-compatible-on-…
romayalon Sep 12, 2024
2b84c69
encode copy-source in replication scanner
tangledbytes Sep 11, 2024
570f843
Merge pull request #8350 from tangledbytes/utkarsh/fix/replication-sc…
tangledbytes Sep 12, 2024
ea8d44c
prevent issue report on read_object_md if the object doesn't exist
tangledbytes Sep 11, 2024
25bbf89
Merge pull request #8347 from tangledbytes/utkarsh/fix/incorrect-name…
tangledbytes Sep 12, 2024
45d571b
NC | Small fixes
romayalon Sep 10, 2024
5a60fca
Merge pull request #8339 from romayalon/romy-anon-fixes
romayalon Sep 12, 2024
7e31be7
NC | Versioning | Concurrent put of same key
romayalon Sep 10, 2024
8aefb7e
Merge pull request #8342 from romayalon/romy-versioning-con-put-same-key
romayalon Sep 12, 2024
08f7552
Bumping deps to avoid CVE
liranmauda Sep 11, 2024
4ece070
Merge pull request #8356 from liranmauda/liran-bump-deps
liranmauda Sep 15, 2024
aa1d857
Warp concurrent directories creation/deletion
romayalon Sep 10, 2024
0e8c024
Merge pull request #8344 from romayalon/romy-warp-concurrency-directo…
romayalon Sep 15, 2024
cacce05
NC | NSFS | Head object on tagged object does not return x-amz-taggin…
shirady Sep 12, 2024
4edc2a4
Merge pull request #8357 from shirady/nsfs-nc-versioning-head-object-…
shirady Sep 15, 2024
982e878
NC | CLI | small fixes in Health and Account Delete CLI command
romayalon Sep 15, 2024
cb6beec
Merge pull request #8364 from romayalon/romy-health-tests-fix
romayalon Sep 16, 2024
8492113
NC | NSFS | Versioning | Fix Bug | Return 405 for get/head specific d…
shirady Sep 10, 2024
87e28c9
Merge pull request #8338 from shirady/nsfs-nc-versioning-head-get-ver…
shirady Sep 17, 2024
fdca4c1
CI | NSFS | Ceph S3 Tests
shirady Sep 15, 2024
f393125
Merge pull request #8362 from shirady/ceph-s3-test-adding-tests
shirady Sep 17, 2024
b744060
NSFS | fix copy_object issues
nadavMiz Sep 12, 2024
fb9c96c
Merge pull request #8355 from nadavMiz/fix_copy_object
nadavMiz Sep 17, 2024
d1c3f68
Delete object version id concurrency
romayalon Sep 16, 2024
4a116e5
Merge pull request #8367 from romayalon/romy-concurrent-delete-versio…
romayalon Sep 17, 2024
af16180
Fix STS token expiration
Neon-White Sep 10, 2024
b28bd87
Merge pull request #8254 from Neon-White/cast_sts_expiry
Neon-White Sep 17, 2024
abd0db6
CI | NSFS | Ceph S3 Tests | Move tests from pending list to blacklist
shirady Sep 17, 2024
a116848
Merge pull request #8373 from shirady/ceph-s3-nsfs-pendinglist-to-bla…
shirady Sep 18, 2024
6ffaa8a
NSFS | remove prev external attribute
nadavMiz Sep 11, 2024
57cd502
Merge pull request #8351 from nadavMiz/remove-prev-attribute
nadavMiz Sep 18, 2024
c65039b
NC | NSFS | Versioning | Fix Bug 8333 | Delete object with version id
shirady Sep 11, 2024
1325975
Merge pull request #8345 from shirady/nsfs-nc-versioning-delete-objec…
shirady Sep 18, 2024
f0f8899
NC | NSFS | Versioning | Delete Objects | Add a Test | GPFS
shirady Sep 17, 2024
5819f58
Merge pull request #8371 from shirady/nsfs-nc-versioning-delete-objects
shirady Sep 18, 2024
c477b04
NC | Docs | Update Ceph S3 Tests in NC + Fix Bucket Policy
shirady Sep 17, 2024
9639a4b
Merge pull request #8374 from shirady/nsfs-nc-docs-bucket-policy-fix-…
shirady Sep 18, 2024
088a25f
NSFS | GPFS | fix delete latest object twice on GPFS
nadavMiz Sep 12, 2024
3c8a29a
Merge pull request #8358 from nadavMiz/delete-the-latest-version-twice
nadavMiz Sep 19, 2024
a327b4d
CI | Update Ceph S3 Tests
shirady Sep 23, 2024
a3b5ab8
Merge pull request #8392 from shirady/ceph-update-days
shirady Sep 23, 2024
61bd3ee
NC | Check access - skip write check and mode bits check by default a…
romayalon Sep 12, 2024
504f3b4
Merge pull request #8359 from romayalon/romy-check-access-configuration
romayalon Sep 24, 2024
110abc2
NC | Threaded Multiple Object Delete fix
romayalon Sep 19, 2024
4b1fdab
Merge pull request #8388 from romayalon/romy-threaded-multi-object-de…
romayalon Sep 24, 2024
d875871
NC | Copy based on link/same inode overrides existing xattr
romayalon Sep 23, 2024
91c3e00
Merge pull request #8393 from romayalon/romy-copy-link-xattr-skip-fix
romayalon Sep 24, 2024
65db545
NSFS | NOOBAA_LOG_LEVEL is not working as expected
naveenpaul1 Sep 20, 2024
6d5783b
Merge pull request #8389 from naveenpaul1/unwantted_logs
naveenpaul1 Sep 24, 2024
ca82443
Prometheus fix - creating a new registry to collect default metrics f…
achouhan09 Sep 24, 2024
8860143
Merge pull request #8370 from achouhan09/prometheus_fix
achouhan09 Sep 24, 2024
24bd9c4
NSFS | GPFS | fix put object over null version in suspended mode
nadavMiz Sep 19, 2024
00a44f4
Merge pull request #8386 from nadavMiz/put-object-null-suspended
nadavMiz Sep 24, 2024
5a3d0bd
Bumping deps to avoid CVE
liranmauda Sep 22, 2024
b85e291
Merge pull request #8384 from liranmauda/liran-bump-deps
liranmauda Sep 24, 2024
c905f5a
NC | should retry add parentheses
romayalon Sep 24, 2024
ebbfc52
Merge pull request #8403 from romayalon/romy-threaded-multi-object-de…
romayalon Sep 24, 2024
229a01e
NC | NSFS | Add Headers Check in Unit Tests
shirady Sep 24, 2024
8d71b8f
Merge pull request #8402 from shirady/nsfs-nc-versioning-headers-check
shirady Sep 25, 2024
10d6fc7
NC | NSFS | Add Concurrency Tests
shirady Sep 23, 2024
80c3f7a
Merge pull request #8394 from shirady/nsfs-nc-versioning-concurrency-…
shirady Sep 25, 2024
10db059
fix version listing
tangledbytes Sep 26, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BinPackParameters: false
FixNamespaceComments: true
NamespaceIndentation: Inner
PointerAlignment: Left
# IndentPPDirectives: AfterHash
IndentPPDirectives: BeforeHash

AlignOperands: DontAlign
AlignAfterOpenBracket: DontAlign
Expand Down
7 changes: 2 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
.git/
node_modules/
frontend/node_modules/
frontend/dist/
build/
coverage/
logs/
*.log
metadata_storage/
noobaa_storage/
storage/
heapdump-*
.vscode/
*.STASH
*.IGNORE
.nyc_output/
*Dockerfile
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[*.js]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[*.{cpp,cc,c,hpp,h,hh}]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
src/test/system_tests/s3-tests/**
src/test/system_tests/ceph_s3_tests/s3-tests/**
109 changes: 62 additions & 47 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
/* Copyright (C) 2016 NooBaa */
'use strict';

const CURRENT_YEAR = new Date().getFullYear();

module.exports = {

// prevent from looking up other config files in containing folders
root: true,

// our environment is node.js with it's es6 extensions
// Our environment is node.js
env: {
node: true,
es6: true,
es2022: true,
jest: true,
},

// See https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-environments
parserOptions: {
ecmaVersion: 11, // 2020
ecmaVersion: 13, // es2022
},


plugins: [
// stylistic validates style related rules: https://eslint.style/
'@stylistic/js',
// eslint-plugin-header validates copyright header
'header'
],
Expand All @@ -24,7 +33,11 @@ module.exports = {
// we turn ON all of eslint rules by extending eslint:all
// we selectively override the rules we want to remove or change.
// See http://eslint.org/docs/user-guide/configuring#using-eslintall
extends: 'eslint:all',

extends: [
'eslint:all',
'plugin:@stylistic/js/all-extends',
],

rules: {

Expand All @@ -49,17 +62,18 @@ module.exports = {

// verify every file contains our copyright header
'header/header': ['error', 'block', [{
template: " Copyright (C) 2020 NooBaa ",
template: ` Copyright (C) ${CURRENT_YEAR} NooBaa `,
pattern: " Copyright \\(C\\) 20\\d{2} NooBaa ",
}]],

// arrow function styling is not a real error but should be consistent
'arrow-parens': ['error', 'as-needed'],
'@stylistic/js/arrow-parens': ['error', 'as-needed'],

'brace-style': ['error', '1tbs', { allowSingleLine: true }],
// See: https://eslint.org/docs/latest/rules/brace-style
'@stylistic/js/brace-style': ['error', '1tbs', { allowSingleLine: true }],

// maximum number of code paths in a function
// TODO eslint complexity should be reduced to ~10 instead of 30
// TODO eslint complexity should be reduced to ~10 instead of 35
'complexity': ['error', 35],

// must use self=this and not any other alternatives
Expand All @@ -69,10 +83,10 @@ module.exports = {
'curly': ['error', 'multi-line'],

// when splitting "obj.property" to 2 lines the dot should stick to the property
'dot-location': ['error', 'property'],
'@stylistic/js/dot-location': ['error', 'property'],

// match generator-star-spacing to the beautifier preference
'generator-star-spacing': ['error', { before: false, after: true }],
'@stylistic/js/generator-star-spacing': 'off',

// max depth of blocks in a function
// TODO eslint max-depth of blocks should be reduced to ~3 instead of 5
Expand All @@ -88,50 +102,50 @@ module.exports = {
'max-lines-per-function': ['error', 400],

// prefer small number of params to functions, otherwise send object
// TODO eslint max-params per function should be reduced to ~4 instead of 6
// TODO eslint max-params per function should be reduced to ~4 instead of 7
'max-params': ['error', 7],

// max statements in function
// TODO eslint max-statements per function should be reduced to ~40 instead of 60
'max-statements': ['error', 60],

'newline-per-chained-call': ['error', { ignoreChainWithDepth: 4 }],
'@stylistic/js/newline-per-chained-call': ['error', { ignoreChainWithDepth: 4 }],

// don't assign inside a condition, separate the lines for clarity
'no-cond-assign': ['error', 'always'],

'no-confusing-arrow': ['error', { allowParens: true }],
'@stylistic/js/no-confusing-arrow': ['error', { allowParens: true }],

// empty lines are mostly harmless
'no-multiple-empty-lines': ['error', { max: 20 }],
'@stylistic/js/no-multiple-empty-lines': ['error', { max: 20 }],

// don't allow the code to leave unused variables, this prevents typos in many cases
'no-unused-vars': ['error', { vars: 'all', args: 'none' }],

// don't use assignments inside return statements, use separate statements.
'no-return-assign': ['error', 'always'],

'no-trailing-spaces': ['error', { ignoreComments: true }],
'@stylistic/js/no-trailing-spaces': ['error', { ignoreComments: true }],

// do not allow code using variables before they are defined and initialized,
// but ok for functions since function decelerations are loaded before the code runs
'no-use-before-define': ['error', 'nofunc'],

// break lines after operators, not before
'operator-linebreak': ['error', 'after'],
'@stylistic/js/operator-linebreak': ['error', 'after'],

// we prefer single var statement per variable
'one-var': ['error', 'never'],

'space-before-function-paren': ['error', {
'@stylistic/js/space-before-function-paren': ['error', {
'anonymous': 'never',
'named': 'never',
'asyncArrow': 'always'
}],

'function-call-argument-newline': 'off',
'@stylistic/js/function-call-argument-newline': 'off',

'space-unary-ops': ['error', {
'@stylistic/js/space-unary-ops': ['error', {
words: true,
nonwords: false,
overrides: {
Expand All @@ -141,7 +155,7 @@ module.exports = {

// max line length is 80 by default, allow some slack
// TODO eslint max-len for code lines should be error and reduced to ~100 instead of 140
'max-len': ['error', {
'@stylistic/js/max-len': ['error', {
code: 140,
tabWidth: 4,
ignoreComments: true,
Expand All @@ -161,6 +175,11 @@ module.exports = {
// instead of expression (foo = function() {})
'func-style': ['error', 'declaration', { allowArrowFunctions: true }],

"prefer-const": ["error", {
"destructuring": "all",
"ignoreReadBeforeAssign": false
}],

//////////////////////////////////////////////////////////////////////
// //
// WARN //
Expand All @@ -182,9 +201,9 @@ module.exports = {


// not forcing how arrays should have new-line breaks
'array-element-newline': 'off',
'array-bracket-newline': 'off',
'array-bracket-spacing': 'off',
'@stylistic/js/array-element-newline': 'off',
'@stylistic/js/array-bracket-newline': 'off',
'@stylistic/js/array-bracket-spacing': 'off',

// camelcase is a religion. we were born differently.
'camelcase': 'off',
Expand All @@ -202,45 +221,42 @@ module.exports = {
'class-methods-use-this': 'off',

// dangling commas are great for arrays and object properties
'comma-dangle': 'off',
'@stylistic/js/comma-dangle': 'off',

// consistent return does not allow to write promises code very easily
// because in many cases there are conditions to running a promise,
// and otherwise the expected behavior is to simply continue.
'consistent-return': 'off',

// ending files with single EOL is overrated
'eol-last': 'off',

// allowing anonymous functions, used a lot for promises
'func-names': 'off',

// not forcing a consistent policy on line breaks inside func parentheses
'function-paren-newline': 'off',
'@stylistic/js/function-paren-newline': 'off',

// allow short variable names like '_' or 'P' etc. use with care.
'id-length': 'off',

'implicit-arrow-linebreak': ['off', 'beside'],
'@stylistic/js/implicit-arrow-linebreak': ['off', 'beside'],

// indent of 4 spaces would be good to enforce, but it doesn't work well for promise chains
// so hope no-mixed-spaces-and-tabs will be good enough
'indent': ['off', 4],
'@stylistic/js/indent': ['off', 4],

// not forcing initialization of variables
'init-declarations': 'off',

// directive means 'use strict', we don't enforce lines around
'lines-around-directive': 'off',
'lines-around-comment': 'off',
'lines-between-class-members': 'off',
'@stylistic/js/lines-around-comment': 'off',
'@stylistic/js/lines-between-class-members': 'off',

// we don't enforce comments to above/after the line, both work ok
'line-comment-position': 'off',

// ternary operator is better split to 3 lines for readability
// TODO eslint multiline-ternary should be error
'multiline-ternary': 'off',
'@stylistic/js/multiline-ternary': 'off',

// use any comment style, just write comments
'multiline-comment-style': 'off',
Expand All @@ -260,7 +276,7 @@ module.exports = {
// avoid redundant 'else' when using return statements in all cases
'no-else-return': 'off',

'no-extra-parens': ['off', 'all', { nestedBinaryExpressions: false }],
'@stylistic/js/no-extra-parens': ['off', 'all', { nestedBinaryExpressions: false }],

// short comments in-line are not great but sometimes make a lot of sense
'no-inline-comments': 'off',
Expand All @@ -287,33 +303,27 @@ module.exports = {
// we do allow _name or name_ as identifiers
'no-underscore-dangle': 'off',

// prefer to use let/const instead of var
'no-var': 'off',

// turn off todo/fixme comments - will grep it to a different report
'no-warning-comments': 'off',

// the rule object-property-newline is better than object-curly-newline
'object-property-newline': 'off',
'object-curly-newline': 'off',
'@stylistic/js/object-property-newline': 'off',
'@stylistic/js/object-curly-newline': 'off',

'object-curly-spacing': 'off',
'@stylistic/js/object-curly-spacing': 'off',

// prefer using x={a,b} over x={a:a, b:b} but too much to fix
'object-shorthand': 'off',

// ignore stylish padding code blocks with newlines
'padded-blocks': 'off',
'@stylistic/js/padded-blocks': 'off',

// prefer using arrow functions for callbacks, but too much to fix
'prefer-arrow-callback': 'off',

// prefer using arrow functions for callbacks, but too much to fix
'prefer-named-capture-group': 'off',

// we prefer using const, but too much to fix
'prefer-const': 'off',

// we prefer using destructuring, but too much to fix
'prefer-destructuring': 'off',

Expand All @@ -325,11 +335,11 @@ module.exports = {
'prefer-template': 'off',

// prefer using single quotes, but too much to fix
'quotes': ['off', 'single'],
'@stylistic/js/quotes': ['off', 'single'],

'quote-props': 'off',
'@stylistic/js/quote-props': 'off',
'require-jsdoc': 'off',
'spaced-comment': 'off',
'@stylistic/js/spaced-comment': 'off',
'sort-keys': 'off',

// don't verify the structure of jsdoc comments. let them be for now.
Expand All @@ -346,5 +356,10 @@ module.exports = {

'no-promise-executor-return': 'off',

//Allow spacing between template tags and their literals
'@stylistic/js/template-tag-spacing': 'off',

// we prefer not to adopt the logical assignment operators from ES2020
'logical-assignment-operators': 'off'
}
};
17 changes: 17 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 1095
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
# Issues with these labels will never be considered stale
exemptLabels:
- "Type:Enhancement"
- "Type: Technical Debt"
# Label to use when marking an issue as stale
staleLabel: "Closed Won't Fix"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
Loading
Loading