Skip to content

Remove ie8+9 support - #25129

Merged
PVince81 merged 1 commit into
masterfrom
remove-ie
Jun 27, 2016
Merged

PVince81 merged 1 commit into
masterfrom
remove-ie

Conversation

@Henni

@Henni Henni commented Jun 16, 2016

Copy link
Copy Markdown
Contributor

I looked at all occurences of "ie8" and "ie9" and tried to remove them. There are still some occurences left. But most of the small hacks are removed.

Left to do (probably in a different PR):

  • message.html - I'm not completely sure if this only applies to IE8
  • placeholder polyfill
  • window.history polyfill
  • SVG polyfill (+ all PNG files)

@DeepDiver1975

Copy link
Copy Markdown
Contributor

@PVince81 @dragotin 9.1 topic from my pov

Comment thread core/js/js.js
* Returns whether this is IE8
*
* @return {bool} true if this is IE8, false otherwise
*/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest keeping but deprecating, in case apps decided to use this function.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PVince81 deprecation via console.warn('function isIE8() is deprecated')?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, also add a @deprecated JSDoc tag.

@PVince81

Copy link
Copy Markdown
Contributor

Code looks good so far.

Note that ViewController also has some IE8 specific code but we might need to keep it in case people still have old IE8-style URLs (with everything in the hash portion)

@PVince81 PVince81 added this to the 9.1-current milestone Jun 16, 2016
@PVince81

Copy link
Copy Markdown
Contributor

Needs a bit of regression testing, but from looking at the code it seems the impact should be negligible

@PVince81

Copy link
Copy Markdown
Contributor

I don't have time to do regression testing for other IEs.

I know that most safe CSS had an explicit class, so removing these should be safe.
Not sure about the other ones, would be good to test in IE11 still.

Or reduce this PR to only remove the ie8/ie9 classes for now.

@PVince81

Copy link
Copy Markdown
Contributor

I'm moving this to 9.2 for now.

If you have time and do a PR to 9.1 with only the CSS ".ie8" and ".ie9" removed, it will be acceptable for 9.1 before the RC / code freeze.
Thanks.

@PVince81 PVince81 modified the milestones: 9.2-next, 9.1-current Jun 20, 2016
@Henni

Henni commented Jun 20, 2016

Copy link
Copy Markdown
Contributor Author

@PVince81 this PR only removed ie8 and ie9 classes. There isn't anything that changes for ie11 and other browsers or did I miss something?

Comment thread core/css/apps.css
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
width: 201px; /* fallback for IE8 */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Henni how safe is this change ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

supported since IE 9 (caniuse, MDN)

@PVince81

Copy link
Copy Markdown
Contributor

Okay, I did a quick test in IE11, personal page, apps page and others, seems to work fine 👍

@Henni
Henni force-pushed the remove-ie branch 2 times, most recently from 9a4fc9c to e66b38e Compare June 23, 2016 10:01
@Henni

Henni commented Jun 23, 2016

Copy link
Copy Markdown
Contributor Author

Reintroduced isIE8 function and deprecated it.
Squashed and rebased.

@PVince81

Copy link
Copy Markdown
Contributor

@Henni thanks 👍

@PVince81

Copy link
Copy Markdown
Contributor

@owncloud/designers second review please

@PVince81 PVince81 modified the milestones: 9.1-current, 9.2-next Jun 23, 2016
@Henni Henni mentioned this pull request Jun 23, 2016
3 tasks done
@Henni

Henni commented Jun 23, 2016 •

Copy link
Copy Markdown
Contributor Author

Just found a bug in my own code:
The file upload uses OC.Util.scaleFixForIE8 which I removed instead of deprecating. I'll fix this in a second.

edit: fixed

@PVince81

Copy link
Copy Markdown
Contributor

👍

Second review ? @ChristophWurst

@MorrisJobke

Copy link
Copy Markdown
Contributor

Tested and changes look good 👍

@PVince81
PVince81 merged commit 4811666 into master Jun 27, 2016
@PVince81
PVince81 deleted the remove-ie branch June 27, 2016 08:20
@lock

lock Bot commented Aug 5, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants