text:
Create new team with pro plan subscription

Summary
Implemented the feature for creating new teams.
There are three types of teams:

Free team
Pro team
Internal team (This will be treated as Pro team on UI)

Because pro team requires a subscription, creating a Pro team is a bit tricky.

services/teams/actions/create-team.ts

Set the team's name, userDbId in metadata of stripe checkout session.
Create a Stripe checkout session

app/webhooks/stripe/route.ts

Receive webhook
If subscription data is not in Giselle's database, create a Team and Membership using the data from the metadata, then create a subscription record.

What I have NOT done
These features will come later in another pull request:

Selecting a team
Upgrading an existing team

Local Environment Testing
ROUTE06 Internal User Flow

[x] Test with @route06.co.jp email

[x] Create Pro team
[x] Verify team type is set to "internal"
[x] Confirm no Stripe checkout redirect

External User Flow (Pro)

[x] Test with @giselles.ai email

[x] Attempt Pro team creation
[x] Verify Stripe checkout page redirect
[x] Confirm subscription creation
[x] Verify team creation with correct type

Note: Use local webhook listener with Stripe CLI.
External User Flow (Free)

[x] Test with @giselles.ai email

[x] Create Free team
[x] Verify team type is "customer"
[x] Confirm no Stripe interaction

Note: Free team testing requires code modification for testing purposes.
Preview Environment Testing
Route06 Internal User Flow

[x] Repeat internal user flow as above

[x] Verify team type consistency

External User Flow (Pro)

[x] Repeat pro user flow as above

[x] Verify Stripe integration
[x] Confirm subscription creation

Note: must set NEXT_PUBLIC_SITE_URL to this branch's preview URL.
Other Information
TODO
Stripe webhook endpoint

[x] Add this PR's URL ( https://giselle-git-create-new-team-with-pro-plan-subscription-r06-edge.vercel.app/ )
[x] Add STRIPE_WEBHOOK_SECRET for ⬆
[ ] After the merging this PR, create preview branch from main branch and push

This will publish https://giselle-git-preview-r06-edge.vercel.app

[ ] After the merging this PR, remove PR's URL ( https://giselle-git-create-new-team-with-pro-plan-subscription-r06-edge.vercel.app/ )

Vercel Environment values for Preview and Development

[x] Add STRIPE_PRO_PLAN_PRICE_ID
[x] Add STRIPE_AGENT_TIME_CHARGE_PRICE_ID
[x] Add STRIPE_USER_SEAT_PRICE_ID

Vercel Environment values for Production
We have not decided on the prices of plans yet.
So for now, we'll add these prices as dummy values.

[x] Add STRIPE_PRO_PLAN_PRICE_ID as a dummy
[x] Add STRIPE_AGENT_TIME_CHARGE_PRICE_ID as a dummy
[x] Add STRIPE_USER_SEAT_PRICE_ID as a dummy

Do we really need the draftTeam??
With metadata, we can do:

You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long.

Therefore is adding team name and creator's user.dbId is enough?

@toyamarinyon

Please tell me why you have added DRAFT_TEAM_NAME_METADATA_KEY and DRAFT_TEAM_USER_DB_ID_METADATA_KEY ?

We need to handle the team creation flow with Stripe integration. Here's why:

Data Flow Requirements:

Team creation requires storing: team name + creator's information
Stripe checkout → webhook flow needs to identify:

Who initiated the team creation
What team name they wanted

Inserting subscription record needs teams.dbId.

Solution Consideration:

Initially considered adding draftTeam table to database

This needs draftTeam.dbId to be stored in metadata anyway.

Simplified approach: Store necessary information in Stripe metadata

const subscriptionMetadata: Record<string, string> = {
	[DRAFT_TEAM_USER_DB_ID_METADATA_KEY]: userDbId.toString(),
	[DRAFT_TEAM_NAME_METADATA_KEY]: teamName,
};

Storing in Stripe metadata is sufficient because:

Temporary data only needed during checkout flow
No need for additional database table
Webhook can access all necessary information

Will implement this approach in the checkout URL creation.

Thank you for your reviews.
I'll merge this and do these todos.

[ ] After the merging this PR, create preview branch from main branch and push

This will publish https://giselle-git-preview-r06-edge.vercel.app/

[ ] After the merging this PR, remove PR's URL ( https://giselle-git-create-new-team-with-pro-plan-subscription-r06-edge.vercel.app/ )

@shige
I've updated this preview environment:
https://giselle-git-preview-r06-edge.vercel.app

@satococoa Thanks, I will check it later!

I've verified on https://giselle-git-preview-r06-edge.vercel.app/

[ ] Route06 Internal User Flow

[ ] Repeat internal user flow as above
[ ] Verify team type consistency

[ ] External User Flow (Pro)

[ ] Repeat pro user flow as above
[ ] Verify Stripe integration
[ ] Confirm subscription creation

authors: satococoa shige

repo: giselles-ai/giselle


text:
[Feature]:  Allow the fuel loader to load fuels that don't have the #ad_astra:fuel tag but do have #ad_astra:tier_x_rocket_fuel

Cause for request
Right now any tier of rocket can use any fuel by giving it the specific tag, but the fuel loader only works if said fluid also had the fuel tag. Issue is that the #fuel tag has all of the other tags as children and cannot be modified until the #fuel tag is removed from the liquid.
Sorry for the bad english, I'm not from an anglophone country.
Request details
No response

That is great point. I was missed that 'specific fuel tags'.
Fuel Loader will be changed to give fluid what matched Vehicle's specific tag.

Done e59f033e8ab970c59f946b7c2976e61620776308.

The fuel loader on 6.13 can still load fuel into rockets which cannot accept the tiered fuel. The fuel does not get used in the T2 rocket. With the fuel loader, it can be loaded

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
added hindi quotes

Added new Hindi quotes

@Gupta-Anubhav12 Just the first quote needs to be removed. The rest looks great!

Btw, could you please fix the chapter translation issue for the table of contents screen in this PR as well?

Sure i'll try

Sure, here are some hints:
Need to add name to the gql query: https://github.com/gita/Bhagavad-Gita-App/blob/264cd678df3ea4c9683baf0b6b0342d307175c8a/bhagavad_gita/lib/screens/chapter_detail/chapter_tableview.dart
And then check the locale and update this line based on the locale: https://github.com/gita/Bhagavad-Gita-App/blob/efd85bec324912d809d4778f88b77d02c4564d29/bhagavad_gita/lib/widgets/tableof_content_Chapter_widget.dart#L50
Something like this:
 (Localizations.localeOf(context).languageCode == 'hi') ? (chapterDetailData
                                    .gitaChapterById!.name ?? "") : chapterDetailData
                                    .gitaChapterById!.nameTranslated ?? ""

Sure, here are some hints:
Need to add name to the gql query: https://github.com/gita/Bhagavad-Gita-App/blob/264cd678df3ea4c9683baf0b6b0342d307175c8a/bhagavad_gita/lib/screens/chapter_detail/chapter_tableview.dart
And then check the locale and update this line based on the locale:
https://github.com/gita/Bhagavad-Gita-App/blob/efd85bec324912d809d4778f88b77d02c4564d29/bhagavad_gita/lib/widgets/tableof_content_Chapter_widget.dart#L50
Something like this:
 (Localizations.localeOf(context).languageCode == 'hi') ? (chapter.name ?? "") : chapter.nameTranslated ?? ""

Yaay, my first flutter PR and I started flutter like a few hours ago

Sure, here are some hints:
Need to add name to the gql query: https://github.com/gita/Bhagavad-Gita-App/blob/264cd678df3ea4c9683baf0b6b0342d307175c8a/bhagavad_gita/lib/screens/chapter_detail/chapter_tableview.dart
And then check the locale and update this line based on the locale:
https://github.com/gita/Bhagavad-Gita-App/blob/efd85bec324912d809d4778f88b77d02c4564d29/bhagavad_gita/lib/widgets/tableof_content_Chapter_widget.dart#L50
Something like this:
 (Localizations.localeOf(context).languageCode == 'hi') ? (chapter.name ?? "") : chapter.nameTranslated ?? ""

Yaay, my first flutter PR and I started flutter like a few hours ago

Awesome, just to double-check, we have fixed it for the "table of contents" screen, right?

yes, sent the wrong ss in last reply
apologies

yes, sent the wrong ss in last reply apologies

Awesome, great job with this!
You are a quick learner 🙂

source: gharchive/pull-request

repo: gita/Bhagavad-Gita-App


text:
ReferenceError: HTMLElement is not defined

我按照作者的步骤进行了一遍.使用的是第二种方式.
然后报错说的是Document.getelementbyId('gitalk-container') 找不到这个container
很奇怪

这一段代码

一定要放在这一段
const gitalk
 = new Gitalk({
  clientID: 'GitHub Application Client ID',
  clientSecret: 'GitHub Application Client Secret',
  repo: 'GitHub repo',
  owner: 'GitHub repo owner',
  admin: ['GitHub repo owner and collaborators, only these guys can initialize github issues'],
  id: location.pathname,      // Ensure uniqueness and length less than 50
  distractionFreeMode: false  // Facebook-like distraction free mode
})

gitalk.render('gitalk-container')

之前

没有后续反馈，issue 先关闭了。

authors: 97thjingba AaronszXia booxood

repo: gitalk/gitalk


text:
Related Issues not found

Gitalk 版本
1.8.0
报错信息？
Related Issues not found
Please contact @[xxxxx] to initialize the comment
https://capture.dropbox.com/SBKtl8MUVrFSlv7C
浏览器版本？
safari  16.1
复现步骤？
必现，我的博客地址是：https://llost.net
目前只有一篇文章可以发布评论，其他的都是报错，很奇怪，不知道哪里有问题，如果是配置问题，那按道理都不能用，但是有一篇文章可以正常发表评论
谢谢

我之前也是这样，现在倒好，每一篇文章都无法评论，你看一下是不是gitalk配置有误？并且每个文章都要增加一条issues，要不然就会导致所有文章都是同一个评论

Gitalk 版本
1.8.0
报错信息？
Related Issues not found Please contact @[xxxxx] to initialize the comment https://capture.dropbox.com/SBKtl8MUVrFSlv7C
浏览器版本？
safari 16.1
复现步骤？
必现，我的博客地址是：https://llost.net 目前只有一篇文章可以发布评论，其他的都是报错，很奇怪，不知道哪里有问题，如果是配置问题，那按道理都不能用，但是有一篇文章可以正常发表评论
谢谢我也、、、

Gitalk 版本
1.8.0
报错信息？
Related Issues not found Please contact @[xxxxx] to initialize the comment https://capture.dropbox.com/SBKtl8MUVrFSlv7C
浏览器版本？
safari 16.1
复现步骤？
必现，我的博客地址是：https://llost.net 目前只有一篇文章可以发布评论，其他的都是报错，很奇怪，不知道哪里有问题，如果是配置问题，那按道理都不能用，但是有一篇文章可以正常发表评论
谢谢

我也是，配置都没问题，之前发布的都可以，新发布了一篇，显示Related Issues not found ，不知道为什么，gitalk仓库的issues里也没有发现新的文章issues，求大神解决

Gitalk 版本
1.8.0
报错信息？
Related Issues not found Please contact @[xxxxx] to initialize the comment https://capture.dropbox.com/SBKtl8MUVrFSlv7C
浏览器版本？
safari 16.1
复现步骤？
必现，我的博客地址是：https://llost.net 目前只有一篇文章可以发布评论，其他的都是报错，很奇怪，不知道哪里有问题，如果是配置问题，那按道理都不能用，但是有一篇文章可以正常发表评论
谢谢我也、、、

Gitalk 版本
1.8.0
报错信息？
Related Issues not found Please contact @[xxxxx] to initialize the comment https://capture.dropbox.com/SBKtl8MUVrFSlv7C
浏览器版本？
safari 16.1
复现步骤？
必现，我的博客地址是：https://llost.net 目前只有一篇文章可以发布评论，其他的都是报错，很奇怪，不知道哪里有问题，如果是配置问题，那按道理都不能用，但是有一篇文章可以正常发表评论
谢谢

我也是，配置都没问题，之前发布的都可以，新发布了一篇，显示Related Issues not found ，不知道为什么，gitalk仓库的issues里也没有发现新的文章issues，求大神解决

是不是每一篇文章都要手动添加一条issues？
要是这样太麻烦了吧！

不是的，正常建立博客后会自动生成，但是最近几天都不行了

吉塔克版本
1.8.0
报错信息？
未找到相关问题 请联系@[xxxxx]初始化评论 https://capture.dropbox.com/SBKtl8MUVrFSlv7C
浏览器版本？
野生动物园 16.1
复现步骤？
必现，我的博客地址是：https://llost.net 目前只有一篇文章可以发布评论，其他的都是报错，很奇怪，不知道哪里有问题，如果是配置问题，那按道理都不能用，但是有一篇文章可以正常发表评论
谢谢

点击用Github登陆后提示什么呢？
能让我看下Gitalk配置吗？


text:
🛑 search.mascotboi.xyz is down

In 41e8883, search.mascotboi.xyz (https://search.mascotboi.xyz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: search.mascotboi.xyz is back up in 157a8a2 after 28 minutes.

repo: gitetsu/librex-instances-upptime


text:
🛑 search.mascotboi.xyz is down

In 50bf16f, search.mascotboi.xyz (https://search.mascotboi.xyz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: search.mascotboi.xyz is back up in 853a654 after 39 minutes.


text:
🛑 whoogle.lunar.icu is down

In f4e4ead, whoogle.lunar.icu (https://whoogle.lunar.icu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: whoogle.lunar.icu is back up in e470ae0 after 4 minutes.

repo: gitetsu/whoogle-instances-upptime


text:
🛑 whoogle.privacydev.net is down

In 7e8ccfb, whoogle.privacydev.net (https://whoogle.privacydev.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: whoogle.privacydev.net is back up in 064a3d3 after 11 minutes.


text:
Fix issue with generating component initiatilze_signature from attributes

Issue
ComponentGenerator creates component with broken parameters leaving off a : on the last attribute. For example rails g component Example hello world generates:
class ButtonComponent < ActionView::Component::Base

  def initialize(hello:, world)
.....

Solution
@dylnclrk and I altered the #map method in ComponentGenerator#initialize_signature to append the : and then join the array with , .
NOTE: We did not add a test for this case since there are no established patterns for testing the generators.

Thanks for the fix!
Do you have any recommendations/references for testing generators? It sounds like something we should do here soon.

@joelhawksley I did some searching into testing rails generators and looked at the source code of other gems that use generators and didn't find anything concrete for minitest. Most of the references I found related to rspec.

repo: github/actionview-component


text:
[GHSA-p6mc-m468-83gw] Prototype Pollution in lodash

Updates

Affected products
Description

Comments
We identified that the patch fixing the vulnerability(https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12) is included in 4.17.16 tag while the reported fixed version is 4.17.20.

Hey there @idanbart, I believe the reason we have 4.17.19 listed for lodash is because the packages published to npm were corrupted
See: https://github.com/lodash/lodash/wiki/Changelog#v41719
For lodash-es there is no 4.17.19 and the next available version is 4.17.20.
https://www.npmjs.com/package/lodash-es?activeTab=versions

authors: darakian idanbart

repo: github/advisory-database


text:
[GHSA-cc4x-9vpx-cphw] The acpi_ps_complete_final_op() function in drivers/acpi...

Updates

Affected products
Source code location
Summary

Comments
https://github.com/acpica/acpica/pull/278

Hi @SaketADumbre. Thank you for the PRs however I think both this and #5083 are out of scope for our database
https://github.com/github/advisory-database?tab=readme-ov-file#supported-ecosystems
Maybe I'm missing something though. Is there a package that fits?

Hi Jon,
The 2 CVEs in question arose a few years ago due to possible attack vectors exposed from memory leaks in our ACPICA project, which can effectively be described as the industry-standard reference implementation of the ACPI Specification, which in turn is responsible for the governance of most of the interactions between HW/FW and the OS/SW. In short, something like a memory location/register in hardware can be exposed directly to the OS (say Linux) due to such reported memory leaks. As a result, I am not sure what type of package best describes such CVEs. Merging the 2 PRs help resolve those 2 vulnerabilities, according to the security research teams of the respective National Laboratories (or equivalent entities) based in South Korea and Taiwan. The PRs which I merged earlier today help ensure that no data is possibly leaked and that there is no attack surface for any possible attack to be carried out! Hope this helps answer some critical questions!
Kind regards,
Saket Dumbre

That's good to hear that you were able to address the data leak!

As a result, I am not sure what type of package best describes such CVEs

The purpose of our database is specifically to drive automation for things like dependabot and in order to do that we index based on packages from popular package registries. If there isn't one then I'm gonna have to close these PRs as they're out of scope

Ahh I see. What happens then, say in the NIST database for these CVEs? How can we make sure that they are marked as resolved?

Looking at https://nvd.nist.gov/vuln/detail/CVE-2017-13694 which is the CVE that corresponds to this GHSA (GHSA-cc4x-9vpx-cphw) it looks like mitre was the source. They have a contact form here
https://cveform.mitre.org/
where you can suggest changes to a CVE. I would ping them, share any PRs/issues that are relevant and ask them to add the fixed versions to the description text.

Thanks for the info Jon. I can do that later today or tomorrow, but that helps a lot. Appreciate the links and steps to follow! Once that is done, I can let you know so that you can go ahead and close both these GHSA PRs! Thanks!

Happy to help and feel free to close the PRs yourself too whenever you're ready :)

Sure, will do! Thanks Jon!

authors: SaketADumbre darakian


text:
Revert "Start waiting for processing by default."

This reverts commit b661ef1697d555e1f2ab5c42d3c60b5bb71b6cf2.
It looks like this change caused issues with analyses on pull requests from forks. This is due to the complicated nature of the permissions of workflows run on these pull requests. They are able to upload analyses for their own pull requests refs, but are not able to access other Code Scanning APIs such as the one required to get the status of a delivery.
This reverts adding this new functionality until we update the API to make it able to safely determine whether a pull request should be able to get the status of a particular delivery.
This is a hotfix on the v1 branch.
Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.

Could we add a changelog note mentioning this revert? We mentioned the original change in the log, so I think the revert should be too.

Sure! I've put this under a 1.0.29 release with today's date on. Let me know if this is not the correct way of doing a change note for a hotfix though.

Sure! I've put this under a 1.0.29 release with today's date on. Let me know if this is not the correct way of doing a change note for a hotfix though.

Oh I've just realized this PR is targeting v1. I think it should probably target main and the note should go in the "unreleased" heading. Then our automation can handle doing a release with the fix in and do the right things with regards to bumping the version number in all the right places.

Ah, okay that makes sense. I was a bit worried that would make it more difficult to do a hotfix because it would pull in other unrelated changes, but it actually looks like there aren't any, so that should work fine.

Ah, okay that makes sense. I was a bit worried that would make it more difficult to do a hotfix because it would pull in other unrelated changes, but it actually looks like there aren't any, so that should work fine.

Yeah, if the day ever comes that we have to do a hotfix directly on v1 it will be a slight pain because we'll need to manually bump the version number in a few places then do a manual mergeback to main. No need for that here though, much easier to do the change on main and let the automation handle releasing.

:+1:

authors: cannist chrisgavin edoardopirovano

repo: github/codeql-action


text:
Unknown issue at linux

Description
Steps to reproduce
Impact
Additional context
java.lang.Throwable: ID 'GitHub.Codespaces.Feedback' is already taken by action 'Codespaces: Send Feedback to GitHub (Send feedback to GitHub. Note: this will create a public issue in a GitHub repository.)' (class com.intellij.openapi.actionSystem.impl.ChameleonAction) . Action 'Codespaces: Send Feedback to GitHub (Send feedback to GitHub. Note: this will create a public issue in a GitHub repository.)' (class com.github.codespaces.jetbrains.common.platform.action.FeedbackAction) cannot use the same ID null
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.reportActionIdCollision(ActionManagerImpl.java:1326)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerAction(ActionManagerImpl.java:1263)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerAction(ActionManagerImpl.java:1335)
at com.github.codespaces.jetbrains.common.platform.action.FeedbackAction$Companion.register(FeedbackAction.kt:22)
at com.github.codespaces.jetbrains.gateway.connector.CodespacesConnector.initProcedure(CodespacesConnector.kt:45)
at com.jetbrains.gateway.welcomeScreen.GatewayWelcomeScreenPanel.(GatewayWelcomeScreenPanel.kt:38)
at com.jetbrains.gateway.welcomeScreen.GatewayWelcomeTabFactory$GatewayTab.buildComponent(GatewayWelcomeTabFactory.kt:71)
at com.intellij.openapi.wm.impl.welcomeScreen.TabbedWelcomeScreen$DefaultWelcomeScreenTab.getAssociatedComponent(TabbedWelcomeScreen.java:207)
at com.jetbrains.gateway.welcomeScreen.GatewayWelcomeScreenLeftPanel.init(GatewayWelcomeScreenCustomization.kt:101)
at com.intellij.openapi.wm.impl.welcomeScreen.TabbedWelcomeScreen.loadTabs(TabbedWelcomeScreen.java:114)
at com.intellij.openapi.wm.impl.welcomeScreen.TabbedWelcomeScreen.(TabbedWelcomeScreen.java:77)
at com.jetbrains.gateway.welcomeScreen.GatewayWelcomeScreen.(GatewayWelcomeScreenCustomization.kt:32)
at com.jetbrains.gateway.actions.OpenRemoteDevelopmentWelcomeScreenAction$RemoteDevelopmentWelcomeScreen.(OpenRemoteDevelopmentWelcomeScreenAction.kt:61)
at com.jetbrains.gateway.actions.OpenRemoteDevelopmentWelcomeScreenAction.actionPerformed(OpenRemoteDevelopmentWelcomeScreenAction.kt:46)
at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:327)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:306)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:350)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:306)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$performAction$5(ActionMenuItem.java:296)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:226)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.performAction(ActionMenuItem.java:289)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$new$0(ActionMenuItem.java:64)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$4(ActionMenuItem.java:111)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:111)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:526)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:558)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6648)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3392)
at java.desktop/java.awt.Component.processEvent(Component.java:6413)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5022)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2802)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:754)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:752)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:751)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:831)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:753)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
OS: Linux
OS Version: 6.0.0-kali6-amd64
OS Architecture: amd64
Java Version: 17.0.5
Java Runtime Version: 17.0.5+1-b653.25
Java Vendor: JetBrains s.r.o.
Available CPUs: 12
Max Memory: 2147483648
Free Memory: 1050583040
Total Memory: 2147483648
IDE Version: 2022.3.2
IDE: IntelliJ IDEA 2022.3.2
Plugin Version: 0.3.0.1042
Plugin path: ~home/.local/share/JetBrains/IntelliJIdea2022.3/github-codespaces-gateway
Plugin ID: com.github.codespaces.jetbrains.gateway

Thanks for the report @MoheyEl-DinBadr! We have resolved this issue, but have not released a plugin with that fix yet. When we do, updating should resolve this issue. I will let you know when the new version releases!

repo: github/codespaces-jetbrains-feedback


text:
Add example for object filter on object.

There was already an example for using an object filter on an array. Clarify that object filters can be used on objects as well and that the result is an array, not an object.
Why:
Closes #11762.
What's being changed:
Content only; refer to rich diff.
Check off the following:

[ ] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@Kurt-von-Laven
Thanks so much for opening a PR! I'll get this triaged for review :zap:

Great addition @Kurt-von-Laven - thanks much.  I made one minor suggestion but this is 👍

Thank you for the review, @ethomson!

I believe the build failure is unrelated to this pull request.

I rebased on the latest version of main, and this time all of the checks passed. I suspect the previous failure may have been caused by a flaky test.

@Kurt-von-Laven We are looking into the fix. I will get this merged once the tests are passing. Thanks so much for your patience 💖

Sounds good. The flaky test theory is supported by the fact that the tests sometimes fail and sometimes succeed when all I am doing is rebasing on the latest changes.

@ethomson, I rebased on the latest main, and now all tests are passing.

Please process

authors: Kurt-von-Laven ethomson madgbec ramyaparimi

repo: github/docs


text:
feat: move period inside quotes

Why:
Move period inside quotation marks in token-expiration-and-revocation#token-revoked-by-the-oauth-app
Closes:
#34105

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@shashwatpathak98 Thanks so much for opening a PR with this fix! I'll update the branch and get this merged once tests are passing 🍏


text:
retry all test asserts (bbs only for now)

[ ] Did you write/update appropriate tests
[ ] Release notes updated (if appropriate)
[ ] Appropriate logging output
[ ] Issue linked
[ ] Docs updated (or issue created)
[ ] New package licenses are added to ThirdPartyNotices.txt (if applicable)

didn't appear to fix the problem. SAD

repo: github/gh-gei


text:
fix(Node): ignore yarn logs

This adds ignores for the yarn-debug.log* and yarn-error.log* files sometimes produced by the Yarn package manager.
Reasons for making this change:
Yarn, similar to npm, has log files that should be ignored.
Links to documentation supporting these rule changes:
Didn't find documentation, but here is code in Yarn that creates yarn-error.log:

https://github.com/yarnpkg/yarn/blob/e2f4a3cf1b3cc863f078b68cf4f9195d0ebe423e/src/cli/index.js#L364

And here are some issues and PRs as evidence:

https://github.com/yarnpkg/yarn/issues/1600
https://github.com/yarnpkg/yarn/issues/1460
https://github.com/yarnpkg/yarn/pull/2095

For yarn-debug.log, here's an issue comment as evidence:

https://github.com/chentsulin/electron-react-boilerplate/issues/655#issuecomment-271772311

As well as other projects I've found that ignore it:

https://github.com/thebigredgeek/microlock/blob/a1c3279e63ddbb32713572c1461162309aec319c/.gitignore#L5
https://github.com/calebmer/graphql-strong/blob/d0357619cc7eb43bb199616a780543eae145c799/.gitignore#L4

@adjohnson916 thanks!

repo: github/gitignore

license_source: bigquery


text:
Added package-lock.json for Node.js Tools for Visual Studio

Application of the change:
The change is made in VisualStudio.gitignore for Node.js Tools for Visual Studio
Reasons for making this change:
package-lock.json is automatically generated for any operations where npm modifies either the node_modules tree or package.json. That is why node_modules and package.json must be managed together so that package.json is consistent with what node_modules contains, or else, npm may not work correctly. As it is essential to ignore node_modules, it is also vital to ignore package-lock.json.
Links to documentation supporting these rule changes:
Documentation about package-lock.json: https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json

The documentation you linked explicitly states "This file is intended to be committed into source repositories".

authors: BertrandMiTek cremor


text:
PHP syntax broken with ' and "

Please see here

https://github.com/Purus/MailChimp-PHP-API-Simple-Example/blob/master/Service.php#L49

The line that breaks it is:
if ($result['msg'] == "Everything's Chimpy!") {

There's a missing double quote here: https://github.com/Purus/MailChimp-PHP-API-Simple-Example/blob/master/Service.php#L13

authors: fulldecent pchaigno

repo: github/linguist


text:
Enhance support for Checksums

Describe the enhancement
Continuation of #5130, #5138

[ ] Support cksum format checksum size and checksum size name (not popular enough?)
[ ] Add .digest and .cksum to extensions
[ ] Add digest to aliases
[ ] Support popular formats in .digest files

@Alhadis, this is from #5130:

but is there a way to highlight it when it is explicitly specified, such as ```hash blocks in Markdown?

Unfortunately not. ```hash blocks are highlighted by the same mechanism responsible for highlighting a file's source-code. For all intents and purposes, they're exactly the same.

Don't the blocks below highlight differently? They are ```c, ```html, and ``` blocks, respectively.
int main() {} // <strong attr="val">HTML</strong>

int main() {} // <strong attr="val">HTML</strong>

int main() {} // <strong attr="val">HTML</strong>

Here's what I was trying to get at with that post:
Since the highlighting can be controlled by the info string after the three backticks, how does that work? Is it related to the aliases property? If so, can we use that to let users specify cksum specifically? Or is cksum not even popular enough for us to care about?

Since the highlighting can be controlled by the info string after the three backticks, how does that work? Is it related to the aliases property?

Yes, if the content of that infostring matches the language name or any of its aliases then that language is applied.

@theonlypwner Any of the aliases listed in languages.yml will activate checksum highlighting. Be aware that there's no correlation between which alias you pick and what checksums get highlighted; i.e., all supported checksum patterns will be highlighted, even if the code-block was tagged with, say, ```md5 (a hypothetical example, seeing as how md5 isn't currently supported as an alias).

If so, can we use that to let users specify cksum specifically? Or is cksum not even popular enough for us to care about?

I think we can add cksum as an alias. As a file-extension, a quick search for *.cksum files shows there's some usage on GitHub. You'll need to submit a pull-request and wait for @lildude to run an evaluation of its usage to know for sure, though.

@Alhadis My point was that if we create another language entry with aliases, filenames, and extensions specifically for cksum, we can highlight in the cksum format for only  ```cksum blocks and *.cksum files because you said it's better to have no highlighting than wrong highlighting. Creating another language entry would create the correlation between the chosen alias and how the highlighting is performed.
But if the cksum format isn't popular enough, then it might not be necessary. In a search for *.cksum files, most results look like the SHA1SUMS file format, which is already supported. I would recommend adding .cksum to extensions, which I have added to the task list. I don't think it is necessary to add cksum to aliases.

I will also respond to your other comment in #5138 here:

Well, I can add support for patterns like this…
digest1:dwLYXWqDkzaJhlo1P6sQqpxgU5cBRRYM9Sna/buqhHIoAX6/np9fYp9Zbgb3Rc7I

… however, I'm unfamiliar with whatever program generates this kind of output, and I'd ideally like some authoritative reference on what formats are accepted in such lines (the example looks to be using base64, but I'd rather not go by guesswork if I can help it).

It seems like digest1: is an encryption prefix in GeoServer passwd files. That prefix, crypt1:, and crypt2: precede a base64 string, while plain: precedes a plaintext password. Should passwd-type files also be included in the Checksums language, or should that be in another language like passwd?

Also, I noticed some files in the format name whitespace hash instead of hash whitespace name, which I hope either won't cause issues for the syntax highlighter or can be fixed later.

There's no foolproof way to tell name hash from a filename that contains spaces, followed by a word that happens to contain n alphanumeric characters. Conversely, a line that begins with precisely n characters is a little less ambiguous. Consider files that begin with arbitrary text (e.g., comments), or even files like this that aren't technically a checksum list, but are still highlighted non-intrusively.

If there's no foolproof way, should we just simply give up and not support the name hash format?

authors: Alhadis Nixinova theonlypwner


text:
Look, updates...

Now with a link to xkcd.

Now with a link to xkcd.

Testing the "r"-key...

repo: githubteacher/ghfd-zalando-class


text:
Open a browser with a new tab, not window

📝 Provide a description of the new feature
When I click the buttons like notification, issue and PR, it opens new browser window.
I really wish to open it as a new tab with existing browser window.
I uses an Arc browser, but it could be same as Chrome.
➕ Additional Information
No response

@daeho-ro - thanks for raising.
This is interesting... for me new windows open in new tabs (not new windows).
I suspect this might be solved through local device configuration / settings

@setchy Indeed, it is only happen on Arc browser not Chrome.

authors: daeho-ro setchy

repo: gitify-app/gitify


text:
[on hold until he confirms his speaker slot] Add Micha as a speaker

Name: Micha Hernandez van Leuffen
Title: "operating intelligence in a cloud-native environment"
https://www.linkedin.com/in/mhernandezvanleuffen/
https://twitter.com/mies

Closing this as it's confirmed that he is not gonna be a speaker.


text:
🛑 MSP-103 is down

In c4df88b, MSP-103 (https://msp-portal.gw103.oneitfarm.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MSP-103 is back up in 18a0362 after 12 minutes.

repo: gitsrc/upptime


text:
Support for extensions

I believe extensions of Openapi v3 would just not be represented in the structures so they get lost in the deserialization of the document.
I suppose that this would need to be supported as some kind of map as there is no way of knowing beforehand the keys.

This would be awesome to support extensions. I typically have a case where the audience has been defined as an extension
openapi: 3.0.0
info:
  x-audience: company
  title:

I have all type of use-cases, one big one is defining performance information, I'm sure multiple people will have their own

@glademiller if you'd potentially accept a PR for this issue, I'd happily submit one.

authors: JordiPolo ahl omallassi


text:
🛑 Comite Martiniquais du tourisme is down

In bca48f8, Comite Martiniquais du tourisme (https://www.martinique.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Comite Martiniquais du tourisme is back up in 445a933.

repo: glefait/martinique-public-websites


text:
🛑 Schoelcher is down

In 988a82c, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 4351aa0 after 10 minutes.


text:
🛑 Institut Martiniquais du Sport is down

In 2e99d4b, Institut Martiniquais du Sport (https://www.ims.mq) was down:

HTTP code: 503
Response time: 326 ms

Resolved: Institut Martiniquais du Sport is back up in cfac3b6 after 11 minutes.


text:
🛑 Hyppodrome de Carrere is down

In 524f7f5, Hyppodrome de Carrere (http://hippodromedecarrere.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hyppodrome de Carrere is back up in 0ef58e2.


text:
🛑 Schoelcher is down

In 037764f, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in d80bcf8.


text:
🛑 Sainte-Luce is down

In 1ef5fe9, Sainte-Luce (https://www.sainteluce.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sainte-Luce is back up in 175e3f2.


text:
🛑 Schoelcher is down

In dd53f34, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 7b2a012.


text:
🛑 Schoelcher is down

In 8fe3bd8, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 78789cb.


text:
🛑 Schoelcher is down

In 90f0f87, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in ab16363.


text:
Fix Joysticks On Linux

Joystick support isn't initialized unless _GLFW_LINUX_JOYSTICK is defined, and this is never defined. I replaced the checks with checks for GLFW_BUILD_LINUX_JOYSTICK, which is actually defined.

@TheBrokenRail I actually noticed this issue before you when debugging the lack of controller detection on Minecraft with the MidnightControls mod, but didn't PR it soon enough :frog:

Any update on this or my other PR?

Thank you so much for this fix!

repo: glfw/glfw

license: Zlib


text:
Gradient fade support

We're using a gradient fade to truncate text in some of our cells, but we're running into some issues because the canvas needs‡ to know the cell's background color. We've been able to approximate what the background should be using the highlighted property from DrawArgs, but once highlighting is combined with custom background colors or various gridSelections, this breaks down. Would it be possible to provide the "flattened" background color in DrawArgs?
https://user-images.githubusercontent.com/94077014/200645895-9e57d93a-57c5-4ff4-acf9-e95b25cd6275.mp4
‡ There isn't a way to draw with a gradient mask in canvas directly, but one way to achieve that is to draw into an offscreen canvas, apply the gradient with the right globalCompositeOperation, then pull that out as an image and draw it to the onscreen canvas. https://stackoverflow.com/a/28779849 We could go with this approach, but I think the performance would be far worse than drawing the colored overlay over the cell directly.

instead of overdrawing the cell, fill the text with a gradient that fades out at the end.

authors: jassmith pzcfg

repo: glideapps/glide-data-grid


text:
Revert "use the js rng for map gen"

Reverts glmcdona/LuxPythonEnvGym#65.
Reverting this for now. Looks like it may have created a couple errors.
glmcdona@CPU2:~/LuxPythonEnvGym$ python3.7 ./examples/train.py --id=0 --learning_rate=0.001 --step_count=10000000 --gamma=0.999 --batch_size=4096
Traceback (most recent call last):
  File "./examples/train.py", line 14, in <module>
    from luxai2021.env.lux_env import LuxEnvironment
  File "/usr/local/lib/python3.7/dist-packages/luxai2021-0.1.0-py3.7.egg/luxai2021/env/lux_env.py", line 6, in <module>
    from ..game.game import Game
  File "/usr/local/lib/python3.7/dist-packages/luxai2021-0.1.0-py3.7.egg/luxai2021/game/game.py", line 10, in <module>
    from .game_map import GameMap
  File "/usr/local/lib/python3.7/dist-packages/luxai2021-0.1.0-py3.7.egg/luxai2021/game/game_map.py", line 4, in <module>
    from luxai2021.env.rng.rng import get_n_values
ModuleNotFoundError: No module named 'luxai2021.env.rng'

oh wait how do you install the lux ai env? I ran pip install -e . from the root directory so that luxai2021 is recognized as a package (although locally developed)

@StoneT2000. I had just done python setup.py install instead of pip install. Maybe that's the issue. I'm out with family right now, and will have a closer look at it tonight when I'm back on. Just wanted to be sure the repo is not in a broken state since most kaggle notebooks pull the main branch each run.

ah okay I think if this was pushed to the python package system maybe it's okay, but this works too

repo: glmcdona/LuxPythonEnvGym


text:
🛑 Redmine is down

In 030cda8, Redmine ($SITE_3) was down:

HTTP code: 503
Response time: 284 ms

Resolved: Redmine is back up in 81f671a after 14 hours, 22 minutes.

repo: glo-markoaular/status-navigate


text:
[143] feat: questions section navigation (privacy still WIP)

Description
Please include a summary of the change. Please also include relevant motivation and context. List any dependencies that are required for this change.
Closes #143
Instructions:

Click on any section of the form. Use the form nav buttons to move to adjacent forms or back to site overview. Use save button to save the form (moved to top of form, removed submit button)
Notice that when on the first of last form, the next and previous buttons disable when appropriate

Note that privacy functionality is WIP. That needs some schema/ backend thinking through, so will be another ticket

Forward/back arrows don't work in mobile view

broken forward/backward arrows for mobile view

Good catch. Thanks! Fixed it.

authors: julia-rom mmnoo

repo: globalmangrovewatch/gmw-users


text:
update to go mod

Update to use go modules

Thanks for your contribution! This issue has been solved in another pull request.

authors: mbenford vdepatla

repo: globocom/prettylog


text:
Adds exception handling to the CLI layer

Ignores exceptions thrown when trying to auto-introspect an AP.  The errors will be explicitly thrown when trying to use the created ActionClient
Supports GlobusAPIErrors in printing functions
Request details now print to stderr so that tools like jq can parse command output when the verbosity flag is set

This looks great, really clean implementation

Pinging on this to give folks with bandwidth a chance to take a look at this before merging.

authors: jakeglobus urimandujano

repo: globus/globus-automate-client


text:
Client updates to allow Fail states in Flows

This PR:

Updates the local copy of the Flows service OpenAPI spec to include the new Fail state
Adds a new example Flow [failed-consent] to demonstrate how you can plug a Fail state into a Flow definition
Updates the CLI documentation (it had been a while since we did this)
Updates docs to reference supporting the new Fail state
Adds a page to the docs that links to our GH repo flow examples

@jimPruyne did you get a chance to take another look at this?


text:
Added support for configuration from ENV

Thank you so much for your work on this project! I love it and use it every day.
In an effort to make execution in a docker container simpler and easier, I've added support for configuration via environment variables that can be set by a container orchestrator often more conveniently than command-line options can be set. My current docker container for this app hacks environment support on top of the current release, but I thought adding it to the source would be cleaner, and make it simpler to define a dockerfile for.
I'd love to go ahead and define a Docker container for this project as well, but I wanted to offer this change up first to get your feedback before I start on the dockerfile.

If the environment variables are evaluated in no_config_callback and not in the Click context then type enforcement is lost and need to be manually checked and inserted into the Click context. Is this what you'd prefer to the Click defaults? For reference the lambdas are what the Click docs recommend. I tried using Click's envvar kwarg, but learned that it isn't supported for this mix of arguments and options.

Can't you use the type_cast_value function for casting the environment values?https://github.com/Cronocide/gamdl/blob/733a4bb2c61d9ce06dd186a65ab6c33178aaeb43/gamdl/cli.py#L43

Like this? Env variables can configure the script in conjunction with a config file or CLI parameters.

Yes 👍 that should do the job

authors: Cronocide glomatico

repo: glomatico/gamdl


text:
(Linux)undefined reference to `Java_com_sun_management_internal_OperatingSystemImpl_initialize0'

platform：
wsl2 debian12
gcc version:
gcc version 12.2.0 (Debian 12.2.0-14)
ld version:
GNU ld (GNU Binutils for Debian) 2.4
graalvm version:
java version "21.0.1" 2023-10-17
Java(TM) SE Runtime Environment Oracle GraalVM 21.0.1+12.1 (build 21.0.1+12-jvmci-23.1-b19)
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 21.0.1+12.1 (build 21.0.1+12-jvmci-23.1-b19, mixed mode, sharing)
my pom.xml:
<plugin>
                <groupId>com.gluonhq</groupId>
                <artifactId>gluonfx-maven-plugin</artifactId>
                <version>${gluonfx.plugin.version}</version>
                <configuration>
                    <mainClass>org.imtp.client.MainApp</mainClass>
                    <attachList>
                        <list>display</list>
                        <list>lifecycle</list>
                        <list>statusbar</list>
                        <list>storage</list>
                    </attachList>
                    <nativeImageArgs>
                        <nativeImageArg>-H:TraceClassInitialization=true</nativeImageArg>
                        <nativeImageArg>--initialize-at-build-time=ch.qos.logback.core.pattern.parser.Parser,ch.qos.logback.core.util.StatusPrinter,ch.qos.logback.core.util.Loader,org.slf4j.impl.StaticLoggerBinder,org.slf4j.LoggerFactory,ch.qos.logback.classic.Logger,ch.qos.logback.core.spi.AppenderAttachableImpl,ch.qos.logback.core.status.StatusBase,ch.qos.logback.classic.Level,ch.qos.logback.core.status.InfoStatus,ch.qos.logback.classic.PatternLayout,ch.qos.logback.core.CoreConstants</nativeImageArg>
                        <nativeImageArg>--trace-class-initialization=ch.qos.logback.classic.Level,ch.qos.logback.core.util.Loader,ch.qos.logback.core.util.StatusPrinter,ch.qos.logback.core.CoreConstants,ch.qos.logback.classic.Logger,ch.qos.logback.core.pattern.parser.Parser</nativeImageArg>
                        <nativeImageArg>--initialize-at-run-time=io.netty.channel.AbstractChannel</nativeImageArg>
                    </nativeImageArgs>
                    <reflectionList>
                        <list>org.imtp.client.controller.LoginController</list>
                        <list>org.imtp.client.controller.HomeController</list>
                        <list>org.imtp.client.controller.UserSessionController</list>
                        <list>org.imtp.client.controller.UserSessionItemController</list>
                        <list>org.imtp.client.controller.ChatController</list>
                        <list>org.imtp.client.controller.ChatItemController</list>
                        <list>org.imtp.client.controller.UserFriendController</list>
                        <list>org.imtp.client.controller.UserFriendItemController</list>
                        <list>org.imtp.client.controller.UserFriendDetailsController</list>
                        <list>org.imtp.client.controller.UserGroupController</list>
                        <list>org.imtp.client.controller.UserGroupDetailsController</list>
                        <list>org.imtp.client.controller.UserGroupItemController</list>
                        <list>org.imtp.client.controller.ChatEmojiDialog</list>
                    </reflectionList>
                    <!-- <bundlesList>
                        <list>com.sun.glass.ui.win</list>
                    </bundlesList> -->
                    <linkerArgs>
                        <arg>management_ext.lib</arg>
                        <arg>psapi.lib</arg>
                    </linkerArgs>
                </configuration>
            </plugin>

native build Linking failed:
Process
=======
link

Command Line
============
gcc /root/dev/java-project/imtp/client/target/gluonfx/x86_64-linux/gvm/client/launcher.o /root/dev/java-project/imtp/client/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1719641510646/org.imtp.client.mainapp.o /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libjava.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libnio.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libzip.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libnet.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libprefs.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libj2pkcs11.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libextnet.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libfontmanager.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libjavajpeg.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/liblcms.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libawt_headless.a /opt/graalvm-jdk-21.0.1+12.1/lib/static/linux-amd64/glibc/libawt.a -l:libjvm.a -l:liblibchelper.a -lz -ldl -lstdc++ -lpthread -Wl,--wrap=pow -rdynamic -lprism_es2 -lglass -lglassgtk3 -ljavafx_font -ljavafx_font_freetype -ljavafx_font_pango -ljavafx_iio -lgstreamer-lite -lavcodec -lavformat -lavutil -lasound -Wl,--no-whole-archive -lGL -lX11 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lstdc++ -lz -lXtst -lm -lgmodule-2.0 -pthread -lglib-2.0 -lm -ldl -o /root/dev/java-project/imtp/client/target/gluonfx/x86_64-linux/client -L/opt/graalvm-jdk-21.0.1+12.1/lib/svm/clibraries/linux-amd64 -L/root/.gluon/substrate/javafxStaticSdk/21-ea+11.1/linux-x86_64/sdk/lib

Output
======
/usr/bin/ld: warning: /root/dev/java-project/imtp/client/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1719641510646/org.imtp.client.mainapp.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
/usr/bin/ld: /root/dev/java-project/imtp/client/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1719641510646/org.imtp.client.mainapp.o: warning: relocation in read-only section `.svm_heap'
/usr/bin/ld: /root/dev/java-project/imtp/client/target/gluonfx/x86_64-linux/gvm/tmp/SVM-1719641510646/org.imtp.client.mainapp.o:(.data+0xfe8): undefined reference to `Java_com_sun_management_internal_OperatingSystemImpl_initialize0'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status

Result
======
result: 1

https://github.com/gluonhq/gluonfx-maven-plugin/issues/477#issuecomment-1678480928 We solved it with this

repo: gluonhq/gluonfx-maven-plugin


text:
s3 auth failed.

use gk-deploy deploy the gluster-s3 on native k8s. Can't pass the test.
all pod runing.
kubectl get pod
NAME                                     READY   STATUS    RESTARTS   AGE
gluster-s3-deployment-74cf744cd6-n4tcx   1/1     Running   0          18h
glusterfs-254w6                          1/1     Running   0          18h
glusterfs-lhzn6                          1/1     Running   0          18h
glusterfs-r8w4d                          1/1     Running   0          18h
heketi-7495cdc5fd-44t58                  1/1     Running   0          18h

the pod gluster-s3-depolyment env:
kubectl exec gluster-s3-deployment-74cf744cd6-n4tcx -- env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=gluster-s3-deployment-74cf744cd6-n4tcx
S3_ACCOUNT=adminuser
S3_USER=testuser
S3_PASSWORD=mypassword
...

test with s3curl according doc:
./s3curl.pl --debug --id "adminuser:testuser" --key "mypassword"  --put /dev/null  -- -k -v  http://10.233.57.191:8080/bucket1
WARNING: It isn't safe to put your AWS secret access key on the
command line!  The recommended key management system is to store
your AWS secret access keys in a file owned by, and only readable
by you.

For example:

%awsSecretAccessKeys = (
    # personal account
    personal => {
        id => '1ME55KNV6SBTR7EXG0R2',
        key => 'zyMrlZUKeG9UcYpwzlPko/+Ciu0K2co0duRM3fhi',
    },

    # corporate account
    company => {
        id => '1ATXQ3HHA59CYF1CVS02',
        key => 'WQY4SrSS95pJUT95V6zWea01gBKBCL6PI0cdxeH8',
    },
);

$ chmod 600 /home/vagrant/.s3curl

Will sleep and continue despite this problem.
Please set up /home/vagrant/.s3curl for future requests.
s3curl: Found the url: host=10.233.57.191; port=8080; uri=/bucket1; query=;
s3curl: cname endpoint signing case
s3curl: StringToSign='PUT\n\n\n四, 31 1月 2019 03:42:46 +0000\n/10.233.57.191/bucket1'
s3curl: exec curl -H Date: 四, 31 1月 2019 03:42:46 +0000 -H Authorization: AWS adminuser:testuser:F0T7Qxpkdm/eW7oDg1C7whjynUI= -L -H content-type:  -T /dev/null -k -v http://10.233.57.191:8080/bucket1
* About to connect() to 10.233.57.191 port 8080 (#0)
*   Trying 10.233.57.191...
* Connected to 10.233.57.191 (10.233.57.191) port 8080 (#0)
> PUT /bucket1 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 10.233.57.191:8080
> Accept: */*
> Transfer-Encoding: chunked
> Date: 四, 31 1月 2019 03:42:46 +0000
> Authorization: AWS adminuser:testuser:F0T7Qxpkdm/eW7oDg1C7whjynUI=
> Expect: 100-continue
>
< HTTP/1.1 403 Forbidden
< x-amz-id-2: tx37593cc66c694810b5e64-005c526eb6
< x-amz-request-id: tx37593cc66c694810b5e64-005c526eb6
< Content-Type: application/xml
< X-Trans-Id: tx37593cc66c694810b5e64-005c526eb6
< X-Openstack-Request-Id: tx37593cc66c694810b5e64-005c526eb6
< Date: Thu, 31 Jan 2019 03:42:46 GMT
< Transfer-Encoding: chunked
* HTTP error before end of send, stop sending
<
<?xml version='1.0' encoding='UTF-8'?>
* Closing connection 0
<Error>AccessDenied<Message>AWS authentication requires a valid Date or x-amz-date header</Message><RequestId>tx37593cc66c694810b5e64-005c526eb6</RequestId></Error>

Check whether you have updated s3curl.pl with updated endpoints as stated here:
https://github.com/gluster/gluster-kubernetes/blob/master/docs/examples/gluster-s3-storage-template/README.md#s3curlpl-for-testing
In your case endpoints looks like: 10.233.57.191:8080

The problem seems cause by date format. I also try another s3 client like
awscli. Use accessid “administer:testuser “/mypassword. But I got auth
failed too.
YongGuang Chen yongguang.chen@gmail.com于2019年2月4日 周一上午9:23写道：

yes. Since I use nodeport expose the service, so I update s3curl use the
nodeport as endpoint.
Saravanakumar Arumugam notifications@github.com于2019年2月1日 周五上午9:02写道：

Check whether you have updated s3curl.pl with updated endpoints as
stated here:
https://github.com/gluster/gluster-kubernetes/blob/master/docs/examples/gluster-s3-storage-template/README.md#s3curlpl-for-testing
In your case endpoints looks like: 10.233.57.191:8080
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gluster/gluster-kubernetes/issues/561#issuecomment-459566884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APRMhEqRdMVgXZB1BxqNQba3ZRsrAyO3ks5vI5JBgaJpZM4abj-o
.

The problem seems cause by date format. I also try another s3 client like awscli. Use accessid “administer:testuser “/mypassword. But I got auth failed too. YongGuang Chen yongguang.chen@gmail.com于2019年2月4日 周一上午9:23写道：
…

Do you mean adminuser here (administer mentioned above)?
Anyway,  Could you check systemctl status in the gluster-s3 pod above ?
It should have swift services running properly.

Check whether you have updated s3curl.pl with updated endpoints as stated here:
https://github.com/gluster/gluster-kubernetes/blob/master/docs/examples/gluster-s3-storage-template/README.md#s3curlpl-for-testing
In your case endpoints looks like: 10.233.57.191:8080

Could you try with IP address only (removing the port number in endpoint) ?
I think this should solve the issue.

yes. Tested with IP 10.233.57.191. The error is the same.
The response is corect to connect to service endpoint but  failed by data format.
I'll try other aws client like awscli/s3cmd. Does I should use "adminuser:testuser" as accessid, and "mypassword" as secret?
attach s3curl.perl snippet:
# begin customizing here
my @endpoints = ( '10.233.57.191');

my $CURL = "curl";

# stop customizing here

output:
s3curl: Found the url: host=10.233.57.191; port=8080; uri=/bucket1; query=;
s3curl: ordinary endpoint signing case
s3curl: StringToSign='PUT\n\n\n一, 11 2月 2019 02:34:02 +0000\n/bucket1'
s3curl: exec curl -H Date: 一, 11 2月 2019 02:34:02 +0000 -H Authorization: AWS adminuser:testuser:4/Uhzm7K550dA5KfoVYNtXKL1xw= -L -H content-type:  -T /dev/null -k -v http://10.233.57.191:8080/bucket1
* About to connect() to 10.233.57.191 port 8080 (#0)
*   Trying 10.233.57.191...
* Connected to 10.233.57.191 (10.233.57.191) port 8080 (#0)
> PUT /bucket1 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 10.233.57.191:8080
> Accept: */*
> Transfer-Encoding: chunked
> Date: 一, 11 2月 2019 02:34:02 +0000
> Authorization: AWS adminuser:testuser:4/Uhzm7K550dA5KfoVYNtXKL1xw=
> Expect: 100-continue
>
< HTTP/1.1 403 Forbidden
< x-amz-id-2: tx2536f7ba74fa4eadbf4cb-005c60df1a
< x-amz-request-id: tx2536f7ba74fa4eadbf4cb-005c60df1a
< Content-Type: application/xml
< X-Trans-Id: tx2536f7ba74fa4eadbf4cb-005c60df1a
< X-Openstack-Request-Id: tx2536f7ba74fa4eadbf4cb-005c60df1a
< Date: Mon, 11 Feb 2019 02:34:02 GMT
< Transfer-Encoding: chunked
* HTTP error before end of send, stop sending
<
<?xml version='1.0' encoding='UTF-8'?>
* Closing connection 0
<Error>AccessDenied<Message>AWS authentication requires a valid Date or x-amz-date header</Message><RequestId>tx2536f7ba74fa4eadbf4cb-005c60df1a</RequestId></Error>

The problem seems cause by date format. I also try another s3 client like awscli. Use accessid “administer:testuser “/mypassword. But I got auth failed too. YongGuang Chen yongguang.chen@gmail.com于2019年2月4日 周一上午9:23写道：
…

Do you mean adminuser here (administer mentioned above)?
Anyway, Could you check systemctl status in the gluster-s3 pod above ?
It should have swift services running properly.

systemctl status swift-proxy.service
● swift-proxy.service - Swift Proxy Service
   Loaded: loaded (/usr/lib/systemd/system/swift-proxy.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2019-02-11 02:12:01 UTC; 45min ago
 Main PID: 248 (python)
   CGroup: /kubepods/besteffort/pod618f3db2-2472-11e9-9488-0800278bc93f/66513518262e8e01fa2c73a81ce3bd42925bd3af29fcc6b1a3e48413e3d5c43f/system.slice/swift-proxy.service
           ├─248 /usr/bin/python /usr/bin/swift-proxy-server /etc/swift/proxy...
           └─274 /usr/bin/python /usr/bin/swift-proxy-server /etc/swift/proxy...

Feb 11 02:12:01 gluster-s3-deployment-74cf744cd6-n4tcx systemd[1]: Started Sw...
Hint: Some lines were ellipsized, use -l to show in full.

test with aws cli:
aws configure
aws configure
AWS Access Key ID: adminuser:testuser
AWS Secret Access Key:  mypassword
Default region name:  us-east-1
Default output format: None

aws configure set default.s3.signature_version s3v4
aws --endpoint-url http://10.233.57.191:8080 s3 ls

An error occurred (SignatureDoesNotMatch) when calling the ListBuckets operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.

What's the problem? When use swift, how to configure the aws cli?
Thanks!

attach s3curl.perl snippet:

yes. Tested with IP 10.233.57.191. The error is the same.
The response is corect to connect to service endpoint but failed by data format.
I'll try other aws client like awscli/s3cmd. Does I should use "adminuser:testuser" as accessid, and "mypassword" as secret?
attach s3curl.perl snippet:
# begin customizing here
my @endpoints = ( '10.233.57.191');

my $CURL = "curl";

# stop customizing here

In addition to the above changes, carry out additional change:
You need to comment out:

#my $htDate = POSIX::strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime);

and replace it with

my $httpDate = time2str();

Also, add the below line at the top of the file:

use HTTP::Date;

Try this change and report back.

attach s3curl.perl snippet:

yes. Tested with IP 10.233.57.191. The error is the same.
The response is corect to connect to service endpoint but failed by data format.
I'll try other aws client like awscli/s3cmd. Does I should use "adminuser:testuser" as accessid, and "mypassword" as secret?
attach s3curl.perl snippet:
# begin customizing here
my @endpoints = ( '10.233.57.191');

my $CURL = "curl";

# stop customizing here

In addition to the above changes, carry out additional change:
You need to comment out:

#my $htDate = POSIX::strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime);

and replace it with

my $httpDate = time2str();

Also, add the below line at the top of the file:

use HTTP::Date;

Try this change and report back.

change and test.
s3curl test OK!  Thanks @SaravanaStorageNetwork
But how can I use  another s3 client like aws cli?  Which AWSAcessKeyId and Secret should I use to aceess s3 service？The question I mention above. Or, Should I close the issue and open a new issue?

change and test.
s3curl test OK! Thanks @SaravanaStorageNetwork

Thank you for reporting back!

But how can I use another s3 client like aws cli?

I have not tested with s3 client like aws cli.
unlike s3curl.pl I am not sure whether it supports editing endpoints.

Which AWSAcessKeyId and Secret should I use to aceess s3 service？The question I mention above. Or, Should I close the issue and open a new issue?

You could try similar to this and check. Please close this issue.
Thanks!

repo: gluster/gluster-kubernetes


text:
无法统计非本机流量

可以连接，但是无法显示远程的用户连接数和流量统计
使用glzjin/shadowsocks的程序
下面是userapiconfig.py的配置
# Config
NODE_ID = 4

#hour,set 0 to disable
SPEEDTEST = 6
CLOUDSAFE = 1
ANTISSATTACK = 0
AUTOEXEC = 0
MULTI_THREAD = 0

SERVER_PUB_ADDR = '127.0.0.1' # mujson_mgr need this to generate ssr link
API_INTERFACE = 'glzjinmod' #mudbjson, sspanelv2, sspanelv3, sspanelv3ssr, muapiv2(not support)

#mudb
MUDB_FILE = 'mudb.json'

# Mysql
MYSQL_HOST = '64.137.174.xxx'
MYSQL_PORT = 3306
MYSQL_USER = 'xxxx'
MYSQL_PASS = 'xxx'
MYSQL_DB = 'xxxxx'
MYSQL_UPDATE_TIME = 60

MYSQL_SSL_ENABLE = 0
MYSQL_SSL_CA = ''
MYSQL_SSL_CERT = ''
MYSQL_SSL_KEY = ''

# API
API_HOST = 'https://ss.lingyue.ml'
API_PORT = 443
API_PATH = '/mu/v2/'
API_TOKEN = 'xxxxxx'
API_UPDATE_TIME = 60

# Manager (ignore this)
MANAGE_PASS = 'ss233333333'
#if you want manage in other server you should set this value to global ip
MANAGE_BIND_IP = '127.0.0.1'
#make sure this port is idle
MANAGE_PORT = 23333

网站： https://ss.lingyue.ml

可以请问一下你的邮箱设置么，smtp该怎么设置呢

smtp 的问题你可以自己去 issue 里面搜索有没有相关回答，或者新开一个 issue

后端日志能发一下吗

INFO: loading config from user-config.json
Exception in thread autoblock:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/root/shadowsocks/auto_block.py", line 39, in auto_block_thread
    start_line = file_len("/etc/hosts.deny")
  File "/root/shadowsocks/auto_block.py", line 33, in file_len
    return i + 1
UnboundLocalError: local variable 'i' referenced before assignment

INFO: loading config from user-config.json
Exception in thread autoblock:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/root/shadowsocks/auto_block.py", line 39, in auto_block_thread
    start_line = file_len("/etc/hosts.deny")
  File "/root/shadowsocks/auto_block.py", line 33, in file_len
    return i + 1
UnboundLocalError: local variable 'i' referenced before assignment

2016-08-27 23:12:47 INFO     util.py:85 loading libcrypto from libcrypto.so.10
2016-08-27 23:12:48 INFO     asyncdns.py:324 dns server: [('8.8.8.8', 53), ('8.8.4.4', 53)]
2016-08-27 23:12:49 INFO     db_transfer.py:411 db start server at port [10025] pass [xxxxxx] protocol [auth_sha1_v2_compatible] obfs [tls1.2_ticket_auth_compatible]
2016-08-27 23:12:49 INFO     server_pool.py:137 starting server at [::]:10025
2016-08-27 23:12:49 INFO     server_pool.py:163 starting server at 0.0.0.0:10025
2016-08-27 23:12:49 INFO     db_transfer.py:411 db start server at port [13018] pass [xxxxxx] protocol [origin] obfs [plain]
2016-08-27 23:12:49 INFO     server_pool.py:137 starting server at [::]:13018
2016-08-27 23:12:49 INFO     server_pool.py:163 starting server at 0.0.0.0:13018
2016-08-27 23:12:49 INFO     db_transfer.py:411 db start server at port [48095] pass [xxxxxx] protocol [origin] obfs [plain]
2016-08-27 23:12:49 INFO     server_pool.py:137 starting server at [::]:48095

能问一下你的支付接口怎么做的吗

有教程链接也好

？？？我没有弄支付接口啊...

authors: WhoRUa glzjin shenlw shenlw66 sunnoy

license: mit


text:
Applying the model - hard sigmoid on the logits?

Hi both,
Thanks for sharing this great tool!
I am wondering whether my application of the large model is correct as it is leading to a strange distribution of scores.
I am processing the logits with a hard sigmoid but not sure if this is the right approach?
from transformers import XLMRobertaForSequenceClassification, XLMRobertaTokenizer
def hard_sigmoid(logits):
    return torch.clamp((logits + 1) / 2, min=0, max=1)

model_path = ".../XLM-RoBERTa-large MSE"

model = XLMRobertaForSequenceClassification.from_pretrained(model_path)
tokenizer = XLMRobertaTokenizer.from_pretrained(model_path, local_files_only=True)

inputs = tokenizer(text, padding=True, truncation=True, max_length=128, return_tensors="pt")
outputs = model(**inputs)
logits = outputs.logits
scores = hard_sigmoid(logits).detach().numpy()

The scores seem to make sense but are yielding a strange distribution:

Any help would be really appreciated. Thanks!

In the end, I found that using a standard sigmoid led to a normal-ish distribution:


text:
🛑 入口網站 is down

In 123ec9a, 入口網站 (https://nportal.ntut.edu.tw/index.do) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 入口網站 is back up in 3941bf0.

repo: gnehs/ntut-uptime


text:
🛑 Blog is down

In c1d5c34, Blog (https://blog.goodnewsfromindonesia.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Blog is back up in c7288e8 after 24 minutes.

repo: gnfi/status


text:
Support non-uniswap pools for quasimodo price estimator

Right now we only consider uniswap v2 pools for quasimodo price estimator. This happened because we use different representations for liquidity in the orderbook and solver crates, so supporting other pools is somewhat difficult. Once pool representations are unified, we can support all of them. Alternatively, we can try to add support for paraswap before that happens.

:100:

authors: nlordell taminomara


text:
fix: add flag parse

:heavy_check_mark: Checklist:

[ ] Have only one commit (if not, squash them into one commit)
[ ] Tests for the changes have been added (for features / bug fixes / refactoring)

Codecov Report

Merging #286 (a9b5f23) into main (de73ba7) will not change coverage.
The diff coverage is 57.19%.

@@           Coverage Diff           @@
##             main     #286   +/-   ##
=======================================
  Coverage   61.25%   61.25%
=======================================
  Files           7        7
  Lines         382      382
=======================================
  Hits          234      234
  Misses        146      146
  Partials        2        2

Impacted Files
Coverage Δ

internal/api/api.go
100.00% <ø> (ø)

internal/api/find.go
28.57% <33.33%> (ø)

internal/api/build.go
44.50% <44.50%> (ø)

internal/parse/parse.go
89.70% <89.70%> (ø)

internal/read/read.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea2eada...a9b5f23. Read the comment docs.

authors: codecov-commenter sashamelentyev

repo: go-dummy/dummy


text:
How to disable output of dictionary loading?

There always output information about dictionary loading
2023/01/07 23:04:15 Dict files path:  [./xxx]
2023/01/07 23:04:15 Load the gse dictionary: "./xxx"
2023/01/07 23:04:15 Gse dictionary loaded finished.
2023/01/07 23:04:15 Dict files path:  [./xxx]
2023/01/07 23:04:15 Load the gse dictionary: "./xxx"
2023/01/07 23:04:15 Gse dictionary loaded finished.
2023/01/07 23:04:15 Load the stop word dictionary: "./xxx"
2023/01/07 23:04:15 Dict files path:  [./xxx]
2023/01/07 23:04:15 Load the gse dictionary: "./xxx"
2023/01/07 23:04:15 Gse dictionary loaded finished.
2023/01/07 23:04:15 Dict files path:  [./xxx]
2023/01/07 23:04:15 Load the gse dictionary: "./xxx"
2023/01/07 23:04:15 Gse dictionary loaded finished.
2023/01/07 23:04:15 Load the stop word dictionary: "./xxx"

My codes as below
	segmenter, err := gse.NewEmbed(static.DictFile)
	segmenter.LoadStopEmbed(static.StopFile)
	segmenter.MoreLog = false  <-- seems no usable
	segmenter.SkipLog = true  <-- seems no usable

Is there any option to disable output such info?

You used seg.LoadDict() in the others function, You should used seg.SkipLog = true first, then load the dictionary.

Thanks.

authors: leopku vcaesar

repo: go-ego/gse


text:
Generate Metrics for Monitoring

Describe the solution you'd like
Support both:

Prometheus metric endpoint
opentelemetry-metrics

Additional context
OpenTelemetry library support Prometheus-Exporter

@wrenix This should be handled by the solution in #207 I'd imagine.
What specifically would you like to be exported to prometheus beyond what is provided by OTEL already?

authors: adreasnow wrenix

repo: go-fuego/fuego


text:
Signal 15?

My gitea log is filled with these, is this normal?

Gitea version? OS? Docker image?

Gitea version? OS? Docker image?

Sorry, I thought the Gitea version being in the screenshot would be enough.
Gitea Version: 1.12 Dev
OS: Docker Desktop for Windows
Yes, it's a Docker image, from the gitea/gitea repo

It's not normal no and gitea is constantly restarting for some reason.

If anyone needs any more information to help me sort this out, please just say what is needed; I'm not a techy type of person, so I have no idea where to start or what's needed.

@YouveGotMeowxy Can you please create an example in try.gitea.io? It's our public test site and it always runs the nigthtly build from Gitea.

So I think this is more likely to be a configuration issue.
@YouveGotMeowxy could you please post a suitably sanitised copy of your app.ini?
Please describe your setup of Gitea and where and how you've configured its directories including the log directories, and finally that you've confirmed the Gitea process owns all of the appropriate directories. The final thing to ensure is that you're definitely not trying to open Gitea on a port below 1024.

@zeripath Here's my docker compose for gitea:
version: '2'

services:

    gitea:
        image: 'gitea/gitea:latest'
        container_name: gitea
        environment:
            - TZ='America/Chicago'
            - PUID=197609
            - PGID=197121
        volumes:
            - 'my_gitea_data:/data'
        restart: unless-stopped
        networks:
            - default

networks:
    default:
        external:
            name: my-coding

I don't open any ports on the host.
Here's my app.ini
APP_NAME = Gitea: Git with a cup of tea
RUN_MODE = prod
RUN_USER = git

[repository]
ROOT = /data/git/repositories

[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo

[repository.upload]
TEMP_PATH = /data/gitea/uploads
; Max number of files per upload. Defaults to 5
MAX_FILES = 500
[server]
APP_DATA_PATH    = /data/gitea
SSH_DOMAIN       = my.domain.com
HTTP_PORT        = 3000
ROOT_URL         = https://my.domain.com:4222/gitea
DISABLE_SSH      = false
SSH_PORT         = 22
LFS_CONTENT_PATH = /data/git/lfs
DOMAIN           = my.domain.com
LFS_START_SERVER = true
LFS_JWT_SECRET   = B4Y0nretretretretretretret
OFFLINE_MODE     = false

[database]
PATH     = /data/gitea/gitea.db
DB_TYPE  = sqlite3
HOST     = localhost:3306
NAME     = gitea
USER     = root
PASSWD   =
SSL_MODE = disable

[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve

[session]
PROVIDER_CONFIG = /data/gitea/sessions
PROVIDER        = file

[picture]
AVATAR_UPLOAD_PATH      = /data/gitea/avatars
DISABLE_GRAVATAR        = false
ENABLE_FEDERATED_AVATAR = true

[attachment]
PATH = /data/gitea/attachments

[log]
ROOT_PATH = /data/gitea/log
MODE      = file
LEVEL     = info

[security]
INSTALL_LOCK   = true
SECRET_KEY     = retetretrero97
INTERNAL_TOKEN = dsfsdfJoCSv0

[service]
DISABLE_REGISTRATION              = true
REQUIRE_SIGNIN_VIEW               = true
REGISTER_EMAIL_CONFIRM            = false
ENABLE_NOTIFY_MAIL                = false
ALLOW_ONLY_EXTERNAL_REGISTRATION  = false
ENABLE_CAPTCHA                    = false
DEFAULT_KEEP_EMAIL_PRIVATE        = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = false
DEFAULT_ENABLE_TIMETRACKING       = true
NO_REPLY_ADDRESS                  = noreply.here.com

[oauth2]
JWT_SECRET = 4XYPNfAjTg

[mailer]
ENABLED = false

[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = false

[ui]
DEFAULT_THEME = arc-green

[metrics]
ENABLED = true

[i18n]
LANGS = en-US
NAMES = English

[i18n.datelang]
en-US = en

Other than that I haven't done anything special as far as changing anything else.

Ok, first switch your logging config to console and ramp it up to debug or even trace. Send the xorm logs to the console too with Xorm = console

@zeripath Tyvm for helping me out, I appreciate it beyond words. :)
So, I went to try to edit the app.ini to add your suggestions, and I saw that I'm getting a new error instead:

"Git module init failed: Failed to execute 'git config --global core.quotepath false': error: failed to write new configuration file /data/git/.gitconfig.lock"

After some Googling, I saw something similar in a Gogs issue thread, and one comment said he was getting the error due to running out of disk space. So I checked how much disk space was allocate to the Hyper-V machine for my Docker and it was using like 58.6/59GB. eek. So I changed from 59gb to 80 and restarted my windows machine.
I don't know whether or not my original problem is solved by that however, because I still can't even SSH into the gitea container due to the same error mentioned above. arrrgh
When I try to SSH into the container, (using Portainer) I get this:

And during that same time, doing a docker ps shows this:

I have read in some other cases, that simply deleting a .lock file can fix things like this, I don't know whether or not that would work in this case, but I can't even try it because I can't get into the container.  :/

Update:
After re-sizing my Hyper-V VM to 100 gb, a bunch of issues with docker were fixed, but I'm still having the same issue with Gitea stopping and starting repeatedly. After adding everything except the "xorm" flag to my app.ini (not sure which section to put it under?), my log now floods me with this:

The strange thing is I can still login to the Gitea page and navigate around as usual (while the container is briefly up; it goes up and down roughly every 30 seconds).
Any ideas?

You need to delete the broken queue files in your /data/queues

I deleted all of those folders, then started getting these:

Deleted THOSE folders, and now I think we're good! It's not restarting over and over anymore, and after a quick look-through it doesn't seem like I lost anything.
Thank you for the help! :D

authors: YouveGotMeowxy guillep2k lunny zeripath

repo: go-gitea/gitea


text:
[Bug] [UI] No Update-button on WIP pulls

as title
Gitea Version: 1.12.0+dev-72-g2c25e75dc

ping :)


text:
Bug: cannot upload .zip file in issue on Gitea.com on Windows10

Gitea version (or commit ref):the version of Gitea.com - go1.15.3
Operating system: failed on windows but succeeded on macOS

Can you reproduce the bug at https://gitea.com:

Yes

"allowed_types": "image/*,application/zip,application/gzip,application/octet-stream,text/plain",
curl -X GET "https://gitea.com/api/v1/settings/attachment" -H  "accept: application/json"

@6543 It seems that the application/zip doesn't work in windows. BTW, out of curiosity why the attachment types are different between issues and commits.

linux works too ... Tested it on Win10: I can confirm it - so its a Windows-Only-Problem

gitea.com's config needs to be updated to extension-based allowed types as per https://github.com/go-gitea/gitea/commit/cda44750cbdc7a8460666a4f0ac7f652d84a3964 to fix this. Or just use the defaults which match GH.

I have updated allowed_types to allow .zip on https://gitea.com . And please create issues on https://gitea.com/gitea/gitea.com if the issue is gitea.com special one.

@gymgym1212 can you confirm it works now?

Sorry for my silence, and it works now.


text:
Allow custom oauth

It would be nice if you could use a custom oauth config, like the Nextcloud Oauth plugin for example.
Specifically, I want to use mailcow as an oauth provider, but I think it would make more sense to make a general custom option instead of adding services one-by-one.

This is what OIDC is for, Oauth2 doesn't allow for a generic connector.

Some Web Apps offer custom oauth, you can then configure the URLs for profile and tokens. Also there should be a setting to specify which field should be used as the identity

see e.g. CodiMD / HedgeDoc


text:
Default branch can be missing on releases tab

Gitea version (or commit ref): 1.16.0+dev-209-g9fa6bdb64
Can you reproduce the bug at https://try.gitea.io: not sure, was noticed on https://gitea.com/xorm/xorm/releases

Description
Apparently, the default branch can be missing on the release page of projects.
This seems to be a backend issue because the generated link is https://gitea.com/xorm/xorm/compare/v1.2.2... as well and hence missing the branch to compare with.
When I disable JavaScript, the result is still the same.
Screenshots

maybe Target of these Release is missing in db. But don't know why.
hasen't found this bug on the latest commit (1.16.0+dev-239-g04b233e94)

Related to  #24470 and  #24148
I think this issue has been fixed.

authors: a1012112796 delvh wxiaoguang


text:
heatmap does not reflect all contributions

Description
No response
Gitea Version
1.17.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
This is what I can see from the dashboard:

But entering at that very same repo, I can see that more contributions have been made recently:

As it can be seen, the user is the same in both screenshots
Git Version
No response
Operating System
Linux
How are you running Gitea?
Self-hosted
Database
MySQL

Hello,
That may be related, but I'm witnessing the same kind of issue when just after logging in, and choosing the correct context, the displayed list is not showing anymore [1] the updated list of commits.
But when entering in each repo, the header line is showing the last commit action.
[1] This has worked for years, and stopped maybe around 1.17.something (let's say maybe 4 months ago)

It seems that your Git Hook doesn't work.
Could you try the FAQ first https://docs.gitea.io/en-us/faq/#push-hook--webhook-arent-running ?

I just noticed that it has not worked for me for a few months. Is there a way to display the missing months?

https://docs.gitea.io/en-us/faq/#push-hook--webhook-arent-running

authors: DocBrown101 daviddoji necarnot wxiaoguang


text:
Team members count is wrong and prevent from removing someone

Description
I don't know why but the member count is falty so i can't remove anyone from owner so do the ldap.
Some people owner of that group can't login and get a 500 error because ldap try to remove it from that team.
I found a workaround is to untick Remove users from synchronized teams if user does not belong to corresponding LDAP group in the ldap auth source that i use.
Gitea Version
1.19 and newer
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/3l0w/5ff078545a4074869f34c0838f9d79f8
Screenshots

Git Version
2.38.4, Wire Protocol Version 2 Enabled
Operating System
Debian GNU/Linux 12 (bookworm)
How are you running Gitea?
I am running gitea with a docker compose with the latest tag (i also try with the dev tag).
I use openldap as LDAP and traefik as reverse proxy
Database
MySQL

Could you run ./gitea doctor?

One reason is that the number of owner members is not 1, but in DB NumMembers = 1.
When NumMembers=1, nonmatter how many members belong to this owner team, LastOrgOwner check will not pass.
So you can not remove any owner members.

I have done nothing except upgrading to dev few days ago and run gitea doctor and the issue seems to be fixed


text:
No result in the Explorer page

Gitea version (or commit ref): 1.2.0+rc1
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Description
Hello,
since version 1.2.0+rc1, one dev of my team can't get any search result from the explorer page (/explore/repos).
I have one organization (MyAgency) and two users: me (admin) and my dev (owner). All the repositories were added into this organization.
I can search anything in the Explore page and find all the repositories. But my dev can't, whatever he searches. This used to work before the upgrade.
FYI, the search works fine for my dev from the right block on the homepage.
Thanks
Axel

@axeloz Can you try #2371?

Hello @Morlinest
I'm not sure what you want me to try. Do you want I apply the changes on the 14 modified files of the pull request ?

@axeloz Yes, I want you to try build gitea from that PR (apply changes or pull branch) and try if it solves your problem.

@Morlinest I'm not sure I'm willing to do so as I use Gitea in production.
I'll try to free some time to create a sandbox environment.

Sure, do it only if you can in safe env.

Which version of your browser? This cannot be reproduce in chrome on macOS.

@lunny I think this problem was solved.
@axeloz Can you confirm this?

authors: Morlinest axeloz lunny


text:
Error when pasting an attachment

Description
In issues, when I paste a screenshot, the attachment does not appear:

But in the project view, I can see the image:

Looks like the URL in the image src does not contain the base URL (/gitea/ in my case):

Gitea Version
1.21.4 built with GNU Make 4.3, go1.21.5 : bindata, sqlite, sqlite_unlock_notify
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.30.2, Wire Protocol Version 2 Enabled
Operating System
debian 11
How are you running Gitea?
Installation from binary
Database
MySQL/MariaDB

I would like to confirm this on our setup as well. Hit us when upgrading from 1.21.1 to 1.21.4.
Issues' and PR's image links suddenly ignore the root URL, which is a subpath in our case. Our ROOT_URL is https://subdomain.example.com/git/
Images are still there and valid accessible in the attached files section, where they take on the form of https://subdomain.example.com/git/attachments/<hash>. As mentioned by @CrowMash, the project cards respect this Root path. However, in PRs and Issues they turn into https://subdomain.example.com/attachments/<hash>
A backup is present, but still, is it safe to downgrade to solve this temporarily?

Maybe related with #26745  @KN4CK3R

Don't really know if it's related. The comment content code is here:
https://github.com/go-gitea/gitea/blob/3084c990b04aea16278f012da38152ada1290a0d/routers/web/repo/issue.go#L1620-L1627
And the change I did is here:
https://github.com/go-gitea/gitea/pull/26745/files#diff-dc86301f15109eee38296d469630672193e0587ad1485fdd8f503bf4c789cf7eL1603
So, nothing really changed to the path, both use ctx.Repo.RepoLink. Maybe something is wrong with that but in that case much more should be broken.

Found it... This line converts /attachments to attachments which does not resolve to the root of the url. Looks more like a workaround...

authors: CrowMash FrostKiwi KN4CK3R lunny


text:
Inline manifest.json

Improve performance by eliminating this separate request and just inline this small JSON in HTML directly as a data uri. Also, I've updated the previously static app name scripts to use AppName from config. theme_color is removed because it's duplicating with the existing meta tag.
I've confirmed this as working via "Add to Homescreen" feature which offered to save the shortcut under the new app name.

Is the data uri always going to work?

Yes, browsers are pretty much forced to implement data URIs if they want to conform.
We just need to be careful with data emitted in the string because it must be URL-escaped. I guess StaticUrlPrefix and AppSubUrl should generally only contain URL-safe characters but I guess we could also just escape them.

Okay everything is escaped now including the URLs. Browsers will URL-decode the string before parsing it is it's safe to do in all cases.

Is it possible keep the file but insert its contents directly into the attribute?
That way you can keep the endpoint around for those who don't update their templates

Can't insert the JSON as-is because it needs URL escaping and I'm generally leaning to not do for the sake of performance.
What is the issue exactly about people not updating their templates? I thought templates work by the way of inserting user content at strategic places in the HTML. How come a user would have these parts hardcoded in their template customization?

It could be put in bindata and load on template rendering if necessary.

I was thinking about generating it once on app startup and caching it in memory for even more speed, thought I guess the gains would be minimal.

Please resolve the conflicts.

What is the issue exactly about people not updating their templates? I thought templates work by the way of inserting user content at strategic places in the HTML. How come a user would have these parts hardcoded in their template customization?

I am keeping around a custom template.
What exactly would I have to update in my pwa/manifest_json.tmpl to make it work once this is merged?
From what I gathered I should be ok :D

Ah, so you are customizing the "private" templates, didn't know that was possible.
You can just delete it, it doesn't exist anymore after this change.

Ah, so you are customizing the "private" templates, didn't know that was possible.
You can just delete it, it doesn't exist anymore after this change.

well that's too bad because I'm doing a little customization in there, such as using relative /img references.

Ah, so you are customizing the "private" templates, didn't know that was possible.
You can just delete it, it doesn't exist anymore after this change.

well that's too bad because I'm doing a little customization in there, such as using relative /img references.

I think you could find other way to do that on Gitea.

Ah, so you are customizing the "private" templates, didn't know that was possible.
You can just delete it, it doesn't exist anymore after this change.

well that's too bad because I'm doing a little customization in there, such as using relative /img references.

I think you could find other way to do that on Gitea.

yeah, the expression will have to be replaced on the proxy.

authors: lunny silverwind wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf zeripath


text:
Remove vendored copy of fomantic-dropdown

jQuery 3.6.0 seems to have broke the dropdown focus handling (focus would get stuck on the dropdown) in this module which we have vendored on top of fomantic for accessibility improvements.
Either downgrading jQuery to 3.5.1 or removing the vendor copy seems to resolve the issue and I opted for removing the copy because I think such changes should be done upstream and the removal also lightens the JS by 155kB before minify/gzip.
Fixes: https://github.com/go-gitea/gitea/issues/15172
Ref: https://github.com/go-gitea/gitea/pull/8638
Ref: https://github.com/jquery/jquery/pull/4813

Have these a11y fixes been upstreamed? I don't want to lose any accessibility by merging this.

No, it was never followed up and it seems the original author also has no interest in upstreaming the patch. So yes, we'd loose some a11y with this removal, but I think it's overall a net gain to no longer have this crude way of patching fomantic.

As expected this definitely breaks a11y for me using the Orca screenreader on Linux with Firefox, i.e. in the "create" drop-down in the main navigation. Tested with Gitea master from April 19th. Other browsers and screenreaders are affected too, of course. I really hope you don't intend to stick with this state and I wish you would give a11y a higher priority in general.
I am not deep enough into web development to come up with pull requests, but I would be available as a tester and I am able to build Gitea from sources.

We are deeply dependant on Fomantic UI which was not created with accessiblity in mind. I think our best bet is to gradually replace it with something better, but I'm not sure what to replace it with.


text:
Upgrade xorm to v1.1.0 (#15869)

back port from #15869, this should fix some dump problems.

:rocket:


text:
preserve users if restoring a repository on the same Gitea instance

When calling DumpRepository and RestoreRepository on the same Gitea
instance, the users are preserved: all labels, issues etc. belong to
the external user who is, in this particular case, the local user.
Dead code verifying g.gitServiceType.Name() == "" (i.e. plain git) is
removed. The function is never called because the plain git downloader
does not migrate anything that is associated to a user, by definition.
Errors returned by GetUserIDByExternalUserID are no longer ignored.
The userMap is used when the external user is not kown, which is the
most common case. It was only used when the external user exists
which happens less often and, as a result, every occurence of an
unknown external user required a SQL query.
Signed-off-by: Loïc Dachary loic@dachary.org

forgefriends source

I classified this as kind/bug because there is no way to restore a repository on the same Gitea instance and preserve the users.

Codecov Report

Merging #18604 (e9d0063) into main (80048c0) will increase coverage by 0.07%.
The diff coverage is 50.36%.

@@            Coverage Diff             @@
##             main   #18604      +/-   ##
==========================================
+ Coverage   46.25%   46.32%   +0.07%
==========================================
  Files         842      846       +4
  Lines      121180   121236      +56
==========================================
+ Hits        56052    56164     +112
+ Misses      58321    58260      -61
- Partials     6807     6812       +5

Impacted Files
Coverage Δ

models/commit.go
62.50% <0.00%> (ø)

models/release.go
49.45% <0.00%> (-1.49%)
:arrow_down:

models/review.go
50.29% <0.00%> (-0.60%)
:arrow_down:

models/user/external_login_user.go
28.57% <ø> (ø)

modules/git/notes_nogogit.go
66.66% <0.00%> (-2.19%)
:arrow_down:

modules/gitgraph/graph_models.go
80.85% <0.00%> (ø)

modules/migration/pullrequest.go
0.00% <0.00%> (ø)

modules/migration/release.go
0.00% <0.00%> (ø)

modules/migration/review.go
0.00% <0.00%> (ø)

modules/queue/manager.go
40.41% <0.00%> (-1.22%)
:arrow_down:

... and 37 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9419dd2...e9d0063. Read the comment docs.

authors: codecov-commenter singuliere


text:
build nightly docker images

followup of https://github.com/go-gitea/gitea/pull/25308 this time to build & push nightly docker images

+30 −306

Very nice and shows how needlessly verbose drone actually is 😆.

Very nice and shows how needlessly verbose drone actually is

to be fair to drone, this is running the multi-arch build using qemu, and doing the manifest as well. For drone we were using native runners so it had to be separated (if we did the same with GHA then there'd be much more yaml too). So a bit of apples and oranges here.

authors: silverwind techknowlogick


text:
read-only checkboxes don't appear and don't entirely act the way one might expect

This pull request fades read-only checkboxes and checkmark, and it makes the checkboxes act more read-only/disabled by not changing the border-color when clicked.
Examples using light mode:

Before
After

read-only checkboxes and checkmark are fadedand the checkboxes act more read-only/disabled

Fixes/Closes/Resolves #25076

Not sure how to report lint and test workflows.
I have run make mint and make test-e2e, so far and rebased locally and here. However, doesn't reflect.

IMO read-only is not disabled. Standard HTML doesn't do so.
Could the HTML element get the disabled style instead of changing the "read-only" style?

@silverwind oh okay, so I'm guessing to put disabled="disabled" in templates/repo/pulls/fork.tmpl instead

As per fomantic docs, this is how HTML should look:

  <input type="checkbox" disabled>
  Disabled

Please test after mergin above suggestion

@silverwind working on it...

authors: saegl5 silverwind wxiaoguang


text:
Fix nil dereference on error

In both cases, the err is nil because of if checks before
Reference: #30729

I was unable to create a backport for 1.21. @harryzcy, please send one manually. :tea:
go run ./contrib/backport 30740
...  // fix git conflicts if any
go run ./contrib/backport --continue

@yardenshoham Now the main branch and 1.22 branch should be almost the same, but this backport fails. I have manually tried to cherry-pick this commit, there is no conflict. Do you have some ideas about this failure?

Relevant log:
2024-04-28 07:13:59.000	Set milestone 1.23 for PR #30740
2024-04-28 07:14:00.000	Parsing #30740
2024-04-28 07:14:00.000	Cherry-picking #30740
2024-04-28 07:14:03.000	Cherry-pick failed:
2024-04-28 07:14:03.000	Auto-merging routers/api/actions/artifacts.go
2024-04-28 07:14:03.000	CONFLICT (content): Merge conflict in routers/api/actions/artifacts.go
2024-04-28 07:14:03.000	Auto-merging routers/web/repo/actions/view.go
2024-04-28 07:14:03.000	error: could not apply 970965f6d... Fix nil dereference on error (#30740)
2024-04-28 07:14:03.000	hint: After resolving the conflicts, mark them with
2024-04-28 07:14:03.000	hint: "git add/rm <pathspec>", then run
2024-04-28 07:14:03.000	hint: "git cherry-pick --continue".
2024-04-28 07:14:03.000	hint: You can instead skip this commit with "git cherry-pick --skip".
2024-04-28 07:14:03.000	hint: To abort and get back to the state before "git cherry-pick",
2024-04-28 07:14:03.000	hint: run "git cherry-pick --abort".
2024-04-28 07:14:04.000	Added comment to #30740

I can manually cherry-pick successfully. Maybe the branch release/v1.22 has been cached and needs to be updated, since this is a new release/v1.22, a force pull is necessary or just delete it.

The container restarted a few hours ago so we should be good now

Backport to 1.22 manually: Fix nil dereference on error (#30740) #30746
I didn't backport it to 1.21 because actions/artifacts.go bug is a regression of #28610 , actions/view.go bug has been there for long time and it doesn't occur in daily usage.

authors: GiteaBot harryzcy lunny wxiaoguang yardenshoham