primordic/IssueDupesLite huggingface dataset:
Repository: html5rocks/www.html5rocks.com

Issue #144: IndexedDB ToDo example throws exception in initialization
Created: 2012-08-09T17:29:46Z
as reported here: http://code.google.com/p/chromium/issues/detail?id=141575
The problem here is that getAllTodoItems() is being called directly from inside the setVersion transaction. This means you're creating a new transaction from inside a setVersion transaction, (well really a "versionchange" transaction) which is against spec.
In particular, starting at line 20, these lines:
request.onsuccess = function(e) {
var v = "1.99";
html5rocks.indexedDB.db = e.target.result;
var db = html5rocks.indexedDB.db;
...
html5rocks.indexedDB.getAllTodoItems();
...
}
should say:
request.onsuccess = function(e) {
var v = "1.99";
html5rocks.indexedDB.db = e.target.result;
var db = html5rocks.indexedDB.db;
...
var transaction = e.target;
transaction.onsuccess = html5rocks.indexedDB.getAllTodoItems;
...
}
I'm going to see if I can update the docs, but I figured I'd file this issue here for posterity.

Duplicate issue #124: IndexDb Sample is out of date [moved]
Created: 2012-07-31T18:51:05Z
This is Issue 899 moved from the old Google Code project and added by 2012-07-27T19:46:53.000Z by rkmo...@gmail.com. Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Bug, Priority-P2
Original description
Since the IndexDb sample is out of date (among other things, getversion() is no longer used), is there an update?
Also your sample is very confusing.
Why is the javascript not in it's own file, than the HTML will just call the functions, instead of making Italian food (Spaghetti code).

Closing comment (2012-08-10T00:42:45Z): Dup of #144
Repository: html5rocks/www.html5rocks.com

Issue #722: Check accuracy of www.html5rocks.com/en/tutorials/track/basics/
Created: 2013-10-29T00:52:23Z

Duplicate issue #723: Check accuracy of www.html5rocks.com/en/tutorials/track/basics/
Created: 2013-10-29T00:52:49Z

Closing comment (2013-10-29T01:27:48Z): Dupe of #722
Repository: http-party/http-server

Issue #156: Access-Control-Allow-Headers does not allow Range
Created: 2015-06-10T20:48:19Z
Hi there, big fan of http-server.  I'm trying to use it to serve content locally for testing MSE with DASH which makes heavy use of HTTP Byte Range Requests.  It look like blink based browsers complain that "XMLHttpRequest cannot load http://localhost:8000/audio_128k.webm. Request header field Range is not allowed by Access-Control-Allow-Headers."
I run http-server with the --cors flag.  The DASH libraries I'm testing both seem to send HTTP OPTIONS requests to the assets to check the response headers (preflight).  It looks like http-server is responding with the following headers: "Access-Control-Allow-Headers:Origin, X-Requested-With, Content-Type, Accept"
So I think Range would have to be added to the list.  I'm curious, is there a reason why not all headers are whitelisted with the asterisk as a value?

Duplicate issue #145: Access-Control-Request-Headers:range
Created: 2015-03-30T15:56:44Z
Request header field Range is not allowed by Access-Control-Allow-Headers.
can you add this
this.headers['Access-Control-Allow-Headers'] = 'Origin, X-Requested-With, Content-Type, Accept ,range';
to support 206 Partial Content

Closing comment (2015-09-22T01:10:35Z): Fixed in #157. Duplicate of #156.
Repository: http-party/http-server

Issue #525: ERR_INVALID_REDIRECT when running http-server
Created: 2019-05-03T15:05:57Z
Do you want to request a feature or report a bug?
If the issue is a bug report, please provide the steps to reproduce it. Please include the actual command causing the issue if applicable.
npm i -g http-server
http-server
Then open chrome at 127.0.0.1:8080
What did you expect to happen?
Open an empty page
What actually happened? Please include the actual error trace and / or stack trace if applicable.
ERR_INVALID_REDIRECT
If the issue is a feature request, what is the motivation / use case for it?
Tell us about your environment

http-server version:
Tried 0.11 and also the master branch from the github repo
Platform:
win10

Duplicate issue #556: "Corrupted Content Error" on default page (/)
Created: 2019-08-23T09:57:22Z
`Corrupted Content Error
The site at http://127.0.0.1:8080/ has experienced a network protocol violation that cannot be repaired.`
Response is 302, with "//" location. On the other hand, the URL "127.0.0.1:8080/index.html" works.

Closing comment (2021-08-20T13:44:57Z): That's correct, this is a duplicate of #525
Repository: http-party/http-server

Issue #80: Support HTML5 push-state
Created: 2014-07-05T21:27:31Z
How can I use angularjs' html5Mode true.
Need to do some server configuration. What needs to be done? Where?

Duplicate issue #123: Use urlRewrite technique to redirect index.html to support html5 mode
Created: 2015-01-22T10:21:44Z
When html5 mode is on, refresh causes the web server to seek for the given folder,
To support this right we need a feature to always perform url rewrite to index.html (or some other page) automatically.
Something like:
-u foo.html where default of -u is index.html
Thanks

Closing comment (2015-03-19T11:14:09Z): Closing as a duplicate of #80.
Repository: http-party/http-server

Issue #80: Support HTML5 push-state
Created: 2014-07-05T21:27:31Z
How can I use angularjs' html5Mode true.
Need to do some server configuration. What needs to be done? Where?

Duplicate issue #170: Splat route
Created: 2015-08-05T22:09:38Z
While developing my web app, it's handy to have the server to serve up the site regardless of the route. All my routing is being handled on the front end.

Closing comment (2015-09-22T01:13:59Z): Thanks @jantimon. Duplicate of #80.
Repository: http-party/http-server

Issue #614: Replace optimist with minimist
Created: 2020-03-18T16:49:14Z
For known reasons we want to get rid of old versions of minimist from our projects. And I looked into dependency then found http-server is relying on optimist, which is a deprecated package, and optimist relies on very old version of minimist. https://github.com/substack/node-optimist/blob/master/package.json#L8
I'm a yarn user and I received lots of warnings since I used http-server in my projects, a lot... A viable solution might be reinstalling http-server and for some reason newer version of minimist can be installed and the warn will be gone.
Is there anytime to do on http-server side?

Duplicate issue #617: optimist using vulnerable version of minimist
Created: 2020-03-27T08:12:23Z
Low:  Prototype Pollution
│ Package       │ minimist
│ Patched in    │ >=0.2.1 <1.0.0 || >=1.2.3
│ Dependency of │ http-server [dev]
│ Path          │ http-server > optimist > minimist
│ More info     │ https://npmjs.com/advisories/1179

Closing comment (2020-03-27T14:18:38Z): Duplicate of #614
Repository: http-party/http-server

Issue #149: files not updating unless cache is force-cleared 
Created: 2015-04-08T21:48:59Z
I'm developing a Backbone based app, and the text.js package of require.js appears to be creating a conflict with how files are returned.
If I change one of the template files that is read by text.js, and refresh the page, the content is not updated accordingly; the template file is cached, even with a "hard refresh". Nothing short of forcing a "Empty cache and hard refresh" (right click on refresh button in chrome) will update correctly.
I have tried the -c-1 and -c0, even -c1 params to set the caching parameters when starting, but to no avail.

Duplicate issue #287: Doesn't update changes made on html files
Created: 2016-06-20T11:18:48Z
When I'm changing the content in an Angular app , I don't restart the server just refresh the browser, it still shows old content .
What o do here ?

Closing comment (2019-04-29T14:16:20Z): Closing as a duplicate of #149 which is solved by #326
Repository: http-party/http-server

Issue #273: SLL mode does not serve HTTP request
Created: 2016-05-11T09:24:16Z
Hi,
I would like to know how can I redirect all my http requests to https.
Now I start my server like this:
http-server -a 0.0.0.0 --cert self-signed.crt --key self-signed.key -d false -p 4041 -c-1 --ssl
The log:
Starting up http-server, serving ./ through https Available on: https://127.0.0.1:4041 https://192.168.0.25:4041 https://10.0.0.1:4041 Hit CTRL-C to stop the server
I routing works on https:// URLs but not on http:// URLs. How can I automatically redirect all http:// URLs to https:// URLs.
Do I need to use NGINX or is there something I can do with http-server configuration?
Thank you for great development.
Olivier

Duplicate issue #598: Enabling HTTP to HTTPS redirects
Created: 2020-01-06T19:05:17Z
If the issue is a feature request, what is the motivation / use case for it?
Having one command to serve a fully fledged SPA.
Other information (related issues, suggestions for a fix, etc):
Being able to use two ports and http-redirect from one to another would be a big help.
Example: npx http-server -S -K ... -C .... -p 80,443 --https-redirect

Closing comment (2021-07-13T14:28:23Z): Duplicate of #273
Repository: http-party/http-server

Issue #480: .wasm (application/wasm) is served with charset
Created: 2018-11-24T12:29:34Z
this should not happen.

Duplicate issue #690: WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error
Created: 2021-06-18T22:22:02Z
WebAssembly.instantiateStreamingfailed because your server does not serve wasm withapplication/wasmMIME type. Falling back toWebAssembly.instantiate` which is slower. Original error
this is happening when I try to serve a simple html with webassembly, it seems that this web server is not serving the .wasm files with the correct MIMI type
https://github.com/insinfo/photon-test

Closing comment (2021-07-13T14:06:20Z): Closing right now as a duplicate of #480, please re-open if this is not the case
Repository: http-party/http-server

Issue #446: AutoReload on Save
Created: 2018-05-21T16:43:03Z
I just like this package very much. I use it like everyday. It is possible to include some feature like auto reload on the file changes, possible a feature update.

Duplicate issue #850:  index.html change but doesn't have any auto refreshing must to manual refresh
Created: 2023-01-26T06:04:35Z
Environment Versions

OS Type
Node version: 18.6.0
http-server version: 14.1.1

Expected result

auto-refreshing when any in index.html change

Actual result

index.html change but doesn't have any auto refreshing must to manual refresh

Closing comment (2023-10-17T23:24:20Z): what are the chances

Very low. This project had no merged PRs for a year. Also this issue is a duplicate of #446 (though your proposed solution is more generic).
Repository: humanmade/S3-Uploads

Issue #605: It looks like the version number in the plugin root hasn't been updated to match the current version
Created: 2022-09-14T08:26:25Z
It's on 3.0.3, should be 3.0.4

Duplicate issue #607: Wrong WP plugin version in 3.0.4
Created: 2022-10-26T15:19:34Z
Hi, I updated the plugin but I noticed that inside the s3-upload.php file, the version is 3.0.3
https://github.com/humanmade/S3-Uploads/blob/master/s3-uploads.php
Can you fix it please?

Closing comment (2022-11-05T17:04:07Z): Dupe of #605
Repository: humanmade/S3-Uploads

Issue #100: Fatal error: Class 'Aws\S3\Sync\UploadSyncBuilder' not found
Created: 2016-05-24T02:04:20Z
this happen when i type
wp s3-uploads upload-directory videos --allow-root

Duplicate issue #289: Unable to find the wrapper "s3"
Created: 2019-01-03T17:56:27Z
Hi there,
while testing this plugin and trying to copy a testfile I'm getting this in console:
PHP Warning:  copy(): Unable to find the wrapper "s3" - did you forget to enable it when you configured PHP? in /var/www/wordpress/web/app/plugins/s3-uploads/inc/class-s3-uploads-wp-cli-command.php on line 292
Warning: copy(): Unable to find the wrapper "s3" - did you forget to enable it when you configured PHP? in /var/www/wordpress/web/app/plugins/s3-uploads/inc/class-s3-uploads-wp-cli-command.php on line 292
PHP Warning:  copy(): Unable to find the wrapper "s3" - did you forget to enable it when you configured PHP? in /var/www/wordpress/web/app/plugins/s3-uploads/inc/class-s3-uploads-wp-cli-command.php on line 292
Warning: copy(): Unable to find the wrapper "s3" - did you forget to enable it when you configured PHP? in /var/www/wordpress/web/app/plugins/s3-uploads/inc/class-s3-uploads-wp-cli-command.php on line 292
PHP Warning:  copy(s3://website2-development-assets/testfile.txt): failed to open stream: No such file or directory in /var/www/wordpress/web/app/plugins/s3-uploads/inc/class-s3-uploads-wp-cli-command.php on line 292
Warning: copy(s3://website2-development-assets/testfile.txt): failed to open stream: No such file or directory in /var/www/wordpress/web/app/plugins/s3-uploads/inc/class-s3-uploads-wp-cli-command.php on line 292
Success: Completed copy from ./testfile.txt to s3://website2-development-assets/testfile.txt

The file is not being copied to S3 although it says success at the end.

Closing comment (2019-01-04T17:37:38Z): I found it is related to #100
Repository: humanmade/S3-Uploads

Issue #82: Only deletes cropped files and original file and not the extra original image-sizes
Created: 2016-01-05T12:45:00Z
Steps to reproduce:

Upload image
Crop this image so it has the original file with it's image sizes and the new cropped version and it's image sizes.
Delete the image.

Result:

This deletes the original upload, the cropped-original and the cropped image-sizes, but leaves the original image-sizes files.

Duplicate issue #77: Wrong path when deleting intermediate images
Created: 2015-11-24T20:10:48Z
When trying to delete an image from media library I found out that the path is wrong for intermediate images
is trying to delete
s3://BUCKET/uploads/s3://BUCKET/uploads/2015/11/image-150x150.jpg
instead of
s3://BUCKET/uploads/2015/11/image-150x150.jpg
so goes wrong.
What could be done?
I've seen possibility to add the following to WP path_is_absolute() found in wp-includes/functions.php. So the path from $intermediate_file is accepted as absolute (but not that good idea cause of WPupdates)
function path_is_absolute( $path ) {
    if ( preg_match('#^s3:\/\/#', $path) ) // new
    return true; // new
/*
     * This is definitive if true but fails if $path does not exist or contains
     * a symbolic link.
     */
    if ( realpath($path) == $path )
        return true;

    if ( strlen($path) == 0 || $path[0] == '.' )
        return false;

    // Windows allows absolute paths like this.
    if ( preg_match('#^[a-zA-Z]:\\\\#', $path) )
        return true;

    // A path starting with / or \ is absolute; anything else is relative.
    return ( $path[0] == '/' || $path[0] == '\\' );
}

path_is_absolute() is called from within path_join() wich is called within wp_delete_attachment()
Second possibility in theme:
function my_wp_delete_file( $intermediate_file) {
  /* for more info check post.php wp_delete_attachment() */
  if(class_exists( 'S3_Uploads' )){
     if ( preg_match('#^s3:\/\/#', $intermediate_file) ){
       @unlink( $intermediate_file );
     }
  }

  return $intermediate_file;   
}
add_filter('wp_delete_file', 'my_wp_delete_file');

So what would be the plugin solution? Instead of core and theme solutions above

Closing comment (2016-02-16T20:18:21Z): Dupe of #82, thanks for the report :)
Repository: humanmade/S3-Uploads

Issue #550: fopen() Mode not supported: a+
Created: 2021-09-27T22:52:48Z
I'm trying to generate a new report in WooCommerce Admin, which is trying to write the .csv report to wp-content/uploads/woocommerce_uploads/reports/wc-orders-report-export-16327718422508.csv
ErrorException: User Warning: Mode not supported: a+. Use one 'r', 'w', 'a', or 'x'.
  File "/wp-content/plugins/s3-uploads/inc/class-stream-wrapper.php", line 980, in S3_Uploads\Stream_Wrapper::triggerError
    trigger_error( implode( "\n", (array) $errors ), E_USER_WARNING ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
  File "/wp-content/plugins/s3-uploads/inc/class-stream-wrapper.php", line 165, in S3_Uploads\Stream_Wrapper::stream_open
    return $this->triggerError( $errors );
  File "/wp-content/plugins/woocommerce/includes/export/abstract-wc-csv-batch-exporter.php", line 133, in WC_CSV_Batch_Exporter::write_csv_data
    $fp = fopen( $this->get_file_path(), 'a+' );
  File "/wp-content/plugins/woocommerce/includes/export/abstract-wc-csv-batch-exporter.php", line 118, in WC_CSV_Batch_Exporter::generate_file
    $this->write_csv_data( $this->get_csv_data() );
  File "/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/ReportExporter.php", line 123, in Automattic\WooCommerce\Admin\ReportExporter::export_report
    $exporter->generate_file();
...
(19 additional frame(s) were not displayed)

I suppose there are no plans to support a+ mode, so is there perhaps a way to have an exclude list of paths which the S3-uploads plugin ignore, and allows plugins to write to the local file system instead?
I'm currently working around this by disabling the S3 plugin temporarily when generating the report. Obviously, that's not great in a production environment as it breaks all the images while disabled 😅.

Duplicate issue #606: Support for append mode
Created: 2022-10-18T10:29:27Z
S3 doesn't support append mode, and opening a file via the s3 stream wrapper in append mode (a or a+) fails silently, and I assume the same applies to file_put_contents() when the FILE_APPEND flag is used.
One notable functionality that this breaks is the reports in WooCommerce which provides a CSV download feature (for downloading data for orders, customers, etc). When there are more than 100 entries WooCommerce appends rows in batches using append mode. This doesn't work when S3 Uploads is in use and results in a file of zero length.
Would it be possible for the S3 Uploads plugin to handle this with a compatibility layer? For example:

When a file handle is opened in append mode, download the file in full to a temp directory
Push the new lines to the end upon each call to fwrite()
Write the file back to S3 upon the call to fclose()

Closing comment (2022-11-01T11:16:04Z): Based on this, looks like a duplicate of #550 so closing out in favour of that; AWS' docs do not list a+ as a supported mode
Repository: humanmade/S3-Uploads

Issue #314: Add a license file
Created: 2019-05-14T15:54:56Z
Hi, thanks for this project!
It looks like the license was clarified as GPL in #228. Do you mind adding a license file with the text of the GPL? This will make it clearer for someone that finds this repo and will ensure anyone who forks and redistributes it remains in compliance with the GPL-text distribution requirements of the license.
I would have created a PR for this but I'm not actually sure if it should be GPLv2+ or GPLv3+.

Duplicate issue #503: License
Created: 2021-04-07T13:04:00Z
Hi @joehoyle — I'd like to use this plugin for a website project that I'm working on, but I can't find anything about licensing here. Could you let me know if that's something you could detail?
Many thanks, Lee

Closing comment (2021-04-07T13:10:56Z): Duplicate of #314; S3 Uploads is GPL :)
Repository: humanmade/S3-Uploads

Issue #197: S3_Uploads_Stream_Wrapper::register()
Created: 2017-09-09T17:59:17Z
Updated to the latest caused the following:
Uncaught TypeError: Argument 1 passed to S3_Uploads_Stream_Wrapper::register() must be an instance of Aws\S3\S3ClientInterface, instance of Aws\S3\S3Client given, called in /home/site/public_html/wp-content/plugins/S3-Uploads/inc/class-s3-uploads.php on line 75 and defined in /home/site/public_html/wp-content/plugins/S3-Uploads/inc/class-s3-uploads-stream-wrapper.php:105

Duplicate issue #198: PHP Fatal error:  Uncaught TypeError: Argument 1 passed to S3_Uploads_Stream_Wrapper::register() must be an instance of Aws\S3\S3ClientInterface
Created: 2017-10-12T11:10:25Z
Hello, looking forward to using this plugin! I cloned the repo and activated it and received the following error:
PHP Fatal error:  Uncaught TypeError: Argument 1 passed to S3_Uploads_Stream_Wrapper::register() must be an instance of Aws\S3\S3ClientInterface, instance of Aws\S3\S3Client given, called in /path/to/httpdocs/wp-content/plugins/S3-Uploads/inc/class-s3-uploads.php on line 75 and defined in /path/to/httpdocs/wp-content/plugins/S3-Uploads/inc/class-s3-uploads-stream-wrapper.php:105
Stack trace:
#0 /path/to/httpdocs/wp-content/plugins/S3-Uploads/inc/class-s3-uploads.php(75): S3_Uploads_Stream_Wrapper::register(Object(Aws\S3\S3Client))
#1 /path/to/httpdocs/wp-content/plugins/S3-Uploads/inc/class-s3-uploads.php(45): S3_Uploads->register_stream_wrapper()
#2 /path/to/httpdocs/wp-content/plugins/S3-Uploads/s3-uploads.php(45): S3_Uploads->setup()
#3 /path/to/httpdocs/wp-includes/class-wp-hook.php(298): s3_uploads_init('')
#4 /path/to/httpdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) in /path/to/httpdocs/wp-content/plugins/S3-Uploads/inc/class-s3-uploads-stream-wrapper.php on line 105

Will start digging into the code now and see what I find.

Closing comment (2017-10-12T11:47:59Z): possible dup of #197
Repository: humanmade/S3-Uploads

Issue #187: Could we use javascript to upload the files straight from the browser to s3?
Created: 2017-08-09T15:55:00Z
Here's a nice example about this: https://leonid.shevtsov.me/post/demystifying-s3-browser-upload/
We can reduce load and use smaller upload size limits if the file never arrives to WordPress backend.

Duplicate issue #218: Bypass WP's built in file uploading to get around upload limits
Created: 2018-01-23T13:16:10Z
WordPress and PHP have limits on file upload sizes. Unfortunately even if you're able to increase that size, some hosts (WPE specifically in this case) institutes a 200mb cap that is unmovable.
If we'd like to allow larger file limits, this plugin seems like it would be a good fit... almost.
The WP Uploader still follows the same uploading rules/limits.
AWS S3 offers a way around this utilizing JavaScript however: https://aws.amazon.com/blogs/developer/announcing-the-amazon-s3-managed-uploader-in-the-aws-sdk-for-javascript/
Proposed feature request is to utilize the AWS S3 managed uploader in place of WP's to get around file size restrictions and truly upload straight to S3.

Closing comment (2018-01-23T14:43:40Z): Duplicate of #187. We closed this out due to this being out-of-scope. Though they seem "close" together, the way this would work would be very different to the scenario s3 uploads is solving. I'd recommend building a plugin to do specifically what you are asking for.
Repository: humanmade/S3-Uploads

Issue #472: Fatal error with PHP 8
Created: 2020-12-01T21:47:17Z
[01-Dec-2020 21:44:47 UTC] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in web/app/plugins/s3-uploads/lib/getid3/getid3.php on line 554
[01-Dec-2020 21:45:34 UTC] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in web/app/plugins/s3-uploads/lib/getid3/getid3.php on line 554
[01-Dec-2020 21:45:35 UTC] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in web/app/plugins/s3-uploads/lib/getid3/getid3.php on line 554
[01-Dec-2020 21:45:38 UTC] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in web/app/plugins/s3-uploads/lib/getid3/getid3.php on line 554
[01-Dec-2020 21:45:41 UTC] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in web/app/plugins/s3-uploads/lib/getid3/getid3.php on line 554

Duplicate issue #482: Deprecated error warning
Created: 2020-12-19T07:18:27Z
Hello,
PHP Ver: PHP 7.4.12
WordPress Ver: 5.6
S3-Uploads Ver: 2.2.2
The errors below popped up when I was debugging an unrelated plugin that I was working on (WP_DEBUG was set to true). This is not a show stopper as such but I thought it might be important for you guys to know.

Deprecated: Array and string offset access syntax with curly braces is deprecated in /opt/bitnami/apps/xxxxx/wp-content/plugins/s3-uploads/lib/getid3/getid3.php on line 554
Deprecated: Array and string offset access syntax with curly braces is deprecated in /opt/bitnami/apps/xxxxx/wp-content/plugins/s3-uploads/lib/getid3/getid3.php on line 555

I didn't have time to investigate as "S3-Uploads" plugin works just fine.
Cheers.
YG

Closing comment (2021-01-06T11:28:41Z): Duplicate of #472, see #472 (comment)
Repository: humanmade/S3-Uploads

Issue #92: Permanently deleted media files
Created: 2016-04-13T17:29:52Z
Hey, good plugin, works well.
Quick question that may or may not be an issue:
When deleting a media file, the originally uploaded file gets left behind - only the different thumbnail variants gets deleted. Is this intended behavior?
We run a multisite setup, and would prefer that all files permanently deleted through Wordpress would get removed completely from S3.
Thanks.
Ps. I can delete the left over file through the CLI, so at least that is working, although not convenient:
wp s3-uploads rm uploads/2016/04/image.jpg --debug --url=www.our-multisite-setup.com

Duplicate issue #161: Files not being deleted from bucket
Created: 2017-03-27T11:00:57Z
I am using WP 4.5.6 with the latest S3 plugin. If I upload a file via the UI I can see the file appear in the S3 bucket. However, deleting the file only removes it from the Media Library, it does not remove it from S3. Is this by design?
Subsequent uploads of a file with the same name get an indexed suffix to avoid conflict but this does risk leaving a lot of old files hanging around in S3. I notice that something similar is mentioned in passing on the second comment of #158
I am not specifying S3 bucket credentials, but instead leveraging the instance credentials.

Closing comment (2017-08-11T20:09:34Z): This seems to be a duplicate of #92 So I shall close this one off.
Repository: humanmade/S3-Uploads

Issue #100: Fatal error: Class 'Aws\S3\Sync\UploadSyncBuilder' not found
Created: 2016-05-24T02:04:20Z
this happen when i type
wp s3-uploads upload-directory videos --allow-root

Duplicate issue #186: Fatal error: Class 'Aws\S3\Sync\UploadSyncBuilder' not found in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/S3-Uploads/inc/class-s3-uploads-uploadsyncbuilder.php on line 3
Created: 2017-07-31T02:45:03Z
I'm attempting to bulk copy my current uploads folder to my s3 bucket and tried to run
wp s3-uploads upload-directory directory s3://target-bucket/uploads/directory
but getting
Fatal error: Class 'Aws\S3\Sync\UploadSyncBuilder' not found in /htdocs/wp-content/plugins/S3-Uploads/inc/class-s3-uploads-uploadsyncbuilder.php on line 3
wp s3-uploads migrate-attachments is working fine but would like to upload a specific folder only so I'm keen on making the upload-directory work
using
WP-CLI root dir:	phar://wp-cli.phar WP-CLI vendor dir:	phar://wp-cli.phar/vendor WP_CLI phar path:	/opt/bitnami/apps/wordpress/htdocs WP-CLI packages dir:	 WP-CLI global config:	 WP-CLI project config:	 WP-CLI version:	1.3.0
WP version 4.8.1
Ubuntu 14.04.5
Apache 2.4.25

Closing comment (2018-01-09T09:28:22Z): Duplicate of #100
Repository: hygieia/hygieia

Issue #869: Bug: pipeline dashboard build commit time statistics off
Created: 2016-09-26T16:46:33Z
BuildEventListener.java is using build.getTimestamp() for the PipelineCommit timestamps. The timestamp on builds is being stamped with the system time of when the collector was run. Hence when the collector first runs and picks up a lot of builds these builds will have nearly identical timestamps. The pipeline will then report numbers based on these timestamps (when the collector ran as opposed to when the build ran).
The code should instead reference build.getStartTime() (or build.getEndTime()) to more accurately represent when the commit entered that stage of the pipeline.

Duplicate issue #821: U deploy build time is not correct
Created: 2016-09-14T16:04:18Z
Hi,
when we are trying to build a job on U deploy and test it ,evrything is fine on the hygieia dashboard but the time of the build is not same as time showing on udeploy build history.
Can someone help us with the issue to check any clock settings, that give accurate or correct time.
your help would be appriciated.
thank you.

Closing comment (2016-10-19T18:45:47Z): This might be the same as #869.
Repository: hygieia/hygieia

Issue #1702: How to enable SSL in monitor widget?
Created: 2017-09-01T08:29:55Z
We want to get response of HTTPS api URLs from monitor widget.
We need to install ssl certificates for this.
How can we enable SSL in Hygieia in monitor widget.

Duplicate issue #1689: Install SSl certificate to get response from service in monitor widget
Created: 2017-08-30T13:51:37Z
We want to get response of HTTPS api URLs from monitor widget.
We need to install ssl certificates for this.
How can we enable SSL in Hygieia in monitor widget.

Closing comment (2017-09-28T20:25:07Z): Duplicate of #1702. Closing this issue here.
Repository: hygieia/hygieia

Issue #3441: Make Hygieia in Action Video Public
Created: 2021-12-07T22:07:03Z
The bottom of the page for https://github.com/hygieia/hygieia has a link for  Hygieia in Action.  The link is to a private video.
The link is for:  https://www.youtube.com/watch?v=SoNTA78j0tc

Duplicate issue #3481: Link to "Hygieia in action" points to private video
Created: 2023-01-18T11:44:03Z
The link https://www.youtube.com/watch?v=SoNTA78j0tc in the project README points to a private video:

/kind documentation

Closing comment (2023-01-18T11:45:02Z): Oh, this is a duplicate of #3441, closing now
Repository: hygieia/hygieia

Issue #871: UI Issue
Created: 2016-09-27T14:11:36Z
If more than user is signed into the Hygieia then if a user does any activity on screen like scroll screen etc. then it is reflected on screen of others. What is the purpose of this functionality and how can we turn this off?

Duplicate issue #964: dashboard scroll/edit behaviour reflecting in remote users browser session
Created: 2016-11-22T09:21:17Z
Hi,
I noticed a behaviour, when scrolling screen in a dashboard, reflects in scrolling behaviour in remote user browser session. Same with even create dashboard, screen.
Any clue on this ? Please suggest to resolve.

Closing comment (2016-11-22T15:19:40Z): Duplicate #871
Repository: hygieia/hygieia

Issue #2235: API connectivity from UI - Whitelabel Error Page
Created: 2018-05-24T04:53:19Z
Not able to connect to API from UI
on trying to hit http://localhost:8080/api/ping getting below error message :
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed May 23 23:43:56 CDT 2018
There was an unexpected error (type=Not Found, status=404).
No message available

Mongo DB is running and API is also running successfully.

Duplicate issue #2236: Hygieia UI - Not getting username and password text box on screen and api connectivity failing
Created: 2018-05-24T05:06:04Z
Hi,
I have successfully build the project, started mongo db, tomcat for api and UI.
But on the UI on clicking on login button I don't see username and password textbox and api coonectivity shows Red.

Closing comment (2018-05-24T20:28:09Z): @SYN-jasicanagpal is this a duplicate of #2235?
Repository: hyperledger/besu

Issue #2357: Implement new 1559 RPC methods
Created: 2021-06-01T17:38:08Z
ethereum/execution-specs#201

Duplicate issue #2373: Add 2 new RPC endpoints
Created: 2021-06-03T16:40:25Z
MaxFeePerGas
MaxPriorityFeePerGas

Closing comment (2021-06-07T20:25:21Z): duplicate of #2357
Repository: hyperledger/besu

Issue #6349: Snap sync - filter peers
Created: 2024-01-04T04:08:20Z
During syncing, we specifically need peers that support snap (responding to snap requests, not just advertising the capability) - currently we could have a full complement of peers without necessarily getting any that serve snap data
and only request snap data from those peers that will serve snap data

Duplicate issue #6420: Check if the capability is shared before making requests
Created: 2024-01-17T07:45:01Z
Description
Currently we do not check whether an EthPeer supports the request that we are sending, e.g. when we are sending a GetStorageRangeFromPeerTask to a peer we should check whether that peer has the capability to do SNAP.
We need to think about at what point this should be checked. It should be done when we are selecting the peers for the retrying tasks, but we might need to do that as well for the simple tasks (e.g. GetStorageRangeFromPeerTask).

Closing comment (2024-04-24T01:58:55Z): closing as duplicate of #6349
Repository: hyperledger/besu

Issue #6471: engine_getClientVersionV1 - expose web3_clientVersion via EngineAPI
Created: 2024-01-26T14:05:15Z
Description
As an Consensus Client, I want access to my execution clients name and version over the Engine API so that I can include it in my proposed block grafitti.
https://github.com/ethereum/execution-apis/blob/main/src/engine/identification.md
Acceptance Criteria

Proposed blocks from any CL include the besu version by default.

Duplicate issue #6689: implement engine_getClientVersionV1
Created: 2024-03-07T03:57:08Z
https://github.com/ethereum/execution-apis/pull/517/files
ClientVersionV1
This structure contains information which identifies a client implementation. The fields are encoded as follows:

code: ClientCode, e.g. NB or BU
name: string, Human-readable name of the client, e.g. Lighthouse or go-ethereum
version: string, the version string of the current implementation e.g. v4.6.0 or 1.0.0-alpha.1 or 1.0.0+20130313144700
commit: DATA, 4 bytes - first four bytes of the latest commit hash of this build e.g. fa4ff922

Rationale: Human-readable fields like clientName and version are useful for log messages while fields like code and commit are useful for uniquely specifying clients within a limited space (e.g. in block graffiti).

Closing comment (2024-03-21T07:25:58Z): closing as duplicate of #6471
Repository: hyperledger/besu

Issue #2742: PeerDiscoveryTimestampsTest.lastContactedTimestampUpdatedOnOutboundMessage() is flakey
Created: 2021-09-08T21:09:08Z
Acceptance Criteria

Test passes consistently and repeatably.

Steps to Reproduce (Bug)

Example failure can be found here.

Expected behavior:
Test always pass.
Actual behavior:
Test sometimes fails when it runs "too fast" and the compared to timestamp is on the same millisecond.
Frequency:
Multiple times a week in the course of CI.

Duplicate issue #2696: lastContactedTimestampUpdatedOnOutboundMessage
Created: 2021-08-31T02:01:37Z
Flaky unit test:
https://app.circleci.com/pipelines/github/hyperledger/besu/10436/workflows/73e307bd-ce46-49da-bd95-31ced270b35f/jobs/55942
lastContactedTimestampUpdatedOnOutboundMessage - org.hyperledger.besu.ethereum.p2p.discovery.PeerDiscoveryTimestampsTest

Closing comment (2021-09-16T00:35:50Z): Duplicate of #2742
Repository: hyperledger/besu

Issue #3009: Bft RPCs to switch and be enabled for bft migration
Created: 2021-11-05T03:51:23Z
IBFT2 and QBFT have different RPCs and IBFT2 RPCs should work when IBFT2 is enabled and similarly QBFT RPCs are expected to work when QBFT is enabled in the bft migration.
Acceptance Criteria

When in IBFT2 mode

All IBFT2 RPCs should function as
Block specific QBFT RPCs targeting a QBFT block should function


When in QBFT mode

All QBFT RPCs should function as
Block specific IBFT2 RPCs targeting a IBFT2 block should function

Duplicate issue #3148: Migrating PluginServiceFactory - createAdditionalPluginServices
Created: 2021-12-09T22:08:30Z
IBFT and QBFT create different PluginServiceFactory instances via BesuControllerBuilder.createAdditionalPluginServices.
We need to switch between them when the migration happens

Closing comment (2021-12-20T01:29:20Z): Estimated as 3 since it's similar to #3009
Repository: hyperledger/besu

Issue #3660: [SPIKE] Investigate why other peers are disconnecting from us
Created: 2022-03-31T02:52:47Z
Assumptions
Is there a correlation between “type of client” and disconnects?
Can we correlate “type of client” to frequency/reason for disconnect
eg besu or geth
Assuming it can be parsed from the client "name" field eg:
"name": "besu/v20.10.4-dev-0905d1b2/osx-x86_64/adoptopenjdk-java-11",
"name": "bor/v0.2.14-stable-10c4e89f/linux-arm64/go1.17",
"name": "Geth/v1.10.13-stable-7a0c19f8/linux-amd64/go1.17.2",
"name": "erigon/v2022.02.4/linux-amd64/go1.17.2",

Duplicate issue #3847: [Spike] Investigate why other peers are disconnecting from us 
Created: 2022-05-17T04:12:23Z
May help to look at how Geth manages reputation.

Closing comment (2022-05-18T03:48:51Z): Duplicate of #3660
Repository: idris-lang/Idris-dev

Issue #4001: Rewrite doesn't work in proofs involving case statements
Created: 2017-08-17T13:44:00Z
Steps to Reproduce
Assume we have this program
%default total

data Foo = Bar | Baz

foo1 : Foo -> Foo
foo1 Bar = Baz
foo1 Baz = Bar

foo2 : Foo -> Bool
foo2 f = case foo1 f of 
  Bar => True
  Baz => False

fooProof : (f: Foo) -> (f=Bar) -> foo2 f = False
fooProof f prf = ?fooProof_rhs

Inspecting the type of the hole gives us
fooProof_rhs : case foo1 f of   Bar => True Baz => False = False

Now let's change the last line to
fooProof f prf = rewrite prf in ?fooProof_rhs

Expected Behavior
fooProof's type reduces to False = False.
Observed Behavior
When checking an application of function rewrite__impl:
        Type mismatch between
                f = Bar (Type of prf)
        and
                False = Bar (Expected type)
        
        Specifically:
                Type mismatch between
                        f
                and
                        False

I understand that in this case this can be solved by simply pattern matching on f or perhaps calling with ((foo1 f) proof ff and doing some replaces, but in more complex cases this becomes very verbose.

Duplicate issue #4394: How do I use decEqSelfIsYes lemma in proofs?
Created: 2018-03-23T17:00:47Z
Steps to Reproduce
total
equalNumber: (x,y : Nat) -> Nat
equalNumber x y = case decEq x y of
                    Yes Refl => 42 
                    No contra => 0

total
lemma : (x : Nat) -> equalNumber x x = 42
lemma x with (decEqSelfIsYes {x = x})
  lemma x | Refl = Refl

Expected Behavior
The snippet typechecks.
Observed Behavior
The snippet fails to typecheck with the following error message:
 When checking left hand side of with block in Main.lemma:
 Type mismatch between
         Yes Refl = Yes Refl (Type of Refl)
 and
         Decidable.Equality.Nat implementation of Decidable.Equality.DecEq, method decEq x x
         =
         Yes Refl (Expected type)
     
 Specifically:
        Type mismatch between
                 Yes Refl
         and
                 Decidable.Equality.Nat implementation of Decidable.Equality.DecEq, method decEq x x

Note
This issue is based on my attempt to answer to this Stackoverflow question.

Closing comment (2018-03-23T18:05:20Z): @clayrat Thanks. I'm closing this issue because it's a duplicate of #4001.
Repository: idris-lang/Idris-dev

Issue #3153: Incorrect constructor creates a sink case
Created: 2016-05-07T22:16:35Z
Consider this snippet.
data Vehicule = Bus | Car

wheels : Vehicule -> Nat
wheels ObviousTypo = 72
When loaded no error is thrown. It parses and typechecks fine.
In the REPL, doing wheels Bus gives 72. I think that the unknown constructor acts as a sink case.
This also happens if you declare the function total.
The throwing of a "No such variable" error (or similar) is the expected behavior.
My version is 0.11.1-2

Duplicate issue #3189: Type checker accepts invalid patterns (non-existent constructors)
Created: 2016-05-26T02:44:07Z
The type checker will accept a pattern even when it refers to a non-existent constructor for a data type, e.g.
data MyData = A | B

myFunction : MyData -> String
myFunction C = ""

is accepted by the type checker even though C is not a constructor for MyData

Closing comment (2016-05-26T07:29:25Z): This is because C is treated as a pattern variable, and so it is perfectly fine how it is now. Please see #3153 for discussion on this.
I will close this as a duplicate of #3153.
Repository: idris-lang/Idris-dev

Issue #1122: Crash on induction proof
Created: 2014-04-28T22:34:36Z
The prover crashes when doing certain kinds of induction. Here's a simple example:
module InductionFail

plusZeroRT : (n : Nat) -> plus n 0 = n
plusZeroRT n = ?plusZeroRT_rhs

and the console session:
$ idris InductionFail.idr 
     ____    __     _                                          
    /  _/___/ /____(_)____                                     
    / // __  / ___/ / ___/     Version 0.9.12-git:51394aa
  _/ // /_/ / /  / (__  )      http://www.idris-lang.org/      
 /___/\__,_/_/  /_/____/       Type :? for help                

idris: bind: resource busy (Address already in use)
Metavariables: InductionFail.plusZeroRT_rhs
*InductionFail> :p plusZeroRT_rhs 


----------                 Goal:                  ----------
{hole0} : (n : Nat) -> plus n 0 = n
-InductionFail.plusZeroRT_rhs> intros
----------              Other goals:              ----------
{hole0}
----------              Assumptions:              ----------
 n : Nat
----------                 Goal:                  ----------
{hole1} : plus n 0 = n
-InductionFail.plusZeroRT_rhs> induction n
Prelude.(!!): index too large

Duplicate issue #1182: Prelude.(!!): index too large in interactive proof mode
Created: 2014-05-03T16:01:58Z
I'm using idris v0.9.12
In interactive proof mode, when trying to prove m + 0 = m by induction on m:
----------                 Goal:                  ----------
{hole0} : (m : Nat) -> plus m 0 = m
-Foo.pluszr> intros
----------              Other goals:              ----------
{hole0}
----------              Assumptions:              ----------
m : Nat
----------                 Goal:                  ----------
{hole1} : plus m 0 = m
-Foo.pluszr> induction m
Prelude.(!!): index too large
Metavariables: Foo.plusc, Foo.pluszr
*Foo>

Closing comment (2014-05-04T10:15:15Z): Thank you for reporting the bug!
I believe this is related to/the same as #1122.
Repository: idris-lang/Idris-dev

Issue #4282: Proof of Void with equalities in Type
Created: 2018-01-06T01:54:52Z
Steps to Reproduce
total
bad1 : (f : Type -> Type) -> (x, y : Type) -> f x = f y -> Void
bad1 _ _ _ Refl impossible

total
ohoh : Void
ohoh = bad1 id Unit Unit Refl

-- of course, these shouldn't be provable as well:
total
bad2 : (f, g : Type -> Type) -> (x : Type) -> f x = g x -> Void
bad2 _ _ _ Refl impossible

total
bad3 : (f, g : Type -> Type) -> (x, y : Type) -> f x = g y -> Void
bad3 _ _ _ _ Refl impossible

Expected Behavior
bad1, bad2, bad3 are not provable
Observed Behavior
bad1, bad2, bad3 are provable
Notes
Tested with Idris 1.1.1-git:05634d71 (macOS 10.13.2 (17C88), High Sierra)

Duplicate issue #4299: Totality checking says obviously not total function is total
Created: 2018-01-20T01:55:37Z
Steps to Reproduce
Write this in a file:
module Main
import Data.Vect
%default total

p : Elem (Maybe x) (map Maybe xs) -> Elem x xs
p Here impossible
p (There l) impossible
Load it in the Idris REPL
Expected Behavior
It says that p is not total.
Observed Behavior
Idris accepts it as total. Even :total thinks that p is total.

Closing comment (2018-01-24T20:04:32Z): Related to #4282 (in fact, it's the same problem).
Repository: idris-lang/Idris-dev

Issue #2266: Records don't seem to play well with implicits
Created: 2015-05-14T01:21:05Z
Rel : Type -> Type
Rel a = a -> a -> Type

record Transitive a (rel : Rel a) where
  trns : {x,y,z:a} -> rel x y -> rel y z -> rel x z
yields
When elaborating right hand side of Set.Transitive.trns:
Can't unify
        (x1 : a) ->
        (y2 : a) ->
        (z3 : a) -> rel x1 y2 -> rel y2 z3 -> rel x1 z3 (Type of trns)
with
        rel x y -> rel y z -> rel x z (Expected type)

I also cannot remove a as a record argument:
record Transitive (rel : Rel a) where
  trns : rel x y -> rel y z -> rel x z
gets me
When elaborating right hand side of Set.Transitive.free_x:
Can't unify
        a (Type of x)
with
        iType (Expected type)

Duplicate issue #2295: Implicits don't always work in record heads
Created: 2015-05-18T16:21:28Z
If I have
record Cat obj (mor : (a,b : obj) -> Type) where
    constructor MkCat
    ident : (x : obj) -> mor x x
    comp' : (x,y,z:obj) -> mor y z -> mor x y -> mor x z
and then I try to write
record PCategory (c : Cat obj mor) where
  foo : Nat
I get
When elaborating right hand side of Cat.PCategory.free_mor:
Can't unify
        obj -> obj -> Type (Type of mor)
with
        v0 -> v1 -> Type (Expected type)

Specifically:
        Can't unify
                obj
        with
                v0

I tried
using (obj : Type, mor : obj -> obj -> Type)
but that had no effect. Using the using clause with
record PCategory : obj mor (Cat obj mor)
led to a different error, which suggested that it was ignoring the using in that context. I don't particularly want to have to write
record PCategory : obj (mor : obj -> obj -> Type) (Cat obj mor)

Closing comment (2016-05-01T08:59:13Z): I think this is a duplicate of #2266 .
Repository: idris-lang/Idris-dev

Issue #342: Prelude.(!!): index too large
Created: 2013-06-22T20:25:02Z
data Acc : (i -> i -> Type) -> i -> Type where
  accIntro : {r : i -> i -> Type} -> ((y : i) -> r y x -> Acc r y) -> Acc r x

lemma1 : (y : Nat) -> Nat.LT y O -> a
lemma1 _ lteZero impossible

wfNat : (x : Nat) -> Acc Nat.LT x
wfNat O = accIntro lemma1

Duplicate issue #600: ``Prelude.(!!): index too large'' error while type checking
Created: 2013-11-08T02:06:49Z
The following file, when loaded into the Idris repl, causes the error "Prelude.(!!): index too large"
import Data.Vect

total
finZEmpty : Fin Z -> a

fins : (n : Nat) -> (xs : Vect n (Fin n) ** ((x : Fin n) -> Elem x xs))
fins Z     = ([] ** finZEmpty)

Closing comment (2013-11-18T16:56:20Z): Following a discussion with @edwinb this seems to be a duplicate of #342 . Unfortunately I don't know the solution!
Repository: idris-lang/Idris-dev

Issue #982: Compiler behaving oddly with where clause
Created: 2014-03-19T03:54:46Z
I hope this isn't something I misunderstood. But it seems to me fairly likely this is some kind of bug with the compiler.
This compiles:
generateDraw : Vect n String -> Match
generateDraw _ = CompositeMatch (subMatch1) (subMatch2)
    where
        subMatch1 = generateDraw ["Gen"]
        subMatch2 = generateDraw ["JR"]

However, this does not:
generateDraw : Vect n String -> Match
generateDraw _ = CompositeMatch (generateDraw firstHalf) (generateDraw secondHalf)
    where
        firstHalf = ["Gen"]
        secondHalf = ["JR"]

with a No such variable n error message

Duplicate issue #1279: Type checker errors out on recursively-defined inner functions
Created: 2014-06-03T01:53:16Z
Hello, for the following data type:
data Bag x = Air | Stuffed (x, Nat) (Bag x) (Bag x)
I have the following function defined:
maxOccurring : Bag x -> Maybe (x, Nat)
maxOccurring Air = Nothing
maxOccurring (Stuffed (x, y) left right) =
Just (chooseBetween (moxie (x, y) left) (moxie (x, y) right)) where
chooseBetween (a, b) (c, d) = case b > d of
True  => (a, b)
False => (c, d)
moxie (x, y) Air = (x, y)
moxie (x, y) (Stuffed (a, b) left right) =
case y > b of
True  => chooseBetween (moxie (x, y) left) (moxie (x, y) right)
False => chooseBetween (moxie (a, b) left) (moxie (a, b) right)
When I ask idris to load this module it returns an INTERNAL ERROR the size of the Empire State Building saying "Not a guess ? {inf_argTy610} : Type 0. ?? {hole5}" ... etc.
So, I broke the internal functions out and well-typed them by hand in a new version of my Bag module (obvious declarations with pasted definitions) and the new maxOccurring was same-wise declared and redefined as:
maxOccurring Air = Nothing
maxOccurring (Stuffed (x, y) left right) =
Just (chooseBetween (moxie (x, y) left) (moxie (x, y) right))
And this module compiled just fine and returned the expected value, e.g.:
countOccurences : String -> Bag x
maxOccurring (countOccurences "The quick, brown fox jumped over the lazy dog.")
returned
Just (' ', 8)
So, recursively-defined functions are fine, but it appears these recursively-defined functions cannot be inner functions of a function?
Reported, FYI.

Closing comment (2014-12-05T19:51:33Z): This is a duplicate of #982, so I'm closing this (there's some relevant discussion on that issue).