Lutsk
Account created on 12 March 2013, almost 12 years ago
#

Merge Requests

More

Recent comments

🇺🇦Ukraine artem_sylchuk Lutsk

Refactored the module's code to avoid errors.
Also removed unrelevant log message.
See the MR #1

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

I'm not sure if that's relevant, but MultichoiceQuestion::save() calls

    parent::save();
    $this->forgive();
    $this->warn();

the parent::save method stores the max-score of the question as is (0) and then the "forgive" that sets the max-score per alternative based on the "correct" checkbox. that change was added in https://git.drupalcode.org/project/quiz/-/commit/2c48eea (the D7 comment was saying that we need to "forgive" before saving, it was changed to "after": #3198222: Quiz results score ignores simple question option )

🇺🇦Ukraine artem_sylchuk Lutsk

Thanks for catching that, fix is merged.
However the code there is confusing, the thread entity seems to be stored in the formState several times with different names, I think I'll create another issue for cleaning that up.

🇺🇦Ukraine artem_sylchuk Lutsk

That should be enough for now I think, thanks!

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

Private message had a config to hide the format selection that was confusing people.
That setting is removed now as preferable way to handle this is to use Drupal core configuration: https://www.drupal.org/node/3318572
For core versions prior 10.1 the https://www.drupal.org/project/allowed_formats had to be used.

Using WYSIWYG editors and allowing different media for drupal default textare is a topic of a basic Drupal configuration and isn't specific for Private Message as module uses the generic field type for it.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

Let's get this finally merged

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

Drupal 9 is no longer supported so I think we can safely move drush services deifinition to the general services.yml file.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

Good catch, thanks for your massive work!

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

I hope that additional mesage on the module install will help to not miss the needed steps of the module configuration. The readme already contains mention of the needed steps.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

Awesome work, thank you guys!

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk changed the visibility of the branch 8.x-2.x to hidden.

🇺🇦Ukraine artem_sylchuk Lutsk

Its mergable with latest dev (at least gitlab says so), however it brings massive UX change and upgrade path is questionable so it is doubtable that I'll merge it the way it is now. However I think eventually having 2 separate private message types is the proper way to go.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk made their first commit to this issue’s fork.

🇺🇦Ukraine artem_sylchuk Lutsk

artem_sylchuk changed the visibility of the branch 2942602-unable-to-create to hidden.

🇺🇦Ukraine artem_sylchuk Lutsk

Going to review this, however I see that at least at one place the context passed to once() is wrong

🇺🇦Ukraine artem_sylchuk Lutsk

I suppose there is no more to fix here. Except some documentation maybe

🇺🇦Ukraine artem_sylchuk Lutsk

Can't reproduce on the recent version of the module.

🇺🇦Ukraine artem_sylchuk Lutsk

Code referenced here is no longer present in the supported branch.

🇺🇦Ukraine artem_sylchuk Lutsk

That is doable with using some of the drupal apis (defining a route in a custom module + some preprocess functions), however I don't think it is still relevant after 5 years.

🇺🇦Ukraine artem_sylchuk Lutsk

No chance for this to happen anytime soon.

🇺🇦Ukraine artem_sylchuk Lutsk

Don't think it is still relevant after the 5+ years.

🇺🇦Ukraine artem_sylchuk Lutsk

1.x isn't going to receive any updates.

🇺🇦Ukraine artem_sylchuk Lutsk

Unfortunately 1.x is no longer supported and I'm not sure if anything of that can be easily used in 3.x. CLosing as outdated

Production build 0.71.5 2024