mirror of
				https://git.cloudron.io/cloudron/minio-app
				synced 2025-11-04 00:52:35 +00:00 
			
		
		
		
	Compare commits
	
		
			212 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					eaa2b6e2b4 | ||
| 
						 | 
					92856faf70 | ||
| 
						 | 
					1302e71321 | ||
| 
						 | 
					c3195428df | ||
| 
						 | 
					99f10e9b3e | ||
| 
						 | 
					136f41b004 | ||
| 
						 | 
					541185cfa6 | ||
| 
						 | 
					8b6fd80d74 | ||
| 
						 | 
					c6f0bdc5ef | ||
| 
						 | 
					63747ef487 | ||
| 
						 | 
					8272354a77 | ||
| 
						 | 
					5e15088198 | ||
| 
						 | 
					0535814733 | ||
| 
						 | 
					7cb935a0c4 | ||
| 
						 | 
					e263bde545 | ||
| 
						 | 
					5f31e7fd2f | ||
| 
						 | 
					582fda2720 | ||
| 
						 | 
					ea2898c1b2 | ||
| 
						 | 
					b6acac345b | ||
| 
						 | 
					91c29432e3 | ||
| 
						 | 
					5e83c9cf88 | ||
| 
						 | 
					9834ec1c8e | ||
| 
						 | 
					7ed03bef1b | ||
| 
						 | 
					d6958e05db | ||
| 
						 | 
					588125b5f4 | ||
| 
						 | 
					891169e87b | ||
| 
						 | 
					38f24649fe | ||
| 
						 | 
					7f8ae63c00 | ||
| 
						 | 
					4ee1e0e8ad | ||
| 
						 | 
					02b00f4476 | ||
| 
						 | 
					b524016d72 | ||
| 
						 | 
					e8ee533d1f | ||
| 
						 | 
					ed0250199a | ||
| 
						 | 
					7a3c6f9efd | ||
| 
						 | 
					e0ce87b291 | ||
| 
						 | 
					f28d63d0b9 | ||
| 
						 | 
					af0e17d5b0 | ||
| 
						 | 
					c662d0caab | ||
| 
						 | 
					1f76bbfd77 | ||
| 
						 | 
					f7c784c228 | ||
| 
						 | 
					ee7795df9a | ||
| 
						 | 
					6dd64a829c | ||
| 
						 | 
					75e7154353 | ||
| 
						 | 
					3b8576093e | ||
| 
						 | 
					5dd4f2d8e3 | ||
| 
						 | 
					00a2c3569b | ||
| 
						 | 
					cc7890f71d | ||
| 
						 | 
					f156ab5168 | ||
| 
						 | 
					0b2d206655 | ||
| 
						 | 
					4c01df72b5 | ||
| 
						 | 
					ada7671d81 | ||
| 
						 | 
					5a0ec69dfd | ||
| 
						 | 
					bf4f230766 | ||
| 
						 | 
					49b6a854f9 | ||
| 
						 | 
					5f72ec0c47 | ||
| 
						 | 
					fc2a5016eb | ||
| 
						 | 
					52d85d06a8 | ||
| 
						 | 
					2e87474fc0 | ||
| 
						 | 
					252ffc4128 | ||
| 
						 | 
					a591960982 | ||
| 
						 | 
					371db41bac | ||
| 
						 | 
					ea4c66ea9e | ||
| 
						 | 
					34e7ea8a94 | ||
| 
						 | 
					1bf20110ce | ||
| 
						 | 
					d58be51a79 | ||
| 
						 | 
					0e8e1525d0 | ||
| 
						 | 
					f362df6f92 | ||
| 
						 | 
					c0da9e678b | ||
| 
						 | 
					3780f971e3 | ||
| 
						 | 
					0e26a175fb | ||
| 
						 | 
					474243b6a0 | ||
| 
						 | 
					41b7a699ec | ||
| 
						 | 
					35103b8888 | ||
| 
						 | 
					ae33b6cd32 | ||
| 
						 | 
					a1ee8284b3 | ||
| 
						 | 
					0b94589ca7 | ||
| 
						 | 
					fa5921039d | ||
| 
						 | 
					82474bb099 | ||
| 
						 | 
					080f9f2756 | ||
| 
						 | 
					6f1aeb6adf | ||
| 
						 | 
					a464984a9b | ||
| 
						 | 
					06702b72a6 | ||
| 
						 | 
					6bfa60424c | ||
| 
						 | 
					9ef4a9b6ce | ||
| 
						 | 
					5c3c319d57 | ||
| 
						 | 
					1b28eef31b | ||
| 
						 | 
					95ccb12a84 | ||
| 
						 | 
					71be7ea8a7 | ||
| 
						 | 
					625fde23b7 | ||
| 
						 | 
					be069e9849 | ||
| 
						 | 
					a6571e8e6e | ||
| 
						 | 
					2e299fce84 | ||
| 
						 | 
					7a49168732 | ||
| 
						 | 
					fe56ecfd3d | ||
| 
						 | 
					2b96c15d8c | ||
| 
						 | 
					e7bd62c4ef | ||
| 
						 | 
					c887c30e92 | ||
| 
						 | 
					1f184eacbf | ||
| 
						 | 
					0c8d81686b | ||
| 
						 | 
					0f89e283cf | ||
| 
						 | 
					cfabc51ae5 | ||
| 
						 | 
					067f8069eb | ||
| 
						 | 
					44236fb8a6 | ||
| 
						 | 
					98a80ebe26 | ||
| 
						 | 
					2323b653e1 | ||
| 
						 | 
					caed9ab165 | ||
| 
						 | 
					d754979356 | ||
| 
						 | 
					fb4db828f1 | ||
| 
						 | 
					1edd7cf09a | ||
| 
						 | 
					e3f7780921 | ||
| 
						 | 
					0e0869148b | ||
| 
						 | 
					7c5a36dd61 | ||
| 
						 | 
					9e5350068f | ||
| 
						 | 
					2588b6acf1 | ||
| 
						 | 
					14be49edf1 | ||
| 
						 | 
					b03de0c6f2 | ||
| 
						 | 
					3618aa0f9e | ||
| 
						 | 
					30b42a8cba | ||
| 
						 | 
					9545cbb4e7 | ||
| 
						 | 
					b2fad00b2d | ||
| 
						 | 
					76eb4498e6 | ||
| 
						 | 
					5dbe388b18 | ||
| 
						 | 
					a5350c48f4 | ||
| 
						 | 
					a77e1f0890 | ||
| 
						 | 
					0418bad52a | ||
| 
						 | 
					2722263115 | ||
| 
						 | 
					3a8404539d | ||
| 
						 | 
					24d10e77c6 | ||
| 
						 | 
					aceb98bad5 | ||
| 
						 | 
					d0f1393544 | ||
| 
						 | 
					3683b8797d | ||
| 
						 | 
					ba9362ec8c | ||
| 
						 | 
					926345c331 | ||
| 
						 | 
					a6285b939f | ||
| 
						 | 
					5fd7750cb3 | ||
| 
						 | 
					d574deb02a | ||
| 
						 | 
					7591e99678 | ||
| 
						 | 
					507e2a3822 | ||
| 
						 | 
					3fa052700c | ||
| 
						 | 
					11e58dc4db | ||
| 
						 | 
					1ea93afb2a | ||
| 
						 | 
					da1dca94e6 | ||
| 
						 | 
					19dfab036d | ||
| 
						 | 
					59fd4cbdc0 | ||
| 
						 | 
					e84210ed1f | ||
| 
						 | 
					1187abb63e | ||
| 
						 | 
					2d44c616ca | ||
| 
						 | 
					810f1c0b86 | ||
| 
						 | 
					0a13ee10e8 | ||
| 
						 | 
					e302797337 | ||
| 
						 | 
					d08aae367c | ||
| 
						 | 
					62f98aba04 | ||
| 
						 | 
					7ddffa93d8 | ||
| 
						 | 
					cb3a01ee8f | ||
| 
						 | 
					bc9e1ffcb6 | ||
| 
						 | 
					7cf2ff1d0d | ||
| 
						 | 
					8a6828eb3f | ||
| 
						 | 
					a85debccc3 | ||
| 
						 | 
					eb89f698e6 | ||
| 
						 | 
					d8d401f10d | ||
| 
						 | 
					f371b93fe6 | ||
| 
						 | 
					b3867320ec | ||
| 
						 | 
					e0a98b52b0 | ||
| 
						 | 
					518772c1f7 | ||
| 
						 | 
					e76f60de33 | ||
| 
						 | 
					426906c1e5 | ||
| 
						 | 
					73fda2e600 | ||
| 
						 | 
					5718cd2bac | ||
| 
						 | 
					78f0581699 | ||
| 
						 | 
					1eea55484e | ||
| 
						 | 
					4e9c5923a8 | ||
| 
						 | 
					cbe69b11a6 | ||
| 
						 | 
					9c9f50c1f9 | ||
| 
						 | 
					08e32cfdd1 | ||
| 
						 | 
					562a426669 | ||
| 
						 | 
					e9f66aef45 | ||
| 
						 | 
					24cdeb2f54 | ||
| 
						 | 
					8c72e02441 | ||
| 
						 | 
					1e8b1625bb | ||
| 
						 | 
					dfb59c0da4 | ||
| 
						 | 
					6a7833c4c9 | ||
| 
						 | 
					57baa92248 | ||
| 
						 | 
					0a5726c0a4 | ||
| 
						 | 
					60688bc607 | ||
| 
						 | 
					3d67391028 | ||
| 
						 | 
					7a43263a8a | ||
| 
						 | 
					25d51f5028 | ||
| 
						 | 
					355790459f | ||
| 
						 | 
					2f9e85fb77 | ||
| 
						 | 
					3743b6ec26 | ||
| 
						 | 
					83f0f9d4fe | ||
| 
						 | 
					2911ca0d8d | ||
| 
						 | 
					509973ca24 | ||
| 
						 | 
					30cd0a5a43 | ||
| 
						 | 
					2798800724 | ||
| 
						 | 
					86f50f214c | ||
| 
						 | 
					ffe96dcb18 | ||
| 
						 | 
					598ac82e1b | ||
| 
						 | 
					08ee3d0f4e | ||
| 
						 | 
					1ef9371276 | ||
| 
						 | 
					69761bb664 | ||
| 
						 | 
					134095ee7c | ||
| 
						 | 
					5a3eb48466 | ||
| 
						 | 
					51bc8a7d2a | ||
| 
						 | 
					584f7179b4 | ||
| 
						 | 
					28840130a7 | ||
| 
						 | 
					987e335876 | ||
| 
						 | 
					d1798f7964 | ||
| 
						 | 
					8870033cd0 | ||
| 
						 | 
					56e614e13b | ||
| 
						 | 
					59fc621b5a | ||
| 
						 | 
					b0b4c24662 | 
							
								
								
									
										358
									
								
								CHANGELOG
									
									
									
									
									
								
							
							
						
						
									
										358
									
								
								CHANGELOG
									
									
									
									
									
								
							@@ -92,3 +92,361 @@
 | 
			
		||||
* fs.json file should be closed in CompleteMultipartUpload (#5482)
 | 
			
		||||
* simplify storage class validation (#5470)
 | 
			
		||||
* Remove stale code from minio server (#5479) 
 | 
			
		||||
 | 
			
		||||
[1.8.0]
 | 
			
		||||
* Update minio to 2018-03-12T21-25-28Z
 | 
			
		||||
* Added comprehensive support for Server Side Encryption (SSE-C).
 | 
			
		||||
* Fix deadlock in in-place CopyObject decryption/encryption (#5637)
 | 
			
		||||
* Remove madmin docs from top level docs directory (#5636)
 | 
			
		||||
* Add healthcheck endpoints (#5543)
 | 
			
		||||
* Return authHeaderMalformed for an incorrect region in signature (#5618)
 | 
			
		||||
* Save ETag when updating metadata (#5626)
 | 
			
		||||
* Cleanup orchestration documents (#5623)
 | 
			
		||||
* Remove unwanted errorIf calls (#5621)
 | 
			
		||||
* SSE-C: Add support in Bucket Post Policy (#5607)
 | 
			
		||||
* Support SSE-C multipart source objects in CopyObject (#5603)
 | 
			
		||||
* Handle incoming proxy requests ip, scheme (#5591)
 | 
			
		||||
* Make sure to filter out internal metadata (#5601)
 | 
			
		||||
* Use toAPIErrorCode in HeadObject handler when decrypting request fails (#5600) 
 | 
			
		||||
 | 
			
		||||
[1.9.0]
 | 
			
		||||
* Update minio to 2018-03-16T22-52-12Z
 | 
			
		||||
* Fixes a regression in Heal() implementation due to lock contention.
 | 
			
		||||
* Major cleanup of notification sub-system.
 | 
			
		||||
 | 
			
		||||
[1.9.0-1]
 | 
			
		||||
* Update minio to 2018-03-19T19-22-06Z
 | 
			
		||||
* This release fixes a critical migration issue when upgrading minio between certain versions. Please see issue for more details as described by community member (@kybi) here : #5667.
 | 
			
		||||
* [refactor] simplify en/decrypted size computation (#5658)
 | 
			
		||||
* Fix format migration regression (#5668)
 | 
			
		||||
 | 
			
		||||
[1.10.0]
 | 
			
		||||
* Update minio to 2018-03-30T00-38-44Z
 | 
			
		||||
* Fix backend format for disk-cache - not to use FS format.json (#5732) (03/29/18)
 | 
			
		||||
* Fix help message to be uniform across env vars (#5735) (03/30/18)
 | 
			
		||||
* Apply storageClass data while config migration (#5737) (03/30/18)
 | 
			
		||||
* Fix PUT bucket notification deadlocks (#5734) (03/29/18)
 | 
			
		||||
* Fix block id length upto 8bytes only for azure gateway. (#5731) (03/29/18)
 | 
			
		||||
* Improve some wording in disk caching docs (#5730) (03/28/18)
 | 
			
		||||
* Remove deadcode related to multipart cleanup for fs (#5716) (03/28/18)
 | 
			
		||||
 | 
			
		||||
[1.11.0]
 | 
			
		||||
* Update minio to 2018-04-04T05-20-54Z
 | 
			
		||||
 | 
			
		||||
[1.12.0]
 | 
			
		||||
* Update minio to 2018-04-12T23-41-09Z
 | 
			
		||||
 | 
			
		||||
[1.13.0]
 | 
			
		||||
* Update minio to 2018-04-19T22-54-58Z
 | 
			
		||||
 | 
			
		||||
[1.14.0]
 | 
			
		||||
* Update minio to 2018-04-27T23-33-52Z
 | 
			
		||||
* Remove logging of redundant messages when running Minio server.
 | 
			
		||||
* Upgrading to this release will automatically migrate any erroneous bucket policies to strict S3 compliant bucket policies. Please check all your bucket policies after upgrading to this release.
 | 
			
		||||
* Fix s3 compatibility fixes for getBucketLocation,headBucket,deleteBucket (#5842) (04/23/18)
 | 
			
		||||
* Disable "chunked" uploading by the GCS client for objects smaller than the chunk size. (#5835) (04/20/18) 
 | 
			
		||||
 | 
			
		||||
[1.15.0]
 | 
			
		||||
* Update minio to 2018-05-04T23-13-12Z
 | 
			
		||||
* Fixes a [critical DDoS vulnerability](https://blog.minio.io/minio-release-may-5-2018-security-advisory-ceca2850d40)
 | 
			
		||||
* Use defer style to stop tickers to avoid current/possible misuse (#5883) (05/04/18)
 | 
			
		||||
* Do not use crypto.SHA3_256 as placeholder for HighwayHash256 (#5847) (05/04/18)
 | 
			
		||||
* fs: fix logging by not logging common scenarios (#5882) (05/02/18)
 | 
			
		||||
* Return NoSuchKey for anonReqs with s3:ListBucket policy (#5876) (05/01/18)
 | 
			
		||||
* Remove s3:ListObjects policy action to be in sync with AWS-S3 (#5875) (05/01/18)
 | 
			
		||||
* Copy an object without user-defined metadata for Azure gateway (#5872) (05/02/18) 
 | 
			
		||||
 | 
			
		||||
[1.16.0]
 | 
			
		||||
* Update minio to 2018-05-11T00-29-24Z
 | 
			
		||||
 | 
			
		||||
[1.17.0]
 | 
			
		||||
* Update minio to 2018-05-16T23-35-33Z
 | 
			
		||||
 | 
			
		||||
[1.18.0]
 | 
			
		||||
* Update minio to 2018-05-25T19-49-13Z
 | 
			
		||||
 | 
			
		||||
[1.19.0]
 | 
			
		||||
* Update minio to 2018-06-08T03-49-38Z
 | 
			
		||||
 | 
			
		||||
[1.20.0]
 | 
			
		||||
* Update minio to 2018-06-09T03-43-35Z
 | 
			
		||||
 | 
			
		||||
[1.21.0]
 | 
			
		||||
* Update minio to 2018-06-22T23-48-46Z 
 | 
			
		||||
 | 
			
		||||
[1.22.0]
 | 
			
		||||
* Update minio to 2018-06-29T02-11-29Z
 | 
			
		||||
 | 
			
		||||
[1.23.0]
 | 
			
		||||
* Update minio to 2018-07-13T00-09-07Z
 | 
			
		||||
* Miscellaneous bug fixes in encryption/decryption, notification targets, signature validation
 | 
			
		||||
  and etcd federation targets.
 | 
			
		||||
* Update federation target to etcd/clientv3 (#6119) (07/13/18)
 | 
			
		||||
* fix size computation for en/decrypted objects (#6147) (07/12/18)
 | 
			
		||||
* Support multiple values for x-amz-meta header (#6145) (07/12/18)
 | 
			
		||||
* Fix decrypted object size and key derivation in CopyObjectPart (#6141) (07/12/18)
 | 
			
		||||
* SignatureV4 validation with Metadata in the presignedUrl (#5894) (07/11/18)
 | 
			
		||||
* Update distributed docs (#6123) (07/10/18)
 | 
			
		||||
* Avoid startup abort when a notify target is down (#6126) (07/10/18)
 | 
			
		||||
 | 
			
		||||
[1.24.0]
 | 
			
		||||
* Update minio to 2018-07-23T18-34-49Z
 | 
			
		||||
* Improvements in logging and error message printing
 | 
			
		||||
* Do not set Key and BucketName in ErrorResponse, if empty (#6174) (07/23/18)
 | 
			
		||||
* Do not use parallel deletes to avoid random I/O (#6178) (07/20/18)
 | 
			
		||||
* Log x-amz-request-id as log and XML error response (#6173) (07/20/18)
 | 
			
		||||
* Remove ppc64le support from .travis.yml (#6180) (07/20/18)
 | 
			
		||||
* Remove unused functions and constants (#6175) (07/20/18)
 | 
			
		||||
* Do not trace HTTP body of PostPolicyBuckethandler (#6177) (07/20/18) 
 | 
			
		||||
 | 
			
		||||
[1.25.0]
 | 
			
		||||
* Update minio to 2018-07-31T02-11-47Z
 | 
			
		||||
 | 
			
		||||
[1.26.0]
 | 
			
		||||
* Update minio to 2018-08-02T23-11-36Z
 | 
			
		||||
 | 
			
		||||
[1.27.0]
 | 
			
		||||
* Update minio to 2018-08-21T00-37-20Z
 | 
			
		||||
 | 
			
		||||
[1.28.0]
 | 
			
		||||
* Update minio to 2018-08-25T01-56-38Z
 | 
			
		||||
 | 
			
		||||
[1.29.0]
 | 
			
		||||
* Update minio to 2018-09-01T00-38-25Z
 | 
			
		||||
 | 
			
		||||
[1.30.0]
 | 
			
		||||
* Update minio to 2018-09-11T01-39-21Z
 | 
			
		||||
 | 
			
		||||
[1.31.0]
 | 
			
		||||
* Update minio to 2018-09-12T18-49-56Z
 | 
			
		||||
 | 
			
		||||
[1.32.0]
 | 
			
		||||
* Update minio to 2018-09-25T21-34-43Z
 | 
			
		||||
 | 
			
		||||
[1.33.0]
 | 
			
		||||
* Update minio to 2018-10-05T01-03-03Z
 | 
			
		||||
 | 
			
		||||
[1.34.0]
 | 
			
		||||
* Update minio to 2018-10-06T00-15-16Z
 | 
			
		||||
* Use latest base image
 | 
			
		||||
 | 
			
		||||
[1.35.0]
 | 
			
		||||
* Update minio to 2018-10-18T00-28-58Z
 | 
			
		||||
 | 
			
		||||
[1.36.0]
 | 
			
		||||
* Update minio to 2018-10-25T01-27-03Z
 | 
			
		||||
 | 
			
		||||
[1.37.0]
 | 
			
		||||
* Update minio to 2018-11-06T01-01-02Z
 | 
			
		||||
 | 
			
		||||
[1.38.0]
 | 
			
		||||
* Update minio to 2018-11-17T01-23-48Z
 | 
			
		||||
 | 
			
		||||
[1.39.0]
 | 
			
		||||
* Update minio to 2018-11-30T03-56-59Z
 | 
			
		||||
 | 
			
		||||
[1.40.0]
 | 
			
		||||
* Update minio to 2018-12-06T01-27-43Z
 | 
			
		||||
 | 
			
		||||
[1.41.0]
 | 
			
		||||
* Update minio to 2018-12-13T02-04-19Z
 | 
			
		||||
 | 
			
		||||
[1.42.0]
 | 
			
		||||
* Update minio to 2018-12-19T23-46-24Z
 | 
			
		||||
 | 
			
		||||
[1.43.0]
 | 
			
		||||
* Update minio to 2018-12-27T18-33-08Z
 | 
			
		||||
 | 
			
		||||
[1.44.0]
 | 
			
		||||
* Update minio to 2019-01-16T21-44-08Z
 | 
			
		||||
 | 
			
		||||
[1.45.0]
 | 
			
		||||
* Update minio to 2019-01-23T23-18-58Z
 | 
			
		||||
 | 
			
		||||
[1.46.0]
 | 
			
		||||
* Update minio to 2019-01-31T00-31-19Z
 | 
			
		||||
 | 
			
		||||
[1.47.0]
 | 
			
		||||
* Update minio to 2019-02-06T21-16-36Z
 | 
			
		||||
 | 
			
		||||
[1.48.0]
 | 
			
		||||
* Update minio to 2019-02-12T21-58-47Z
 | 
			
		||||
 | 
			
		||||
[1.49.0]
 | 
			
		||||
* Update minio to 2019-02-14T00-21-45Z
 | 
			
		||||
 | 
			
		||||
[1.50.0]
 | 
			
		||||
* Update minio to 2019-02-20T22-44-29Z
 | 
			
		||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2019-02-20T22-44-29Z)
 | 
			
		||||
* Security Fix: Incoming requests with unusual behavior are now validated.Please see here for more details. Upgrade is recommended.
 | 
			
		||||
* Simplified and fixed vault token renewal. See #7241 for details.
 | 
			
		||||
* Added support for HTTP/2.0 in Minio Server. See #7204 for details.
 | 
			
		||||
 | 
			
		||||
[1.51.0]
 | 
			
		||||
* Update minio to 2019-02-26T19-51-46Z
 | 
			
		||||
* Bug fixes in various areas such as json & csv handling.
 | 
			
		||||
* s3: Encode StartAfter when encoding type is passed (#7281) (02/25/19)
 | 
			
		||||
* s3: Add support of encodingType parameter (#7265) (02/24/19)
 | 
			
		||||
 | 
			
		||||
[1.52.0]
 | 
			
		||||
* Update minio to 2019-03-06T22-47-10Z
 | 
			
		||||
* Added support for temporary credentials for minio users via AssumeRole API. See here for details.
 | 
			
		||||
* Miscellaneous bugfix improvements in areas such as snappy compression, copyobjectpart, listobjects performance and detecting mountpoints.
 | 
			
		||||
 | 
			
		||||
[1.53.0]
 | 
			
		||||
* Update minio to 2019-03-13T21-59-47Z
 | 
			
		||||
* Miscellaneous improvements in various areas such as healing, S3Select, http2, etcd & coreDNS integrations.
 | 
			
		||||
 | 
			
		||||
[1.54.0]
 | 
			
		||||
* Update minio to 2019-03-20T22-38-47Z
 | 
			
		||||
 | 
			
		||||
[1.55.0]
 | 
			
		||||
* Update minio to 2019-03-27T22-35-21Z
 | 
			
		||||
 | 
			
		||||
[1.56.0]
 | 
			
		||||
* Update miniot to 2019-04-04T18-31-46Z
 | 
			
		||||
* (security) fix privilege escalation against inter-node communication 
 | 
			
		||||
* (security) Validate if bucket names are internal
 | 
			
		||||
* canonicalize ETag correctly
 | 
			
		||||
 | 
			
		||||
[1.57.0]
 | 
			
		||||
* Update minio to 2019-04-09T01-22-30Z
 | 
			
		||||
 | 
			
		||||
[1.58.0]
 | 
			
		||||
* Update minio to 2019-04-18T21-44-59Z
 | 
			
		||||
 | 
			
		||||
[1.59.0]
 | 
			
		||||
* Update minio to 2019-04-23T23-50-36Z
 | 
			
		||||
 | 
			
		||||
[1.60.0]
 | 
			
		||||
* Update minio to 2019-05-02T19-07-09Z
 | 
			
		||||
 | 
			
		||||
[1.61.0]
 | 
			
		||||
* Update minio to 2019-05-14T23-57-45Z
 | 
			
		||||
 | 
			
		||||
[1.62.0]
 | 
			
		||||
* Update minio to 2019-05-23T00-29-34Z
 | 
			
		||||
 | 
			
		||||
[1.63.0]
 | 
			
		||||
* Update minio to 2019-06-01T03-46-14Z
 | 
			
		||||
 | 
			
		||||
[1.64.0]
 | 
			
		||||
* Update minio to 2019-06-04T01-15-58Z
 | 
			
		||||
 | 
			
		||||
[1.65.0]
 | 
			
		||||
* Update minio to 2019-06-11T00-44-33Z
 | 
			
		||||
 | 
			
		||||
[1.66.0]
 | 
			
		||||
* Update minio to 2019-06-15T23-07-18Z
 | 
			
		||||
 | 
			
		||||
[1.67.0]
 | 
			
		||||
* Update minio to 2019-06-19T18-24-42Z
 | 
			
		||||
 | 
			
		||||
[1.68.0]
 | 
			
		||||
* Update minio to 2019-06-27T21-13-50Z
 | 
			
		||||
 | 
			
		||||
[1.69.0]
 | 
			
		||||
* Update minio to 2019-07-05T21-20-21Z
 | 
			
		||||
 | 
			
		||||
[1.70.0]
 | 
			
		||||
* Update minio to 2019-07-10T00-34-56Z
 | 
			
		||||
 | 
			
		||||
[1.71.0]
 | 
			
		||||
* Update minio to 2019-07-17T22-54-12Z
 | 
			
		||||
 | 
			
		||||
[1.72.0]
 | 
			
		||||
* Update minio to 2019-07-24T02-02-23Z
 | 
			
		||||
 | 
			
		||||
[1.73.0]
 | 
			
		||||
* Update minio to 2019-08-01T22-18-54Z
 | 
			
		||||
 | 
			
		||||
[1.74.0]
 | 
			
		||||
* Update minio to 2019-08-07T01-59-21Z
 | 
			
		||||
 | 
			
		||||
[1.75.0]
 | 
			
		||||
* Update minio to 2019-08-14T20-37-41Z
 | 
			
		||||
 | 
			
		||||
[1.76.0]
 | 
			
		||||
* Update minio to 2019-08-21T19-40-07Z
 | 
			
		||||
 | 
			
		||||
[1.77.0]
 | 
			
		||||
* Update minio to 2019-08-29T00-25-01Z
 | 
			
		||||
 | 
			
		||||
[1.78.0]
 | 
			
		||||
* Update minio to 2019-09-05T23-24-38Z
 | 
			
		||||
 | 
			
		||||
[1.79.0]
 | 
			
		||||
* Update minio to 2019-09-11T19-53-16Z
 | 
			
		||||
 | 
			
		||||
[1.80.0]
 | 
			
		||||
* Update minio to 2019-09-18T21-55-05Z
 | 
			
		||||
 | 
			
		||||
[1.81.0]
 | 
			
		||||
* Update minio to 2019-09-25T18-25-51Z
 | 
			
		||||
 | 
			
		||||
[1.82.0]
 | 
			
		||||
* Update minio to 2019-09-26T19-42-35Z
 | 
			
		||||
 | 
			
		||||
[1.83.0]
 | 
			
		||||
* Update minio to 2019-10-02T21-19-38Z
 | 
			
		||||
 | 
			
		||||
[1.84.0]
 | 
			
		||||
* Update minio to 2019-10-11T00-38-09Z
 | 
			
		||||
 | 
			
		||||
[1.85.0]
 | 
			
		||||
* Update minio to 2019-10-12T01-39-57Z
 | 
			
		||||
 | 
			
		||||
[1.86.0]
 | 
			
		||||
* Update minio to 2019-12-19T22-52-26Z
 | 
			
		||||
 | 
			
		||||
[1.87.0]
 | 
			
		||||
* Update minio to 2019-12-30T05-45-39Z
 | 
			
		||||
 | 
			
		||||
[1.88.0]
 | 
			
		||||
* Update minio to 2020-01-03T19-12-21Z
 | 
			
		||||
 | 
			
		||||
[1.89.0]
 | 
			
		||||
* Update minio to 2020-01-16T03-05-44Z
 | 
			
		||||
 | 
			
		||||
[1.90.0]
 | 
			
		||||
* Update minio to 2020-01-16T22-40-29Z
 | 
			
		||||
 | 
			
		||||
[1.91.0]
 | 
			
		||||
* Update minio to 2020-01-25T02-50-51Z
 | 
			
		||||
 | 
			
		||||
[1.92.0]
 | 
			
		||||
* Update minio to 2020-02-07T23-28-16Z
 | 
			
		||||
 | 
			
		||||
[1.93.0]
 | 
			
		||||
* Update minio to 2020-02-20T22-51-23Z
 | 
			
		||||
 | 
			
		||||
[1.94.0]
 | 
			
		||||
* Update minio to 2020-02-27T00-23-05Z
 | 
			
		||||
 | 
			
		||||
[1.95.0]
 | 
			
		||||
* Update minio to 2020-03-06T22-23-56Z
 | 
			
		||||
 | 
			
		||||
[1.96.0]
 | 
			
		||||
* Update minio to 2020-03-09T18-26-53Z
 | 
			
		||||
 | 
			
		||||
[1.97.0]
 | 
			
		||||
* Update minio to 2020-03-14T02-21-58Z
 | 
			
		||||
 | 
			
		||||
[1.98.0]
 | 
			
		||||
* Update minio to 2020-03-19T21-49-00Z
 | 
			
		||||
 | 
			
		||||
[1.99.0]
 | 
			
		||||
* Update minio to 2020-03-25T07-03-04Z
 | 
			
		||||
 | 
			
		||||
[1.100.0]
 | 
			
		||||
* Update minio to 2020-04-02T21-34-49Z
 | 
			
		||||
 | 
			
		||||
[1.101.0]
 | 
			
		||||
* Update minio to 2020-04-04T05-39-31Z
 | 
			
		||||
 | 
			
		||||
[1.102.0]
 | 
			
		||||
* Update minio to 2020-04-10T03-34-42Z
 | 
			
		||||
 | 
			
		||||
[1.103.0]
 | 
			
		||||
* Update minio to 2020-04-15T00-39-01Z
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -5,20 +5,21 @@
 | 
			
		||||
  "description": "file://DESCRIPTION.md",
 | 
			
		||||
  "changelog": "file://CHANGELOG",
 | 
			
		||||
  "tagline": "Distributed object storage",
 | 
			
		||||
  "version": "1.7.0",
 | 
			
		||||
  "version": "1.103.0",
 | 
			
		||||
  "healthCheckPath": "/minio/login",
 | 
			
		||||
  "httpPort": 8000,
 | 
			
		||||
  "addons": {
 | 
			
		||||
    "localstorage": {}
 | 
			
		||||
  },
 | 
			
		||||
  "manifestVersion": 1,
 | 
			
		||||
  "manifestVersion": 2,
 | 
			
		||||
  "website": "http://www.minio.io",
 | 
			
		||||
  "minBoxVersion": "1.8.1",
 | 
			
		||||
  "minBoxVersion": "4.1.4",
 | 
			
		||||
  "documentationUrl": "https://cloudron.io/documentation/apps/minio/",
 | 
			
		||||
  "contactEmail": "support@cloudron.io",
 | 
			
		||||
  "icon": "logo.png",
 | 
			
		||||
  "tags": [
 | 
			
		||||
    "storage"
 | 
			
		||||
    "storage",
 | 
			
		||||
    "hosting"
 | 
			
		||||
  ],
 | 
			
		||||
  "mediaLinks": [
 | 
			
		||||
    "https://raw.githubusercontent.com/minio/minio/master/docs/screenshots/minio-browser.jpg"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
This app packages Minio <upstream>2018-02-09T22-40-05Z</upstream>.
 | 
			
		||||
This app packages Minio <upstream>2020-04-15T00-39-01Z</upstream>.
 | 
			
		||||
 | 
			
		||||
Minio is a distributed object storage server built for cloud applications and devops.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							@@ -1,16 +1,14 @@
 | 
			
		||||
FROM cloudron/base:0.10.0
 | 
			
		||||
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
 | 
			
		||||
 | 
			
		||||
EXPOSE 8000
 | 
			
		||||
 | 
			
		||||
ENV VERSION 2018-02-09T22-40-05Z
 | 
			
		||||
ARG VERSION=RELEASE.2020-04-15T00-39-01Z
 | 
			
		||||
 | 
			
		||||
RUN mkdir -p /app/code \
 | 
			
		||||
    && wget https://dl.minio.io/server/minio/release/linux-amd64/minio.RELEASE.${VERSION} -O /app/code/minio \
 | 
			
		||||
    && wget https://dl.minio.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio \
 | 
			
		||||
    && chmod +x /app/code/minio
 | 
			
		||||
 | 
			
		||||
WORKDIR /app/code
 | 
			
		||||
 | 
			
		||||
ADD config.json /app/code/config.json
 | 
			
		||||
ADD start.sh /app/code/start.sh
 | 
			
		||||
ADD minio-credentials /app/code/minio-credentials
 | 
			
		||||
 | 
			
		||||
CMD [ "/app/code/start.sh" ]
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@ This application does not integrate with Cloudron authentication.
 | 
			
		||||
 | 
			
		||||
Please use the following credentials to login:
 | 
			
		||||
 | 
			
		||||
* AccessKey: `admin`
 | 
			
		||||
* SecretKey: `secretkey`
 | 
			
		||||
* AccessKey: `minioadmin`
 | 
			
		||||
* SecretKey: `minioadmin`
 | 
			
		||||
 | 
			
		||||
**Please change the credentials immediately**
 | 
			
		||||
**Please change the credentials immediately following the docs**
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										75
									
								
								config.json
									
									
									
									
									
								
							
							
						
						
									
										75
									
								
								config.json
									
									
									
									
									
								
							@@ -1,75 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
        "version": "10",
 | 
			
		||||
        "credential": {
 | 
			
		||||
                "accessKey": "admin",
 | 
			
		||||
                "secretKey": "secretkey"
 | 
			
		||||
        },
 | 
			
		||||
        "region": "us-east-1",
 | 
			
		||||
        "logger": {
 | 
			
		||||
                "console": {
 | 
			
		||||
                        "enable": true,
 | 
			
		||||
                        "level": "error"
 | 
			
		||||
                },
 | 
			
		||||
                "file": {
 | 
			
		||||
                        "enable": false,
 | 
			
		||||
                        "fileName": "",
 | 
			
		||||
                        "level": ""
 | 
			
		||||
                }
 | 
			
		||||
        },
 | 
			
		||||
        "notify": {
 | 
			
		||||
                "amqp": {
 | 
			
		||||
                        "1": {
 | 
			
		||||
                                "enable": false,
 | 
			
		||||
                                "url": "",
 | 
			
		||||
                                "exchange": "",
 | 
			
		||||
                                "routingKey": "",
 | 
			
		||||
                                "exchangeType": "",
 | 
			
		||||
                                "mandatory": false,
 | 
			
		||||
                                "immediate": false,
 | 
			
		||||
                                "durable": false,
 | 
			
		||||
                                "internal": false,
 | 
			
		||||
                                "noWait": false,
 | 
			
		||||
                                "autoDeleted": false
 | 
			
		||||
                        }
 | 
			
		||||
                },
 | 
			
		||||
                "nats": {
 | 
			
		||||
                        "1": {
 | 
			
		||||
                                "enable": false,
 | 
			
		||||
                                "address": "",
 | 
			
		||||
                                "subject": "",
 | 
			
		||||
                                "username": "",
 | 
			
		||||
                                "password": "",
 | 
			
		||||
                                "token": "",
 | 
			
		||||
                                "secure": false,
 | 
			
		||||
                                "pingInterval": 0
 | 
			
		||||
                        }
 | 
			
		||||
                },
 | 
			
		||||
                "elasticsearch": {
 | 
			
		||||
                        "1": {
 | 
			
		||||
                                "enable": false,
 | 
			
		||||
                                "url": "",
 | 
			
		||||
                                "index": ""
 | 
			
		||||
                        }
 | 
			
		||||
                },
 | 
			
		||||
                "redis": {
 | 
			
		||||
                        "1": {
 | 
			
		||||
                                "enable": false,
 | 
			
		||||
                                "address": "",
 | 
			
		||||
                                "password": "",
 | 
			
		||||
                                "key": ""
 | 
			
		||||
                        }
 | 
			
		||||
                },
 | 
			
		||||
                "postgresql": {
 | 
			
		||||
                        "1": {
 | 
			
		||||
                                "enable": false,
 | 
			
		||||
                                "connectionString": "",
 | 
			
		||||
                                "table": "",
 | 
			
		||||
                                "host": "",
 | 
			
		||||
                                "port": "",
 | 
			
		||||
                                "user": "",
 | 
			
		||||
                                "password": "",
 | 
			
		||||
                                "database": ""
 | 
			
		||||
                        }
 | 
			
		||||
                }
 | 
			
		||||
        }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										41
									
								
								minio-credentials
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										41
									
								
								minio-credentials
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,41 @@
 | 
			
		||||
#!/usr/bin/env node
 | 
			
		||||
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
const fs = require('fs');
 | 
			
		||||
 | 
			
		||||
const MINIO_CONFIG = '/app/data/data/.minio.sys/config/config.json';
 | 
			
		||||
 | 
			
		||||
function usage() {
 | 
			
		||||
    console.log('Usage:\n');
 | 
			
		||||
    console.log('\tminio-credentials get');
 | 
			
		||||
    console.log('\tminio-credentials set <access key> <secret key>');
 | 
			
		||||
    console.log();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
let config = JSON.parse(fs.readFileSync(MINIO_CONFIG, 'utf8'));
 | 
			
		||||
let adminCredentials = config['credentials']['_'];
 | 
			
		||||
let accessKey = adminCredentials.filter(kv => kv.key === 'access_key')[0];
 | 
			
		||||
let secretKey = adminCredentials.filter(kv => kv.key === 'secret_key')[0];
 | 
			
		||||
 | 
			
		||||
if (process.argv[2] === 'get') {
 | 
			
		||||
    console.log('Access Key:', accessKey.value);
 | 
			
		||||
    console.log('Secret Key:', secretKey.value);
 | 
			
		||||
} else if (process.argv[2] === 'set') {
 | 
			
		||||
    if (process.argv.length !== 5) return usage();
 | 
			
		||||
 | 
			
		||||
    // https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html
 | 
			
		||||
    if (process.argv[4].length < 5) return console.log('secret key must be atleast 5 characters');
 | 
			
		||||
    if (!/^[\w+=,.@-]+$/.test(process.argv[3])) return console.log('access key has invalid characters');
 | 
			
		||||
 | 
			
		||||
    accessKey.value = process.argv[3];
 | 
			
		||||
    if (process.argv[4].length < 8) return console.log('secret key must be atleast 8 characters');
 | 
			
		||||
 | 
			
		||||
    secretKey.value = process.argv[4];
 | 
			
		||||
 | 
			
		||||
    fs.writeFileSync(MINIO_CONFIG, JSON.stringify(config), 'utf8');
 | 
			
		||||
    console.log('Credentials updated. Restart minio app for new credentials to take effect.\n');
 | 
			
		||||
} else {
 | 
			
		||||
    usage();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										11
									
								
								start.sh
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								start.sh
									
									
									
									
									
								
							@@ -2,12 +2,13 @@
 | 
			
		||||
 | 
			
		||||
set -eu
 | 
			
		||||
 | 
			
		||||
mkdir -p /app/data/data /app/data/config
 | 
			
		||||
mkdir -p /app/data/data /run/minio/config /run/minio/certs
 | 
			
		||||
 | 
			
		||||
if ! [ -f /app/data/config/config.json ]; then
 | 
			
		||||
  cp /app/code/config.json /app/data/config/config.json
 | 
			
		||||
fi
 | 
			
		||||
echo "==> Changing ownership"
 | 
			
		||||
chown -R cloudron:cloudron /app/data
 | 
			
		||||
 | 
			
		||||
exec ./minio server -C /app/data/config --address :8000 /app/data/data
 | 
			
		||||
# the --config-dir is deprecated and not used. but without it, minio will try to create $HOME/.minio :/ same for --certs-dir
 | 
			
		||||
echo "==> Starting minio"
 | 
			
		||||
exec /usr/local/bin/gosu cloudron:cloudron /app/code/minio --certs-dir /run/minio/certs --config-dir /run/minio/config --quiet server --address :8000 /app/data/data
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1501
									
								
								test/package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										1501
									
								
								test/package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -9,14 +9,14 @@
 | 
			
		||||
  "author": "",
 | 
			
		||||
  "license": "ISC",
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "ejs": "^2.4.2",
 | 
			
		||||
    "chromedriver": "^81.0.0",
 | 
			
		||||
    "ejs": "^3.0.2",
 | 
			
		||||
    "expect.js": "^0.3.1",
 | 
			
		||||
    "mkdirp": "^0.5.1",
 | 
			
		||||
    "mocha": "^2.5.3",
 | 
			
		||||
    "rimraf": "^2.5.3",
 | 
			
		||||
    "selenium-server-standalone-jar": "^2.53.1",
 | 
			
		||||
    "selenium-webdriver": "^2.53.3",
 | 
			
		||||
    "superagent": "^1.4.0",
 | 
			
		||||
    "chromedriver": "^2.27.0"
 | 
			
		||||
    "mkdirp": "^1.0.4",
 | 
			
		||||
    "mocha": "^7.1.1",
 | 
			
		||||
    "rimraf": "^3.0.2",
 | 
			
		||||
    "selenium-server-standalone-jar": "^3.141.59",
 | 
			
		||||
    "selenium-webdriver": "^3.6.0",
 | 
			
		||||
    "superagent": "^5.2.2"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										59
									
								
								test/test.js
									
									
									
									
									
								
							
							
						
						
									
										59
									
								
								test/test.js
									
									
									
									
									
								
							@@ -2,27 +2,26 @@
 | 
			
		||||
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
require('chromedriver');
 | 
			
		||||
 | 
			
		||||
var execSync = require('child_process').execSync,
 | 
			
		||||
    expect = require('expect.js'),
 | 
			
		||||
    path = require('path'),
 | 
			
		||||
    webdriver = require('selenium-webdriver');
 | 
			
		||||
 | 
			
		||||
var by = webdriver.By,
 | 
			
		||||
    until = webdriver.until;
 | 
			
		||||
 | 
			
		||||
var accessKey = 'admin',
 | 
			
		||||
    secretKey = 'secretkey';
 | 
			
		||||
var by = require('selenium-webdriver').By,
 | 
			
		||||
    until = require('selenium-webdriver').until,
 | 
			
		||||
    Key = require('selenium-webdriver').Key,
 | 
			
		||||
    Builder = require('selenium-webdriver').Builder;
 | 
			
		||||
 | 
			
		||||
var bucket = 'cloudrontestbucket';
 | 
			
		||||
 | 
			
		||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
describe('Application life cycle test', function () {
 | 
			
		||||
    this.timeout(0);
 | 
			
		||||
 | 
			
		||||
    var chrome = require('selenium-webdriver/chrome');
 | 
			
		||||
    var server, browser = new chrome.Driver();
 | 
			
		||||
    var server, browser = new Builder().forBrowser('chrome').build();
 | 
			
		||||
 | 
			
		||||
    before(function (done) {
 | 
			
		||||
        var seleniumJar= require('selenium-server-standalone-jar');
 | 
			
		||||
@@ -53,7 +52,7 @@ describe('Application life cycle test', function () {
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    function login(callback) {
 | 
			
		||||
    function login(accessKey, secretKey, callback) {
 | 
			
		||||
        browser.manage().deleteAllCookies();
 | 
			
		||||
        browser.get('https://' + app.fqdn).then(function () {
 | 
			
		||||
            return visible(by.id('accessKey'));
 | 
			
		||||
@@ -93,13 +92,15 @@ describe('Application life cycle test', function () {
 | 
			
		||||
        browser.get('https://' + app.fqdn);
 | 
			
		||||
 | 
			
		||||
        pageLoaded().then(function () {
 | 
			
		||||
            return visible(by.className('fa fa-plus'));
 | 
			
		||||
            return visible(by.className('fa-plus'));
 | 
			
		||||
        }).then(function () {
 | 
			
		||||
            return browser.findElement(by.className('fa fa-plus')).click();
 | 
			
		||||
            return browser.findElement(by.className('fa-plus')).click();
 | 
			
		||||
        }).then(function () {
 | 
			
		||||
            return visible(by.className('fa fa-hdd-o'));
 | 
			
		||||
            const c = 'fa-hdd';
 | 
			
		||||
            return visible(by.className(c));
 | 
			
		||||
        }).then(function () {
 | 
			
		||||
            return browser.findElement(by.className('fa fa-hdd-o')).click();
 | 
			
		||||
            const c = 'fa-hdd';
 | 
			
		||||
            return browser.findElement(by.className(c)).click();
 | 
			
		||||
        }).then(function () {
 | 
			
		||||
            return visible(by.xpath('//*[@class="modal-body"]/form/div/input'));
 | 
			
		||||
        }).then(function () {
 | 
			
		||||
@@ -131,11 +132,11 @@ describe('Application life cycle test', function () {
 | 
			
		||||
        }).then(function () {
 | 
			
		||||
            return browser.findElement(by.id('top-right-menu')).click();
 | 
			
		||||
        }).then(function () {
 | 
			
		||||
            return visible(by.xpath('//*[text()="Settings "]'));
 | 
			
		||||
            return visible(by.xpath('//*[contains(text(), "Change Password")]'));
 | 
			
		||||
        }).then(function () {
 | 
			
		||||
            return browser.findElement(by.xpath('//*[text()="Settings "]')).click();
 | 
			
		||||
            return browser.findElement(by.xpath('//*[contains(text(),"Change Password")]')).click();
 | 
			
		||||
        }).then(function () {
 | 
			
		||||
            return browser.wait(until.elementLocated(by.xpath('//*[text()="Generate"]')), TEST_TIMEOUT);
 | 
			
		||||
            return browser.wait(until.elementLocated(by.xpath('//*[contains(text(), "Change Password")]')), TEST_TIMEOUT);
 | 
			
		||||
        }).then(function () {
 | 
			
		||||
            callback();
 | 
			
		||||
        });
 | 
			
		||||
@@ -146,7 +147,7 @@ describe('Application life cycle test', function () {
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    it('install app', function () {
 | 
			
		||||
        execSync('cloudron install --new --wait --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
        execSync('cloudron install --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    it('can get app information', function () {
 | 
			
		||||
@@ -157,17 +158,21 @@ describe('Application life cycle test', function () {
 | 
			
		||||
        expect(app).to.be.an('object');
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    it('can login', login);
 | 
			
		||||
    it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
 | 
			
		||||
    it('can add bucket', addBucket);
 | 
			
		||||
    it('can open settings', openSettings);
 | 
			
		||||
    it('can logout', logout);
 | 
			
		||||
 | 
			
		||||
    it('can change credentials', function () {
 | 
			
		||||
    execSync('cloudron exec --app ' + app.id + ' -- /app/code/minio-credentials set minioakey minioskey', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    it('can restart app', function (done) {
 | 
			
		||||
        execSync('cloudron restart --wait');
 | 
			
		||||
        execSync('cloudron restart');
 | 
			
		||||
        done();
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    it('can login', login);
 | 
			
		||||
    it('can login', login.bind(null, 'minioakey', 'minioskey'));
 | 
			
		||||
    it('has bucket', checkBucket);
 | 
			
		||||
    it('can logout', logout);
 | 
			
		||||
 | 
			
		||||
@@ -179,20 +184,20 @@ describe('Application life cycle test', function () {
 | 
			
		||||
        execSync('cloudron restore --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    it('can login', login);
 | 
			
		||||
    it('can login', login.bind(null, 'minioakey', 'minioskey'));
 | 
			
		||||
    it('has bucket', checkBucket);
 | 
			
		||||
    it('can open settings', openSettings);
 | 
			
		||||
    it('can logout', logout);
 | 
			
		||||
 | 
			
		||||
    it('move to different location', function () {
 | 
			
		||||
        browser.manage().deleteAllCookies();
 | 
			
		||||
        execSync('cloudron configure --wait --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
        execSync('cloudron configure --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
        var inspect = JSON.parse(execSync('cloudron inspect'));
 | 
			
		||||
        app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
 | 
			
		||||
        expect(app).to.be.an('object');
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    it('can login', login);
 | 
			
		||||
    it('can login', login.bind(null, 'minioakey', 'minioskey'));
 | 
			
		||||
    it('has bucket', checkBucket);
 | 
			
		||||
    it('can logout', logout);
 | 
			
		||||
 | 
			
		||||
@@ -202,19 +207,19 @@ describe('Application life cycle test', function () {
 | 
			
		||||
 | 
			
		||||
    // test update
 | 
			
		||||
    it('can install app', function () {
 | 
			
		||||
        execSync('cloudron install --new --wait --appstore-id io.minio.cloudronapp --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
        execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
        var inspect = JSON.parse(execSync('cloudron inspect'));
 | 
			
		||||
        app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
 | 
			
		||||
        expect(app).to.be.an('object');
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    it('can login', login);
 | 
			
		||||
    it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
 | 
			
		||||
    it('can add buckets', addBucket);
 | 
			
		||||
    it('can logout', logout);
 | 
			
		||||
    it('can update', function () {
 | 
			
		||||
        execSync('cloudron install --wait --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
        execSync('cloudron update --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
    });
 | 
			
		||||
    it('can login', login);
 | 
			
		||||
    it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
 | 
			
		||||
    it('has bucket', checkBucket);
 | 
			
		||||
    it('can logout', logout);
 | 
			
		||||
    it('uninstall app', function () {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user