Propelo job reporting plugin hosting

Repository URL
https://github.com/levelops/jenkins-job-reporter
New Repository Name
propelo-job-reporter-plugin
Description
Propelo's Jenkins Plugin to report job logs and metadata.
This plugin is to integrate with Propelo's platform in order to provide value to teams and companies in regards of their entire SDLC.
Website: https://www.propelo.ai
GitHub users to have commit permission
@ivan-levelops
@viraj-levelops
@maxime-levelops
@sid-propelo
Jenkins project users to have release permission
ivan_propelo
viraj_propelo
maxime_propelo
sid_propelo
amit_propelo
Issue tracker
Jira

Security audit, information and commands
The security team is auditing all the hosting requests, to ensure a better security by default.
This message informs you that the security team was notified about the request and will soon participate in this issue to assist.
Commands
Security team only:

/audit-ok => the audit is complete, the hosting can continue :tada:.
/audit-skip => the audit is not necessary, the hosting can continue :tada:.
/audit-required => the superficial audit was not sufficient, a deeper look is necessary :mag:.
/audit-findings => the audit reveals some issues that require corrections :pencil2:.

Anyone:

/audit-review => the findings from the audits were corrected, this command will ping the security team to review the findings :eyes:.

(automatically generated message)

Quick look at the code, we will need a more deeper audit.
Tracked internally as JENSEC-1874.

@Kevin-CB I think you're supposed to comment with
/audit-required

/audit-required

@Wadeck did that do anything? nothing happened here other than a reaction

yes that command is just for an internal state change from "superficial audit" to "complete audit" requirement :)

Hello @ivan-levelops,
We were able to perform a more complete audit on your plugin, here are the feedback:
You’re storing secrets in clear text allowing attackers with access to these file to retrieve theses secrets LevelOpsPluginImpl.java#L43 & LevelOpsPluginImpl.java#L52
Recommendation: https://www.jenkins.io/doc/developer/security/secrets/

There is a file write vulnerability in LevelOpsPostBuildPublisher.java#L64-L66.
Reproduction: In your post build step, specify a Project name called \..\..\File1, when you run your job, it will create an archive called File1_xml.zip outside of the expected directory.
Recommendation: Sanitize all filenames coming from the user before the creation of a file in order to avoid that an attacker can escape the desired folder.

There is CSRF vulnerability in LevelOpsMgmtLink.java#L43, allowing an attacker to force an administrator to change settings.
Recommendation: https://www.jenkins.io/doc/developer/security/form-validation/#protecting-from-csrf

There are others CSRF vulnerability but this time also with missing permission checks:

LevelOpsPluginImpl.java#L416 , allowing an attacker to perform a file write vulnerability and to discover existing files on the Jenkins controller file system.

LevelOpsPluginImpl.java#L380-L393, allowing an attacker to captures credentials on an attacker provided HTTP endpoint.

Recommendation:
https://www.jenkins.io/doc/developer/security/form-validation/#protecting-from-csrf
https://www.jenkins.io/doc/developer/security/form-validation/#implementing-form-validation

There is a missing permission check vulnerability in LevelOpsPluginImpl.java#L279, allowing an attacker to retrieve proxy infos.
Recommendation:
https://www.jenkins.io/doc/developer/security/form-validation/#implementing-form-validation

Also it seems your jelly view index.jelly#L42 can’t reach these web methods LevelOpsPluginImpl.java#L380-L467, it’s due to your variable PLUGIN_NAME in LevelOpsMgmtLink.java#L19, not referring to the actual plugin id.
I will let you correct the different findings and ping us when you are done or if you have questions.

/audit-findings

Thanks @Kevin-CB !
We have addressed the issues mentioned above (to the best of our knowledge).
Please let me know if there is anything else we need to change.
Thanks again!

/audit-review

@ivan-levelops,
Not a security issue.
LevelOpsMgmtLink/index.jelly#L36 and LevelOpsMgmtLink/index.jelly#L42 now need a checkMethod="post" attribute for validation to work.

Not a security issue.
Plugin does not compile in its current state (https://github.com/levelops/jenkins-job-reporter/commit/799aebf18ad6c2f6e13896f87b1ec6e96dde33e3)
src/main/java/io/levelops/plugins/levelops_job_reporter/plugins/LevelOpsPluginImpl.java:287:97
java: incompatible types: java.lang.String cannot be converted to hudson.util.Secret

LevelOpsPluginImpl.java#L392-L398 is still missing a permission check and CSRF protection.
Let us know when you're done or if you have any questions.

/audit-findings

Thanks @yaroslavafenkin !
We have made the changes (including a missing commit for the compilation issue... :sweat_smile: ).
We appreciate your the community's help. Please, let us know if there is anything else we need to address!
Regards!

Security wise it looks fine to me.
There's a couple of non-security issues I've spotted, which I think are non-blocking.

https://github.com/levelops/jenkins-job-reporter/blob/396bf5d40d7fc36b3211f52c44be7c5eeb9655d6/src/main/resources/io/levelops/plugins/levelops_job_reporter/extensions/LevelOpsMgmtLink/index.jelly#L47 is missing checkMethod="post"
Plugin makes assumptions about the instance its running on, such as presence of blueocean-rest plugin. Blueocean REST API is used to obtain data that is easily accessible via Java API (unless I'm missing something).

/audit-ok

Not a security finding, but why https://github.com/levelops/jenkins-job-reporter/blob/5bab8527b314657942304debf34615801fd41de6/src/main/java/io/levelops/plugins/commons/service/JenkinsLocationConfigParserService.java#L20-L44 when you can call JenkinsLocationConfiguration.get().getUrl() or Jenkins.get().getRootUrl()? There seem to be a lot of design decisions in this plugin that only make sense when it's not a plugin…

hi @daniel-beck,
Thanks for your feedback!
Some of the code in here has been ported from other features. We do have a redesign in the works.
Are your highlights blockers to continue with this process?
If possible, we would like to start iterating with the pipeline in place.

@daniel-beck is your feedback intended to block the hosting process, until resolved or clarified?
Otherwise, the issue looks good to proceed.

If you're cool with hosting bad quality plugins it's non-blocking.

If you're cool with hosting bad quality plugins it's non-blocking.

Thanks for your clarification, the former was not my intention 👀

Thanks for the help with the clarification @NotMyFault .
@daniel-beck @NotMyFault I have pushed the requested changes.
Please let me know if more changes are needed.

Hey @ivan-levelops,
thanks for addressing Daniel's concerns.  I'd recommend you move your group id from io.levelops.plugins to io.jenkins.plugins, as specified appropriately in https://github.com/levelops/jenkins-job-reporter/blob/eaadc7fa0bda8affdb6a1db4f2ab027405eaaef6/pom.xml#L13, but referenced incorrectly in https://github.com/levelops/jenkins-job-reporter/tree/main/src/main/java/io/levelops/plugins, package names and imports.
https://github.com/levelops/jenkins-job-reporter/blob/eaadc7fa0bda8affdb6a1db4f2ab027405eaaef6/pom.xml#L187-L190 Instead of depending on commons-lang directly, you can depend on the plugin: https://github.com/jenkinsci/commons-lang-api-plugin
https://github.com/levelops/jenkins-job-reporter/blob/eaadc7fa0bda8affdb6a1db4f2ab027405eaaef6/pom.xml#L225 Same like above: https://plugins.jenkins.io/okhttp-api/#dependencies
Can you add a <scm> block to your pom.xml please, like

  <scm>
    <connection>scm:git:https://github.com/jenkinsci/propelo-job-reporter-plugin.git</connection>
    <developerConnection>scm:git:git@github.com:jenkinsci/propelo-job-reporter-plugin.git</developerConnection>
    <tag>HEAD</tag>
    <url>https://github.com/jenkinsci/propelo-job-reporter-plugin</url>
  </scm>

https://github.com/levelops/jenkins-job-reporter/blob/eaadc7fa0bda8affdb6a1db4f2ab027405eaaef6/pom.xml#L67 2.200 is a pretty conservative baseline, which does not allow compiling with Java 17 or newer. Given that Java 17+ support is underway and already supported by core itself and a good chunk of plugins, I'm wondering what's the reasoning behind choosing an old baseline.

Can we move forward without using the jenkins dependencies for okhttp and commons-lang (we tried to use them but saw the issues mentioned above)?

That's fine for now. But given modern Jenkins does only support Java 11 and 17 onwards, I'd recommend looking in support for these Java versions.

/hosting host

Thanks for your help @NotMyFault !
I'll follow up on the rest of the process!


Address several warnings raised during tests

This change rolls together several small changes to avoid warnings generated when running the tests.
Here is a summary of the changes:

Update use of datetime.utcnow() deprecated in Python 3.12
Concatenate pandas dataframes more carefully to avoid FutureWarning when concatenating an empty dataframe (see https://github.com/pandas-dev/pandas/pull/52532).
Adjust plotter tests to avoid warnings

Use supported options rather than arbitrary options to avoid unexpected option warning
Catch expected warning when passing an untrained discriminator to IQPlotter

Move the setting of the axis scale earlier in the logic of MplDrawer.format_canvas. format_canvas queries the limits of each axes object and uses those values. When no data set on a set of axes (an odd  edge case), the default values depend on the scale (because the minimum for linear is 0 but for log is 0.1), so the scale needs to be set first.
Remove transpile options from FineDragCal (_transpiled_circuits for BaseCalibrationExperiment warns about and ignores transpile options)
Replace isinstance checks with pulse_type checks for calibration tests checking pulse shape
Replace qiskit.Aer usage with qiskit_aer
Set tolerance on cvxpy test to larger value, close to the tolerance achieved in practice. The routine was maxing out its iterations without achieving tolerance but still producing a close enough result for the test to pass. Increasing the tolerance avoids the max iterations warning and makes the test faster.
Rename TestLibrary to MutableTestLibrary. The class name starting with Test* causes pytest to warn about the class looking like a class holding test cases. pytest is not the main way we run the tests but it still seems best to avoid confusion between test case classes and test helper classes.
Catch warnings about insufficient trials in QuantumVolume tests using small numbers of trials.
Set data on the ExperimentData for TestFramework.test_run_analysis_experiment_data_pickle_roundtrip to avoid a warning about an empty experiment data object. Other cases of this warning were addressed in 729014b937147b044e158abca072fa3777f524a1 but this test case was added afterward in a6c9e53ff2cc0670f513b54f2172465e10349dc1.

In order to avoid warnings creeping in in the future, this change also makes any warnings emitted by qiskit-experiments code be treated as exceptions by the tests (with an exception for ScatterTable methods for which it is planned to remove the deprecation). Any expected warnings in tests can be handled by using assertWarns or warnings.catch_warnings.
As all the changes relate to tests (except the FineDragCal one which is a non-functional change to avoid a warning), no release note was added.

The only remaining warnings generated by qiskit_experiments when running the tests are the CurveData backwards compatibility methods of ScatterTable. Since the API of ScatterTable is still under discussion, I didn't try to change those uses.
Currently we mark a test as failing if it raises a DeprecationWarning. I was wondering if we should also mark a test as failing if it raises any warning from the qiskit_experiments package. It is hard to control warnings from other packages but we should be able to control our own. If we want to test generating warnings, we can use assertWarns or warnings.catch_warnings to avoid specific cases of warnings failing the tests.

Interesting. I made warnings cause tests to fail and a few other warnings surfaced. I will address them. I wonder why I didn't see them before in the test log when running all the tests to check for warnings.

@coruscating I made the warnings into failures, addressed the extra warnings you mentioned, and handled the 0 case of log scale plots better. Along the way, I found a bug in the calibration save/load code (#1355).


New game setting: enforce hard 'top' border. See comments

Some ppl might enjoy NOT being able to fly off the top of the screen. Enforcing a hard top border means players need to control their altitude and not fly at 45 degrees until no fuel.
Need to decide behavior when hitting border. Lander can slide along top but slower (friction) or simply stop.
Both options waste fuel and change game play.

I'd say if the lander reaches the top it should bounce off of it a bit - might look pretty neat.
As for capping at the top of the screen:
I'd suggest adding a camera Systemtöne be able to zoom out a bit based on the y of the highest lander.
That would allow us to set the upper border dynamically.
instead of just having ´if lander.y < 0 then lander.y = 0´, we could do something like
´´´lua
Local topBorder = -250
If lander.y <= topBorder then
bounceOff()
End
´´´
And the camera would adjust to the topBorder dynamically by zooming in and out if needed.

What about the concept of 'lost in space' - if you fly off the top you get a warning, and if you keep going (like -250 or some other value) then you end up in 'orbit' and you fail - game over.
The game is MarsLander after all, not MarsTakeoff :)

Some great ideas.  :)


Add a VS Code dev container

I added the files for a VS Code dev container.
I committed the incorrect projects/README.md file. See #79 for the bug this exposes.

closes #69

@brobeson thanks for the explanations

@brobeson I just remembered, if we are going to be using VSCode, we might want this added to the .gitignore file
*vscode

@brobeson I just remembered, if we are going to be using VSCode, we might want this added to the .gitignore file
*vscode

This is one that I think everyone should add to their global Git ignore file.

vim might be handy to install. ?

@brobeson thanks for the explanations

You're welcome. The changes will take awhile to push up. I need to rebuild the container, then rebuild ovsrpro to ensure it all still works.

vim might be handy to install. ?

The container's use case is with VS Code, so I don't see a need for an editor.


Can't click on the pin in Safari (MacOS)

I'm trying to click with my mouse and it's not doing anything.

We were following this issue on Leaflet for a while and it got resolved yesterday:
https://github.com/Leaflet/Leaflet/issues/7255#issuecomment-849638476


chore: remove notation for combine

This clashes with the notation in Analysis.Convex.Segment and is not used at all in mathlib.
Zulip thread

bors r+


A CMake build system for cfl3d and some bug fixes (at least in Linux)

Hi, Christopher Rumsey
Thanks for your cfl3d code going public. I used this code and I thought it was very difficult to build it. So I wrote a cmake build system to detect MPI/CGNS libs, configure cfl3d automatically and generate makefile or IDE projects for compilation automatically. I think it may be helpful to someone.
The modification of CMake branch is limited to:

A lot of CMakeLists.txt are created to consists the cmake build system
A cgns-2.5.5 source code package is added to /external/cgns for compilation in case of  no libcgns.a available in system library directories.
A usage description is added to README.md
In order to compile complex version of cfl3d, some .gt./.lt. comparison of complex variables in source code bc2010.F, barth3d.F, foureqn.F, global.F spalart.F are enclosed by real() function to avoid errors during compilation of complex version of cfl3d.
in cputime.F of maggie, a gfortran version of intrisic function ETIME is added to conditional compilation to improve compatability of cfl3d to gfortran in Linux.
A bash script to download all testcases are included in CFL3D/testcase directory.

I have tested it in a linux OS - Ubuntu 16.04 LTS.
FYI, cmake of kitware.inc is a cross platform build system widely used in industry. Here is a trend of serveral automatic build tools.

Best regards.
Di Cheng Ph.D.
Engineer in fluid mechanics
Research and Development Center
China Academy of Aerospace Aerodynamics
Phone: +86-l58Ol5949ll
Address: No.17, YunGang West Road, Fengtai District, Beijing, China
Zip Code：100074

very good job.I will test Intel fortran&Absoft fortran in windows

@vliqi
I am not sure if it will work on Windows. You can use cmake -G to generate visual studio project file to compile it.
However, because the -w option in original build system and I turned it off in cmake build system, a lot of warnings are exposed. I do think it is better to resolve it rather than ignore it.
$  grep -i warning make.log
cc1: warning: command line option ‘-Wno-align-commons’ is valid for Fortran but not for C
cc1: warning: command line option ‘-fdefault-real-8’ is valid for Fortran but not for C
cc1: warning: command line option ‘-fbacktrace’ is valid for Fortran but not for C
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (32 vs 16 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (16 vs 32 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (16 vs 32 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (16 vs 32 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (224 vs 392 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (224 vs 392 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (224 vs 392 bytes)
Warning: Named COMMON block ‘turbconv’ at (1) shall be of the same size as elsewhere (128 vs 64 bytes)
Warning: Named COMMON block ‘turbconv’ at (1) shall be of the same size as elsewhere (56 vs 128 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (224 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (16 vs 32 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (16 vs 32 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (16 vs 32 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (16 vs 32 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (16 vs 32 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (192 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (16 vs 32 bytes)
Warning: Named COMMON block ‘info’ at (1) shall be of the same size as elsewhere (224 vs 392 bytes)
Warning: Named COMMON block ‘reyue’ at (1) shall be of the same size as elsewhere (16 vs 32 bytes)
Warning: Named COMMON block ‘deformz’ at (1) shall be of the same size as elsewhere (48 vs 56 bytes)
Warning: Named COMMON block ‘deformz’ at (1) shall be of the same size as elsewhere (48 vs 56 bytes)
Warning: Named COMMON block ‘deformz’ at (1) shall be of the same size as elsewhere (88 vs 56 bytes)
Warning: Named COMMON block ‘unst’ at (1) shall be of the same size as elsewhere (80 vs 48 bytes)
Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)
Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)
Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)
Warning: Type mismatch in argument ‘x’ at (1); passed COMPLEX(8) to REAL(8)
Warning: Type mismatch in argument ‘x’ at (1); passed COMPLEX(8) to REAL(8)
Warning: Type mismatch in argument ‘x’ at (1); passed COMPLEX(8) to REAL(8)
Warning: Type mismatch in argument ‘x’ at (1); passed COMPLEX(8) to REAL(8)
Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)
Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)
Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)

There are four types of them:

Named COMMON block size mismatch
Legacy Extension of GOTO statement
passed COMPLEX(8) to REAL(8)
command line option problem for a c source file in libcommon.

I think refractoring of the old fortran code is needed.


Support for autocomplete API

Hi @alexreisner ,
Wondering if support for suggestions/autocomplete APIs (here.com, google) has ever been considered as a feature for geocoder?  Would you entertain a PR to add that functionality if I raised one?

See #1383.


Apply Tests

As there are going to be some changes in the code due to refactoring, it would be productive to implement e2e tests to make sure nothing breaks.

Started implementing tests in 8fa0143
Covered

Sign Up
Sign In
Churras Creation

Missing

Churras Admin
Profile


Simple commands to and from a TCP based device

I have a TCP based device that I want to send commands to/from Homekit. The commands themselves can be anything I want, and I am able to generate feedback for those commands
Simple ON/OFF is all I need from Homekit
The device can be configured as a client or server, on any port number I want to use
Ideally what I want to be able to do is create a button with a label on the homekit app, and when pressed I get sent that label name to the TCP device.
It could be called "Garage Door" or "Welcome Home" or "Goodnight" or "Living Room Lamp"
I dont care what kind of device Homekit sees it as. Lock or Lamp (or an option of both) would probably be the simplest solution.
As I mentioned above I can return a string that includes feedback
Plan is to run this on a Pi3 if that makes any difference.
Can this be done in homebridge?

Have a look at this, I'm using it to send http commands, maybe this would work?
https://github.com/rudders/homebridge-http

Thanks
I have been trying to get that plugin to work for a few days now. I can get the commands to work, but i am struggling to get the feedback to work. i get parse errors
any hints on how to format the json I send back to homebridge and example on_status would be frontyard/light/on

I’m using it to show a http light status and I’m just having my home automation software write to a text file with either a 0 for off or a 1 for on.
The status url portion of my config file just points to that text file. I made a text file for each light and the automation software writes to each file and changes the status by either having a 1 or 0.
There’s nothing else on that file just a 0 or 1
So your json return should be the same.
Sent from my iPhone 6s 

On Oct 19, 2017, at 8:01 PM, DeetAus<EMAIL_ADDRESS>wrote:
Thanks
I have been trying to get that plugin to work for a few days now. I can get the commands to work, but i am struggling to get the feedback to work. i get parse errors
any hints on how to format the json I send back to homebridge and example on_status would be frontyard/light/on
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I need to write script to generate to entire json string. I have tied lots of formats, but I am just getting nowhere
What I really need to see is a wireshark of the script that another device sends to the homebridge-http plugin so I can make sure i have all the various json elements in place
0/1 doesnt work

Did you ever find a solution here? I'd also like Homebridge to send data over an arbitrary TCP port to a host.


Updating plugin on github, does not update Monokle's

Describe the bug
When trying to update plugin or importing after fixing bugs, Monokle does not fetch the latest version.
I suspect it caches the github results, as they're GET requests...
To Reproduce
Steps to reproduce the behavior:

Update plugin in github repo
Try updating the plugin in Monokle's interface
"No updates available"

Another situation when this happens is when trying to import plugin after a failed one:

Try to import an invalid plugin (maybe an invalid package.json)
Fix the bug and import again
"Invalid package.json" is shown

After waiting for some minutes and fetching, it does accept it...
Expected behavior
Fetching of the latest github repo updates.
Screenshots

Desktop (please complete the following information):

OS: MacOS
Version 1.5.1

Additional context
Add any other context about the problem here.

Just to make sure, have you updated the version field in the package.json ?
I think I had this happen to me a couple of times and I had to wait a few minutes before Monokle recognized the update, but we can look further into it.

Just to make sure, have you updated the version field in the package.json ?

I have and it still doesn't fetch the latest version.
On the other hand, I do see the benefit on making the update be trigger by a version bump, but I'd really expect not to do that, and that by clicking on refresh Monokle picks it up directly.

https://github.com/kubeshop/monokle/issues/1414#issuecomment-1059690361
It takes some time for Github to update the file content we download and check - You can see it by visiting raw content of the package.json file
I suggest we handle plugin installation and updates by git command. Wdyt folks @olensmar @devcatalin @andreiv1992

It takes some time for Github to update the file content we download and check - You can see it by visiting raw content of the package.json file

Huh, @erdkse , I wasn't able to replicate this.
Is this what you mean happens?:
1- Make a change to a file, commit it
2- Open raw file and I will see the old version of the file?

Oh, never mind, I have checked this actually happens!!
When uploading from git cli, the raw version it gets outdated.
When doing the update from github's website, it get updated instantly. (this was my first way of testing :))

@erdkse @aabedraba can we close this? or is it still an issue?

@olensmar yeah we solve this one - forgot to close, sorry


rules('add', ...) affects other elements

With
<form id="foo">
first: <input type="text" id="first">

second: <input type="text" id="second">

</form>
and
$(document).ready(function() {
$('#foo').validate();
$('#first').rules('add', {min: 2});
$('#second').rules('add', {min: 4});
});
both #first and #second end up with a min value of 4. If the js block is exchanged with
$(document).ready(function() {
$('#foo').validate();
$('#first').attr('min', 2);
$('#second').attr('min', 4);
});
#first gets a min value of 2 and #second a min value of 4 (which is what I would expect).
This also seems to be the case for other rules.
Tested using FF 12 (Linux amd64), using validate 1.9 and both jquery 1.6.1 and 1.7.2.

I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually.
To the reporter (or anyone else interested in this issue): If you're affected by the same issue, consider opening a new issue, with a testpage that shows the issue. Even better, try to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!


Errors when launching the app for the first time

Hi,
I noticed two console errors when launching your app for the first time on a clean simulator:
EventKit Example[9647:3259614] [EventKit] Error getting default calendar for new events: Error Domain=EKCADErrorDomain Code=1013 "(null)"
Followed by:
EventKit Example[9647:3259614] [EventKit] No object ID provided.  Will not find out if the object exists.
Also (I don't know if this is related to the above errors), when you launch the app for the first time, approve the calendar access and then try to select calendars, the list of available calendars is empty.
Also note that if I kill the app and restart it, it seems that the error messages are gone.
Edit: The above is also repeatable when the app is installed on my device
Edit2: Forgot to mention that this is in your SwiftUI example.

Hi, thanks for pointing this out. The issue with clean simulator appears to be related to Calendar not being yet initialized. Someone added info to README about this which I just merged.
Thanks for the clarification, I will look into it. Or if you want, you can try to fix the SwiftUI example and open PR :-)

I've spent quite some time on the errors but I can't seem to find a solution, or even a source. I will continue digging but it would be great if you can take a look as well. I don't trust my SwiftUI skills yet 😀

One step forward, two steps back.
I did some experiments and I might have found something that can be of help.
In the EventsRepository.swift, if you change let eventStore = EKEventStore() to var eventStore = EKEventStore() and then change the requestAccess function to:
func requestAccess(onGranted: @escaping Action, onDenied: @escaping Action) {
        eventStore.requestAccess(to: .event) { (granted, error) in
            if granted {
                self.eventStore = EKEventStore()
                onGranted()
            } else {
                onDenied()
            }
        }
    }

By doing this the calendar list is populated directly. However, this causes a bunch of other errors, like a EKEvent duplicate key error if you add an event. As mentioned, I was experimenting but it might be worth taking a closer look.

Thanks. I will try to look into it, but I havent done much of SwiftUI since creating this update..

Sorry for hammering you with posts and information, but here is a SO post with the exact same issue. The possible solution seems to be to "Make sure you aren't initializing EKEventStore before requesting calendar permissions."
https://stackoverflow.com/questions/58873603/ekeventstore-calendars-is-always-empty-after-clean-install

Thanks for the search. However you need an instance of EKEventStore to request permissions 🤔 You said UIKit version is working fine? Since there the EKEventStore is created immediately by the view controller.

Hm, weird . I have not tested the UIKit version.
I also found this in apples documentation on EKEventStore
"If your app has never requested access before, you must request access to events or reminders before attempting to fetch or create them. If you request data before prompting the user for access with this method, you’ll need to reset the event store with the reset() method in order to start receiving data after the user grants access."
https://developer.apple.com/documentation/eventkit/ekeventstore/1507547-requestaccess
Something like eventStore.reset(), I guess. But I'm not sure where to reset the event store?

Based on the docs it makes sense to call reset before the onGranted closure is called in the requestAccess method. I dont have access to my Mac right now so I cannot try this.

Unfortunately no luck. I'm really struggling with this, so if you could take a look I would really appreciate it. This is basically the last piece of my app puzzle :)

I will try to fix this issue 👍

Great! I've experimented with another thing and this might be the definition of bad coding, I don't know :) But it seems to work so maybe you can take some inspiration from it.
I added the requestAccess function to the top of init(), like this:
init() {
        requestAccess(onGranted: {
            self.eventStore = EKEventStore()
        }) {

        }
...
}

So when we gain access I'm getting a new eventStore instance. If this is usable, I don't know if you need to requestAccess in the loadEvents function?
Also, I came across authorizationStatus(for:) which seems to be used as a check on which you can act on the current status (authorized, denied, notDetermined, restricted).
https://developer.apple.com/documentation/eventkit/ekeventstore/1507239-authorizationstatus

Think I found it:
selectedCalendars = loadSelectedCalendars() ?? Set([eventStore.defaultCalendarForNewEvents].compactMap({ $0 }))

This line was likely responsible for accessing eventStore before permissions were available and thus causing the issues. If you remove the ?? part, then it works.
I have updated the repo with this fix:

selectedCalendars = loadSelectedCalendars()

if selectedCalendars == nil {
    if EKEventStore.authorizationStatus(for: .event) == .authorized {
        selectedCalendars = Set([eventStore.defaultCalendarForNewEvents].compactMap({ $0 }))
    }
}

Amazing Filip, just tested the fix and it seems to work perfectly!
I also noticed that the errors I mentioned in my first post seems to be gone as well :)
Thank you and great job!

Awesome! Thanks for help fixing this :-)


[Feature] Reverse download order and number of downloaded files

DO NOT REMOVE OR SKIP THE TEMPLATE

[X] I understand that my issue may get closed without notice if I intentionally remove or skip any mandatory* field

Provide a well enough worded description
Is it possible to implement reverse download order for files and also letting set the number of files downloaded?
That way we can imput tags, set a file amount, like 100, and download only the last XXX files added.
This way we can make an incremental download.
Thank you very much for your time.
Provide verbose output that demonstrates the problem (use -verbose | Edit -> Verbose log)
No response

Man, no matter how I arrange those widgets it looks super ugly. Even though window dimensions become close to 16:9.
The feature itself is not a problem, actually download limit was already available for debugging reasons

https://github.com/trickerer01/Ruxx/commit/c5c81abed3ae7fbce973272d5d59916a9815ad8d
This issue will be closed upon next release
P.S.

https://github.com/trickerer01/download-multi-async-wrapper is a tool to setup a more robus periodic download system but could be tricky to setup as it uses its own scripting syntax in addition to downloaders'

Thank you very much for the reverse order, for the download limit i don't have the debug option anywhere so i'll just i'll wait the next realease.

https://github.com/trickerer01/Ruxx/releases/tag/2024.11.08


broken line number jump/navigation starting with 1

Describe the bug
As the title shows, I am getting an error whenever I try to execute a line number navigation starting with 1. eg - 1j, 12k...
All other movements are fine 2j, 3k, but I do get the error from time to time with some of these too.
I saw this issue a week or so ago, but then one of your updates seems to have fixed it.
It seems to have returned these last couple of days.
E5108: Error executing lua: ...ack/packer/start/lspsaga.nvim/lua/lspsaga/codeaction.lua:280: attempt to index field 'action_tuples' (a nil value)
stack traceback:
	...ack/packer/start/lspsaga.nvim/lua/lspsaga/codeaction.lua:280: in function 'do_code_action'
	...ack/packer/start/lspsaga.nvim/lua/lspsaga/codeaction.lua:212: in function <...ack/packer/start/lspsaga.nvim/lua/lspsaga/codeaction.lua:208>

Steps to reproduce
Sorry don't have small repro.
Expected behavior
Jump navigation should not create an error
Neovim version (nvim -v)
nightly
lspsaga commit
https://github.com/glepnir/lspsaga.nvim/commit/57a29c0286bf16ea3c4f20d5938fc6680a198940
Terminal name/version
Alacritty

@juanpprieto It is resolved now. In case you're curious of the repo, I think this is the same as #741

thanks for the heads up @mgramigna


Updating rpm scripts based on recommendations

https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_handling_non_sorting_versions_with_tilde_dot_and_caret
Signed-off-by: Mohammed Zeeshan Ahmed<EMAIL_ADDRESS>

/lgtm
/approve


Option --sync-async isn't documented

The file pkg/front_end/messages.yaml doesn't mention --sync-async.

This flag is not optional any more. The issue can maybe be closed?


Support TextWidthBasis

Is your feature request related to a problem? Please describe.
There is no way (or I couldn't find one) to specify how to measure width of the rendered text like TextWidthBasis property from  Flutter's Text widget. See the documentation.
Describe the solution you'd like
It would be nice to have the exact feature that Text widget has.
Version

Flutter version: 1.22.5
auto_size_text version: 2.1.0

Never thought I'd want this feature so bad. Wish I could help out on this just to make it work both on my project and for other people's projects as well.


Updated the problems-sets-competitive-programming.md file

This PR will add a free guided path to strengthen DSA by Coding Ninjas, which is the latest and updated guided path
What does this PR do?
Add resource(s) | Add info | Improve repo
For resources
Description
This PR will add a free guided path to strengthen DSA by Coding Ninjas, which is the latest and updated guided path.
Why is this valuable (or not)?
This resource will help the user to get the best and industry-level problems according to the topic wise.
How do we know it's really free?
Yes, it is open to all
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

@eshellman, Please check this PR, I have resolved the linter error


Welcome Gabriele Petronella to the team!

Gabriele Petronella has many valuable contributions to Scalafix and
Scalameta via PRs, issue discussions and presenting awesome talks about
it at conferences. It is long overdue that we officially recognize his
contributions to Scalameta!

I'm super humbled by this, thank you @olafurpg for the kind words and I hope I'll be able to help :-)


No backup for almost 2 months

FYI: Just noticed that 1.5.9 hadn't backed up anything since May 5. Can't find any change at that time to explain it. Enabled log file, but manual backup did nothing (no "Working...", no log file, nothing sent).
Eventually uninstalled 1.5.9 and installed 1.5.8. It ran fine, though I only got about half of the 3800 emails it said it was sending. Installed 1.5.9 again and it is now working.
Very strange...

will be fixed with #572


HDDS-9388. OM Ratis Write: Move ACL check and Bucket resolution to preExecute

What changes were proposed in this pull request?
ACL checks and bucket soft-link resolution should be moved to preExecute. Today, these checks are done in validateAndUpdateCache and performed in each replica. Those should be done when the leader node receives the operation. Checks should be validated upfront, not when applying the state.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9388
How was this patch tested?
CI.

There are calls to checkKeyAcls from some validateAndUpdateCache methods, so far I've found:

OMKeyRenameRequestWithFSO
S3MultipartUploadCompleteRequest
OMRecoverLeaseRequest

The first two also resolve bucket links.
Are these intentional?

They're not intentional. I was still cleaning up a few places. Thanks for the detailed look, @adoroszlai .

There's an open point from this PR. Some S3 APIs like MultipartInfoInitiate or MultipartUploadComplete return unnecessary/redundant data like original volume, bucket and key names in their response. With the refactor to move bucket resolution to preExecute, we don't have the original bucket/volume name in applyTransaction to include in the response.
Anyway, those are redundant data and are not used in S3G (only used in tests), I decided to just mark the data @Deprecated for compatibility, and removed all the relevant usage in tests.

@duongkame Thanks for working over this, this changes may have issue, in pre-execute, it can not validate the relational things which may be part of previous request as,

link bucket validation as link bucket may not be created and pending to be excuted
ACL validation as acl change may be pending to be executed

Only static validation related to request can be done, Or some thing from system perspective which normally do not depend on previous possible request

Concurrent requests can be interleaved in any order. I am not sure this is an issue. Do you have a specific issue in mind?

@sumitagrawl I think you are also describing what I wrote on the Jira here. IMO this is more of a minor change in behavior than an issue. The server is still failing the request based on an ordering either way.

@sumitagrawl I think you are also describing what I wrote on the Jira here. IMO this is more of a minor change in behavior than an issue. The server is still failing the request based on an ordering either way.

@errose28
yes, 2 cases we are changing,

ACL as already mentioned
linked bucket resolution also

@sumitagrawl I think you are also describing what I wrote on the Jira here. IMO this is more of a minor change in behavior than an issue. The server is still failing the request based on an ordering either way.

@errose28 yes, 2 cases we are changing,

ACL as already mentioned
linked bucket resolution also

@sumitagrawl
I don't see problems with Link resolution in preExecute. E.g. at the time a key-create request reaches the leader node, the request should be rejected if the link is not there. This is different from before when the link creation can happen after a while before the key-creation request reaches each replica. A reverse example is when a link is being removed. Either case, making the decision at the leader makes sense to me.
Yes, there are changes in behaviors the edge cases but they're not necessarily issues.
The same story for moving ACL checks, as @errose28 mentioned.
I think moving validation/pre-processing out of applyTransaction is the right direction. ApplyTransaction should be to apply the state of a request to the state machine.
C.c. some more folks as I need your opinions too. @kerneltime @szetszwo @smengcl.

Thanks @duongkame for the patch, and @adoroszlai @sumitagrawl @kerneltime @errose28 for the reviews and comments.

Thanks @smengcl for the reviews and merging it.


iptables on OKD

We fail to configure iptables on OKD since they are not initialized on the host (and maybe we are also missing some kernel modules). I think we have two options: Enable and initialize iptables on OKD host or use nftables in case we run on OKD.
{"component":"virt-launcher","level":"error","msg":"failed to create nat rules for vm error: running [/usr/sbin/iptables -t nat -N KUBEVIRT_PREINBOUND --wait]: exit status 3: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.18.0-80.1.2.el8_0.x86_64\niptables v1.6.2: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\n","pos":"podinterface.go:435","timestamp":"2019-06-19T14:29:18.393389Z"} {"component":"virt-launcher","level":"fatal","msg":"failed to prepared pod networking","pos":"podinterface.go:88","reason":"running [/usr/sbin/iptables -t nat -N KUBEVIRT_PREINBOUND --wait]: exit status 3: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.18.0-80.1.2.el8_0.x86_64\niptables v1.6.2: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\n","timestamp":"2019-06-19T14:29:18.393440Z"} panic: running [/usr/sbin/iptables -t nat -N KUBEVIRT_PREINBOUND --wait]: exit status 3: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.18.0-80.1.2.el8_0.x86_64 iptables v1.6.2: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. goroutine 69 [running]: kubevirt.io/kubevirt/pkg/virt-launcher/virtwrap/network.(*PodInterface).Plug(0x22a98b0, 0xc000740300, 0xc00014e630, 0xc00034bbf0, 0xc000330000, 0x14dec7d, 0x4, 0x10, 0x12f7140) pkg/virt-launcher/virtwrap/network/podinterface.go:89 +0x536 kubevirt.io/kubevirt/pkg/virt-launcher/virtwrap/network.SetupNetworkInterfaces(0xc000740300, 0xc000330000, 0x0, 0x0) pkg/virt-launcher/virtwrap/network/network.go:83 +0x520 kubevirt.io/kubevirt/pkg/virt-launcher/virtwrap.(*LibvirtDomainManager).preStartHook(0xc0004a9340, 0xc000740300, 0xc000330000, 0x1698e00, 0x0, 0x166c820) pkg/virt-launcher/virtwrap/manager.go:728 +0x3ad kubevirt.io/kubevirt/pkg/virt-launcher/virtwrap.(*LibvirtDomainManager).SyncVMI(0xc0004a9340, 0xc000740300, 0xc0003ca900, 0x0, 0x0, 0x0) pkg/virt-launcher/virtwrap/manager.go:881 +0x5e2 kubevirt.io/kubevirt/pkg/virt-launcher/virtwrap/cmd-server.(*Launcher).SyncVirtualMachine(0xc00001c460, 0x1686540, 0xc00034acf0, 0xc00034ad20, 0xc00001c460, 0xc00034ac60, 0x135df40) pkg/virt-launcher/virtwrap/cmd-server/server.go:159 +0x81 kubevirt.io/kubevirt/pkg/handler-launcher-com/cmd/v1._Cmd_SyncVirtualMachine_Handler(0x1426cc0, 0xc00001c460, 0x1686540, 0xc00034acf0, 0xc00073eb40, 0x0, 0x0, 0x0, 0xc000582b00, 0x55c) bazel-out/k8-fastbuild/bin/pkg/handler-launcher-com/cmd/v1/linux_amd64_stripped/kubevirt_cmd_go_proto%!/(MISSING)kubevirt.io/kubevirt/pkg/handler-launcher-com/cmd/v1/cmd.pb.go:515 +0x23e google.golang.org/grpc.(*Server).processUnaryRPC(0xc00046af00, 0x1692140, 0xc00055e180, 0xc000734300, 0xc00049d2c0, 0x21e5760, 0x0, 0x0, 0x0) external/org_golang_google_grpc/server.go:971 +0x4a2 google.golang.org/grpc.(*Server).handleStream(0xc00046af00, 0x1692140, 0xc00055e180, 0xc000734300, 0x0) external/org_golang_google_grpc/server.go:1250 +0xd61 google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000018320, 0xc00046af00, 0x1692140, 0xc00055e180, 0xc000734300) external/org_golang_google_grpc/server.go:690 +0x9f created by google.golang.org/grpc.(*Server).serveStreams.func1 external/org_golang_google_grpc/server.go:688 +0xa1 {"component":"virt-launcher","level":"error","msg":"dirty virt-launcher shutdown","pos":"virt-launcher.go:558","reason":"exit status 2","time

/cc @dankenigsberg @SchSeba @booxter @qinqon

Some details regarding the environment where it happened:
NAME                          STATUS   ROLES    AGE   VERSION             INTERNAL-IP      EXTERNAL-IP   OS-IMAGE                                                   KERNEL-VERSION               CONTAINER-RUNTIME
test-1-hw7kn-master-0         Ready    master   24h   v1.13.4+9252851b0   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux CoreOS 410.8.20190612.0 (Ootpa)   4.18.0-80.1.2.el8_0.x86_64   cri-o://1.13.9-1.rhaos4.1.gitd70609a.el8
test-1-hw7kn-worker-0-7w268   Ready    worker   24h   v1.13.4+9252851b0   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux CoreOS 410.8.20190612.0 (Ootpa)   4.18.0-80.1.2.el8_0.x86_64   cri-o://1.13.9-1.rhaos4.1.gitd70609a.el8

The log complains about ip_tables module though.

I meant that it has iptables binary but not the module, so I believe we need support for nf_tables, likes I said to Petr,  I do not believe that RHCOS will add additional kernel module only because we are working only with iptables but we can try to speak with them.

I think it is an urgent issue because it blocks all functional testing on top of OKD.

@phoracek Why do we touch iptables? Only for masquerade? Or also for something else?

@dankenigsberg yes, it seems to be only under masquerade code.

I will take a look on that

Related to:

https://bugzilla.redhat.com/show_bug.cgi?id=1708500
https://github.com/istio/istio/issues/13986

@cynepco3hahue @SchSeba anything blocking this work?

@fabiand waiting for this PR https://github.com/kubevirt/kubevirt/pull/2487 to be merge and I am fixing the review comments here #2430

Thanks, that does not sound to bad.


4xx error should not be considered as health check failed

Do you want to request a feature or report a bug?
Feature
What did you expect to see?

When doing its healthcheck against a load balanced service, Traefik should not consider 4xx error as failed healthcheck. Indeed, conforming to HTTP statuses, it's a client error and not a service fault.
if resp.StatusCode >= http.StatusBadRequest should be replaced by resp.StatusCode >= StatusInternalServerErrorat https://github.com/containous/traefik/blob/fa562dc916b2529d547d66dc25871c120efac080/healthcheck/healthcheck.go#L218.
The same way, 1xx should also not be considered as errors.
This feature should be configurable to prevent a breaking change on existing architectures based on the current behavior.

My bad. I misread the code. Traefik check a dedicated endpoint /health on the backend and this endpoint should never throw 4xx or 5xx.


admin webpack is not working with @google-cloud/storage package

Bug Report
I am trying to develop a plugin for uploading my images to google cloud storage. I am using @google-cloud/storage to upload files from admin to google cloud storage bucket instead of locally.
Expected Behavior
It should work with @google-cloud/storage package to upload files.
Current Behavior
webpack is throwing an error that for multiple modules stating that Module not found. I guess it is a conflict with webpack version 5.

Steps to Reproduce

add @google-cloud/storage in your payload project.
Create a collection for media and try to use the package inside beforeChange hook.

Detailed Description
Payload version: 0.18.0 , 0.20.1
Browser: Safari
System: macOS

I believe this page in the documentation should provide you with the info you need:
https://payloadcms.com/docs/admin/webpack#aliasing-server-only-modules
See also @jmikrut's anwer here

@GeorgeyB Thank you for pointing this out 🙌

@GeorgeyB sorry to bother you, but I am facing a problem in injecting env variable in payload.config.ts. I am using these ways to inject env in payload:
if I use import 'dotenv/config' in payload.config.ts then it says this is not allowed in browser.
and If I use import dotenv from 'dotenv' and then use doting.config() then it says that env variable is undefined.
Any idea?

Hey @afzaalahmad — I'm going to move this to a discussion at this point because it doesn't have to do with Payload core, but I have an idea for you to consider.
First, just to clarify - are you saying that your env variable is defined when running yarn dev or similar, but it is not defined when you run your app in production? What do you mean by "build" time?
One thing to try is to pass a full path to the dotenv config, that points directly at your environment variable. This is what we usually do:
require('dotenv').config({
  path: path.resolve(__dirname, '../.env'),
});

And that goes at the top of our server.ts.


Version changes and final whatsnew tweaks for 3v1rc0.

🚀 Pull Request
Description
Initial usable state for 3.1.x, with completed version string and whatsnew fixups.

Consult Iris pull request check list

Just waiting for the checks to pass then I'll merge this in...


httplz: dropping maintainership

Motivation for this change
Upstream doesn't want to include Cargo.lock in the repo. This made updating this package automatically impossible.
We have other great tools like oneshot.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Maybe want to remove the package completely?

Maybe want to remove the package completely?

Maybe want to remove the package completely?

Yeah, that's what I wanted but after reading #110179 I'm not sure anymore.

Maybe want to remove the package completely?

Yeah, that's what I wanted but after reading #110179 I'm not sure anymore.

Thanks!

Thanks!


Get permanent link

i am able to get temporary link for sure, but this link expires after 4 hours, please how do we get the permanent ones..
   $temporaryLink = $dropbox->getTemporaryLink($fileMetadata->getPathLower());

Hey @ogwugo did you found a solution for this problem?


ACK runtime update to v0.19.0

Issue #, if available: https://github.com/aws-controllers-k8s/community/issues/1341
Description of changes:

Update ACK runtime to v0.19.0
ignore tags for HostedZone because it does not support AWS tags

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


Include swagger json

Hello,
I would like to use the swagger code generation, but there are no json-files. According to .gitignore there are some files. Could you please upload them? In this way, generated folder is no more required in git (6MB of unused code).
Thanks.

Done as part of #25.   You find the most recent swagger.json files for each service in https://github.com/Azure/Industrial-IoT/tree/master/api/swagger,


useScroll hook

Added scroll hook for DOM elements, related to #45

closes #45

:tada: This PR is included in version 5.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support modulus op

Which issue does this PR close?
apache/arrow-rs#98
#99
apache/arrow-rs#317

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@alamb  Thanks!

Codecov Report

Merging #577 (29319f0) into master (51e5445) will increase coverage by 0.02%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master     #577      +/-   ##
==========================================
+ Coverage   76.02%   76.04%   +0.02%
==========================================
  Files         156      156
  Lines       27063    27071       +8
==========================================
+ Hits        20575    20587      +12
+ Misses       6488     6484       -4

Impacted Files
Coverage Δ

datafusion/src/physical_plan/expressions/binary.rs
90.66% <87.50%> (+1.18%)
:arrow_up:

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 51e5445...29319f0. Read the comment docs.


problem with moons

I can't go to the company building cause that mod says to buy emote, when I write the company building

idk I just restarted and now it's working but before it I restarted game too and this didn't work


Make return points as StackFrames

The code for return points comes within the same closure rather than a separate block. This prevents us from being able to safely context switch which relies on the property that a TSO's state of execution can be restored purely from its stack.
The solution is to create a StackFrame with stackEnter() overriden with the code for the return point. In cgCase, we need to generate a new StackFrame and then push that stack frame before we evaluate the scrutinee.
The main disadvantage is that this generates a lot more class files, but that's a necessary sacrifice for implementing concurrency/parallelism, an essential feature. The excess class files can be overcome with invoke dynamic if found to be a problem.

The "necessary sacrifice" is not required as a better solution was found. See #23 .


"Cannot read property 'percent' of undefined"

Anyone know the reason for why this is happening? "Cannot read property 'percent' of undefined"

Make sure all your addRarityPercentForLayers values add upto 100 and try again. Thats the problem here


tests: Set full data size as number of bytes

Use total data size (data+parity) as benchmark sizes for more consistent benchmarks.

Nice!  didn't notice that before.


Upgrade rand to 0.6

This introduces a dependency to rand_xorshift as well which got factored
out of the rand crate. This is a semver minor change, because rand is
only used in private functions inside the phf_generator crate, and from
what I can see, nothing leaks into the public API.

rand is now at 0.7 and this PR has become pretty out of date so I'm just going to close.


ciscoise_identity_group does not work as expected

Prerequisites

[x] Have you tested the operation in the API directly?
[x] Do you have the latest Terraform provider version?

Describe the bug

ciscoise_identity_group resource creation works as expected

locals {
  root_id_group = "NAC Group:NAC:IdentityGroups:User Identity Groups"
}

resource "ciscoise_identity_group" "fw_admin" {
  parameters {
    description = "ASA Firewall Admin"
    name        = "ASA_Firewall_Admin"
    parent      = join(":", [local.root_id_group, "Employee"])
  }
}

At next terraform apply, the provider tries to update the resource and receives an error from ISE.

$ terraform apply -auto-approve
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # ciscoise_identity_group.fw_admin will be updated in-place
  ~ resource "ciscoise_identity_group" "fw_admin" {
        id   = "id:=82054690-d23b-11ec-989c-2ab8e3d60603\\name:=ASA_Firewall_Admin"
        # (1 unchanged attribute hidden)

      ~ parameters {
          - id          = "82054690-d23b-11ec-989c-2ab8e3d60603" -> null
            name        = "ASA_Firewall_Admin"
            # (2 unchanged attributes hidden)
        }
    }

Plan: 0 to add, 1 to change, 0 to destroy.
2022-05-12T16:40:39.814-0500 [INFO]  backend/local: apply calling Apply
2022-05-12T16:40:39.814-0500 [DEBUG] Building and walking apply graph for NormalMode plan
2022-05-12T16:40:39.815-0500 [DEBUG] ProviderTransformer: "ciscoise_identity_group.fw_admin" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/ciscoise/ciscoise"]
2022-05-12T16:40:39.815-0500 [DEBUG] ProviderTransformer: "ciscoise_identity_group.fw_admin (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/ciscoise/ciscoise"]
2022-05-12T16:40:39.815-0500 [DEBUG] ReferenceTransformer: "ciscoise_identity_group.fw_admin (expand)" references: []
2022-05-12T16:40:39.815-0500 [DEBUG] ReferenceTransformer: "local.root_id_group (expand)" references: []
2022-05-12T16:40:39.815-0500 [DEBUG] ReferenceTransformer: "ciscoise_identity_group.fw_admin" references: [local.root_id_group (expand)]
2022-05-12T16:40:39.815-0500 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/ciscoise/ciscoise\"]" references: []
2022-05-12T16:40:39.816-0500 [DEBUG] Starting graph walk: walkApply
2022-05-12T16:40:39.816-0500 [DEBUG] created provider logger: level=debug
2022-05-12T16:40:39.816-0500 [INFO]  provider: configuring client automatic mTLS
2022-05-12T16:40:39.827-0500 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/ciscoise/ciscoise/0.6.0-beta/darwin_amd64/terraform-provider-ciscoise_v0.6.0-beta args=[.terraform/providers/registry.terraform.io/ciscoise/ciscoise/0.6.0-beta/darwin_amd64/terraform-provider-ciscoise_v0.6.0-beta]
2022-05-12T16:40:39.830-0500 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/ciscoise/ciscoise/0.6.0-beta/darwin_amd64/terraform-provider-ciscoise_v0.6.0-beta pid=60183
2022-05-12T16:40:39.830-0500 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/ciscoise/ciscoise/0.6.0-beta/darwin_amd64/terraform-provider-ciscoise_v0.6.0-beta
2022-05-12T16:40:39.850-0500 [INFO]  provider.terraform-provider-ciscoise_v0.6.0-beta: configuring server automatic mTLS: timestamp=2022-05-12T16:40:39.850-0500
2022-05-12T16:40:39.860-0500 [DEBUG] provider.terraform-provider-ciscoise_v0.6.0-beta: plugin address: address=/var/folders/rj/hymfyrbs71s52cz1k76wnygw0000gn/T/plugin710059464 network=unix timestamp=2022-05-12T16:40:39.860-0500
2022-05-12T16:40:39.860-0500 [DEBUG] provider: using plugin: version=5
ciscoise_identity_group.fw_admin: Modifying... [id=id:=82054690-d23b-11ec-989c-2ab8e3d60603\name:=ASA_Firewall_Admin]
2022-05-12T16:40:39.972-0500 [INFO]  Starting apply for ciscoise_identity_group.fw_admin
2022-05-12T16:40:39.972-0500 [DEBUG] ciscoise_identity_group.fw_admin: applying the planned Update change
2022-05-12T16:40:39.973-0500 [INFO]  provider.terraform-provider-ciscoise_v0.6.0-beta: 2022/05/12 16:40:39 [DEBUG] Beginning IDentityGroup update for id=[id:=82054690-d23b-11ec-989c-2ab8e3d60603\name:=ASA_Firewall_Admin]: timestamp=2022-05-12T16:40:39.973-0500
2022-05-12T16:40:39.973-0500 [INFO]  provider.terraform-provider-ciscoise_v0.6.0-beta: 2022/05/12 16:40:39 [DEBUG] Selecting method. Method 1 [true]: timestamp=2022-05-12T16:40:39.973-0500
2022-05-12T16:40:39.973-0500 [INFO]  provider.terraform-provider-ciscoise_v0.6.0-beta: 2022/05/12 16:40:39 [DEBUG] Selecting method. Method 2 [true]: timestamp=2022-05-12T16:40:39.973-0500
2022-05-12T16:40:39.973-0500 [INFO]  provider.terraform-provider-ciscoise_v0.6.0-beta: 2022/05/12 16:40:39 [DEBUG] ID used for update operation 82054690-d23b-11ec-989c-2ab8e3d60603: timestamp=2022-05-12T16:40:39.973-0500
2022-05-12T16:40:39.973-0500 [INFO]  provider.terraform-provider-ciscoise_v0.6.0-beta: 2022/05/12 16:40:39 [DEBUG] request sent => {"IdentityGroup":{"name":"ASA_Firewall_Admin","description":"ASA Firewall Admin","parent":"NAC Group:NAC:IdentityGroups:User Identity Groups:Employee"}}: timestamp=2022-05-12T16:40:39.973-0500
2022-05-12T16:40:40.272-0500 [INFO]  provider.terraform-provider-ciscoise_v0.6.0-beta: 2022/05/12 16:40:40 [DEBUG] resty response for update operation => {
  "ERSResponse" : {
    "operation" : "PUT-update-identitygroup",
    "messages" : [ {
      "title" : "Validation Error - Illegal values: [The identity group parent could not be found : NAC Group:NAC:IdentityGroups:User Identity Groups:Employee]",
      "type" : "ERROR",
      "code" : "Application resource validation exception"
    } ],
    "link" : {
      "rel" : "related",
      "href" : "https://mapper.cisco.com:9060/ers/config/identitygroup/82054690-d23b-11ec-989c-2ab8e3d60603",
      "type" : "application/xml"
    }
  }
}: timestamp=2022-05-12T16:40:40.271-0500
2022-05-12T16:40:40.297-0500 [ERROR] vertex "ciscoise_identity_group.fw_admin" error: Failure when executing UpdateIDentityGroupByID
╷
│ Error: Failure when executing UpdateIDentityGroupByID
│
│   with ciscoise_identity_group.fw_admin,
│   on user_id_groups.tf line 5, in resource "ciscoise_identity_group" "fw_admin":
│    5: resource "ciscoise_identity_group" "fw_admin" {
│
│ error with operation UpdateIdentityGroupById
│ {
│   "ERSResponse" : {
│     "operation" : "PUT-update-identitygroup",
│     "messages" : [ {
│       "title" : "Validation Error - Illegal values: [The identity group parent could not be found : NAC Group:NAC:IdentityGroups:User Identity Groups:Employee]",
│       "type" : "ERROR",
│       "code" : "Application resource validation exception"
│     } ],
│     "link" : {
│       "rel" : "related",
│       "href" : "https://mapper.cisco.com:9060/ers/config/identitygroup/82054690-d23b-11ec-989c-2ab8e3d60603",
│       "type" : "application/xml"
│     }
│   }
│ }
╵
2022-05-12T16:40:40.325-0500 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-05-12T16:40:40.328-0500 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/ciscoise/ciscoise/0.6.0-beta/darwin_amd64/terraform-provider-ciscoise_v0.6.0-beta pid=60183
2022-05-12T16:40:40.328-0500 [DEBUG] provider: plugin exited

ciscoise_identity_group destroy does not send DELETE request to ISE

$ terraform destroy -auto-approve

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # ciscoise_identity_group.fw_admin will be destroyed
  - resource "ciscoise_identity_group" "fw_admin" {
      - id   = "id:=82054690-d23b-11ec-989c-2ab8e3d60603\\name:=ASA_Firewall_Admin" -> null
      - item = [
          - {
              - description = "ASA Firewall Admin"
              - id          = "82054690-d23b-11ec-989c-2ab8e3d60603"
              - link        = [
                  - {
                      - href = "https://mapper.cisco.com:9060/ers/config/identitygroup/82054690-d23b-11ec-989c-2ab8e3d60603"
                      - rel  = "self"
                      - type = "application/json"
                    },
                ]
              - name        = "ASA_Firewall_Admin"
              - parent      = "NAC Group:NAC:IdentityGroups:User Identity Groups:Employee"
            },
        ] -> null

      - parameters {
          - description = "ASA Firewall Admin" -> null
          - id          = "82054690-d23b-11ec-989c-2ab8e3d60603" -> null
          - name        = "ASA_Firewall_Admin" -> null
          - parent      = "NAC Group:NAC:IdentityGroups:User Identity Groups:Employee" -> null
        }
    }

Plan: 0 to add, 0 to change, 1 to destroy.
2022-05-12T16:42:39.859-0500 [INFO]  backend/local: apply calling Apply
2022-05-12T16:42:39.859-0500 [DEBUG] Building and walking apply graph for DestroyMode plan
2022-05-12T16:42:39.860-0500 [DEBUG] ProviderTransformer: "ciscoise_identity_group.fw_admin (destroy)" (*terraform.NodeDestroyResourceInstance) needs provider["registry.terraform.io/ciscoise/ciscoise"]
2022-05-12T16:42:39.860-0500 [DEBUG] ProviderTransformer: "ciscoise_identity_group.fw_admin (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/ciscoise/ciscoise"]
2022-05-12T16:42:39.860-0500 [DEBUG] ReferenceTransformer: "ciscoise_identity_group.fw_admin (expand)" references: []
2022-05-12T16:42:39.860-0500 [DEBUG] ReferenceTransformer: "local.root_id_group (expand)" references: []
2022-05-12T16:42:39.860-0500 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/ciscoise/ciscoise\"]" references: []
2022-05-12T16:42:39.860-0500 [DEBUG] pruneUnusedNodes: ciscoise_identity_group.fw_admin (expand) is no longer needed, removing
2022-05-12T16:42:39.860-0500 [DEBUG] pruneUnusedNodes: local.root_id_group (expand) is no longer needed, removing
2022-05-12T16:42:39.860-0500 [DEBUG] Starting graph walk: walkDestroy
2022-05-12T16:42:39.861-0500 [DEBUG] created provider logger: level=debug
2022-05-12T16:42:39.861-0500 [INFO]  provider: configuring client automatic mTLS
2022-05-12T16:42:39.871-0500 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/ciscoise/ciscoise/0.6.0-beta/darwin_amd64/terraform-provider-ciscoise_v0.6.0-beta args=[.terraform/providers/registry.terraform.io/ciscoise/ciscoise/0.6.0-beta/darwin_amd64/terraform-provider-ciscoise_v0.6.0-beta]
2022-05-12T16:42:39.877-0500 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/ciscoise/ciscoise/0.6.0-beta/darwin_amd64/terraform-provider-ciscoise_v0.6.0-beta pid=60502
2022-05-12T16:42:39.877-0500 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/ciscoise/ciscoise/0.6.0-beta/darwin_amd64/terraform-provider-ciscoise_v0.6.0-beta
2022-05-12T16:42:39.903-0500 [INFO]  provider.terraform-provider-ciscoise_v0.6.0-beta: configuring server automatic mTLS: timestamp=2022-05-12T16:42:39.903-0500
2022-05-12T16:42:39.914-0500 [DEBUG] provider.terraform-provider-ciscoise_v0.6.0-beta: plugin address: address=/var/folders/rj/hymfyrbs71s52cz1k76wnygw0000gn/T/plugin3625987468 network=unix timestamp=2022-05-12T16:42:39.914-0500
2022-05-12T16:42:39.915-0500 [DEBUG] provider: using plugin: version=5
ciscoise_identity_group.fw_admin: Destroying... [id=id:=82054690-d23b-11ec-989c-2ab8e3d60603\name:=ASA_Firewall_Admin]
2022-05-12T16:42:40.047-0500 [INFO]  Starting apply for ciscoise_identity_group.fw_admin
2022-05-12T16:42:40.047-0500 [DEBUG] ciscoise_identity_group.fw_admin: applying the planned Delete change
2022-05-12T16:42:40.047-0500 [INFO]  provider.terraform-provider-ciscoise_v0.6.0-beta: 2022/05/12 16:42:40 [DEBUG] Beginning IDentityGroup delete for id=[id:=82054690-d23b-11ec-989c-2ab8e3d60603\name:=ASA_Firewall_Admin]: timestamp=2022-05-12T16:42:40.047-0500
2022-05-12T16:42:40.047-0500 [INFO]  provider.terraform-provider-ciscoise_v0.6.0-beta: 2022/05/12 16:42:40 [DEBUG] Missing IDentityGroup delete on Cisco ISE. It will only be delete it on Terraform id=[id:=82054690-d23b-11ec-989c-2ab8e3d60603\name:=ASA_Firewall_Admin]: timestamp=2022-05-12T16:42:40.047-0500
ciscoise_identity_group.fw_admin: Destruction complete after 0s
2022-05-12T16:42:40.065-0500 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-05-12T16:42:40.068-0500 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/ciscoise/ciscoise/0.6.0-beta/darwin_amd64/terraform-provider-ciscoise_v0.6.0-beta pid=60502
2022-05-12T16:42:40.068-0500 [DEBUG] provider: plugin exited

Destroy complete! Resources: 1 destroyed.

Expected behavior

The provider should not try to update the resource when there is no change. And even if it does, it should not result in API error.
resource destroy should generate a DELETE request to ISE and the group should actually be deleted from ISE.

Screenshots
Provided above
Environment (please complete the following information):

ISE version and patch: 3.1 patch 3

terraform -version
Terraform v1.1.9
on darwin_amd64
+ provider registry.terraform.io/ciscoise/ciscoise v0.6.0-beta

OS version: macOS Big Sur

Additional context
N/A

After checking with the team, it turns out that we have an error on the Terraform resource for identity groups. DELETE is not supported in the API and we implemented the feature in Terraform.
We will remove the delete and change how the identity group resource works.
We will let you know once it is done

Appreciate the update, thank you!

I don't use this provider but also ran into the issue of DELETE not existing. Spoke with someone on the ISE development team about it and it seemed like an oversight that would be fixed. However if you can open a TAC case with this it would probably get higher priority as they would see that more customers are impacted.


Issues with dimension id.

When i'm using nTweaks and i create a world, in this case the resources one, i use a plugin to create it, and i call that world Resources. This world has, for example, world id 9. The problem comes when i'm using nTweaks, because it will create another world called DIM-9 with the same world id. This causes another problem, if i'm in the world Resources, and i restart the server, when i join the server it will try to load the world where i am, world id 9, but Resources and DIM-9 has the same world id, and it will load the DIM-9 instead of the Resources one, which has a different map, always the same seed, breaks the world residences, breaks the world portals, and way more problems.

Sorry for the late reply.
I can't replicate this issue, do you have an example modpack to try?

No problem. You can use this modpack to replicate the issue: https://mega.nz/#!UQVlgCbY!1TyioMrISRCiu0vxZ5z7iunGXLPgaeWikRFqUX3ss-g
I used Multiverse to make the custom-named world, but it works with myworlds and Multiworld too.


Added Samurai Fighting Game

PR Description 📜
Samurai Fighting Game
Samurai fighting games have carved out a unique niche in the gaming world, blending intense combat with rich cultural and historical themes. These games often feature stunning visuals, detailed characters, and engaging storylines that immerse players in the world of the samurai.
How to Play

PLAYER 1 can use the following keys:
A D and W to move
spacebar to hit

PLAYER 2 can use the following keys:
leftarrow rightarrow and uparrow to move
downarrow to hit

Fixes #4631

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you @tanyagupta01 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @tanyagupta01 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Exception 'ErrorException' with message 'Undefined index: contributors'

With the last version of master branch (e0a6048e0c4e2b6902d3de3599457f8cd340f945) I have this error:
[2015-05-04 14:45:17] local.ERROR: exception 'ErrorException' with message 'Undefined index: contributors' in /srv/http/git-pretty-stats/app/GitPrettyStats/StatisticsFormatter.php:42
Stack trace:
#0 /srv/http/git-pretty-stats/app/GitPrettyStats/StatisticsFormatter.php(42): Illuminate\Exception\Handler->handleError(8, 'Undefined index...', '/srv/http/git-p...', 42, Array)
#1 /srv/http/git-pretty-stats/app/GitPrettyStats/StatisticsFormatter.php(52): GitPrettyStats\StatisticsFormatter->statistics('contributors')
#2 /srv/http/git-pretty-stats/app/GitPrettyStats/Repository.php(71): GitPrettyStats\StatisticsFormatter->contributors()
#3 /srv/http/git-pretty-stats/app/controllers/RepositoryController.php(49): GitPrettyStats\Repository->statistics()
#4 [internal function]: RepositoryController->show('test-project')
#5 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(231): call_user_func_array(Array, Array)
#6 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Illuminate\Routing\Controller->callAction('show', Array)
#7 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call(Object(RepositoryController), Object(Illuminate\Routing\Route), 'show')
#8 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Routing/Router.php(934): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'RepositoryContr...', 'show')
#9 [internal function]: Illuminate\Routing\{closure}('test-project')
#10 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Routing/Route.php(104): call_user_func_array(Object(Closure), Array)
#11 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1000): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#12 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Routing/Router.php(968): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#13 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(738): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#14 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(708): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))
#15 /srv/http/git-pretty-stats/vendor/barryvdh/laravel-cors/src/Barryvdh/Cors/CorsMiddleware.php(33): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#16 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Http/FrameGuard.php(38): Barryvdh\Cors\CorsMiddleware->handle(Object(Illuminate\Http\Request), 1, true)
#17 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true)
#18 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#19 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#20 /srv/http/git-pretty-stats/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#21 /srv/http/git-pretty-stats/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(606): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#22 /srv/http/git-pretty-stats/public/index.php(49): Illuminate\Foundation\Application->run()
#23 {main} [] []

Here the line to blame: https://github.com/modess/git-pretty-stats/commit/2f88832a6f197b5597735fb5efc93e7d3d700fc9#diff-c2254f714dda6b74520408460486cb20R43

Does the repository contain any commits? I tested to create a new repository with git init but got another error than you. When I did a first initial commit it worked though. I also tested making a new branch after the initial commit and checked out the branch, also successful.
Anything else you could tell me that could help me debug this?

I don't remember if it was a git clone or a symlink of an existing repository (with 100-200 commits). I can't access to this test environment these days.

I am also with this problem.

I was at commit dfba227 from Jun 2014. Then I updated to the latest commit with "git pull".
Now I get the same error when I select a repository.
Here is the full log:
[2015-06-25 16:24:21] local.ERROR: exception 'ErrorException' with message 'Undefined index: contributors' in /var/www/devstats.macellan.net/app/GitPrettyStats/StatisticsFormatter.php:43
Stack trace:
#0 /var/www/devstats.macellan.net/app/GitPrettyStats/StatisticsFormatter.php(43): Illuminate\Exception\Handler->handleError(8, 'Undefined index...', '/var/www/devsta...', 43, Array)
#1 /var/www/devstats.macellan.net/app/GitPrettyStats/StatisticsFormatter.php(53): GitPrettyStats\StatisticsFormatter->statistics('contributors')
#2 /var/www/devstats.macellan.net/app/GitPrettyStats/Repository.php(71): GitPrettyStats\StatisticsFormatter->contributors()
#3 /var/www/devstats.macellan.net/app/controllers/RepositoryController.php(49): GitPrettyStats\Repository->statistics()
#4 [internal function]: RepositoryController->show('demo')
#5 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(231): call_user_func_array(Array, Array)
#6 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Illuminate\Routing\Controller->callAction('show', Array)
#7 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call(Object(RepositoryController), Object(Illuminate\Routing\Route), 'show')
#8 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(934): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'RepositoryContr...', 'show')
#9 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}('demo')
#10 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Routing/Route.php(104): call_user_func_array(Object(Closure), Array)
#11 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1000): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#12 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php(968): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#13 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(738): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#14 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(708): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))
#15 /var/www/devstats.macellan.net/vendor/barryvdh/laravel-cors/src/Barryvdh/Cors/CorsMiddleware.php(33): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#16 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Http/FrameGuard.php(38): Barryvdh\Cors\CorsMiddleware->handle(Object(Illuminate\Http\Request), 1, true)
#17 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true)
#18 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#19 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#20 /var/www/devstats.macellan.net/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#21 /var/www/devstats.macellan.net/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(606): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#22 /var/www/devstats.macellan.net/public/index.php(49): Illuminate\Foundation\Application->run()
#23 {main} [] []

Does anybody have a repository I could test this on? Can't reproduce this unfortunately.

I'm having the same problem with any of my repos, including the git-pretty-stats repo itself.
`'repositoriesPath' => [
        '.'
      ],`

The repos are showing on the list but when I click on one of them, I get a 500 error on the Ajax call:
{"error":{"type":"ErrorException","message":"Undefined index: contributors","file":"\/Users\/clement\/dev\/git-pretty-stats\/app\/GitPrettyStats\/StatisticsFormatter.php","line":43}}`

I'm using the PHP 5.6.10 built-in server (-S) on Mac OS 10.10.5, php executable came from MAMP. Tell me if I can give any other relevant info.

I'm having exactly the same issue. I have removed repos with non-public code and replaced with an old repo with personal stuff, and the problem persists. I cannot get a simple repository to show stats, all produce the same error message.
Git Pretty Stats - Home: http://stats.git.ibsinternet.com
Sample AJAX call producing the 500 error shown above: http://stats.git.ibsinternet.com/repository/registry.git
Debian Wheezy 3.2.0-04-amd64
Apache 2.2.22
PHP 5.4.39-0

Hi Guys! I was trying the app, and the error is in the cache loading
My fast workaround was disabled the cache comment this
app/GitPrettyStats/RepositoryFactory.php
// Try cache
//        $cached = Cache::get($cacheKey);
//        if ($cached !== null) {
//            return $cached;
//        }

Thanks! Great that I have a point of entry for debugging :)
Den tors 1 sep. 2016 06:22Germán<EMAIL_ADDRESS>skrev:

Hi Guys! I was trying the app, and the error is in the cache loading
My fast workaround was disabled the cache comment this
app/GitPrettyStats/RepositoryFactory.php
// Try cache
//        $cached = Cache::get($cacheKey);
//        if ($cached !== null) {
//            return $cached;
//        }
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/modess/git-pretty-stats/issues/32#issuecomment-243972384,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEJup1qz7AHlFM_0Axs8iLiVwDHalSGks5qllMNgaJpZM4ERpng
.

--
--
Niklas


Require links (at least one with rel "item")

Requirement 9.E of the latest OGC API - Tiles draft spec says that at least one "item" type link is required:

The tileset metadata SHALL include at least one templated link to individual tiles using the relation type "item", and the template parameters {tileMatrix}, and {tileRow} and {tileCol}. Those variables are to be substituted by their respective valid values to obtain the URL to a tile.

The links description in the schema ("Possible link 'rel' values are: 'dataset'...") also looks outdated (doesn't mention "item"), but I haven't changed that here (I'm still not clear on how the schema in this repo and the spec in the ogcapi-tiles repo are related and kept in sync).

The TileSet metadata is also intended for an offline tile repository.
I'm not sure if we intended to still require links in that case (e.g. to specify the tile file pattern template).

SWG 2021-08-12: We discussed this and first impression is that even for offline tileset use cases we could require a link, e.g.:
"href" : "./{tileMatrix}/{tileRow}/{tileCol}.png"
so we will approve and merge this pull request making links required.


Add templates of design1 to index

Background should disappear when night mode activated

@ElvinPero Can you please assign this to me?

@YashGadia please do also note the information about night mode

@ElvinPero I've solved the issue. Can you please check and review my work? I'm attaching the screen recording for all the changes that I've done.
https://user-images.githubusercontent.com/101691073/194880016-7310191e-0337-4af9-b19b-1c9274ba95d9.mp4
Thank you!

@YashGadia well done

You can PR


There are any screen of the game editor?

I want to see how is the Editor previus to start compiling and using it, there are any screen :C ? Thanks

I don't believe there is an editor for the silence engine. Or at least none that I have seen. I have been using Silence on and off for about a year, and it is all hands on.

Yes, there is no editor for SilenceEngine. There is a project creation tool however to assist you in creating cross platform project using gradle.


MQTT Path config options

Hi
Thanks for all the work you have put in to this, it is exactly what i need, however i dont run the default mqtt path of /homeassistant, is there a way to amend the published path in mqtt, or can you autodetect it as with all the other mqtt options?
On my MQTT setup i have an discovery_prefix configured.
Thanks

I'm going to close this for now because it's so far down the list of priorities that it will likely never get done anyway.


Owner details are missing in DB entity

What changes were proposed in this pull request?
Store the create user information into spark atlas db entity
How was this patch tested?
Local test

send other pr to branch 1.0


#2597. Please modernize AngularUI usage

As requested, ui-utils.min.js removed.
I found only one module from this lib in Beaker (ui.keypress).
Currently nothing from ui.keypress is used in Beaker.
I didn't touch ui.bootstrapas it's not a part of ui-utils. It's a standalone project with active upstream(https://github.com/angular-ui/bootstrap).

:+1:


Citation updates for source set collection list

citation-edits-adam-s-pnp.docx

Noting that a lot of these were originally verbatim from the "Cite this" portion of loc.gov.


bug: stdin pipe opens menu instead of buffer

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
V0.9.1
Operating system/version
Ubuntu 22.04
Describe the bug
echo “hello world” > hello_world.txt
cat hello_world.txt | nvim -
The above works fine with vanilla Neovim. With LazyVim, the Lazy main menu that is provided when you don’t pass in a file path is shown. Instead, treat stdin as a file.
Steps To Reproduce
echo “hello world” > hello_world.txt
cat hello_world.txt | nvim -

Expected Behavior
Same behavior as vanilla vi, vim, or neovim. Display stdin in a new buffer.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/LazyVim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Will be fixed once #3107 gets merged.


Rerun after ajax content?

Hi,
I was just wondering if there was a way to get this script to run again after loading in new content that has a CSS width: calc applied to it? E.g. picturefill allows you do to this:
picturefill({ reevaluate: true });
At the end of the ajax function, which recalculates the correct images.
By the way, to get the script to work in IE8 for me I had to comment out the console.log messages, as I was getting a console undefined error. Thanks though, it's working well so far.

The method for rerun the polyfill is:
window.dotheCalc


Escaping Liquid Tags in Jekyll

Comment thread for post Escaping Liquid Tags in Jekyll.
Comments made before 18 February 2021 were imported from Disqus using an import script. The datetimes and authors of the imported comments do not reflect the values of the original comments.

Comment № 1 originally by Bhavyanshu Parasher at 2015-01-16 13:03:16 UTC.
This is exactly what I was looking for. I have created a github gist for it.
https://gist.github.com/bha...
Thanks a lot :)

Comment № 2 originally by harry74323 at 2015-12-27 11:24:36 UTC.
{% raw %}{% endraw %} could be another solution.


Use BigDecimal for monetary calculations in RCS

Double is being used for monetary calculations in various places in the RCS. Double uses floating point arithmetic which is susceptible to precision errors.
BigDecimal needs to be used instead.
See https://github.com/SecureApiGateway/secure-api-gateway-ob-uk-rcs/blob/870385fd652d9e51bb4d3c853883e78a9fb7ef02/secure-api-gateway-ob-uk-rcs-api/src/main/java/com/forgerock/sapi/gateway/ob/uk/rcs/api/factory/details/DomesticPaymentConsentDetailsFactory.java#L113-L123
private FRAmount decodeCharges(JsonArray chargesArray, String currency) {
        FRAmount charges = new FRAmount();
        Double amount = 0.0;
        for (JsonElement charge : chargesArray) {
            JsonObject chargeAmount = charge.getAsJsonObject().getAsJsonObject(AMOUNT);
            amount += chargeAmount.get(AMOUNT).getAsDouble();
        }
        charges.setAmount(amount.toString());
        charges.setCurrency(currency);
        return charges;
    }

Unfortunately this method is copy pasted across the codebase, so needs fixing in multiple places. Cleanup the code to reuse logic to decode the charges.
Review any other places where Double may be being used for monetary calcs.

This issue was fixed during Consent Store refactoring, #1008


[Package Request]: Sumatra PDF

How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://www.sumatrapdfreader.org/free-pdf-reader
Publisher: Krzysztof Kowalczyk
Package Name:  Sumatra PDF
Description: PDF, eBook (epub, mobi), comic book (cbz/cbr), DjVu, XPS, CHM, image viewer for Windows.
Fast, small, packed with features, customizable, free.
Package Version: 3.5.2
Installer URL: https://www.sumatrapdfreader.org/download-free-pdf-viewer

Hi, this already exists under the ID of SumatraPDF.SumatraPDF

Closing as duplicate.