Skip to content

Conversation

@ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Feb 7, 2020

A few apps might break because nobody cares to adapt. So let's remove this sooner than later :)

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

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

We should at least fix our internal usages in server before removing them. This breaks the files app out of the box 😉

Uncaught (in promise) ReferenceError: humanFileSize is not defined
    at FileList._createRow (filelist.js:1609)
    at FileList.fileList._createRow (tagsplugin.js:236)
    at FileList.e._createRow (comments.js:1)
    at FileList.e._createRow (additionalScripts.js:1)
    at FileList._renderRow (filelist.js:1793)
    at FileList._nextPage (filelist.js:1281)
    at FileList.setFiles (filelist.js:1359)
    at FileList.reloadCallback (filelist.js:2098)
    at Object.<anonymous> (main.js:25)
    at c (main.js:25)

@ChristophWurst

This comment has been minimized.

@ChristophWurst

This comment has been minimized.

@ChristophWurst ChristophWurst force-pushed the techdebt/remove-deprecated-globals branch from 65573f4 to a685c3c Compare February 10, 2020 07:57
@ChristophWurst
Copy link
Member Author

This removes ~100KB from each bundle, btw

@ChristophWurst ChristophWurst added the pending documentation This pull request needs an associated documentation update label Feb 10, 2020
@ChristophWurst ChristophWurst force-pushed the techdebt/remove-deprecated-globals branch from a685c3c to 07a1b5f Compare February 13, 2020 09:00
@gary-kim
Copy link
Member

gary-kim commented Feb 16, 2020

Needs a rebase.
image
Continuous integration? 😆

@ChristophWurst ChristophWurst force-pushed the techdebt/remove-deprecated-globals branch from 07a1b5f to 55cb6b0 Compare February 17, 2020 08:28
@gary-kim
Copy link
Member

There seems to be a JSUnit failure, is that unrelated?

PhantomJS 2.1.1 (Linux 0.0.0): Executed 847 of 851 (42 FAILED) (skipped 4) (27.61 secs / 26.648 secs) 

@ChristophWurst
Copy link
Member Author

Whoopsie. A few tests are indeed failing.

@ChristophWurst ChristophWurst added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Feb 17, 2020
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst force-pushed the techdebt/remove-deprecated-globals branch from 55cb6b0 to bb1d8b3 Compare March 9, 2020 12:32
@ChristophWurst
Copy link
Member Author

escapeHTML is still used in a few places 😢

But the rest should be fine.

@ChristophWurst ChristophWurst removed the 2. developing Work in progress label Mar 9, 2020
@ChristophWurst ChristophWurst added the 3. to review Waiting for reviews label Mar 9, 2020
Copy link
Member

@gary-kim gary-kim left a comment

Choose a reason for hiding this comment

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

Looks good to me

@ChristophWurst ChristophWurst merged commit 0b6dbe6 into master Mar 9, 2020
@ChristophWurst ChristophWurst deleted the techdebt/remove-deprecated-globals branch March 9, 2020 14:36
ChristophWurst added a commit to nextcloud/documentation that referenced this pull request Apr 10, 2020
Ref nextcloud/server#19357

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst removed the pending documentation This pull request needs an associated documentation update label Apr 10, 2020
MorrisJobke added a commit to nextcloud/files_videoplayer that referenced this pull request Sep 15, 2020
nextcloud/server#19357

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants