Project

General

Profile

Actions

tickets #133532

closed

Update to Redmine 5

Added by crameleon 10 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Redmine
Target version:
-
Start date:
2023-07-29
Due date:
% Done:

100%

Estimated time:

Description

This tracks my work on getting progress.opensuse.org updated.


Files


Checklist

  • Clean up progressoo.i.o.o
  • Update packages in openSUSE:infrastructure:redmine
  • Patch broken plugins
  • Inquire about licensed plugins
  • Communicate dropped plugins
  • Reinstate progress-test.opensuse.org
  • Install new VM for progress.o.o
  • Migrate
  • Investigate unfixable plugins
  • Drop old VM
  • CSS: patch pencil icon
  • CSS: patch hover "flicker"
  • Mail: package patch
  • Accounts: merging script
  • CSS: patch user list roles checkboxes

Related issues 3 (0 open3 closed)

Related to openQA Infrastructure - action #154549: Certain queries on poo are not accessibleResolvedlivdywan

Actions
Related to QA - action #152470: openqa-service fetch_openqa_bugs "requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='bugzilla.suse.com', port=443)"Resolvednicksinger2023-12-12

Actions
Related to openSUSE admin - tickets #157459: Descriptions of tickets with special unicode characters included yield "Internal server error 500"Resolvedcrameleon2024-03-18

Actions
Actions #1

Updated by crameleon 10 months ago

  • Private changed from Yes to No
Actions #2

Updated by crameleon 10 months ago

  • Checklist item Clean up progressoo.i.o.o set to Done
  • VM updated to Leap 15.5
  • Removed manually installed Redmine
  • Installed Ruby and Redmine stack from packages
Actions #3

Updated by crameleon 10 months ago

  • Checklist item Update packages in openSUSE:infrastructure:redmine set to Done
  • % Done changed from 0 to 20
  • Disabled all targets except for 15.5
  • Repaired all broken and unsolvable builds
  • Linked missing dependencies from devel:languages:ruby if available, otherwise from home:darix:apps
  • Patched plugins requiring relative library imports (Redmine plugins are not installed like traditional Ruby Gems)

Left to do is cleaning up the project and removing packages which are no longer needed - many of the versioned Gems are likely no longer needed.

Actions #4

Updated by crameleon 10 months ago

  • Checklist item Patch broken plugins set to Done
  • % Done changed from 20 to 30

Patched various "DIY" plugins to make them load on Redmine 5.x:

https://github.com/openSUSE-Team/redmine-diary/pull/2
https://github.com/openSUSE-Team/redmine-reopen-issues-by-mail/pull/3
https://github.com/darix/redmine_login_mention_account_type/pull/1
https://github.com/darix/redmine_force_issues_private/pull/1

Until the "upstream" patches are through I applied them in the packages.

Edit: replaced links to reference the pull requests.

Actions #5

Updated by crameleon 10 months ago

  • Checklist item Investigate unfixable plugins added
  • % Done changed from 30 to 40

Two plugins were not recoverable with my limited set of Ruby skills:

https://github.com/jcppkkk/redmine_mail_reminder - there is a stale pull request for Redmine 4.x which I tried to base Redmine 5.x patches on with no success - if anyone wants to step up repairing this plugin, it would be a great contribution to the community - the only alternative I can find is https://www.redmine.org/plugins/issue_reminder, but it seems shady. If there is no input I will drop it as part of the upgrade (potentially disabling it on the running instance prior to discover possible complaints).

https://github.com/openSUSE/redmine-ichain - only briefly debugged and then replaced with https://github.com/devopskube/redmine_openid_connect - after a patch to resolve our situation of not using IDP provided admin groups (https://github.com/devopskube/redmine_openid_connect/pull/85) the OIDC authentication works fine on progress-test.opensuse.org with id.opensuse.org.

Actions #6

Updated by crameleon 10 months ago

  • Checklist item Inquire about licensed plugins set to Done
  • % Done changed from 40 to 50
Actions #7

Updated by crameleon 10 months ago

  • Checklist item Reinstate progress-test.opensuse.org set to Done
  • % Done changed from 50 to 60

A working version with a copy of the production database from last week is now running on https://progress-test.opensuse.org with all but the four pending plugins. It can be used to evaluate the functionality but data will be overwritten again.

Actions #8

Updated by crameleon 10 months ago

  • Checklist item Drop old VM added

Adding a task to decommission the old (Leap 15.2) machine, as the migration will happen to a fresh one.

Actions #9

Updated by crameleon 9 months ago

Found another plugin (thanks for spotting, @okurz), "due-date-reminder" - the package was a mixture between redmine-diary and redmine-due-date-reminder which I untangled, though I cannot get the result to work on Redmine 5. I tried switching from the abandoned https://github.com/f0y/due_date_reminder to the slightly less abandoned https://github.com/ilya-il/due_date_reminder with no luck. Hence I will add this to the list of "unfixable" plugins and would appreciate someone to assist with patching.

Actions #10

Updated by pjessen 9 months ago

crameleon wrote:

Hence I will add due-date-reminder to the list of "unfixable" plugins and would appreciate someone to assist with patching.

I can't help with that, but that is a really useful plugin.

Actions #11

Updated by mgriessmeier 9 months ago

Lars is in the process of transferring the RedmineUP account to me, so I can take care of it in the future. Once this is done I will renew the two mentioned plugins.

Actions #12

Updated by crameleon 9 months ago

Great news, thanks @mgriessmeier - you can drop the new plugins somewhere on progressoo.infra.opensuse.org once you have them.

Actions #13

Updated by crameleon 9 months ago

  • % Done changed from 60 to 70

Thank you @mgriessmeier for providing the updated Agile, Checklists and Tags plugins. They are now installed on progress-test.o.o as well.

Actions #14

Updated by crameleon 9 months ago

That concludes the test setup, which seems to operate as intended.

@okurz Can you test again to check if anything is missing from your end?

Actions #15

Updated by okurz 9 months ago

crameleon wrote:

That concludes the test setup, which seems to operate as intended.

@okurz Can you test again to check if anything is missing from your end?

Actions #16

Updated by crameleon 9 months ago

Hi,

thanks for the quick response.

The unicode issue is persisting as discussed though not "missing"

Is this issue specific to the new version of Redmine? From my understanding, it exists on the current installation as well.

Due Date Reminder plugin
Redmine Mail Reminder plugin

Please note my comments about these plugins above, #5 and #9 respectively.
I was just preparing an email to heroes@ to announce them being dropped if there isn't anyone who can help with repairing them.

Actions #17

Updated by okurz 9 months ago

crameleon wrote:

Hi,

thanks for the quick response.

The unicode issue is persisting as discussed though not "missing"

Is this issue specific to the new version of Redmine? From my understanding, it exists on the current installation as well.

Yes, that's what I meant. The issue is not new. Should not prevent you to upgrade

Due Date Reminder plugin
Redmine Mail Reminder plugin

Please note my comments about these plugins above, #5 and #9 respectively.
I was just preparing an email to heroes@ to announce them being dropped if there isn't anyone who can help with repairing them.

Ok

Actions #18

Updated by crameleon 9 months ago

  • Checklist item Communicate dropped plugins set to Done
  • Checklist item Install new VM for progress.o.o set to Done
  • Checklist item Migrate set to Done
  • % Done changed from 70 to 90

New instance deployed using Salt, proxy configuration changed, data migrated.

During installation of the new instance and logging in with some test accounts I found a few regressions with the "new" OpenID Connect plugin. I amended https://github.com/devopskube/redmine_openid_connect/pull/85 to handle missing admin groups and added another downstream patch to handle accounts with missing first name fields: https://build.opensuse.org/package/view_file/openSUSE:infrastructure:redmine/redmine-openid_connect/suse-idp-missing-firstname.patch?expand=1.

Now logins seem to work with all three variations: admin user, non admin user, non admin user with missing first name. I presume admin users with missing first names would work as well. Let's see if that suffices. :-)

Actions #19

Updated by crameleon 9 months ago

Another minor issue is some people having "ghost" accounts with different email addresses in Redmine. The OIDC plugin assesses whether an account exists using the email address as opposed to the username:

user = User.find_by_mail(user_info["email"])

This can go unnoticed until people try to access private projects/tickets or other functionality associated with their "original" account.

The administrative solution to solve the issue for affected users is to disable the ghost account and to invalidate the email address in it, and then to set the correct (IDP) email address in the users "real" account.

I did not investigate deeply, but I presume the old iChain plugin did not take care of updating email addresses (and possible other account fields) when they changed in IDP, leaving behind outdated account data from when the user signed in for the first time (unless people manually updated the local information in their Redmine profile).

If there's more people affected by this it might make sense to patch the plugin to fall back to validating the username, but if the number of requests stay small enough to handle it's a fair opportunity to clean up some bogus accounts in the local account database.

Actions #20

Updated by crameleon 9 months ago

Another thing I found was https://progress.opensuse.org/diary_entries not working, the exception suggested another incompatibility with Rails 5. I added a downstream patch with this hack https://stackoverflow.com/a/54707345 via https://build.opensuse.org/package/view_file/openSUSE:infrastructure:redmine/redmine-diary/params-rails5-hack.patch?expand=1 which is definitely not intended to be a solution, but let's see how long it lasts - if it doesn't, we might drop the diary plugin as well.

Actions #21

Updated by crameleon 9 months ago

@ph03nix reported that it's no longer possible to edit ones own notes (comments) and that the hyperlink pointing directly to notes (i.e. the small numbers to the right of the note which would link to the issue with the change reference) is missing.

Actions #22

Updated by rainerkoenig 9 months ago

Looking at the findigs of @ph03nix I believe that the problem is in the CSS style sheet.

I checked the HTML in Chrome and it looks like the things we're missing are there, but they aren't displayed:

<div id="note-6" class="note">
    <div class="contextual">
      <span class="journal-actions"><a title="Quote" class="icon-only icon-comment" data-remote="true" rel="nofollow" data-method="post" href="/issues/133805/quoted?journal_id=663263&amp;journal_indice=6">Quote</a> <a title="Edit" class="icon-only icon-edit" data-remote="true" data-method="get" href="/journals/663263/edit">Edit</a><span class="drdn"><span class="drdn-trigger"><span class="icon-only icon-actions" title="Actions">Actions</span></span><div class="drdn-content"><div class="drdn-items"><a href="#" onclick="copyTextToClipboard(this);; return false;" class="icon icon-copy-link" data-clipboard-text="https://progress.opensuse.org/issues/133805#note-6">Copy link</a> <a data-confirm="Are you sure?" class="icon icon-del" data-remote="true" rel="nofollow" data-method="put" href="/journals/663263?journal%5Bnotes%5D=">Delete</a></div></div></span></span>
      <a href="#note-6" class="journal-link">#6</a>
    </div>

So <a href="#note-6" class="journal-link">#6</a> should display #6 as a hyperlink, but there is nothing. Fun fact: If I hover over this line in the DOM inspector inside Chrome then I see that area in the comment header highlighted where the #6 should show up, but still it does not show up.

Actions #23

Updated by crameleon 9 months ago

Hi @rainerkoenig, thanks for investigating. Maybe it is a problem with the openSUSE theme which has not seen any updates? I will need to try it with the stock theme.

Actions #25

Updated by ph03nix 9 months ago

The CSS seems to have also some other issues, e.g. the toolbar in the text field is cropped:

Actions #26

Updated by cboltz 9 months ago

Please add the following section to the CSS (or integrate it to the existing styles) to fix these issues:

/* un-hide toolbar on comments */
.journal .contextual {
  float: none;
  position: absolute;
  top: 5px;
  right: 0;
  z-index: 1000;
}

/* remove border around dropdown icon (โ–ผ) */
span.drdn-trigger {
  background: none;
  box-shadow: none;
  border: none;
  margin-left: 5px;
}

/* fix editor toolbar */
div.tabs:not(#main-menu) {
  height: 43px;
}
Actions #27

Updated by crameleon 9 months ago

What a great feeling to copy paste random CSS code from someone on the internet and have it magically solve things.

Inside the source archive I found the original repository to be https://github.com/tuanpembual/redmine-opensuse-theme. If you want, you can submit a PR there, though I'm not sure if @tuanpembual still wants to maintain it. For now, I applied a downstream patch to the package: https://build.opensuse.org/package/view_file/openSUSE:infrastructure:redmine/redmine-theme-opensuse/redmine5-magic.patch?expand=1.

Thank you for the contribution!

Actions #28

Updated by cboltz 9 months ago

What a great feeling to copy paste random CSS code from someone on the internet and have it magically solve things.

;-)

PR sent: https://github.com/tuanpembual/redmine-opensuse-theme/pull/1

However, I haven't heard from Estu for quite a while. Let's see if we get any response. (If not, we should maybe fork the repo into the openSUSE namespace instead of keeping patches on top of a git repo where we are probably the only user.)

Actions #29

Updated by ph03nix 9 months ago

Whoever fixed this - Thanks a lot! This is great now :-)

Actions #30

Updated by livdywan 9 months ago

ph03nix wrote in #note-29:

Whoever fixed this - Thanks a lot! This is great now :-)

I'm afraid not. I see duplicate edit buttons and the mouse flickers while hoving those, confirm by two in my team

Actions #31

Updated by crameleon 9 months ago

I see duplicate edit buttons

Indeed, the second one (to the right) is in fact just the same hyperlink as the number - only the left one is the "real" edit button.

the mouse flickers while hoving

Do you mean the mouse cursor switching between the "normal" cursor icon and the "hyperlink" one? On my system the normal one is the arrow, and the hyperlink one is a small hand with a pointing index finger.
That kind of "flicker" I could reproduce if I am hovering slightly off-center in the top left corner of the edit button. If I hover over it in its middle, I do not encounter it.

Actions #32

Updated by livdywan 9 months ago

That kind of "flicker" I could reproduce if I am hovering slightly off-center in the top left corner of the edit button. If I hover over it in its middle, I do not encounter it.

Seems like I need to hover at the top, whether it's left or right doesn't matter. Kind of looks like it's roughly where the tooltip is located when it's visible.

Actions #33

Updated by crameleon 9 months ago

Another somewhat major issue I found is admin@opensuse.org not working. I recursively searched /etc/postfix on anna, mx1 and mx2 and replaced all instances of progress.infra.opensuse.org (the old machine) with progresoo.infra.opensuse.org (the new machine).
It seems any external mail I send arrives on mx1/mx2, but is then somewhere forwarded to the old progress.infra.opensuse.org. Mail sent directly from anna to admin@opensuse.org arrives at the new machine, but mail sent directly from mx1 makes it end up on the old one.
In https://progress.opensuse.org/issues/70891 I found a reference to some special member in the admin mailinglist.

@pjessen, could you check and possibly update this list member?

Actions #34

Updated by pjessen_invalid 9 months ago

crameleon wrote in #note-33:

Another somewhat major issue I found is admin@opensuse.org not working.

admin@o.o is just sent to the list address. Any mail to admin@o.o from anywhere should go to mx12, then to mailman3, where it is distributed.

@pjessen, could you check and possibly update this list member?

I have sent a subscribe request from redmine+admin@progresoo.infra.opensuse.org, it just needs to be confirmed.

Actions #35

Updated by pjessen_invalid 9 months ago

One minor issue - the "Updated by nnnnnnn about mm hours ago" title seems to have changed. It used to list my userid, but now I see my email address?

Actions #36

Updated by crameleon 9 months ago

It used to list my userid, but now I see my email address?

Your userid is your email address, seems you have a similar issue as @malcolmlewis, where an old account with a different email address was registered and the iChain plugin never updated it. You'll also notice when you open your profile that you only started posting yesterday, albeit having registered some years ago. See my comment in note 19 (https://progress.opensuse.org/issues/133532#note-19). Let's catch up in IRC so I can recover your "original" account.

Actions #37

Updated by crameleon 9 months ago

I have sent a subscribe request from redmine+admin@progresoo.infra.opensuse.org, it just needs to be confirmed.

Thanks, but, how would I confirm it / where did you send it to? :-)

Actions #38

Updated by pjessen_invalid 9 months ago

crameleon wrote in #note-37:

I have sent a subscribe request from redmine+admin@progresoo.infra.opensuse.org, it just needs to be confirmed.

Thanks, but, how would I confirm it / where did you send it to? :-)

It would have been sent to redmine+admin@progresoo.infra.opensuse.org - there ought to be a link to click to confirm.

Actions #39

Updated by pjessen_invalid 9 months ago

crameleon wrote in #note-36:

It used to list my userid, but now I see my email address?

Your userid is your email address, seems you have a similar issue as @malcolmlewis, where an old account with a different email address was registered and the iChain plugin never updated it. You'll also notice when you open your profile that you only started posting yesterday, albeit having registered some years ago. See my comment in note 19 (https://progress.opensuse.org/issues/133532#note-19). Let's catch up in IRC so I can recover your "original" account.

Maybe tonight, I'm away for the rest of the day, but I should be back around 2030-2100.

Actions #40

Updated by pjessen_invalid 9 months ago

per@computer.org wrote in #note-38:

crameleon wrote in #note-37:

I have sent a subscribe request from redmine+admin@progresoo.infra.opensuse.org, it just needs to be confirmed.

Thanks, but, how would I confirm it / where did you send it to? :-)

It would have been sent to redmine+admin@progresoo.infra.opensuse.org - there ought to be a link to click to confirm.

For now, it is stuck on mailman3:

2023-08-23T08:29:20.595603+00:00 mailman3 postfix/smtp[8968]: ADC2C119: to=<redmine+admin@progresoo.infra.opensuse.org>, relay=relay.infra.opensuse.org[192.168.47.4]:25, delay=1113, delays=1113/0/0/0.02, dsn=4.1.2, status=deferred (host relay.infra.opensuse.org[192.168.47.4] said: 450 4.1.2 <redmine+admin@progresoo.infra.opensuse.org>: Recipient address rejected: Domain not found (in reply to RCPT TO command))

Domain "progresoo.infra.opensuse.org" doesn't exist?

Actions #41

Updated by crameleon 9 months ago

I found another reference in the transport maps on anna which I now amended. Could you try it again?

Actions #42

Updated by pjessen_invalid 9 months ago

crameleon wrote in #note-41:

I found another reference in the transport maps on anna which I now amended. Could you try it again?

I have sent a 2nd subscribe, but the confirmation requests both get stuck on mailman3 when the domain can't be found. They will be retried at regular intervals.

host progresoo.infra.opensuse.org
Host progresoo.infra.opensuse.org not found: 3(NXDOMAIN)
Actions #43

Updated by crameleon 9 months ago

From where are you assessing this?

The resolv.conf file on mailman3 is broken, the /etc/sysconfig/network/config problem we have on some other machines as well:

crameleon@mailman3:/home/crameleon> host progresoo.infra.opensuse.org
host: parse of /etc/resolv.conf failed
crameleon@mailman3:/home/crameleon> dig progressoo.infra.opensuse.org
dig: parse of /etc/resolv.conf failed

crameleon@mailman3:/home/crameleon> grep -v '^#' /etc/resolv.conf
options attempts:1 timeout:1 rotateattempts:1 timeout:1
search infra.opensuse.org
nameserver 192.168.47.101
nameserver 192.168.47.102192.168.47.101
nameserver 192.168.47.102

From any other machine, I can resolve the name just fine:

anna (...):/home/crameleon # dig progressoo.infra.opensuse.org +short
192.168.47.34

I repaired the file using netconfig on mailman3 now:

crameleon@mailman3:/home/crameleon> dig progressoo.infra.opensuse.org +short
192.168.47.34

Not sure if that helps, your output suggests you tried it from a different machine (using different nameservers?).

Actions #44

Updated by pjessen_invalid 9 months ago

crameleon wrote in #note-43:

From where are you assessing this?

I think it was on mx1.

The resolv.conf file on mailman3 is broken, the /etc/sysconfig/network/config problem we have on some other machines as well:

It's a salt issue, AFAIR.

anna (...):/home/crameleon # dig progressoo.infra.opensuse.org +short
192.168.47.34

Aha, that is not the host you gave me ๐Ÿ˜€ (double 's', not single 's'). comment#33.

Subscribe request resent from progressoo. Looking at progressoo, it was delivered to a mailbox = "/var/spool/mail/redmine". I fished out the reply address and I have confirmed the subscription and accepted it in mailman.

I guess progressoo now needs an update of /etc/postfix/master.cf and an appropriate transport entry.

Actions #45

Updated by crameleon 9 months ago

Aha, that is not the host you gave me :-) (double 's', not single 's'). comment#33.

Apologies, I have a tendency to accidentally drop either the second o or the second s when referencing this machine. Terrible naming! ;-)

Actions #46

Updated by crameleon 9 months ago

Subscribe request resent from progressoo. Looking progressoo, it was delivered to a mailbox = "/var/spool/mail/redmine". I fished out the reply address and I have confirmed the subscription and accepted it in mailman.

Thank you!

I guess progressoo now needs an update of /etc/postfix/master.cf and an appropriate transport entry.

I copied the settings and maps from the old progress machine and installed the Redmine mail handler with the same options, but it seems it is only delivered to redmines local mailbox. Investigating.

Actions #47

Updated by crameleon 9 months ago

Minor issue with the virtual map which I amended, unfortunately the mail handler fails:

progressoo postfix/pipe[18578]: 772124A01: to=<redmine-opensuse-admin+admin@localhost.redmine>, orig_to=<redmine+admin@progressoo.infra.opensuse.org>, relay=redmineprivate, delay=0.49, delays=0.01/0.01/0/0.46, dsn=5.7.0, status=bounced (permission denied. Command output: Request was denied by your Redmine server. Possible reasons: email is sent from an invalid email address or is missing some information. )

Redmine reports:

Processing by MailHandlerController#index as HTML
...
MailHandler: [mytestaddress@example.com] account created
MailHandler: an unexpected error occurred when receiving email: uninitialized constant Mail::RubyVer
Did you mean?  RubyVM
Actions #48

Updated by crameleon 9 months ago

It seems this was resolved in Redmine 5.1.0 with https://www.redmine.org/issues/37993, but our Redmine at version 5.0.5 is missing the patch. I hot-patched it until I either update the Redmine version or apply the patch downstream. Mails to admin@o.o now arrive as tickets again.

Actions #49

Updated by crameleon 9 months ago

Indeed, the second one (to the right) is in fact just the same hyperlink as the number - only the left one is the "real" edit button.

Going through the inspector, I can't quite figure out why the notes link comes along with a bogus pencil button.

With the "real" edit button, the icon comes with some "icon-edit" class:

<a title="Edit" class="icon-only icon-edit" data-remote="true" data-method="get" href="/journals/663551/edit">Edit</a>

But the notes link just uses the "journal-link" class, which doesn't seem to be associated with any icons:

<a href="#note-26" class="journal-link">#26</a>
Actions #50

Updated by livdywan 9 months ago

Going through the inspector, I can't quite figure out why the notes link comes along with a bogus pencil button.

With the "real" edit button, the icon comes with some "icon-edit" class:

<a title="Edit" class="icon-only icon-edit" data-remote="true" data-method="get" href="/journals/663551/edit">Edit</a>

But the notes link just uses the "journal-link" class, which doesn't seem to be associated with any icons:

<a href="#note-26" class="journal-link">#26</a>

I can't easily test it, but I think this .journal .contextual a:nth-child(2)::before {
content: "๏€";
}
is adding the icon due it being the second child of the contextual div.

Actions #51

Updated by crameleon 8 months ago

  • Checklist item CSS: patch pencil icon added
  • Checklist item CSS: patch hover "flicker" added
  • Checklist item Mail: package patch added
  • Checklist item Accounts: merging script added

Summarizing open to-do's:

  • test CSS patch from Liv to remove the bogus pencil icon
  • find CSS patch for hover "flicker" on some buttons
  • update to Redmine >= 5.1.0 or backport mail patch
  • find if more users are affected from mismatching IDP and Redmine email addresses (if yes, craft some account merging script)
Actions #52

Updated by okurz 8 months ago

Screenshot_20230912_101827_broken_progress_css_manager_role

Broken CSS but I can still click the "Manager" entry, added to issues checklist.

Actions #53

Updated by okurz 7 months ago

The unicode issue is related to https://www.redmine.org/issues/32762

Actions #54

Updated by livdywan 7 months ago

Maybe it's worth creating individual tickets at this point? Since the upgrade already happened?

Actions #55

Updated by crameleon 7 months ago

Maybe it's worth creating individual tickets at this point? Since the upgrade already happened?

The Unicode issue should be tracked separately, as it is not a result of the update and existed before as well.

The CSS issues should in my opinion be kept tracked here as they are an unresolved regression.

Actions #56

Updated by crameleon 6 months ago

  • Checklist item Mail: package patch set to Done

Upgraded to Redmine 5.1.0.

Actions #57

Updated by crameleon 3 months ago

  • Checklist item Drop old VM set to Done
  • Checklist item Accounts: merging script set to Done

Old VM no longer exists.
Account merging script seems to no longer be needed, there were very few affected accounts. One issue is the mapping of local accounts to OpenID Connect accounts based on email addresses, which breaks when email addresses are changed in SUSE IDP. Maybe we should patch it to use usernames instead. But it is out of scope here.

Actions #58

Updated by crameleon 3 months ago

  • Checklist item CSS: patch pencil icon set to Done

I can't easily test it, but I think this .journal .contextual a:nth-child(2)::before {
content: "๏€";
} is adding the icon due it being the second child of the contextual div.

Very interesting - it seems disabling .journal .contextual a:nth-child(2)::before causes the two green pencils to turn into two green plus one blue speech bubbles. Additionally disabling .journal .contextual a::before then turns the three speech bubbles into one blue speech bubble and one green pencil, which seems correct to me.

Thank you for the pointer, Liv!

Submitted and installed:
https://build.opensuse.org/package/rdiff/openSUSE:infrastructure:redmine/redmine-theme-opensuse?linkrev=base&rev=4

Actions #59

Updated by crameleon 3 months ago

  • Checklist item CSS: patch user list roles checkboxes set to Done

okurz wrote in #note-52:

Screenshot_20230912_101827_broken_progress_css_manager_role

Broken CSS but I can still click the "Manager" entry, added to issues checklist.

Submitted and installed:
https://build.opensuse.org/package/rdiff/openSUSE:infrastructure:redmine/redmine-theme-opensuse?linkrev=base&rev=5

Actions #60

Updated by crameleon 3 months ago

  • Checklist item CSS: patch hover "flicker" set to Done
  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

I cannot reproduce the flickering anymore either, I think it solved itself together with the pencils.
If someone still experiences it (or any other issues), please open a separate ticket. I think this one here is now reasonable to complete.

By the way, updated to 5.1.1 as well.

Actions #61

Updated by livdywan 3 months ago ยท Edited

  • Status changed from Resolved to Workable

crameleon wrote in #note-60:

I cannot reproduce the flickering anymore either, I think it solved itself together with the pencils.
If someone still experiences it (or any other issues), please open a separate ticket. I think this one here is now reasonable to complete.

By the way, updated to 5.1.1 as well.

I'm re-opening because this broke uses of tags. See #154549 and also for example Tags links visible in the sidebar silently stopped considering tags, for example 15SP6.

Actions #62

Updated by livdywan 3 months ago

  • Related to action #154549: Certain queries on poo are not accessible added
Actions #63

Updated by crameleon 3 months ago

Hi,

I assume this still worked yesterday? It is probably not an issue with the big Redmine 5 project and just a regression with the new minor version. But let me investigate regardless, I think there might just be something missing for the Tags plugin in the Rake migrations:

E, [2024-01-30T12:49:29.394519 #1180] ERROR -- : [dcd3fe5f-683d-4e59-b02c-b934025f8961] Query::StatementInvalid: Mysql2::Error: Unknown column 'issues.issue_tags' in 'where clause'
Actions #64

Updated by crameleon 3 months ago

  • Status changed from Workable to In Progress

I reached out to RedmineUP.

Actions #65

Updated by crameleon 3 months ago

Great:

<support@redmineup.com>: host mx.yandex.net[2a02:6b8::311] said: 554 5.7.1
    Message rejected under suspicion of SPAM; https://ya.cc/1IrBc
Actions #66

Updated by livdywan 3 months ago

I assume this still worked yesterday? It is probably not an issue with the big Redmine 5 project and just a regression with the new minor version. But let me investigate regardless, I think there might just be something missing for the Tags plugin in the Rake migrations:

Yes it did, which is why I was surpised it was related to the upgrade. I guess we can't get a rollback so I'm going to replace our queries/wiki for now (apparently I can't even edit them, which on the bright side means they will continue to serve as reproducers).

Actions #67

Updated by crameleon 3 months ago

Sending the email via Oogle worked, and they promptly got back with a different version of the Tags plugin for me to try.
It requires another dependency which I will package now.

Actions #68

Updated by okurz 3 months ago

  • Related to action #152470: openqa-service fetch_openqa_bugs "requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='bugzilla.suse.com', port=443)" added
Actions #69

Updated by crameleon 3 months ago

Update:

I packaged and installed https://build.opensuse.org/package/show/openSUSE:infrastructure:redmine/rubygem-redmineup. The "redmineup" Gem seems to be a newer variant of "redmine_crm". The previous Tags plugin used "redmine_crm", the new version they sent me "redmineup". It seems two other RedmineUP plugins still use "redmine_crm", and using both conflicts with a version of the "liquid" Gem - having both, liquid-2.6.3 and liquid-4.0.4 installed:

$ /usr/bin/bundle.ruby2.7 exec /usr/bin/rake.ruby2.7 -t redmine:plugins NAME=redmineup_tags RAILS_ENV=production 
Bundler could not find compatible versions for gem "liquid":
  In snapshot (Gemfile.lock):
    liquid (= 2.6.3)

  In Gemfile:
    redmine_crm was resolved to 0.0.59, which depends on
      liquid (< 2.6.4)

    redmineup was resolved to 1.0.3, which depends on
      liquid (> 4.0, < 5.0) 

$ grep redmine_crm plugins/*/Gemfile
plugins/redmine_agile/Gemfile:gem "redmine_crm"
plugins/redmine_checklists/Gemfile:gem 'redmine_crm'

I asked them about it.

Actions #70

Updated by livdywan 3 months ago

I'm re-opening because this broke uses of tags. See #154549 and also for example Tags links visible in the sidebar silently stopped considering tags, for example 15SP6.

Apparently things work again. Thanks! ๐Ÿ˜ป

Actions #71

Updated by crameleon 3 months ago

Great to hear, though I'm surprised, the last I only rolled back to the last installable version of the Tags plugin.
If RedmineUP have a solution for installing the new version I will still try to update it again, otherwise we can leave this one (both versions have the same latest version number and changelog, but different source code ...).

Actions #72

Updated by crameleon 3 months ago

  • Status changed from In Progress to Resolved

There's some more challenges now, updating the plugin will take some more time.
But since this is not related to Redmine 5 and things are working I will resolve this ticket again. In case of any new issues please open new tickets.

Actions #74

Updated by okurz about 2 months ago

  • Related to tickets #157459: Descriptions of tickets with special unicode characters included yield "Internal server error 500" added
Actions

Also available in: Atom PDF