LocaliZoom-link for VisuAlign (non-linear registration) output

Would it be possible to set up LocaliZoom with atlas maps created with VisuAlign?
I have 4 series I would like to set this up for. The first one can be found here: Y:\hbp-02421\QuickNII_merged\new_H200_QuickNII_merged
The output from VisuAlign is this file: H200_TimmThionin_horizontal_IR_1_US_VisuAlign_CHB.json

LocaliZoom-NonLinear can load VisuAlign JSON data now.

@blixilla @Majpuc please provide actual data, N3 block ID + VisuAlign JSON pairs. Preferably public.

Hope the set of files below will work:
File 1: H200_TimmThionin_horizontal_IR_1_US_VisuAlign_CHB.json
File 2: H441_TimmThionin_horizontal_IR_gjeldende_US_VisuAlign_CHB.json
Location: lagringshotell - Y:\hbp-02421\QuickNII_merged\  (also provided here Arkiv.zip)
N3 - blocks for H200: 5946 og 5947
N3 - blocks for H441: 5255 og 5256
Arkiv.zip

@ingrre these series have no anchoring metadata in Navigator. While I quickly created it with QuickNII and used the Merge_s to apply it on Navigator data, everything working fine, it turns out I can not upload the result. Series are set to public (which also means read-only) and I don't have the privileges to change that. Project principals are @blixilla @Majpuc and Trygve, they can unlock the series by setting them private.

On a side note, a tiny example is ready,
http://www.nesys.uio.no/NonLinTest/filmstripzoom.html?atlas=300000&series=423&preview=ABAMousev2Preview.png automatically loads a (mockup) nonlinear anchoring for series 423. There is no trigger/customization in the link, page simply tries to load nonlinear data and either finds it or not.

I have now set H200 as private, hope this helps!

@blixilla thank you, I uploaded the metadata. It can be reverted to public if needed.

Works, direct link will be this: http://www.nesys.uio.no/NonLinTest/filmstripzoom.html?atlas=200000&series=5946,5947&preview=WHSRatv2Preview.png
However as long as series is private, you will have to login via http://www.nesys.uio.no/NonLinTest (and use the link above as "LocaliZoom link").

Thanks, I have reverted it back to public now. Is it possible to switch the view from outline to atlas in this link, and remove the 'anchors'? Also, I see that the original QuickNII anchoring is what you see in the filmstrip below, is it possible to change this, too?

Yes-yes-no.
I can make starting opacity a parameter in the link, and I can also make a simple, viewing-only version, where no anchoring/annotation happens, tools and pins are hidden.
The filmstrip itself can not show the nonlinear adjustments, that would require such changes in Navigator that did not happen in the past 5 years, so it is a safe bet that it won't be ready this week either. What I can do is making it 100% transparent by default or disable completely, and/or make any of that configurable via a parameter in the link.

This sounds good. A simple viewing-only version with starting opacity in the link (would be good if the atlas is semi-transparent by default) and default 100 % transparent filmstrip, would meet our needs.

It can be tested now:

adding parameter view disables annotation controls and hides the pins
adding parameter opacity=<number> sets the colorful overlay, with given opacity. Values are 0-100, integral numbers, where 0 is fully transparent, 99 is almost fully opaque and 100 toggles outlines (but that is the automatic setting anyway, when the parameter is not present at all)

Parameters are separated by ampersand. Example link: http://www.nesys.uio.no/NonLinTest/filmstripzoom.html?atlas=200000&series=5946,5947&preview=WHSRatv2Preview.png&view&opacity=10

This looks good, and meets our needs for now, thank you!


Version upgrade for 1.2.1

Version bump for release of 1.2.1, which includes:

feature/simple-tabular-generator: non-correlated data generation
auto-deployment workflow of new version to artifactory

bump @danielbarcklow @tazitoo @ssharpe42


[TODO] Lavaproof Sword

Works basically like the Terra Blade, but does a bit more damage, and is lava resistant.
It might get a completely new texture and maybe some other small changes.

if you allow the suggestion this could be instead a terra blade, using the original terraria terra blade texture and size relative to the player (making it a gigantic sword the size of steve's body) with a similar attack speed, instead of simply coating it with netherite, crafting a broken hero sword using gaia spirits ender air and  a netherite sword, it of course would not be able to be burned and rename the botania terra blade as terrasteel sword since thats more its vibe than the actual terra blade

Imo giant swords never really look good in mc, and i also don't like just stealing the texture from terraria.
I might make it a new sword instead, tho that would mean having to make a texture for it, which i am not good at, just making a netherite version of an existing item would be easier.
Also i think making a sword as expensive as that would require it to be pretty strong to be worth that, which would kinda make it op.
If this would become its own sword, instead of just a netherite coated version of the Terra Blade, it would be a bit more expensive then the Starcaller and Thundercaller, but not that much, as to only making it a bit worse prise/performace wise, without making it op.

"making it op" is relative because on the gaia tier botania has such things as the key of the king's law and the ring of odin, so buffing its dammage to 9 and making its attack speed a tad quicker wouldnt make it broken by botania standards, and after figthing gaia 2 gaia spirits are abundant to the point of the player having too many to spend after getting all the relics, besides the starcaller is a direct rip of the terraria sword, and thats ok, because its a reference, about the size, if converted to minecraft it would only be the size of an ice and fire sword(and lots of ppl love them), maybe a bit longer, so it wouldnt look too bad, the most change one would need to do is change the handle to livingwood and making it thinner

besides making "the terrablade but coated in netherite" is kinda uninteresting and does not fit botania, as it tends to add more steps than simple coat this weapon in this next tier material

True, botania usually doesn't add recipes like that, however minecraft usually doesn't either, however it does for netherite.

i think in the netherite case mojang wanted to add a use for the upgrading table but they wanted to keep it simple and dumb so they just made netherite a pain to get and made only 1 ingot necessary to get netherite gear + using the broken hero sword on an upgrade table with a terrasteel sword is totaly an option, in fact it makes more sense if that and all the fluguel tiara recipes were upgrade table recipes tbh

I might add Homing Mana Bursts on swing, somewhat like the Holy Sword Excalibur had, back when that was a thing.
Or maybe not, not sure how i want this sword to look and what name it should get.

Closing this since Terrasteel tools are fire proof now.
They are fire proof since quite a while actually, I just forgot about this issue.
This issue does suggest other differences between the normal sword and the new one, but since the main point was it being fire proof I'm closing this.


Remove 'u' suffix support from TextFormat.

https://protobuf.dev/reference/protobuf/textformat-spec/#numeric and https://protobuf.dev/reference/protobuf/textformat-spec/#literals don't seem to show any signs that a 'u' suffix was ever valid. I also don't see any references in the C++ code. It also seems like we would parse -12u as valid which seems a little odd since it clearly isn't an unsigned value.
So dropping the 'u' support as it seems out of spec.

@tbkka - I haven't been able to figure out where this support came from, but it doesn't seem to be to spec.  This isn't an api change, but it is a behavior change, so if you'd rather keep it unless we do want to do breaking changes, we can just add a comment that it isn't to spec and it should be removed in the future. Up to you.

An early version of this file (commit 0aa510909 from Dec 2016) has a comment:
                        case "f", "u":
                            // proto1 allowed floats to be suffixed with 'f'
                            // and unsigned integers to be suffixed with 'u'
                            // Just ignore it:
                            return .number(s)

If I understand correctly, proto1 was never used outside of Google and I presume is no longer used inside of Google, so I'm fine just removing this.

Ok, since the C++ doesn't support it either, then, yea, guess safe to drop.
Did you want to go ahead and stamp this with approval?


feat: extend list container reset to  tag

I just noticed that the menu tag has some strange defaults and extending the magin reset from other list types seems to fix this.

It looks like this tag isn't well supported. Not sure if this is an archaic tag, or new school, but I think I should probably remove it in my application vs. add it to tailwind.


BUG: Validation in Contact us form

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
@Suchitra-Sahoo
please checkout this there is no contact validation

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Assign this isssue to me

@Suchitra-Sahoo
need-help
please add level lable

@Suchitra-Sahoo
add level lables


Admin list all episodes/seasons for tv shows api request never ending and large data

See below:

It kept climbing up to 200mb before I left the page and cancelled the request

Wow .. that looks pretty bad! how many episodes do you have for that show? It shouldnt be 200mb at least.. I've looked into performance there already, and I will do more, but that seems more like a bug than anything else. Does this happen with any other show? Is there anything specific for that show that is worth mentioning and might bring me closer to a bugfix?

The show has 220 episodes uploaded and about 4 seasons.

I think the issue is that each episode that is returned has "nextEpsiode" property which continues to chain down through every episode until the last one in the series. Which is just excess data and only needs to show the direct next episode not two, five, or twenty down the chain. Or else episode one will chain all the way down to 220 then the second one will be 219 episodes long and etc.

I believe this line of code is the culprit. This line needs to somehow limit the number of results returned to 1. I don't know any groovy myself or else I would have created a PR.

Should be fixed! please let me know

Yes that fixed it, thank you.


Ability to read current state?

Is there currently a way for me to retrieve the pane's location state (bottom, middle, top?)

@raminnoodle
currentBreak()
Method return current break position in text format ('top' | 'middle' | 'bottom)
if (myPane.currentBreak() === 'top') {
    myPane.moveToBreak('bottom');
}

Perfect, thank you! Love this component!

@raminnoodle i add this feature one day ago, please update package.

Thank you so much. Absolutely love the pane! Spent weeks trying to get another one working properly this one works exactly as needed out of the box.


Status of this project?

Hi @birkir, this project seems really interesting, what's its status?
I see that not many contribution happened in the last year.
I'd be willing to use and more importantly sponsor this tool if it is maintained.

Yeah, you're not the only one! Many have had similar interests in this project.
I am very busy doing a different project right now, but in my line of work, the need for PRIME is getting greater and greater.
Hopefully, the development starts again this year!

Another project to consider in the meantime:
https://keystonejs.com/
...but it lacks a couple features that Prime has

It's abandoned. You may try Directus

It's abandoned. You may try Directus

It's not, keystonejs have been recently updated (as of 25 march 2022), but yes, they don't have regular updates.

Guys (and girls), you know that main feature of open-source IS to co-operate on code?

Just to mention, not start a war, nor to blame anyone, an little offtop, but came here cos of interest in this project.

I would also recommend looking into Supabase. It looks very promising, and it has a very active community.


enhancement: recover fuse according to multiple peer group options

Ⅰ. Describe what this PR does
This PR does the following changes to Fluid:

Set fluid-src-dir volume in Fluid's CSI daemonset to HostToContainer instead of Bidirectional
There is no need for fluid-src-dir volume to be mounted with Bidirectional mount propagation. HostToContainer is enough to make FUSE mountpoint propagate from FUSE pod to CSI pod.

Detect mount points' multiple peer groups (if exist) instead of checking only the first peer group
When mounting fluid-src-dir with mountPropagation=HostToContainer, there may be several peer groups in a mount info line. For example:

1764 1620 0:388 / /runtime-mnt/juicefs/default/jfsdemo/juicefs-fuse ro,relatime shared:475 master:478 - fuse.juicefs JuiceFS:minio ro,user_id=0,group_id=0,default_permissions,allow_other

Both peer group 475 and 478 should be taken into account when recovering the fuse mount point.
Notes for backward compability:

The PR will not affect existing fuse mount point's connection so it would not affect any existing Pods.
When FUSE recovery is disabled, Fluid CSI Plugin is backward compatible for Fluid users with only little difference under the hood: the pod's mount point bind-mounted by NodePublishVolume function will be master:X instead of shared:X.

Before this PR:
3000 2999 0:530 / /var/lib/kubelet/pods/ffc13c30-f7ce-442a-9cef-b738f439ca7d/volumes/kubernetes.io~csi/default-demo-dataset/mount ro,nosuid,nodev,relatime shared:317 - fuse /dev/fuse ro,user_id=0,group_id=0,allow_other

After this PR:
3006 3005 0:623 / /var/lib/kubelet/pods/c154a69a-c5fa-41a0-a4a1-0bb8288d701c/volumes/kubernetes.io~csi/default-demo-dataset/mount ro,nosuid,nodev,relatime shared:369 master:311 - fuse /dev/fuse ro,user_id=0,group_id=0,allow_other

When FUSE recovery is enabled,

for mount points that are NodePublish before this PR, they still suffer the redundant mount point problem.
for mount points that are NodePublish after this PR, they will not suffer the redundant mount point problem. So users should recreate the pods to manually trigger NodePublish to avoid the problem.

Ⅱ. Does this pull request fix one issue?

fixes #XXXX
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/lgtm


Node relative postioning relative to parent node doesn't function in latest editor build.

While editing one of my exisiting node I have discovered that thru the editor I can no longer change position of the node relative to its parent:
In config example below I can no longer change position of NODE SANDBOX thru the editor in node properties thru node coordinates.  It doesn't move.
Lastly as it related to this issue, can you please re-introduce a feature that existed in previous SVN
LOCK TO NODE:  screen shot below;  It was such a great engineering find that made map development easier!

# Automatically generated by php-weathermap v0.98

WIDTH 400

KEYTEXTCOLOR 0 0 0
KEYOUTLINECOLOR 0 0 0
KEYBGCOLOR 255 255 255
BGCOLOR 255 255 255
TITLECOLOR 0 0 0
TIMECOLOR 0 0 0

# All settings for scale DEFAULT
	KEYPOS DEFAULT -1 -1 Traffic Load

	SCALE DEFAULT 0    0      192 192 192
	SCALE DEFAULT 0    1      255 255 255
	SCALE DEFAULT 1    10     140 0 255
	SCALE DEFAULT 10   25     32 32 255
	SCALE DEFAULT 25   40     0 192 255
	SCALE DEFAULT 40   55     0 240 0
	SCALE DEFAULT 55   70     240 240 0
	SCALE DEFAULT 70   85     255 192 0
	SCALE DEFAULT 85   100    255 0 0

SET testmode 1
SET key_hidezero_DEFAULT 1

# End of global section

# TEMPLATE-only NODEs:

# TEMPLATE-only LINKs:

# regular NODEs:
NODE BGP_SITE_NAME
	LABEL DESCRIPTION
	LABELFONT 5
	AICONFILLCOLOR 191 239 255
	LABELOUTLINECOLOR none
	LABELBGCOLOR none
	ICON 300 30 box
	LABELOFFSET 0 -2
	POSITION 175 178

NODE SANDBOX
	LABEL SANDBOX
	LABELFONT 112
	LABELOUTLINECOLOR none
	LABELBGCOLOR none
	ICON 300 26 box
	LABELOFFSET -64 -1
	POSITION BGP_SITE_NAME 0 37

# regular LINKs:

# That's All Folks!

The last commit pulled this code back from the previous version (I figured out how to get a copy of something close to r641). There is one bug in it, which would have always been there. I've opened a ticket for that #95

Thank you Howie, I would be looking forward to test any potential fix and editor updates.

It should be usable (as much as it was before) right now. The bug is minor, and would have been in the old versions too.

Tested and is working now thanks:) Build 1170!
Lock to works now too! thanks!


Remove dependency on Quick/Nimble

This PR addresses the same issue of Swinject Issue #472, and performs the migration from Quick/Nimble to XCTest in the same way as Swinject PR #473.

Replaced XxxSpec using Quick/Nimble with XxxTests using XCTest.
Removed dependency on Quick/Nimble. (We still need Carthage because of the dependency on Swinject.)

Note
Unit tests corresponding to those failed with Quick/Nimble still fail for macOS target. We need investigation later.

Do the failing tests also fail for macOS on the current master (using Quick and Nimble)? If so, that likely indicates that our library is broken on macOS for some use cases.

The failing tests also fail for macOS using Quick and Nimble for the same conditions.
The tests fail with nil where a value is expected. I'm assuming Storyboard setting or some settings are broken in the macOS configuration of SwinijectStoryboard.

Gotcha. Are you cool with merging this PR after I do the release? Or do you think it's safe enough to go into the release?

I don't mind merging this PR after you make the release👍 Meanwhile, I'll check the cause of the test failure more😉

I noticed unit tests failed if a vew/window controller was instantiated with instantiateInitialController, but still don't know why the test fail😥

From what I remember we employed some hacks to get that to work. Perhaps newer versions of the iOS SDK broke those hacks.

It looks the cause relate to the new NSStoryboard APIs Apple introduced for macOS 10.15+ and Xcode 11.0+

The old and still available API is instantiateInitialController() https://developer.apple.com/documentation/appkit/nsstoryboard/1426545-instantiateinitialcontroller
The new API to instantiate NSViewController is instantiateInitialController(creator:) https://developer.apple.com/documentation/appkit/nsstoryboard/3203779-instantiateinitialcontroller
The new API to instantiate NSWindowController is instantiateInitialController(creator:) https://developer.apple.com/documentation/appkit/nsstoryboard/3203780-instantiateinitialcontroller

I'm still investigating the issue.

I made the investigation, but still not sure why instantiateInitialController doesn't work for macOS target...

@yoichitgy release has been completed! Feel free to merge when you're ready!

Thanks @mpdifran for the review😃
I made a ticket #166 for the macOS issue found during the work for this PR.


Fix parsing of the --tmpfs option

With StringSlice, we're seeing individual options added and parsed separately, so tmpfs:nosuid,nodev turns into three tmpfs mounts passed into pkg/sec (tmpfs:, nosuid, nodev). Swap to StringArray to tell cobra this can't be split on commas.

Probably could use a test. Partial solution to #3434

lgtm

/lgtm
Add tests in separate PR,


Attempting to start a reply to a message you're editing doesn't work

This is a somewhat tricky issue that we need to think about carefully.  Right now, the behavior is weird, in that your mouse moves to a pointer "something will happen if you click" when you move it over any of the yellow areas of the message body:

Yep clicking does nothing; I imagine users expect that it would open the compose box (as happens if you click on other messages).

This action makes the most sense to me. However, it shouldn't only apply to messages that you're editing, but also messages that you're looking at the sources of.

@zulipbot claim

@timabbott It seems there is related issue #3992. Whether it is appropriate to combine these issues? So, when user clicks on yellow area we should ask if he want to cancel his edit or go back to editing:

if he decide to cancel his edit then we close editing window and open the compose box.
if he decide to continue editing then we set focus on editing area

Well, I think this issue is mostly one of the clicker handlers; if a user hovers on the being-edited message's e.g. top frame (everything not part of the message-edit form), it should show a pointer and clicking should start compose; and if they're over the message-edit form, it should not show a pointer.

I have a little doubt about the opening of compose box while some message are edited. Because there is explicit handling of this case in click_handlers.js:128:
            if (message_edit.is_editing(id)) {
                // Clicks on a message being edited shouldn't trigger a reply.
                return;
            }

@timabbott Should we change the current behavior? If we decide to open a compose-box, should we close the current message-edit form (and cancel editing)?

@zulipbot claim

#9025 looks correct for the cursor piece.
@rishig what are your thoughts on the correct behavior here?  I guess my view is the area that's not part of the message-edit form (and that form in my mind includes the area with the buttons below, but not the address line above, the actual text areas), then it should do the normal reply thing when you click.

yeah, that seems reasonable, given that we open compose for clicking on any of the other messages.

Hi, I would like to work on this issue

@zulipbot claim

@zulipbot claim

@timabbott does this work? I've tried to fix 2 issues with this PR.

OK I want to get the issue clearly... so what I have understood so far is that what we need to change is the hover action only. If a message is being edited it shouldn't trigger the mouse to turn into a pointer. Am I correct?
Also can you guide me to a starting point? I have only little experience navigating large codebases

@zulipbot claim

@zulipbot claim

@zulipbot claim

@zulipbot abandon

Hello, Can I start working on this issue ?

@zulipbot claim

@ddigiovine are you still working on this issue?

Yes @justAcoderguy I am still working on this issue it is mostly done just in the process of cleaning up the code and testing the fix.

@zulipbot claim

@zulipbot claim

@zulipbot abandon

@zulipbot abandon

claim

@zulipbot claim

@zulipbot claim

@zulipbot claim

Is this issue still unsolved? Please let me know.

Thanks for checkign @gokul-github-collab ! I put an updated plan in the issue description.

@zulipbot claim

@zulipbot claim

@zulipbot claim

This is my first PR for Zulip. I'm new to open source, so any input would be much appreciated. Even though I followed the documentation the entire time, if anything is incorrect or should be improved, please let me know.

Considering that most of the work has been completed, I am unassigning myself. However, I will continue working on it and update the pull request if needed.
@zulipbot abandon

@zulipbot claim


pythonPackages.monkeyhex: init at 1.7.1

Motivation for this change
Make the monkeyhex package available on NixOS.
Things done

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

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@jonringer: Thanks for your feedback!

PR built sucessfully on Darwin nix-review pr.

nox-review is happy on macos 10.13

@Pamplemousse Can you please fix the conflict?

Poke @FRidh : is there anything blocking?
Cheers :)

@GrahamcOfBorg build python27Packages.monkeyhex python37Packages.monkeyhex python38Packages.monkeyhex


Factorio 1.1.38 update

@jorisdrenth I do not know, if somebody should be assigned as Reviewer to this PR.

@nils-mueller Neither do I, maybe @Fank or @SuperSandro2000 can tell us?

Looks like this needs a tag in order to publish?

Yes its comming now


Don't rely on after/plugin for registering sources

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config

nvim-cmp and a completion source (e.g. cmp-nvim-lsp) installed as opt plugins in the packpath
packadd nvim-cmp and cmp-nvim-lsp within an autocommand (e.g. InsertEnter).

Description
Most completion sources rely on after/plugin to register themselves, and the impact on startup time can be quite heavy (especially when a lot of sources are installed).
For this reason, it can be desirable to install the plugins as opt plugins and lazy-load them (e.g. on an InsertEnter event).
But nvim-cmp sources rely on after/plugin to register themselves (for lack of an API).
Because Neovim doesn't source after scripts once the startup initialisation has completed, the sources won't register themselves and nvim-cmp will error when trying to pass them in via the setup function.
Steps to reproduce

Install nvim-cmp and cmp-nvim-lsp to opt
Create an autocommand for InsertEnter with a callback that

packadd! nvim-cmp
packadd cmp-nvim-lsp
calls cmp.setup to add the source.
packadd nvim-cmp

Expected behavior
No error. nvim-cmp and the LSP source configured and loaded on InsertEnter
Actual behavior
nvim-cmp errors when calling setup, due to the missing source.
Additional context
A potential solution would be to execute a :h User autocommand with the pattern CmpRegisterSourcePre at the start of the setup call, or in the main module that loads the setup function.
Sources could create an autocommand with that pattern to ensure they are registered at the appropriate time.

If you're open to the proposed solution, I'd be happy to contribute :smile:

hi i maintain a fork of nvim-cmp, magazine.nvim, and this looks like something interesting to implement

Is there a way to detect when something has been added to the runtimepath, rather than using packadd?
I'd like to be able to detect when something has been added to the runtimepath as well.

nvim-cmp can cache runtimepath and check it when on completion events.
Or you can use OptionSet autocmd.


[WIP] Initial Puppetserver 5 provisioning

New puppetserver node class to install puppetserver from containers
Disable hiera-eyaml-gpg check in site.pp, which is not supported in Puppet5
Disable puppet and unused_kernel classes in base class, that need to be updated
for Puppet5 clients
Remove ruby-shadow gem from Hieradata, as the Gem provider didn't work on Puppet5
Restore default logging driver on AWS containers (json-file), as syslog is not
logging messages.
Add elastic-beat apt repo key that was missing and failing on Puppet 5
Add container classes and test configuration for puppetserver, puppetdb and
puppetdb-postgres

Closing but not deleting as we might need this.


Pretrained Vocoder

Thank you for your masterpiece.
Could you provide a pretrained vocoder(PWGAN), if you have?

Hi,
Unfortunately, the current code has been trained and tested with a small amount of private dataset, so it is also difficult to share the vocoder trained by the dataset. I am sorry.
Thanks


Creating a new user as admin crashes

I tried to create a new user with admin rights and the site crashed (
We're sorry, but something went wrong.
If you are the application owner check the logs for more information.)

@cabotine Do you have the possibility to screen record what you did and post a GIF export here? The whole browser window. Bonus points: Please include the exact time of this. Than we can look it up in the log files.

@cabotine Please - for the sake of my health - don't use the word "crash" in this context. 😱 For a second I thought that the whole web server is down. But this is just an error page. Everything else works fine. 😉

I am sorry. Will keep it in mind.
The account where it happend was "Weinhold". Do you have a good screen recorder with gif export for Windows?
It is supposed to send an email with a passwort? This seems not the case.

@cabotine Yes, it should send an email with a password recovery link.
Has the user been created though? That is, if you check the list of all users, the new user is present?
If it is, the error could be a problem with sending out emails. That is, the user was created, but then email could not be sent, resulting in the error.
It works fine for me locally. So the next step would be to check the logs, maybe searching for POST "/users".

Yes, it was created, but no email was sent.

@wintermeyer Just realized that we never changed the mail configuration. Could you check the configuration in config/environments/production.rb.
IMHO it would make most sense to replace it with environment variables, so that every deployment is able to easily change the mail server settings without the need of changing the code.
Unfortunately Rails doesn't provide env variables (unlike $DATABASE_URL), so we'd need to replace them on our own:
  config.action_mailer.default_url_options = {host: ENV["HOST"]}
  config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = {
    address: ENV["SMTP_HOST"],
    port: ENV["SMTP_PORT"],
    tls: ENV["SMTP_TLS"],
    enable_starttls_auto: ENV["SMTP_ENABLE_STARTTLS_AUTO"],
    openssl_verify_mode: ENV["SMTP_OPENSSL_VERIFY_MODE"]
  }

closed by https://github.com/wort-schule/wort.schule/pull/43


Separate classes for Date and Time

It will be grate to have classes for truncated date (year+month+day) and pure time (hour+minute+second)

I think almost same things.
In my project, I finally created YearMonthDay (that has year:Int, month: Int, day: Int) class, and LocalTime (that has hour: Int, minute: Int, second: Int, milliseconds: Int).

Included in Klock 1.7.0:
https://github.com/korlibs/klock/blob/master/klock/src/commonMain/kotlin/com/soywiz/klock/Date.kt
https://github.com/korlibs/klock/blob/master/klock/src/commonMain/kotlin/com/soywiz/klock/Time.kt


Namespace issue in Bump Chart

There is a namespace issue in the exporting of the svg in the Bump Chart (could also be in other visual models, but I've found it for sure in the Bump Chart).
It would easly be fixable by adding this line as an attribute to the svg element:
xmlns:xlink="http://www.w3.org/1999/xlink"
Here attached the error I'm talking about:

Solved with cc379fad326b3e5997db1b2ef5753a64d17892ea


[AutoPR mediaservices/resource-manager] Adding Azure Media Services version 2018-06-01-preview version

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3177

Can one of the admins verify this patch?

This PR has been merged into https://github.com/Azure/azure-sdk-for-java/pull/2129


422 error when creating pull request

time="2022-09-14T09:09:05Z" level=fatal msg="POST https://api.github.com/repos/champ-oss/terraform-blah/pulls: 422 Validation Failed [{Resource:PullRequest Field: Code:custom Message:No commits between main and file-sync}]"

Deleting the old file-sync branch and re-running the sync workflow worked.


Having issues to setup the icon

Is your feature request related to a problem? Please describe.
I am using onprem JAMF and I can’t pull the icon location hash so what is the alternative option to setup the icon

@mani2care:
This appears to be a duplicate of your previous Issue No. 2.
You can use any URL you like for icons.

@mani2care:
This appears to be a duplicate of your previous Issue No. 2.
You can use any URL you like for icons.

Is this true for only the different dialogues or for the policy_array JSON icon entries as well? I was thinking it assigned the hash to a variable $icon and appended https://ics.services.jamfcloud.com/icon/hash_$icon

I am having only onprem JAMF and I’m not having JAMF lid to store the icons .
there is no hash value to pull the details then how I can call the icon is that supported just pulling any icon from any open web link ?

@mani2care:
What URL do you get if you attempt to "harvest" the Self Service icons?
Please advise if Cloud Services Connection has been enabled.

It’s additional cost of the company and company not ready to go for the
cloud service
Then how to use it
On Thu, 22 Sep 2022 at 11:33 PM, Dan K. Snelson @.***>
wrote:

@mani2care https://github.com/mani2care:
What URL do you get if you attempt to "harvest
https://rumble.com/v119x6y-harvesting-self-service-icons.html" the Self
Service icons?
Please advise if Cloud Services Connection
https://docs.jamf.com/10.40.0/jamf-pro/documentation/Cloud_Services_Connection.html?hl=icon service
has been enabled.
—
Reply to this email directly, view it on GitHub
https://github.com/dan-snelson/dialog-scripts/issues/8#issuecomment-1255371249,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUGJU6RFBDBZ2TGQKDYZFLV7SNNJANCNFSM6AAAAAAQL7MBF4
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Thanks & Regards,
Manikandan R
Contact: +91-9902103878
E-mail: @.***

HI Dan i just found that option to download the icon from the onpre using this command kindly help me to add it your script in proper function
/usr/bin/curl -s "https://url:8443/stored-images?id=1" -o ss_icon.png
/usr/bin/curl -s "https://url:8443/icon?id=26" -o 1_icon.png
ss_icon or 1_icon the any random name
because i do not have the cloud function to do this.

I just changed that icon function and i just putting any url so the system will take the icon directly from any link cloud or onprem or out side url any thing just to use it.
#Lince are change
584,616,618,641,644,
`#!/bin/bash
####################################################################################################

Setup Your Mac via swiftDialog
#https://github.com/dan-snelson/dialog-scripts/blob/main/Setup Your Mac/Setup-Your-Mac-via-Dialog.bash
Purpose: Leverages swiftDialog v1.11.2 (or later) (https://github.com/bartreardon/swiftDialog/releases) and
Jamf Pro Policy Custom Events to allow end-users to self-complete Mac setup post-enrollment

Inspired by: Rich Trouton (@rtrouton) and Bart Reardon (@bartreardon)

Based on:
- Adam Codega (@adamcodega)'s https://github.com/acodega/dialog-scripts/blob/main/MDMAppsDeploy.sh
- James Smith (@smithjw)'s https://github.com/smithjw/swiftEnrolment

####################################################################################################

HISTORY

Version 1.2.8, 17-Sep-2022, Dan K. Snelson (@dan-snelson)
Replaced "ugly" completionAction if … then … else with "more readabale" case statement (thanks, @pyther!)
Updated "method for determining laptop/desktop" (thanks, @acodega and @scriptingosx)
Additional tweaks discovered during internal production deployment

####################################################################################################
####################################################################################################

#Lince are change
92,189,584,616,618,641,644,

####################################################################################################
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Script Version & Debug Mode (Jamf Pro Script Parameter 4)
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
scriptVersion="1.2.8"
debugMode="${4}"        # ( true | false, blank )
assetTagCapture="${5}"  # ( true | false, blank )
completionAction="${6}" # ( number of seconds to sleep | wait, blank )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Check for an allowed "Completion Action" value (Parameter 6); defaults to "wait"
Options: ( number of seconds to sleep | wait, blank )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
case "${completionAction}" in
'' | [!0-9]   ) completionAction="wait" ;;
*               ) completionAction="sleep ${completionAction}" ;;
esac
if [[ ${debugMode} == "true" ]]; then
echo "Using "${completionAction}" as the Completion Action"
fi
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Set Dialog path, Command Files, JAMF binary, log files and currently logged-in user
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
dialogApp="/usr/local/bin/dialog"
setupYourMacCommandFile="/var/tmp/dialog_setup_your_mac.log"
welcomeCommandFile="/var/tmp/dialog_welcome.log"
failureCommandFile="/var/tmp/dialog_failure.log"
loggedInUser=$( /bin/echo "show State:/Users/ConsoleUser" | /usr/sbin/scutil | /usr/bin/awk '/Name :/ { print $3 }' )
jamfBinary="/usr/local/bin/jamf"
logFolder="/private/var/log"
logName="enrollment.log"
exitCode="0"
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
APPS TO BE INSTALLED

For each configuration step, specify:
- listitem: The text to be displayed in the list
- icon: The hash of the icon to be displayed on the left
- See: https://rumble.com/v119x6y-harvesting-self-service-icons.html
- progresstext: The text to be displayed below the progress bar
- trigger: The Jamf Pro Policy Custom Event Name
- path: The filepath for validation

shellcheck disable=1112
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
policy_array=('
{
"steps": [
{
"listitem": "Rosetta 2",
"icon": "https://url:8443/icon?id=151",
"progresstext": "Rosetta 2 is an app that runs in the background and allows Intel-based apps to run on your M1 Mac.",
"trigger_list": [
{
"trigger": "rosetta",
"path": "/System/Library/CoreServices/Rosetta 2 Updater.app/Contents/Info.plist"
}
]
},
{
"listitem": "Cisco AnyConnect Secure Mobility Client",
"icon": "https://url:8443/icon?id=75",
"progresstext": "Remote and mobile users use the Cisco AnyConnect Secure VPN client to establish VPN sessions with the adaptive security appliance.",
"trigger_list": [
{
"trigger": "anyconnect",
"path": "/Applications/Cisco/Cisco AnyConnect Secure Mobility Client.app/Contents/Info.plist"
}
]
},
{
"listitem": "Enterprise Connect",
"icon": "https://url:8443/icon?id=53",
"progresstext": "Enterprise Connect provides Mac users with a secure connection to an Active Directory (AD) domain and resources.",
"trigger_list": [
{
"trigger": "enterpriseconnect",
"path": "/Applications/Enterprise Connect.app/Contents/Info.plist"
}
]
},
{
"listitem": "Update Inventory",
"icon": "https://url:8443/icon?id=125",
"progresstext": "A listing of your Mac’s apps and settings — its inventory — is sent automatically to the Jamf Pro server daily.",
"trigger_list": [
{
"trigger": "recon",
"path": ""
}
]
}
]
}
')
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
"Welcome / Asset Tag" Dialog Title, Message and Icon
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
welcomeTitle="Welcome to your new Mac!"
welcomeMessage="To begin, please enter your Mac's Asset Tag, then click Continue to start applying Church settings to your new Mac.  \n\nOnce completed, the Quit button will be re-enabled and you'll be prompted to restart your Mac.  \n\nIf you need assistance, please contact the Help Desk: +1<PHONE_NUMBER>."
appleInterfaceStyle=$( /usr/bin/defaults read /Users/"${loggedInUser}"/Library/Preferences/.GlobalPreferences.plist AppleInterfaceStyle 2>&1 )
if [[ "${appleInterfaceStyle}" == "Dark" ]]; then
welcomeIcon="https://wallpapercave.com/dwp2x/MGxxFCB.jpg"
else
welcomeIcon="https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/Apple_Computer_Logo_rainbow.svg/1028px-Apple_Computer_Logo_rainbow.svg.png?20201228132849"
fi
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
"Welcome / Asset Tag" Dialog Settings and Features
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
dialogWelcomeCMD="$dialogApp
--title "$welcomeTitle"
--message "$welcomeMessage"
--icon "$welcomeIcon"
--iconsize 198
--button1text "Continue"
--button2text "Quit"
--button2disabled
--infotext "v$scriptVersion"
--blurscreen
--ontop
--titlefont 'size=26'
--messagefont 'size=16'
--textfield "Asset Tag",required=true,prompt="Please enter your Mac's seven-digit Asset Tag",regex='^(AP|IP)?[0-9]{6,}$',regexerror="Please enter (at least) seven digits for the Asset Tag, optionally preceed by either 'AP' or 'IP'. "
--quitkey k
--commandfile "$welcomeCommandFile" "
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
"Setup Your Mac" Dialog Title, Message, Overlay Icon and Icon
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
title="Welcome to ABB Setting up your Mac"
message="Please wait while the following apps are installed …"
overlayicon=$( defaults read /Library/Preferences/com.jamfsoftware.jamf.plist self_service_app_path )
Set initial icon based on whether the Mac is a desktop or laptop
if system_profiler SPPowerDataType | grep -q "Battery Power"; then
icon="SF=laptopcomputer.and.arrow.down,weight=semibold,colour1=#ef9d51,colour2=#ef7951"
else
icon="SF=desktopcomputer.and.arrow.down,weight=semibold,colour1=#ef9d51,colour2=#ef7951"
fi
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
"Setup Your Mac" Dialog Settings and Features
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
dialogSetupYourMacCMD="$dialogApp
--title "$title"
--message "$message"
--icon "$icon"
--progress $progress_total
--button1text "Quit"
--button1disabled
--infotext "v$scriptVersion"
--titlefont 'size=28'
--messagefont 'size=14'
--height '70%'
--position 'centre'
--blurscreen
--ontop
--overlayicon "$overlayicon"
--quitkey k
--commandfile "$setupYourMacCommandFile" "
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
"Failure" Dialog Title, Message and Icon
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
failureTitle="Failure Detected"
failureMessage="Placeholder message; update in the finalise function"
failureIcon="SF=xmark.circle.fill,weight=bold,colour1=#BB1717,colour2=#F31F1F"
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
"Failure" Dialog Settings and Features
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
dialogFailureCMD="$dialogApp
--moveable
--title "$failureTitle"
--message "$failureMessage"
--icon "$failureIcon"
--iconsize 125
--width 650
--height 375
--position topright
--button1text "Close"
--infotext "v$scriptVersion"
--titlefont 'size=22'
--messagefont 'size=14'
--overlayicon "$overlayicon"
--commandfile "$failureCommandFile" "
#------------------------------- Edits below this line are optional -------------------------------#
####################################################################################################

Functions

####################################################################################################
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
JAMF Display Message (for fallback in case swiftDialog fails to install)
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
function jamfDisplayMessage() {
echo "${1}"
/usr/local/jamf/bin/jamf displayMessage -message "${1}" &
}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Check for / install swiftDialog (thanks, Adam!)
https://github.com/acodega/dialog-scripts/blob/main/dialogCheckFunction.sh
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
function dialogCheck(){
Get the URL of the latest PKG From the Dialog GitHub repo
dialogURL=$(curl --silent --fail "https://api.github.com/repos/bartreardon/swiftDialog/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg"/ { print $4; exit }")
Expected Team ID of the downloaded PKG
expectedDialogTeamID="PWA5E9TQ59"
Check for Dialog and install if not found
if [ ! -e "/Library/Application Support/Dialog/Dialog.app" ]; then
echo "Dialog not found. Installing..."
# Create temporary working directory
workDirectory=$( /usr/bin/basename "$0" )
tempDirectory=$( /usr/bin/mktemp -d "/private/tmp/$workDirectory.XXXXXX" )
# Download the installer package
/usr/bin/curl --location --silent "$dialogURL" -o "$tempDirectory/Dialog.pkg"
# Verify the download
teamID=$(/usr/sbin/spctl -a -vv -t install "$tempDirectory/Dialog.pkg" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()')
# Install the package if Team ID validates
if [ "$expectedDialogTeamID" = "$teamID" ] || [ "$expectedDialogTeamID" = "" ]; then
/usr/sbin/installer -pkg "$tempDirectory/Dialog.pkg" -target /
else
jamfDisplayMessage "Dialog Team ID verification failed."
exit 1
fi
# Remove the temporary working directory when done
/bin/rm -Rf "$tempDirectory"
else
echo_logger "DIALOG: version $(dialog --version) found; proceeding..."
fi
}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Execute a "Welcome / Asset Tag" Dialog command
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
function dialog_update_welcome() {
echo "$1"
echo "$1" >> $welcomeCommandFile
}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Execute a "Setup Your Mac" Dialog command
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
function dialog_update_setup_your_mac() {
echo_logger "DIALOG: $1"
# shellcheck disable=2001
echo "$1" >> $setupYourMacCommandFile
}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Execute a "Failure" Dialog command
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
function dialog_update_failure(){
echo "$1"
echo "$1" >> $failureCommandFile
}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Finalise app installations
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
function finalise(){
if [[ "${jamfProPolicyTriggerFailure}" == "failed" ]]; then

    dialog_update_setup_your_mac "icon: SF=xmark.circle.fill,weight=bold,colour1=#BB1717,colour2=#F31F1F"
    dialog_update_setup_your_mac "progresstext: Failures detected. Please click Continue for troubleshooting information."
    dialog_update_setup_your_mac "button1text: Continue …"
    dialog_update_setup_your_mac "button1: enable"
    dialog_update_setup_your_mac "progress: complete"
    echo_logger "Jamf Pro Policy Name Failures: ${jamfProPolicyPolicyNameFailures}"
    eval "${completionAction}"
    dialog_update_setup_your_mac "quit:"
    eval "${dialogFailureCMD}" & sleep 0.3
    if [[ ${debugMode} == "true" ]]; then
        dialog_update_failure "title: DEBUG MODE | $failureTitle"
    fi
    dialog_update_failure "message: A failure has been detected. Please complete the following steps:\n1. Reboot and login to your Mac  \n2. Login to Self Service  \n3. Re-run any failed policy listed below  \n\nThe following failed to install:  \n${jamfProPolicyPolicyNameFailures}  \n\n\n\nIf you need assistance, please contact the Help Desk,  \n+1<PHONE_NUMBER>, and mention [KB86753099](https://servicenow.company.com/support?id=kb_article_view&sysparm_article=KB86753099#Failures). "
    dialog_update_failure "icon: SF=xmark.circle.fill,weight=bold,colour1=#BB1717,colour2=#F31F1F"
    eval "${completionAction}"
    dialog_update_failure "quit:"
    rm "$setupYourMacCommandFile"
    rm "$failureCommandFile"
    exit "${exitCode}"

else

    dialog_update_setup_your_mac "icon: SF=checkmark.circle.fill,weight=bold,colour1=#00ff44,colour2=#075c1e"
    dialog_update_setup_your_mac "progresstext: Complete! Please restart and enjoy your new Mac!"
    dialog_update_setup_your_mac "progress: complete"
    dialog_update_setup_your_mac "button1text: Quit"
    dialog_update_setup_your_mac "button1: enable"
    rm "$setupYourMacCommandFile"
    rm "$welcomeCommandFile"
    eval "${completionAction}" # Comment-out this line to NOT require user-interaction for successful completions
    exit "${exitCode}"

fi

}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
smithjw's Logging Function
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
function echo_logger() {
logFolder="${logFolder:=/private/var/log}"
logName="${logName:=log.log}"
mkdir -p $logFolder

echo -e "$(date +%Y-%m-%d\ %H:%M:%S)  $1" | tee -a $logFolder/$logName

}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Parse JSON via osascript and JavaScript
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
function get_json_value() {
JSON="$1" osascript -l 'JavaScript'
-e 'const env = $.NSProcessInfo.processInfo.environment.objectForKey("JSON").js'
-e "JSON.parse(env).$2"
}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
smithjw's sweet function to execute Jamf Pro Policy Custom Events
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
function run_jamf_trigger() {
trigger="$1"
if [ "$debugMode" = true ]; then
echo_logger "DIALOG: DEBUG MODE: $jamfBinary policy -event $trigger"
sleep 3
elif [ "$trigger" == "recon" ]; then
if [[ ${assetTagCapture} == "true" ]]; then
echo_logger "DIALOG: RUNNING: $jamfBinary recon -assetTag ${assetTag}"
"$jamfBinary" recon -assetTag "${assetTag}"
else
echo_logger "DIALOG: RUNNING: $jamfBinary recon"
"$jamfBinary" recon
fi
else
echo_logger "DIALOG: RUNNING: $jamfBinary policy -event $trigger"
"$jamfBinary" policy -event "$trigger"
fi
}
####################################################################################################

Program

####################################################################################################
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Confirm script is running as root
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
if [[ $(id -u) -ne 0 ]]; then
echo "This script should be run as root"
exit 1
fi
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Validate swiftDialog is installed
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
dialogCheck
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Display Welcome / Asset Tag and capture user's interaction
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
if [[ ${assetTagCapture} == "true" ]]; then
assetTag=$( eval "$dialogWelcomeCMD" | awk -F " : " '{print $NF}' )

if [[ -z ${assetTag} ]]; then
    returncode="2"
else
    returncode="0"
fi

fi
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Evaluate User Interaction at Welcome / Asset Tag Dialog
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
if [[ ${assetTagCapture} == "true" ]]; then
case ${returncode} in

    0)  ## Process exit code 0 scenario here
        echo_logger "DIALOG: ${loggedInUser} entered an Asset Tag of ${assetTag} and clicked Continue"
        eval "${dialogSetupYourMacCMD[*]}" & sleep 0.3
        dialog_update_setup_your_mac "message: Asset Tag reported as \`${assetTag}\`. $message"
        if [[ ${debugMode} == "true" ]]; then
            dialog_update_setup_your_mac "title: DEBUG MODE | $title"
        fi
        ;;

    2)  ## Process exit code 2 scenario here
        echo_logger "DIALOG: ${loggedInUser} clicked Quit when prompted to enter Asset Tag"
        exit 0
        ;;

    3)  ## Process exit code 3 scenario here
        echo_logger "DIALOG: ${loggedInUser} clicked infobutton"
        /usr/bin/osascript -e "set Volume 3"
        /usr/bin/afplay /System/Library/Sounds/Tink.aiff
        ;;

    4)  ## Process exit code 4 scenario here
        echo_logger "DIALOG: ${loggedInUser} allowed timer to expire"
        eval "${dialogSetupYourMacCMD[*]}" & sleep 0.3
        ;;

    *)  ## Catch all processing
        echo_logger "DIALOG: Something else happened; Exit code: ${returncode}"
        exit 1
        ;;

esac

else
eval "${dialogSetupYourMacCMD[*]}" & sleep 0.3
if [[ ${debugMode} == "true" ]]; then
    dialog_update_setup_your_mac "title: DEBUG MODE | $title"
fi

fi
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Set progress_total to the number of steps in policy_array
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
dialog_update_setup_your_mac "progresstext: Initializing configuration …"
progress_total=$(get_json_value "${policy_array[*]}" "steps.length")
echo_logger "DIALOG: progress_total=$progress_total"
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Set initial progress bar
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
progress_index=0
dialog_update_setup_your_mac "progress: $progress_index"
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Iterate through policy_array JSON to construct the list for swiftDialog
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
dialog_step_length=$(get_json_value "${policy_array[]}" "steps.length")
for (( i=0; i<dialog_step_length; i++ )); do
listitem=$(get_json_value "${policy_array[]}" "steps[$i].listitem")
list_item_array+=("$listitem")
icon=$(get_json_value "${policy_array[*]}" "steps[$i].icon")
icon_url_array+=("$icon")
done
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
The ${array_name[*]/%/,} expansion will combine all items within the array adding a "," character at the end
To add a character to the start, use "/#/" instead of the "/%/"
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
list_item_string=${list_item_array[*]/%/,}
dialog_update_setup_your_mac "list: ${list_item_string%?}"
for (( i=0; i<dialog_step_length; i++ )); do
#dialog_update_setup_your_mac "listitem: index: $i, icon: https://ics.services.jamfcloud.com/icon/hash_${icon_url_array[$i]}, status: pending, statustext: Pending …"
dialog_update_setup_your_mac "listitem: index: $i, icon: ${icon_url_array[$i]}, status: pending, statustext: Pending …"
done
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Close Welcome / Asset Tag dialog
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
dialog_update_welcome "quit:"
sleep 0.3
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
This for loop will iterate over each distinct step in the policy_array array
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
for (( i=0; i<dialog_step_length; i++ )); do
# Increment the progress bar
dialog_update_setup_your_mac "progress: $(( i * ( 100 / progress_total ) ))"

# Creating initial variables
listitem=$(get_json_value "${policy_array[*]}" "steps[$i].listitem")
icon=$(get_json_value "${policy_array[*]}" "steps[$i].icon")
progresstext=$(get_json_value "${policy_array[*]}" "steps[$i].progresstext")

trigger_list_length=$(get_json_value "${policy_array[*]}" "steps[$i].trigger_list.length")

# If there's a value in the variable, update running swiftDialog

#if [[ -n "$listitem" ]]; then dialog_update_setup_your_mac "listitem: index: $i, icon: https://ics.services.jamfcloud.com/icon/hash_$icon, status: wait, statustext: Installing …, "; fi
if [[ -n "$listitem" ]]; then dialog_update_setup_your_mac "listitem: index: $i, icon: $icon, status: wait, statustext: Installing …, "; fi
#if [[ -n "$icon" ]]; then dialog_update_setup_your_mac "icon: https://ics.services.jamfcloud.com/icon/hash_$icon"; fi
if [[ -n "$icon" ]]; then dialog_update_setup_your_mac "icon: $icon"; fi
if [[ -n "$progresstext" ]]; then dialog_update_setup_your_mac "progresstext: $progresstext"; fi
if [[ -n "$trigger_list_length" ]]; then
    for (( j=0; j<trigger_list_length; j++ )); do
        # Setting variables within the trigger_list
        trigger=$(get_json_value "${policy_array[*]}" "steps[$i].trigger_list[$j].trigger")
        path=$(get_json_value "${policy_array[*]}" "steps[$i].trigger_list[$j].path")

        # If the path variable has a value, check if that path exists on disk
        if [[ -f "$path" ]]; then
            echo_logger "INFO: $path exists, moving on"
             if [[ "$debugMode" = true ]]; then sleep 3; fi
        else
            run_jamf_trigger "$trigger"
        fi
    done
fi

# Validate the expected path exists
echo_logger "DIALOG: Testing for \"$path\" …"
if [[ -f "$path" ]] || [[ -z "$path" ]]; then
    dialog_update_setup_your_mac "listitem: index: $i, icon: $icon, status: success, statustext: Installed"
    #dialog_update_setup_your_mac "listitem: index: $i, icon: https://ics.services.jamfcloud.com/icon/hash_$icon, status: success, statustext: Installed"
else
    dialog_update_setup_your_mac "listitem: index: $i, icon: $icon, status: fail, statustext: Failed"
    #dialog_update_setup_your_mac "listitem: index: $i, icon: https://ics.services.jamfcloud.com/icon/hash_$icon, status: fail, statustext: Failed"
    jamfProPolicyTriggerFailure="failed"
    jamfProPolicyPolicyNameFailures+="• $listitem  \n"
    exitCode="1"
fi

# I/O Pause (thanks, @bartreardon!)
sleep 0.3

done
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Complete processing and enable the "Done" button
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
finalise`

@mani2care:
Is this working for you now?

Yes it’s working perfectly for me now.
On Sat, 1 Oct 2022 at 7:06 PM, Dan K. Snelson @.***>
wrote:

@mani2care https://github.com/mani2care:
Is this working for you now?
—
Reply to this email directly, view it on GitHub
https://github.com/dan-snelson/dialog-scripts/issues/8#issuecomment-1264368004,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUGJU7GDXHZA7Y7D54VPXDWBA47BANCNFSM6AAAAAAQL7MBF4
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Thanks & Regards,
Manikandan R
Contact: +91-9902103878
E-mail: @.***

@mani2care:
Please test the new setupYourMacPolicyArrayIconPrefixUrl variable in version 1.2.9 (in the Development branch).
Thanks.
--
Dan


Implement Swagger API support

https://github.com/swagger-api/swagger-spec

Any headway on this?

Dont know if people have seen this project https://github.com/yvasiyarov/swagger
@Fyb3roptik @brendensoares

Hi guys.
This is assigned to v0.14 and the next release is v0.13. So no, we're not focused on this feature at this point. Contributions are always welcome, especially with open source software managed by a few volunteers,
Thanks!

@RobertJGabriel that project looks like it could be very valuable for this feature. Thanks for mentioning it!


feat(FN-2310): add custom behaviour for edit payment redirect

Introduction :pencil2:
We want to redirect to different reconciliation for report tabs from the edit payment page depending on where we access it from. There are four main ways to redirect from the "edit payment" journey which are modified in this PR:

Clicking the back link
Clicking the cancel button
Saving the changes to the payment
Navigating to delete payment

Cases 1 and 2 have the same behaviour, but cases 3 and 4 can be a little more complicated depending on whether or not there are any errors with the form validation and which actions the user takes.
Resolution :heavy_check_mark:

Adds new parameters to the edit payment related URLs to allow for smart redirects
Adds a helper to generate the reconciliation for report href link
Updates e2e tests to cover the required behaviour
Adds a new RECONCILIATION_FOR_REPORT_TABS and ReconciliationForReportTab constant and type

Miscellaneous :heavy_plus_sign:

Makes an update to the pageRenderer and componentRenderer so that the generic can be included at the call of these functions, allow for better typing when the render method is called, ie.

import { pageRenderer } from '<path>/pageRenderer';
import { EditPaymentViewModel } from '<path>/server/types/view-models';

const render = pageRenderer<EditPaymentViewModel>(page);

render({
  // the type of this object must now satisfy the `EditPaymentViewModel` type
});

Some jobs seem to be hanging, retriggered all jobs by merging main and pushing:

Some jobs seem to be hanging, retriggered all jobs by merging main and pushing:

I've been getting the same issue randomly in other PRs, seems to be since this PR was merged


Support ACS Index in the authN Request

If an AssertionConsumerServiceIndex is specified in the authN request, attempt to locate the metadata/serviceId via the index, and don't always assume an ACS Url is present. Ensure the index is valid.

This will need some more work. Going to wrap up tomorrow.

This is ready.

Holding off on this one for now. May have found an issue with attribute release.

Related issue #1655

Going to merge this one in, so we can start focusing on #1655


Rename ReturnedTeamCollection struct

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (6a5d5aa) 66.21% compared to head (cd38be2) 66.21%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #340   +/-   ##
=======================================
  Coverage   66.21%   66.21%
=======================================
  Files          16       16
  Lines        1098     1098
=======================================
  Hits          727      727
  Misses        328      328
  Partials       43       43

Impacted Files
Coverage Δ

internal/server/client_tasks.go
81.65% <ø> (ø)

internal/server/workflow_vars.go
74.19% <100.00%> (ø)

internal/sirius/get_applied_filters.go
100.00% <100.00%> (ø)

internal/sirius/get_task_list.go
82.87% <100.00%> (ø)

internal/sirius/get_teams_for_selection.go
85.71% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


CSS on src is not the same as in dist folder

This is utterly odd and weird.
Im using this package, then, in my buils sass step, I import the styles from src/css/simplemde.css and all the styles looks really different. In particular, this class, present on the dist/css/simplemde.min.css is missing:
.CodeMirror {
	position: relative;
	overflow: hidden;
	background: #fff
}

This was the easy to spot as the "text area" didn't looked the same as when I was using the cdn.
What is even weirder, is that the min file contains a reference to another repository: https://github.com/NextStepWebs/simplemde-markdown-editor
Im really confused about whats going on, and this is something you guys need to fix, as it decrease my trust on this package.
On the already mentioned packaged, somebody is suggesting an account was hijacked, but which one should be the correct one ?
Thanks :)

I noticed that url got added to the package when it was created? https://github.com/sparksuite/simplemde-markdown-editor/commit/dbeef5d711548def56a5b254684fdb03c04644c4#diff-b9cfc7f2cdf78a7f4b91a753d10865a2

is this the repo with basically nothing in it?
https://github.com/nextstepwebs/simplemde-markdown-editor

@hayzem Yeah, Just filler stuff


SDP Response becomes very large after a few seconds

Which version are you using?
v0.19.2
Which operating system are you using?

[ ] Linux amd64 standard
[ ] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[x] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
After a few seconds of any RTSP source running the SDP starts returning much larger than expected from the server.
the sprop-parameter-sets value becomes huge. Connecting to the original RTSP stream does not have this issue with the SDP, only the SDP from the proxy is too large.
This is a problem since both my clients that I need to use this with do not support large SDP files like this.
Describe how to replicate the issue

Start the server with a proxy configured
Use OBS with RTSP Server plugin to publish an RTSP stream
Connect to proxy via RTSP client

Did you attach the server logs?

https://gist.github.com/Asherslab/17dea28f25bddc737bd39968f127ffdf

I have same problem.

Thanks for reporting this issue, turned out that the server wasn't able to serve the stream SDP since it wasn't able to correctly decode H264 NALUs generated by that specific server (RTSP Server Plugin for OBS Studio), since they were wrapped into the Annex-B format, that normally is not used in RTSP.
This is a non-standard behavior of some specific servers and cameras, that i wasn't aware of. Since it's impossible to change the behavior of cameras, rtsp-simple-server has been adapted to support it.

Anyway, it's still not possible to convert a stream generated by OBS RTSP Server into HLS, since the former uses DTS instead of PTS as timestamp into RTP packets:
https://github.com/iamscottxu/obs-rtspserver/blob/fd7b228d6b0832166e52c1e674021adb5eb82ecc/rtsp_output.cpp#L423
Timestamp must be PTS, so the server must be patched in order to change this.


The annotations are not actually saved ( written to the pdf file ) .

I tried the code . The code does draw the annotations on the view but they are not actually saved to the pdf file .

This feature is currently under development. I will try to complete this asap. Please check back again later.

Fixed

Tap 'Flatten PDF' to save annotation inside PDF


 Ideas

Timeout until the buttons appear, with indicative message at their position during the timeout
Indicative, highlighted message below the 'Are you X' question

Nagging has been implemented: e4b0309c8c98de8e8aefd5b8d66c3675cc605888
An animated label is displayed during the confirmation dialog and is located next to the confirmation buttons.
I strongly object against obstructing the confirmation process by adding a timeout before the confirmation button can be pressed, as I believe that it will lead to people not confirming their order.


Improve handling of output from sandcastle

Related with packit/ogr#769
We should make more visible that something weird happened (in this example a warning message was printed) when running a user command.
We should be able to handle both stdout and stderr; make it bold or red or more visible in some way the latter and/or tell to the user that his command has an unexpected stderr output.

Related: https://github.com/fedora-copr/copr/issues/2415

Still relevant.


Discovered devices cannot be ignored from integration GUI

System Health details
System Information

version
core-2024.11.3

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.6.31-haos-raspi

arch
aarch64

timezone
Europe/Prague

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
4993

Installed Version
2.0.1

Stage
running

Available Repositories
1507

Downloaded Repositories
39

Home Assistant Cloud

logged_in
true

subscription_expiration
January 14, 2025 at 01:00

relayer_connected
true

relayer_region
eu-central-1

remote_enabled
true

remote_connected
true

alexa_enabled
false

google_enabled
false

cloud_ice_servers_enabled
true

remote_server
eu-central-1-4.ui.nabu.casa

certificate_status
ready

instance_id
3cb0d3fbab1e44f98797c10448afb4d1

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 13.1

update_channel
stable

supervisor_version
supervisor-2024.12.0

agent_version
1.6.0

docker_version
26.1.4

disk_total
28.6 GB

disk_used
20.0 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization

board
rpi4-64

supervisor_api
ok

version_api
ok

installed_addons
File editor (5.8.0), Advanced SSH & Web Terminal (19.0.0), Studio Code Server (5.17.3), Mosquitto broker (6.4.1), Glances (0.21.1), Node-RED (18.1.1), Home Assistant Google Drive Backup (0.112.1), Log Viewer (0.17.1), UniFi Network Application (3.5.0), Zigbee2MQTT (1.41.0-1), SQLite Web (4.2.1), Samba share (12.3.2), Grafana (10.2.2), HassOS SSH port 22222 Configurator (0.9.3), TimescaleDB (4.2.0), MQTT Explorer (browser-1.0.1), Govee to MQTT Bridge (2024.07.13-82ddc6e9)

Dashboards

dashboards
10

resources
26

views
58

mode
storage

Recorder

oldest_recorder_run
December 20, 2024 at 09:28

current_recorder_run
December 20, 2024 at 13:59

estimated_db_size
1610.46 MiB

database_engine
sqlite

database_version
3.45.3

Checklist

[X] I have read the FAQ to see if there is a known solution to my problem.
[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
here is the screenshot, which show discovered devices, but offers only Add, there is no Ignore

Reproduction steps

Make some devices discovered
go to Settings -> Devices and Services -> PowerCalc
See available options

Debug logs
N/A

Diagnostics dump or YAML config
No response

That's normal.
That option is not available from the integration specific page it seems.
Only from the main page. Just checked my installation and some other integrations.
Not something I can fix in powercalc. This is a HA frontend issue.
But I think there are maybe reasons UX wise.


Flat component generation

Hi,
Its a great extension, thanks for this. I was wondering if there is a way I can generate a component in the flat configuration (in same folder as parent) with your extension?
Thanks

Hey IndDev,
Thank you for your interest in the extension.
Unfortunately currently there's no way to configure the extension to generate component files in the flat structure. For each component the separate folder is created. Decided to do so by default after reading angular style guide Consider creating a folder for a component when is has multiple accompanying files (.ts, .html, .css and .spec).
I can probably add the parameter in the config file to control this, when I have time.
-- Dmytro

@IndDev Added configuration option to generate component in the same as parent folder.
Use the following config.
{
    "global": {
        "generateFolder": false
    }
}

Please check it out and see if it is what you were looking for.


PropertyPaneChoiceGroup not displaying correctly when loaded into SharePoint Online Dev Environment

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior

Observed Behavior

Steps to Reproduce
Create a PropertyPaneChoiceGroup. Open in local environment to see it correctly. Open in a SharePoint online Dev environment to see it displayed incorrectly.
Notes
If you look at dev tools you will notice that when the web part is loaded in SharePoint online display: flex  is added to this class:

SharePoint local dev looks like this:

I am also see this issue.  Furthermore, in the SPO Hosted workbench, the options other than selected default cannot be selected by the user.

@neilhoff and @acksoft - are you guys still seeing this issue in the latest release? It should already be fixed.
Please let us know.

I do not see the issue anymore. Thank you!

Cool. Thanks for the update. I am closing the issue now.


Include Autotest

Add autotest codebase to test/ and some basic information to test/README.md.
There are still some modifications needed here and there to make this fully client agnostic.
Resolves #26

Note that this PR is to my own branch ... there are still things to be done to make it fully client agnostic, therefore I just wanna have it in my branch first ;)


set RAILS_SERVE_STATIC_FILES in the docker container

Without setting this variable, Rails won't serve static files from within the Docker container while in production mode. We could circumvent this by having a shared volume to the assets folder and serving the assets through a reverse proxy, but it seems more trouble than it's worth at this point.

@mockdeep merging this in per our chat yesterday


[Android] underlineColorAndroid somehow applies globally to all TextInput components

I have a component in search.js. Something like this-
<TextInput
    placeholder={'Search keyword'}
    placeholderTextColor={'#cccccc'}
    style={styles.input}
    autoCapitalize={'none'}
    autoFocus={true}
    underlineColorAndroid={'#cccccc'}
>
</TextInput>

The style for given TextInput is this-
input: {
    padding: 5,
    height: 45,
    fontSize: 16,
    color: '#111111',
    marginBottom: 20,
    borderWidth: 1,
  },

I have another TextInput placed in my sign-in page.
<TextInput
    style={styles.input}
    value={this.state.username}
    onChangeText={(text) => this.setState({username: text, error: ''})}
    autoCapitalize={'none'}
    autoCorrect={false}
    returnKeyType='next'
    keyboardType={'email-address'}
>
</TextInput>

Style-

input: {
        padding: 4,
        height: 45,
        fontSize: 22,
        color: '#ffffff',
        marginBottom: 20,
        borderWidth: 1,
        textAlign: 'center'
    },

Why is underlineColorAndroid={'#cccccc'} from first TextInput is being applied to the second TextInput? Am I doing something wrong? Or is this a legitimate issue?

Example re-creating this on rnplay: https://rnplay.org/apps/_btSdw

Example re-creating this on rnplay: https://rnplay.org/apps/_btSdw
@brentvatne Your example is explicitly setting underlineColorAndroid for every TextInput individually. Whereas in my app, I am passing the same underlineColorAndroid prop for only one TextInput. It should not affect other TextInput, right?

@brentvatne Thanks!

is anyone looking into this?

+1

Got the same here.
I'm using tcomb-native-form lib to generate my forms in the app, I have a template for textarea
  _areaTemplate(locals) {
    return (
      <View
        style={styles.marginVertical12}
      >
        <Text
          style={[styles.inputLabel]}
        >
          {locals.label}
        </Text>
        <View
          style={[styles.marginVertical12, {borderColor: 'grey', borderWidth: 1}]}
        >
          <TextInput
            onChangeText={(text) => this._onChangeText(text)}
            style={{textAlignVertical: 'top'}}
            underlineColorAndroid={'transparent'}
            multiline={locals.multiline}
            numberOfLines={locals.numberOfLines}
          />
        </View>
      </View>
    );
  }

Since I don't mount this component, all the inputs in my app have the "default" option on underline color (grey then kind of blue on focus), but once I've open this view and mount this component, all my inputs in the app have an underline transparent

Is this happening all the time when there are multiple inputs, or only sometimes? I can't get that rnplay link working.

If you have 2 inputs on the same screen and set underline color for only 1 of them. The color will be applied to both inputs

Happened with my code as well. I applied underlineColorAndroid="transparent" and all of the input's underlines are gone.

Still happening for me, only applies globally once I visit the screen that sets one input as "underlineColorAndroid='rgba(0,0,0,0)' ".  Before visiting that view, all my inputs are fine.  Once I leave that view, all my inputs have the hidden underline applied to them.

+1 @facebook-github-bot This should not have been closed because that PR was closed. From what I understand that PR was closed without merging and the issue is still being looked into. This is the first hit on Google when searching for this so it should be reopened until it's really solved or a workaround is generated. I can't believe there's no solution or workaround yet for such a glaring issue.


Latest documentation build fails to generate manual

https://threefoldtech.github.io/web3_proxy/manual is supposed to display the manual for web3proxy.

see https://github.com/freeflowuniverse/spiderlib/issues/12

I fixed the isse in the documentation that resulted in CI failing to generate the docs. But I didn't fix the fact that it silently continues execution when generating the docs failed. We should fix the doc.vsh to make the CI fail when the documentation generation failed. We want to know immediately when the generation of the documentation failed so that we can handle quickly.

see freeflowuniverse/spiderlib#12

We are already doing this in the web3_proxy repo.


CRD upgrade job doesn't work without public internet access and block deployments

What happened?
We tried to install k8ssandra-operator helm chart version 0.39.3 and it failed because CRD upgrade job tries to access https://helm.k8ssandra.io/index.yaml which is not reachable in our cluster (security restrictions, limited public internet access).
How to reproduce it (as minimally and precisely as possible):
Install k8ssandra-operator helm chart in the environment without access to https://helm.k8ssandra.io
Environment

K8ssandra Operator version:
Helm Chart version: 0.39.3

Kubernetes version information:
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.1", GitCommit:"e4d4e1ab7cf1bf15273ef97303551b279f0920a9", GitTreeState:"clean", BuildDate:"2022-09-14T19:49:27Z", GoVersion:"go1.19.1", Compiler:"gc", Platform:"linux/amd64"} Kustomize Version: v4.5.7 Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.8-eks-ffeb93d", GitCommit:"abb98ec0631dfe573ec5eae40dc48fd8f2017424", GitTreeState:"clean", BuildDate:"2022-11-29T18:45:03Z", GoVersion:"go1.18.8", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
EKS cluster

K8ssandra Operator Logs:

CRD Upgrade batch job logs
2023/02/14 09:21:37 Upgrading CRDs to version 0.39.3
0214 09:21:38.149646       1 request.go:665] Waited for 1.018709625s due to client-side throttling, not priority and fairness, request: GET:https://<IP_ADDRESS>:443/apis/replication.k8ssandra.io/v1alpha1?timeout=32s
2023/02/14 09:21:38 Downloading release 0.39.3 from Helm repository
23/02/14 09:21:38 Failed to update CRDs: Get "https://helm.k8ssandra.io/index.yaml": read tcp <IP_ADDRESS>:42778-><IP_ADDRESS>:443: read: connection reset by peer

Anything else we need to know?:
It would be nice to make CRD Upgrade job optional via Helm Values configuration for such cases. Failed CRD upgrade job also failing whole k8ssandra-operator deployment and we are blocked. We can upgrade CRDs manually/automatically by our own release process, this is not an issue.

The CRD upgrader supports the airgap/offline installation method also, but that requires the version of k8ssandra-operator CRDs to be in the bundled file. This isn't happening for k8ssandra-operator chart file, only for k8ssandra 1.x right now. This requires a modification to the build process of the CRD upgrader in k8ssandra-operator to add those files in to the created image (k8ssandra-operator-crd-upgrader:v0.39.3 etc)

@burmanm @adejanovski We got the exact same issue.. We are deploying the latest k8ssandra operator version: 1.17.0.
Can you please advise on the below issue, please let us know where we could get the help further.. Thanks!
2024/07/17 06:35:24 Upgrading CRDs to version 1.17.0 I0717 06:35:26.026691       1 request.go:665] Waited for 1.039017477s due to client-side throttling, not priority and fairness, request: GET:https://<IP_ADDRESS>:443/apis/templates.gatekeeper.sh/v1alpha1?timeout=32s 2024/07/17 06:35:27 Downloading release 1.17.0 from Helm repository 2024/07/17 06:35:27 Failed to update CRDs: Get "https://helm.k8ssandra.io/index.yaml": dial tcp: lookup helm.k8ssandra.io on <IP_ADDRESS>:53: no such host

Also we are unable to deploy below k8ssandracluster as well.. We are getting below error:
 kubectl apply -f k8ssandra-cluster.yaml

Error from server (InternalError): error when creating "k8ssandra-cluster.yaml": Internal error occurred: failed calling webhook "vk8ssandracluster.kb.io": failed to call webhook: Post "https://aidna-k8ssandra-webhook-service.aidna-cassandra.svc:443/validate-k8ssandra-io-v1alpha1-k8ssandracluster?timeout=10s": context deadline exceeded

Code: ref: https://docs-v2.k8ssandra.io/install/local/single-cluster-helm/
apiVersion: k8ssandra.io/v1alpha1 kind: K8ssandraCluster metadata:   name: demo spec:   cassandra:     serverVersion: "4.0.1"     datacenters:       - metadata:           name: dc1         size: 3         storageConfig:           cassandraDataVolumeClaimSpec:             storageClassName: standard             accessModes:               - ReadWriteOnce             resources:               requests:                 storage: 5Gi         config:           jvmOptions:             heapSize: 512M         stargate:           size: 1           heapSize: 256M

You can set client.proxy to configure the HTTPS_PROXY used for the Helm access.

@burmanm Thanks for replying, we did try proxy method. Unfortunately due to cyber security restriction in our enterprise we can't reach the internet/ helm repo.
Can you advise off-line method to install this and complete k8ssandra operator installation successfully?

It is possible, but would require you to build your own client image (which you can supply in the Helm values) with the k8ssandra-operator chart embedded. You can see the workflow in https://github.com/k8ssandra/k8ssandra-client/blob/main/.github/workflows/tools-release.yaml
Alternatively, you can disable the CRD upgrader job entirely (and update the CRDs manually using kubectl) by setting disableCrdUpgraderJob value to true.


Add expired explanation page

Add a page that explains why a link doesn't work anymore

Also saw it mentioned here: https://github.com/pinterest/snappass/issues/31

Thanks, @arjentz! I merged this and added 4b1ee0cec197e7b23f6a5c891b111189adf03e13 with the wording tweaks.

Perfect! Thanks for merging


[TPL2] Port over sema/

Think #915 should merge first. -- wan

Part of #914. Ports over sema/ folder.

Closing in lieu of a larger PR later.


add http to fsspec package

right now the quickstart notebooks breaks on importing aiobotocore when doing the read_json call.
@jaychia

Noted - thanks for the fix!


Add vsock support

Signed-off-by: Hui Zhu<EMAIL_ADDRESS>
@yashykt

Close this PR to pass CLA.


Examples of usage

Would you add some examples of how to use the extension and to  make basic search and multi-index search

A very basic documentation on how to add to your project already exists:
https://github.com/quarkiverse/quarkus-opensearch/blob/main/docs/modules/ROOT/pages/index.adoc
Maybe I will add a few examples on OpenSearch client injection and a few simple examples some time in the future.
For now you can take a look at the integration tests:
https://github.com/quarkiverse/quarkus-opensearch/blob/main/opensearch-java-client/deployment/src/test/java/io/quarkiverse/opensearch/client/deployment/test/OpenSearchClientTest.java
https://github.com/quarkiverse/quarkus-opensearch/blob/main/opensearch-rest-high-level-client/deployment/src/test/java/io/quarkiverse/opensearch/restclient/highlevel/deployment/test/OpenSearchRestHighLevelClientInjectionTest.java
https://github.com/quarkiverse/quarkus-opensearch/blob/main/opensearch-rest-client/deployment/src/test/java/io/quarkiverse/opensearch/restclient/lowlevel/deployment/test/TestResource.java
But for basic search and multi-index search, please refer to the official OpenSearch documentation.
https://opensearch.org/docs/latest/clients/java/
It's been some time since you created this issue, so hopefully you already succeeded in figuring things out. Maybe you even would like to share your experience with others. If that's the case, a pull request containing improvements for the current documentation is always greatly appreciated.

duplicates https://github.com/quarkiverse/quarkus-opensearch/issues/8


[bugfix release] fix using helpers without default Inflector

The singularize and pluralize helpers previously imported the
helpers previously without a default Ember Inflector instance,
which would cause issues for Ember CLI users.
refs GH-74

:+1: Just tried this in my app, fixes the exceptions I was running into when using the hbs helpers.


MySQL should use a config cnf file to store client password

https://dev.mysql.com/doc/refman/5.6/en/mysql-config-editor.html
That will prevent all of these warnings from appearing:

mysql: [Warning] Using a password on the command line interface can be insecure.

Create a file at /opt/nitro/mysql/my.cnf with the contents:
[client]
user = nitro
password = nitro

Update the docker run command to send --defaults-extra-file=/opt/nitro/mysql/my.cnf

Will be resolved in beta 3!


Update members.json with herzamos.ch

Adding your site
To add a new site to the webring, please supply the following information:

Name of your site
URL of your site
URL of your RSS feed (optional)

Example:
{
    "title": "Frank's awesome site",
    "url": "https://www.franks-awesome-site.org",
    "feed": null
}

awesome my man


Use Case: Row Sampling

Read a random sampling of rows from the database.

A random number of rows, or select * from table order by GETDATE() ?

Fixed number of rows.
In SQL Server it would be SELECT * FROM Person.Person TABLESAMPLE (10 PERCENT) or SELECT * FROM Person.Person TABLESAMPLE (20 ROWS);
In PostgreSQL it would be similar: https://stackoverflow.com/a/8675160/5274
For MySQL, I believe that that you have to use order by NEWID()

To avoid failing in SQL Server we can't expect an exact count. If you ask for 100 rows it may return 80 or 120 depending on its mood.

Ah I see. I didn't know about tablesample, and reading an article about it it indeed has an advantage over newid() ordering as it has a better randomized output than newid() sorting might give. It looks like a target hint, so this should be doable :)


Added additional colour options for differing git staging statuses

This PR fixes #99129 - added the ability to colourize different git staging statuses.
The staged statuses include:

Add (index added)
Modified (index modified)
Deleted (index deleted)

The default colours have been set to be similar, albeit slightly different tha what the conventional U, A, M, D git indicator colours. This way users can, at a glance, see the different statuses.

Thanks! 🍻

Thanks for the feedback!

@joaomoreno @mwood77 please make sure to document this new color here: https://github.com/microsoft/vscode-docs/blob/73633a2eb1e302903f29523f88265c755417a5b0/api/references/theme-color.md#L684-L684

raised @ https://github.com/microsoft/vscode-docs/pull/4047

@bpasero I already did this 3 days ago on vnext: https://github.com/microsoft/vscode-docs/commit/6b9a0ac47c37b9431d58ccd328961eb80690b07f

Thanks!


[Enhancement] Optimize segment open for cloud native tablet (#32996)

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 20 / 22 (90.91%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/storage/rowset/segment.cpp
12
14
85.71%
[220, 221]

:large_blue_circle:
src/storage/lake/tablet.cpp
8
8
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 19 / 21 (90.48%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/storage/rowset/segment.cpp
11
13
84.62%
[220, 221]

:large_blue_circle:
src/storage/lake/tablet.cpp
8
8
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 21 / 22 (95.45%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/storage/rowset/segment.cpp
13
14
92.86%
[220]

:large_blue_circle:
src/storage/lake/tablet.cpp
8
8
100.00%
[]


http-streams break "things"

Hey, nice interface, I hope you're still maintaining it :)
I ran into some weird issues recently with http-streams. The most obvious issue is that yap thinks nothing is playing when a http-stream is playing. I usually use a playlist with a single line that refers to the http-stream to start the stream. This works fine but as soon as I open the yap-interface at least once (after restarting mopidy), mopidy refuses to play this stream from the playlist (no error), if I add a single line (with a local file) in the playlist BEFORE the livestream, it plays the file and the stream perfectly fine.

I will look into this. Can you provide an example http-stream?

Thank you :) I did some more testing and narrowed down the issue a bit more.
If I activate mentioned playlist from Iris it is playing fine but if I activate the playlist through this HomeAssistant integration it will load the playlist but not play it (even if I press play manually, nothing happens) and at the same time the yap-ui becomes white & blank. With yap disabled, there are not such issues.
Here is a playlist with a random livestream I found on xiph.org, if my linked stream is offline you could copy&paste a working stream-url from this website into the playlist.

Two more things, if I activate a playlist by selecting a "Source" there are no issues, but if I start the stream by requesting the URI directly (of the playlist or the stream itself) the issue appears. I was also able to catch an error in the log.
ERROR    2023-10-18 02:05:07,099 [227:YapFrontend-14 (_actor_loop)] mopidy.listener
  Triggering event failed: track_playback_ended(tl_track, time_position)
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mopidy/listener.py", line 44, in on_event
    getattr(self, event)(**kwargs)
  File "/usr/lib/python3.11/site-packages/mopidy_yap/frontend.py", line 30, in track_playback_ended
    if self.config["spotify"] and self.config["spotify"]["enabled"] and self.config["yap"]["autoplay"]:
       ~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mopidy/config/__init__.py", line 316, in __getitem__
    item = self._data.__getitem__(key)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'spotify'

That error is programming error, I wanted to check if there is any specific spotify setting is in the config, but did not used the correct way to do so. I fixed that and released 0.1.4 with the fix, but I am not sure if this fixes your original problem. If not, then I will investigate further.

Thank you :) the error message is gone now. The issue however remained, I just noticed that yap enables consume-mode and that caused the issues, I worked around that by running a Home Assistant script that disables it. I don't use yap if I play streams so that works for me. It still might be something to consider, maybe making it optional?

I updated the title, because the issue was caused by mopidy's consume-mode, not yap directly. But it could still be useful to have a way to work with yap without the need of having consume-mode enabled.

Thanks for the feedback. Originally, I force-enabled the consume-mode to circumvent the problem to only display the current and next tracks (as it is not that interesting what was before, and it would take a lot of effort to create a usable interface). I have released 0.1.5, which I hope would fix your problems, I also worked a little bit with the streams. You can not add a stream on this frontend, but yap should display it, and it is possible to skip to the next queue item.
Please give some feedback, if your issue is solved or not!

Hey, happy new year & thank you very much! this will help streamline my setup here :)
Everything works fine now. Only exception is the way the queue-view behaves when shuffle is enabled. It makes not a lot of sense in this case. A simple solution (I hope) that comes to mind is to make it show the whole playlist only if shuffle is on.


[Request] Add support for Nextjs v15

Describe the bug
Add support for https://nextjs.org/blog/next-15.
Expected behavior
Frontegg Nextjs should be compatible with Nextjs v15
Screenshots
a cookie property was accessed directly with `cookies().getAll()`. `cookies()` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis

Additional context
See https://nextjs.org/docs/messages/sync-dynamic-apis

Hey @KamalAman thanks for bringing this to our attention!
Support for Next.js 15 was added in the latest version https://github.com/frontegg/frontegg-nextjs/releases/tag/v9.0.5.


Update sdm machine

Will need to check whether all new released dependency versions are compatible

@lievendoclo thanks for those changes. Great improvements.
I have some changes to suggest that I'll incorporate into this PR.

We should also bring in the following things:

Try to update spring boot
A simple autofix

We should also rename this repo and seed to spring-sdm-seed to be in-line with other seeds.

Added autofix and code transform


Tutorials

The quick-start is a little too brief. Here's a sketch of a tutorial notebook (possibly split into multiple sections):

simple_annotator in action
under the hood: SupervisableDataset
under the hood: BokehCorpusAnnotator
subsets / "layers" and data management
vectorizer alternatives & best practices (caching and persisting, for example)
dimensionality reduction alternatives & resources
the power of linking selections & ranges
add-on: a better search thru BokehCorpusExplorer
add-on: active learning help thru BokehSoftLabelExplorer
add-on: distant supervision help thru BokehSnorkelExplorer
add-on: A/B tests thru BokehMarginExplorer
to be continued..

Addressed by the current source of documentations, which will be served by version 0.6.0.