Using EnterText is not representative of typing text in password field

From<EMAIL_ADDRESS>on April 17, 2013 10:03:28
What steps will reproduce the problem? 1. Setup an EditText object in code where android:password="true".
2. Call "solo.typeText(passField, "This is my password");"
3. Observe result What is the expected output? What do you see instead? I am expecting to see the password entered as a series of asterisks ("*"). I also have code which reacts to the length of the string entered. Neither of these things occur: the full text of the password is visible, and the code which reacts to the change in text length is not firing. What version of the product are you using? On what operating system? Robotium 4.0 in IntelliJ Idea on a Mac. The target device is running Android 4.2.2 Please provide any additional information below. The code which reacts to the change in text length polls the editText object periodically using "view.getText().length()". This is returning zero when entering text using "solo.typeText()".
Original issue: http://code.google.com/p/robotium/issues/detail?id=438

From<EMAIL_ADDRESS>on April 17, 2013 11:02:08
Unfortunately there is nothing that can be done about that. The soft keyboard is not accessible to Robotium.
Status: WontFix
Owner<EMAIL_ADDRESS>

From<EMAIL_ADDRESS>on April 17, 2013 11:44:33
Actually there is! You can use sendKey() to send individual characters without needing access to the keyboard, although alphabet characters are limited to lower case using this method. After a little research I discovered this on Stack Overflow: http://stackoverflow.com/questions/10209681/entertext-in-robotium Using this method, both the masked field and text length issues were fixed :)

From<EMAIL_ADDRESS>on April 17, 2013 11:47:53
Great. This will be addressed in the next release.
Status: Accepted

From<EMAIL_ADDRESS>on June 14, 2013 20:18:22
Can you confirm that you use something like: solo.enterText(0,String.valueOf("10")); and the text gets masked? I'm not able to reproduce that my self.

From<EMAIL_ADDRESS>on June 24, 2013 21:23:37
Will open up if new information is given.
Status: WontFix

From<EMAIL_ADDRESS>on June 25, 2013 09:01:36
I am having this exact problem with Robotium 4.1. Is this something that was addressed in 4.2 which I just noticed is available for download?
I am doing solo.enterText(1, "some password") and in the UI I see the full text unencrypted.
My EditText has the following:
android:inputType="textPassword"

From<EMAIL_ADDRESS>on June 25, 2013 09:05:26
No this is has not been adressed in 4.2 as I don't know how to change that behaviour. It seems that using instrumentation will result in text being typed unencrypted. Until we or others find a way of changing that behaviour there is no way to get away from it.

From<EMAIL_ADDRESS>on June 25, 2013 09:14:53
Here is what I'm doing as a workaround for this issue. Perhaps this can somehow be implemented in robotium.
final EditText view = (EditText) solo.getView(R.id.someview);
final String text = "some password";
runTestOnUiThread(new Runnable() {
@Override
public void run() {
view.setText(text);
}
});
I tossed that code in a utility class so I can reuse it wherever I need to enter text into an EditText that serves as a password box.
public static void insertText(final EditText view, final String text, InstrumentationTestCase context) {
try {
context.runTestOnUiThread(new Runnable() {
@Override
public void run() {
view.setText(text);
}
});
} catch (Throwable e) {
e.printStackTrace();
}
}

From<EMAIL_ADDRESS>on June 25, 2013 09:23:20
Thanks. Will let you know if it works.

From<EMAIL_ADDRESS>on November 18, 2013 08:47:00
i met the probleam too,but i review the android code find a method,first open the KEYBOARD,and mock send key.
public void sendStringSync(String text) {
if (text == null) {
return;
}
KeyCharacterMap keyCharacterMap = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD);
    KeyEvent[] events = keyCharacterMap.getEvents(text.toCharArray());

    if (events != null) {
        for (int i = 0; i \< events.length; i++) {
        	events[i].setSource(InputDevice.SOURCE_KEYBOARD);
        	getInstrumentation().sendKeySync(KeyEvent.changeTimeRepeat(events[i], SystemClock.uptimeMillis(), 0));
        }
    }
}

public void testEditText() throws IOException {
	Commonval.log(this.getName().toString());
	solo.getEditText(0).requestFocus(View.FOCUS_DOWN);
        sendStringSync("i am from chinese");
       solo.sleep(2000);
}

From<EMAIL_ADDRESS>on November 18, 2013 08:47:00
i met the probleam too,but i review the android code find a method,first open the KEYBOARD,and mock send key.
public void sendStringSync(String text) {
if (text == null) {
return;
}
KeyCharacterMap keyCharacterMap = KeyCharacterMap.load(KeyCharacterMap.VIRTUAL_KEYBOARD);
    KeyEvent[] events = keyCharacterMap.getEvents(text.toCharArray());

    if (events != null) {
        for (int i = 0; i \< events.length; i++) {
        	events[i].setSource(InputDevice.SOURCE_KEYBOARD);
        	getInstrumentation().sendKeySync(KeyEvent.changeTimeRepeat(events[i], SystemClock.uptimeMillis(), 0));
        }
    }
}

public void testEditText() throws IOException {
	Commonval.log(this.getName().toString());
	solo.getEditText(0).requestFocus(View.FOCUS_DOWN);
        sendStringSync("i am from chinese");
       solo.sleep(2000);
}


Add windows support

For that, we need to move all the shell scripts to shelljs or similar.

+1 :smile:


Wizard buttons not working

Trying to create the next and pervious buttons but it's not working their always disabled. Using the following example - http://vadimg.com/twitter-bootstrap-wizard-example/examples/basic-custombuttons.html
My code:
 $('#w4').bootstrapWizard({'nextSelector': '.button-next', 'previousSelector': '.button-previous'});

<input type='button' class='btn button-next' name='next' value='Next' data-toggle="tab" />
<input type='button' class='btn button-previous' name='previous' value='Previous' />

what I'm getting as you can see their always disabled

@almogdesign not sure if this is a plugin issue. can you provide a live example?

@VinceG I tried a different wizard thanks


HBox does not work with Standalone

I have tried standalone with GTK and Qt4. The elements of a HBox appear vertically aligned. I tried qt5 but failed to install it.
Widgets_overview_app works because it uses a Widget and not an HBox.

Hello @KenT2 . Thank you for reporting. I've tried it on my windows system and I can't reproduce the problem. Here is attached an example program and a picture that shows how it appears:
layout_app.py.txt

Can you please try with this example?
However it depends for sure about the components used by the pywebview. The renderer is probably obsolete and don't supports html5 specs.
You should try with Qt5, there should be a way to install it. Which problem you encountered?

I did try the example some while ago. With gtk and qt4 it did not format correctly and the selection dropdowns had no effect. I also found out that the Raspberry Pi does not support Qt5 yet as it requires OpenGL.


[Event Request] Report 7304 "Get Outbound Source Documents" – Existing Event “OnBeforeWhsePickRequestOnAfterGetRecord”

Could we please have the existing publisher “OnBeforeWhsePickRequestOnAfterGetRecord” in the existing trigger “OnAfterGetRecord” (DataItem “Whse. Pick Request”), Report "Get Outbound Source Documents”, be expanded by an additional parameter including a skip pattern?
            trigger OnAfterGetRecord()
*** start new code ***
            var
                SkipCurrReport: Boolean;
*** stop new code ***
            begin
*** start new code ***
                SkipCurrReport := false;
*** stop new code ***
*** start old code ***
                //OnBeforeWhsePickRequestOnAfterGetRecord("Whse. Pick Request", PickWkshTemplate, PickWkshName,
                //LocationCode, LineCreated);
*** stop old code ***
*** start new code ***
                OnBeforeWhsePickRequestOnAfterGetRecord("Whse. Pick Request", PickWkshTemplate, PickWkshName, LocationCode, LineCreated, SkipCurrReport);
                if SkipCurrReport then begin
                    CurrReport.Skip();
                end;
*** stop new code ***
            end;
…
    [IntegrationEvent(false, false)]
*** start old code ***
    //local procedure OnBeforeWhsePickRequestOnAfterGetRecord(var WhsePickRequest: Record "Whse. Pick Request";
    //PickWkshTemplate: Code[10]; PickWkshName: Code[10]; LocationCode: Code[10]; var LineCreated: Boolean)
*** stop old code ***
*** start new code ***
    local procedure OnBeforeWhsePickRequestOnAfterGetRecord(var WhsePickRequest: Record "Whse. Pick Request"; PickWkshTemplate: Code[10]; PickWkshName: Code[10]; LocationCode: Code[10]; var LineCreated: Boolean; var SkipCurrReport: Boolean)
*** stop new code ***
    begin
    end;

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.


Parse line cap/join

Hi @RazrFalcon,
While using the crate, I found myself parsing stroke-linecaps and stroke-linejoins. I thought that would fit better inside svgtypes itself so I made this PR, please disregard it if it's not within the scope of the crate.

This crate is only for complicated types. SVG has a lot of string, enum-like types. You should convert them manually.
Moreover, attribute value trimming is not necessary as long as you have a decent XML parsing library.


problems with architecture x86_64

I'm having troubles using JSONModel with 64 bits architecture. I am linking it through Cocoapods with pod 'JSONModel'
My target is configured as follows:

And XCode is showing this error with my JSONModel object, called PPJBlock:

I'm importing SystemConfiguration.framework in my project, and declaring "JSONModel.h" import in the PPJBlock object.
What I am doing wrong?
Thanks,

I had a problem with my Cocoapod installation, Other Linker Flags wasn't loading my new pods. Solved reinstalling Cocoapods :)


doc: Update minikube requirement to meet TPROXY requirements

Older versions of minikube do not ship xt_socket.o and thus Cilium fails to run
on these versions.

This change is

test-docs-please

Coverage decreased (-0.02%) to 44.125% when pulling 3045ecad753b72be15d81fda07575df7ac339432 on pr/tgraf/minikube-docs into a2f62b8b43e05e7660f7fbae447a758e89b50128 on master.


Other way around (feature request).

Would it be possible to support the other way around (converting a Gloss BMP to Juicy Image)? That would be useful to save an image rendered by Gloss. Thanks.

Hello,
Could you clarify: do you want to be able to convert a BMP value (from the bmp package) or a gloss Picture? If the former, this is most likely doable and amounts to reversing the operations done in gloss-juicy's fromImageRGBA8, because we have access to the raw data. If the latter, I'm afraid we can't do that unless you find a way to convert an arbitrary Picture into a BMP value.

I just stumbled on this..
You could use the attempt in https://github.com/benl23x5/gloss/pull/23 to at least save Frames instead of Pictures.
The gloss-maintainer won't merge that PR because it implies a dependency on juicy-pixels.
Hope that a similar thing could be merged or i could write a PR based on that one myself (when i got time -.-)

I definitey would accept a PR for that. Given the need to depend on both packages, gloss-juicy does sound like the best place to have this :)


Destroyed cloudspace can be recalled during running a blueprint

Scenario
1- Assume that two cloud spaces with the same name (limitcs) exists in the same account , one is destroyed and the other is deployed.
2- Run this blueprint
blueprint
vdc__limitcs:
    g8client: 'main'
    description: 'des'
    location: 'du-conv-3'
node.ovc__vm3:
    os.image: 'Ubuntu 16.04 x64'
    bootdisk.size: 10
    sizeID: 2
    vdc: 'limitcs'

test_limit_iops__ts:
    os: 'vm'

actions:
    - action: 'install'
    - action: 'test'
      actor: 'test_limit_iops'

test_limit_iops's actions.py (this part of actions.py)
vdc = vm.producers['vdc'][0]
g8client = vdc.producers["g8client"][0]
client = j.clients.openvcloud.getFromService(g8client)
acc = client.account_get(vdc.model.data.account)
space = acc.space_get(vdc.model.dbobj.name, vdc.model.data.location)

Actual result:
"space" has been evaluated to "space: limitcs (88)" which is the destroyed cloud space
Expected Results
"space" should be evaluated to the deployed "limitcs" cloud space

I talked to @grimpy: on OVC side the returned cloudspaces doesn't include the destroyed ones.
https://github.com/0-complexity/openvcloud/blob/master/apps/cloudbroker/base/cloudapi__cloudspaces/methodclass/cloudapi_cloudspaces.py#L426


Notebooks: Resource is Undefined when Clicking Cancel from Save Dialog

Save an untitled notebook, but click cancel from the save dialog. User will be met with the following message:

Putting in April for consideration.

@MaddyDev can you take a look if you have a sec?


Accessing curated dataset with GPT4v filter

How do we access the data in the section 3 after curating rationale?
The current Huggingface data doesn't seem to have rationales generated,

Actually, I found your 1 M dataset at https://huggingface.co/datasets/BK-Lee/Meteor?row=4.
In the training data section on project page, do you mean you only need the image from the sources, but the instructions are replaced with ones at your huggingface repo?
Thanks for clarification!


Develop

Sorry missed that previous question.  I had some errors w/ the older frameworks.
I fixed the issues locally by re-installing and added them back to my branch. Renamed the branch to develop

Please merge into dev branch


xdr: update using xdrgen#71

This PR regenerates the xdr types using https://github.com/stellar/xdrgen/pull/71
There is a dramatic performance improvement. ~13x speedup and and 11x reduction of allocations.
goos: darwin
goarch: amd64
pkg: github.com/stellar/go/benchmarks
cpu: Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
BenchmarkXDRUnmarshalWithReflection
BenchmarkXDRUnmarshalWithReflection-8                 	   70221	     17617 ns/op	    5528 B/op	     185 allocs/op
BenchmarkXDRUnmarshal
BenchmarkXDRUnmarshal-8                               	  762405	      1360 ns/op	    1344 B/op	      17 allocs/op
BenchmarkGXDRUnmarshal
BenchmarkGXDRUnmarshal-8                              	   39950	     28912 ns/op	   86736 B/op	     278 allocs/op

This performance can be later improved even further by using the same approach as in https://github.com/stellar/go/pull/4056

nice work, new hire here, just trying to follow, amazed to see the custom xdr compiler. are there 'before' benchmarks to compare with the table captured here on latest results?


Document the differences with similar projects

Hi there,
I was planning to use a similar project, "Hugo Shortcode Gallery", when I discovered your code.
Could you please write a note about the differences and the rreason why you started a brand new project?
Cheers

crazy :) . i didn't find that one ... for whatever reason. would have saved me a bunch of work 😆 . well that would be reason number one i guess, and reason number two would be i wanted to use lightgallery.
it certainly seems like a very mature, well thought-out project :) , and it will be better suited if your page is not open sourced since lightgallery is GPLv3 licensed.
i will include some notes on the page.


[udemy] ERROR: Unable to extract course id

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.03.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2019.03.18

Before submitting an issue make sure you have:

[x ] At least skimmed through the README, most notably the FAQ and BUGS sections
[x ] Searched the bugtracker for similar issues including closed ones
[ x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
ERROR: Unable to extract course id;
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-o', u'./%(playlist)s/%(chapter_number)s-%(chapter)s/%(autonumber)03d-%(title)s.%(ext)s', u'https://www.udemy.com/7-scientifically-proven-steps-to-increase-your-influence/learn/lecture/1088308#overview', u'-v']
[debug] Encodings: locale utf-8, fs utf-8, out utf-8, pref utf-8
[debug] youtube-dl version 2019.03.18
[debug] Python version 2.7.10 (CPython) - Darwin-18.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.2, ffprobe 4.1.2, rtmpdump 2.4
[debug] Proxy map: {}
[udemy:course] Downloading login popup
[udemy:course] Logging in
[udemy:course] 7-scientifically-proven-steps-to-increase-your-influence: Downloading webpage
ERROR: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 794, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/udemy.py", line 439, in _real_extract
    course_id, title = self._extract_course_info(webpage, course_path)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/udemy.py", line 79, in _extract_course_info
    r'data-course-id=["\'](\d+)', webpage, 'course id')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1004, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', '--username', 'PRIVATE', '--password', 'PRIVATE', '-o', 'C:/MyData/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s', 'https://www.udemy.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxx/'] [debug] Encodings: locale cp1256, fs mbcs, out cp720, pref cp1256 [debug] youtube-dl version 2019.03.18 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134 [debug] exe versions: none [debug] Proxy map: {} [udemy:course] Downloading login popup [udemy:course] Logging in [udemy:course] become-a-wordpress-developer-php-javascript: Downloading webpage [udemy:course] 1010586: Downloading course curriculum [download] Downloading playlist: 1010586 [udemy:course] playlist 1010586: Collected 107 video ids (downloading 107 of them) [download] Downloading video 1 of 107 [udemy] Downloading login popup [udemy] 6896262: Downloading webpage ERROR: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last):   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpcs52imf5\build\youtube_dl\YoutubeDL.py", line 794, in extract_info   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpcs52imf5\build\youtube_dl\extractor\common.py", line 529, in extract   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpcs52imf5\build\youtube_dl\extractor\udemy.py", line 216, in _real_extract   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpcs52imf5\build\youtube_dl\extractor\udemy.py", line 79, in _extract_course_info   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpcs52imf5\build\youtube_dl\extractor\common.py", line 1004, in _search_regex youtube_dl.utils.RegexNotFoundError: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I'm waiting =)

@spark20 https://github.com/ytdl-org/youtube-dl#how-can-i-speed-up-work-on-my-issue.

I receive the same error. I think Udemy has new user interface for new accounts. I have two accounts and the newer account has different UI then what I see in my older account.

I'm facing same issue here...
youtube-dl --verbose -u<EMAIL_ADDRESS>-p pass -o "./%(playlist)s/%(chapter_number)s/%(autonumber)03d-%(title)s.%(ext)s" https://www.udemy.com/complete-python-bootcamp/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-o', u'./%(playlist)s/%(chapter_number)s/%(autonumber)03d-%(title)s.%(ext)s', u'https://www.udemy.com/complete-python-bootcamp/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.03.09
[debug] Python version 2.7.14 (CPython) - Windows-10-10.0.17763
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
[udemy:course] Logging in
[udemy:course] complete-python-bootcamp: Downloading webpage
[udemy:course] 567828: Downloading course curriculum
[download] Downloading playlist: 567828
[udemy:course] playlist 567828: Collected 167 video ids (downloading 167 of them)
[download] Downloading video 1 of 167
[udemy] Downloading login popup
[udemy] 3421822: Downloading webpage
ERROR: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 794, in extract_info
ie_result = ie.extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 522, in extract
ie_result = self._real_extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\udemy.py", line 216, in _real_extract
course_id, _ = self._extract_course_info(webpage, lecture_id)
File "c:\python27\lib\site-packages\youtube_dl\extractor\udemy.py", line 79, in _extract_course_info
r'data-course-id="'', webpage, 'course id')
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 997, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


Numerous unit-test errors

Hi
I just forked and cloned this repository, changed nothing, and ran phpunit. This was the output:
There were 26 failures:

1) litle\sdk\AuthReversalUnitTest::test_no_txnid
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /litleTxnId/'.

2) litle\sdk\Test\unit\AuthUnitTest::test_no_orderId
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /orderId/'.

3) litle\sdk\Test\unit\AuthUnitTest::test_no_amount
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /amount/'.

4) litle\sdk\Test\unit\AuthUnitTest::test_no_orderSource
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /orderSource/'.

5) litle\sdk\Test\unit\AuthUnitTest::test_advancedFraudChecks_withoutThreatMetrixSessionId
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /threatMetrixSessionId/'.

6) litle\sdk\Test\unit\CaptureGivenAuthUnitTest::test_no_amount
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /amount/'.

7) litle\sdk\Test\unit\CaptureUnitTest::test_no_txnid
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /litleTxnId/'.

8) litle\sdk\Test\unit\EcheckRedepositUnitTest::test_no_litleTxnId
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /litleTxnId/'.

9) litle\sdk\Test\unit\EcheckRedepositUnitTest::test_no_routingNum_echeck
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /routingNum/'.

10) litle\sdk\Test\unit\EcheckRedepositUnitTest::test_no_routingNum_echeckToken
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /routingNum/'.

11) litle\sdk\Test\unit\EcheckVerificationUnitTest::test_no_amount
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /amount/'.

12) litle\sdk\Test\unit\EcheckVerificationUnitTest::test_no_orderId
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /orderId/'.

13) litle\sdk\Test\unit\EcheckVerificationUnitTest::test_no_orderSounce
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /orderSource/'.

14) litle\sdk\Test\unit\ForceCaptureUnitTest::test_no_orderId
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /orderId/'.

15) litle\sdk\Test\unit\ForceCaptureUnitTest::test_no_orderSource
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /orderSource/'.

16) litle\sdk\Test\unit\GiftCardCaptureUnitTest::test_no_txnid
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /litleTxnId/'.

17) litle\sdk\Test\unit\SaleUnitTest::test_no_orderId
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /orderId/'.

18) litle\sdk\Test\unit\SaleUnitTest::test_no_amount
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /amount/'.

19) litle\sdk\Test\unit\SaleUnitTest::test_no_orderSource
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /orderSource/'.

20) litle\sdk\Test\unit\SaleUnitTest::test_advancedFraudChecks_withoutThreatMetrixSessionId
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /threatMetrixSessionId/'.

21) litle\sdk\Test\unit\UpdateCardValidationNumOnTokenUnitTest::test_litleTokenIsRequired
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /litleToken/'.

22) litle\sdk\Test\unit\UpdateCardValidationNumOnTokenUnitTest::test_cardValidationNumIsRequired
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /cardValidationNum/'.

23) litle\sdk\Test\unit\VoidUnitTest::test_no_litleTxnId
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /litleTxnId/'.

24) litle\sdk\Test\functional\AuthFunctionalTest::test_pos_missing_field
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /capability/'.

25) litle\sdk\Test\functional\EcheckRedepositFunctionalTest::test_echeckRedeposit_missing_litleTxnId
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /litleTxnId/'.

26) litle\sdk\Test\functional\TokenFunctionalTest::test_token_echeck_missing_required
Failed asserting that exception message 'Missing Field /user/' contains 'Missing Required Field: /accNum/'.

FAILURES!
Tests: 567, Assertions: 301, Failures: 26, Errors: 428.
Script phpunit handling the test event returned with an error

System information:
chris@fourside:~/src/revo/organization/litle-sdk-for-php$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:        16.10
Codename:       yakkety
chris@fourside:~/src/revo/organization/litle-sdk-for-php$ php --version
PHP 5.6.30-10+deb.sury.org~yakkety+2 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

I would like to use this SDK, but these errors make me relunctant to do so. Please advise. Thanks.

Hi @chrisallenlane
This error looks like it is being caused by not having the configuration file setup correctly. Some things to confirm: have you run Setup.php to generate the config file (litle_SDK_config.ini)? And is it being loaded correctly when running the SDK tests?
The config file should look like this:
user =username
password =123456
currency_merchant_map ['DEFAULT'] =101
url =https://www.testlitle.com/sandbox/communicator/online
proxy = <YOUR_PROXY_SERVER_AND_PORT
batch_requests_path =
litle_requests_path =
sftp_username =
sftp_password =
batch_url =
tcp_port =
tcp_timeout =
tcp_ssl =1
print_xml =0
timeout =  500
reportGroup = Default Report Group

Setup example is here
If you continue to have test failures please contact<EMAIL_ADDRESS>

@brianarnold789, thanks for the swift response.

This error looks like it is being caused by not having the configuration file setup correctly. Some things to confirm: have you run Setup.php to generate the config file (litle_SDK_config.ini)?

This was the root cause of the problem - a reading-comprehension failure on my part. Sorry about that!
Next issue:
The unit-tests now run. After running for some time, though, they seem to stop, and top says PHP is using 100% of a CPU core. So something is going a bit hayware.
Question:
When I ran Setup.php, I just used dummy data for credentials (foo, bar), etc. (I don't have access to valid credentials currently.) Must the setup credentials supplied be to run unit-tests, or is there something else going on here?
Thanks again for the help.

@chrisallenlane
We have a couple of environments you can use for testing. Since it looks like you do not have any credentials for our certification environment (prelive) I would recommend setting the URL in the config to: https://www.testlitle.com/sandbox/communicator/online for initial testing.
For the Sandbox environment you do not need any specific credentials, just values that can be filled in from the config. The Sandbox only validated the submitted XML against our XSD and returns a canned response. More info on how to best use the Sandbox can be found here.
I can't seem to reproduce the CPU usage issue though. The unit tests are fairly simple and should not be doing much more than validating parts of the SDK generated XML (i.e. they should be very light on resources). What is the behavior if you run a single unit test?

Thanks again, @brianarnold789
I double-checked, and I am using the URL you provided for testing. I let the tests run longer this time, and eventually PHP quit using the 100% CPU, and the tests concluded.
I had test failures, but I suspect they may be the result of system configuration issues on my end. For the record, here are the reported failures:
Time: 2.76 minutes, Memory: 18.50MB

There were 41 errors:

1) litle\sdk\Test\unit\TransactionsUnitTest::test_auth_with_card
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:18

2) litle\sdk\Test\unit\TransactionsUnitTest::test_auth_muliple_lineItemData
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:40

3) litle\sdk\Test\unit\TransactionsUnitTest::test_auth_muliple_detailTax
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:62

4) litle\sdk\Test\unit\TransactionsUnitTest::test_auth_merchant_data
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:76

5) litle\sdk\Test\unit\TransactionsUnitTest::test_auth_fraud_filter_override
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:91

6) litle\sdk\Test\unit\TransactionsUnitTest::test_auth_surchargeAmount
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:108

7) litle\sdk\Test\unit\TransactionsUnitTest::test_auth_surchargeAmount_Optional
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:124

8) litle\sdk\Test\unit\TransactionsUnitTest::test_auth_recurringRequest
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:147

9) litle\sdk\Test\unit\TransactionsUnitTest::test_auth_debtRepayment
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:165

10) litle\sdk\Test\unit\TransactionsUnitTest::test_captureGivenAuth_simple_captureGivenAuth
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:210

11) litle\sdk\Test\unit\TransactionsUnitTest::test_captureGivenAuth_debtRepayment_true
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:248

12) litle\sdk\Test\unit\TransactionsUnitTest::test_captureGivenAuth_debtRepayment_false
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:263

13) litle\sdk\Test\unit\TransactionsUnitTest::test_captureGivenAuth_debtRepayment_optional
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:277

14) litle\sdk\Test\unit\TransactionsUnitTest::test_credit_surchargeAmount_tied
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:311

15) litle\sdk\Test\unit\TransactionsUnitTest::test_credit_surchargeAmount_tied_optional
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:322

16) litle\sdk\Test\unit\TransactionsUnitTest::test_credit_pos_tied
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:362

17) litle\sdk\Test\unit\TransactionsUnitTest::test_echeckRedeposit_merchantData
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:396

18) litle\sdk\Test\unit\TransactionsUnitTest::test_simple_echeckVerification
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:411

19) litle\sdk\Test\unit\TransactionsUnitTest::test_echeckVerification_merchantData
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:419

20) litle\sdk\Test\unit\TransactionsUnitTest::test_simple_forceCapture
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:433

21) litle\sdk\Test\unit\TransactionsUnitTest::test_forceCapture_debtRepayment_true
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:471

22) litle\sdk\Test\unit\TransactionsUnitTest::test_forceCapture_debtRepayment_false
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:486

23) litle\sdk\Test\unit\TransactionsUnitTest::test_forceCapture_debtRepayment_optional
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:500

24) litle\sdk\Test\unit\TransactionsUnitTest::test_sale_with_card
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:515

25) litle\sdk\Test\unit\TransactionsUnitTest::test_simple_updateSubscription
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:554

26) litle\sdk\Test\unit\TransactionsUnitTest::test_simple_activate
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:601

27) litle\sdk\Test\unit\TransactionsUnitTest::test_simple_deactivate
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:616

28) litle\sdk\Test\unit\TransactionsUnitTest::test_simple_load
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:632

29) litle\sdk\Test\unit\TransactionsUnitTest::test_simple_unload
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:648

30) litle\sdk\Test\unit\TransactionsUnitTest::test_simple_balanceInquiry
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:663

31) litle\sdk\Test\unit\TransactionsUnitTest::test_auth_with_applepay
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:680

32) litle\sdk\Test\unit\TransactionsUnitTest::test_sale_with_applepay
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:697

33) litle\sdk\Test\unit\TransactionsUnitTest::test_credit_with_secondary_amount
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:714

34) litle\sdk\Test\unit\TransactionsUnitTest::test_token_with_applepay
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:728

35) litle\sdk\Test\unit\TransactionsUnitTest::test_forcecapture_with_secondary_amount
Array to string conversion

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/unit/TransactionsUnitTest.php:745

36) litle\sdk\Test\functional\LitleRequestFunctionalTest::test_sendToLitle
Cannot connect to . Error 0. php_network_getaddresses: getaddrinfo failed: Name or service not known

/home/chris/src/revo/organization/litle-sdk-for-php/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php:831
/home/chris/src/revo/organization/litle-sdk-for-php/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php:255
/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/LitleRequest.php:210
/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/LitleRequest.php:164
/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/LitleRequest.php:150
/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/functional/LitleRequestFunctionalTest.php:190

37) litle\sdk\Test\functional\LitleRequestFunctionalTest::test_sendToLitleStream
fsockopen() expects parameter 2 to be long, string given

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/LitleRequest.php:276
/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/functional/LitleRequestFunctionalTest.php:232

38) litle\sdk\Test\functional\LitleResponseProcessorFunctionalTest::test_processRaw
fsockopen() expects parameter 2 to be long, string given

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/LitleRequest.php:276
/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/functional/LitleResponseProcessorFunctionalTest.php:86

39) litle\sdk\Test\functional\LitleResponseProcessorFunctionalTest::test_processMecha
fsockopen() expects parameter 2 to be long, string given

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/LitleRequest.php:276
/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/functional/LitleResponseProcessorFunctionalTest.php:364

40) litle\sdk\Test\functional\LitleResponseProcessorFunctionalTest::test_echeckPreNote_all
fsockopen() expects parameter 2 to be long, string given

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/LitleRequest.php:276
/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/functional/LitleResponseProcessorFunctionalTest.php:483

41) litle\sdk\Test\functional\LitleResponseProcessorFunctionalTest::test_PFIF_instruction_txn
fsockopen() expects parameter 2 to be long, string given

/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/LitleRequest.php:276
/home/chris/src/revo/organization/litle-sdk-for-php/litle/sdk/Test/functional/LitleResponseProcessorFunctionalTest.php:606

41 FAILURES!
Tests: 567, Assertions: 935, Errors: 41.

Again, though - I am beginning to strongly suspect that this is due to a system configuration issue on my machine, versus bugs in the module code.
With that said, question: what platform are you performing your unit-tests on, with regards to operating system and PHP version?
My system:
chris@fourside:~/src/revo/organization/litle-sdk-for-php$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:        16.10
Codename:       yakkety

chris@fourside:~/src/revo/organization/litle-sdk-for-php$ php --version
PHP 5.6.30-10+deb.sury.org~yakkety+2 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

chris@fourside:~/src/revo/organization/litle-sdk-for-php$ php -m
[PHP Modules]
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mhash
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

@chrisallenlane
Our nightly build runs on RedHat, PHP version: PHP 5.3.3 (cli)
Our build PHP setup:
php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gettext
gmp
hash
iconv
json
libxml
openssl
pcntl
pcre
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
ssh2
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]

Some of errors you still see look to be tied to batch processing, errors 37 to 41. These tests do try to make an sFTP connection to our prelive environment (credentials required, both FTP and transaction). Even with these credentials there are probably features/connection methods you won't be using (i.e. Socket streaming a batch public function sendToLitleStream() or gift card processing). If you have a Vantiv contact, they would be able to get you setup with credentials for our prelive testing/certification environment. More info about the different ways to deliver transactions to Vantiv: https://developer.vantiv.com/docs/DOC-1288
If you are primarily concerned with online transaction processing (HTTP POSTs) it may be best to focus on that communication method and the transaction types you would envision using.


ZWE operating mode with photovoltaic surplus

Hello,
I would like to activate the heating rod (ZWE1) when there is a photovoltaic surplus.
Is there a way to switch between automatic and ZWE operating mode via automation?
Greetings from Germany

I think this souhld work:
For heating:
Set climate.luxtronik_heating*

.state = heat (hvac_mode) and
.preset_mode = boost and
.temperature > (.current_temperature + number.luxtronik*_heating_hysteresis)

For Domestic Water
Set water_heater.luxtronik_domestic_water*

.state = electric (operation_mode) and
.temperature > (.current_temperature + number.luxtronik*_dhw_hysteresis)

That works, thank you very much!


Prepare repository for VAST v2.2.0

:memo: Checklist

[ ] All user-facing changes have changelog entries.
[ ] The changes are reflected on vast.io, if necessary.
[ ] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions

In b41475d, I accidentally wordmithed the wrong release 🙈. Feel free to drop this commit.


Why do I have to download again every time I run it?

I want to use local files instead of downloading them from Hugface every time. And after downloading hugface, it will be downloaded again. I don't understand why it is necessary to download so many duplicate models @Fannovel16

I've tried this only once, so don't know if it downloads models every time. However, it saved it inside directory "ckpts/.../snapshots/..." which is deeply nested inside the node path and inside snapshots it created a directory with long random name. This is extremely inconvenient. Would be perfect if we could set a path to all models, similar to how we redirect comfy to a1111's model paths. The node doesn't seem to have a settings file and there's no mentioning of such settings in the readme.md.

@green-anger This random code may be related to the network address (my home and company are not the same), and I have changed the code myself so that it can be used even without the network.
https://github.com/Fannovel16/comfyui_controlnet_aux/pull/29#issue-1876958013

这个随机代码可能与网络地址有关（我家和公司不一样），我自己更改了代码，以便即使没有网络也可以使用。 #29（评论）

你好，如何使用本地的模型，我完全连不上拥抱脸了，只有之前下载的模型

I think I should replace huggingface_hub with direct downloading 🤔. That library isn't compatible with all enviroments. But such change will require redownloading.

However, it saved it inside directory "ckpts/.../snapshots/..."  @green-anger

thanks a lot, i copied these five files to that directory, happy to find them works well, and do not need to download them again.
(i also tried to put these files to the path of lllyasviel/Annotators and yzd-v/DWPose, but it did not worked, maybe due to the version difference. )

Still wish there was a version that could use local models.
I created a new folder like I said above and copied the 2 models from DWpose over, but it still connects to Hugface.
It's definitely not going to download every time, but it must be trying to access Hugface, doing version comparisons and whatnot. It takes many seconds before it starts processing, as it does very quickly when I have vpn on.
Translated with www.DeepL.com/Translator

@youcanyoubing @donglsci @suede299 Based on the information I have collected, there are currently more than 20 countries that are unable to connect directly or at low speeds (<10kb). So for people in these countries, connecting to huggingface to download several gigabytes of files is 100% error reporting. Here is a local version that can be used。https://github.com/DorotaLuna/comfyui_controlnet_aux_stable

@Yorha4D I've changed all functions used hf_hub_download. It won't downlod  models again.  Besides, if the dir already existent while models not, it won't cause load error any more. You can use my repo with git clone -b download https://github.com/Layer-norm/comfyui_controlnet_aux.git
Here are the log and workflow.


Porting from 1.18.2 to 1.19.2

Porting commits from 1.18.2 that weren't already on this branch. This should be sufficient for the final release to 1.19.2.
Had to cherry-pick them across since pulling messed up the git history too badly.

These are all things that were developed, and then tested and ported multiple times so.... LGTM Ship It!


Allowing 101 listeners

The GAPIC client that handles all of Firestore's networking is limited to 100 connections. This PR lift this limit by replacing the static GAPIC client with a pool of clients. If more than 100 operations run concurrently, we create additional clients.

Mike, since you have more context on this client, do you mind taking a look at this as well?


Unable to Close if Dialog Longer Than Screen

If the number of spelling errors exceeds the length of the page, the dialog drops below the screen and you are unable to click the close button, which is at the bottom right hand corner. There is no option in the top nav to close the dialog and it does not respond to COMMAND+W on mac (close tab)

arg... same here

Thanks for reporting this!
I'm going to fix this for the next release.

@rodnem and @rajohnson424 could you please let me know what version of OSX you are using? I'm not able to recreate the issue of the "OK" button not showing up.
For now, you should be able to press "return" to clear the dialog.
THOUGH, I do see that there's an issue with text overflowing the dialog box. I'm working on a fix for this, but it wasn't as simple as I had thought.

I'm on os x 10.11.6 (can't update) with sketch 41.2

@rodnem and @rajohnson424
I added in a much more robust spell checker. It's a lot more like the system one (which, for some reason, I can't use for this). In any case, this bug should no longer be an issue.
Download version 0.9 and let me know what you think of it!


RATIS-884. Fix Failed UT: TestRaftLogMetrics.testRaftLogMetrics

What's the problem ?

What's the reason ?
As the images shows, flushCount.incrementAndGet() happens in the 1st statement: stateMachine.flushStateMachineData(lastWrittenIndex), ratisMetricRegistry.get(RAFT_LOG_FLUSH_TIME) increase after the 2nd statement: timerContext.stop(). If the test Assert.assertEquals(expectedFlush, tm.getCount()) happens between 1st and 2nd statement, then the expectedFlush will be tm.getCount() + 1, so the test fail.

How to fix ?
Retry check expectedFlush == tm.getCount()

@runzhiwang We don't see this failure in latest runs? Do you think this was fixed by RATIS-881?

@lokeshj1703  It can not be fixed by RATIS-881, it was caused by UT and Ratis Use different thread. And I test it again, it still happen.  To easy reproduce, you can add Thead.sleep(1000) to delay the timerContext.stop(), it will happen.

@runzhiwang  Thanks for the contribution! I have merged the PR to master branch.


python37Packages.gsd: 1.7.0 -> 1.8.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-gsd/versions.
meta.description for python37Packages.gsd is: '"General simulation data file format"'.
meta.homepage for python37Packages.gsd is: '"https://bitbucket.org/glotzer/gsd"

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.8.1 with grep in /nix/store/pqp9km28n4afjr7qwdnb949z4kkd7m1p-python3.7-gsd-1.8.1

directory tree listing: https://gist.github.com/cd27d343c5706340a0879e37c1661b89

du listing: https://gist.github.com/0d81c3d46c3b04b1eeb4636f8cc2cb2b

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python27Packages.gsd
python37Packages.gsd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pqp9km28n4afjr7qwdnb949z4kkd7m1p-python3.7-gsd-1.8.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.gsd https://github.com/r-ryantm/nixpkgs/archive/4e26bd34e59bf199f799038513b168c18febb6ec.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pqp9km28n4afjr7qwdnb949z4kkd7m1p-python3.7-gsd-1.8.1
ls -la /nix/store/pqp9km28n4afjr7qwdnb949z4kkd7m1p-python3.7-gsd-1.8.1/bin

cc @costrouc for testing.

This release no longer supports py2.7, should disable.

nix-review builds for py37 on macos 10.13 and non-nixos linux x86_64 though... still, tests disabled...

I'll do a PR to freeze this.
[2 built (1 failed), 0.0 MiB DL]
error: build of '/nix/store/zdfmrc4mmwlp0n7vbx2zzmhi13jqjr30-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/69783
1 package failed to build:
python27Packages.gsd

1 package were build:
python37Packages.gsd


yarn run v1.16.0 error<EMAIL_ADDRESS>The engine "node" is incompatible with this module

running yarn bootstrap gives  yarn run v1.16.0 error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">= 10.16". Got "10.15.3"
thnx

running yarn add<EMAIL_ADDRESS>then upgrading npm && node && yarn
have solved it
thnx


multicluster: Adding GetMulticlusterGatewaySubjectCommonName()

This PR creates GetMulticlusterGatewaySubjectCommonName() to centralize the creation of Common Names for certificates for Multicluster Gateways.
In this PR - adding GetKindFromProxyCertificate() to get the proxy kind from said certificate.

Codecov Report

Merging #3857 (042b397) into main (94394bd) will increase coverage by 0.20%.
The diff coverage is 50.00%.

:exclamation: Current head 042b397 differs from pull request most recent head d4a17ce. Consider uploading reports for the commit d4a17ce to get more accurate results

@@            Coverage Diff             @@
##             main    #3857      +/-   ##
==========================================
+ Coverage   67.38%   67.59%   +0.20%
==========================================
  Files         198      200       +2
  Lines       10978    11105     +127
==========================================
+ Hits         7398     7506     +108
- Misses       3531     3550      +19
  Partials       49       49

Flag
Coverage Δ

unittests
67.59% <50.00%> (+0.20%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/envoy/xdsutil.go
86.79% <0.00%> (-2.10%)
:arrow_down:

cmd/osm-controller/gateway.go
87.27% <100.00%> (ø)

pkg/multicluster/gateway.go
100.00% <100.00%> (ø)

pkg/envoy/sds/response.go
74.79% <0.00%> (-11.39%)
:arrow_down:

pkg/envoy/lds/http_connection.go
95.58% <0.00%> (-1.24%)
:arrow_down:

pkg/envoy/cds/response.go
79.16% <0.00%> (-0.84%)
:arrow_down:

cmd/osm-controller/osm-controller.go
13.58% <0.00%> (-0.09%)
:arrow_down:

pkg/envoy/ads/stream.go
3.91% <0.00%> (-0.03%)
:arrow_down:

pkg/metricsstore/metricsstore.go
100.00% <0.00%> (ø)

... and 6 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 94394bd...d4a17ce. Read the comment docs.


State and constness

Hi.
So this is a proposal. Every commit could be applied individually, if you don't agree with some of the changes. I would also split it up into several PRs if you want me to.
What it does:

Kill global state variables. We can pass around state in a struct app_state and simply pass around the pointer to it. It could even be enhanced and allocated on the stack instead of the heap, if you want me to fix this, tell me.
Remove is_leap and replace it by a macro
Add a `#define' for the date format string
Add const whereever possible

PLEASE test this before merging. I did not test this, although I compiled it.

Thank you very much for this contribution!
I looked at all the commits indidually and it looks very clean to me!! Good job in splitting up the commits. I think I will merge this 'as is' after testing. But first I want to fix the "pointer passing bug" mentioned here. Please bare with me..
Thanks a lot

If you do wish, I would push another commit to this PR where I move the state struct into the stack, so we do not have to use malloc/free!

I am trying to merge now, but 70838ab leaves me with a blank/white terminal, where the cursor can be moved but the dates are not visible.
I will look into it..

Only 	70838ab and 	3b4f53a ('state' struct) are giving me trouble now.
The rest is merged and works fine, thank you.


It does not work on Android Tv

I tries on tv application and it does not work perfectly.

Hello
I think you should provide more details. maestro version ? the tests you performed ? what went wrong ?

@stevenosse sure. I cannot find any document where I can find commands to navigate the TV remote. It is all just tap and scroll movements no support for android tv remote.

Hey @dev-sharma-deltatre not sure what commands you are looking for exactly. But there are set of commands we support for android tv: https://maestro.mobile.dev/reference/keyboard#android-tv.

Closing this for now. Feel free to open issue for any feature you find missing.


Release 2.0.1

This is a patch release addressing a few bugs
https://github.com/nf-core/metaboigniter/issues/86
https://github.com/nf-core/metaboigniter/issues/83
https://github.com/nf-core/metaboigniter/issues/80
https://github.com/nf-core/metaboigniter/issues/78

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/metaboigniter branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

@maxulysse Thanks for the review. Any other comments?

@maxulysse Thanks for the review. Any other comments?

No, all good to me


Silencing numpy warnings

[x] Closes https://github.com/pydata/xarray/issues/3811
[x] Tests added
[x] Passes isort . && black . && mypy . && flake8
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst

Is this the right approach? Or should we be using np.errstate machinery?

I think this thread suggests to use warning: https://github.com/numpy/numpy/issues/10709

LGTM, but the linter-enforced else clause seems a bit strange to me

Yeah, I think it makes sense the context of the function alone — it doesn't know that the values are limited to the two parameterizations. Though this fix trades one error for another, in the end.


is the # symbol nesseary?

rhai's object define need a magic symbol '#'
it make some strange sense,
is there any possible to remove this # ?

Unfortunately it is required, otherwise it requires more than one look-ahead symbol to distinguish between a statement block and an object hash.  In fact, it would require two look-ahead symbols, or go through fire hoops to parse.
#{ prop : ...
^^ ^^^^
1   2

{ prop : ...
^ ^^^^
1  2

What don't you like about #{, since it is nice and unambiguous.  You can also search for all object literals by searching for this prefix.
One issue is you probably want to parse JSON into Rhai, in which case Rhai has you covered: https://rhai.rs/book/language/json.html

Is this issue resolved?


[Question] windows

Hello, Can i install this plugin in windows ?
thank you

turn out it can be installed in windows


#41629 Add net 6 and use conditional packages in Azure.Identity

This merge adds net 6 as a TFM for Azure.Identity so that conditional packages can be added. By having net 6 as a TFM the below packages are not needed for net 6 due to being part of the framework.

System.Memory
System.Text.Json
System.Threading.Tasks.Extensions

@microsoft-github-policy-service agree

Hi @thompson-tomo.  Thank you for your contribution and interest in improving the Azure developer experience.   Unfortunately, this is not a change that we're ready to accept, pending discussion in #41628.  If we decide to move forward with conditional references, we will most likely do so centrally so that it can be maintained in a single place and apply to all Azure SDK packages with the known-safe targets.
I'm going to close this out.   Thank you, again, for your contribution.


[sl] light_HassLight* sentences, tests, common and responses

Added Slovenian sentences for:

light_HassLightOn.yaml,
light_HassLightOff.yaml
light_HassLightSet.yaml,
common.yaml
fixtures.yaml
tests files,
responses.

Fixed common.yaml which was already there but didn't commit from br_br_fan branch.
Now it's in my main branch.
Sorry for the mess, this is my first github commit :)


 Could you give me more details? Maybe something changed (which consequently solved the problem, whatever it was)

Mine was:
-- The C compiler identification is AppleClang <IP_ADDRESS>00029
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Code formatting is not enabled.
-- You want to compute coverage. We assume that you have installed gcovr.
-- Performing Test HAVE_fprofile_abs_path
-- Performing Test HAVE_fprofile_abs_path - Failed
-- Appending code coverage compiler flags: -g --coverage
-- Compiler ID : AppleClang
-- CMAKE_BUILD_TYPE : Debug
-- Assuming GCC-like compiler.
-- Importing simdjson (simdjson/simdjson@0a3a00c95665cc1fda760e121ba8d442945ede13)
-- Looking for fork
-- Looking for fork - found
-- Looking for wait
-- Looking for wait - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- The tests are enabled.
-- Configuring done
-- Generating done

I think you are missing LIBC_PTHREADs (you comment has "Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed")

Also:
man gvov

Says:

   -num-threads=N, -j=N

          Use N threads to write file reports (only applicable when -output-dir is specified). When N=0, llvm-cov auto-detects
          an appropriate number of threads to use. This is the default.

So at the end I think pthreads is something that gvov really needs.


docs: Sync docs and dedupe

Fixes #3510
Description
Use concise commands across docs. Also dedupe duplicated commands and only use it once.
How was this change tested?
n/a
Does this change impact docs?

[x] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

Release Note

NONE

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

Seems test are failing now @jonathan-innis, would there be anything you need to change after folder rename?

Seems test are failing now

I fixed the failures in a separate commit


[PROTOTYPING] - High-Pressure Aeroponics

Prototype the first iteration of a high-pressure aeroponic system.
Deliverables
List the relevant deliverables (in order of precedence):

[ ] Water source, pump
[ ] Tank, tubing, etc.
[ ] Pressure sensor + pump control loop
[ ] Nozzles + solenoid valves

Validation
All parts must withstand the pressure (~80PSI) and throughput requirements to meet the water delivery constraints. There should be no water leaks. All parts should be of appropriate size (i.e. can be mounted to the frame)
Verification
List any applicable metrics with criteria/constraints:

Mean droplet size (between 40 and 80 microns)
Max water delivery rate (maximize)

Be sure to include all the relevant documentation (BoM, schematics, diagrams, assembly notes, etc.) in the PR.

(Potentially) useful resources:

Aeroponic Spray Nozzles to Use/Buy
High Pressure Aeroponics System Components Explained

Potential pump options:
Option 1: Onsen 1L tank + External Pump
Onsen 1L tank is rated for 125 psi. Onsen also makes a pump but only rated for 55 psi.
https://onsenproducts.ca/products/onsen-1-0l-accumulator-tank
Keeno pump is from Amazon. Is rated for 116 psi - 5L/min. Other similar pumps available.
link
Similar pump from SailFlo.
link
Option 2: All in one bladder tank + pump.
These types of pumps are on Amazon and contain a built-in 0.75L bladder.
link or link

Good resource/overview on HPA: https://www.aeroponicgrowers.com/high-pressure

Frame/housing problem: how do we a) mount the nozzle hardware under the grow tray, and b) contain the spray?
Potential solutions in existing NASA space aeroponics work?

Potential solution:
Make a bag with ripstop (a zero porosity nylon fabric). Ripstop is used to make everything from raincoats to camping gear and parasailing canopies. It's also cheap.
A square bag could be made to fit underneath the frame and it can be held in place by securing it to the sides of the aluminum extrusion. This would encapsulate the nozzle/mist and have the added benefit of also being flexible (in reference to the accordion idea).

Top Options:
pump
bladder tank
Nozzle:
potential option
Nozzles with orifices of ~0.6mm at 80 psi should produce a mist of 5-50 microns. Most cheap nozzles on Amazon have 0.4mm orifices.

Just realized this issue should cover testing as well.

Bought fittings today. Will open a new PR to a) update BoM and b) test.

@nchareunsouk is gathering a list of nozzle alternatives.

Ordered new nozzles, fittings from McMaster Carr

@nchareunsouk Can you find the source where it mentioned the .6mm nozzle opening? Preferrably the NASA document

Re-opened for remaining tasks


Log events stream when TestEventStreaming fails.

Let's see if we can catch there two errors that cripple the windows builds every now and then:
----------------------------------------------------------------------
FAIL: docker_cli_events_test.go:216: DockerSuite.TestEventsImageImport

docker_cli_events_test.go:253:
    c.Fatal("failed to observe image import in timely fashion")
... Error: failed to observe image import in timely fashion

----------------------------------------------------------------------
FAIL: docker_cli_build_test.go:6423: DockerSuite.TestBuildTagEvent

docker_cli_build_test.go:6453:
    c.Fatal("The 'tag' event not heard from the server")
... Error: The 'tag' event not heard from the server

Signed-off-by: David Calavera<EMAIL_ADDRESS>

Can we get this merged? It will help us diagnose those failures better in the future if the happen again.

LGTM

+1

LGTM

https://jenkins.dockerproject.org/job/Windows-PRs/18621/console fails in TestEventsImageImport and TestEventsStreaming with additional errors. Looking at TestEventsStreaming logs, the logged containerID is from the previous resize test, TestEventsResize. We should add asserts for container create as well as log the "since" timestamp in TestEventsStreaming.
FAIL: docker_cli_events_test.go:422: DockerSuite.TestEventsStreaming
docker_cli_events_test.go:470:
c.Fatal("failed to observe container create in timely fashion", "\n", buffer.String())
... Error: failed to observe container create in timely fashion
2015-12-13T16:03:03.204376500Z 3f402b43081d6075dc06c549e3cb3211ca49544bf7526046d972acaa72ebe06d: (from busybox) resize
2015-12-13T16:03:03.266769900Z 3f402b43081d6075dc06c549e3cb3211ca49544bf7526046d972acaa72ebe06d: (from busybox) kill
2015-12-13T16:03:03.335462100Z 3f402b43081d6075dc06c549e3cb3211ca49544bf7526046d972acaa72ebe06d: (from busybox) die
2015-12-13T16:03:03.460009400Z 3f402b43081d6075dc06c549e3cb3211ca49544bf7526046d972acaa72ebe06d: (from busybox) stop
2015-12-13T16:03:03.715760000Z 3f402b43081d6075dc06c549e3cb3211ca49544bf7526046d972acaa72ebe06d: (from busybox) destroy

Just had this failing again in https://jenkins.dockerproject.org/job/Windows-PRs/19042/console
I don't see additional output though
PASS: docker_cli_build_test.go:4999: DockerSuite.TestBuildSymlinkBreakout	0.837s

----------------------------------------------------------------------
FAIL: docker_cli_build_test.go:6423: DockerSuite.TestBuildTagEvent

docker_cli_build_test.go:6453:
    c.Fatal("The 'tag' event not heard from the server")
... Error: The 'tag' event not heard from the server

----------------------------------------------------------------------
PASS: docker_cli_build_test.go:2121: DockerSuite.TestBuildUser	2.118s

Oh here's output of the other test:
PASS: docker_cli_events_test.go:544: DockerSuite.TestEventsResize	0.966s

----------------------------------------------------------------------
FAIL: docker_cli_events_test.go:422: DockerSuite.TestEventsStreaming

docker_cli_events_test.go:470:
    c.Fatal("failed to observe container create in timely fashion", "\n", buffer.String())
... Error: failed to observe container create in timely fashion
2015-12-21T11:28:17.072849000Z 37a687af8d9fb043d40732bde38eee120c9733ea978e3a26fcf9ad7d1ee8ab7f: (from busybox) stop
2015-12-21T11:28:17.290061500Z 37a687af8d9fb043d40732bde38eee120c9733ea978e3a26fcf9ad7d1ee8ab7f: (from busybox) destroy


Great script!

I love this script, it's pretty neat!
is there a way to run automatically in cron.daily?
#!/bin/sh
/usr/sbin/vzstat >> vzstat.txt
this script works but not in crontab even tho +x given.

Did you run it from the root crontab?


Fix assisted decoding generation error

What does this PR do?
This PR is to fix the unused model_kwargs in _validate_model_kwargs.
The rootcause is the gaudi version of _get_candidate_generator is not used,
the extra kwargs are not removed when the validate function is called by 2nd
model generation.

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Bug with skin tone emojis when using prevGraphemeClusterBreak package

There's an issue with prevGraphemeClusterBreak package, if I compare the results with nextGraphemeClusterBreak for a single skin tone emoji it doesn't return the same values,
prevGraphemeClusterBreak( '👉🏿' ) // returns 1
nextGraphemeClusterBreak( '👉🏿' ) // returns -1

Originally posted by @steff456 in https://github.com/stdlib-js/stdlib/pull/1079#discussion_r1306328286

Can you please assign this issue to me?

Thank you for volunteering to work on this, @Shashankss1205. Please feel free to submit a PR addressing this bug.


Update syno-plex-update.sh

Retrieve the "Server Update Channel" from the preference file and decide which version to download.

Just in case if you're wondering how it looks like in Plex UI setting.

The Server update Channel option doesn't do anything special except being used when checking for available update by the server.


Oauth2 with Reddit

I had to added the following after line 163 in oauth2.js (method getOAuthAccessToken) to get Reddit to work:
   'Authorization' : 'Basic ' + new Buffer(this._clientId + ':' + this._clientSecret).toString('base64') ,

This header addition did not seem to break Instagram or Google Oauth2.

As per the RFC, Basic Auth is the recommended way. Is there any way of passing in an option to switch between Basic Auth and body passed params?

Hit this same problem myself.

My workaround is to pass custom headers as the last parameter to the OAuth2 constructor:
new OAuth2(..,..,. ...  { 'Authorization': 'Basic ZlZfTkdsY3NNNV' });

You can override the prototype – a lot of Passport strategies are currently doing so and so is
Reddit :
https://github.com/Slotos/passport-reddit/blob/master/lib/passport-reddit/strategy.js
--> see the comment
// Reddit token endpoint expects basic auth header "with the consumer key as the username
// and the consumer secret as the password". To comply we are resorting to overriding
// node-oauth's implmentation of getOAuthAccessToken().

Thats great sebilasse, is there any typescript implementation?

You can override the prototype – a lot of Passport strategies are currently doing so and so is Reddit : https://github.com/Slotos/passport-reddit/blob/master/lib/passport-reddit/strategy.js --> see the comment
// Reddit token endpoint expects basic auth header "with the consumer key as the username
// and the consumer secret as the password". To comply we are resorting to overriding
// node-oauth's implmentation of getOAuthAccessToken().

Thats great sebilasse, is there any typescript implementation?


[IDEA] Include image or screenshot as output

Hey there, one thing that I think could be improved is:
My idea is give in output include image or screenshot which is given as input in document.

Can you elaborate how you would have this appear and what the utility could be? Currently we show the resulting text chunks that we used to form the answer that was given by the system. You would want this answer to be an image and/or downloadable? Or something else?

When providing an answer, alongside the text response, there could be an additional option displayed, such as "Generate Document" or "Take Screenshot."
Clicking on this option would trigger the system to generate a document or capture a screenshot based on the provided answer.
This screeshot is provide by user in there documents.

It would be interesting to have as an output a pie chart or other charts when asking question on csv data uploaded. This is what lacks on many chatbot and this can make the difference with other products.

Yes, we are also very much looking forward to such features, such as being able to output formulas from documents in their original document format.

Can you elaborate how you would have this appear and what the utility could be? Currently we show the resulting text chunks that we used to form the answer that was given by the system. You would want this answer to be an image and/or downloadable? Or something else?

In fact, many knowledge base documents nowadays contain images, and displaying these images in their original context can greatly enhance the presentation. We hope to support such a requirement, thank you.


Add Starbucks clone

Project title
Starbucks clone
I am a gssoc contributer and would like to add everyone's favourite starbucks clone in your project. I hv earlier done such clone and hv good frontend skills so I hope you assign this to me.
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] JavaScript

/assign


md desc does not work

In the forkable demo, the calories column has md-desc directive yet the data does not come in descending order.  Am i missing something here?

The codepen demo starts out with:
$scope.query = {
    order: 'name',
    limit: 5,
    page: 1
  };

and
 md-order="query.order"

in the thead tag. Meaning that the order of the table is enforced to be by name. The md-desc directive does however seem to change the default direction of the given column. Where clicking the calories column the first time will give you that descending order while the default seems instead for the others to be the ascending order. Can also be seen by the different directions the arrows are pointing at the start.

Thank you Koslun!!


Request: Support for new Catsystem script format (.CSTL)

Hello, can you add support for .cstl files from catsystem engine please? This kind of script format is used in newest games like Shin koihime musou kakumei, cyanotype daydream (english release) and other ones. Here's a tool that can manage this kind of script, just for reference:  https://github.com/marcussacana/CatSceneEditor
and here's some scripts for test.
scripts_cstl.zip

Can you also implement .qdb along with it too? It contains text such like this

My friend said it uses utf-8 and he gave some info about it

qdb.zip

`import zlib
with open('tips_en.qdb', 'rb') as fs:
stm = fs.read()
with open('tips_en_decompressed.qdb', 'wb') as fs:
fs.write(zlib.decompress(stm[12:]))`
This code should help decompress the qdb file


Huggingface Chat error for Phi3 ONNX

Is the chat template working for Phi3 model at HF. I see the tokenizer config not found message.
https://huggingface.co/microsoft/Phi-3-mini-128k-instruct-onnx

It should only work for transformer python model.


Cache credential image URLs

When adding a credential, if an image is referred to by URL, cache the image. Every time the credential is viewed, if there is an active connection then fetch a new copy otherwise if the connection is not active or the image is not available then show the cached image.

Images that should be cached include the credential image (badge image), issuer image.


chore: Refactor fragment_image_viewer to use ConstraintLayout

What does this PR do?

Changed the layout to ConstraintLayout

** Concerns**

UI remains the same after changes

Thanks @gconnect


Fix XSD regex for FQCN

Extracted from #7324

Also applicable to master as is.

@lcobucci see referenced PR. Point is to merge tests separately so let's not hold this up

@ostrolucky we don't have to hurry things too, let's think things properly and get this merged.


run acceptance tests with EOS

[ ] API
[ ] UI

how to run see: https://owncloud.github.io/ocis/eos/#how-to-do-it

I cannot make it work same issue as #257

maybe can be unblocked by https://github.com/owncloud/product/issues/34

I managed to use an external LDAP server and fire it up with EOS & OCIS. see: https://github.com/owncloud-docker/compose-playground/pull/28
Next issue is the skeleton folder, currently using local storage it just copies the skeletonfolder into the destination, we need an other approach for EOS

one more issue is the DAV name-space:
/webdav works as expected
/dav/files has an extra folder layer that is the first letter of the name of the user E.g. the content of Alice is inside /remote.php/dav/files/A/Alice/

one more issue is the DAV name-space:
/webdav works as expected
/dav/files has an extra folder layer that is the first letter of the name of the user E.g. the content of Alice is inside /remote.php/dav/files/A/Alice/

fixing the name-space worked by setting REVA_STORAGE_EOS_LAYOUT: "{{.Username}}"

Still I cannot upload:
curl -k -u user0:123456 -X PUT https://localhost:9200/remote.php/dav/files/user0/newfile.txt -d "123"  -v
results in and error 500
logs:
ocis          | 2020-06-09T04:42:04Z DBG eos: wrap external=/user0/newfile.txt internal=/eos/dockertest/reva/users/user0/newfile.txt pkg=rgrpc service=reva traceid=70a2295a1ef12aa137196ccc025821a1
ocis          | nslcd: [90cde7] DEBUG: connection from pid=15 uid=0 gid=0
ocis          | nslcd: [90cde7] <passwd="user0"> DEBUG: myldap_search(base="dc=owncloud,dc=com", filter="(&(objectClass=posixAccount)(uid=user0))")
ocis          | nslcd: [90cde7] <passwd="user0"> DEBUG: ldap_result(): uid=user0,ou=TestUsers,dc=owncloud,dc=com
ocis          | nslcd: [90cde7] <passwd="user0"> DEBUG: ldap_result(): end of results (1 total)
ocis          | 2020-06-09T04:42:04Z INF eos cmd args="[/usr/bin/eos -r 30000 5000 file info /eos/dockertest/reva/users/user0/newfile.txt -m --comment 70a2295a1ef12aa137196ccc025821a1]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err="error: cannot stat '/eos/dockertest/reva/users/user0/newfile.txt'\n (errc=2) (No such file or directory)\n" exit=2 pkg=rgrpc service=reva traceid=70a2295a1ef12aa137196ccc025821a1
ocis          | 2020-06-09T04:42:04Z WRN root/go/pkg/mod/github.com/cs3org/reva@v0.1.1-0.20200529120551-4f2d9c85d3c9/internal/grpc/services/storageprovider/storageprovider.go:457 > file not found pkg=rgrpc service=reva traceid=70a2295a1ef12aa137196ccc025821a1
ocis          | 2020-06-09T04:42:04Z INF unary code=OK end="09/Jun/2020:04:42:04 +0000" from=tcp://<IP_ADDRESS>:48994 pkg=rgrpc service=reva start="09/Jun/2020:04:42:04 +0000" time_ns=22309165 traceid=70a2295a1ef12aa137196ccc025821a1 uri=/cs3.storage.provider.v1beta1.ProviderAPI/Stat user-agent=grpc-go/1.26.0
ocis          | 2020-06-09T04:42:04Z INF unary code=OK end="09/Jun/2020:04:42:04 +0000" from=tcp://<IP_ADDRESS>:42828 pkg=rgrpc service=reva start="09/Jun/2020:04:42:04 +0000" time_ns=24024653 traceid=70a2295a1ef12aa137196ccc025821a1 uri=/cs3.gateway.v1beta1.GatewayAPI/Stat user-agent=grpc-go/1.26.0
ocis          | 2020-06-09T04:42:04Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/InitiateFileUpload pkg=rgrpc service=reva traceid=70a2295a1ef12aa137196ccc025821a1
ocis          | 2020-06-09T04:42:04Z INF unary code=OK end="09/Jun/2020:04:42:04 +0000" from=tcp://<IP_ADDRESS>:42836 pkg=rgrpc service=reva start="09/Jun/2020:04:42:04 +0000" time_ns=103821 traceid=70a2295a1ef12aa137196ccc025821a1 uri=/cs3.storage.registry.v1beta1.RegistryAPI/GetStorageProvider user-agent=grpc-go/1.26.0
ocis          | 2020-06-09T04:42:04Z DBG eos: wrap external=/user0/newfile.txt internal=/eos/dockertest/reva/users/user0/newfile.txt pkg=rgrpc service=reva traceid=70a2295a1ef12aa137196ccc025821a1
ocis          | 2020-06-09T04:42:04Z DBG eos: NewUpload info={"ID":"","IsFinal":false,"IsPartial":false,"MetaData":{"dir":"/eos/dockertest/reva/users/user0","filename":"newfile.txt"},"Offset":0,"PartialUploads":null,"Size":3,"SizeIsDeferred":false,"Storage":null} pkg=rgrpc service=reva traceid=70a2295a1ef12aa137196ccc025821a1
ocis          | 2020-06-09T04:42:04Z DBG eos: resolved filename info={"ID":"","IsFinal":false,"IsPartial":false,"MetaData":{"dir":"/eos/dockertest/reva/users/user0","filename":"newfile.txt"},"Offset":0,"PartialUploads":null,"Size":3,"SizeIsDeferred":false,"Storage":null} pkg=rgrpc service=reva traceid=70a2295a1ef12aa137196ccc025821a1
ocis          | 2020-06-09T04:42:04Z INF file upload data-server=http://localhost:9160/data/de7bb989-e845-4f36-ad0e-75b12add5b94 fn=/eos/user0/newfile.txt pkg=rgrpc service=reva traceid=70a2295a1ef12aa137196ccc025821a1 xs="map[md5:100 unset:1000]"
ocis          | 2020-06-09T04:42:04Z INF unary code=OK end="09/Jun/2020:04:42:04 +0000" from=tcp://<IP_ADDRESS>:48994 pkg=rgrpc service=reva start="09/Jun/2020:04:42:04 +0000" time_ns=517825 traceid=70a2295a1ef12aa137196ccc025821a1 uri=/cs3.storage.provider.v1beta1.ProviderAPI/InitiateFileUpload user-agent=grpc-go/1.26.0
ocis          | 2020-06-09T04:42:04Z INF upload is routed directly to data server - skiping datagateway pkg=rgrpc service=reva traceid=70a2295a1ef12aa137196ccc025821a1
ocis          | 2020-06-09T04:42:04Z INF unary code=OK end="09/Jun/2020:04:42:04 +0000" from=tcp://<IP_ADDRESS>:42828 pkg=rgrpc service=reva start="09/Jun/2020:04:42:04 +0000" time_ns=1575374 traceid=70a2295a1ef12aa137196ccc025821a1 uri=/cs3.gateway.v1beta1.GatewayAPI/InitiateFileUpload user-agent=grpc-go/1.26.0
ocis          | 2020-06-09T04:42:04Z DBG adding token to header header=x-access-token pkg=rhttp service=reva token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJyZXZhIiwiZXhwIjoxNTkxNjgxMzI0LCJpYXQiOjE1OTE2Nzc3MjQsImlzcyI6Imh0dHBzOi8vbG9jYWxob3N0OjkyMDAiLCJ1c2VyIjp7ImlkIjp7ImlkcCI6Imh0dHBzOi8vbG9jYWxob3N0OjkyMDAiLCJvcGFxdWVfaWQiOiJ1c2VyMCJ9LCJ1c2VybmFtZSI6InVzZXIwIiwibWFpbCI6InVzZXIwQGV4YW1wbGUub3JnIn19.cAW_Is_nNWt3miSuoGzR5CoIE7RggaBGokgJmcbfxQU traceid=70a2295a1ef12aa137196ccc025821a1
ocis          | 2020-06-09T04:42:04Z INF access token is already provided pkg=rhttp service=reva traceid=782ce4ece8b49b84ca985ce9532812af
ocis          | 2020-06-09T04:42:04Z DBG http routing: head=data tail=/de7bb989-e845-4f36-ad0e-75b12add5b94 svc=data pkg=rhttp service=reva
ocis          | [tusd] 2020/06/09 04:42:04 event="RequestIncoming" method="PATCH" path="/de7bb989-e845-4f36-ad0e-75b12add5b94" requestId=""
ocis          | 2020-06-09T04:42:04Z INF tusd routing: path=/de7bb989-e845-4f36-ad0e-75b12add5b94 pkg=rhttp service=reva traceid=782ce4ece8b49b84ca985ce9532812af
ocis          | [tusd] 2020/06/09 04:42:04 event="ChunkWriteStart" id="de7bb989-e845-4f36-ad0e-75b12add5b94" maxSize="3" offset="0"
ocis          | [tusd] 2020/06/09 04:42:04 event="ChunkWriteComplete" id="de7bb989-e845-4f36-ad0e-75b12add5b94" bytesWritten="3"
ocis          | nslcd: DEBUG: accept() failed (ignored): Resource temporarily unavailable
ocis          | nslcd: [ef438d] DEBUG: connection from pid=16 uid=0 gid=0
ocis          | nslcd: [ef438d] <passwd="user0"> DEBUG: myldap_search(base="dc=owncloud,dc=com", filter="(&(objectClass=posixAccount)(uid=user0))")
ocis          | nslcd: [ef438d] <passwd="user0"> DEBUG: ldap_result(): uid=user0,ou=TestUsers,dc=owncloud,dc=com
ocis          | nslcd: [ef438d] <passwd="user0"> DEBUG: ldap_result(): end of results (1 total)
ocis          | [tusd] 2020/06/09 04:42:04 event="ResponseOutgoing" status="500" method="PATCH" path="/de7bb989-e845-4f36-ad0e-75b12add5b94" error="eosclient: error while executing command: exit status 54" requestId=""
ocis          | 2020-06-09T04:42:04Z ERR http end="09/Jun/2020:04:42:04 +0000" host=<IP_ADDRESS> method=PATCH pkg=rhttp proto=HTTP/1.1 service=reva size=57 start="09/Jun/2020:04:42:04 +0000" status=500 time_ns=18832094 traceid=782ce4ece8b49b84ca985ce9532812af uri=/data/de7bb989-e845-4f36-ad0e-75b12add5b94 url=/data/de7bb989-e845-4f36-ad0e-75b12add5b94
ocis          | 2020-06-09T04:42:04Z ERR Could not start TUS upload error="unexpected status code: 500" pkg=rhttp service=reva traceid=70a2295a1ef12aa137196ccc025821a1
ocis          | 2020-06-09T04:42:04Z ERR http end="09/Jun/2020:04:42:04 +0000" host=<IP_ADDRESS> method=PUT pkg=rhttp proto=HTTP/1.1 service=reva size=0 start="09/Jun/2020:04:42:04 +0000" status=500 time_ns=109875011 traceid=70a2295a1ef12aa137196ccc025821a1 uri=/remote.php/dav/files/user0/newfile.txt url=/remote.php/dav/files/user0/newfile.txt
ocis          | 2020-06-09T04:42:25Z DBG Refreshing external service-registration service={"endpoints":[],"metadata":null,"name":"com.owncloud.reva","nodes":[{"address":"<IP_ADDRESS>:9142","id":"com.owncloud.reva-aaf759f1-8666-4084-a241-aca117f91dca","metadata":{"broker":"http","protocol":"grpc","registry":"mdns","server":"grpc","transport":"grpc"}}],"version":""}

an other issue is the cleanup of files after deleting the user
@butonic any idea how we could get rid of all user files/folders when deleting the user?

to manipulate the tree in eos we need the eos binary. it does support eos rm -rf.
AFAIK @felixboehm and @jnweiger are planning to build a docker container that can be used to get the binary in any os.
for file up or download xrdcopy is needed, AFAICT it should be possible to wrap it in a docker contdainer like eos
for direct http upload eos needs to be configured: http://eos-docs.web.cern.ch/eos-docs/configuration/http_tpc.html#http-s-support-and-http-tpc-with-token-authentication
maybe the aarnet docker containers already do that. IIRC at one point there was http appearing in the output of eos vid ls.

deleting works fine with a command, upload could be solved by WebDav upload, see: https://github.com/owncloud/core/issues/37525

a lot of tests have been adjusted in https://github.com/owncloud/core/pull/37575
API tests can be run with https://github.com/owncloud-docker/compose-playground/tree/master/examples/eos-compose-acceptance-tests

[ ]  implement in CI

The Ocis docker image fails with error
ocis          | make: Nothing to be done for `build'.
ocis          | bin/ocis: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/ocis)

@dpakach try running make clean beforo starting the container, otherwise it will pick up the binary you complied, which might nor work inside the container.


feature(react-ui-editor): Move comments when cut and pasted

Issue https://github.com/dxos/dxos/issues/5040
This implements the feature where cutting and pasting comments will move them in the text. Requires consumers to provide an onMove callback Wires up the comments story to use this, but does not do this for the threads plugin yet.

We use https://github.com/marketplace/actions/semantic-pull-request for the PR titles.
I'll change to feat.