Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup references to Flash #163

Merged
merged 6 commits into from
Sep 29, 2020

Conversation

Hipska
Copy link
Contributor

@Hipska Hipska commented Sep 4, 2020

While Flash support is deprecated, the codebase still has a lot of references to Flash.

This PR removes all the swf files and an unused swf library that get's loaded on every page. It deletes a php page with abandoned code. Since it never got referenced, it is better/safer to completely remove it. It also renames the action to load the relation graph as it still got a swf reference.

pages/UI.php Outdated Show resolved Hide resolved
@piRGoif
Copy link
Contributor

piRGoif commented Sep 7, 2020

Many thanks, we should have done this long ago !

@piRGoif piRGoif added the question Further information is requested label Sep 7, 2020
piRGoif
piRGoif previously approved these changes Sep 7, 2020
Copy link
Contributor

@piRGoif piRGoif left a comment

Choose a reason for hiding this comment

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

Ok for me, but we will need to do a team review... will keep you posted !

@piRGoif piRGoif removed the question Further information is requested label Sep 7, 2020
@piRGoif piRGoif added this to the 2.8.0 milestone Sep 7, 2020
@piRGoif piRGoif self-assigned this Sep 7, 2020
@piRGoif
Copy link
Contributor

piRGoif commented Sep 11, 2020

Will be reviewed by Romain & Denis

@rquetiez rquetiez requested review from rquetiez and removed request for dflaven September 17, 2020 14:43
Copy link
Contributor

@rquetiez rquetiez left a comment

Choose a reason for hiding this comment

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

I would rather have 'navigate_relations' because 'navigate' is too common and grep is the solely option to connect the dots.

@Hipska
Copy link
Contributor Author

Hipska commented Sep 17, 2020

Or just 'relations', like you have 'details' and 'stimulus' for example?

Copy link
Contributor

@rquetiez rquetiez left a comment

Choose a reason for hiding this comment

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

Yes, 'relations' is more meaningful than 'navigate', but I would prefer a more discriminant id like 'view-relations' because this will be helpfull on the long run when searching where this operation is used (and therefore perform a change or cleanup.

@Hipska
Copy link
Contributor Author

Hipska commented Sep 25, 2020

Done

piRGoif
piRGoif previously approved these changes Sep 29, 2020
application/displayblock.class.inc.php Outdated Show resolved Hide resolved
application/displayblock.class.inc.php Outdated Show resolved Hide resolved
pages/UI.php Outdated Show resolved Hide resolved
pages/UI.php Outdated Show resolved Hide resolved
js/swfobject.js Show resolved Hide resolved
@Molkobain
Copy link
Contributor

Just made a few comment, once the one on the complementary modules is discussed and the small changes on the operation name fixed, it will be all good for me.

Thanks for the cleanup @Hipska 👍

Co-authored-by: Molkobain <[email protected]>
@Molkobain Molkobain removed the request for review from rquetiez September 29, 2020 13:27
@Molkobain Molkobain assigned Molkobain and unassigned rquetiez Sep 29, 2020
@Molkobain
Copy link
Contributor

All good, thanks @Hipska ! ✌

@Molkobain
Copy link
Contributor

We got a "This branch cannot be rebased safely: Rebasing the commits of this branch on top of the base branch cannot be performed automatically as this would create a different result than a regular merge."

Can you try rebasing your branch on develop? Or is it because your branch have diverged from develop?

@Hipska
Copy link
Contributor Author

Hipska commented Sep 29, 2020

That's why I don't like rebase's.. I checked and don't see any merge conflicts. Is a regular merge not possible instead?

@piRGoif piRGoif merged commit 5ef6b6c into Combodo:develop Sep 29, 2020
@piRGoif
Copy link
Contributor

piRGoif commented Sep 29, 2020

Hi @Hipska, Guillaume had an error message but I didn't. I've just done the merge !
Usually we are doing squash & merge, unless we absolutely want to keep the PR branch history - I've done squash here.

@Molkobain
Copy link
Contributor

Thanks @piRGoif !

@Hipska Hipska deleted the feature/remove-unused-flash branch September 29, 2020 13:58
@Hipska
Copy link
Contributor Author

Hipska commented Oct 6, 2020

Hi, could you please also add the hacktoberfest tag to this repo? Hacktoberfest/hacktoberfest-2020#596

@piRGoif
Copy link
Contributor

piRGoif commented Oct 6, 2020

This was done here too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants