humhub-contrib / termsbox

0 stars 2 forks source link

Termsbox Discussion #1

Closed ArchBlood closed 2 years ago

ArchBlood commented 3 years ago

In light of the Legal Tools module I don't really see much need of the Termsbox module anymore could it be safe to say that this module could be archived?

In the case of this module not getting archived here's some ideas

In the case of this module being archived

Just food for thought, as this module does things that the Legal Tools module should be doing but doesn't

luke- commented 3 years ago

II would prefer to mark the module as "Legacy" and archive this repo after a while.

ArchBlood commented 3 years ago

II would prefer to mark the module as "Legacy" and archive this repo after a while.

If you wouldn't mind, I'd like to try my hand at merging some of the functions both of these modules have that the other doesn't, of course if it works how I'm wanting to, I'll send a p/r to the Legal Tools module for review

luke- commented 3 years ago

What exactly would you like to migrate from the Termsbox to the LegalTools module?

ArchBlood commented 3 years ago

Personally I'd like to migrate the actionAccept & actionDecline while also looking into the reports of Legal Update not updating after multiple uses (See https://github.com/humhub-contrib/legal/issues/12)

https://github.com/humhub-contrib/termsbox/blob/f6f7d0e6c4372fbb2b91e6e80e39f0dfa3290e4b/controllers/IndexController.php#L21-L37

luke- commented 3 years ago

The accept is implemented, just a bit different: https://github.com/humhub-contrib/legal/blob/master/models/RegistrationChecks.php#L167

2 seems to be a bug, I'll check it out.