text:
Recomendação em Controladores

No documento UsuarioController.java:

[x] Adcionar método getAll
[x] Adcionar método getById
[x] Adcionar método putUsuario
[x] Colocar notação @Valid nos métodos ja criados autentication e post

exemplo:
@GetMapping("/all")
public ResponseEntity <List<Usuario>> getAll() {
        return ResponseEntity.ok(repository.findAll());
}

@GetMapping("/{id}")
public ResponseEntity<Usuario> getById(@PathVariable long id) {
        return repository.findById(id)
	        .map(resp -> ResponseEntity.ok(resp))
	        .orElse(ResponseEntity.notFound().build());
}

@PutMapping("/atualizar")
public ResponseEntity<Usuario> putUsuario(@Valid @RequestBody Usuario usuario){
        return service.atualizarUsuario(usuario)
                .map(resp -> ResponseEntity.status(HttpStatus.OK).body(resp))
                .orElse(ResponseEntity.status(HttpStatus.BAD_REQUEST).build());
}

@PostMapping("/logar")
public ResponseEntity<UserLogin> autentication(@Valid @RequestBody Optional <UserLogin> user){
        return usuarioService.Logar(user).map(resp -> ResponseEntity.ok(resp))
		        .orElse(ResponseEntity.status(HttpStatus.UNAUTHORIZED).build());
}

@PostMapping("/cadastrar")
public ResponseEntity<Usuario> post(@Valid @RequestBody Usuario usuario){
        return ResponseEntity.status(HttpStatus.CREATED)
		        .body(usuarioService.CadastrarUsuario(usuario));
}

No documento TemaController.java:

[x] Colocar notação @Valid nos métodos ja criados post e put
[x] Adcionar retorno Bad Request no metodo put
[x] Recomento efetuar tratativa diferente no Delete

exemplo:
@PostMapping
public ResponseEntity<Tema> post(@Valid @RequestBody Tema tema){
        return ResponseEntity.status(HttpStatus.CREATED)
		        .body(repository.save(tema));
}

@PutMapping
public ResponseEntity<Tema> put(@Valid @RequestBody Tema tema){
        return repository.findById(tema.getId())
		        .map(resp -> ResponseEntity.status(HttpStatus.CREATED).body(repository.save(tema)))
		        .orElse(ResponseEntity.status(HttpStatus.BAD_REQUEST).build());
}

@ResponseStatus(HttpStatus.NO_CONTENT)
@DeleteMapping("/{id}")
public void delete(@PathVariable long id) {
        Optional<Tema> tema = repository.findById(id);
        if(tema.isEmpty())
	        throw new ResponseStatusException(HttpStatus.BAD_REQUEST);
        repository.deleteById(id);
}

No documento PostagemController.java:

[x] Colocar notação @Valid nos métodos ja criados post e put
[x] Adcionar retorno Bad Request no metodo put
[x] Recomento efetuar tratativa diferente no Delete
[x] Arrumar notação CrossOrigin encima da classe

exemplo:
@PostMapping
public ResponseEntity<Postagem> post(@Valid @RequestBody Postagem postagem){
        return ResponseEntity.status(HttpStatus.CREATED)
		        .body(repository.save(postagem));
}

@PutMapping
public ResponseEntity<Postagem> put(@Valid @RequestBody Postagem postagem){
        return repository.findById(postagem.getId())
		        .map(resp -> ResponseEntity.status(HttpStatus.OK).body(repository.save(postagem)))
		        .orElse(ResponseEntity.status(HttpStatus.BAD_REQUEST).build());
}

@ResponseStatus(HttpStatus.NO_CONTENT)
@DeleteMapping("/{id}")
public void delete(@PathVariable long id) {
        Optional<Postagem> post = repository.findById(id);
        if(post.isEmpty())
	        throw new ResponseStatusException(HttpStatus.BAD_REQUEST);
        repository.deleteById(id);
}

@CrossOrigin(value = "*", allowedHeaders = "*")

alterado

authors: GustavoBoaz barbarafigueiroa


text:
Multiple improvements to the Message Buttons.

Make the buttons disappear after time ends.
Change the buttons to have consistent labels across all devices.
Fix the buttons erroring out if you try to go back one page on page 1 or go forward one page on the last page of a given embed.

Added in Release 1.1.1.

source: gharchive/issue

repo: barelyaiden/srh-helper

license: MIT

license_type: permissive

license_source: github-api


text:
Feature Request: Recharge Status (Scheduled vs Recharging)

Would it be possible to add an additional sensor to see if the unit is currently recharging?

This has been added in v4.0.0 🎉

authors: BillyFKidney barleybobs


text:
SproutFormsGoogleRecaptchaCheckbox is not defined

Description (screenshots, logs, ...)
We're using Sentry for bug tracking, and its picking up a huge amount of errors:
ReferenceError: SproutFormsGoogleRecaptchaCheckbox is not defined
  at sproutFormsRecaptchaOnloadCallback (/page-name:2198:5)
  at GO (/recaptcha/releases/qpy2aGtSgsYPZzCoYWjcaBCo/recaptcha__en.js:510:339)
  at None (/recaptcha/releases/qpy2aGtSgsYPZzCoYWjcaBCo/recaptcha__en.js:520:57)
  at KD (/recaptcha/releases/qpy2aGtSgsYPZzCoYWjcaBCo/recaptcha__en.js:301:122)
  at wM (/recaptcha/releases/qpy2aGtSgsYPZzCoYWjcaBCo/recaptcha__en.js:520:36)
...
(2 additional frame(s) were not displayed)

Loading the page manually many times, doesn't throw the error, so it seems to be pretty sporadic. But, looking at the source code of the page, I'd say its a script loading order issue.
Note the order of scripts being loaded:
<script src="/cpresources/29081b2d/recaptcha_v2_checkbox.js?v=1584504470" async="" defer=""></script>
<script src="https://www.google.com/recaptcha/api.js?onload=sproutFormsRecaptchaOnloadCallback&render=explicit&hl=en" async="" defer=""></script>
<script>if (typeof sproutFormsRecaptchaOnloadCallback === 'undefined') {
    var sproutFormsRecaptchaOnloadCallback = function() {
    new SproutFormsGoogleRecaptchaCheckbox({
    siteKey: 'xxxxxxxxx',
    theme: 'light',
    size: 'normal',
    customValidityText: "Please fill out this field.",
    grecaptcha: grecaptcha
    });
    };
    };
</script>

I would say the inline script content needs to be added first, before the onload callback for the recaptcha code. In some cases, it looks like the Google API script is being loaded faster than the inline script (I suppose possibly cached).
Using the latest versions of everything.

Thanks @engram-design. I'm currently reworking the submit logic around the Javascript. There are a few scenarios that we can improve right now. I'll consider this as I sort things out and update here once I do.

@engram-design The latest release 1.2.0 attempts to address this issue. Let me know if you still see any errors.

authors: BenParizek engram-design


text:
Update README.md

This solves issue #1

Thanks Rosana.

Thank you for fixing this and also for the hangout videos 😄

source: gharchive/pull-request

authors: BenParizek RosanaRuFer

repo: barrelstrength/sprout-notes


text:
ide-helper:generate not working in composer post-update-cmd

"post-update-cmd": [
      "php artisan clear-compiled",
      "php artisan ide-helper:generate",
      "php artisan optimize"
    ],

I use this to generate ide-helper file, bug the generated file missing some methd, such as "Cache::put"
but when I use "artisan ide-helper:generate" in Terminal, it's OK. Why is that?
thanks

Same to me - after creating my custom command which run all the ide-helper commands
    public function handle()
    {
        $this->call('ide-helper:generate');
        $this->call('ide-helper:meta');
        $this->call('ide-helper:models', ['--nowrite' => 'yes']);
    }

BUT... when I commit any line (or more :P) than this is working... .

Seems there are different issues mixed here:

working, but not generating everything
not working when used within another command (though unclear what "commit any line") means

@refear99 @BlueManLine is this still an issue, can you try with latest laravel/ide-helper?

@mfn cant confirm right now, but a years ago I found a solution. You have to switch order of the commands and everything is working fine.
    public function fire()
    {
        $this->call('ide-helper:generate');
        $this->call('ide-helper:models', ['--nowrite' => 'No']);
        $this->call('ide-helper:meta');
    }

@bluemanos thanks for getting back!
Also apologies from my side, I really didn't realize what the reason for the code in https://github.com/barryvdh/laravel-ide-helper/issues/216#issuecomment-117087352 was fore but re-reading it and your recent comment it's clear now.
I tried both variants in the latest ide-helper, to the best I can see both work correctly already.
@barryvdh I don't think there's an open issue here, I vote for closing :}

authors: BlueManLine bluemanos mfn refear99

repo: barryvdh/laravel-ide-helper


text:
Works only with snake_case on API

API generator does not work (typescript) when I use camelCase names in my API.

https://github.com/bart-sk/swagger-js-codegen/commit/88b01a74463be2622c9262035995a25d8c073a78

authors: Meldiron martin-cuchta

repo: bart-sk/swagger-js-codegen


text:
Error: Can't retrieve system summary

I have been using this plugin for a few months and as of this week I started getting this error:
Error: Can't retrieve system summary
at Request.request [as _callback] (/usr/lib/node_modules/homebridge-blinkcameras/node_modules/node-blink-security/lib/blink.js:96:18)
at self.callback (/usr/lib/node_modules/homebridge-blinkcameras/node_modules/request/request.js:186:22)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Request.onRequestError (/usr/lib/node_modules/homebridge-blinkcameras/node_modules/request/request.js:878:8)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:401:9)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:66:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
Any thoughts on how to correct?

Ping

I had the same issue and stopped using the plugin and went to the blink-security-platform plugin, but it had its own set of issues unfortunately.   It would be really great if someone could get this working again.

@bartdorsey - Do you no longer support this? Are we all alone out here...? :-)

@mokrol I just haven't had time lately to devote to this, I think there's a fork of this that has gotten more attention, I actually don't use this plugin in my own homebridge setup currently.  If I have some time I'll try to look into what all has changed with the blink API. On the other hand, I've been wanting to switch to a different camera system that natively supports homekit and isn't owned by Amazon ☹

Here's the fork I was referring too https://github.com/jasmas/homebridge-platform-blink-security

@mokrol I worked yesterday on a pretty major rewrite of this module, so keep watching the github for when I finally get it working.

@bartdorsey - Thank you, sir! Really appreciate your work on this. I'll keep an eye out for sure.

I have this Issue with the latest version. Can you tell me if it is fixed?

I had to uninstall and reinstall and that corrected the issue for me.

Sorry, misread the thread. This was also corrected for me.

authors: MasterofKungfu9999 bartdorsey mokrol monteroman

repo: bartdorsey/homebridge-blinkcameras


text:
upgrading to the latest release (2.6?)

Hello
I see that this rep uses the talend api version 2.2
is it possibile to update it?
Thanks
Matteo

use branch api-v2.6

authors: bartsimp matteoredaelli

repo: bartsimp/talend-rest-go


text:
Ability to Configure load test with the number of threads and amount of time in seconds to run the test with

Do you think providing an ability to load test the api is a good use case for this ?

I’ll keep it in mind but that’s an entirely different use case. It would probably take a major rework of the way I built the code.
I’d rather focus on getting the ‘functional’ stuff right first.

Sounds good to me thanks. Thanks for patiently listening to my ideas here :)

I can close this for time being. This is not a high priority for me at this point but thought a good use case to have.

No I'm happy to leave this open, that's why I added the 'maybe-some-day' label.

Looking back at this issue I'm going to close it now, @bheemreddy181, as I don't think this is something I'll implement soon.

repo: basdijkstra/rest-assured-net


text:
docs: Update Outdated Reference to WalletLink Update app-blocklist.md

What changed? Why?
Replaced the outdated term "WalletLink" with the correct and current terminology, "Coinbase Wallet SDK," in the section discussing standard sign-in methods for dapps.
"WalletLink" has been rebranded as "Coinbase Wallet SDK" for consistency and clarity across the ecosystem. Using outdated terminology may confuse developers, especially those new to the space.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

repo: base-org/web


text:
Add support for Fish shell's syntax-highlighting colors.

Referred to this: https://github.com/chriskempson/base16-shell/issues/7
Yes, fish-shell is a shell, but it has syntax-highlighting colors. It can be configure by use the web configuration tool, fish_config, or alter the fish_color family of environment variables.

Hello.
Do you want to open a PR? I agree to install fish to try it.
Thank you

I would love to see this too :)

@indrakaw & @aloisdg,
If I understand correctly this PR should cover this issue?
Cheers.

authors: CrashyBang aloisdg indrakaw tgy

license: mit

license_source: bigquery


text:
Refactor huggingface support to allow live_reload support

I inspected our huggingface support and it seems to be based on the huggingface transformers state of early last year. We only support pytorch, e.g. tensorflow is explicitly uninstalled from one of the base images.
Based the transformers CPU  and GPU images I feel we can simply support that in our general images, and avoid the need for special images.
I haven't tested the GPU images. Our GPU base image has slightly newer cuda version and is set up a bit differently, but hopefully our GPU image set up works well with transformers library and we can avoid maintaining a separate base image.
Apart from ease of maintenance we get a quick benefit of live_reload starting to work for huggingface framework, it's broken currently.
For the CPU part I tested manually, and we have an integration test as well in test_huggingface_transformer_framework.py

Let me merge this, I will write a test for this case as a follow up.

repo: basetenlabs/truss


text:
Minor optimizations for TS put requests

Don't embed the local key in the Riak object when it will be
immediately extracted and removed
Directly pass the bucket, keys, and encoding function from PB put
rather than intuiting them from the Riak object

Test Results:
ts_basic-riak_kv_bitcask_backend,riak_kv_eleveldb_backend: pass
---------------------------------------------
0 Tests Failed
1 Tests Passed
That's 100.0% for those keeping score

:+1:  b5a42f9

@borshop merge

authors: javajolt macintux


text:
[BUG] Envycontrol is broken with python versions > 3.10.10

Describe the bug
Envycontrol displays an error message instead of working with python versions > 3.10.10 is installed
To Reproduce
Steps to reproduce the behavior:

Install python 3.11.3
run envycontrol (with or without flags)
See error

Expected behavior
I expected envycontrol to not produce this error.
Screenshots
The error:

System Information:

Model: [Razer Blade 14 2022]
Distro: [Arch Linux]
Kernel: [6.3.1.arch1-1]
DE/WM and Display Manager (if applicable): [KDE 5.17 with SDDM]
EnvyControl version: [3.2]
Nvidia driver version: [530.41.03-9]
lspci output:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Root Complex (rev 01)
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h-19h IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14b8
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:04.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge (rev 10)
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge (rev 10)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [Geforce RTX 3070 Ti Laptop GPU] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
02:00.0 Network controller: Intel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz (rev 1a)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
64:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev c7)
64:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
64:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP
64:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #3
64:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #4
64:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 60)
64:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
65:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #8
65:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #5
65:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #6
65:00.5 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4/Thunderbolt NHI controller #1
65:00.6 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4/Thunderbolt NHI controller #2

When I downgraded python to 3.10.10 it worked fine again.

yeah im also getting this bug

@DreamingCuttlefish @gaming128 please try
https://github.com/Askannz/optimus-manager/issues/541#issuecomment-1535547428

@bayasdev thanks very much, it works!!!!

authors: DreamingCuttlefish bayasdev gaming128

repo: bayasdev/envycontrol


text:
Full-text search on web

We could index the files and allows them to be searched and the results displayed. This would be great allowing wikis or files or code snippets (all plain text) to be easily found in a repo. Should be easy if we leverage ack or similar.

+1 Love this idea!

@joshbuddy implemented this, on the top bar you can search the entire share easily now. Closing.

authors: ChrisKempson nesquena

repo: bazaarlabs/gitdocs


text:
nogo broken with ".facts" errors in 0.50.0

What version of rules_go are you using?
0.50.0
What version of gazelle are you using?
0.38.0
What version of Bazel are you using?
7.3.1
Does this issue reproduce with the latest releases of all the above?
I think those are the latest
What operating system and processor architecture are you using?
macos/m2
Any other potentially useful information about your toolchain?
go_sdk 1.23.0
nogo set up:
load("@rules_go//go:def.bzl", "TOOLS_NOGO", "nogo")

nogo(
    name = "nogo",
    visibility = ["//visibility:public"],
    deps = TOOLS_NOGO,
)

What did you do?
In upgrading to 0.50.0, many go targets now fail with:
WARNING: Remote Cache: Expected output <...>/mycode.facts was not created locally.
WARNING: Remote Cache: Expected output <...>/mycode_lib.facts was not created locally.
ERROR: <mycode>/BUILD.bazel:3:11: output '<...>/mycode_lib.facts' was not created
ERROR: <mycode>/BUILD.bazel:10:10: output '<...>/mycode_lib.facts' was not created
ERROR: <mycode>/BUILD.bazel:10:10: Running nogo on <mycode>:mycode failed: not all outputs were created or valid
ERROR: <mycode>/BUILD.bazel:3:11: Running nogo on <mycode>:mycode_lib failed: not all outputs were created or valid

I tried clearing my `--disk_cache` target with no effect.

Removing `go_sdk.nogo(nogo = "...:nogo")` allows a successful build of all targets.

### What did you expect to see?

Successful build.

### What did you see instead?

Errors referring to missing '.facts' files.

Basic usage like that is covered by tests, so there must be something else about your targets that tickles the bug. Could you try to cut down one of the failing targets to the point that you can share it?

https://github.com/aran/rules_go_4084 is small and has the issue for me. I also ran bazel clean --expunge to try it out. Just building with bazel build //..., it works without the nogo line in MODULE.bazel, and fails with the line present.

I have no idea why there is no error message in this case, but when I commented out the last of the analyzers in TOOLS_NOGO as an attempt to bisect the problem, I saw this panic:
panic: any

goroutine 39 [running]:
golang.org/x/tools/go/ssa.forEachReachable.func1({0x104f06248, 0x14000126cc0}, 0x0?)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/methods.go:269 +0x3e0
golang.org/x/tools/go/ssa.forEachReachable.func1({0x104f061d0, 0x140002adb00}, 0x10?)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/methods.go:261 +0x4b8
golang.org/x/tools/go/ssa.forEachReachable.func1({0x104f06090, 0x14000175f10}, 0xc0?)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/methods.go:208 +0xd4
golang.org/x/tools/go/ssa.forEachReachable.func1({0x104f061d0, 0x140002adbc0}, 0x70?)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/methods.go:261 +0x4b8
golang.org/x/tools/go/ssa.forEachReachable.func1({0x104f06090, 0x140002c8070}, 0x40?)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/methods.go:208 +0xd4
golang.org/x/tools/go/ssa.forEachReachable.func1({0x104f06158, 0x140002b6b40}, 0x50?)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/methods.go:222 +0x160
golang.org/x/tools/go/ssa.forEachReachable.func1({0x104f061d0, 0x140002adc50}, 0x70?)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/methods.go:261 +0x4b8
golang.org/x/tools/go/ssa.forEachReachable.func1({0x104f061a8, 0x140002b7070}, 0xb8?)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/methods.go:208 +0xd4
golang.org/x/tools/go/ssa.forEachReachable(0x140004cadc8?, {0x104f061a8?, 0x140002b7070?}, 0x104deffe0?)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/methods.go:272 +0x60
golang.org/x/tools/go/ssa.addRuntimeType(0x104f061a8?, {0x104f061a8?, 0x140002b7070?})
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:2601 +0xe8
golang.org/x/tools/go/ssa.emitConv(0x140004c4000, {0x104f09178, 0x14000480540}, {0x104f06090, 0x14000174e00})
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/emit.go:250 +0x400
golang.org/x/tools/go/ssa.(*builder).emitCallArgs(0x1400001e550, 0x140004c4000, 0x140001d5680, 0x14000127900, {0x0?, 0x0, 0x78?})
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:1044 +0x23c
golang.org/x/tools/go/ssa.(*builder).setCall(0x1400001e550, 0x140004c4000, 0x14000127900, 0x1400002a840)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:1089 +0x80
golang.org/x/tools/go/ssa.(*builder).expr0(0x1400001e550, 0x140004c4000, {0x104f068e8?, 0x14000127900}, {0x7, {0x104f06090, 0x14000174e70}, {0x0, 0x0}})
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:666 +0x215c
golang.org/x/tools/go/ssa.(*builder).expr(0x1400001e550, 0x140004c4000, {0x104f068e8, 0x14000127900})
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:585 +0x11c
golang.org/x/tools/go/ssa.(*builder).assign(0x1400001e550?, 0x140004c4000, {0x104f07298, 0x1400007c6f0}, {0x104f068e8?, 0x14000127900?}, 0x48?, 0x140004e3658)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:558 +0x2f8
golang.org/x/tools/go/ssa.(*builder).assignStmt(0x1400001e550, 0x140004c4000, {0x14000113ab0, 0x1, 0x1?}, {0x14000113ad0, 0x1, 0x19?}, 0x1)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:1167 +0x318
golang.org/x/tools/go/ssa.(*builder).stmt(0x1400001e550, 0x140004c4000, {0x104f06b28?, 0x14000127940?})
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:2371 +0x8b4
golang.org/x/tools/go/ssa.(*builder).stmtList(...)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:910
golang.org/x/tools/go/ssa.(*builder).stmt(0x1400001e550, 0x140004c4000, {0x104f06a38?, 0x1400010b5c0?})
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:2467 +0xbf0
golang.org/x/tools/go/ssa.(*builder).buildFromSyntax(0x1400001e550, 0x140004c4000)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:2579 +0x204
golang.org/x/tools/go/ssa.(*builder).buildFunction(0x104ebd501?, 0x140004c4000)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:2533 +0x110
golang.org/x/tools/go/ssa.(*builder).iterate(0x1400001e550)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:2521 +0x2c
golang.org/x/tools/go/ssa.(*Package).build(0x1400002a400)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:2650 +0xa4
sync.(*Once).doSlow(0x1400007e270?, 0x14000122e40?)
	GOROOT/src/sync/once.go:76 +0xf8
sync.(*Once).Do(...)
	GOROOT/src/sync/once.go:67
golang.org/x/tools/go/ssa.(*Package).Build(...)
	external/gazelle~~go_deps~org_golang_x_tools/go/ssa/builder.go:2639
golang.org/x/tools/go/analysis/passes/buildssa.run(0x1400007e1a0)
	external/gazelle~~go_deps~org_golang_x_tools/go/analysis/passes/buildssa/buildssa.go:59 +0x270
main.(*action).execOnce(0x1400011b360)
	external/rules_go~/go/tools/builders/nogo_main.go:376 +0x728
sync.(*Once).doSlow(0x0?, 0x0?)
	GOROOT/src/sync/once.go:76 +0xf8
sync.(*Once).Do(...)
	GOROOT/src/sync/once.go:67
main.(*action).exec(...)
	external/rules_go~/go/tools/builders/nogo_main.go:305
main.execAll.func1(0x0?)
	external/rules_go~/go/tools/builders/nogo_main.go:299 +0x6c
created by main.execAll in goroutine 1
	external/rules_go~/go/tools/builders/nogo_main.go:297 +0x4c

This makes me think that this is an issue in golang.org/x/tools and indeed, after bazel run @rules_go//go get golang.org/x/tools, the issue is gone.
@tyler-french We probably have to update golang.org/x/tools when we switch to Go 1.23.0 in CI.

Thanks for looking. That's a great help. In case anyone else stumbles here, I can workaround with this addition to MODULE.bazel:
# TODO: Remove when https://github.com/bazelbuild/rules_go/issues/4084 is resolved
go_deps.module(
    path = "golang.org/x/tools",
    # curl https://sum.golang.org/lookup/golang.org/x/tools@v0.24.0
    sum = "h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24=",
    version = "v0.24.0",
)

and adding it to the go_deps:
use_repo(
    go_deps,
     ...
     "org_golang_x_tools",
     ...

What work remains to be done here in order to fix this problem? It's hard to tell from reading the preceding comments whether there's a change required in this repository, or if we're waiting on a fix in an upstream dependency.

It needs a bump of x/tools in go.mod (but nothing else). Since that repo is rather unstable, I don't want to force the update on everyone just yet. It's arguably the end user's duty to update and control the versions of these deps.

Oh, does that mean that if my own go.mod file requires a new enough version of that x/tools module that I'd wind up fixing this for myself?
At present, my go.mod file declares a(n indirect) dependency at version 0.24.0.

That should work if you are using Bzlmod and go_deps. If not, then your own go_repository would collide with the one defined as a dep of rules_go.

I'm running into this as well and the workaround from @aran works for now, thanks for the snippet!

authors: aran fmeum jbedard seh


text:
FR: bring in a container runtime to run commandTests

Candidate runtimes

runc https://github.com/opencontainers/runc
runsc https://github.com/google/gvisor
podman https://podman.io/

this turned out the be unnecessary. instead of bringing in the runtime hermetically, we rely on /var/run/docker.sock to be present on the RBE or Host machine to run tests against. we've successfully executed tests against podman and docker via our CI checks.  running podman on darwin runner and docker on ubuntu runner.
https://github.com/bazel-contrib/rules_oci/pull/31/commits/ede2d6cfe053533882a141af12a00084ee521491#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133ddR34-R40
--test_env=DOCKER_HOST is only needed when the docker.sock is not in its usual location which is the case on darwin when running non-root.

Closing this as it's not needed anymore.


text:
Use storage instead of memory for registry

Our builds fail while uploading to the temporary registry with rules_oci on Bazel RBE runners for big images. We suspect this being because of a memory baked registry implementation. Is it possible to use real storage for this?

v1.7.1 and forward we only used disk for the storage.
Please, upgrade to a version above. Also, if you are experiencing issues with higher versions, you can check out the 2.0 alpha release as that's the most efficient version of rules_oci.
I am closing this as there's no action to be taken here.

authors: mering thesayyn


text:
Add required jar to the sdk import to support IntelliJ 2019.2

https://github.com/bazelbuild/intellij/issues/731
Adds the jar dependency in order to compile intellij-2019.2 and intellij-ue-2019.2

There are already separate BUILD files in this directory for 2019.2 with essentially this change (and the WORKSPACE file points 2019.2 to those build files).

When trying to run the latest bazel plugin with IntelliJ 2019.2.4 i am still getting ongoing crashes, only resolved by doing a custom build of the plugin inclusive of this change https://github.com/bazelbuild/intellij/pull/1082/files
I am running IntelliJ 2019.2.4 on the latest OSX version

authors: brendandouglas dasormeter krlvi

repo: bazelbuild/intellij


text:
pkg_deb: Support Breaks and Replaces.

https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

I have continued the redundant defaults.

Thank you for the review.


text:
rules_testing is broken with Bazel@HEAD on Bazel CI

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2992#0187da38-c02b-4fc4-ac0c-d583190cb101
Platform : Multiple platforms
Error logs
In test add_failure_works_test_impl: in test: @//tests:add_failure_works_test
--
  | value of:
  | FAKE PROBLEM
  | FAKE ACTUAL
  |
  | (04:25:42) ERROR: Target //docs:requirements_test is incompatible and cannot be built, but was explicitly requested.

Reproduce Steps:

git clone https://github.com/bazelbuild/rules_testing.git
cd rules_testing
git reset 0c9c6927eb95b87010be400c5339c5edc2996d43 --hard
export USE_BAZEL_VERSION=a0cd355347b57b17f28695a84af168f9fd200ba1
bazel build //...

CC @meteorcloudy

This is caused by some CI infrastructure change, @fweikert is on it.

authors: meteorcloudy sgowroji


text:
Security/JSONLoad autocorrect potential runtime error

The autocorrect on Security/JSONLoad will replace JSON.load(request) with JSON.parse(request). One difference between these two methods is that JSON.load works with any object that responds to the #read method, such as an OpenURI HTTP request or a file handler. Here's an example:
request = open("http://localhost:3000/output.json")
result = JSON.load(request)

This will crash if replaced with JSON.parse.

The above is the exact issue I experienced, however I think there are other potential issues with this autocorrect. For example, consider the following difference between JSON.load and JSON.parse:
irb(main):001:0> JSON.load('false')
=> false
irb(main):002:0> JSON.parse('false')
JSON::ParserError: 784: unexpected token at 'false'
irb(main):003:0> JSON.parse('false', quirks_mode: true)
=> false

JSON.load allows primitives to be parsed, without requiring them to be in an actual JSON object. JSON.parse requires the :quirks_mode option to be true for this to work. So this type of use could also cause runtime errors in applications.

I think that the solution is to remove autocorrect for this cop.

RuboCop version
$ rubocop -V
0.43.0 (using Parser 2.3.1.3, running on ruby 2.3.1 x86_64-linux)

I think that the solution is to remove autocorrect for this cop.

Or just disable it by default. After all the auto-correct is not reliable, because the cop is not reliable.  I'd also extend the cop's description a bit.

Or just disable it by default. After all the auto-correct is not reliable, because the cop is not reliable.

I disagree. The cop's position that JSON.load(x) is potentially dangerous seems a fair one.
Forcing the author to change their code to either JSON.parse(stream.read) or JSON.parse(value, quirks_mode: true) when necessary both lead to more explicit code, so readability is improved in these edge case scenarios. And the improved security provided by JSON.parse that the cop originally intended to provide still applies when passing in a full JSON string.

Fair enough. Let's agree that the solution is to extend the cop's description and disable its auto-correct by default.

disable its auto-correct by default

Just to clarify this, you're talking about removing the Security::JSONLoad#autocorrect method, right? If not I'm not sure I understand the distinction. I don't know what it means for the autocorrect to be disabled by default, without the whole cop being disabled. I don't know what it'd mean to be enabled by default either since the autocorrect code (AFAIK) always requires the --auto-correct switch.
I'll try to put in a PR for this within the next week though.

All cops have an autocorrect attribute that can be set to false. :-) This enables/disable autocorrection for the particular cop. Some people might be perfectly fine with the autocorrect shortcomings.

Right, think I've got it, the AutoCorrect cop config. Thanks.

authors: bbatsov savef

repo: bbatsov/rubocop


text:
Rails/ApplicationJob and Rails/ApplicationRecord cops are being enforced on Rails 4.2.10

Today I ran rubocop -a, thinking there were only a few style/layout related issues, and my test suite began to fail, in fact it wasn't even running at all.
I found out that two relatively new cops were being enforced, Rails/ApplicationJob and Rails/ApplicationRecord. These cops changed the inheritance from a few of my models from ActiveJob::Base and ActiveRecord::Base to the new ApplicationJob and ApplicationRecord classes, which are only introduced by default in Rails 5.
The error on my test suite was that I didn't have an ApplicationJob class, and the cop didn't even check for its existence.
Expected behavior
According to the discussion om #4279, these two cops were only supposed to be enforced on Rails 5 projects, but they were enforced on my 4.2.10 project, breaking it.
Actual behavior
The cops were enforced, substituting ActiveJob::Base and ActiveRecord::Base to the new ApplicationJob and ApplicationRecord. This broke my project, as it doesn't have the ApplicationJob class (I do have ApplicationRecord).
Steps to reproduce the problem
I don't know exactly how to reproduce this, but I have a Rails 4.2.10 project with Rubocop 0.49.1 installed, and these two cops are consistently being enforced. I use RVM and only have one version of the Rails gem installed, and I'm running bundle exec rubocop.
I will create an empty project and try to reproduce it. If it works, I'll post it here.
RuboCop version
Include the output of rubocop -V. Here's an example:
$ rubocop -V
0.49.1 (using Parser 2.4.0.0, running on ruby 2.1.6 x86_64-linux)

Use TargetRailsVersion configuration in your .rubocop.yml.
See also https://github.com/bbatsov/rubocop/issues/4697

authors: pocke roooodcastro


text:
Reduce Metrics/AbcSize Max to 20

Several method extractions and some minor cleanup.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.

Nice work. :grinning:

Apart from the presence of some methods that seem generic and should probably be shared between cops, the changes look good to me.

Updated.

👍

authors: Drenmi bbatsov lumeet


text:
🛑 guid.bbon.me is down

In 8e3de49, guid.bbon.me (https://guid.bbon.me) was down:

HTTP code: 200
Response time: 161 ms

Resolved: guid.bbon.me is back up in 06e5d3b.

repo: bbonkr/uptime


text:
Bosch EasyControl Adapter

I'm new to this, and I cannot get on the domoticz forum because a cookie policy I need to accept that isn't visible to me. But there is an adapter for older thermostats that has EMS on the thermostat side and connects to the older heating system. (I assume the protocol of interest on that side is called iRT)
This makes my Buderus logamax U122 compatible with the Bosch EasyControl CT200, which according to the documentation, is using EMS.
So that might extent the usability of this project to more heating systems.

That adapter is mainly used to allow the Easy thermostat control older boilers. Although I have not tested it, I don't think it will convert (a lot of) messages from the boiler to the bus itself.
Perhaps you can try to see which datagrams are exactly transmitted on the bus. If there is a message type 0x18 UBAMonitorSlow observed it would make it compatible with the main sketch on my EMS Github page.

authors: bbqkees wlemkens


text:
Middleware functions

from jsonrpcserver.methods import Methods

# During initialization, Methods class receives a list of decorators
admin_methods = Methods(decorators=[require_user, require_role('admin')])

# When adding a new method, the function will be wrapped by decorators from the list
@admin_methods.add
# @require_user
# @require_role('admin')
def admin_ping():
    return "pong"

user_methods = Methods(decorators=[require_user])

@user_methods.add
# @require_user
def user_ping():
    return "pong"

methods = Methods()
methods.extend(admin_methods)
methods.extend(user_methods)

What do you think of this idea @bcb? I want to implement this

Great idea @deptyped , go for it!

Just an idea - perhaps some parts of this library, such as the schema validation, could be moved into middleware layers, to give the user more control over which parts are used.

authors: bcb deptyped

repo: bcb/jsonrpcserver


text:
CMS: Image upload function & fallback images

[x] #153
[x] #155
[x] #158
[ ] Fallback images (included in build output)
[x] Integrate in Post / Tag editor
[ ] Add media browser page (create separate PR)

Closed PR #310 in favour of a simpler approach where image data is directly embedded on PostDto and TagDto documents.
#310 has been branched and a new PR will be attached to this task.

repo: bccsa/luminary


text:
Inspection: Linking case files and Grid display

COMP-20: Create Inspection Form - Create New Case File
COMP-8: Create Inspection Form - Link to Existing Case File [Automatic]
COMP-18: Create Inspection Form - Inspection Grid Display

Codecov Report
Attention: Patch coverage is 10.83333% with 107 lines in your changes missing coverage. Please review.

Project coverage is 47.14%. Comparing base (0e608d0) to head (7143592).

Files with missing lines
Patch %
Lines

.../routes/_authenticated/ce-database/inspections.tsx
0.00%
41 Missing :warning:

...rc/components/App/Inspections/InspectionDrawer.tsx
0.00%
33 Missing :warning:

...c/components/App/Inspections/LinkCaseFileModal.tsx
11.53%
23 Missing :warning:

.../components/App/Inspections/InspectionFormLeft.tsx
0.00%
5 Missing :warning:

compliance-web/src/hooks/useCaseFiles.tsx
66.66%
2 Missing :warning:

compliance-web/src/hooks/useInspections.tsx
50.00%
2 Missing :warning:

compliance-web/src/utils/dateUtils.ts
50.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #48      +/-   ##
===========================================
- Coverage    48.33%   47.14%   -1.19%
===========================================
  Files           69       70       +1
  Lines         1078     1175      +97
  Branches       281      267      -14
===========================================
+ Hits           521      554      +33
- Misses         526      619      +93
+ Partials        31        2      -29

Flag
Coverage Δ

compliance-web
47.14% <10.83%> (-1.19%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter nitheesh-aot


text:
Student can View Read Only BCSC Information on Account Set up

As a (Student) I want (I want to view the Read-Only Services Card Information) So That *(I can confidently ensure that SABC has the correct information.
Additional ContextI

The information from Services Card includes First Name, Last Name, Middle Name, Date of Birth, verified email, and Gender as read-only.
When BC Services card information is updated, then the information will be updated on the SABC account).- Another User Story
-The information from Services Card includes First Name, Last Name, Middle Name, Date of Birth, Verified Email, and Gender as read-only.

Acceptance Criteria

[ ] Given (The student has been redirected to the SABC Site ), When (after authentication, Then they can view the information that has been received from the SABC Card site)
[ ] Given (The student has been redirected to the SABC Site ), When (Im viewing the BCSC information) Then, SABC Information is there but it is 'greyed out.

Development - Create a Form on SABC Website. call the API? to get the information
Route to the page should be available only after successful authentication
Develop functional tests using mocha?
How to find out email is verified?

Development - Create a Form on SABC Website. call the API? to get the information
Route to the page should be available only after successful authentication
Develop functional tests using mocha?
How to find out email is verified?

Confirmed with FO - Jamie Glennon that using Given_Names and Last_Name will work for now. If we discover we need to provide middle name for a reason a separate user story will be created.
@alpivett  @mzmichellesmith FYI User Story has been updated to reflect the above

Confirmed with FO - Jamie Glennon that using Given_Names and Last_Name will work for now. If we discover we need to provide middle name for a reason a separate user story will be created.
@alpivett  @mzmichellesmith FYI User Story has been updated to reflect the above

Unit Tests for front end Vue component: Vue Test Library plus Jest do not render Prime vue components and we are using these in our Vue pags.  There is just one mention on the internet of successful testing of something that had primevue components but that was using babel instead of using jest.  For now, we can test custom components that don't have primevue components in them using our setup.
Added technical debt task ticket: https://app.zenhub.com/workspaces/student-information-management-system-5fce9df5aa1b45000e937014/issues/bcgov/sims/119

Unit Tests for front end Vue component: Vue Test Library plus Jest do not render Prime vue components and we are using these in our Vue pags.  There is just one mention on the internet of successful testing of something that had primevue components but that was using babel instead of using jest.  For now, we can test custom components that don't have primevue components in them using our setup.
Added technical debt task ticket: https://app.zenhub.com/workspaces/student-information-management-system-5fce9df5aa1b45000e937014/issues/bcgov/sims/119

authors: 2011sandeepraj abschwenker mzmichellesmith roopfw

repo: bcgov/SIMS


text:
#380 - Constraint to save draft

Added max size validation to dynamic content that is saved as a json to DB:

@PayloadMaxSize(): used to decorate requests and validates the whole payload size.
@JsonMaxSize(): used as a property validator for objects that must have a maximum length as a json.

Fixed AppAllExceptionsFilter to show exception details as below:

Confirmed that the Nest's default configuration restricts all body lengths to be a maximum of 100kb. All the other request bodies can be more restrictive than that using @PayloadMaxSize().  Example of log for Nest's default restriction:

Great work on implementing the json constraint. Please have a look at the comments.

authors: andrepestana-aot dheepak-aot


text:
"Added to Contacts" Notice

When a user scans a new QR code, and a new contact is automatically added, display a "Added to Contacts" notice on the Credential Offer or Presentation Request

PR: https://github.com/hyperledger/aries-mobile-agent-react-native/pull/401

repo: bcgov/bc-wallet-mobile


text:
Stuck on "Sending Information" when going through a connectionless proof request

Device: iPhone 7 with iOS 15.6
Steps to Reproduce:

Access the Demo app as Lawyer
Follow the steps and go through "Login To Court Services"

At this step the wallets gets stuck on "Sending the information securely" and offer no option to go back.

Can confirm this is also happening since iOS build 270 in the nightly regression tests using the Candy UVP issuer and Pan Canadian Chat verifier. https://allure-mobile.vonx.io/api/allure-docker-service/projects/ios-multi-device-full/reports/87/index.html#testresult/1f11f3c867fe8c12

I resolved this in my PR here: https://github.com/hyperledger/aries-mobile-agent-react-native/pull/406

authors: cvarjao nodlesh wadeking98


text:
CM-627: Fix expired advisory bug

Jira Ticket:
CM-627
Jira Ticket URL:
https://bcparksdigital.atlassian.net/browse/CM-627
Description:

Fix public-advisory-audit switches from "Published" to "Draft" when it's expired
Remove the corresponding public-advisory when it's expired

Closed because it's duplicated PR of https://github.com/bcgov/bcparks.ca/pull/667


text:
17186 - UXA for alterations + Fixes

Issue #: /bcgov/entity17186
Description of changes:
overall UX check for alteration flow - changing business types
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun

Thanks for all of your review!

Are you ready to merge?

Are you ready to merge?

yes it's ready to merge

authors: Jxio severinbeauvais

repo: bcgov/business-edit-ui


text:
As a cif user, I can assign a project status when I create a project

Description:
We need to be able to set the project phase upon creation of the project, to any existing project phase within that rfp, to make data intake possible for any ongoing project.
See #69 for the wireframe
Acceptance Criteria:
Given I am on the project creation page
When I assign a funding stream to the project
Then I see a dropdown with the project statuses associated to that funding stream
Given I am on the project creation page
When I assign a funding stream to the project
Then the dropdown with the project statuses is set to the default phase
Given I am on the project creation page
When I commit the project
Then the project is associate with that project status
Development Checklist:
---Database

[x] there is a project_state table with the following columns:
id: int
name: varchar(1000)
description: varchar(1000)
funding_stream_rfp_id - foreign key to the funding_stream_rfp table
[ ] project_status table passes the style tests
[ ] the project table has a project_status_id column

---Frontend

[x] when the dropdown changes, the changes are persisted to the form_changes table
[ ] when the project is committed, the project_phase_id value is set

[ ] meets the DOD

Personas:

Program Development Team
Operations Team

Notes:

Hey team! Please add your planning poker estimate with ZenHub @AlexZorkin @pbastia

Adding applicable Personas to the ticket
Operations Team - CIF Persona
Program Development Team - CIF Persona

Proposed draft project status from CIF:
Proposal Submitted
Technical Review
Review Complete
Waitlisted
Disqualified
Withdrawn
Funding Offered
Agreement Signed
Agreement Terminated
Advanced Milestone Complete
General Milestone 1 Complete
General Milestone 2 Complete
General Milestone 3 Complete
Reporting Milestone 1 Complete
Reporting Milestone 2 Complete
Reporting Milestone 3 Complete
TEIMP
Performance Milestone Complete
Summary Report Submitted
Annual Reporting
Complete
Under Review

@Peirist Can you clarify if these status' are in order, if that order is mandatory, and also if they're stream-specific or agnostic? Thanks.

These statuses are in an order that maps roughly to the project cycle, so maintaining the order would be ideal. They're stream agnostic (though some statuses are only relevant to one stream).  I will note that the milestone statuses can be condensed, as per direction from the Operations team, so the list can read
...
Advanced Milestone Complete
Project Underway
TEIMP
...

Thank you @AlexZorkin - I tested in Dev by:

creating a new project and entering project data (including project status)
project status was displayed correctly in the project list

authors: LindsayMacfarlane Peirist Sriram-pc dleard pbastia rajpersram

repo: bcgov/cas-cif


text:
Contacts project view page shows validation error [4]

Describe the Bug:
Probability (how likely the bug is to happen, scored from 1-5): 2
(For example, probability of 5 is something like "it happens to all users every time they log in."
Probability of 1 "only happens to certain users when a really specific and unlikely path is followed.")
Effect (how bad the bug is when it does happen, scored from 1-5): 2
(For example, effect of 5 is "the entire app crashes and makes it unusable for all users" or "the bug causes the wrong data to be saved, with critical information (e.g. payment) being affected."
Effect of 1 is "It makes some styling look a little bit weird.")
Steps to reproduce the behaviour:

in dev
find an existing project without a primary contact
view the contacts form
see error

Screenshots:

Additional information:

OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Version: [e.g. 22]
Additional context

Could not reproduce, it's fixed!

authors: BCerki pbastia


text:
Creation of cas-director user role

Dependencies
Description:
As a cas-director user, I should have all functionalities listed in this table.
Acceptance Criteria:

[x] Manage first-time operator admin role approvals
[x] Assign BORO ID/BCGHG ID

Development Checklist:

[x] migration to add the cas_director role (e.g. of adding cas_analyst: cas-registration/bc_obps/registration/migrations/0002_prod_data.py)
[x] in cas-registration/bciers/apps/registration/app/idir, create a cas_director folder. Copy/paste the structure of cas_admin into this folder (cas_director is allowed to access everything)
[x] add cas_director to the "access_roles" in the internal.json files to give cas_director users access to all dashboard tiles
[x] Previously all internal users had the same permissions, so many parts of the app use an isInternalUser or isAuthorizedAdminUser variable to determine whether to show/hide/allow editing. Change these conditionals to only allow cas_director to assign bcghg id and boro id
[x] first-time operator admin role approvals access is controlled by a dashboard tile (if users have the tile, they can do it) so no changes needed
[x] Check and update the endpoint and service permissions for this new role to ensure the user has the correct access.

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Tested in dev and accepting with the following notes:
A couple of notes for testing:
We haven't built first-time operator admin role approvals yet, so right now a cas_director can access the tile, but they can't actually approve yet
The transfer form also isn't built yet. cas_director has view access to it, so again they can see the tile (minus the link to the editable form), and once the form is built, they'll be able to view via the grid

authors: patrickisaac vesselak

repo: bcgov/cas-registration


text:
Get Hosting Exec support

Describe the issue
The risk is that an iStore or Service Now ticket will get lost.  This is a first time pathfinding exercise so there is no established service line for this.  We could use some executive support. See the CRM search for "Health Insight" for who to talk on this ticket (Neil S, Rick C, Sorin P).
Additional context

We think this will be low effort but spread across several days, possibly weeks
No DHCP services in Data Centres
iStore request for consultion (eg. 20h), then meet with technical team from AS.
Services exist in the catalogue for receiving customer devices and connecting them to the network
Likely initial offer will be to plug into client-managed zone, which would involve going into multiple firewalls.
We would like it to be on the same subnet as the database service
No software review needed; client managed software is a client responsibility
Rick is co-chair of the Cloud Design Authority, and we will likely be repeating this pattern

Definition of done

PO and Health team to meet with Doug C (David is away) and get support (30 min meeting)
Who at ADSL and BC Gov Hosting can we work with that can give us the access at CDC we need (see ticket 1888)
Exec sends an email to all parties outlining the support required

Done, David will help us

repo: bcgov/cloud-pathfinder


text:
Cost optimization planning & recommendations prep

Describe the Issue
Cost optimization investigation and materials prep
Additional Context
As part of the currently required AWS Cloud cost optimization efforts an analysis needed to be carried out by the team and information gathered and materials prepared as a base for a presentation and decision-making session with the Executive team
Acceptance Criteria

Analysis of current costs associated with AWS Cloud Services usage so far with client and core infrastructure activity
Discussion with team on results of initial review of costs
Decisions on near-term cost management recommendations
Organization of analysis and presentation by WS Enterprise Support on tenancy cost generating activity and recommended cost savings measures, both near and longer term
Create base document\slide deck to use as framework for team Cost Optimization discussion & base material for a presentation to the Executive

.
.
.
.
.
.
.
.
.
.
.
Extra Template Info
Definition of Ready
These set of conditions will need to be met in order to bring a ticket into the sprint and start work. Protects the team from unclear requirements.
Issues (Task/Story/Spike) aligned to an EPIC and linked appropriately.
Assigned to the appropriate CPF MEMBER (and is not left blank in ZenHub) at the start of sprint (1st day of the sprint)
Acceptance has been defined for the issue and has been reviewed with CPF team and approved by the necessary approver.
Has been sized and estimated by the delivery team.
Detailed breakdown of the steps required to complete the story in the additional context
Any additional specifications have been documented, reviewed with CPF and approved by the necessary approver.
Acceptance Criteria
A set of pre-defined requirement that need to be met in order to mark the user story as “done”.
It should be testable with no room for interpretation
It should be either “pass” or “fail”
It should be clear enough for business stake holders to understand
As part of the user story, it should be written from the user perspective
A well written acceptance criteria is great for

managing expectations
defining scope
reducing ambiguity
establishing testing criteria for QA
Given (Pre-condition)
When (Action)
Then (Outcome)

Definition of Done
These set of conditions are met for work to be considered as complete on an issue.
All acceptance criteria(s) have been validated.
All the necessary documentation for the issue has been uploaded to Teams.
Functionality has been tested when applicable.
Functionality has been demonstrated to the relevant stakeholders (where applicable).
Story has been scheduled for a Sprint Demo/community update and impacted teams invited to the Demo.
Stories accepted by PO and documented for potential sharing with impacted users.

Documented = Captured in Community Update (CU) deck
Release notes = aspirational goal of providing a bulleted list of features and changes that our users can touch. Was going to store them in our Cloud Pathfinder repo. Can also display to users in the CU

This ticket is redundant to 2214 now so closing


text:
Work with NRM team to estimate their AWS costs for next fiscal

Describe the issue
Important to do soon because we are now passing through the costs to each team from AWS via JV.  We need an estimate so signing authority is not signing a blank cheque.
We've developed an MOU form for completion and expense authority approval to enable ministry teams to cover their AWS costs through to end of fiscal year, after which we'll prepare a new version of the form for the following fiscal year.
Last steps to complete these MOUs will be estimating the AWS costs and requesting executive sign-off on the MOU for each team.
Which Sprint Priority is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonomously with 'Sprint'.

The 'Milestone' overview/description (created in ZenHub) should clearly list Sprint Priorities/Goals. This section should indicate which of the priorities/goals this issue is related to.
Additional context
Add any other context, attachments or screenshots
Definition of done

work with NRM team to estimate their AWS spend through to end of fiscal
Review with PO
complete the MOU form and request executive sign-off

Cost estimate done and MOU signed


text:
Move to AXIS 10.3

Title of ticket:
Description
IMB is not moving to AXIS 10.7 until late July
Dependencies
Are there any dependencies?
DOD

[ ] Determine if we need to clear the database
[ ] Retest validation with Andrew
[ ] need database connection details
[ ] Determine details/impact for reporting - Just need connection string details / no database structure changes
[ ] Connect with Dean

Timing: End of week so we can stage requests

@lmullane @divyav-aot Please make any updates to this ticket following your conversation with IMB today. Please have DOD ready to bring into Sprint Planning on Wednesday. Thanks!

Confirmed complete with IMB

repo: bcgov/foi-flow


text:
Remap and Update to Team Names for IAO's Re-Alignment

Title of ticket:
Remap and Update to Team Names for IAO's Re-Alignment
Description
IAO will be re-aligning which Ministries report to certain teams, and are updating the names of teams. This ticket is to help prepare for that change in FOI Mod
Note - there will be a separate ticket for updates to request assignments rules and processes
Dependencies
DOD

[ ] Update Central/Business Team Name to Central and Economy Team
[ ] Following Ministries will be mapped as default for reporting to Central and Economy team: OOP, PSA, FIN, TRA, TIC, GCP, JED/JER, MMA, LBR, TAC, CTZ, CAS, LDB, OBC, MGC
[ ] Amalgamate Justice Health and Resource team to: Resource and Justice Team
[ ] Following Ministries will be mapped as a default for reporting to the Resource and Justice Team: FOR, EML, PSS, COR, EMC, MAG, OCC, HSG, IIO, MOE, EAO, WLR
[ ] Update Social Education team to Community and Health Team
[ ] Following Ministries will be mapped as default to Community and Health Team: MSD, CLB, PSE, HTH, MHA, IRR, DAS, AGR
[ ] Update MCFD Personals Team to Children and Family Team
[ ] Following Ministries will be mapped to this team - CFD
[ ] Add new team - Children and Education Team
[ ] Following ministries will be mapped to Children and Education Team: CFD and ECC/EDU
[ ] Add new team - Coordinated Response Unit

As discussed - this will be a higher priority than the comment reply story

Also discussed - @richard-aot will join Nick on this task after his bug ticket completes

new user groups and members can be found in this document: https://bcgov.sharepoint.com/:x:/t/03521/EV1fKDoOyrNJkxmA93Oosp0Be2ussi1MDrioNige-rFzNA?e=IFTkAY

notes for QA: I have added the groups in test. I have also added the following test users in each group
Central and Economy Team: foibusiness2@idir, foicentral2@idir
Resource and Justice Team: foijustice2@idir
Community and Health Team: foisocialtech2@idir
Children and Family Team: foimcfd2@idir foichildrenfamily1@idir
Children and Education Team: foichildreneducation1@idir
Coordinated Response Team: foicoord1@idir

General and personal files are going to the proper queues/watcher alert menu with the following exceptions:
JER General defaults to the old Central Team
JER Personal defaults to the Flex Team

@liseandtea - thanks for doing this!
I think we are OK with the JER issue. I just did a double check in AXIS - the only open requests now are JED requests, all of the old JER requests are now closed. We won't get anymore JER requests, so I think that is fine as is. Probably good to close this ticket now!

@nkan-aot Hey! I am moving this back to review for one small adjustment.
EDU General defaults to the Social Education Team.
EDU Personal defaults to the Flex Team.
This will have an impact on the 2 open FOI requests and 7 OIPC reviews open in AXIS.
Both EDU personal and general should default to the Children and Education team.

@liseandtea commenting here so @m-prodan can see as well.
Are any of the current requests in AXIS before open state? Basically the mapping only affects the assignment from "intake in progress" to "open", after that point once it has been assigned to an individual it stays with that individual unless manually changed. So assuming all new requests should be coming in with ECC will this be a non issue?
Current implementation is that any existing requests will continue to remain with the old business groups, and we will keep people as members of both groups until all existing requests for that group have been closed. However this should not be noticeable to users anyways since by open or CFR state it should be assigned to an individual and remain with that individual, and that individual will be part of both the old and new business group.
Also would like to note that with #3500 all IAO users are available in the dropdown so requests can be assigned across business groups.
Also just to clarify, all general requests are still going to Flex Team correct?

@nkan-aot Thanks Nick! Matt and I chatted and are okay to close this ticket and #3500. Since there are only 2 requests, one of which should be closed soon, the impact is low. Also they are assigned to the same analyst so once we change the KC accesses there will only be one name listed under Social Education. We were worried about having duplicate lists and things getting assigned to the wrong one.

@nkan-aot Thanks Nick! Matt and I chatted and are okay to close this ticket and #3500. Since there are only 2 requests, one of which should be closed soon, the impact is low. Also they are assigned to the same analyst so once we change the KC accesses there will only be one name listed under Social Education. We were worried about having duplicate lists and things getting assigned to the wrong one.

@nkan-aot Thanks Nick! Matt and I chatted and are okay to close this ticket and #3500. Since there are only 2 requests, one of which should be closed soon, the impact is low. Also they are assigned to the same analyst so once we change the KC accesses there will only be one name listed under Social Education. We were worried about having duplicate lists and things getting assigned to the wrong one.

@m-prodan closing request as discussed!

authors: liseandtea m-prodan nkan-aot


text:
Generate Markdown files of commands

To cut down on duplicating sources of truth, write a Go build script to generate Markdown files from each cmd/command_file.go file which can either be hosted in Github pages or a hosted government website.

Preview of the generated documentation below in next comment. It's just with what I have now but will be filled out soon with full documentation. Any feedback regarding layout or structure please let me know @ikethecoder , @JohnathanBrammall .
I think we should plan to run the generate command each production build, I just want to coordinate with the team working on Backstage to coordinate the best way to do that, I'll reach out to the DevEx team to see what the best way to do that is.

GWA CLI Commands
apply
Usage: apply <type>
Flags

Flag
Description

-i, --input string
YAML file containing your configuration (default "gw-config.yml")

Examples

$ gwa apply --input gw-config.yaml

config
Usage: config
config.get
Usage: get [key]
config.set
Exposes some specific config values that can be defined by the user.
Configurable Settings:
namespace:       The default namespace used
token:           Use only if you have a token you know is authenticated
host:            The API host you wish to communicate with
scheme:          http or https
Usage: set [key] [value]
Flags

Flag
Description

--host string
set the host

--namespace string
set the namespace

--scheme string
set the scheme

--token string
set the namespace

Examples

$ gwa config set namespace ns-sampler
$ gwa config set --namespace ns-sampler

generate-config
Usage: generate-config
Flags

Flag
Description

--org string
Set the organization (default "ministry-of-citizens-services")

--org-unit string
Set the organization unit (default "databc")

-o, --out string
The file to output the generate config to (default "gw-config.yml")

-s, --service string
A unique service subdomain for your vanity url: https://.api.gov.bc.ca

-t, --template string
Name of a pre-defined template (kong-httpbin, client-credentials-shared-idp)

-u, --upstream string
The upstream implementation of the API

Examples

$ gwa generate-config --template kong-httpbin --service my-service --upstream https://httpbin.org
$ gwa generate-config --template client-credentials-shared-idp --service my-service --upstream https://www.boredapi.com/api/activity

get
Usage: get [type] <flags>
Flags

Flag
Description

--json
Return output as JSON

--yaml
Return output as YAML

Examples
$ gwa get datasets
$ gwa get datasets --json
$ gwa get datasets --yaml

init
Generates a .env file in the current working directory.
To create and work with configurations you don't require CLIENT_ID or CLIENT_SECRET, but to make any API requests you will
Usage: init
Flags

Flag
Description

--api-version int
Set the API version (default 2)

--client-id string
Namespace's Client ID from API Services Portal

--client-secret string
Namespace's Client Secret from API Services Portal

-d, --data-center string
Target a particular data centre (default "calgary")

-D, --dev
Set the environment as development

--ds-api-version int
Set the Directory API version (default 2)

-n, --namespace string
The namespace of you routes collection (required)

-P, --prod
Set the environment as production

-T, --test
Set the environment as test

login
You can login via device login or by using client credentials.
Usage: login
Flags

Flag
Description

--client-id string
Your gateway's client ID

--client-secret string
Your gateway's client secret

Examples
$ gwa login
  $ gwa login --client-id <YOUR_CLIENT_ID> --client-secret <YOUR_CLIENT_SECRET>

namespace
Longer explanation to come...
Usage: namespace
namespace.create
Usage: create
Flags

Flag
Description

-d, --description string
optionally add a description

-n, --name string
optionally define your own namespace

namespace.current
Usage: current
namespace.destroy
Usage: destroy
Flags

Flag
Description

--force
force deletion

namespace.list
Usage: list
publish
Usage: publish <type>
Flags

Flag
Description

-i, --input string
YAML file to convert to JSON

Examples

$ gwa publish dataset --input content.yaml
$ gwa publish product --input content.yaml
$ gwa publish issuer --input content.yaml

publish-gateway
Usage: publish-gateway [configFile]
Flags

Flag
Description

--dry-run
Dry run your API changes before committing to them

--qualifier string
Sets a tag qualifier, which specifies that the gateway configuration is a partial set of configuration

Examples
  $ gwa publish-gateway path/to/config.yaml
  $ gwa publish-gateway path/to/config.yaml --dry-run

status
Usage: status
Flags

Flag
Description

--json
Output status as a JSON string

Examples
  $ gwa status
  $ gwa status --json

I have connected with Monica from the Dev Experience team and they want us to confirm the following:

•	How often do you update the documentation?
◦	If it is a regular occurrence, I'll look at writing a script to keep the developer-portal docs in sync with your main docs
•	Can I make a branch on your repo to check in my changes for the developer-portal? Or would you prefer I fork your repo?

repo: bcgov/gwa-cli


text:
feat: vanity url

Still very TBD.  I expect to need lots of help from @paulushcgcj and @mamartinezmejia.
https://apps.nrs.gov.bc.ca/int/jira/browse/INFRA-22467
https://apps.nrs.gov.bc.ca/int/confluence/display/DEVGUILD/Generating+a+CSR
https://apps.nrs.gov.bc.ca/int/jira/browse/FSADT1-1154
https://ssbc-client.gov.bc.ca/services/SSLCert/order.htm

the last link above is handled by NRIDS INFRA team .. via an iStore request to OCIO

also note..
Vanity URL -- one time setup
SSL Cert -- an annual party time

authors: DerekRoberts webgismd

repo: bcgov/nr-forest-client


text:
Occasional persistent messages at top right

I have been trying to reproduce this and I can’t seem to figure it out.  Every now and then the save error message or the could not submit due to invalid fields message displays and will NOT go away — even after you log out — which is challenging because it covers the spot you need to see to log out.

Duplicate of #460

I'd like to keep this open as it is still happening and a major inconvenience.  It wouldn't be so bad if the "x" in the corner of these messages would let you close them but they don't work so you are stuck with it covering things (like you can't log out). Frustrating.  Maybe if we can't get at why they are persistent we could get at why the X won't close them.  I'm putting it in the backlog and it can be picked up if someone is looking for an issue to work on.

Got it...duplicate.  WIll add comment re. X to that one.

repo: bcgov/range-web


text:
Extended and Exemption status in Plan Info could use some help text

Also @calebissharp and I aren't sure what it is, can we get a brief description here @LisaMoore1 ?
Is it something that is meant to carry forward from FTA?

@micheal-w-wells @calebissharp
Exemption: there are situations where a DDM can identify (make a decision) that a RAN Is exempt from aspects of RUP content/approval. When that happens now, a letter (document) is sent and put on file indicating the conditions of the exemption (there is always a minimum content requirement for schedule or following a previously approved though expired RUP), the term and any other conditions.
Extension: in the current legal framework a RUP can be extended an additional 5 years once (total length is 10 years) if the AH requests it. This is likely to change in coming years as a FRPA amendment is nearly in place to change plan term to match agreement term. Basically a mandatory amendment initiated by the AH that changes the end date that needs to be tracked/identifiable from other mandatory amendments so we can manage that the RUP is in extended status and that it can only happen once.
These are separate things outside of regular workflow that will likely need separate statuses and some mini workflows. We could do a super simple manual version for staff “Check this box if this RUP has been extended. For now (2020-01-10) this is lowish priority. It has come up but I always remind them that establishing the primary workflows is our priority.

Need way to show something has been extended (current work around is to do an amendment to end date but not specifically marked as an extension) and exempted (no way of doing this right now (see #986)


text:
Comments Editing

Changelog:

Added permissions and comments to enable editing by the comment creator until the credit trade status changes
Update UI to enable commenting
Built a backend test suite for evaluating credit trade status changes

Merge conflicts fixed, and migration renamed.

repo: bcgov/tfrs


text:
ZEVA - Write Unit Tests for Supplementary Container Component

Describe the task
There are currently no unit tests on the frontend for the Supplementary Container components so we would like to add some to reach 30% coverage.
Purpose
Adding unit tests will increase the confidence in capturing the business logic and increase the longevity of the application.
Acceptance Criteria

[ ] Create a new tests directory in supplementary directory
[ ] Create a test file SupplementaryContainer.test.js in the supplementary directory
[ ] Write unit tests to reach 30% coverage in the SupplementaryContainer Component

Additional context

use the jest --coverage command to view the current coverage percentages for the files

Not something that can be user tested. Close ticket.

authors: AlexZorkin jdon-zev

repo: bcgov/zeva


text:
Session login problems with PHP file_get_contents and CURL

Hi,
I have created an ajax controller with static data to set the login session for a user. If i go to this controller with browser (link: http: // localhost: 8888 / index.php / sessions / ajax / setsession) works and the session works correctly: the user is logged on my soft.
The AJAX controller code:
$this->load->library('session');

$session_data = array(
    'user_type' => '1',
    'user_id' => '1',
    'user_name' => 'Luca',
    'user_email' => 'lucatest@test.it',
    'user_company' => ''
);
$this->session->set_userdata($session_data);

If i try to do this with php (file_get_contents) or php (curl), the system does not work, the sessions are not created and the user is not logged.
I have read the session library and i think there is a block on your code or similar stuff.
Is this the problem? What is the solution?
Please help me to solve.

I have no idea what you're talking about, but it is 100% not a CI bug, and this is a bug tracker.
Please post your questions on our forums instead.

repo: bcit-ci/CodeIgniter


text:
travis-ci.org will be closed by Dec 31st, 2020

https://docs.travis-ci.com/user/migrate/open-source-repository-migration#q-when-will-the-migration-from-travis-ciorg-to-travis-cicom-be-completed
travis-ci.org will be closed by Dec 31st, 2020. It would be better to migrate to travis-ci.com before closed.

The big question is: Where's the developers?

Well, I think someone with access to the travis-ci.org CI account should perform the migration?

Well, I think someone with access to the travis-ci.org CI account should perform the migration?

I think that it is better to move from travis-ci to github actions, so I close the issue.

authors: gxgpet sapics totoprayogo1916


text:
Setup publish with provenance

https://docs.npmjs.com/generating-provenance-statements

Was started here: https://github.com/bcomnes/npm-run-all2/pull/132
Might actually be worth doing on this package given the recent uptake on the package though.

authors: Jayllyz bcomnes


text:
Failed parsing /[0-9]+[a-z]{0,3}/

This is all the error I got:
        Failed parsing: < /[0-9]+[a-z]{0,3}/ >
        Using the regexp-to-ast library version: 0.2.2
        Please open an issue at: https://github.com/bd82/regexp-to-ast/issues

Hope you can fix it because I'm trying to use them as part of Chevrotain

Hello.
Thanks for reporting this.
Note that this is a warning that Chevrotain cannot  optimize your lexer, but it does not mean
that it won't work correctly.
So this does not impact the correctness of whatever you are building.
Only the performance.

I can't release a new version yet because of auth issues with npmjs.com
I will try again tomorrow or the next day.

http://sap.github.io/chevrotain/docs/changes/CHANGELOG.html#_3-4-0-6-6-2018
Chevrotain 3.4.0 now uses regexp-to-ast 0.2.4 with the required fixes


text:
installation of treeimbalance failed

I am running these steps (https://github.com/bdearlove/treeImbalance/blob/master/README.md) but the installation fails.
This is what I get:
> library(devtools)
> install_git("http://github.com/bdearlove/treeImbalance.git")
Downloading git repo http://github.com/bdearlove/treeImbalance.git
Installing treeImbalance
--2018-03-22 09:01:18--  https://cran.rstudio.com/src/contrib/adephylo_1.1-11.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 52.84.134.152
Connecting to cran.rstudio.com (cran.rstudio.com)|52.84.134.152|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 374435 (366K) [application/x-gzip]
Saving to: ‘/tmp/RtmpdB39Mk/adephylo_1.1-11.tar.gz’

     0K .......... .......... .......... .......... .......... 13% 5.79M 0s
    50K .......... .......... .......... .......... .......... 27% 5.23M 0s
   100K .......... .......... .......... .......... .......... 41%  269M 0s
   150K .......... .......... .......... .......... .......... 54%  225M 0s
   200K .......... .......... .......... .......... .......... 68% 8.94M 0s
   250K .......... .......... .......... .......... .......... 82% 38.6M 0s
   300K .......... .......... .......... .......... .......... 95% 47.7M 0s
   350K .......... .....                                      100%  157M=0.03s

2018-03-22 09:01:18 (13.7 MB/s) - ‘/tmp/RtmpdB39Mk/adephylo_1.1-11.tar.gz’ saved [374435/374435]

Installing adephylo
--2018-03-22 09:01:20--  https://cran.rstudio.com/src/contrib/adegenet_2.1.1.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 52.84.134.152
Connecting to cran.rstudio.com (cran.rstudio.com)|52.84.134.152|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1696189 (1.6M) [application/x-gzip]
Saving to: ‘/tmp/RtmpdB39Mk/adegenet_2.1.1.tar.gz’

     0K .......... .......... .......... .......... ..........  3% 4.90M 0s
    50K .......... .......... .......... .......... ..........  6% 9.61M 0s
   100K .......... .......... .......... .......... ..........  9% 20.8M 0s
   150K .......... .......... .......... .......... .......... 12% 20.6M 0s
   200K .......... .......... .......... .......... .......... 15% 23.7M 0s
   250K .......... .......... .......... .......... .......... 18% 34.3M 0s
   300K .......... .......... .......... .......... .......... 21% 55.4M 0s
   350K .......... .......... .......... .......... .......... 24% 48.0M 0s
   400K .......... .......... .......... .......... .......... 27% 69.6M 0s
   450K .......... .......... .......... .......... .......... 30% 26.3M 0s
   500K .......... .......... .......... .......... .......... 33% 82.5M 0s
   550K .......... .......... .......... .......... .......... 36% 76.9M 0s
   600K .......... .......... .......... .......... .......... 39%  108M 0s
   650K .......... .......... .......... .......... .......... 42%  108M 0s
   700K .......... .......... .......... .......... .......... 45% 88.6M 0s
   750K .......... .......... .......... .......... .......... 48%  106M 0s
   800K .......... .......... .......... .......... .......... 51%  108M 0s
   850K .......... .......... .......... .......... .......... 54%  109M 0s
   900K .......... .......... .......... .......... .......... 57% 97.6M 0s
   950K .......... .......... .......... .......... .......... 60% 36.9M 0s
  1000K .......... .......... .......... .......... .......... 63% 26.1M 0s
  1050K .......... .......... .......... .......... .......... 66% 70.7M 0s
  1100K .......... .......... .......... .......... .......... 69% 65.4M 0s
  1150K .......... .......... .......... .......... .......... 72%  127M 0s
  1200K .......... .......... .......... .......... .......... 75% 87.6M 0s
  1250K .......... .......... .......... .......... .......... 78%  108M 0s
  1300K .......... .......... .......... .......... .......... 81%  106M 0s
  1350K .......... .......... .......... .......... .......... 84% 95.6M 0s
  1400K .......... .......... .......... .......... .......... 87% 98.8M 0s
  1450K .......... .......... .......... .......... .......... 90% 97.7M 0s
  1500K .......... .......... .......... .......... .......... 93%  108M 0s
  1550K .......... .......... .......... .......... .......... 96%  119M 0s
  1600K .......... .......... .......... .......... .......... 99% 3.16M 0s
  1650K ......                                                100%  175M=0.06s

2018-03-22 09:01:20 (28.6 MB/s) - ‘/tmp/RtmpdB39Mk/adegenet_2.1.1.tar.gz’ saved [1696189/1696189]

Installing adegenet
--2018-03-22 09:01:22--  https://cran.rstudio.com/src/contrib/spdep_0.7-4.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 52.84.134.152
Connecting to cran.rstudio.com (cran.rstudio.com)|52.84.134.152|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1852930 (1.8M) [application/x-gzip]
Saving to: ‘/tmp/RtmpdB39Mk/spdep_0.7-4.tar.gz’

     0K .......... .......... .......... .......... ..........  2% 5.97M 0s
    50K .......... .......... .......... .......... ..........  5% 8.85M 0s
   100K .......... .......... .......... .......... ..........  8% 21.5M 0s
   150K .......... .......... .......... .......... .......... 11% 23.4M 0s
   200K .......... .......... .......... .......... .......... 13% 20.5M 0s
   250K .......... .......... .......... .......... .......... 16% 45.7M 0s
   300K .......... .......... .......... .......... .......... 19% 53.6M 0s
   350K .......... .......... .......... .......... .......... 22% 48.3M 0s
   400K .......... .......... .......... .......... .......... 24% 51.7M 0s
   450K .......... .......... .......... .......... .......... 27% 58.4M 0s
   500K .......... .......... .......... .......... .......... 30% 32.3M 0s
   550K .......... .......... .......... .......... .......... 33% 63.3M 0s
   600K .......... .......... .......... .......... .......... 35%  118M 0s
   650K .......... .......... .......... .......... .......... 38%  109M 0s
   700K .......... .......... .......... .......... .......... 41%  108M 0s
   750K .......... .......... .......... .......... .......... 44%  109M 0s
   800K .......... .......... .......... .......... .......... 46%  108M 0s
   850K .......... .......... .......... .......... .......... 49%  100M 0s
   900K .......... .......... .......... .......... .......... 52%  122M 0s
   950K .......... .......... .......... .......... .......... 55%  118M 0s
  1000K .......... .......... .......... .......... .......... 58% 46.8M 0s
  1050K .......... .......... .......... .......... .......... 60% 91.1M 0s
  1100K .......... .......... .......... .......... .......... 63%  109M 0s
  1150K .......... .......... .......... .......... .......... 66%  108M 0s
  1200K .......... .......... .......... .......... .......... 69%  108M 0s
  1250K .......... .......... .......... .......... .......... 71%  118M 0s
  1300K .......... .......... .......... .......... .......... 74%  100M 0s
  1350K .......... .......... .......... .......... .......... 77%  118M 0s
  1400K .......... .......... .......... .......... .......... 80%  112M 0s
  1450K .......... .......... .......... .......... .......... 82%  117M 0s
  1500K .......... .......... .......... .......... .......... 85% 91.5M 0s
  1550K .......... .......... .......... .......... .......... 88%  139M 0s
  1600K .......... .......... .......... .......... .......... 91% 88.8M 0s
  1650K .......... .......... .......... .......... .......... 93%  108M 0s
  1700K .......... .......... .......... .......... .......... 96%  122M 0s
  1750K .......... .......... .......... .......... .......... 99%  105M 0s
  1800K .........                                             100%  550M=0.04s

2018-03-22 09:01:22 (45.5 MB/s) - ‘/tmp/RtmpdB39Mk/spdep_0.7-4.tar.gz’ saved [1852930/1852930]

Installing spdep
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  '/tmp/RtmpdB39Mk/devtoolsa4f11bfbf91/spdep' --library='/home/marianoavino/R/x86_64-pc-linux-gnu-library/3.2' --install-tests

ERROR: dependency ‘spData’ is not available for package ‘spdep’
* removing ‘/home/marianoavino/R/x86_64-pc-linux-gnu-library/3.2/spdep’
Installation failed: Command failed (1)
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  '/tmp/RtmpdB39Mk/devtoolsa4f3b8accf0/adegenet' --library='/home/marianoavino/R/x86_64-pc-linux-gnu-library/3.2' --install-tests

ERROR: dependency ‘spdep’ is not available for package ‘adegenet’
* removing ‘/home/marianoavino/R/x86_64-pc-linux-gnu-library/3.2/adegenet’
Installation failed: Command failed (1)
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  '/tmp/RtmpdB39Mk/devtoolsa4f111219da/adephylo' --library='/home/marianoavino/R/x86_64-pc-linux-gnu-library/3.2' --install-tests

ERROR: dependency ‘adegenet’ is not available for package ‘adephylo’
* removing ‘/home/marianoavino/R/x86_64-pc-linux-gnu-library/3.2/adephylo’
Installation failed: Command failed (1)
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL '/tmp/RtmpdB39Mk/filea4fcd89341'  \
  --library='/home/marianoavino/R/x86_64-pc-linux-gnu-library/3.2' --install-tests

ERROR: dependency ‘adephylo’ is not available for package ‘treeImbalance’
* removing ‘/home/marianoavino/R/x86_64-pc-linux-gnu-library/3.2/treeImbalance’
Installation failed: Command failed (1)

Looks like installing dependencies is causing problems for the adegenet installation. Does using install.packages(c("spData","spdep")) work? If so, you might find it easier to install adegenet and adephylo first from CRAN, and then try installing the treeImbalance package again.

I would suggest updating R if that's possible. Otherwise, a work around might be to download the package source and change the required version in the DESCRIPTION file to 3.2.3. You should then be able to use devtools::install() with the path to your edited source.

Yeah, I followed your suggestion in changing the DESCRIPTION file for library spData. It worked and finally I was able to download treeImbalance. Thanks

Glad that worked for you, and thanks for letting me know this is a problem for older versions of R. In the next couple of weeks hopefully I'll get chance to do some package updates. I think some of those dependencies would be better as imports, and I can probably streamline the list somewhat with a bit of tweaking.

my pleasure...and thank you very much for your help.
Are you also responsible for this line of code:
https://datadryad.org/bitstream/handle/10255/dryad.85769/example-analysis-script.R?sequence=1

I am, yes. And if I remember rightly, you'll need compactr installed and loaded (missing from that script), otherwise the plotting will fail at the end as it won't be able to find eplot. It helps with nicer plot axis spacing, but isn't actually necessary. If you don't want to use eplot, just set up a null plot using the same limits and labels and delete the lines with addxaxis and addyaxis. For the number of cherries, for example, use instead:
plot(obs.times,obs.ct,type="n",xlim=c(max(obs.times),0),ylim=c(0,max.ct),xlab="Time (years)",ylab="Cumulative Number of Cherries")
for(j in downsample){
  lines(obs.times,results.ct[j,],type="s",col=rgb(red=169/255,blue=169/255,green=169/255,alpha=0.075))
}
lines(obs.times,obs.ct,type="s",col="black")
lines(obs.times,medoid.ct,col=2,type="s")
lines(obs.times,ci.ct[,1],col=2,type="s",lty=2)
lines(obs.times,ci.ct[,2],col=2,type="s",lty=2)

No I am not fully capable of using R so I would not mind using exactly those lines of code...
by the way I thought eplot was coming from package emuR...great thanks...let me know if I have to open another issue for this topic if I encounter more problems with:
https://datadryad.org/bitstream/handle/10255/dryad.85769/example-analysis-script.R?sequence=1
Thank you very much for your kindness

I've made a new directory with the original data and R code from that paper - open any other issues you have there so that hopefully people can find any fixes more easily in the future.

that is great...thank you very much again

authors: bdearlove mavino

repo: bdearlove/treeImbalance


text:
Major Vulnerability

Your mod has a vulnerability, it affects versions 1.8.9-1.12.2 (according to serialization is bad), because your mod is included in MANY modpacks this is a huge major vulnerability. I advise you fix it immediately
https://github.com/dogboy21/serializationisbad
https://blog.mmpa.info/posts/bleeding-pipe/

Ref: #57
Is there any known workaround to fix this problem?
For 1.7.10, we can use GTNewHorizons' fork. But for 1.12.2, I don't know any solution yet.

Bad code at https://github.com/bdew-minecraft/bdlib/blob/mc1.12/src/net/bdew/lib/network/SerializedMessageCodec.scala#L36
this allows instantiation of arbitrary classes which can be escalated to RCE
it should use an input stream that limits which classes can be instantiated
see https://github.com/dogboy21/serializationisbad/blob/master/core/src/main/java/io/dogboy/serializationisbad/core/ClassFilteringObjectInputStream.java

Just so this thread has some actionable advice
Preventative:

Forge 1.7 to 1.19 - On both server and client, add this mod https://github.com/dogboy21/serializationisbad/releases to your modpack instance. It will auto patch the affected mods. This file has proof that it contains support specifically for bdlib.
Forge 1.6 or below - Use the Java Agent described in this README - https://github.com/dogboy21/serializationisbad#any-other-instances
PipeBlocker may also be able to mitigate some of the problems, but I haven't checked it.

Cleanup:
It is currently unknown which anti-malware vendors target some of the malware that has spread through this route. Right now, exercise caution, enable 2fa on your accounts, practice good security, and don't fall for alarmism.

Closing this in favor of #57 which has more information

authors: RealmKebab RickAstly bdew lordofpipes recolic

repo: bdew-minecraft/bdlib


text:
Implement Lazy Tree View

Fixes #135
Usage:

  late List<TreeViewItem> items;

  @override
  initState() {
    super.initState();
    items = [
      TreeViewItem(
        content: const Text('Work Documents'),
        lazy: true,
        onInvoked: (item) async {
          // if it's already populated, return
          if (item.children.isNotEmpty) return;
          // mark as loading
          setState(() => item.loading = true);
          // do your fetching...
          await Future.delayed(const Duration(seconds: 2));
          setState(() {
            item
              // set loading to false
              ..loading = false
              // add the fetched nodes
              ..children.addAll([
                TreeViewItem(content: const Text('XYZ Functional Spec')),
                TreeViewItem(content: const Text('Feature Schedule')),
                TreeViewItem(content: const Text('Overall Project Plan')),
                TreeViewItem(
                    content: const Text('Feature Resources Allocation')),
              ]);
          });
        },
        children: [],
      ),
      TreeViewItem(
        content: const Text('Personal Documents'),
        lazy: true,
        children: [
          TreeViewItem(
            content: const Text('Home Remodel'),
            children: [
              TreeViewItem(content: const Text('Contractor Contact Info')),
              TreeViewItem(content: const Text('Paint Color Scheme')),
              TreeViewItem(content: const Text('Flooring weedgrain type')),
              TreeViewItem(content: const Text('Kitchen cabinet style')),
            ],
          ),
        ],
      ),
    ];
  }

TreeView(
  items: items,
  onItemInvoked: (item) async => debugPrint('$item'),
),

Pre-launch Checklist

[x] I have run dartfmt on all changed files
[x] I have updated CHANGELOG.md with my changes
[ ] I have run "optimize/organize imports" on all changed files
[x] I have addressed all analyzer warnings as best I could
[x] I have added/updated relevant documentation
[ ] I have run flutter pub publish --dry-run and addressed any warnings

Splendid! I wonder whether the loading state will flicker if the expansion only takes ~100ms?
In my scenario, no individual node takes very long to populate, it's just that the entire tree is too large to load. I'll try this out and report back.

I wonder whether the loading state will flicker if the expansion only takes ~100ms?

Probably. The loading indicator can be customizable by providing loadingWidget on both TreeView and TreeViewItem if you wish a custom loading indicator!

Ah, that probably solves my concern. Thanks!

When I tried this the "super.initState();" is being highlighted. I get the Errormessage "The method 'initState' isn't defined in a superclass of 'Testpage4'."
Testpage4 is an alteration of the example file "tree_view.dart"
What might I do wrong?

the example tree_view isn't a widget, thefore there isn't a initState. You must do that when initializing the list

authors: bdlukaa timsneath yepyeniceri


text:
Need to use cookies for storing auth identity id

Potential security issue. localStorage is not protected by SSL encryption, My suggestion is to use a cookie, or react-cookies.
More info how to use react-cookies can be found in my blog post.

After almost a year of thinking on this, I rather just use straight GitHub auth

repo: bdougie/open-sauced


text:
Would be great to get perl 6.d (2019.03.1) on Jupyter binder

Currently getting this if I replace 2017.12 with 2019.03.1 in the Dockerfile...
The following step can take a long time, please be patient.
/usr/bin/moar --libpath="blib" --libpath="/usr/share/nqp/lib" --libpath="/usr/share/nqp/lib" perl6.moarvm --nqp-lib=blib --setting=NULL --ll-exception --optimize=3 --target=mbc --stagestats --output=CORE.setting.moarvm gen/moar/CORE.setting
Stage start      :   0.000
Stage parse      : Failed to connect to event stream

BTW - this is what I have running ...
https://mybinder.org/v2/gh/p6steve/perl6-Math-Polygons/master

Works fine!

Okay, great!  I'll go ahead and merge it then.


text:
[Feat] Designing the card images

Description
Making all the card images more comprehensive and match the style of images for other features so the overall page looks more color coded and enhances the overall page.
Screenshots

here for example the image for the QR code and social proof can be made better with better readability and color scheme
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[x] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

any updates?


text:
EOD to record for whole week

changed EOD script to lookup prices for the whole week (as yahoo stores a week worth of 5-min data) to be run by crontab on fridays. Not sure if this will work in practice, TODO a report on friday after markets close

This should close issue #10 not 22 as the name implies.


text:
Update fails with 404

Operating system: MacOS 10.13.5 Beta
This is:

[x] a bug
[ ] general feedback

Everything else seems to load fine, probably somethnig with a backend.

Looks to be caused by there being a pre-release 6 on the release page, but the expected assets are not there.
Extract from the debug log
{ HttpError: 404 Not Found
"method: undefined url: https://github.com/beakerbrowser/beaker/releases/download/0.8.0-prerelease.6/latest-mac.yml

Yeah it's just a draft. The updater is incorrectly picking up on its existence. I'll update this issue to be a todo to fix that.

authors: Gozala paul90 pfrazee

repo: beakerbrowser/beaker


text:
🛑 Photo Prism is down

In 51ef4b8, Photo Prism ($MAOW_VERY_SECRET_SITE_3) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Photo Prism is back up in 03357d6 after 27 minutes.


text:
API Reference missing in repo

@beatfactor, do you have the source for the API Reference as seen on http://nightwatchjs.org available? Could you please push it into Github?

The api docs are generated from source code comments.

authors: beatfactor chuckus

repo: beatfactor/nightwatch-docs