Build fail on release for ios when it's compiling Pusher.

Steps to reproduce
Build your app using "flutter build ios"
go to Xcode to prepare ipa for store
Click Product > Archive
when it get to compiling Pusher pod, build failed
Expected behavior
Building Failed and error points to Pusher
Actual behavior
Undefined symbols for architecture armv7:
"static Reachability.Reachability.Connection.__derived_enum_equals(Reachability.Reachability.Connection, Reachability.Reachability.Connection) -> Swift.Bool", referenced from:
function signature specialization <Arg[0] = Dead> of PusherSwift.PusherConnection.websocketDidDisconnect(socket: Starscream.WebSocketClient, error: Swift.Error?) -> () in PusherWebsocketDelegate.o
"Reachability.Reachability.startNotifier() throws -> ()", referenced from:
PusherSwift.PusherConnection.connect() -> () in PusherConnection.o
"type metadata for Reachability.Reachability", referenced from:
closure #1 () -> Reachability.Reachability? in PusherSwift.PusherConnection.reachability.getter : Reachability.Reachability? in PusherConnection.o
function signature specialization <Arg[0] = Dead> of PusherSwift.PusherConnection.websocketDidDisconnect(socket: Starscream.WebSocketClient, error: Swift.Error?) -> () in PusherWebsocketDelegate.o
"Reachability.Reachability.stopNotifier() -> ()", referenced from:
PusherSwift.PusherConnection.disconnect() -> () in PusherConnection.o
"type metadata accessor for Reachability.Reachability", referenced from:
closure #1 () -> Reachability.Reachability? in PusherSwift.PusherConnection.reachability.getter : Reachability.Reachability? in PusherConnection.o
"Reachability.Reachability.connection.getter : Reachability.Reachability.Connection", referenced from:
function signature specialization <Arg[0] = Dead> of PusherSwift.PusherConnection.websocketDidDisconnect(socket: Starscream.WebSocketClient, error: Swift.Error?) -> () in PusherWebsocketDelegate.o
"Reachability.Reachability.__allocating_init(queueQoS: Dispatch.DispatchQoS, targetQueue: __C.OS_dispatch_queue?) -> Reachability.Reachability?", referenced from:
closure #1 () -> Reachability.Reachability? in PusherSwift.PusherConnection.reachability.getter : Reachability.Reachability? in PusherConnection.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
See below for more screenshots

Any improvements you suggest
Plugin should be updated to fit the new swift 5
...

@isaacadariku Can I ask which version of the Swift Channels SDK you are using? For reference, the latest version is 9.0.0

@danielrbrowne please how can I check it? I have no idea about swift channel..
Cos it complies well on Andriod

How are you integrating this SDK? Is it via Cocoapods, Carthage, Swift Package Manager, or a direct download?

Okay
I use cocoapods, the normal put the  pubspec.yaml, while building for ios, it install all pods. That is it.
My Xcode version is <IP_ADDRESS>

It looks like Flutter has possibly not downloaded the Reachability framework. (This is a dependency of the PusherSwift SDK). I am not very familiar with Flutter, but can you ensure that it is downloading all the dependencies when installing PusherSwift?

I'll close this issue for now since there's been no reply for a week - if you're still having this issue, please feel free to re-open it or contact Pusher Customer Support for further help.


feature: subscriptions api

Codecov Report

Merging #85 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #85      +/-   ##
==========================================
+ Coverage   99.61%   99.63%   +0.01%
==========================================
  Files          18       19       +1
  Lines         785      812      +27
  Branches       54       56       +2
==========================================
+ Hits          782      809      +27
  Misses          2        2
  Partials        1        1

Impacted Files
Coverage Δ

src/error-codec.ts
100.00% <ø> (ø)

src/sections/reports.ts
99.31% <ø> (ø)

src/error.ts
100.00% <100.00%> (ø)

src/http.ts
98.82% <100.00%> (+0.05%)
:arrow_up:

src/index.ts
100.00% <100.00%> (ø)

src/mws.ts
100.00% <100.00%> (ø)

src/sections/subscriptions.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

@moltar I messed up, was looking to request a review but accidentally merged it to master instead, reverted it using the revert option. I'll revert the revert when you approve this PR


Add basic documentation to response entities and facade classes

Changes done

Optimize WireMock execution speed
Improve test assertions with Kotest
Correct ItunesRssReviewResult domain entity type mapping
Remove GooglePlayReview top entity
Add basic documentation to response entities and facade classes
Remove replyComment and replyTime from ItunesRss entity

Codecov Report

Merging #25 (fccc912) into master (04dd700) will increase coverage by 0.41%.
The diff coverage is 67.02%.

@@             Coverage Diff              @@
##             master      #25      +/-   ##
============================================
+ Coverage     81.34%   81.75%   +0.41%
- Complexity       87      104      +17
============================================
  Files            35       34       -1
  Lines           729      729
  Branches         40       40
============================================
+ Hits            593      596       +3
+ Misses           98       95       -3
  Partials         38       38

Impacted Files
Coverage Δ
Complexity Δ

...re/src/main/kotlin/dev/fabiou/appvox/GooglePlay.kt
73.07% <0.00%> (ø)
4.00 <1.00> (?)

...v/fabiou/appvox/app/appstore/AppStoreRepository.kt
80.00% <ø> (ø)
4.00 <0.00> (?)

...kotlin/dev/fabiou/appvox/configuration/Constant.kt
0.00% <ø> (ø)
0.00 <0.00> (?)

.../kotlin/dev/fabiou/appvox/exception/AppVoxError.kt
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...lin/dev/fabiou/appvox/exception/AppVoxException.kt
0.00% <0.00%> (ø)
0.00 <0.00> (?)

.../kotlin/dev/fabiou/appvox/review/ReviewIterator.kt
70.00% <ø> (ø)
3.00 <0.00> (?)

...n/kotlin/dev/fabiou/appvox/review/ReviewRequest.kt
100.00% <ø> (ø)
3.00 <0.00> (?)

...in/kotlin/dev/fabiou/appvox/review/ReviewResult.kt
100.00% <ø> (ø)
2.00 <0.00> (?)

.../appvox/review/appstore/AppStoreReviewConverter.kt
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...appvox/review/appstore/AppStoreReviewRepository.kt
87.50% <ø> (ø)
3.00 <0.00> (?)

... and 34 more

Continue to review full report at Codecov.

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


Multiple Windows in Focus

Description of the new feature / enhancement
When enables, this setting would allow multiple windows (at least two) to stay in focus. Alternatively, different inputs would be bound to different windows (e.g. a gamepad would always be bound to a game window while a mouse and keyboard would be bound to a browser.) Either individual inputs would be bound to different windows (like XInputs 0-1 would be bound to one window) or different types of inputs would be bound to different windows (such as all gamepads bound to one window).
Whatever the case, focused windows must listen for inputs, even if the mouse has not clicked in the window.
Scenario when this would be used?
This would make it simpler to play games without needing to click back and forth between a game window and my browser. Some console emulators have a built-in "background input" setting that allows for controlling a game while clicking and scrolling in an other focused window. That is what I'm looking for with this new feature.
Supporting information
No response

neat idea but this scenario wouldn't be a focus of the PowerToys team.


Wide Angle Motion Camera (camera) as Motion Sensor (binary_sensor) as well

The Wide Angle Motion Camera is only registered as camera for snapshots, but it is also a motion detector but it's not register as binary_sensor. Ideally both entities should be available for different uses.
Thanks.

Does the motion sensor on the wide angle motion camera show the motion status in the Abode app? For example, when you walk by it, does the status change to "Motion Detected!"? I only have the first gen motion sensor with the camera which doesn't do that (it only works when armed).

It doesn’t seem to return anything different in response. On the web app there’s a way to activate sensor to trigger alarm on Standby mode, I wonder if there is a way to activate just the sensor for presence detection using their API.
Thanks for replying.

Yeah, it sounds similar to the Iota motion sensor. It doesn't report motion activity to their web UI but you can setup automations in standby. The reason is the CUE automation engine runs locally on the Abode hub itself. Unfortunately, Abode doesn't have an official API so the only thing we can do is use whatever they expose to the web UI. If you're able to get the JSON data, I'd be interested in looking at it but I'm pretty sure it's just like the Iota motion sensor - the motion activity isn't reported, hence the reason it doesn't show up on their web UI.

Unfortunately not even Automations can be create for the Wide Motion Camera, it's not shown in the "Occupancy Sensors" list.

Abode support and this is their response:

Hello
We apologize but the motion camera will only detect movement when armed and not while in the standby mode.
The abode motion sensor and occupancy sensor will detect movement when system is in standby mode
Thanks
abode support

That's very unfortunate, and I think website is misleading:

I hope they can resolve this via firmware/software update.
Thanks.


without using threading.local()

I used multi thread and multi GPU on training for faster training.
But with chainer1.16.0, I cannot use multi thread by causing error about _thread_local.default_backprop is not defined.
This PR resolve this error by using global value.

Thank you for sending the PR, but the current patch cannot be merged because it introduces race condition. Could you fix this patch with threading.local and getattr?

Thank you for answering. I want to fix this PR. Could you tell me the way to fix in more detail.
To replace _thread_local.default_backprop to getattr(_thread_local, 'default_backprop') ?

I wrote tha Qiita article (in japanese) that explain what I want to do.

sample code. (need python >= 3.2)
import chainer

import numpy
import concurrent.futures

def calc_sigmoid(i):
    value = numpy.array(i, dtype=numpy.float32)
    return chainer.functions.sigmoid(value)

with concurrent.futures.ThreadPoolExecutor(max_workers=4) as executor:
    values = list(executor.map(calc_sigmoid, range(4)))

print(values)

# AttributeError: '_thread._local' object has no attribute 'default_backprop'

OK, to tell the way to fix this PR, I will explain about Python object's attributes.
Unlike C++'s member variables or Java's fields, Python's attributes do not need declarations beforehand:
class Foo(object):
    pass

x = Foo()
x.abcd = 123  # no error
print(x.abcd)  # 123

but reading an attribute before assignment is invalid:
print(x.efgh)  # error!

This is the cause of this bug. _thread_local.default_backprop is not assigned before reading it on a thread.
To fix this problem, getattr is usable. This function accesses an attribute with a default value:
print(getattr(x, 'efgh'))  # prints None
print(getattr(x, 'efgh', 321))  # prints 321

I got it. Thanks.

Thank you!


KZL-744 koncorde cookbook

What does this PR do?
This PR improves the structure of the Koncorde cookbook.
How should this be manually tested?
See Netlify build.

 Snippets tests reports   SDK Version Tests overview      v6        v5                           :heavy_check_mark:                            v1        v1        v1

Ooops, sorry I committed the package-lock.json.

@scottinet I'll fix all the things

@xbill82 > the missing H1 problem is still here. See how the operands in the table of contents on the right shows a non-existent hierarchy between "and" and the other operands: https://deploy-preview-176--kuzzle-doc-v2.netlify.com/koncorde/1/operands/
This is done automatically because the 1st item of the TOC is considered a parent item. To solve this problem, you have to add a H1 (or H2) title at the beginning of the section. Usually, we use the title of the section as the first title. In this example, it would be:
`
Operands
Filters in Koncorde are constituted of yada yada yada...


Updates?

I desperately need a library like this. I'm using Postgres for a docker application and need to be able to migrate the database programatically. The only problem is I'm also using .Net 6, so it's incompatible with this library. Is there any way for this to be updated to use .Net 5 or 6?

Hi there, apologies for the delayed response. I wrote this library for a .Net 3.5 project I was working on back then. Unfortunately I had no plan to update it beyond the project I was working on and I'm currently too busy to look into this now:P I don't think it should be too hard to upgrade though (Unless the Entity Framework Lib has changed drastically) . Have you tried to a simple port/migrate the project to .Net 5 / 6? What errors occurred?

@kyro-dev a .net 6.0 version is now available thanks to the work done by @stavroskasidis .Have not had time to extensively test it, but doubt there will be any major issues as it was just an upgrade. Closing this ticket.


Performance

WaveEngine.Adapter v<IP_ADDRESS> took a touch over 42 minutes to process locally, due to lib/net45/OpenTK.dll. Resulting JSON file is ~1.7MB and makes the UI sluggish.
We probably need to:

[ ] Have an upper limit on the size of dlls we're willing to process (OpenTK.dll is 4345344 bytes).
[ ] Have an upper limit on dll processing time (e.g., if there are n dlls in a package, each one cannot take more than 10/n minutes?).
[x] Do some performance analysis. One possible improvement is we could stream JSON over a compressing stream instead of building an in-memory representation, serializing that to a string, converting it to bytes, and then compressing.

(in Release, it took ~25 minutes). The UI (in debug mode) is sluggish.

Timing has improved sufficiently that I'm going to close this. The JSON files are still huge (the same size, of course), but that is the price to pay for packages with huge APIs.
At some point in the future, I might open a new issue for having an upper limit on dll size.
For reference, the timing was tested by inserting the following message into the generate queue:
{"version":0,"jsonVersion":0,"normalizedPackageId":"waveengine.adapter","normalizedPackageVersion":"<IP_ADDRESS>","normalizedFrameworkTarget":"net45","operationId":"8b2debcd-d8d2-4636-95a7-9337dcca2db6","parentOperationId":"00000000-0000-0000-0000-000000000000","requestId":"13ca62a9-c577-4c2f-af74-224f261031b5"}

And then going to http://<IP_ADDRESS>:8080/pkg/waveengine.adapter/<IP_ADDRESS>/net45/log and subtracting the timestamp of the last log message from the timestamp of the first "Processing" log message (so all NuGet API calls are excluded; this is pure processing time).
In particular, these commits reduced the processing time from ~42 minutes to ~1 minute:
https://github.com/StephenClearyApps/DotNetApis/commit/0b119d8698a3439b2170ae12c3a438fc2f6e9a0b
https://github.com/StephenClearyApps/DotNetApis/commit/f253902ce016d4718ad7a8ddf82b6d00473d38f2
https://github.com/StephenClearyApps/DotNetApis/commit/c08ba6432b8f48d6129df7a866ba4ed2a578437c
https://github.com/StephenClearyApps/DotNetApis/commit/28f3d2f212511951d019992517fa157f3b02688f
https://github.com/StephenClearyApps/DotNetApis/commit/0c59ca581a508e01a79ba8de491082d38037207d
https://github.com/StephenClearyApps/DotNetApis/commit/a05b0aac44a68c83550a1519d8ad980536076e80


Issue with list.csv

Related to #2 from @jaonoctus
I think that the format of the list.csv is outdated. Generated a thumbnail and the title there was "0" (from the podcast field).

There's a chance of having an extra comma (,) on the csv file, which change the order of the fields when the script is reading it.
Can you share the line of list.csv you are trying please? Because Marcelo edited a clip yesterday and I didn't change the format of the file.

url,time_from,time_to,cut,podcast,title,description,tags
https://www.youtube.com/watch?v=at-EHIrtJHw,00:00:00,00:01:00,1,0,TESTE,TESTE,teste1 teste2

You were correct... the format is outdated.
url,time_from,time_to,podcast,title,description,tags
https://www.youtube.com/watch?v=at-EHIrtJHw,00:00:00,00:01:00,0,TESTE,TESTE,teste1 teste2

I uploaded the new list.csv, but forgot to update the sample.


Envelope headers

We've been discussing a couple of scenarios where it would be helpful to share signed side-band information beside the payload. The obvious workaround is to generate a new payload that wraps the original payload and stores the side-band information plus the original payload in the new payload.
Would there be interest in having this being a first-class part of the envelope to avoid the workaround?

Can you provide some examples?

You may want to include information about where (e.g. machine name), when (e.g. @dlorenc's suggestion in #33), who (e.g. a decentralized identity. This is along the same lines as HTTP or SMTP headers, arguably the payloadType is just a specialized Content-Type header and could even move into this header section.

IMO the timestamp is conceptually part of the signature, so it might make sense in the envelope.
The machine name, etc should probably go into the payload. There's not a great spot for the machine name in the ITE-6 payload right now, though.

@dlorenc you're right, anything can go in the payload but that assumes you have control over the payload. If you wanted to take some arbitrary content and wrap this around it then it's nice to have a side-channel you can annotate without having to manipulate the payload.

Are you asking for something like a plain old 'metadata' field that can be any dict the producer wants but that people shouldn't depend on for making policy decisinos?

My feeling is no. Signing-spec/DSSE is intended to be "dead simple" to minimize attack surface. JWS already exists and has the requested feature. If we added it here, we'd basically be reinventing JWS.
The workaround described in the original post is a reasonable solution. Or alternatively just use JWS if it provides the features you need.


Release v1.65

Pull request checklist:

[ ] CHANGELOG.md was updated, if applicable
[ ] Documentation in docs/ or install-docs/ was updated, if applicable
[ ] I have tested all changes

Looks great to me, good job on this pull request!


chore(main): release 0.7.0

:robot: I have created a release beep boop
0.7.0 (2024-11-07)
Features

Output name and version of wheel (#31) (f3efeb7)
Send alert on failed workflow (#33) (acac33d)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.7.0
:sunflower:


implement ABCI query interface for JMT

this adds ABCI query handling to pd, currently only handling one path: /jmt/key, which queries the JMT state for an arbitrary key. The query response is a proto-encoded KeyValueResponse that contains the value as well as an ICS23 CommitmentProof of that value's inclusion.

This should be the MVP functionality for our relayers to function


sslv3 alert handshake failure

It seems that Apple dropped SSLv3 support.
[11:24:56]: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: sslv3 alert handshake failure (OpenSSL::SSL::SSLError)
[11:25:00]: fastlane finished with errors
/usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/ssl_socket.rb:120:in `connect_nonblock': SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: sslv3 alert
handshake failure (OpenSSL::SSL::SSLError) (Excon::Errors::SocketError)
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/ssl_socket.rb:120:in `initialize'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/connection.rb:387:in `new'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/connection.rb:387:in `socket'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/connection.rb:106:in `request_call'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/middlewares/mock.rb:47:in `request_call'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/middlewares/instrumentor.rb:22:in `request_call'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/middlewares/base.rb:15:in `request_call'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/middlewares/base.rb:15:in `request_call'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/middlewares/base.rb:15:in `request_call'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/connection.rb:233:in `request'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon.rb:229:in `get'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/itunes_connect/itunes_connect_submission.rb:27:in `block in put_build_into_beta_testing!'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/itunes_connect/itunes_connect_submission.rb:26:in `loop'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/itunes_connect/itunes_connect_submission.rb:26:in `put_build_into_beta_testing!'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/ipa_uploader.rb:113:in `publish_beta_build'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/ipa_uploader.rb:93:in `publish_on_itunes_connect'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/ipa_uploader.rb:77:in `upload!'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/deliver_process.rb:384:in `trigger_ipa_upload'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/deliver_process.rb:48:in `run'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/deliverer.rb:133:in `finished_executing_deliver_file'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/deliverfile/deliverfile.rb:31:in `initialize'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/deliverer.rb:85:in `new'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/deliver-0.12.1/lib/deliver/deliverer.rb:85:in `initialize'
        from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/fastlane-1.7.0/lib/fastlane/actions/deliver.rb:21:in `new'

Probably related to https://github.com/fastlane/spaceship/issues/54.
This might have something to do with your OpenSSL version.

I follow the link to modified the spaceship client.rb to force openssl use TLSv1.2 but I still got the same error when I tried to deploy the app to the testflight. The build has already uploaded to the iTunes connect, but it get stucked at Choosing the latest build on iTunesConnect for beta distribution with the sslv3 alert failure. I use openssl(0.9.8zf) under OS X El Capitan.

I think if it is possible to enforce excon's ssl_socket to use TLS to replace SSL?

Probably related to excon/excon#478

problem solved with version 1.13.0

Great to hear :+1:


It fails to correctly identify SKU for standard_nc64as_t4_v3

The script fails to correctly identify standard_nc64as_t4_v3 as a Nvidia GPU SKU and therefore won't gather GPU data.
https://github.com/Azure/azhpc-diagnostics/blob/main/Linux/src/gather_azhpc_vm_diagnostics.sh#L190
This line should include 64 vCPU size as well.

Fixed in,
https://github.com/Azure/azhpc-diagnostics/commit/038837d4269a2b76ea8632473891ad3d35406afb


fix(Pagination): call onPageChange only when change is occurred

Fixes #2627.

Codecov Report

Merging #2632 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2632      +/-   ##
==========================================
+ Coverage   99.74%   99.74%   +<.01%
==========================================
  Files         160      160
  Lines        2748     2750       +2
==========================================
+ Hits         2741     2743       +2
  Misses          7        7

Impacted Files
Coverage Δ

src/addons/Pagination/Pagination.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Released in<EMAIL_ADDRESS>


Unfiled arrow for access relationships

First thank you so much for this piece of software!
Second I have a small question regarding the access arrow.
How do I actually use Rel_Access and specify the directions?
5.2.2 Access Relationship in
https://pubs.opengroup.org/architecture/archimate3-doc/chap05.html
Thank you

Ok, I just noticed:
https://github.com/ebbypeter/Archimate-PlantUML/blob/4be42bee55360419a023d0af4a9f9d5c37ee7aed/Archimate.puml#L250
But that is still not giving an unfiled arrow.
An way we could solve that?

@ricardoamaro Are you still having issues with this? If so, could you post your diagrams, so I can take a look?

Closing due to lack of response. If this is still an problem (or if the problem returns) this issue will be re-opened.


Remove target with delegations

This started with just refactoring the remove-target (so it matches add-target) but turned into a collection of multiple changes:

make remove-target like add-target (it is a top level command and follows delegations too)
refactor both remove-target and add-target so that the generic parts are in Repository and only git-related parts are in GitRepository
make timestamp a top-level command as well
separate timestamp functionality out of *Repository.snapshot() into it's own method (making sure the obsolete snapshot files are always deleted when they become obsolete)
remove workaround in edit() where some files would be deleted there: now only GitRepository.timestamp() and GitRepository.snapshot() delete files (because only they make files obsolete)
Improve README

Should be noted that while timestamp and snapshot are now separated in the Repository class, the CLI snapshot command still does a timestamp if needed.
Fixes #46, fixes #47, fixes #31

I'll merge this so #48 can progress: feel free to open new issues for review comments


Problems :( - NoClassSettingsException[Failed to load class with value [jdbc]]

Results :1234:
{
  "_index": "_river",
  "_type": "my_jdbc_river2",
  "_id": "_status",
  "_version": 1,
  "_score": 1,
  "_source": {
    "error": "NoClassSettingsException[Failed to load class with value [jdbc]]; nested: ClassNotFoundException[jdbc]; ",
    "node": {
      "id": "APUJ0gByQb62XhVRUx3b2Q",
      "name": "Boomer",
      "transport_address": "inet[/x.x.x.x:9300]"
    }
  }
}

Console logs :1234:
jvm 1    | [2014-11-20 20:41:46,791][WARN ][river                    ] [Boomer] failed to create river [jdbc][my_jdbc_river]
jvm 1    | org.elasticsearch.common.settings.NoClassSettingsException: Failed to load class with value [jdbc]
jvm 1    | 	at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:87)
jvm 1    | 	at org.elasticsearch.river.RiverModule.spawnModules(RiverModule.java:58)
jvm 1    | 	at org.elasticsearch.common.inject.ModulesBuilder.add(ModulesBuilder.java:44)
jvm 1    | 	at org.elasticsearch.river.RiversService.createRiver(RiversService.java:137)
jvm 1    | 	at org.elasticsearch.river.RiversService$ApplyRivers$2.onResponse(RiversService.java:275)
jvm 1    | 	at org.elasticsearch.river.RiversService$ApplyRivers$2.onResponse(RiversService.java:269)
jvm 1    | 	at org.elasticsearch.action.support.TransportAction$ThreadedActionListener$1.run(TransportAction.java:113)
jvm 1    | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
jvm 1    | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
jvm 1    | 	at java.lang.Thread.run(Thread.java:745)
jvm 1    | Caused by: java.lang.ClassNotFoundException: jdbc
jvm 1    | 	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
jvm 1    | 	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
jvm 1    | 	at java.security.AccessController.doPrivileged(Native Method)
jvm 1    | 	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
jvm 1    | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
jvm 1    | 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
jvm 1    | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
jvm 1    | 	at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:73)
jvm 1    | 	... 9 more

My elasticsearch version is 1.4.0 Beta . Plugins jdbc dir ...
-rw-rw-r--  1 root root  283418 Nov 20 20:12 elasticsearch-river-jdbc-<IP_ADDRESS>.Beta1.jar
-rw-rw-r--  1 root root  959987 Nov 20 20:34 mysql-connector-java-5.1.33-bin.jar
-rw-rw-r--  1 root root 4120307 Nov 20 20:32 mysql-connector-java-5.1.33.zip

What should i do ?

I am also getting same problem on Windows. Is it a permission issue here as well?

Running below command to create river using sense plugin :
PUT _river/my_jdbc_river/_meta
{
"type":"jdbc",
"jdbc": {
"driver":"com.microsoft.sqlserver.jdbc.SQLServerDriver",
"url":"jdbc:sqlserver://localhost:1433;databaseName=DB_Name",
"user":"user",
"password":"password",
"sql":"select id, name from user"
}
}
It creates river successfully and shows message in river :
{
"_index": "_river",
"_type": "my_jdbc_river",
"_id": "_meta",
"_version": 1,
"created": true
}
but gives below error in command prompt :
[2015-06-19 13:06:26,813][WARN ][river                    ] [Mark Gervaisnight Shade] failed to create river [jdbc][my_jdbc_river]
org.elasticsearch.common.settings.NoClassSettingsException: Failed to load class with value [jdbc]
at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:87)
at org.elasticsearch.river.RiverModule.spawnModules(RiverModule.java:58)
at org.elasticsearch.common.inject.ModulesBuilder.add(ModulesBuilder.java:44)
at org.elasticsearch.river.RiversService.createRiver(RiversService.java:138)
at org.elasticsearch.river.RiversService$ApplyRivers$2.onResponse(RiversService.java:274)
at org.elasticsearch.river.RiversService$ApplyRivers$2.onResponse(RiversService.java:268)
at org.elasticsearch.action.support.TransportAction$ThreadedActionListener$1.run(TransportAction.java:113)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: jdbc
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:73)
Can someone help?

ashishgupta4486,
I'm getting same. was you able to resolve the issue? I've installed 'elasticsearch-jdbc' as plugin

@adnangul
Yes the problem was with version. On site its written version should be same for ES and river but it does not work in all scenarios. For me below are the versions worked -
sqljdbc 4
elasticsearch 1.5.2
elasticsearch-river-jdbc <IP_ADDRESS>

Please check your command line tool. It does not send the JSON body in correct syntax to Elasticsearch. Watch out for escaping quotes (").

@ashishgupta4486
I'm using
elastic 1.6.0
elasticsearch-jdbc <IP_ADDRESS>
As per site they should be compatible
@jprante
I've installed the plugin using below command

jprante/elasticsearch-jdbc -u http://xbib.org/repository/org/xbib/elasticsearch/importer/elasticsearch-jdbc/<IP_ADDRESS>/elasticsearch-jdbc-<IP_ADDRESS>-dist.zip -i jprante/elasticsearch-jdbc

I'm using curl to create river/index as below
curl -XPUT localhost:9200/_river/product/_meta -d @curl-data.txt
The data in file:
{
"type": "jdbc",
"jdbc": {
"url": "jdbc:mysql://localhost:3306/test",
"user": "user",
"password": "pass",
"sql": "SELECT * FROM product",
"index": "example",
"type": "product"
}
}
I've double check the quotes seems good. Please advice in case you notice any issues with steps above

With curl, you need to add the --data-binary flag to send data to Elasticsearch.

Most important: you installed a river. JDBC importer <IP_ADDRESS> is no longer a river.

@adnangul
Its not gonna work with 1.6 version since its depricated. I also tried for the same struggled for few hours then found a blog https://www.elastic.co/blog/deprecating-rivers.
Then I tried with couple of other version and finally worked with below combination
sqljdbc 4
elasticsearch 1.5.2
elasticsearch-river-jdbc <IP_ADDRESS>
For a version 1.6 I am not sure with curl.

That's mean it wouldn't work even if I use --data-binary as below
curl -XPUT localhost:9200/_river/product/_meta --data-binary @curl-data.txt
Adnan
On Thu, Jul 2, 2015 at 4:45 PM, Jörg Prante<EMAIL_ADDRESS>wrote:

Most important: you installed a river. JDBC importer <IP_ADDRESS> is no longer
a river.
—
Reply to this email directly or view it on GitHub
https://github.com/jprante/elasticsearch-jdbc/issues/391#issuecomment-118177531
.

--
Regards,
Adnan Yaqoob

@ashishgupta4486
Deprecating shouldn't stop functionality; it's an indicator that the feature will be removed in future version.
As per link you shared, probably they are going to keep the infrastructure up to 2.0. Will be removed in 2.0 onwards
Adnan

The pain with river was so great I dropped support for river API as soon as possible.
For ES 1.6 upwards, I do no longer offer JDBC river versions, only JDBC importer, with improved runtime behavior.

@adnangul
Yes you are right. Its always to have alternate if something is depricated since its gonna remove in future as you said. Better you change 1.6 if you want to use river.

Hi All,
I am getting the same error:
I am using:
elastic 1.6.0
elasticsearch-jdbc <IP_ADDRESS> (importer).
and my request in marverl sense is:
PUT http://localhost:9200/_river/orders_river/_meta
{
"type":"jdbc",
"jdbc":
{
"driver": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"url":"jdbc:sqlserver://usalvwaldbqa1:1433;databaseName=es",
"user":"es",
"password":"Answ3r21",
"sql":"SELECT *  FROM es.g_solution where solution_id=45",
"index" : "clients",
"type" : "orders"
}
}

for elastic 1.6 which version of jdbc(river or importer)
i should go for?or should i be using belowcombinations only?
sqljdbc 4
elasticsearch 1.5.2
elasticsearch-river-jdbc <IP_ADDRESS>

You have to work with importer in case of 1.6.
Below combination worked for me so I shared. I tried with 1.6 for ES and river both but didn't work and I am not sure about importer. Didn't try yet.

Thanks Ashish!
i used importer version itself but did not work for me.
elastic 1.6.0
elasticsearch-jdbc <IP_ADDRESS> (importer)

and sqljdbc 4.

@poonaminfor Haven't tried importer yet. @jprante can actually help you in this.
Meanwhile you can use combination which I shared above for _river. For that I am sure.

Thanks Ashish,will try with ur combination.

I could fix it with ur combination Ashish but running into another issue:
2015-07-08 04:30:51,817][ERROR][bootstrap                ] [nodedev] Exception
org.elasticsearch.ElasticsearchIllegalStateException: Can't move to started state when closed
at org.elasticsearch.common.component.Lifecycle.canMoveToStarted(Lifecycle.java:117)
at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:79)
at org.elasticsearch.node.internal.InternalNode.start(InternalNode.java:258)
at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:128)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:216)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
[2015-07-08 04:30:53,172][WARN ][common.jna               ] unable to link C library. native methods (mlockall) will be disabled.
[2015-07-08 04:30:53,451][INFO ][node                     ] [nodedev] version[1.5.2], pid[11556], build[62ff986/2015-04-27T09:21:06Z]

i am using windows 2008 r2 and its a virtual machine,

I could fix it mlock setting,tnx.

@poonaminfor Check your java version once. I was also getting same issue but using java 8 and combination of above given set up files this problem gone.

m trying to use fs river 1.5 with ES 1.5 I used https://github.com/dadoonet/fsriver
when I m trying to gv maven build I m getting error:
Failed to execute goal com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.1.11:junit4 (tests) on project fsriver: There were test failures: 5 suites, 18 tests, 2 suite-level errors, 1 error -> [Help 1].
Then I tried with Logstash.I need to read files from remote server.but not able to configure lostah forwarder.
Can anyone guide me on this

Sorry, no fsriver here, and no Logstash. This is JDBC river/importer.


Add new period datatype

I've tried to be consistent with other datatype descriptions that exist in the datatype register but please let me know your thoughts.

The description is very clear.


Add deployment link to README

This adds a short link to the larger notion doc

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Introduce support for IP dual-stack

Feature gate IPv6DualStack for IPv4/IPv6 dual-stack networking is enabled by default for 1.21 kubernetes cluster. But cluster needs to meet a few requirements and configurations before it works correctly.
So we're going to disable the feature flag by default in Rancher 2.6, k8s 1.21. In order to support this, we need to validate prerequisites and configure the command args to kubernetes components in RKE.
Refer to https://kubernetes.io/docs/concepts/services-networking/dual-stack/ for more details.

We switched it off - this ask is to turn it back on and verify that it works.

k8s upstream enables this feature gate by default, so the idea is to leave it as is once #33085 is fixed.
So now there's no need to introduce a field/flag to enable/disable it.
For better user experience, we'll validate the flags passed for IPv6DualStack with networking requirements (similar to how k3s/kubeadm implements it https://github.com/k3s-io/k3s/pull/3212) and error out if cluster's not configured correctly.
Otherwise we'll default to ipv4 and nothing should error out.

To test this:

It should only work on Calico, selecting a different CNI should error
We only successfully tested this on AWS EC2, with the following prerequisites:

Add IPv6 default gateway to VPC routes
Disable source/destination checks on all EC2 instances in the cluster

Use the configuration below:

kubernetes_version: "v1.21.1-rancher2-1"
services:
  kube-api:
    service_cluster_ip_range: <IP_ADDRESS>/16,fd98::/108
  kube-controller:
    service_cluster_ip_range: <IP_ADDRESS>/16,fd98::/108
    cluster_cidr: <IP_ADDRESS>/16,fd01::/64

network:
  plugin: calico

Commands that can be used:
kubectl create deployment nginx --image=nginx --replicas=5
# IPv4 + IPv6 pod addresses
kubectl get pods -l app=nginx -o jsonpath='{range .items[*]}{<EMAIL_ADDRESS><EMAIL_ADDRESS>
And the adjusted overlay check script for IPv6:
#!/bin/sh
cat <<EOF | kubectl create -f -
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: overlaytest
spec:
  selector:
      matchLabels:
        name: overlaytest
  template:
    metadata:
      labels:
        name: overlaytest
    spec:
      tolerations:
      - operator: Exists
      containers:
      - image: busybox:1.28
        imagePullPolicy: Always
        name: busybox
        command: ["sh", "-c", "tail -f /dev/null"]
        terminationMessagePath: /dev/termination-log
EOF

kubectl rollout status ds/overlaytest -w

echo "=> Start network overlay test"; kubectl get pods -l name=overlaytest -o jsonpath='{range<EMAIL_ADDRESS><EMAIL_ADDRESS>| while read spod shost; do kubectl get pods -l name=overlaytest -o jsonpath='{range<EMAIL_ADDRESS><EMAIL_ADDRESS>| while read tip thost; do kubectl --request-timeout='10s' exec $spod -- /bin/sh -c "ping -c2 $tip > /dev/null 2>&1"; RC=$?; if [ $RC -ne 0 ]; then echo $shost cannot reach $thost; fi; done; done; echo "=> End network overlay test"

The network requirement (and I assume the reason it only works on AWS EC2), is  based on the comment from Calico Slack:
For IPv6, calico assigns /128s to pods from IP pools just like IPv4.  We don't currently support any kind of overlay for IPv6 so you need to peer with your fabric over BGP to advertise out the routes.  We don't currently support borrowing IPs from the host's subnet.
As with IPv4, Calico assigns IPs to hosts in blocks and those are then sub-divided into /128s for the individual pods.
You can use multiple IP pools to assign different IP ranges to different groups of pods.

We only successfully tested this on AWS EC2, with the following prerequisites:

Add IPv6 default gateway to VPC routes
Disable source/destination checks on all EC2 instances in the cluster

In order to facilitate the dualstack testing on AWS, adding few additional notes to prepare the environment:

Enable AWS ipv6 support: set the network range at vpc and its subnetworks
Add the ipv6 default gateway at vpc routes
Add ipv6 info to AWS security groups
Create vms with Auto-assign IPv6 IP: Enable
Disabled source/destination check at vms

More info at https://docs.aws.amazon.com/vpc/latest/userguide/get-started-ipv6.html

rke version: v1.3.0-rc13
os: 'Linux ip-10-0-0-39 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux'
docker: '20.10.7'
Steps

created a single ec2 with ipv4 and ipv6 support
installed docker
ran rke up with the config from above
kubectl create deployment nginx --image=nginx --replicas=1
kubectl get pods -l app=nginx -o jsonpath='{range .items[*]}{<EMAIL_ADDRESS><EMAIL_ADDRESS>
I observed an ipv6 and ipv4 address assigned to the pod.
Running the given overlay check script fails:
=> Start network overlay test
command terminated with exit code 1
<node ip> cannot reach <node ip>
=> End network overlay test

Tested again with updated script
rke version: v1.3.0-rc13
os: Linux ip-10-0-0-39 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
docker: 20.10.7
Steps

created a single ec2 with ipv4 and ipv6 support
installed docker
ran rke up with the config from above
kubectl create deployment nginx --image=nginx --replicas=1
kubectl get pods -l app=nginx -o jsonpath='{range .items[*]}{<EMAIL_ADDRESS><EMAIL_ADDRESS>
Results

I observed an ipv6 and ipv4 address assigned to the pod
The tests script from above was run and passed

Notes
I used the same steps on a 3 node cluster and bumped the nginx replica count to 3 and saw the same results.

Reopening for QA to check dev validation and close if OK.


Amend GetTimestampAtHeight to accept ConnectionI interface

Summary
The connectionKeeper's GetTimestampAtHeight method currently expects a ConnectionEnd type. This is in contrast to the rest of the methods which are defined based on the ConnectionI interface defined in exported.
This results in a requirement to mix calls (see #3840) to access connection keeper methods since channelKeeper.GetConnection returns the interface when GetTimestampAtHeight requires the type (which is accessed via connectionKeeper.GetConnection).
Proposal
Change GetTimestampAtHeight's sig to accept the interface instead of the type.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

note: unsure if there's history behind this? Also, pretty sure this is API-breaking, though I wouldn't expect anyone to actually be using it.

Good catch, @DimitrisJim! it could be that maybe this is even not API breaking? The ConnectionEnd fully implements the ConnectionI interface, so maybe it's possible to just replace the argument type without any harm.

due to it being a public symbol it will necessarily be API-breaking I'd assume.  I do agree that yeah, call sites won't be affected due to the ConnectionEnd implementing that interface, on our end this just changes signatures.


Automatically public the notice on an "extra "notices" tab on FOM platform

. In order to facilitate the publishing of the initial notice on a government website, we need to add a tab/screen to the software. The idea is for FSP holders to fill out a form that contains all legally required notice content ( i.e. Company, contacts, place of business, business hours etc.). Once the form has been completed, a “prefabricated” official notice should be published on the new notices tab/page every time a FOM of the respective user opens for commenting ( switches from publish to commenting open).
This issue transferred from Jira (FOM-111)

![screenshot-1.png](https://images.zenhubusercontent.com/61f87aa78804f87afc5530bd/02e09882-5f62-4c5a-8eea-
a92ae6e4b039)

BVANDEGRVandegriend, Basil IIT:EX added a comment - 14/Mar/22 12:18 PM - edited
Feedback from mockup review session:
Public Front-End:
Remove FOM ID from Public Notice Summaries
Add District to Public Notice Summaries (just before Commenting Open Date)
Rename field labels to be clearer:
"Review FOM Address" -> Address to Review FOM, similar changes for other fields
If "receive comments same as review" flag is true, do the following:
Don't show the 2nd set of receive comment fields
Change the label for the first set of fields to be "Address to Review FOM and Receive Comments"
Add lines between public notice rows when not expanded, especially on mobile view
When public notice rows are expanded, there are two lines shown between each row, should be just one.
Desktop view for expanded public notice has too big a gap between field labels and field values, for both the two column section and the one column section.
Nice to haves (leave to end if have budget):
Add header to public notice summaries (maybe only for non-mobile view, still needs to work in mobile view)
Add ability to filter by various fields like district, FOM Holder, directly on the Public Notice screen
Add an indicator onto each row showing whether it is expanded or collapsed (e.g. triangle)
Admin Front-End:
On the Edit FOM screen, rename 'Initial Public Notice' to 'Newspaper Public Notice'
Rename the "Edit Public Notice" to "Edit Online Public Notice".
On Edit Public Notice screen, rename field labels to be clearer (as listed for Public front-end)
On Edit Public Notice screen, if "receive comments same as review" flag is true, disable the 2nd set of address/business hour fields.
On the Edit Public Notice screen and Edit FOM screen, can we display the FOM id in the title - e.g. Edit Online Public Notice #1234
Add a delete button on the Edit Online Public Notice screen. This will delete the entire record and cause it to not be displayed
Add an indicator on the View FOM screen whether the online public notice exists
When creating a public notice for a FOM, load defaults from the last updated public notice for the same Forest Client.
Nice to Haves
On Edit Public Notice screen show example text for the address & business hour fields.

AMBUJOLDBujold, Anne-Marie IIT:EX added a comment - 21/Mar/22 11:19 AM - edited
Headers for company name, FOM holder, District, commenting open date on the public notice screen on the public side. Possible to put when collapsed but not expand if not too difficult.
Change labels for Address to Review FOM and Receive Comments to be Physical address instead. See attached images.

BVANDEGRVandegriend, Basil IIT:EX added a comment - 06/Apr/22 1:55 PM
Review feedback:
Admin site:
Validations for all fields all show up after leaving any field on a new public notice
Validation of address has two validations - required and not empty, should just be one validation warning for this
Default text for address fields is darker, should be ligher
Wording of default text for addresses should be changed, Anne-Marie to provide wording
Field "Email" should be called "Email for Public Comment".
Public site:
list the statement regarding "validity period" (on bottom of details screen) on bottom of public notice screen
Field "Email" should be called "Email for Public Comment", moved to bottom
Filtering options still to be added
Basil still needs to review how it looks with multiple public notices
Code base:
Have more test data, at least three public notices
Fix isUpdateAuthorized (and maybe other security checks)
Caching needs to be fixed to be same as other public front-end data - 24+ hour expiry, loaded at startup, refreshed by batch process. (Basil can help explain/do this if necessary.)
Basil still needs to do a more detailed code review.

This issue was in-progress when copied from Jira (FOM-111). Work will be recorded in Jira, closing FOM backlog items issue.

This issue was in-progress when copied from Jira (FOM-111). Work will be recorded in Jira, closing FOM backlog items issue.


Next Release?

Just a quick question:
When do you plan to release the next version of Quasar RAT? And which features do you plan to add to it?

Hey, check out the points on the roadmap and the associated discussion.
In short, I will focus on GUI modernization, cross-platform support for the Quasar server (the cross-platform client will come in a future version) and possibly a web API for the server.


API Implement merge command

I've added an --interactive mode at @chillu 's bequest. :)

looks reasonable to me :)

@dhensby I've added the core committers to this module; You should be able to merge now.


Fix daily bar writer

Make daily bar readers take advantage of the TradingCalendar.
Make USEquityPricingLoader use the same calendar.
Both the reader and writer were updated, but the reader maintains backwards compatibility.  The test examples have not had their data updated, to ensure that we can read old data.

cc @ehebert @yankees714

Coverage decreased (-0.05%) to 83.615% when pulling 8308d6a554a3d81579833ffb3139280db730649b on fix-daily-bar-writer into e0f6abda2e6d02a7d3d70c270d61d34a913cd06a on master.

Coverage decreased (-0.04%) to 83.623% when pulling 5a0f8409172adea5d3bf5e32913f0c9a72845389 on fix-daily-bar-writer into e0f6abda2e6d02a7d3d70c270d61d34a913cd06a on master.


Fix optimizer regressions

Which issue does this PR close?

Closes https://github.com/apache/arrow-datafusion/issues/3690
Rationale for this change

PR https://github.com/apache/arrow-datafusion/pull/3662 introduced regressions that were not detected due to a lack of test cases and also due to the fact that we default to skip_failing_rules = true.
What changes are included in this PR?

Adds tests for the regressions
Reverts https://github.com/apache/arrow-datafusion/pull/3662

Are there any user-facing changes?

No

@alamb @liukun4515 This PR is one solution for fixing the recent regressions introduced into the optimizer - by reverting the PR that introduced them - but maybe @liukun4515 can fix these issues in a separate PR, then we won't need to merge this one.

@alamb @liukun4515 This PR is one solution for fixing the recent regressions introduced into the optimizer - by reverting the PR that introduced them - but maybe @liukun4515 can fix these issues in a separate PR, then we won't need to merge this one.

I have done the enhancement to fix the bug in https://github.com/apache/arrow-datafusion/pull/3699

@andygrove  can you verify your dask tests work now?
The two tests described above are included now in the optimizer integration test by @liukun4515 : https://github.com/apache/arrow-datafusion/blob/57312284c082c914dd5e1edaa5c1fe3dbe4f222d/datafusion/optimizer/tests/integration-test.rs#L33-L57

Closed in favor of https://github.com/apache/arrow-datafusion/pull/3699
https://github.com/apache/arrow-datafusion/pull/3699 fixes some of the regressions :+1:  but there are are more. I will file a new issue shortly once I have a good repro case.


Keep up with original repository

as title

hmm.. will create an additional commit, doesn't seems to be a good idea...


Update to use React.findDOMNode

Using new React.findDOMNode API

I will take this after this release so we don't break React 0.12 support

Thanks for the request. we fixed that in #156


Remove: Music+

Channel ID (required)
MusicPlus.pl
Reason (required)
Other
Notes
Channel ended his broadcast

Confirmed. Though removing it would be a bad practice. Better edit the channel and mark it as closed.
Source : https://satkurier.pl/news/237135/music-plus-zakonczyl-nadawanie.html


Cool Project

Minor issue.
When I loaded up a game mode my screen panned to the right steadily. It's probably due to some flight sim hardware I have plugged in. For myself, it is no issue and I just commented out _handle_joypad_rotation(delta) in player_manager.gd.
I thought you might want to know though. Thanks for sharing the project.

Thanks for the feedback! Maby we could add a feature to disable joypad movement, to avoid problems like yours.
I'm starting to think about creating a Discord Server or something like that for people like you that wants to provide small feedback and talk about the project.


Is project nucleus (sync lists) supported in SPFx?

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version Chrome 111
SPFx version 1.17.x
Node.js version 16.x

Issue description
In the dev demo of project nucleus, it was mentioned that SPFx support was on the cards. I can't find any literature if or when this will be implemented.
More specifically I'd like to know if I can do the following in an SPFx solution:

Detect if we're in offline mode (e.g., I may not want to allow users to make changes in certain circumstances if I know that it will just be a local cache change)
Detect if sync is enabled and functioning on a list. If sync is not enabled, then I'll know that some queries won't work due to the 5k threshold, and can design the UX accordingly.
If sync is not enabled, is there a way to find out why? There is no clear guide on how sync can be enabled and to troubleshoot why it is not enabled so it would help if we can obtain the reason for sync not working.
In terms of the 5k threshold limitation improvement, would that work for libraries? Would there be a separate cache for the blobs and metadata? For example, a client may not have enough storage to offline the whole library but could have enough storage for the files metadata

@smolattack - could you please guide me to the dev demo you're referencing?
Thanks!

@smolattack - could you please guide me to the dev demo you're referencing? Thanks!

Sure here's a timestamped link: https://youtu.be/B-fajHEhBkk?t=851

@VesaJuvonen - do you have any details on that?


ExcelPainter: "italic" is added to format_name twice

... under certain conditions. There should be a check on format_name so it isn't added twice.

Resolved by #481.


update<EMAIL_ADDRESS>

update<EMAIL_ADDRESS>

I thought we are going to use vue-cli, as it is not updated anymore.
Anything changed?

I thought we are going to use vue-cli, as it is not updated anymore.
Anything changed?

I know Vue cli will no longer be maintained, so my suggestion is to use vite. However, since element UI is not compatible with vite, only element plus is compatible with vite; However, element plus requires vue3, so I suggest upgrading the UI to vite + vue3 + element plus; But it takes time, so I want to use it for the time being<EMAIL_ADDRESS>Carry out front end and back-end joint debugging. I will upgrade the project from next week.

As this would be a part of official 0.2.0 release, it is better we at least use reasonable tech stack, rather than an expired time. @hanahmily told me, he will need more time to make server ready to release, you should still have time

As this would be a part of official 0.2.0 release, it is better we at least use reasonable tech stack, rather than an expired time. @hanahmily told me, he will need more time to make server ready to release, you should still have time

Yes, please rest assured that I will use a reasonable technology stack to upgrade the project before releasing version 0.2.0

As this would be a part of official 0.2.0 release, it is better we at least use reasonable tech stack, rather than an expired time. @hanahmily told me, he will need more time to make server ready to release, you should still have time

The updating will affect too many places than expected. We have to upgrade to vue3 to replace vuecli. If we put them in a single commit, it will be too hard to review. @WuChuSheng1 will update them in the follow-up PRs.

Codecov Report

Merging #172 (237537b) into main (f5b77d9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #172   +/-   ##
=======================================
  Coverage   53.52%   53.52%
=======================================
  Files          86       86
  Lines        7869     7869
=======================================
  Hits         4212     4212
  Misses       3262     3262
  Partials      395      395

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@WuChuSheng1 Please run make license-dep in the root path to fix license-related issues.


Fix for (GVRF-14) Crash in video sample

GearVRf-DCO-1.0-Signed-off-by: Jason Kim
<EMAIL_ADDRESS>

updated

Patch verified. The gvrvideo app doesn't get crashed any more.


ERROR WHEN MIGRATING FROM MONGODB TO MYSQL

Description

Reproduction steps

Open the config.yml file and set example to true.
Restart the server
Run /lp user example permission set x from the console
See error

Expected behavior

This morning I migrated from MongoDB to MySQL following the steps indicated in the Wiki, however, the export was successful without fail. More than 1.2 million users exported correctly. However, some of them out of the blue, have had failures since their rank did not have it and I have started to give ranks, however, the problem is generated when:
I give a temporary range to users with the command 'lp user name parent name addtemp rangename 10y global' for example, it jumps a major error.
I use the latest version of LuckPerms, I doubt very much that this is really the problem. Attached is evidence of the bug.

Bug: https://paste.minebox.es/nasujuvugu.sql
User permissions: https://prnt.sc/13bjdbt

It's funny because if I do a /lp editor user and set the time from the editor, it does work but with the NO command, I can only give permanent ranges.
I hope you can help me, if you need more data, do not hesitate to ask.

Please follow the issue template.

Hello!
As I well indicated, I don't think it is necessary to attach more information, it is explained in detail everything that happened, you can see all the error, it is not something that requires more information.
Any ideas?

You've ignored the reproduction instructions section, and deleted the part where we ask for the specific version of LP (latest tells us nothing), as well as the server software and it's version. A screenshot of the output of /lp info will cover most of the version / software related info.


Fix "Unable to resolve"  runtime errors

#32 Fix errors that appear at startup
2021-07-22 14:08:32        REGISTRY: Unable to resolve type MessageId, it will fail on construction
2021-07-22 14:08:32        REGISTRY: Unable to resolve type &'static[u8], it will fail on construction
2021-07-22 14:08:32        API/INIT: Error: FATAL: Unable to initialize the API: createType(&'static[u8]):: Cannot construct unknown type &'static[u8]
    at EventEmitter.value (/opt/polkadot_api_server/node_modules/@polkadot/api/base/Init.cjs:91:25)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
2021-07-22 14:08:32        API/INIT: Error: createType(&'static[u8]):: Cannot construct unknown type &'static[u8]
    at createTypeUnsafe (/opt/polkadot_api_server/node_modules/@polkadot/types/create/createType.cjs:58:11)
    at createType (/opt/polkadot_api_server/node_modules/@polkadot/types/create/createType.cjs:70:10)
    at TypeRegistry.createType (/opt/polkadot_api_server/node_modules/@polkadot/types/create/registry.cjs:308:39)
    at /opt/polkadot_api_server/node_modules/@polkadot/metadata/decorate/constants/index.cjs:30:30
    at Array.reduce (<anonymous>)
    at /opt/polkadot_api_server/node_modules/@polkadot/metadata/decorate/constants/index.cjs:27:58
    at Array.reduce (<anonymous>)
    at decorateConstants (/opt/polkadot_api_server/node_modules/@polkadot/metadata/decorate/constants/index.cjs:18:18)
    at extractProperties (/opt/polkadot_api_server/node_modules/@polkadot/types/create/registry.cjs:122:53)
    at TypeRegistry.setMetadata (/opt/polkadot_api_server/node_modules/@polkadot/types/create/registry.cjs:467:29)
Error: Connection could not be established.

New polkadot versions are now supported, these should be solved in the latest version.


Trying to add custom info not working?

I am trying to add Last login info, but it's not working.
print_info() {
    info title
    info underline

    info "OS" distro
    info "Host" model
    info "Kernel" kernel
    info "Uptime" uptime
    info "Packages" packages
    info "Shell" shell
    info "Resolution" resolution
    info "DE" de
    info "WM" wm
    info "WM Theme" wm_theme
    info "Theme" theme
    info "Icons" icons
    info "Terminal" term
    info "Terminal Font" term_font
    info "CPU" cpu
    info "GPU" gpu
    info "Memory" memory

    prin "Last login" "$(lastlog | grep $USER | awk '{print $(NF-5)" "$(NF-4)" "$(NF-3)" "$(NF-2)" "$(NF-1)" "$NF}')"

    info cols
}

Have I read the instructions wrong? Why is my prin line not working? Thanks.

Doesn't matter. I was editing the script instead of editing the configuration files.


No option to select camera and capture images on android Firefox v81.1.1

It allowed us to select camera to capture images or record videos When click on brows button in old Android Frefox versions.
But latest version of Firefox (81.1.1) directly navigate user to selecting file options without providing camera option.
Any suggestion to fix this?

Hi @ashanrupasinghe,
File input selection is a native browser function - you can control the input with the capture attribute.

Closing this as solved.


Add update_session_auth_hash

Add update_session_auth_hash  to refresh session after changing password.

good!
Do you want to use @Changron's message in this PR?

No need, since it won't logout user anymore!

I mean this "忘記密碼 update 完之後 Update successfully 字太小了 而且在最下面按鈕旁邊根本就看不到"

Yes. In the other PR.

ok
+1, going to merge


⚠ Fox Sports has degraded performance

In 1c39cc0, Fox Sports (https://foxsports.com) experienced degraded performance:

HTTP code: 200
Response time: 2986 ms

Resolved: Fox Sports performance has improved in f3ab452.


Variables Do Not Appear in Some Tests

Haven't had a chance to dig into it, yet, but variables are not appearing in several tests where I would expect them to in the Scenario Editor interface, and perhaps in the test interface, too.

immunization_test_2.txt
In that file, in version 1.6.6-alpha, the test recommended doses does not return variables inside the test editor if you create a person named bob born on jan 1 2000.

This is going to be unimportant when we switch to using the scenario editor method for doing NLG, so I'm going to de-prioritize it. If you need to see the variables you can use scenario editor, it should work fine.


match dataclasses module api (missing fields, make_dataclass, asdict, is_dataclass) more closely

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
A lot of code I have depends upon dataclasses because it's the closest thing to a struct in Python, and numerous functions in this valuable stdlib module are missing or renamed in the pydantic.dataclasses module, which causes it to not live up to its intended purpose to be a drop-in replacement for dataclasses -- isn't there more to it than the @dataclass decorator ?

[ ] fields missing
[ ] asdict missing -> opportunity to fix model_dump_json for dataclasses ?
[ ] make_dataclass missing -> create_dataclass only translates existing, no bijection
[ ] is_dataclass was renamed to is_pydantic_dataclass, may we alias this ?

Right now, we can't really claim the pydantic.dataclasses is a "drop in replacement" for the dataclasses module because these functions are missing or renamed, so I propose adding them and aliasing is_pydantic_dataclass as is_dataclass.
The benefit would be, codebases which make more extensive use of the dataclasses module beyond just the decorator can more easily switch to pydantic. Pydantic users could benefit from consistent & familiar helper functions to work with these types.
For make_dataclass:
Apparently there is a workaround for make_dataclass but it's implicit here and not explicit I.E. even if that works, everyone has to independently go and find this closed issue and re-invent the wheel on a critical path to make a dataclass.
https://github.com/pydantic/pydantic/issues/1954
TLDR: if one person figures out make_dataclass, fields, asdict, is_dataclass then many people can benefit. I don't think a hodge podge of workarounds and reimplementations scattered across various closed issues is sufficient to consider the pydantic.dataclasses to be a "True" drop in replacement for dataclasses (YET)
Yeah, admittedly BaseModel is more commonly used, but dataclass is simpler and is inspired by a standard library module, that simplicity and standardization also has value and is worthy of our time and effort to raise the standard.

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[X] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

fields and asdict should be working with Pydantic dataclasses (we could/should document this), so I don't see the point of adding them in the pydantic.dataclasses module as an alias/reexport of the stdlib ones.

is_dataclass was renamed to is_pydantic_dataclass, may we alias this ?

I think it makes more sense to keep it named is_pydantic_dataclass, this is what it does (and will return False for stdlib dataclasses).
make_dataclass could make sense, although it could be solved easily with https://github.com/python/cpython/issues/118974.

I opened https://github.com/python/cpython/pull/122723 to have a way to specify the dataclass factory.

Ok, makes sense, I'd still suggest the re-export because the module is marketed as a "drop in replacement" so having the aliases because could save numerous users a lot of time.
"drop in replacement for dataclasses" implies we can use it in place of that module;
with missing functions, we need to refactor code to use either stdlib dataclasses or pydantic dataclasses (identically named) for various functions, which means it's not a drop in replacement.
If re-exporting avoids needing to juggle two independent dataclasses modules and remember which has what, I vote for re-exporting

Maybe I'm wrong, I thought I saw that somewhere, if it's not a goal then that's fine, just good. Ah, here's where I found that, Stack Overflow !

https://github.com/python/cpython/pull/122723 was merged, introducing a decorator argument to make_dataclass in Python 3.14.


Setting State via SetState for one property

First, thanks for a great library. It has been immensely useful and I appreciate your efforts and work in the angular community.
I have a store which is based around a primary object (league) and some related properties like games, registrations, teams that belong to that league
When I add a game, I'd like force a refresh of the games array from my api (my api response contains a fully populated object that includes some calculated properties (winner/loser etc.) and other relationships which make me prefer relying on the server to be the source of truth rather than attempting to duplicate that logic locally.
So I built a method on my store called refreshGames, which looks at the current league in the state, and calls my games http service to load all games for this league and then calls setState({games: games}); doing this drops the other properties from the state (league, registrations, teams).
is this intentional? what is the preferred way of keeping the unchanged items in the store/state? do I just pull them from the store first and then readd them in the setState call with the new games array?
I am using angular FWIW, your example seems to imply I should be able to setState on individual properties of the store, in your example you have customers and a specific customer, though the example doesn't get into this specific situation of having both objects populated.

*The games array being 0 length is intentional, in this case I "cleared" the schedule of all games. Whats not intentional is that the league/registrations/teams properties are missing.
Thanks again.

This is what I got going, but looking at your example, I definitely see some potential refactoring I should consider doing.
It appears that in my code I'm subscribing to the http call inside the store, whereas you seem to prefer handling this in the component -- I guess in this way you are also able to properly display a loading screen in the component as well?
Your store
`
@Injectable({
providedIn: 'root'
})
export class SportingEventStoreService extends ObservableStore {
constructor(
private leagueService: LeagueService,
private playerRegistrationService: PlayerRegistrationService
) {
super({ trackStateHistory: true, logStateChanges: true });
const initialState = {

  league: null,
  registrations: [],
  teams: [],
};

this.setState(initialState, 'INIT_STATE');

}
setLeague(id: string) {
if (!(this.getState().league?._id === id)) {

  const league$ = this.leagueService.getLeagueV4(id);
  const registrations$ = this.leagueService.getLeaguePlayerRegistrations(id);
  const teams$ = this.leagueService.getLeagueTeams(id);
  const games$ = this.leagueService.getLeagueGames(id);

  forkJoin([league$, registrations$, teams$, games$]).subscribe(res => {
    this.setState({
      league: res[0],
      registrations: res[1],
      teams: res[2],
      games: res[3]
    }, 'SPORTING EVENT SET');
  });
}

}
reload() {
if ((this.getState().league?._id)) {

  const league$ = this.leagueService.getLeagueV4(this.getState().league?._id);
  const registrations$ = this.leagueService.getLeaguePlayerRegistrations(this.getState().league?._id);
  const teams$ = this.leagueService.getLeagueTeams(this.getState().league?._id);
  const games$ = this.leagueService.getLeagueGames(this.getState().league?._id);

  forkJoin([league$, registrations$, teams$, games$]).subscribe(res => {
    this.setState({
      league: res[0],
      registrations: res[1],
      teams: res[2],
      games: res[3]
    }, 'SPORTING EVENT RELOADED');
  });
}

}
reloadGames() {
if (this.getState().league?._id) {

  let curLeague = this.getState().league;
  let curRegistrations = this.getState().registrations;
  let curTeams = this.getState().teams;

  this.leagueService.getLeagueGames(curLeague._id).subscribe(games => {

    this.setState({
      games: games,
    }, "REFRESH GAMES");

  });

}

}
refreshState(leagueId: string) {
const league$ = this.leagueService.getLeagueV4(leagueId);
const registrations$ = this.leagueService.getLeaguePlayerRegistrations(leagueId);
const teams$ = this.leagueService.getLeagueTeams(leagueId);
const games$ = this.leagueService.getLeagueGames(leagueId);
return forkJoin([league$, registrations$, teams$, games$]).pipe(
tap(res => {
this.setState({
league: res[0],
registrations: res[1],
teams: res[2],
games: res[3]
});
}));
}
// refreshPlayerRegistrations(leagueId: string) {
//   const registrations$ = this.leagueService.getLeaguePlayerRegistrations(leagueId);
//   const teams$ = this.leagueService.getLeagueTeams(leagueId);
//   return forkJoin([registrations$, teams$]).pipe(
//     tap(res => {
//       this.setState({
//         registrations: res[0],
//         teams: res[1],
//         league: this.getState().league,
//         games: this.getState().games
//       });
//     }));
// }
updateLeague(league: League) {
return this.leagueService.updateLeague(league).pipe(
switchMap((l) => {
// this.setState({ league }, 'UPDATE LEAGUE');
return this.refreshState(league._id);
}),
catchError(this.handleError)
);
}
addRegistration(playerRegistration: PlayerRegistration) {
return this.playerRegistrationService.addPlayerRegistration(playerRegistration).pipe(
switchMap((l) => {
// this.setState({ league }, 'UPDATE LEAGUE');
return this.refreshState(this.getState().league?._id);
}),
catchError(this.handleError)
);
}
updateRegistration(playerRegistration: PlayerRegistration) {
return this.playerRegistrationService.updatePlayerRegistration(playerRegistration).pipe(
switchMap((l) => {
// this.setState({ league }, 'UPDATE LEAGUE');
return this.refreshState(this.getState().league?._id);
}),
catchError(this.handleError)
);
}
deleteRegistrations() {
return this.playerRegistrationService.deleteLeagueRegistrations(this.getState().league?._id).pipe(
switchMap((l) => {
// this.setState({ league }, 'UPDATE LEAGUE');
return this.refreshState(this.getState().league?._id);
}),
catchError(this.handleError)
);
}
private handleError(error: any) {
console.error('server error:', error);
if (error.error instanceof Error) {
const errMessage = error.error.message;
return throwError(() => errMessage);
}
return throwError(() => error || 'Server error');
}
}`

You're fine subscribing in the service. That part wouldn't matter. The sample I mentioned is just a simple demo of multiple properties added to the store and being updated.
You might try stepping through the setState() call (where you see the problem happen) into the observable store base that I showed above to see what's coming in to be set, what's currently in the store, etc. That might lead to more information about what might be causing that.
Without a project for me to run that reproduces what you're seeing, it's hard to say could be leading to that behavior. Due to the amount of async calls going on, I'm wondering if it's a timing issue potentially. Hard to say for sure. Hopefully the debug suggestion above may give you some more info to go on.

I'm going to close this out since it's old now, but feel free to re-open it if you haven't figured out a solution.


Feature request: GitOps syncing of service definitions from git(hub) similar to Weave Flux

Maybe this doesn't belong in Portainer, but I'd like to throw the idea out there before maybe creating a separate project. I see Portainer as an all-in-one management tool for Docker Swarm so I think there's an argument to be made.
The idea is to enable GitOps, similar to Weave Flux for Kubernetes, but for Docker Swarm. It would go something like this:

I create git repositories describing my Docker services in compose YML
I point Portainer to my repositories
Portainer runs my Docker Compose files to create my services
Portainer registers webhooks on the repositories
Based on webhook events, and some rules, Portainer will re-run those Compose files when they change.

The result could be a simple yet powerful way to control my deployments using Git workflows, like pull requests. Would love to hear other people's throughs on this.

Ok, so for anyone else stumbling onto this thread in the future, I've been working on a solution for this (with @vudknguyen).

swarm-pack, loosely based on Helm.
swarm-sync, loosely based on Flux.

We'd love contributors or to hear from anyone else trying to solve similar problems!

I was quite excited when I saw stacks could be deployed from git.
I was very sad to see the deployed stack in portainer didn't even maintain a link to the source and was just back to the normal "Stack / Editor" tabs.

This is an old issue, but I believe our current automatic updates functionality should answer this feature request. As such I'm going to close this issue, if you feel that there's something missing then it can be reopened.


Support Docker option for IPv6

Describe the solution you'd like
I'm trying to use the runner in a IPv6 only environment. The runner itself works well and is able to connect to my Gitlab instance, but when the job starts within its own docker container it gets a connection timeout to Gitlab as its not able to make use of the IPv6 networking.
To allow this to work, enable_ipv6 needs to be set in the Docker configuration otherwise docker networks don't support it.
See https://docs.docker.com/config/daemon/ipv6/ and https://gitlab.com/gitlab-org/gitlab-runner/-/issues/36994
Suggest a solution
Add the enable_ipv6 flag to runner_worker_docker_options. Note the enable_ipv6 documentation is currently missing, see the issue above.

Seems to be mandatory, if you want to IPv6 only.

@william00179 Are you working in a IPv6 only setup? There is #1075  claiming that SSM access in not working for IPv6 only so the Runner will not be able to start.


Observe changes to a default option

Due to introduction of DefaultOptionFactory a default option can be easily changed at runtime. Right now, observing a feature flag option will always use a default option that was available during observe() call instead of using most recent value.
https://github.com/MiSikora/laboratory/blob/266fd82bf5fa95cc4a834bab31f80c94569b00c1/library/laboratory/src/main/java/io/mehow/laboratory/Laboratory.kt#L28-L35
Simply moving val defaultOption = getDefaultOption(feature) to the map() call is a good start but it does not solve an issue where a feature flag is observed and a default option changes in the factory. This would require some callback from the factory that informs Laboratory of default option changes so it can propagate them.
It might be also a pointless thing to implement since it seems like a very rare use case that will needlessly complicate the API.

This is so niche that there is no point in introducing complexity to the library.


Options to control generation process Environment Variables in docker-composer not work

swagger file: person.yaml example file
I have environment variables.
SWAGGER_MOCK_DEFAULT_MIN_FLOAT: 10.0
SWAGGER_MOCK_DEFAULT_MAX_FLOAT: 100.0
SWAGGER_MOCK_DEFAULT_MAX_INT: 10
SWAGGER_MOCK_DEFAULT_MIN_INT: 8
SWAGGER_MOCK_USE_EXAMPLES: 'exclusively'
how ever server still generate random values.

Hello, @gring2! Thank you for the report!
There were some mistakes in docs: all options start with OPENAPI_MOCK prefix, not SWAGGER_MOCK.
Fixed version of docs https://github.com/muonsoft/openapi-mock/blob/master/docs/usage_guide.md.


Use #!/usr/bin/env shebang

$ ls /bin/bash
ls: cannot access '/bin/bash': No such file or directory

On certain systems, /bin and /usr/bin are nothing but wastelands, with just envaround as the last survivor of the great purge. The binaries have cowardly hidden away and only env can show us the way to greatness (bash). ❄

Ah yeah I keep forgetting about that. ^^ Thanks!
@bors r+

:pushpin: Commit<PHONE_NUMBER>ae8399a1b2df7b02b56300f6f827a7 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit<PHONE_NUMBER>ae8399a1b2df7b02b56300f6f827a7 with merge f9ce2d04b951b2094a27b4d9ef8819f7fe021bb0...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing f9ce2d04b951b2094a27b4d9ef8819f7fe021bb0 to master...


Support for the experimental syntax 'classProperties' isn't currently enabled

Hi,
I just cloned your template, but I wasn't able to start the development server:
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /Users/Merlin/git/phaser/src/scripts/scenes/mainScene.js: Support for the experimental syntax 'classProperties' isn't currently enabled (7:3):

   5 |   fpsText
   6 |
>  7 |   constructor() {
     |   ^
   8 |     super({ key: 'MainScene' })
   9 |   }
  10 |

Did you just do npm i && npm start? I just tried it on my system and it works.
Well, I have updated the dependencies, maybe now it works?

Hi @yandeu
Sorry, my fault. I copied all files from the cloned repo in my own project folder and missed the dot files.  😞
BTW, I had to to npm i twice. Even in your original cloned project. The first run always trows
internal/modules/cjs/loader.js:797
    throw err;
    ^

Error: Cannot find module 'nan'

BTW, I had to do npm i twice.

This is strange. But, I'm glad it works for you now :)


Build script

Thus PR breaks down the Dockerfile into build scripts. Much easier to get the pipeline running natively (without Docker) now.

Individual .bash install files for each dependency
install-all-dependancies.bash script
Thin Dockerfile
install.bash that SCE users can use to setup the pipeline to run natively in SCE3. I tested this on CSU-002 but possible (probable) there are more be bugs.

I think this is a good approach and would make things easier to install without docker.  Just one comment about version control of bwa


Tutorial for Kafka Input Operator

Updated the doc with Ram, Siyuan, Gaurav review comments.

Incorporated the review comments.

@amberarrow : Incorporated the review comments. Please merge this PR.


Update allowedDomains to issuersWhitelist

Resolves #228
allowedDomains is not checking domains, but the whole issuer string. It makes more sense to call this issuersWhitelist. This will make it more clear what this setting does.

semver breaking change

I was hoping that with my last commit it would avoid a breaking change. Is there anything else needed to support backwards compatibility?


Integration Tablar with tenancy for laravel

any recommendations for tablar using tenancy for laravel?

@haithamrdina Currently Thre is no recommendation.


Can't import exported database from F-droid version to Google Play version

Please complete the following information:

Platform (Windows/Android) - Android
App Version [e.g. v1.0.0] - 1.2.3
Affected Device(s) [e.g. Samsung Galaxy s10 with Android 9.0] (only for Android platform) - Google Pixel 5

Describe the Bug:
I exported my database from the F-droid version, and tried to import it into the Google Play version -- however, I got "Invalid backup structure"
Expected Behavior:
Import goes flawlessly.

I fixed this by finding the 1.1 version, import it, then upgrading the app.


Use callback when parsing key config file

Codecov Report

Merging #34 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #34   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           6      6
  Lines         139    154   +15
=====================================
+ Hits          139    154   +15

Impacted Files
Coverage Δ

src/outputcode.c
100% <100%> (ø)
:arrow_up:

src/cfgfile.c
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[EventRequest] Table " SalesLine", Request for local procedure to Global instead

We would like to request that the following three  local procedures in salesLine table seen in the screenshot below to be tranformed to being global procedures instead.
local procedure IsPriceCalcCalledByField(CurrPriceFieldNo:Integer):boolean;
local procedure PlanPriceCalcByFild(CurrPriceFieldNo:integer)
local procedure ClearFieldCausedPriceCalculation()

any information required please inform.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


MTL-1806

Summary and Scope

Fixes MTL-1806

Issue Type

Bugfix Pull Request
Docs Pull Request
RFE Pull Request

This fixes MTL-1806, ensuring yq is not called if SYSTEM_NAME is missing.
This sets SYSTEM_NAME as a global to the current value, or to 0. It's then populated by the csi call, and if it fails to populate then it'll cause the site-init function to return 1. The return 1 ensures that the pit-init call fails and stops reporting that the LiveCD was successfully initialized.
Prerequisites

[x] I have included documentation in my PR (or it is not required)
[x] I tested this on internal system (x) (if yes, please include results or a description of the test)

Idempotency

Risks and Mitigations
What is less risky, or more risky now - or if your mod fails is there a new risk?

why are there CI changes mixed in here?

I was lazy, I'll move them out.


Error: Sorry, you cannot list resources. [woocommerce_rest_cannot_view]

I'm using "pixelpeter/laravel5-woocommerce-api-client": "2.0" to connect with my WooCommerce store, but i'm getting an error which says

HttpClientException in HttpClient.php line 320:
Error: Sorry, you cannot list resources. [woocommerce_rest_cannot_view]

My code is
use Woocommerce;

public function getIndex() {
    $data = [
        'id' => '2626'
    ];

    $result = Woocommerce::get('orders', $data);
    print_r($result);
}

My site has SSL. (store_url = https://www.example.com/)
Laravel Version: 5.2.*
WordPress Version: 4.6.1
WooCommerce Version: 2.6.8

@raunak-gupta Hi, because you are using a URL with https you need to enable
WOOCOMMERCE_WP_QUERY_STRING_AUTH=true
in the laravel .env config file, then you won't get this error given that the key and secret are correctly set.

@simofacc Thanks for helping me out with support


(GH-677) set default for WebLinkRoot as RepositoryName instead of title.

fixes #677

@nils-a your changes have been merged, thanks for your contribution 👍


Add tests Get Geo-location Data challenge

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (Closes #XXXX): Closes #4596

Description

Add more tests to check for the elements used to query the user's geo-location data.

:sparkles: :sparkles: LGTM. :sparkles: :sparkles:
Thanks @erictleung !


Support for Nested Objects and Arrays

Hi this is probably more a feature request than in issue.
I've been tweaking around jqPropertyGrid to handle Nested Objects by flattening and unflattening them. It works but when it gets to arrays we need a different strategy and way of handling them.
Arrays of objects or values require different handling, is that possible with built in functionality?
If not could you please provide some pointers/hookups where and how we could create the support for them?
Thanks
Theo

You are stretching this little tool way beyond what it was built for... :)
Unfortunately I don't have any time to work on it, nor I really remember how it works....

Not sure it helps, but I commited an example 7 years ago of a customType named "textArea", and it takes in an array of strings, and outputs an array of strings (1 per line from the text area).
https://github.com/ValYouW/jqPropertyGrid/commit/753de06c47aefe0a64ec1dab48db59ce3d76eaf9

Actually you just provided me with an amazing hook for entering arrays of data/strings/objects as inputs.
This allows these arrays to be disregarded by the jsPropgrid and we can add a nested JSON/CSV checker to validate/sanitize inputs ... We do need some sort of label but since it's nested we could use a group header for that instead... thanks alot!! Still think we gotta v2 this tool


extract image converter

proposal

generalizing the volume converter so it can be reusable also for export OVA is an interesting direction but need to think whether we'll want the export OVA flow to be:

convert the volumes to qcow2/vmdk
initiate another pod that copies their data into an OVA

or to initiate a pod that gets all the volumes and convert the data directly into the OVA (as we do in oVirt using a loopback device). the latter option makes this more similar to the flow of warm migration from vsphere

I think we can still do that if I change the interface back to:
type PVCConverter interface {
	ConvertPVC(pvcs []*v1.PersistentVolumeClaim, srcFormat, dstFormat string) (ready bool, err error)
}

(I now noticed I left it pvcs)
But then srcFormat is no good, because in theory we can have PVCs with different source formats, in that case we can switch it to function
type GetSourceFormatFn func(pvc *v1.PersistentVolumeClaim) string

type PVCConverter interface {
	ConvertPVC(pvcs *v1.PersistentVolumeClaim, fn GetSourceFormatFn, dstFormat string) (ready bool, err error)
}

And then we'll have a separate implementation for an OVAConverter which will start one job for all volumes
I believe this is good regardless of reusability, because this approach makes it easier to test this flow isolation with https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/client/fake

generalizing the volume converter so it can be reusable also for export OVA is an interesting direction but need to think whether we'll want the export OVA flow to be:

convert the volumes to qcow2/vmdk
initiate another pod that copies their data into an OVA

or to initiate a pod that gets all the volumes and convert the data directly into the OVA (as we do in oVirt using a loopback device). the latter option makes this more similar to the flow of warm migration from vsphere

I think we can still do that if I change the interface back to:
type PVCConverter interface {
	ConvertPVC(pvcs []*v1.PersistentVolumeClaim, srcFormat, dstFormat string) (ready bool, err error)
}

(I now noticed I left it pvcs)
But then srcFormat is no good, because in theory we can have PVCs with different source formats, in that case we can switch it to function
type GetSourceFormatFn func(pvc *v1.PersistentVolumeClaim) string

type PVCConverter interface {
	ConvertPVC(pvcs *v1.PersistentVolumeClaim, fn GetSourceFormatFn, dstFormat string) (ready bool, err error)
}

And then we'll have a separate implementation for an OVAConverter which will start one job for all volumes
I believe this is good regardless of reusability, because this approach makes it easier to test this flow isolation with https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/client/fake

yeah, that sounds good - and then we won't allocate new volumes for the converted images but the pod that would start for export OVA would create the OVA and convert the disks directly to it

@bennyz ping?

proposal

@bennyz can you please write few words here?

added


Initial Tags

There is a bug when initial tags already have some value . and then i try to add another tag it adds two tags.

Hey I am not experience that issue. What version are you running?


OpenShift monitoring sample

This pull request is on hold pending #109 which would replace it.

Abandoning this sample in favor of actual scripts for automation


feat: introduce RigidBodyDominance component

Rapier3d supports a dominance property (https://github.com/dimforge/rapier/pull/122) that is used in collisions between two dynamic RigidBodys. If one body's dominance is higher than the other, that body will not experience any forces in the collision, acting as if it has infinite mass.
This PR adds a small RigidBodyDominance component to support setting this property. In particular, this helps address #96, allowing your player body to ignore forces exerted by other dynamic bodies colliding with it.

I could see this turning into a RigidBodyConfig component, rather than having unique components for each config option.

Heron is now discontinued. Sorry this change never got merged.
Thank you for your interest in the project and your contributions.


Release process improvements

Fix https://github.com/apache/camel-quarkus/issues/1154 https://github.com/apache/camel-quarkus/issues/1155 https://github.com/apache/camel-quarkus/issues/1156

CI failures are unrelated.


added deploy.sh

There is no sample deploy.sh not even in repo refered which creates issue when creating one, so added the link for the same

@abhishek0220 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@steved0x Could you review this pipelines pull request? Thanks.

#sign-off

#sign-off

@steved0x: I'm sorry - only the author of this article, @RoopeshNair, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@steved0x: I'm sorry - only the author of this article, @RoopeshNair, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Continue updating deployment manifests when uninstalling

This allows an addon to update its deployment manifests while the predelete hook is running. This is useful when telling the addon to enter uninstall mode.
Additionally, if there is a bug in the uninstall and it keeps the uninstall from succeeding, we need to allow container image updates to move forward in the event the update fixes the problem.
Relates:
https://issues.redhat.com/browse/ACM-8947

/hold if you agree with the approach, I'll work to get the tests working

/unhold this is ready for review with the tests fixed

/cc @zhujian7

/lgtm

@zhiweiyin318 could you please take another look?

/LGTM
need approve from @qiujian16

/approve

/unhold


Removed preloading of miners

#6 I've removed the preloading of knownMiners as I think the library should provide complete flexibility over which miners we're connected to. We can do that by having no miners loaded initially and just adding the ones we need. Iif we do want to preload miners then we should perhaps use a library such as Viper that can potentially allow the user to override the default miners.

Closed this for the time being as there's a nicer way to do this


Migration Question.

I have some questions.
I'm migrating my scripts to vRP 2, however, researching I saw that I need to load the script in the vRP context to give access to the API, on the server side it's not a problem, but on the client side, a doubt arose, since my script will have a NUI, how do I redirect the requests, should I set the url to https://vrp/... ?
But other scripts will also have UI, and is it possible to access the client side API without the vRP.loadScript?
My code.
vrp_client.lua
local Proxy = module("vrp", "lib/Proxy")
local vRP = Proxy.getInterface("vRP")
async(function ()
    vRP.loadScript(GetCurrentResourceName(), "client/client", true)
end)

client.lua
local RESOURCE_NAME = "vrp_multichar"

local Luang = module("lib/Luang")

local Multichar = class("Multichar", vRP.Extension)

function Multichar:__construct()
    vRP.Extension.__construct(self)
    self.luang = Luang()
    self.luang:loadLocale(vRP.cfg.lang, module(RESOURCE_NAME, "lang/" .. vRP.cfg.lang) or {})
    self.lang = self.luang.lang[vRP.cfg.lang]
end

if vRP:isExtensionRegistered(Multichar) then
    vRP:unregisterExtension(Multichar)
end

vRP:registerExtension(Multichar)

and my fxmanifest.lua
fx_version "cerulean"
game "gta5"
shared_scripts {
<EMAIL_ADDRESS>   "shared.lua",
}
client_scripts {
   "client/vrp_client.lua"
}

server_scripts {
   "server/vrp_server.lua"
}

files {
   "lang/*.lua",
   "client/client.lua"
}

lua54 'yes'

From the information I understand you can access the client side API in the normal way with SendNUIMessage, to give the server the information from a NUICallback you just need to use the tunnel functionality.
As for the loading client side the vrp_client.lua is not needed and instead inside at the top of the client.lua paste the following information.
-- init vRP server context
Tunnel = module("vrp", "lib/Tunnel")
Proxy = module("vrp", "lib/Proxy")
local cvRP = module("vrp", "client/vRP")
vRP = cvRP()
local pvRP = {}
-- load script in vRP context
pvRP.loadScript = module
Proxy.addInterface("vRP", pvRP)
if any additional information is required feel free to dm me on discord in the vrp channel