instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SciTools__iris__6760 | SciTools/iris | 6,760 | defect | 24e258f5ab19b54f3ff352485441e54baf123155 | 380d0eb1ecb81cb83bf1f4a905c015ea947437a9 | Protect NetCDF saving from bad Python-vs-HDF file lock timing | ## 🚀 Pull Request
### Description
<!-- Provide a clear description about your awesome pull request -->
<!-- Tell us all about your new feature, improvement, or bug fix -->
Thanks to @RachelNorth and @TeresaHughes for reporting this.
Even when our NetCDF save operations are fully serialised - no parallelism ... | diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst
index f4c5f66716..c2c79758ee 100644
--- a/docs/src/whatsnew/latest.rst
+++ b/docs/src/whatsnew/latest.rst
@@ -65,6 +65,10 @@ This document explains the changes made to Iris for this release
using :meth:`~iris.cube.Cube.aggregated_by` or :meth:... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add test coverage showing that Iris will bail out after 5 failed attempts to open the NetCDF file.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SciTools__iris__6948 | SciTools/iris | 6,948 | defect | 4d1d419a412d62b17f1b72c42db2198d7623e3fe | dd2fefbb0a33f52c56e5bfcdb31189079d944768 | Fixes for pandas v3 compatibility | ## 🚀 Pull Request
### Description
Fixes #6761
- Adds compatibility with pandas v3 by removing any chained assignments. These fixes are exclusive to tests.
- Fixes to deal with new pandas v3 `copy` behaviour. Removing tests that reference this behaviour.
- Adds static typing and typing fixes where necessary.
... | diff --git a/py312-linux-64.lock b/py312-linux-64.lock
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/requirements/locks/py312-linux-64.lock b/requirements/locks/py312-linux-64.lock
index c82a93cc44..1798bec09d 100644
--- a/requirements/locks/py312-linux-64.lock
+++ b/requirements/locks/py312-linux-64.l... | 1 | 1 | 0 | [{"id": "G1", "claim": "Scalar date-time columns should have test coverage and correct handling (the original code never worked for them and there is no coverage); trexfeathers is happy for this to be a separate issue.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
Scille__winfspy__21 | Scille/winfspy | 21 | defect | ee866caa6a10ae5889e37ba0922a6ec4edc95921 | 16c0f4974ae495e18813a2186b88ebf9acc4eb0f | Refactor exception handling when loading the bindings | Now, all failing operations should end up raising a RuntimeError. | diff --git a/src/_cffi_src/build_bindings.py b/src/_cffi_src/build_bindings.py
index 479dcb6..abbbd67 100644
--- a/src/_cffi_src/build_bindings.py
+++ b/src/_cffi_src/build_bindings.py
@@ -1,19 +1,14 @@
import os
import re
-import sys
from cffi import FFI
-# see: https://docs.python.org/3/library/platform.html#p... | 2 | 1 | 0 | [{"id": "G0", "claim": "Replace the bare exec() of get_winfsp_dir.py in build_bindings.py with an exec into its own globals dict so get_winfsp_dir is fetched explicitly instead of appearing out of thin air and requiring # noqa.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_exi... | null |
ScrapeGraphAI__Scrapegraph-ai__613 | ScrapeGraphAI/Scrapegraph-ai | 613 | defect | ceb522f823aaf74acad7a218d976191eda752d74 | d1926a48ab6305c5fb96dc8163b1b1df5eaf23cc | fix: deepcopy fail for coping model_instance config | link #609
When copying the configuration with model_instance, an error may arise because model_instance is typically an uncopyable object. To fix it, I attempted to use safe_deepcopy to replace the internal deepcopy during the copying of the LLM configuration.
The safe_deepcopy function first attempts to use the i... | diff --git a/scrapegraphai/graphs/csv_scraper_multi_graph.py b/scrapegraphai/graphs/csv_scraper_multi_graph.py
index 59e84783..4854e4cd 100644
--- a/scrapegraphai/graphs/csv_scraper_multi_graph.py
+++ b/scrapegraphai/graphs/csv_scraper_multi_graph.py
@@ -2,9 +2,10 @@
CSVScraperMultiGraph Module
"""
-from copy impor... | 1 | 1 | 1 | [{"id": "G0", "claim": "Defaulting to returning the original object when even shallow copying fails is a bad idea because callers may assume the copy always works; the fallback should either be removed, throwing an error, or gated behind a `strict` parameter.", "category": "correctness", "verdict": "supported", "priori... | null |
ScrapeGraphAI__Scrapegraph-ai__756 | ScrapeGraphAI/Scrapegraph-ai | 756 | defect | 9266a36b2efdf7027470d59aa14b654d68f7cb51 | 2512262be81b686f559711584e69c725dd53a187 | The smart_scraper_multi_graph method is too expensive | The smart_scraper_multi_graph method uses LLMs to answer questions both in the smart_scraper_graph and at the MergeAnswer node, which leads to higher costs. I created a new method called SmartScraperMultiParseMergeFirstGraph, which only uses LLMs at the MergeAnswer node. This reduces the cost by half for the same use c... | diff --git a/scrapegraphai/graphs/__init__.py b/scrapegraphai/graphs/__init__.py
index 5b217bc9..0acec56b 100644
--- a/scrapegraphai/graphs/__init__.py
+++ b/scrapegraphai/graphs/__init__.py
@@ -25,3 +25,5 @@
from .smart_scraper_multi_concat_graph import SmartScraperMultiConcatGraph
from .code_generator_graph import ... | 4 | 4 | 1 | [{"id": "G0", "claim": "Instead of creating a new graph (SmartScraperMultiParseMergeFirstGraph), modify the original SmartScraperMultiGraph.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add an example script with its configuration for the new graph und... | null |
Screenly__Anthias__1616 | Screenly/Anthias | 1,616 | defect | 0e3460532450e6783ad29621818ebc901d3792b0 | e05c2e76ebc18cfdbd976328c4d72bb7c5a94ea3 | Bring back test suite runs on GitHub actions | ### General
- Might fix #1604.
### Running Tests Locally (Dockerized)
```bash
docker-compose -f docker-compose.test..yml up -d
docker-compose -f docker-compose.test.yml exec srly-ose-test bash bin/run_tests.sh
```
### Checklist
- [x] Modify the `.github/workflows/docker-build.yaml` file so that tests ... | diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml
index 706ef38120..ffe6043aa7 100644
--- a/.github/workflows/docker-build.yaml
+++ b/.github/workflows/docker-build.yaml
@@ -9,9 +9,35 @@ on:
- 'webview/**'
- '.github/workflows/build-webview.yaml'
- README.md
+ ... | 2 | 2 | 1 | [{"id": "G0", "claim": "Please revert the change to the Balena fleet name in .github/workflows/docker-build.yaml.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It would be better to pull in all requirements from viewer in docker/Dockerfile.test ins... | null |
Screenly__Anthias__1632 | Screenly/Anthias | 1,632 | defect | a81db569a39737a5c536a1d6967c2be819c9296a | ded2bdff1367409e8bc7d3df04a986b954de6f58 | Fix failing tests in `test/celery_tasks_test.py`. | Might fix #1623. | diff --git a/bin/prepare_test_environment.sh b/bin/prepare_test_environment.sh
index c6010fe40..7a70e29d6 100644
--- a/bin/prepare_test_environment.sh
+++ b/bin/prepare_test_environment.sh
@@ -32,6 +32,8 @@ while getopts "sh" arg; do
done
mkdir -p ~/.screenly /tmp/USB/cleanup_folder
+cp ansible/roles/screenly/files... | 1 | 1 | 0 | [{"id": "G0", "claim": "The LISTEN=0.0.0.0 environment lines added to docker-compose.dev.yml could be removed if the container is solely for running unit tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Screenly__Anthias__1635 | Screenly/Anthias | 1,635 | defect | 04ee12978bd016419d71c1c87c176095e3b1adbc | 9c2960ef6b79b4d187571b5e96187a0d0b237942 | Fix failing tests in `tests/splinter_test.py`. | Might fix #1624 | diff --git a/bin/prepare_test_environment.sh b/bin/prepare_test_environment.sh
index 19c3800a2..90ec496c0 100644
--- a/bin/prepare_test_environment.sh
+++ b/bin/prepare_test_environment.sh
@@ -6,6 +6,7 @@
set -euo pipefail
START_SERVER=false
+# TODO: You could just fetch from within the repo instead.
OSE_LOGO_URL=... | 1 | 1 | 0 | [{"id": "G3", "claim": "The test service's image should be removed or renamed to srly-ose-test so it does not clash with other containers.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Screenly__Anthias__2048 | Screenly/Anthias | 2,048 | defect | 07713c31a4db900d2ecfe7d0e1e506545353c20a | 143b427a9d664dc9ef17c39aac00b8e2e14dda75 | Add support for x86 devices | #### Description
* Resolves #1977
* This pull request adds support for x86 devices.
#### References (for Easy Access)
* https://github.com/Screenly/Anthias/releases/tag/WebView-v0.3.2 | diff --git a/ansible/roles/network/tasks/main.yml b/ansible/roles/network/tasks/main.yml
index de6c8d85e..4b50c71d7 100644
--- a/ansible/roles/network/tasks/main.yml
+++ b/ansible/roles/network/tasks/main.yml
@@ -83,7 +83,10 @@
register: nm_pkla_path
- name: Copy org.freedesktop.NetworkManager.pkla to 50-local.d
... | 3 | 2 | 0 | [{"id": "G0", "claim": "Detect the architecture using Ansible's native facts (ansible_facts.ansible_architecture) instead of shelling out to `dpkg --print-architecture`, so the role is less hard-coded to Debian.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
Screenly__Anthias__2288 | Screenly/Anthias | 2,288 | defect | 6de04ded1fa5c5f970c6867c6fb233ec51d948c4 | fdfde3fa53f0d406ca5da76351fb7a46578f18f8 | api: new endpoint for updating device settings | ### Description
- Created a new endpoint `PATCH /api/v2/device_settings` for updating the settings
### Checklist
- [x] I have performed a self-review of my own code.
- [x] New and existing unit tests pass locally and on CI with my changes.
- [x] I have done an end-to-end test for Raspberry Pi devices.
- [x]... | diff --git a/api/serializers/v2.py b/api/serializers/v2.py
index 0621d40c4..eb25f96af 100644
--- a/api/serializers/v2.py
+++ b/api/serializers/v2.py
@@ -86,6 +86,19 @@ class DeviceSettingsSerializerV2(Serializer):
debug_logging = BooleanField()
+class UpdateDeviceSettingsSerializerV2(Serializer):
+ player_n... | 1 | 1 | 1 | [{"id": "G0", "claim": "Returning {'error': str(e)} in the 400 response may expose exception details to external users.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Screenly__Anthias__2708 | Screenly/Anthias | 2,708 | defect | 8ee205d05556bdbb3991f8e469e1bcfb9aae44b1 | 13c20bfb168a4eb1c3f0de3dbe99b2e0a6405492 | feat: replace ffplay with mpv for Pi 5 and x86 devices | ### Issues Fixed
- #2612 — Hardware decoding for videos is not working - Pi5
- #2450 — H.265 Hardware Acceleration Fails on Raspberry Pi 5 Host OS, Preventing Smooth Playback in Anthias
- #2442 — Choppy Video Playback on Raspberry Pi 5 (Software Decoding)
### Description
Replaces `ffplay` with `mpv` for video playba... | diff --git a/tools/image_builder/__main__.py b/tools/image_builder/__main__.py
index 3359fc9fe..ce22017b7 100644
--- a/tools/image_builder/__main__.py
+++ b/tools/image_builder/__main__.py
@@ -86,6 +86,9 @@ def build_image(
if board in ['pi1', 'pi2', 'pi3', 'pi4']:
base_apt_dependencies.extend(['libraspbe... | 4 | 3 | 3 | [{"id": "G0", "claim": "mpv is added to base_apt_dependencies, which the viewer image does not use, so the viewer container for pi5/x86 may not have mpv installed and MPVMediaPlayer.play() will fail at runtime with FileNotFoundError; mpv should instead be installed as part of the viewer image build (wired through get_v... | null |
Screenly__Anthias__2736 | Screenly/Anthias | 2,736 | defect | 5c66a38743db5bdbf4c7ddc2d1f7ef81d04ffc10 | cf0f35b61ea5469855699ef850781ef3a71c8b9c | fix(viewer): pre-parse media to reduce VLC playback startup gap | ### Issues Fixed
- Partially addresses Screenly/Anthias#2735
- Reduces the blank screen gap between video transitions on Pi 1-4
### Description
Calls `get_media().parse()` in `VLCMediaPlayer.set_asset()` to pre-load file metadata before `play()` is invoked. This gives VLC a head start on opening the file and ... | diff --git a/viewer/media_player.py b/viewer/media_player.py
index ba2b742c4..10c9acac9 100644
--- a/viewer/media_player.py
+++ b/viewer/media_player.py
@@ -92,6 +92,7 @@ def set_asset(self, uri, duration):
self.player.audio_output_device_set(
'alsa', self.get_alsa_audio_device()
)
+ ... | 2 | 1 | 1 | [{"id": "G0", "claim": "vlc.Media.parse() is a synchronous metadata parse that can block the main viewer loop, especially for network/streaming URIs like rtsp/rtmp; the reviewer asks to use parse_async() or parse_with_options() with an explicit timeout/flags and/or skip pre-parse for streaming schemes to avoid long sta... | null |
Screenly__Anthias__2760 | Screenly/Anthias | 2,760 | defect | d56860219bb12e48e961ef1675d6b32d1ed32446 | a9be1d377992d99ecb807f42bc587bc251fdbc10 | refactor(messaging): replace ZMQ with Redis for all viewer signalling, drop pyzmq | ## Summary
Migrates Anthias' two ZMQ-backed inter-service buses onto Redis, then removes the pyzmq runtime dep and the libzmq* build deps. Redis was already the broker for Celery and the channel layer for Django Channels — running a second message bus alongside it never paid for itself, and pyzmq compiles from a C ext... | diff --git a/CLAUDE.md b/CLAUDE.md
index fa12fc423..07a8945c5 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -12,11 +12,11 @@ Anthias runs as a set of Docker containers:
- **anthias-server** (port 80 in prod, 8000 in dev) — uvicorn (ASGI) serving the Django web app, REST API, the React frontend's static assets (via White... | 5 | 5 | 4 | [{"id": "G0", "claim": "send_current_asset_id_to_server() constructs a new ReplySender per command, which creates its own redis.Redis client and connection pool, so repeated calls can accumulate Redis connections over time.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {... | null |
Screenly__Anthias__2778 | Screenly/Anthias | 2,778 | defect | bba47ce08460d2657b00551ae78badffbc73e420 | 25120dbabbc757557c5f25ae7909376d9ea0134b | fix: address top recurring forum complaints (Tier A bundle) | ## Summary
Triaged the most-discussed threads on https://forums.screenly.io/ and bundled the small/high-signal fixes that map cleanly to existing code paths. Each item below is independently small; shipped together so one release closes the loop on the most-asked complaints.
## Forum threads addressed
| Fix | Forum ... | diff --git a/anthias_app/views.py b/anthias_app/views.py
index 2526fd18f..cc1eb0bea 100644
--- a/anthias_app/views.py
+++ b/anthias_app/views.py
@@ -66,5 +66,10 @@ def splash_page(request: HttpRequest) -> HttpResponse:
ip_addresses.append(f'http://{ip_address}')
return template(
- request, 's... | 15 | 15 | 8 | [{"id": "G0", "claim": "get_latest_docker_hub_hash() makes a Docker Hub request on a cache miss even when device_type is None/empty, adding unnecessary network calls and a misleading warning; return None early when device_type is falsy.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "in... | null |
Screenly__Anthias__2793 | Screenly/Anthias | 2,793 | defect | 39d58eb06994fcbb36721aa8579e7465dbe20e17 | 227594063517ac4865cfdf85f770c3e07c285c93 | chore(build): trim runtime apt deps (drop X11/XCB, VLC on Qt6) | ## Summary
Slim down what lands in the runtime images. Most of the apt list was either builder-only headers, cargo from when Qt + the WebView were compiled in-image, or packages with zero callers in the tree.
**Base list (server, viewer, test):**
- Drop `build-essential`, `libffi-dev`, `libssl-dev`, `python3-dev` — a... | diff --git a/bin/wait.py b/bin/wait.py
index 052bc3309..848277b4d 100644
--- a/bin/wait.py
+++ b/bin/wait.py
@@ -3,10 +3,12 @@
import sh
-# wait for default route
+# Wait for a default route. `ip route` ships in iproute2 (already in
+# the base debian:trixie image); the previous implementation used
+# `route` from... | 3 | 3 | 2 | [{"id": "G0", "claim": "The viewer-only apt deps comment in tools/image_builder/utils.py says the shared runtime set includes libcec6, but the base runtime apt list in tools/image_builder/__main__.py installs libcec7; update the comment to match the actual runtime dependency to avoid future confusion.", "category": "do... | null |
Screenly__Anthias__2806 | Screenly/Anthias | 2,806 | defect | e3107bfe5b36e5c51b566e5a5d0a0438f51a651a | ddb2c5e99ddd8d634e993a8666936b8670a12dc4 | refactor(splash): poll IPs from client instead of rendering server-side | ## Summary
The splash page used to call `get_node_ip()` synchronously in the Django view and render a static IP list. Two real problems:
1. **Latent crash on slow Balena boot.** The view passed `get_node_ip()`'s return value to `ipaddress.ip_address()` unconditionally. On a fresh Balena boot the supervisor API can be... | diff --git a/anthias_app/views.py b/anthias_app/views.py
index cc1eb0bea..77fd79fbb 100644
--- a/anthias_app/views.py
+++ b/anthias_app/views.py
@@ -1,5 +1,3 @@
-import ipaddress
-
from django.contrib import messages
from django.http import HttpRequest, HttpResponse
from django.shortcuts import redirect
@@ -9,7 +7,6... | 4 | 4 | 2 | [{"id": "G0", "claim": "The splash polling endpoint invokes the full get_node_ip() flow, which can block for tens of seconds on non-Balena hosts and tie up a request worker; make the endpoint non-blocking (read Redis and return immediately) or add short timeouts.", "category": "performance", "verdict": "supported", "pr... | null |
Screenly__Anthias__2827 | Screenly/Anthias | 2,827 | defect | 6877390194d6cf580da130127d77a818d4e405b2 | 89ae36e6aad49604695d68527dbc5ed8444d91b5 | fix(ui): publish bare next/previous to viewer for skip buttons (#2821) | ## Summary
Fixes #2821 — the home-page **Next** / **Previous** buttons returned a clean 302 but silently no-op'd in the browser, while `GET /api/v2/assets/control/{next,previous}` continued to work.
- **Root cause** (`src/anthias_server/app/views.py:565`): the form-post handler published `asset_next` / `asset_previou... | diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml
index 695c5248b..c98ae236b 100644
--- a/.github/workflows/test-runner.yml
+++ b/.github/workflows/test-runner.yml
@@ -87,7 +87,7 @@ jobs:
# ANTHIAS_INTEGRATION_TEST=1 tells src/anthias_server/django_project/settings.py to
... | 1 | 1 | 1 | [{"id": "G0", "claim": "In test_skip_buttons_publish_correct_command the subscribe-ack drain loop breaks when get_message() returns None, which can happen before the server processes the SUBSCRIBE, reintroducing a race where the UI click publishes before the subscription is active and making the integration test flaky;... | null |
Screenly__Anthias__2831 | Screenly/Anthias | 2,831 | defect | 39297a123d4e953a413597da2f87729170d1488d | d4c7994050315ca011230a682aac01fd32daa44a | fix(server): compare against latest release tag, not branch HEAD | ### Issues Fixed
Closes #2819.
### Description
`is_up_to_date()` previously compared the device's baked-in `GIT_HASH` to the master HEAD SHA, with a GHCR-image-digest fallback. That answered "is your commit at master tip?" instead of "is there a newer release?", so devices on the last release flipped to "out of date... | diff --git a/src/anthias_server/lib/github.py b/src/anthias_server/lib/github.py
index 4faad20ab..9538b61ca 100644
--- a/src/anthias_server/lib/github.py
+++ b/src/anthias_server/lib/github.py
@@ -1,55 +1,47 @@
import logging
-import os
+from packaging.version import InvalidVersion, Version
from requests import exc... | 4 | 4 | 4 | [{"id": "G0", "claim": "Importing packaging.version adds a runtime dependency that the server and test dependency groups in pyproject.toml do not install, raising ModuleNotFoundError as soon as anthias_server.lib.github is imported in the uv sync --group server/test environments.", "category": "correctness", "verdict":... | null |
ScuffleCloud__scuffle__105 | ScuffleCloud/scuffle | 105 | defect | 6721f812bdaca8a9af28f00a82aaf1c2f2a7c18b | 3af24f6c4185008300f7208a4376afad2aef49d7 | feat: config improvements | ## Proposed changes
- Resolves #103 by providing a new source called `ManualSource` which a `ConfigBuilder` always has at least one of
- Fixes a few bugs
## Types of changes
What types of changes does your code introduce to Scuffle?
_Put an `x` in the boxes that apply_
- [x] Bugfix (non-breaking change wh... | diff --git a/config/config/examples/derive.rs b/config/config/examples/derive.rs
index f26d5f4681..adb546f81b 100644
--- a/config/config/examples/derive.rs
+++ b/config/config/examples/derive.rs
@@ -1,7 +1,7 @@
//! Run with: `cargo run --example derive`
//! Look at the generated code with: `cargo expand --example der... | 4 | 4 | 3 | [{"id": "G0", "claim": "The pull request should add unit tests for its new functionality.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ManualSource::set must get the KeyGraph for the key in C and call the transform function on that graph instead of st... | null |
ScuffleCloud__scuffle__234 | ScuffleCloud/scuffle | 234 | defect | e4800b472a2f3b41e0a6dbb44c3bec0fae803bda | 9fb9873f1a160d492cdc29802a16cb65ac866490 | add future-ext | I find the syntax for `tokio::time::timeout` to be quite ugly, since it breaks the typical chained method calls. With the FutureExt trait we can just call `.with_timeout(..)` instead which seems to be a cleaner way to do it. | diff --git a/Cargo.lock b/Cargo.lock
index e78913c744..2b405ca262 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -389,6 +389,7 @@ dependencies = [
"byteorder",
"bytes",
"futures",
+ "scuffle-future-ext",
"scuffle-workspace-hack",
"tokio",
"tokio-stream",
@@ -2308,6 +2309,7 @@ dependencies = [
"num-derive",
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The with_timeout doc comment says the timeout is relative to the current time, which is confusing because the parameter is a duration.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ScuffleCloud__scuffle__281 | ScuffleCloud/scuffle | 281 | defect | 26d9eb139fcef3b93f4edfec7b0ab6bdc3e6ece8 | fe875cff1c909f3d9ea979423642886586e83d94 | add valgrind | Adds valgrind to tests and CI to check for memory leaks.
CLOUD-51 | diff --git a/Justfile b/Justfile
index 3ba8b724e6..0e3f5549ec 100644
--- a/Justfile
+++ b/Justfile
@@ -29,6 +29,20 @@ test *args:
cargo +{{RUST_TOOLCHAIN}} llvm-cov report --lcov --output-path ./lcov.info
cargo +{{RUST_TOOLCHAIN}} llvm-cov report --html
+grind *args:
+ # Run tests in valgrind
+ RUSTFL... | 2 | 2 | 2 | [{"id": "G0", "claim": "Instead of excluding the whole tests module under valgrind with one module-level cfg, each individual test should carry the `#[cfg(not(valgrind))]` attribute so only the time-sensitive ones are skipped.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"... | null |
ScuffleCloud__scuffle__70 | ScuffleCloud/scuffle | 70 | defect | cb1944e499daf84a725272830fd9ba02bc5331ef | c2b8414dea73e850f5821a0869475ed9197d7cfe | Small refactor | ## Proposed changes
Implementing some of the minor changes discussed in my review of PR #63
- https://github.com/ScuffleTV/scuffle/pull/63#discussion_r1126619829
- https://github.com/ScuffleTV/scuffle/pull/63#discussion_r1126094642
- https://github.com/ScuffleTV/scuffle/pull/63#discussion_r1126636700
- https:... | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 52f75cef7a..e09797dcbb 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -166,7 +166,7 @@ VITE_GQL_VERSION=1.0
Then you can export the following environment variables:
```bash
-export SCUF_TURNSTILE_SECRET_KEY=<secret-key>
+export SCUF_TURNSTILE_DUMMY_SECRET=... | 5 | 5 | 2 | [{"id": "G0", "claim": "CONTRIBUTING.md wrongly renames the documented environment variable to SCUF_TURNSTILE_DUMMY_SECRET; the env variable is SCUF_TURNSTILE_SECRET_KEY.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The auth middleware could drop ... | null |
SeaOfNodes__Simple__14 | SeaOfNodes/Simple | 14 | defect | ed7e01a7bf7b038a38d975358e85fb3d281b47bb | ccdedce07b068881993da60dba8d9061ed6f5da2 | Replace Parser scopes with ScopeNode | PR #14
Basically move the Stack of HashMaps to a ScopeNode, with wrappers. The HashMap maps String names to Integer indices; inputs to the ScopeNode. This way, the ScopeNode keeps alive Nodes that are only alive because they are alive in the HashMap.
Fix bug isDead -> isUnused in deadCodeElim.
Support routines for... | diff --git a/chapter04/src/main/java/com/seaofnodes/simple/GraphVisualizer.java b/chapter04/src/main/java/com/seaofnodes/simple/GraphVisualizer.java
index 38bc13569..f73bfd3cb 100644
--- a/chapter04/src/main/java/com/seaofnodes/simple/GraphVisualizer.java
+++ b/chapter04/src/main/java/com/seaofnodes/simple/GraphVisuali... | 1 | 1 | 1 | [{"id": "G0", "claim": "The PR's update()/set_def path may fail on self-assignment like `int a=arg+1;a=a;`, since set_def removes and kills the old node (when its use count drops to zero) before the new node's use count is increased, and the new node is the same node in self-assignment.", "category": "correctness", "ve... | null |
SeaOfNodes__Simple__175 | SeaOfNodes/Simple | 175 | defect | 442b5060a7f5857cfdedcc69384d90fd5fed9036 | 5e113c1e7b064e15bea098b21764d68f88bf32db | Driver related fixes and improvements | Replace ``-dump-after-instr_select`` by ``-dump-after-instr-select``
Replace ``--dump-after-reg_alloc `` by ``--dump-after-reg-alloc``
Add ``--dump-size``
Add ``--dump-time`` | diff --git a/chapter21/simple.sh b/chapter21/simple.sh
old mode 100644
new mode 100755
index 6759a9912..d8335f445
--- a/chapter21/simple.sh
+++ b/chapter21/simple.sh
@@ -1,2 +1,2 @@
#! /bin/sh
-java -ea -cp "build/classes/test:build/classes/main:lib/hamcrest-core-1.3.jar:lib/junit-4.12.jar" com.seaofnodes.simple.Simpl... | 1 | 1 | 1 | [{"id": "G0", "claim": "Switch the timers back to System.currentTimeMillis(), because nanosecond timing here would mostly measure the Java JIT and unrelated runtime startup and compile times under a second are mostly not interesting.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced... | null |
SeaQL__sea-orm__104 | SeaQL/sea-orm | 104 | defect | 8cfa14233d2d6bce27857cce8b12a95be414d2cc | bfaa7d4539afc033cb3f240fa4fed4ff1344c7c0 | Represent several relations between same types | Resolve #89 | diff --git a/src/entity/column.rs b/src/entity/column.rs
index 1654605734..611950f588 100644
--- a/src/entity/column.rs
+++ b/src/entity/column.rs
@@ -1,6 +1,6 @@
-use std::str::FromStr;
use crate::{EntityName, IdenStatic, Iterable};
use sea_query::{DynIden, Expr, SeaRc, SelectStatement, SimpleExpr, Value};
+use std:... | 5 | 3 | 3 | [{"id": "G0", "claim": "find_linked joins in the wrong direction: it should walk backwards from ToEntity back to FromEntity, matching the original Related implementation, instead of producing wrong SQL such as `filling` INNER JOIN `filling`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope"... | null |
SeaQL__sea-orm__132 | SeaQL/sea-orm | 132 | defect | 4a701d5e2da5edc5e4211f70cfaadf5812164d0a | 558223a7178269fd9a099d0739b5968c885abe54 | Add ActiveModel insert & update | Resolve #110 #127 | diff --git a/Cargo.toml b/Cargo.toml
index d114854639..65adce04e3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,6 +23,7 @@ path = "src/lib.rs"
[dependencies]
async-stream = { version = "^0.3" }
+async-trait = { version = "^0.1" }
chrono = { version = "^0", optional = true }
futures = { version = "^0.3" }
futur... | 1 | 1 | 1 | [{"id": "G0", "claim": "Please withhold the breaking change to the `Updater` API from this PR.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SeaQL__sea-orm__1403 | SeaQL/sea-orm | 1,403 | defect | 475bd63d13be7830c3724bbea2f0283e8785ab60 | f50dc1dd1c6eefa464b6fbc3bdf622281a8da564 | Don't call last_insert_id if not needed | Fixes #1357 | diff --git a/issues/1357/Cargo.toml b/issues/1357/Cargo.toml
new file mode 100644
index 0000000000..55e7bfc336
--- /dev/null
+++ b/issues/1357/Cargo.toml
@@ -0,0 +1,18 @@
+[workspace]
+# A separate workspace
+
+[package]
+name = "sea-orm-issues-1357"
+version = "0.1.0"
+edition = "2021"
+publish = false
+
+[dependencie... | 6 | 5 | 1 | [{"id": "G0", "claim": "Use `rows.pop()` to take the last row instead of `rows.remove(rows.len() - 1)`, ideally matching on the popped `Option` with `None` -> `RecordNotInserted`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Refactor to get rid of the ... | null |
SeaQL__sea-orm__182 | SeaQL/sea-orm | 182 | defect | 6861802a6d9c6eabe554cb984a56d55dca7b2e62 | 1a61f0927105489a980094d2f8c3c7ff24326878 | `find_linked` join with table alias | Resolve #163 | diff --git a/src/entity/link.rs b/src/entity/link.rs
index 97c9af1bfc..d0c262d704 100644
--- a/src/entity/link.rs
+++ b/src/entity/link.rs
@@ -1,5 +1,7 @@
-use crate::{EntityTrait, QuerySelect, RelationDef, Select};
-use sea_query::JoinType;
+use crate::{
+ join_tbl_on_condition, unpack_table_ref, EntityTrait, Query... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request should add a more elaborate/comprehensive unit test covering more levels of joins (3 or 4), even if the relations do not make sense.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Link definitions should be m... | null |
SeaQL__sea-orm__2070 | SeaQL/sea-orm | 2,070 | defect | 131f9f11230b7fd2d318870fd0c2d441c80ed734 | 385b3239c7702ab521053e516d6a99c0f3665a91 | Enable sqlite returning with feature flag | Following the discussion in #654 and this comment https://github.com/SeaQL/sea-orm/issues/1885#issuecomment-1741173714 this PR adds a feature flag to mark SQLite as a returning backend.
For my use case, this means to be able to use other types as primary keys with SQLite.
## PR Info
- Closes #1885 #653
## N... | diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 73ba4ce7e9..a655af37b1 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -308,6 +308,7 @@ jobs:
matrix:
runtime: [async-std]
tls: [native-tls, rustls]
+ sqlite_flavor: ["", returning_clau... | 5 | 5 | 1 | [{"id": "G0", "claim": "At pool creation the connector should run `select sqlite_version()` and bail if the version is below 3.35, instead of letting the returning feature fail later on unsupported SQLite.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
SeaQL__sea-orm__211 | SeaQL/sea-orm | 211 | defect | beb3ec62dc9f0a33c72dd8f176e217d23c3226aa | f4218dec56b0745b75f88171ee7e0202115e9397 | Throw error if none of the db rows are affected | Resolve #181 | diff --git a/src/error.rs b/src/error.rs
index 09f80b0a9d..f8aff775fe 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -3,6 +3,7 @@ pub enum DbErr {
Conn(String),
Exec(String),
Query(String),
+ RecordNotFound(String),
}
impl std::error::Error for DbErr {}
@@ -13,6 +14,7 @@ impl std::fmt::Display fo... | 3 | 3 | 2 | [{"id": "G0", "claim": "Unit tests using the mock connection are needed for the new throw-when-no-rows-affected behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The append_query_results block in the new mock test is not needed and should be rem... | null |
SeaQL__sea-orm__224 | SeaQL/sea-orm | 224 | defect | 632290469b649d40b45760ff00f687a1467c5508 | 7779ac886eac1609fc1d44a96dea1f00919e2e77 | Escape rust keywords with `r#` raw identifier | Resolve #217 | diff --git a/sea-orm-codegen/src/entity/column.rs b/sea-orm-codegen/src/entity/column.rs
index 532f2e9153..d3d47cb119 100644
--- a/sea-orm-codegen/src/entity/column.rs
+++ b/sea-orm-codegen/src/entity/column.rs
@@ -1,3 +1,4 @@
+use crate::util::escape_rust_keyword;
use heck::{CamelCase, SnakeCase};
use proc_macro2::{... | 2 | 1 | 1 | [{"id": "G0", "claim": "`r#` raw identifiers do not work for the Rust keywords `crate`, `self` and `Self`, so escaping them with `r#` produces code that does not compile.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`macro` is missing from the ide... | null |
SeaQL__sea-orm__2349 | SeaQL/sea-orm | 2,349 | defect | b68e770f973adea8651420c0865f697bca2f5b9b | 04b6c9ad13fb9f38d445bba3ffd6c11bc753d0a8 | Use input ident instead of associated type projections in ActiveModel derive | ## Overview
Currently, sea-orm's `ActiveModel` derive generates impls like `impl From<<Entity as sea_orm::EntityTrait>::Model> for ActiveModel`. This prevents any other `From<LocalType> for ActiveModel` impls from being added from other crates that depend on the crate that defines the `ActiveModel`. This is a bug in... | diff --git a/sea-orm-macros/src/derives/active_model.rs b/sea-orm-macros/src/derives/active_model.rs
index 60cac7e4d7..2ad8348a4f 100644
--- a/sea-orm-macros/src/derives/active_model.rs
+++ b/sea-orm-macros/src/derives/active_model.rs
@@ -22,8 +22,8 @@ pub fn expand_derive_active_model(ident: Ident, data: Data) -> syn:... | 1 | 1 | 1 | [{"id": "G0", "claim": "Include a test case showing that a crate depending on the one defining the ActiveModel can still add its own `From<LocalType> for ActiveModel` impl, placing the entity in `src/tests_cfg` and using it from an integration test so the crate boundary is exercised.", "category": "testing", "verdict":... | null |
SeaQL__sea-orm__2500 | SeaQL/sea-orm | 2,500 | defect | 0a19d339c8cb6b82d9c6db721b20ac448582597c | af5681834354d8d318bd8793c1448fd1ce2bfde2 | Support PgVector | ## PR Info
- Continue the great work done by @28Smiles (https://github.com/SeaQL/sea-orm/compare/master...28Smiles:sea-orm:master)
- https://github.com/SeaQL/sea-orm/discussions/1639
## New Features
- [x] Support PgVector
| diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 97a9759dd7..99b4815b05 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -449,7 +449,7 @@ jobs:
tls: [native-tls]
services:
postgres:
- image: postgres:${{ matrix.version }}
+ image: p... | 6 | 4 | 0 | [{"id": "G0", "claim": "The `postgres-vector = []` feature flag in sea-orm-macros/Cargo.toml is not needed and should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `postgres-vector` feature flag in sea-orm-migration/Cargo.toml is not nee... | null |
SeaQL__sea-orm__2606 | SeaQL/sea-orm | 2,606 | defect | 88f4bf1b9df88cf80fb309590b88ccb1db43b01b | a5d1a9a50543dee6214d910913b4f1cf8411363a | Import missing `ExprTrait` | <!--
Thank you for contributing to this project!
If you need any help please feel free to contact us on Discord: https://discord.com/invite/uCPdDXzbdv
Or, mention our core members by typing `@GitHub_Handle` on any issue / PR
Add some test cases! It help reviewers to understand the behaviour and prevent it to ... | diff --git a/Cargo.toml b/Cargo.toml
index 02153ac62c..987a03bdd0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -109,3 +109,5 @@ seaography = ["sea-orm-macros/seaography"]
# This allows us to develop using a local version of sea-query
# [patch.crates-io]
# sea-query = { path = "../sea-query" }
+[patch.crates-io]
+sea-... | 3 | 2 | 1 | [{"id": "G0", "claim": "The no-op binding `let expr = expr;` in src/entity/column.rs can just be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should call the enum's own method (`Tea::EverydayTea.as_enum()`) instead of the exp... | null |
SeaQL__sea-orm__2628 | SeaQL/sea-orm | 2,628 | defect | d9d51ba463a346a96840d9c6a1d6d23477cc99a5 | 5ae218184dde6cf19521741dcb5db1e03435698b | Insert many | end goal is to add a new struct for InsertMany, diverging from current Insert | diff --git a/src/entity/base_entity.rs b/src/entity/base_entity.rs
index 8572a0029b..3b1ef4fa55 100644
--- a/src/entity/base_entity.rs
+++ b/src/entity/base_entity.rs
@@ -1,7 +1,8 @@
use crate::{
ActiveModelBehavior, ActiveModelTrait, ColumnTrait, Delete, DeleteMany, DeleteOne,
- FromQueryResult, Insert, Model... | 3 | 3 | 1 | [{"id": "G0", "claim": "Mark `InsertManyResult` as `non_exhaustive` so new fields can be added later without a breaking change, since it is currently constructible outside the crate.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment \"The id... | null |
SeaQL__sea-orm__2759 | SeaQL/sea-orm | 2,759 | defect | cacd07b5be6970e7523ddac8b51d1b29ab4989af | d650814ddc31a1a7e398be2bfea54aefdff3dabb | Fix PostgreSQL enum primary key handling in loader | Closes #2756 | diff --git a/Cargo.toml b/Cargo.toml
index b0274dcbd1..e6e53bd3ad 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -47,6 +47,7 @@ ouroboros = { version = "0.18", default-features = false }
url = { version = "2.2", default-features = false }
thiserror = { version = "2", default-features = false }
derive_more = { version =... | 5 | 4 | 2 | [{"id": "G0", "claim": "Using Condition::any() (an OR of per-key equality conjunctions) in prepare_condition might reduce performance for a large number of keys, where an IN over row values would likely be better optimized.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {... | null |
SeaQL__sea-orm__2839 | SeaQL/sea-orm | 2,839 | defect | 4d0dcdc8ac279aaa09a7c78499dd946f9799f8cc | 2e129923adafacabc5f8a60ab4a6f58e5d489605 | feat: Add ``DatabaseExecutor`` unified executor type | - Close https://github.com/SeaQL/sea-orm/issues/2827
## Summary
- Introduces `DatabaseExecutor<'c>` enum that wraps either a `&DatabaseConnection` or `&DatabaseTransaction`
- Implements `ConnectionTrait` and `TransactionTrait` via delegation pattern
- Adds `IntoDatabaseExecutor` trait for ergonomic function sig... | diff --git a/sea-orm-migration/src/connection.rs b/sea-orm-migration/src/connection.rs
index a606507fe5..d80966b14b 100644
--- a/sea-orm-migration/src/connection.rs
+++ b/sea-orm-migration/src/connection.rs
@@ -1,51 +1,40 @@
use sea_orm::{
- AccessMode, ConnectionTrait, DatabaseConnection, DatabaseTransaction, DbBa... | 3 | 3 | 1 | [{"id": "G0", "claim": "The duplicated connection code should be moved from or re-exported through sea-orm-migration instead of being written from scratch in sea-orm.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "SchemaManagerConnection in sea-orm-migra... | null |
SeaQL__sea-orm__2845 | SeaQL/sea-orm | 2,845 | defect | 34b7bafefae073286821bcd1b63b5a9ea39f8728 | 58d4ccae17e9da44fa61d3cf0b744fd485a5b327 | fix: allow LEFT JOIN to produce None for nested models | ## PR Info
- Closes #2617
## Bug Fixes
When using LEFT JOIN with a nested `Option<Model>`, code tried to read the missing
related row as if it were always present. This caused a type error instead of simply
returning `None`.
This change makes nested optional models behave normal by treating
all-null fi... | diff --git a/sea-orm-macros/src/derives/model.rs b/sea-orm-macros/src/derives/model.rs
index 99d41eeb98..8319b3a04e 100644
--- a/sea-orm-macros/src/derives/model.rs
+++ b/sea-orm-macros/src/derives/model.rs
@@ -103,28 +103,74 @@ impl DeriveModel {
let ident = &self.ident;
let field_idents = &self.fiel... | 6 | 6 | 1 | [{"id": "G0", "claim": "The test from_query_result_left_join_with_optional_model_does_not_exist fails with a null-decoding error for \"id\" when decoding a LEFT JOIN row whose optional nested model does not exist.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1"... | null |
SeaQL__sea-orm__2933 | SeaQL/sea-orm | 2,933 | defect | 9a59e1e39ca830982e4214e8c4bf0ac8619f3729 | 99a9080f4176a51c66be60c05881193bc21da2d0 | feat(macros): permit passing custom derives to Model or ModelEx | ## PR Info
* Closes [https://github.com/SeaQL/sea-orm/issues/2884](https://github.com/SeaQL/sea-orm/issues/2884)
## New Features
* [x] **Permit passing custom derives and attributes to `Model` or `ModelEx`.**
## Motivation
This change allows for granular control over the attributes on both `Model` and `M... | diff --git a/sea-orm-macros/src/derives/model_ex.rs b/sea-orm-macros/src/derives/model_ex.rs
index 77b3adb528..44cb8a1b85 100644
--- a/sea-orm-macros/src/derives/model_ex.rs
+++ b/sea-orm-macros/src/derives/model_ex.rs
@@ -13,12 +13,40 @@ use syn::{
pub fn expand_sea_orm_model(input: ItemStruct, compact: bool) -> sy... | 2 | 2 | 2 | [{"id": "G0", "claim": "The top-level `#[sea_orm_model(...)]` / `#[sea_orm_model_ex(...)]` attributes should instead be `model_attrs` / `#[sea_orm(model_attrs = ...)]`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A test case for the new attribute-pass... | null |
SeaQL__sea-orm__3016 | SeaQL/sea-orm | 3,016 | defect | 75b325bd0d1e4bb77349831b36684f855ee24595 | da7240187aa9c6cfc9e2c5bccc9fed7d240f1992 | Fix schema sync not discovering tables in non-default schemas | ## PR Info
- Closes https://github.com/SeaQL/sea-orm/issues/2952
- Dependencies:
- N/A
- Dependents:
- N/A
## New Features
- N/A
## Bug Fixes
- [x] `sync()` only ran `SchemaDiscovery` against `CURRENT_SCHEMA()` (typically `public`). Entities with `#[sea_orm(schema_name = "sy... | diff --git a/sea-orm-sync/src/schema/builder.rs b/sea-orm-sync/src/schema/builder.rs
index 79ef12c086..24991b4fa3 100644
--- a/sea-orm-sync/src/schema/builder.rs
+++ b/sea-orm-sync/src/schema/builder.rs
@@ -16,6 +16,9 @@ pub struct EntitySchemaInfo {
table: TableCreateStatement,
enums: Vec<TypeCreateStatement... | 3 | 3 | 3 | [{"id": "G0", "claim": "Add a test covering the pull request's fix for schema sync not discovering tables in non-default schemas.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Enums, like tables, should be grouped by schema in DiscoveredSchema instead ... | null |
SeaQL__sea-orm__3037 | SeaQL/sea-orm | 3,037 | defect | 6b09f97530c37eebe6dda1b51d2d786f6923d399 | cfd5249cd165e18bae3c5ba8172a8833619f3b96 | Generate correct imports in `frontend` format | ## PR Info
- Closes #2934
## Bug Fixes
- [x] When using the `--frontend-format` argument, if any model column types use external types from libraries like `Uuid` or any datetime types, for example, the generated code does not include the correct imports; it assumes there's a `prelude` import, but that is exc... | diff --git a/sea-orm-codegen/src/entity/writer.rs b/sea-orm-codegen/src/entity/writer.rs
index b94b9aa5e0..9e0091067c 100644
--- a/sea-orm-codegen/src/entity/writer.rs
+++ b/sea-orm-codegen/src/entity/writer.rs
@@ -879,7 +879,10 @@ mod tests {
use proc_macro2::TokenStream;
use quote::quote;
use sea_query... | 2 | 2 | 0 | [{"id": "G0", "claim": "Move the `ExternalTypes` enum out of the function and the impl block.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the new test, look the `imports` entity up by its snake-case table name instead of by index 13.", "category": ... | null |
SeaQL__sea-orm__3039 | SeaQL/sea-orm | 3,039 | defect | 6b09f97530c37eebe6dda1b51d2d786f6923d399 | 708e3c4bd99cdd612a8e528c911f1aa20fda1c4b | Fix nested PartialModel null detection for optional fields | <!--
Thank you for contributing to this project!
If you need any help please feel free to contact us on Discord: https://discord.com/invite/uCPdDXzbdv
Or, mention our core members by typing `@GitHub_Handle` on any issue / PR
Add some test cases! It help reviewers to understand the behaviour and prevent it to ... | diff --git a/sea-orm-macros/src/derives/model.rs b/sea-orm-macros/src/derives/model.rs
index 31e7e66c11..fa9223314d 100644
--- a/sea-orm-macros/src/derives/model.rs
+++ b/sea-orm-macros/src/derives/model.rs
@@ -7,7 +7,7 @@ use itertools::izip;
use proc_macro2::TokenStream;
use quote::{format_ident, quote};
use std::... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new nested-model test could be strengthened, for example by covering more deeply nested models.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SeaQL__sea-orm__340 | SeaQL/sea-orm | 340 | defect | cc4904993a190e827f3031210bd965e6f46c9165 | c1e3c929e0a241c01f04ebc6984631dc9ab7bc5a | Rework `ActiveValue` | ## PR Info
- Resolve #321
## Breaking Changes
- Rename `sea_orm::unchanged_active_value_not_intended_for_public_use()` to `sea_orm::Unchanged()`
- Rename `ActiveValue::unset()` to `ActiveValue::not_set()`
- Rename `ActiveValue::is_unset()` to `ActiveValue::is_not_set()`
- `PartialEq` of `ActiveValue` will now c... | diff --git a/README.md b/README.md
index 61bba222ff..21e0990349 100644
--- a/README.md
+++ b/README.md
@@ -136,12 +136,12 @@ Fruit::update_many()
### Save
```rust
let banana = fruit::ActiveModel {
- id: Unset(None),
+ id: NotSet(),
name: Set("Banana".to_owned()),
..Default::default()
};
-// create... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `NotSet` variant should be re-exported directly (`pub use ActiveValue::NotSet`) so it is used as `NotSet` and not as a function call `NotSet()`, while the old `Unset` function is still kept, just deprecated.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
SeaQL__sea-query__1040 | SeaQL/sea-query | 1,040 | defect | e13b5fcf85463f82bcdac31adb73f75a3be697ec | 2e81db77663ccefa4ca98904b9c437356929fcd3 | feat: add SelectExprTrait for ergonomic alias and window chaining | ## PR Info
- Closes #344
## Changes
### SelectExprTrait
Add SelectExprTrait providing alias and over methods. Implemented for both SelectExpr and `T: Into<Expr>`, enabling.
```rust
Expr::col(...).alias(...)
Expr::col(...).over(...)
```
`over` accepts `impl Into<WindowSelectType>`, with impls for
... | diff --git a/src/query/select.rs b/src/query/select.rs
index d315e16f2..64c11468e 100644
--- a/src/query/select.rs
+++ b/src/query/select.rs
@@ -201,6 +201,89 @@ where
}
}
+/// Extension methods for building a [`SelectExpr`] from an expression.
+///
+/// This makes it ergonomic to attach select-specific modifie... | 1 | 1 | 1 | [{"id": "G0", "claim": "The SelectExprTrait API should add From impls for WindowSelectType (From<WindowStatement> and From<T: IntoIden>) and replace the separate window and window_name methods with a single over method taking impl Into<WindowSelectType>.", "category": "design", "verdict": "supported", "priority": "P1",... | null |
SeaQL__sea-query__1062 | SeaQL/sea-query | 1,062 | defect | f623e1f6261c5e73a8e3f529812d479c586093aa | cc07edc7327837f30f0d7fc876c6fcbbc610889b | Add support for postgres advisory locks | <!--
Thank you for contributing to this project!
If you need any help please feel free to contact us on Discord: https://discord.com/invite/uCPdDXzbdv
Or, mention our core members by typing `@GitHub_Handle` on any issue / PR
Add some test cases! It help reviewers to understand the behaviour and prevent it to ... | diff --git a/src/backend/postgres/query.rs b/src/backend/postgres/query.rs
index 547c5cd18..194619850 100644
--- a/src/backend/postgres/query.rs
+++ b/src/backend/postgres/query.rs
@@ -320,6 +320,17 @@ impl QueryBuilder for PostgresQueryBuilder {
PgFunc::Any => "ANY",
PgFunc::S... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new advisory-lock builders should be simplified to call FunctionCall::new(PgFunc::...) directly, since FunctionCall::new now accepts Into<Func>, instead of wrapping every PgFunc in Func::from(...)/Func::PgFunction(...).", "category": "maintainability", "verdict": "supported", "priority": "P2... | null |
SeaQL__sea-query__675 | SeaQL/sea-query | 675 | defect | a784868fd7bdcd690529fcbb0874b2c4dbb18d16 | 3da838a17801ef08cd572415071512d6f3ed6e3d | Issue #674: Fix issues with semantics of parenthesis removal | ## PR Info
This is my attempt at fixing #674
- Closes [#674](https://github.com/SeaQL/sea-query/issues/674)
## Bug Fixes
Parenthesis placement is now done based on positive matches with known associativity and precedence rules, and otherwise defaults to placing parentheses.
- [#674](https://github.com/SeaQL/... | diff --git a/src/backend/query_builder.rs b/src/backend/query_builder.rs
index 30e934275..8b313f20b 100644
--- a/src/backend/query_builder.rs
+++ b/src/backend/query_builder.rs
@@ -1,3 +1,6 @@
+#[cfg(feature = "backend-postgres")]
+use crate::extension::postgres::PgBinOper;
+
use crate::*;
use std::ops::Deref;
@@ -... | 11 | 8 | 1 | [{"id": "G0", "claim": "The author asks that conditions, being syntactic sugar, be rewritten as nested binary expressions before being written to the SQL string (allowing prepare_condition_where to be deleted), because the two code paths behave inconsistently, and that this be done before merging.", "category": "design... | null |
SeaQL__sea-query__759 | SeaQL/sea-query | 759 | defect | 604af6ed7207cd29a0aa0aa2c6ecba990b8c473d | 3acc5548123792a139968bb78b36dbb8a3f5133d | Add possibility to configure the Table enum variant Iden implementation with enum_def macro | Hello !
Add possibility to configure the Table enum variant Iden implementation with enum_def macro
Do you think it would possible to merge the PR ?
Does the feature fit in what you are trying to do ?
| diff --git a/sea-query-attr/src/lib.rs b/sea-query-attr/src/lib.rs
index ce628d32a..c26dc95ed 100644
--- a/sea-query-attr/src/lib.rs
+++ b/sea-query-attr/src/lib.rs
@@ -19,6 +19,8 @@ struct GenEnumArgs {
pub suffix: Option<String>,
#[darling(default)]
pub crate_name: Option<String>,
+ #[darling(defaul... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new test in sea-query-attr/tests/pass/table_iden.rs only prints the generated Table iden with println! instead of asserting it, and should be converted to assert_eq! so it actually verifies the value.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SeaQL__sea-query__769 | SeaQL/sea-query | 769 | defect | a45318cf4e060d0156c17129595698ac9590fdd6 | d75bf0a2c0840de51797970f609d3cca79a1220e | issues-721 Add impl `IdenStatic` and `AsRef<str>` to `#[enum_def]` attr | ## PR Info
<!-- mention the related issue -->
- Closes https://github.com/SeaQL/sea-query/issues/721
## New Features
- [x] Copied `#[enum_def]` to `sea-query-derive` (and marked `#[enum_def]` as deprecated at `sea-query-attr`)
- [x] Added impl `IdenStatic` to `#[enum_def]` of `sea-query-derive`
- [x] Added ... | diff --git a/README.md b/README.md
index 3a37a6898..60d3c7da8 100644
--- a/README.md
+++ b/README.md
@@ -175,10 +175,9 @@ impl Iden for Character {
```
If you're okay with running another procedural macro, you can activate
-the `derive` or `attr` feature on the crate to save you some boilerplate.
+the `derive` feat... | 5 | 4 | 1 | [{"id": "G0", "claim": "Deprecate `sea-query-attr` and move the macro into `sea-query-derive`, migrating to syn2 and renaming things, for long-term maintenance.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The `#[enum_def]` proc-macro should emit a `... | null |
SeaQL__sea-query__815 | SeaQL/sea-query | 815 | defect | 53fd4e902910cf3db9f4332f1c1d1b6b6b3e49a6 | 9d464d8f0fac5c26491aeddf2dec59380a59b161 | refactor: remove unnecessary string hashes | ## Breaking Changes
This change is backward compatible.
## Changes
- [x] This removes unnecessary string hashes to improve readability. | diff --git a/src/token.rs b/src/token.rs
index 44ddf62b1..1d0ee9714 100644
--- a/src/token.rs
+++ b/src/token.rs
@@ -454,7 +454,7 @@ mod tests {
#[test]
fn test_9() {
- let string = r#"[ab] "#;
+ let string = r"[ab] ";
let tokenizer = Tokenizer::new(string);
let tokens: Vec<T... | 2 | 2 | 0 | [{"id": "G0", "claim": "Revert the removal of `#` from raw string literals in vec-of-string blocks in tests/sqlite/query.rs where the surrounding lines still need `r#`, because those removals look inconsistent with the neighbouring lines.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope... | null |
SeaQL__sea-query__920 | SeaQL/sea-query | 920 | defect | 845b44ef14764f3c93be984cc682e80dbe6e7bf4 | c16df9c3b417200c4ae0ab550f965931dc937973 | Supports specifying the name of check constraints | <!--
Thank you for contributing to this project!
If you need any help please feel free to contact us on Discord: https://discord.com/invite/uCPdDXzbdv
Or, mention our core members by typing `@GitHub_Handle` on any issue / PR
Add some test cases! It help reviewers to understand the behaviour and prevent it to ... | diff --git a/src/backend/table_builder.rs b/src/backend/table_builder.rs
index ae49c4bb1..583b80eda 100644
--- a/src/backend/table_builder.rs
+++ b/src/backend/table_builder.rs
@@ -195,9 +195,14 @@ pub trait TableBuilder:
}
/// Translate the check constraint into SQL statement
- fn prepare_check_constrai... | 4 | 4 | 3 | [{"id": "G0", "claim": "The new `Check` type should just be a struct with an `Option`al name rather than a `Named`/`Unnamed` two-variant enum.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replacing `ColumnSpec::Check(Expr)` with `ColumnSpec::Check(Chec... | null |
SeaQL__sea-query__925 | SeaQL/sea-query | 925 | defect | 845b44ef14764f3c93be984cc682e80dbe6e7bf4 | 720352911de0ef064c80dc4984565dcff1c34aae | Unbox values | <!--
Thank you for contributing to this project!
If you need any help please feel free to contact us on Discord: https://discord.com/invite/uCPdDXzbdv
Or, mention our core members by typing `@GitHub_Handle` on any issue / PR
Add some test cases! It help reviewers to understand the behaviour and prevent it to ... | diff --git a/Cargo.toml b/Cargo.toml
index 145058e39..03159574f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -130,3 +130,7 @@ required-features = ["tests-cfg", "option-more-parentheses", "backend-mysql"]
[[bench]]
name = "basic"
harness = false
+
+[[bench]]
+name = "value"
+harness = false
diff --git a/benches/value.... | 4 | 4 | 1 | [{"id": "G0", "claim": "A guard should be put in place to keep `Value`'s size bounded and stop it growing unchecked — tyt2y3 proposed constraining it to about 32 bytes and boxing any type that would exceed that, while Expurple proposed simply asserting the current size for now so that a new larger variant forces a benc... | null |
SeaQL__sea-query__931 | SeaQL/sea-query | 931 | defect | f985330c1a8705626a9258691305fd8fe668cdda | 8f270bbe916c0b9ca90aa3a8064d3281ff7c5835 | Value: box BigDecimal and Array | These two types are already internally heap-allocated.
And boxing these two would bring down Value to 32 bytes.
I hope this is a fair trade off. | diff --git a/sea-query-binder/src/sqlx_mysql.rs b/sea-query-binder/src/sqlx_mysql.rs
index a817d21ca..5275f65f2 100644
--- a/sea-query-binder/src/sqlx_mysql.rs
+++ b/sea-query-binder/src/sqlx_mysql.rs
@@ -100,7 +100,7 @@ impl sqlx::IntoArguments<'_, sqlx::mysql::MySql> for SqlxValues {
}
... | 4 | 1 | 0 | [{"id": "G0", "claim": "The doc-comment explaining the Value size check was lost when moving the test from tests/size.rs into the compile-time check in src/value.rs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Going from 40 to 32 bytes is not w... | null |
SeaQL__sea-query__964 | SeaQL/sea-query | 964 | defect | 5f8cc2e5f25718488201fa1f548cbb0ad9e4a197 | d4863ca9dc52623efc18f3d96923e58ff7aa202f | feat(indexes): Support for index column operator class | ## New Features
- Adds support for specifying operator classes with index columns (closes #907)
Postgres only.
| diff --git a/src/backend/postgres/index.rs b/src/backend/postgres/index.rs
index 020e2a070..193d8ca4a 100644
--- a/src/backend/postgres/index.rs
+++ b/src/backend/postgres/index.rs
@@ -162,6 +162,9 @@ impl IndexBuilder for PostgresQueryBuilder {
}
}
}
+ if l... | 5 | 1 | 1 | [{"id": "G0", "claim": "The CI errors should be fixed.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`DynIden` is a new type of `Cow<'static, str>`, so write `operator_class.0` instead of `operator_class.to_string()`.", "category": "correctness", "... | null |
SeaQL__sea-streamer__17 | SeaQL/sea-streamer | 17 | defect | b1a3b7923eb24d45179c6086864eafadabd3bdef | 8e6a1cdb59709ec9ffd7ddcf53a3918b6212fe02 | Support producing a FutureRecord for Kafka | This PR is based on the discussion in https://github.com/SeaQL/sea-streamer/discussions/16
The current `send` functionality doesn't allow for specifying the key, partition, or headers for Kafka messages. This PR adds a `send_record` function that allows for specifying a [`FutureRecord`](https://docs.rs/rdkafka/0.36.... | diff --git a/sea-streamer-kafka/src/producer.rs b/sea-streamer-kafka/src/producer.rs
index fc3ff8a..a727f87 100644
--- a/sea-streamer-kafka/src/producer.rs
+++ b/sea-streamer-kafka/src/producer.rs
@@ -134,6 +134,28 @@ impl KafkaProducer {
.expect("Producer is still inside a transaction, please await the fu... | 2 | 2 | 1 | [{"id": "G0", "claim": "The consumer test should also assert the messages that the new FutureRecord loop produces (10..20), not just the send receipts.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The crate should also re-export rdkafka's `FutureRecor... | null |
SeaseLtd__rated-ranking-evaluator__107 | SeaseLtd/rated-ranking-evaluator | 107 | defect | cdd81de56adf8915b3b13fb86c619c03880c97e6 | 6739dc85f31839e2d7ade56c8c372e0a0b8daf11 | Feature/105 ndcg atk | The PR contains
- NDCG@K implementation
- Unit tests | diff --git a/rre-core/pom.xml b/rre-core/pom.xml
index 2b779ba4e..0aa87b3d6 100644
--- a/rre-core/pom.xml
+++ b/rre-core/pom.xml
@@ -47,7 +47,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.11</version>
+ <version>4.12</vers... | 5 | 3 | 0 | [{"id": "G0", "claim": "The default rating 2/TWO used when a search result has no rating should be extracted into a constant named defaultRating with a comment saying it is the default rating used when the search result has no rating.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "... | null |
SeaseLtd__rated-ranking-evaluator__111 | SeaseLtd/rated-ranking-evaluator | 111 | defect | da93efacb6653ff28e075fe7d83dd93d7256d8ff | 11f295b10067985579b686923d75d057687f325d | #109: Make maximum and default grades configurable. | This PR makes the following changes, as per this comment on the issue: https://github.com/SeaseLtd/rated-ranking-evaluator/issues/109#issuecomment-598304539
- Adds the maximum and default (missing) grades to the Maven configuration for the four evaluation plugins, with defaults of 3 and 2 respectively (as per curren... | diff --git a/rre-core/src/main/java/io/sease/rre/core/domain/Query.java b/rre-core/src/main/java/io/sease/rre/core/domain/Query.java
index 3021a312a..0740b850c 100644
--- a/rre-core/src/main/java/io/sease/rre/core/domain/Query.java
+++ b/rre-core/src/main/java/io/sease/rre/core/domain/Query.java
@@ -22,6 +22,7 @@
impo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The empty private constructor could be replaced by eagerly instantiating a static final INSTANCE field of MetricClassConfigurationManager.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SeaseLtd__rated-ranking-evaluator__254 | SeaseLtd/rated-ranking-evaluator | 254 | defect | a1471a1c3ef08ad9acea94f6c4221336ba36683c | cc28f5f087ae719ab41f9712c9e40aff15c200d3 | DAGE-110: nDCG formula update in RRE code | DAGE-110: [Jira ticket](https://sease.atlassian.net/browse/DAGE-110)
This PR is on top of [DAGE-102](https://github.com/SeaseLtd/rated-ranking-evaluator/pull/252). Better to merge the other one first.
Related to this PR:
- changes to NDCGAtK: implemented same metric to MTEB, with the first formula [here](https... | diff --git a/rre-core/src/main/java/io/sease/rre/core/domain/metrics/MetricClassConfigurationManager.java b/rre-core/src/main/java/io/sease/rre/core/domain/metrics/MetricClassConfigurationManager.java
index d4a4f2704..47483e236 100644
--- a/rre-core/src/main/java/io/sease/rre/core/domain/metrics/MetricClassConfiguratio... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the old nDCG formula line instead of leaving it commented out in NDCGAtK.java.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SeaseLtd__rated-ranking-evaluator__63 | SeaseLtd/rated-ranking-evaluator | 63 | defect | 018a0a431de85e06bd7732217c44da8932945899 | a1747d54acfa6f18eaf71fcce6929ff4129f893a | Allow semi-permanent data directories to be set in config | Modifications to allow semi-permanent external data directories to be
specified via the pom.xml. Remove need to re-ingest corpora every time
evaluation is run.
Squashed commit of the following:
commit f3c8390b7f36bf16b66a04018553f3202ecb8f1c
Author: Matt Pearce (OSC) <matthew.pierce@lexisnexis.co.uk>
Date: ... | diff --git a/rre-core/pom.xml b/rre-core/pom.xml
index d0ff7e880..f28963f09 100644
--- a/rre-core/pom.xml
+++ b/rre-core/pom.xml
@@ -21,6 +21,11 @@
<artifactId>rre-search-platform-api</artifactId>
<version>1.0</version>
</dependency>
+ <dependency>
+ <groupId>commons... | 5 | 4 | 0 | [{"id": "G0", "claim": "The else branch setting fileUpdateChecker to null is redundant, since the field should already be null when no checksum file was given.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new FileUpdateChecker class should... | null |
SecureAuthCorp__oauth2c__1 | SecureAuthCorp/oauth2c | 1 | defect | f0a2139fdc9fc2037645698e0d16ad45d88a4876 | 5fa2318baac7dc8db7a4c405a5c513708e3a76a0 | JWT bearer support | Add JWT bearer support

| diff --git a/README.md b/README.md
index 80f26db..a0ab529 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ Flags:
### Authorization code
``` sh
-$ oauth2c https://oauth2c.us.authz.cloudentity.io/oauth2c/demo \
+oauth2c https://oauth2c.us.authz.cloudentity.io/oauth2c/demo \
--client-id cauktionbud6q8ftlqq... | 3 | 3 | 1 | [{"id": "G0", "claim": "The failure to read the signing key discards the underlying error instead of wrapping it into the \"failed to read signing key\" error message.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The --insecure flag description sh... | null |
SecureAuthCorp__oauth2c__20 | SecureAuthCorp/oauth2c | 20 | defect | 3e41fdda45dea144936d6f6085998cb228c75854 | 972657ee78e95a01d8f3ecedb1fcc66e7e1dbe10 | Token exchange | Implements #8
TODO
- [x] display subject token
- [x] display actor token if provided
- [x] update flags in readme.md
- [x] add integration tests | diff --git a/README.md b/README.md
index f0e4578..3c4c4fd 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@
## Features
* Simple and intuitive interface for quickly experimenting with different OAuth 2.0 grant types and client authentication methods
-* Supports all modern OAuth 2.0 grant types: authorization... | 1 | 1 | 0 | [{"id": "G0", "claim": "The 'Learn more' link at the end of the README's token exchange section should read 'Learn more about the token exchange flow' rather than 'the jwt bearer flow'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SeismicSystems__seismic-reth__332 | SeismicSystems/seismic-reth | 332 | defect | 811044230459228daf6b6bbb8d505b851453d8b5 | 997585aaa51a11fdccea7b156cdf51e6c478b0cd | feat!(seismic-tx): add auth_list to TxSeismic + bump deps | Update seismic dependencies (alloy, revm, evm) and fix anything that needs updates in reth:
- Add `authorization_list: Vec<SignedAuthorization>` (EIP-7702) to TxSeismic, including Compact codec encoding/decoding and tests
- Add `CodeOverrideNotPermitted` variant to `EthApiError` to handle the new `StateOverrideError`... | diff --git a/Cargo.lock b/Cargo.lock
index 390307f07..cbf0a585a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -257,7 +257,7 @@ dependencies = [
[[package]]
name = "alloy-evm"
version = "0.20.1"
-source = "git+https://github.com/SeismicSystems/seismic-evm.git?rev=41bf4dd514d7d200dd341685e8e41986fdd6c526#41bf4dd514d7d20... | 8 | 3 | 2 | [{"id": "G0", "claim": "When building a TxSeismic from an AnyRpcTransaction, alloy_compat.rs hardcodes authorization_list to vec![], so a non-empty auth list in the RPC response would be silently dropped, changing the sighash and breaking sender recovery and any re-signing or re-verification of the deserialized transac... | null |
SeismicSystems__seismic-reth__352 | SeismicSystems/seismic-reth | 352 | defect | 6bdeb50beef9e464be977541180fd20a40dab099 | 97999efa802236adc668c0705c62ec30b24ce8c7 | refactor(seismic): migrate e2e integration tests to in-process node | ## Summary
Replaces the subprocess-based integration test architecture (`cargo run --bin seismic-reth`) with in-process node testing via `setup(1)` + `advance_block()`, matching the pattern used by upstream reth and already adopted by our `p2p.rs`, `testsuite.rs`, and `hardfork_config.rs` tests.
- **Split monolithic ... | diff --git a/.config/nextest.toml b/.config/nextest.toml
index 7b016302c..52b08edac 100644
--- a/.config/nextest.toml
+++ b/.config/nextest.toml
@@ -16,9 +16,3 @@ slow-timeout = { period = "2m", terminate-after = 10 }
filter = "binary(e2e_testsuite)"
slow-timeout = { period = "2m", terminate-after = 3 }
-# Seismic ... | 5 | 4 | 0 | [{"id": "G0", "claim": "SeismicApi and EthApiExt derive Debug and contain GetPurposeKeysResponse with tx_io_sk, so logging these types with {:?} would leak the secret key; the bot notes this as a pre-existing issue worth future cleanup.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "pre_e... | null |
SeleniumHQ__selenium-ide__1425 | SeleniumHQ/selenium-ide | 1,425 | defect | e8bb83c8ff45c0ce0ac8b74210cd56159a8b18a4 | f20880aecb8c77aaa897cf76329ba18274219e62 | New command pref attempt | rough attempt to start user prefs outside of projectstate | diff --git a/packages/selenium-ide/src/api/commands/state/index.ts b/packages/selenium-ide/src/api/commands/state/index.ts
index 2e3e950d06..4cb70ad9ef 100644
--- a/packages/selenium-ide/src/api/commands/state/index.ts
+++ b/packages/selenium-ide/src/api/commands/state/index.ts
@@ -7,5 +7,6 @@ export * as setActiveSuit... | 5 | 5 | 4 | [{"id": "G0", "claim": "Remove the passthrough argument from toggleUserPref's main handler, because the command needs to do storage work instead of immediately mutating and emitting the onMutate event.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The s... | null |
SeleniumHQ__selenium-ide__1493 | SeleniumHQ/selenium-ide | 1,493 | defect | e4466a9a2c857428382ac6b5cf547ec2922e9c76 | 68679006e480afab09274c8a5fc0373822ba4416 | Fix command target autocomplete selection | clean up autocomplete events to allow selection of targets in command editor | diff --git a/packages/selenium-ide/src/browser/windows/ProjectEditor/tabs/Suites/SuiteNewDialog.tsx b/packages/selenium-ide/src/browser/windows/ProjectEditor/tabs/Suites/SuiteNewDialog.tsx
index 9c4891b055..9b34f2ab29 100644
--- a/packages/selenium-ide/src/browser/windows/ProjectEditor/tabs/Suites/SuiteNewDialog.tsx
++... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `screenElectron` variable in Windows/index.ts should be declared as a const rather than a var.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Semantic-Org__Semantic-UI-React__1035 | Semantic-Org/Semantic-UI-React | 1,035 | defect | c2385926f0c4f1027f45e5ce50d0fdb5db7b90f3 | 62e063d1e8a9facae749aa38c33c81c91dab309e | fix(Button): Disabled Button with Label leaves Label enabled | fixes #1026 | diff --git a/src/elements/Button/Button.js b/src/elements/Button/Button.js
index 6316c954ae3..5495eaa24ee 100644
--- a/src/elements/Button/Button.js
+++ b/src/elements/Button/Button.js
@@ -1,4 +1,5 @@
import cx from 'classnames'
+import cxd from 'classnames/dedupe'
import React, { Component, PropTypes } from 'react'
... | 6 | 6 | 4 | [{"id": "G0", "claim": "When a Button has a label, the disabled class must be applied only to the container and not to the button as well, otherwise the button gets duplicate opacity rules and renders extra transparent.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "... | null |
Semantic-Org__Semantic-UI-React__1165 | Semantic-Org/Semantic-UI-React | 1,165 | defect | b7ffa6ad157817902c0bfe332f9eccc4cdcae128 | 79dd8f45864abc6b7c5ee1f79d68f7a91d61cebd | style(Loader|Reveal|Segment): propTypes cleanups and typings update | This PR is part of work for removing propTypes in production bundle (#524, #731).
Also, cleanups and updates typings for #1072.
Affects following components:
- `Loader`
- `Reveal`
- `Segment` | diff --git a/src/elements/Loader/Loader.js b/src/elements/Loader/Loader.js
index 4a266a116b..3e96a1ee22 100644
--- a/src/elements/Loader/Loader.js
+++ b/src/elements/Loader/Loader.js
@@ -44,16 +44,16 @@ function Loader(props) {
const rest = getUnhandledProps(Loader, props)
const ElementType = getElementType(Loade... | 1 | 1 | 1 | [{"id": "G0", "claim": "The removed portion of implementsTextAlignProp was the useful part of the test and should be restored as assertions of the proper className, looping over the alignments (e.g. SUI.TEXT_ALIGNMENTS, or via a defaulted alignments parameter usable by other meta-based common tests) instead of being dr... | null |
Semantic-Org__Semantic-UI-React__1216 | Semantic-Org/Semantic-UI-React | 1,216 | defect | efd079b12aab26e7d9b4e121303989edf30089fd | 77c9f09870b5cefcd8f916ba0f6a339a38b5895c | style(Button): update typings and propTypes usage | This PR is part of work for removing propTypes in production bundle (#524, #731).
Also, cleanups and updates typings for #1072. | diff --git a/src/elements/Button/Button.js b/src/elements/Button/Button.js
index eac59cb854..a047d8f176 100644
--- a/src/elements/Button/Button.js
+++ b/src/elements/Button/Button.js
@@ -1,5 +1,5 @@
-import _ from 'lodash'
import cx from 'classnames'
+import _ from 'lodash'
import React, { Component, PropTypes } from... | 1 | 1 | 0 | [{"id": "G0", "claim": "In SemanticCOLORS, the social colors (twitter, google plus, facebook) should not be available in every component — only the true color values should be shared, with social colors restricted to buttons.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"... | null |
Semantic-Org__Semantic-UI-React__1232 | Semantic-Org/Semantic-UI-React | 1,232 | defect | d3b1acd4e4dce300f388ad52489dceab0610ef27 | d31398284e1eaea262ca77fa204986a605e14873 | style(Statistic): update typings and propTypes usage | This PR is part of work for removing propTypes in production bundle (#524, #731).
Also, cleanups and updates typings for #1072. | diff --git a/src/views/Statistic/Statistic.js b/src/views/Statistic/Statistic.js
index 8379a151a1..456d226c19 100644
--- a/src/views/Statistic/Statistic.js
+++ b/src/views/Statistic/Statistic.js
@@ -1,5 +1,5 @@
-import _ from 'lodash'
import cx from 'classnames'
+import _ from 'lodash'
import React, { PropTypes } fro... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstring line the pull request added in src/views/Statistic/Statistic.js ends with a typo — 'attributeю' (a Cyrillic character) instead of 'attribute.'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Semantic-Org__Semantic-UI-React__1282 | Semantic-Org/Semantic-UI-React | 1,282 | defect | ced73f23055bd212862c5d05d7a378adc73b662d | 1986efb0d18cf73a70d9acc56535c819234a1d1f | style(Confirm): refactor, update typings and propTypes usage | This PR is part of work for removing propTypes in production bundle (#524, #731).
Also, cleanups and updates typings for #1072.
Fixes #1290.
---
**Warning**. This PR updates behavior of `onCancel` and `onConfirm`, now it handled inside `Confirm` component.
@levithomason I think we need to mark this change as... | diff --git a/src/addons/Confirm/Confirm.js b/src/addons/Confirm/Confirm.js
index fac09f1bfcf..feb7521c9fc 100644
--- a/src/addons/Confirm/Confirm.js
+++ b/src/addons/Confirm/Confirm.js
@@ -1,68 +1,103 @@
import _ from 'lodash'
-import React, { PropTypes } from 'react'
+import React, { Component, PropTypes } from 'reac... | 1 | 1 | 0 | [{"id": "G0", "claim": "The confirmButton string prop could be replaced with a `confirm` shorthand prop using customPropTypes.itemShorthand.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Semantic-Org__Semantic-UI-React__1490 | Semantic-Org/Semantic-UI-React | 1,490 | defect | 3fd65da0340f8336a998ba260264f624c13abb36 | e884e9d4751afd4d50dc7f4beb05dd8414e00d89 | fix(Dropdown): do not close on click when search is empty | Fixes #1451 . Mimics the behaviour of SUI core in similar scenario. | diff --git a/src/modules/Dropdown/Dropdown.js b/src/modules/Dropdown/Dropdown.js
index d2116e0942..f52c462d3e 100644
--- a/src/modules/Dropdown/Dropdown.js
+++ b/src/modules/Dropdown/Dropdown.js
@@ -995,7 +995,18 @@ export default class Dropdown extends Component {
this.setState({ focus: hasFocus })
}
- togg... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new toggle logic in Dropdown.js should be restructured so the not-open branch returns early and the empty-search preventDefault returns, instead of the nested if/else, because that reads better.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
Semantic-Org__Semantic-UI-React__1508 | Semantic-Org/Semantic-UI-React | 1,508 | defect | 3fd65da0340f8336a998ba260264f624c13abb36 | 2f1ff84f523c1110174c36279cf6bfd8db76bc4f | feat(Modal): Create a Modal using shorthand props | * can pass modal header, content, and actions via shorthand props [(#1390)](https://github.com/Semantic-Org/Semantic-UI-React/issues/1390)
* can pass actions props a triggerClose option that will allow buttons to control open/closing modal | diff --git a/src/modules/Modal/Modal.js b/src/modules/Modal/Modal.js
index d1bd58b235..695d7a640b 100644
--- a/src/modules/Modal/Modal.js
+++ b/src/modules/Modal/Modal.js
@@ -14,6 +14,7 @@ import {
} from '../../lib'
import Icon from '../../elements/Icon'
import Portal from '../../addons/Portal'
+import Button from ... | 7 | 7 | 5 | [{"id": "G0", "claim": "The redundant `&& header`-style truthiness checks on each shorthand `create` call can be removed because the factories already handle falsy values internally.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ModalActions.cr... | null |
Semantic-Org__Semantic-UI-React__1683 | Semantic-Org/Semantic-UI-React | 1,683 | defect | b2eaa7af4d099487c828513897b9e23ea94b3e35 | 8de41f1ec4d34570c85e5644a281b6cfb9243e08 | feat(Search): noResultsMessage prop can be a node | PR for this issue https://github.com/Semantic-Org/Semantic-UI-React/issues/1664 | diff --git a/src/modules/Search/Search.js b/src/modules/Search/Search.js
index c93008d30f..8c7bc10641 100644
--- a/src/modules/Search/Search.js
+++ b/src/modules/Search/Search.js
@@ -57,7 +57,10 @@ export default class Search extends Component {
noResultsDescription: PropTypes.string,
/** Message to display... | 2 | 2 | 1 | [{"id": "G0", "claim": "The noResultsMessage prop should be `PropTypes.node` only (objects are not renderable) and the Search.d.ts typings should be updated to reflect the type change.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The same type change m... | null |
Semantic-Org__Semantic-UI-React__1690 | Semantic-Org/Semantic-UI-React | 1,690 | defect | b2eaa7af4d099487c828513897b9e23ea94b3e35 | c5b99bf957439f482d2e1f3afff39b7820c46e38 | feat(Dropdown): Add minCharacters prop | I've added minCharacters props in Dropdown as requested in #1124. Now we can set the minimum characters for a search to begin showing results.
I also would like to add saveRemoteData but I'm wondered if it's not useless. Because someone will use Flux' store and someone else the Redux' store and the other the locale ... | diff --git a/src/modules/Dropdown/Dropdown.d.ts b/src/modules/Dropdown/Dropdown.d.ts
index 45a998cef3..1d187a37af 100644
--- a/src/modules/Dropdown/Dropdown.d.ts
+++ b/src/modules/Dropdown/Dropdown.d.ts
@@ -88,6 +88,9 @@ export interface DropdownProps {
/** A dropdown can show that it is currently loading data. */
... | 2 | 2 | 0 | [{"id": "G0", "claim": "In keeping with the code style, minCharacters should be destructured from props (on line 715) instead of accessed as this.props.minCharacters.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When a string includes single q... | null |
Semantic-Org__Semantic-UI-React__1722 | Semantic-Org/Semantic-UI-React | 1,722 | defect | 1a1b9e06661609d138432ad8f7c127e92411db6a | e2bbd17210f59038abee95025aecca1b3d567813 | fix(Dropdown): fix `minCharacter` prop behaviour | Fixes #1718.
# Behaviours
This PR fixes issues with `minCharacters` and also some other inconsistent things.
#### TODO
- [x] onClick
- [x] onClick (toogle)
- [x] onFocus
- [x] onChange
- [x] onChange (`Enter`)
> onFocus (placeholder #1299, will be done in separate task)
## onClick
_Note_, that ... | diff --git a/docs/app/Examples/elements/Container/Types/ContainerExampleContainer.js b/docs/app/Examples/elements/Container/Types/ContainerExampleContainer.js
index 3f45a31c48..3e0075f75d 100644
--- a/docs/app/Examples/elements/Container/Types/ContainerExampleContainer.js
+++ b/docs/app/Examples/elements/Container/Type... | 2 | 2 | 1 | [{"id": "G0", "claim": "The file docs/app/Examples/elements/Container/Types/ContainerExampleContainer.js has the wrong content — a Dropdown search-selection example was written over the Container example and should be reverted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"... | null |
Semantic-Org__Semantic-UI-React__1733 | Semantic-Org/Semantic-UI-React | 1,733 | defect | 100c24604b1e771b45e841ef3fd43f2e20b1fdbb | 948dbf782efac4575ca68afe2480180d490f4723 | feat(events): add eventStack | Rel #284.
Fixes #1657.
### What is it?
This PR introduces a new event handling system that will solve following problems:
- event priority, only top event will be emitted (will help with multiple `Modal`s and `Dropdown`s);
- solve performance problems with multiple `Dropdown`s;
### Example
```diff
-docu... | diff --git a/src/lib/eventPool.js b/src/lib/eventPool.js
new file mode 100644
index 0000000000..0006091e9b
--- /dev/null
+++ b/src/lib/eventPool.js
@@ -0,0 +1,63 @@
+import _ from 'lodash'
+
+class EventPool {
+ events = []
+ queues = {}
+
+ // ------------------------------------
+ // Utils
+ // -----------------... | 3 | 2 | 1 | [{"id": "G0", "claim": "The emit method returns a new function on each call, so unlisten may not remove the original listener that listen added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim": "There is no test covering the removeItemOnBackspace behav... | null |
Semantic-Org__Semantic-UI-React__1739 | Semantic-Org/Semantic-UI-React | 1,739 | defect | 0f9c691e6b89b674df268b657f5229405d11f0df | 90d24560bd13225b38da7d08f574a87769e8197e | feat(Modal): impliment Dimmer shorthand | Fixes #3195.
This PR adds support for shorthand API in the `dimmer` prop for `Modal`. This allows to apply callbacks or props specifically to a `dimmer` slot:
```jsx
// Was possible before
<Modal dimmer='blurring' />
<Modal dimmer='inverted' />
// Now it's possible to do
<Modal dimmer={{ blurring: true, id: ... | diff --git a/index.d.ts b/index.d.ts
index 9d5addd4f0..c0b0aafa71 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -504,6 +504,11 @@ export {
ModalDescriptionProps,
StrictModalDescriptionProps,
} from './dist/commonjs/modules/Modal/ModalDescription'
+export {
+ default as ModalDimmer,
+ ModalDimmerProps,
+ StrictM... | 2 | 2 | 1 | [{"id": "G0", "claim": "The className prop should not be applied to both the Modal and the Dimmer; the Modal should instead render the actual Dimmer component and expose a shorthand for controlling it (e.g. <Modal dimmer={{ className: 'my-dimmer' }} />).", "category": "design", "verdict": "supported", "priority": "P1",... | null |
Semantic-Org__Semantic-UI-React__1799 | Semantic-Org/Semantic-UI-React | 1,799 | defect | c920021d4529f53e12ac77d4a48c3e27716a8bb6 | 4c9ecf38c0095bc15dd4a7fc67213e92c75deb3b | fix(AutoControlledComponent): use setState instead of an assign | Fixes #1761.
Fixes #1682.
In #1770, I suggested that the problem is in that `setState` is an async, I was right. `AutoControlledComponent` component's children such as `Dropdown` and `Search` had own logic inside the `componentWillMount` method that relied on the current state.
The `componentWillMount` method w... | diff --git a/src/addons/Portal/Portal.js b/src/addons/Portal/Portal.js
index 0118a4a70e..fc9c7bcc00 100644
--- a/src/addons/Portal/Portal.js
+++ b/src/addons/Portal/Portal.js
@@ -136,8 +136,6 @@ class Portal extends Component {
type: META.TYPES.ADDON,
}
- state = {}
-
componentDidMount() {
debug('com... | 3 | 1 | 0 | [{"id": "G0", "claim": "Remove the leftover `state = {}` class property in Portal.js now that state is assigned inside the constructor.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the leftover `if (super.componentWillMount) super.compo... | null |
Semantic-Org__Semantic-UI-React__1894 | Semantic-Org/Semantic-UI-React | 1,894 | defect | 02daf0fb3d1ca8709b208727b65ef97a8aafa859 | 1f29cb330b8639e9baf6fd056b3312ed2147d27f | feat(Tab): Add vertical tabbing | In the current implementation it's impossible to set tabs to be in a vertical format.
This pr changes this. | diff --git a/docs/app/Examples/modules/Tab/MenuVariations/TabExampleVerticalTrue.js b/docs/app/Examples/modules/Tab/MenuVariations/TabExampleVerticalTrue.js
new file mode 100644
index 0000000000..b1c26429e2
--- /dev/null
+++ b/docs/app/Examples/modules/Tab/MenuVariations/TabExampleVerticalTrue.js
@@ -0,0 +1,14 @@
+impo... | 9 | 9 | 3 | [{"id": "G0", "claim": "The PR should not add a 'left' value to the Menu tabular prop, since UI-Menu has no special CSS for it and 'left' is already the default.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "GridColumn.create is built by passing more ma... | null |
Semantic-Org__Semantic-UI-React__1918 | Semantic-Org/Semantic-UI-React | 1,918 | defect | ae448aebe8fcd5d4f07402a4cb81cc4bc5626c17 | 9402f5786c41fa9938c2e5bbc5a4dd32f3498938 | feat(Dropdown): lazyLoad prop for menu items | Lazy-loading options will be very useful and efficient when there are many options.
We could eventually bind it to a prop like 'lazyLoad={true}'. | diff --git a/src/modules/Dropdown/Dropdown.js b/src/modules/Dropdown/Dropdown.js
index 4deafaa14a3..2cbfc8440cd 100644
--- a/src/modules/Dropdown/Dropdown.js
+++ b/src/modules/Dropdown/Dropdown.js
@@ -1177,7 +1177,7 @@ export default class Dropdown extends Component {
renderOptions = () => {
const { multiple,... | 2 | 1 | 1 | [{"id": "G0", "claim": "The Dropdown test should re-open the dropdown after clicking the first item and verify that the first item has prop 'active' true, instead of commenting the assertion out.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The merged... | null |
Semantic-Org__Semantic-UI-React__1963 | Semantic-Org/Semantic-UI-React | 1,963 | defect | a4780cd5d47140ef8ca66b03dd44597c3594c6b8 | a181d4ebc9a37add718fbb41bed6d0b421016ceb | fix(Search): only call onBlur & onFocus event handler once | Fixes #1962
Search component onBlur and onFocus event handers should not be called twice. | diff --git a/src/modules/Search/Search.js b/src/modules/Search/Search.js
index 9319c4864f..ee1a18e869 100644
--- a/src/modules/Search/Search.js
+++ b/src/modules/Search/Search.js
@@ -539,10 +539,8 @@ export default class Search extends Component {
...rest,
icon,
input: { className: 'prompt', tabInd... | 1 | 1 | 1 | [{"id": "G0", "claim": "Tests should be added so that the one-call onBlur & onFocus behavior the PR fixes is covered and such regressions are prevented in the future.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Semantic-Org__Semantic-UI-React__1978 | Semantic-Org/Semantic-UI-React | 1,978 | defect | a4780cd5d47140ef8ca66b03dd44597c3594c6b8 | 380cbe191bb451d67f25a459cc2d7bf8539c9f0b | feat(Sticky|Visibility): add scroll context | Fixes #1959. | diff --git a/src/behaviors/Visibility/Visibility.d.ts b/src/behaviors/Visibility/Visibility.d.ts
index 3e8bbd13a3..dc7ad7fdb8 100644
--- a/src/behaviors/Visibility/Visibility.d.ts
+++ b/src/behaviors/Visibility/Visibility.d.ts
@@ -9,6 +9,9 @@ export interface VisibilityProps {
/** Primary content. */
children?: R... | 8 | 2 | 0 | [{"id": "G0", "claim": "Sticky's hardcoded window.* references (e.g. window.innerHeight) were not changed to use scrollContext, and as a result sticky sections stay visible and stack up while scrolling.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
Semantic-Org__Semantic-UI-React__2038 | Semantic-Org/Semantic-UI-React | 2,038 | defect | 7f39631e97f3cc1724a2c69136bb9506c7603ab9 | 5ebe69c5d20845ab0e6de1a9233e43f86abc08c5 | feat(Card): add textAlign prop to Card subcomponents | Fixes #2027 | diff --git a/src/views/Card/CardContent.d.ts b/src/views/Card/CardContent.d.ts
index 921185ae866..152ba4c5ed8 100644
--- a/src/views/Card/CardContent.d.ts
+++ b/src/views/Card/CardContent.d.ts
@@ -28,6 +28,9 @@ export interface CardContentProps {
/** Shorthand for CardMeta. */
meta?: SemanticShorthandItem<CardM... | 4 | 4 | 0 | [{"id": "G0", "claim": "Tests should pass `_.without(SUI.TEXT_ALIGNMENTS, 'justified')` instead of the hard-coded array `['left', 'center', 'right']` to `implementsTextAlignProp`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In CardGroup the `... | null |
Semantic-Org__Semantic-UI-React__2088 | Semantic-Org/Semantic-UI-React | 2,088 | defect | 65ce85253252a010fe0771ad48a86fe44be0ef96 | 1e9e4a4fdf86b1a84a6a814bebb22f530b47350e | fix(Visibility): fix behaviour of reverse calls | I'm working on #2070, but it can't be finished without changes there.
We have wrong behaviour for `*reverse` callbacks and it's easy to show, see GIFs. We fire them always, but in fact they should be called in the oppositite condition.
```js
// topPassed
if(calculations.topPassed) module.execute(callback, call... | diff --git a/src/behaviors/Visibility/Visibility.js b/src/behaviors/Visibility/Visibility.js
index eeab312af5..5bb2c6e423 100644
--- a/src/behaviors/Visibility/Visibility.js
+++ b/src/behaviors/Visibility/Visibility.js
@@ -171,21 +171,27 @@ export default class Visibility extends Component {
}
calculations = {
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The rename from `firedCallbacks` to `occurredCallbacks` should be reverted because the original name `firedCallbacks` is more appropriate.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "As a nit, the scroll handler should... | null |
Semantic-Org__Semantic-UI-React__2165 | Semantic-Org/Semantic-UI-React | 2,165 | defect | ee931d27fb0afee4606f4a316207cbd634ddaa1b | 7bb2108a1cec567989b0da712031d86441546560 | fix(Form): don't prevent form submission when action='' | When the action attribute is an empty string it means to submit to the current URL which is quite useful. | diff --git a/src/collections/Form/Form.js b/src/collections/Form/Form.js
index 7739df0bc10..e11ceea118c 100644
--- a/src/collections/Form/Form.js
+++ b/src/collections/Form/Form.js
@@ -102,7 +102,7 @@ class Form extends Component {
// Heads up! Third party libs can pass own data as first argument, we need to che... | 1 | 1 | 1 | [{"id": "G0", "claim": "The reviewer thinks `false` and `null` are also blocking values and asks to update the condition and test assertions to treat them as blocking.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Semantic-Org__Semantic-UI-React__2182 | Semantic-Org/Semantic-UI-React | 2,182 | defect | e1b0e91c5d701cfad38fbfa561ff65a10b1279cf | 10c6669aaa769a77cda990aeda487cef13211847 | fix(Popup): execute `onClose` when Popup closes on scroll | I believe when a popup closes on scroll the `onClose` handler should be called, since the popup *closed*.
This PR makes it so. | diff --git a/src/modules/Popup/Popup.js b/src/modules/Popup/Popup.js
index d4e6bc3113..cebef0ee7e 100644
--- a/src/modules/Popup/Popup.js
+++ b/src/modules/Popup/Popup.js
@@ -278,11 +278,13 @@ export default class Popup extends Component {
return portalProps
}
- hideOnScroll = () => {
+ hideOnScroll = (e) =... | 3 | 2 | 1 | [{"id": "G0", "claim": "The `closed` state logic with the 50ms timeout that re-opens the popup is confusing and its purpose is unclear.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The 50ms timeout is never cancelled on unmount, so setState can still... | null |
Semantic-Org__Semantic-UI-React__2316 | Semantic-Org/Semantic-UI-React | 2,316 | defect | 003fd193774dc226b5e6402bf124034658723bc6 | 0cbec99780f0ff197527e85c0c7f675f9fdf4762 | feat(Image): improve handling of HTML props | Related to #2079.
This PR improves handling of HTML props using our `partitionHTMLInputProps` function and adds examples. | diff --git a/docs/app/Examples/elements/Image/Usage/ImageExampleImageProps.js b/docs/app/Examples/elements/Image/Usage/ImageExampleImageProps.js
new file mode 100644
index 0000000000..7da3c4b3ba
--- /dev/null
+++ b/docs/app/Examples/elements/Image/Usage/ImageExampleImageProps.js
@@ -0,0 +1,13 @@
+import React from 'rea... | 1 | 1 | 1 | [{"id": "G0", "claim": "Overloading the input prop parser (partitionHTMLInputProps) for an Image is strange; it should become a generic parser instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Semantic-Org__Semantic-UI-React__2531 | Semantic-Org/Semantic-UI-React | 2,531 | defect | da7d96fb51d08f09bddf14f16af6fa8544fc4c1d | 7205e1b7a3828a8a4f7125bff221088553fa4dcb | fix(Responsive): use root element client width | There is currently an issue with the [Responsive](https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/addons/Responsive/Responsive.js) component regarding the expected rendering behavior. While the element should render if it's visible the `fitsMinWidth` and `fitsMaxWidth` can return miss matches dependin... | diff --git a/src/addons/Responsive/Responsive.js b/src/addons/Responsive/Responsive.js
index dfd1fba2bb..d8a94a8f07 100644
--- a/src/addons/Responsive/Responsive.js
+++ b/src/addons/Responsive/Responsive.js
@@ -60,7 +60,7 @@ export default class Responsive extends Component {
constructor(...args) {
super(...arg... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new document.documentElement.clientWidth logic deserves an inline comment with the GitHub issue URL and a one-line description of why it is used.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Semantic-Org__Semantic-UI-React__2533 | Semantic-Org/Semantic-UI-React | 2,533 | defect | da7d96fb51d08f09bddf14f16af6fa8544fc4c1d | ebb6e93133049c46120ab027dbbe0511462fbc17 | feat(Dropdown): 'wrapSelecion' prop: option to disable "infinity" list | As discussed on issue [#2476](https://github.com/Semantic-Org/Semantic-UI-React/issues/2476), I have implemented the commented functionality, with the use of the 'wrapSelection' prop on the Dropdown component. I've also added simple tests and an example to the documentation | diff --git a/docs/app/Examples/modules/Dropdown/Usage/DropdownExampleWrapSelection.js b/docs/app/Examples/modules/Dropdown/Usage/DropdownExampleWrapSelection.js
new file mode 100644
index 0000000000..3109ec6076
--- /dev/null
+++ b/docs/app/Examples/modules/Dropdown/Usage/DropdownExampleWrapSelection.js
@@ -0,0 +1,14 @@... | 7 | 6 | 1 | [{"id": "G0", "claim": "The new wrapSelection doc comment in Dropdown.d.ts should fix the whitespace: extra space before `nor` and missing space after `last(`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The multi-line block comment inside the ... | null |
Semantic-Org__Semantic-UI-React__3024 | Semantic-Org/Semantic-UI-React | 3,024 | defect | 63d7175b54263d59572ab1030a481a06f18c0c7f | 8b83a83d4a938fca738c371faa5d096447d422f7 | fix(Modal): prevent resize loop for full screen height | This fixes [the bug reported here](https://stackoverflow.com/questions/41453780/semantic-react-modal-weird-height-behavior/51426377#51426377).
My assumptions:
1. It is a good thing to allow consumers of `Modal` to override the full screen modal to fill the height of the screen.
1. The change does not materially af... | diff --git a/src/modules/Modal/Modal.js b/src/modules/Modal/Modal.js
index de67d56964..702506178f 100644
--- a/src/modules/Modal/Modal.js
+++ b/src/modules/Modal/Modal.js
@@ -252,7 +252,7 @@ class Modal extends Component {
// SEE: https://github.com/Semantic-Org/Semantic-UI/issues/6185#issuecomment-376725956
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The existing Modal test is too loose; split it and add a test asserting that the scrolling class is not added to the body when the Modal's height is equal to the window height.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Semantic-Org__Semantic-UI-React__3377 | Semantic-Org/Semantic-UI-React | 3,377 | defect | d53b3545476954baa9f5e7f783179fdded0ecb8f | a56512ff79c6b75b829ea1724635c6c6671ce66f | feat(Popup): add `disabled` prop | Fixes: https://github.com/Semantic-Org/Semantic-UI-React/issues/3339
Let me know if something is missing from this. | diff --git a/src/modules/Popup/Popup.d.ts b/src/modules/Popup/Popup.d.ts
index 0817e25c37..6eb44ecd71 100644
--- a/src/modules/Popup/Popup.d.ts
+++ b/src/modules/Popup/Popup.d.ts
@@ -109,6 +109,9 @@ export interface StrictPopupProps extends StrictPortalProps {
/** Element to be rendered within the confines of the ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The description of the `disabled` prop should be reworded to \"A disabled popup only renders its trigger.\", as offered in the suggestion block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should add a doc site ex... | null |
Semantic-Org__Semantic-UI-React__3435 | Semantic-Org/Semantic-UI-React | 3,435 | defect | 2b8a7eb22fe6e4b7f84c45ed6b1220aad6eb1419 | 8f02615c7b9fc64aa11ad2fd4ec480986a8da5fd | fix(Checkbox): prevent click propagation from the input element | Initially the click was being fired from both `label` and `input`

Now it only comes from `label`
}
... | 6 | 6 | 0 | [{"id": "G0", "claim": "The tests should check that only one click is propagated in all four combinations: with and without `id`, clicked on `label` and on `input`.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should call domEvent.click with ... | null |
Semantic-Org__Semantic-UI-React__3452 | Semantic-Org/Semantic-UI-React | 3,452 | defect | 89c74f8eb3fbb771dc7e610581941cd153e05306 | e2d44523efa0f619411d50d8e0f14f861cce9df9 | fix(Dropdown): retains focus after selection | Fixes #3349.
@layershifter Could you please review this one? | diff --git a/src/lib/AutoControlledComponent.js b/src/lib/AutoControlledComponent.js
index 8c48a6507e..eff5485b8c 100644
--- a/src/lib/AutoControlledComponent.js
+++ b/src/lib/AutoControlledComponent.js
@@ -183,8 +183,9 @@ export default class AutoControlledComponent extends Component {
* Second argument is a state... | 4 | 3 | 0 | [{"id": "G0", "claim": "The `state` second argument of `trySetState` should be removed so the method matches React's setState API 1:1 (callback as second arg), with extra state keys folded into `maybeState` instead of passed separately.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
Semantic-Org__Semantic-UI-React__3456 | Semantic-Org/Semantic-UI-React | 3,456 | defect | b5c65ed338a0638ba91f5dda056ae0b7d93450cc | 710aa71d9340780dd91c27d181ff0ed20ab909cc | fix(Search): prevent blur event when SearchResult is clicked | fixes #3298
I couldn't write the test code.
If you know how to do it, please let me know
thanks in advance | diff --git a/src/modules/Search/Search.js b/src/modules/Search/Search.js
index 4df7eee1c5..65c25705d9 100644
--- a/src/modules/Search/Search.js
+++ b/src/modules/Search/Search.js
@@ -552,6 +552,7 @@ export default class Search extends Component {
key={childKey || result.title}
active={selectedIndex ==... | 3 | 3 | 1 | [{"id": "G0", "claim": "Move the inline `onMouseDown={e => e.preventDefault()}` handler into a separate `handleItemMouseDown` class method placed under `handleItemClick`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use `_.invoke()` for the on... | null |
Semantic-Org__Semantic-UI-React__3657 | Semantic-Org/Semantic-UI-React | 3,657 | defect | bcc1d06dffba40af484a4aed517cbcac46a7717b | 4c72c7eafbc9962f476b8a24f3d49971855db899 | feat(Popup): add `popperDependencies` prop | Fixes #3639.
This PR adds `popperDependencies` that behaves like dependencies in React Hooks and allows to schedule a position update for `Popup`. Should be used in cases when content is changing. | diff --git a/docs/src/examples/modules/Popup/Usage/PopupExamplePopperDependencies.js b/docs/src/examples/modules/Popup/Usage/PopupExamplePopperDependencies.js
new file mode 100644
index 0000000000..7f6ae44cc4
--- /dev/null
+++ b/docs/src/examples/modules/Popup/Usage/PopupExamplePopperDependencies.js
@@ -0,0 +1,52 @@
+i... | 1 | 1 | 1 | [{"id": "G0", "claim": "In handlePortalUnmount the PR sets this.open = true; it should be this.open = false so the open flag does not stay true after the portal unmounts.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Semantic-Org__Semantic-UI-React__3760 | Semantic-Org/Semantic-UI-React | 3,760 | defect | eba3cfb457478d5cbbcab3c705a765fb342c1d4f | b15bce5f99f00c4453bdded413add1fa36c04074 | feat(Popup): add `positionFixed` to support fixed mode in `Popper.JS` | Fixes #3718.
Add support for popper.js to position the popup correctly if used with a mountNode inside a `position: fixed` container | diff --git a/src/modules/Popup/Popup.d.ts b/src/modules/Popup/Popup.d.ts
index bb1ecbb97e..740470cf16 100644
--- a/src/modules/Popup/Popup.d.ts
+++ b/src/modules/Popup/Popup.d.ts
@@ -107,6 +107,9 @@ export interface StrictPopupProps extends StrictPortalProps {
| 'top center'
| 'bottom center'
+ /** Enables... | 4 | 4 | 0 | [{"id": "G0", "claim": "It is not required to set the `positionFixed` default to `false` in Popup's defaultProps.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default-value test should instead assert that `positionFixed` is not set as a pr... | null |
Semantic-Org__Semantic-UI-React__3901 | Semantic-Org/Semantic-UI-React | 3,901 | defect | 2dbab6bec372f3013d4c18448c2600c9d531e378 | bcf4ca52be77d7f2b6188cf14afea8215f8ed445 | fix(FormFiled): pass `id` when contains child elements or has `content` prop | Fixes https://github.com/Semantic-Org/Semantic-UI-React/issues/3900
Fixed issue where ID cannot be set when contains child elements or content props for FormField
| diff --git a/src/collections/Form/FormField.js b/src/collections/Form/FormField.js
index 0ee340a428..d154a3f05d 100644
--- a/src/collections/Form/FormField.js
+++ b/src/collections/Form/FormField.js
@@ -75,17 +75,18 @@ function FormField(props) {
// No Control
// ----------------------------------------
+ cons... | 1 | 1 | 0 | [{"id": "G0", "claim": "Drop the `noControlProps` indirection and pass `id` explicitly on the `ElementType` in the two no-control return branches of FormField.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Semantic-Org__Semantic-UI-React__3947 | Semantic-Org/Semantic-UI-React | 3,947 | defect | 5e0a366b85a4e5b32695e71e39cf7a8f95823c29 | a918d91af3ad63042f03bb62f6651fd95a44949f | chore: update `react-popper` to v2 | Popper.js v1 is out of date, v2 was released in Dec 2019, time to upgrade 🚀
---
# ⚠️ BREAKING CHANGES
`Popup` component will use `@popperjs/core` v2. As result, there are two breaking changes in `Popup` component itself.
## `offset` can't be specified as `string` anymore
Previously it was possible to pa... | diff --git a/docs/src/examples/modules/Popup/Usage/PopupExampleEventsEnabled.js b/docs/src/examples/modules/Popup/Usage/PopupExampleEventsEnabled.js
deleted file mode 100644
index c0bbebc02f..0000000000
--- a/docs/src/examples/modules/Popup/Usage/PopupExampleEventsEnabled.js
+++ /dev/null
@@ -1,39 +0,0 @@
-import React... | 4 | 4 | 1 | [{"id": "G0", "claim": "Popper.js logs a console warning about the margin position in styles coming from the SUI CSS, and the suggested fix is margin: 0 rules for .ui.top.popup and the centered/bottom variants, likely as an additional change in another Semantic repo.", "category": "design", "verdict": "supported", "pri... | null |
Semantic-Org__Semantic-UI-React__4282 | Semantic-Org/Semantic-UI-React | 4,282 | defect | 26362aab9187e94e67498719ea86b2000c568dd0 | c30c98d99db094a1a8be454855e0c197c71e3879 | feat(Search): add "placeholder" & documentation | Fixes #3806. | diff --git a/docs/src/examples/modules/Search/Types/SearchExampleStandard.js b/docs/src/examples/modules/Search/Types/SearchExampleStandard.js
index 82caaa76a1..0a15fefd05 100644
--- a/docs/src/examples/modules/Search/Types/SearchExampleStandard.js
+++ b/docs/src/examples/modules/Search/Types/SearchExampleStandard.js
@... | 2 | 2 | 1 | [{"id": "G0", "claim": "The example's placeholder value should be 'Search...' (with an ellipsis) instead of 'Search'.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The change causes the search's <input> element to have a superfluous valueless p... | null |
Semantic-Org__Semantic-UI-React__731 | Semantic-Org/Semantic-UI-React | 731 | defect | 01850322b2f9c9da3acf7991cf44065c4eb05e96 | c16f88c3085897f79a687dd5468509d704189ded | perf(props): Remove propTypes from production build | For details - #524
This PR might to do:
- [x] updates contributing guide;
- [x] updates `getUnhandledProps` function;
- [x] adds new sections for common tests.
- [x] updates `ComponentProps` component in docs (we can't rely on `meta` anymore).
---
@levithomason I've updated `Rail` component, waiting for re... | diff --git a/.babelrc b/.babelrc
index f408783fde..3ba78fe01a 100644
--- a/.babelrc
+++ b/.babelrc
@@ -5,7 +5,15 @@
"stage-1"
],
"plugins": [
- "lodash"
+ "lodash",
+ "transform-react-constant-elements",
+ ["transform-react-remove-prop-types", {
+ "mode": "wrap"
+ }],
+ ["transform-run... | 7 | 5 | 0 | [{"id": "G0", "claim": "Instead of manually wrapping propTypes in `process.env.NODE_ENV !== 'production'` checks everywhere, the removal of propTypes from production builds should be done as part of the build process with babel-plugin-transform-react-remove-prop-types.", "category": "design", "verdict": "supported", "p... | null |
Semantic-Org__Semantic-UI-React__950 | Semantic-Org/Semantic-UI-React | 950 | defect | f450f677d43d9b50850fa4785f71531db874f93f | aca603fe0f8b798816e984de7eac8d8102496ca9 | feat(Card): pass props to onClick | Fixes #949 | diff --git a/src/views/Card/Card.js b/src/views/Card/Card.js
index d56ac33744..2ce7c65b84 100644
--- a/src/views/Card/Card.js
+++ b/src/views/Card/Card.js
@@ -66,7 +66,13 @@ export default class Card extends Component {
/** Shorthand for CardMeta. */
meta: customPropTypes.itemShorthand,
- /** Render as a... | 1 | 1 | 0 | [{"id": "G0", "claim": "The onClick `data` param should be documented as the component's props rather than the vague phrase 'Relevant data'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.