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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AcademySoftwareFoundation__openvdb__379 | AcademySoftwareFoundation/openvdb | 379 | defect | caf54ecb51b48ea95ed02250da3d164f9df0c27d | b2cb1fa3ad098de5a60bc565d29ddb6fcebf8163 | Minor fixes for misc. gcc 6.4 compiler warnings | This should be the complete set of fixes for gcc 6.4 warnings (the ones enabled in the makefile). Note that a lot of these changes may impact the precision of various calculations. I've fixed these in the context of the expression return types - please comment on any where you think this might not be valid. | diff --git a/openvdb/Grid.h b/openvdb/Grid.h
index f9afb17e1d..f6fe73847f 100644
--- a/openvdb/Grid.h
+++ b/openvdb/Grid.h
@@ -1355,7 +1355,10 @@ template<typename TreeT>
inline void
Grid<TreeT>::pruneGrid(float tolerance)
{
- this->tree().prune(ValueType(zeroVal<ValueType>() + tolerance));
+ constexpr bool Is... | 8 | 6 | 3 | [{"id": "G0", "claim": "The GCC diagnostic guard added around CoordBBox::empty also matches ICC, which defines __GNUC__ but uses different diagnostic flags, so it needs at least a #ifndef __INTEL_COMPILER (or similar) guard.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
AcademySoftwareFoundation__openvdb__536 | AcademySoftwareFoundation/openvdb | 536 | defect | 888520abba7a3e3fc6f6a054420e9c477525ad22 | cab9409bb683170bfb4bd271931b1cb852374a14 | Added Tree::nodeCount | Signed-off-by: Ken Museth <ken.museth@gmail.com>
This method returns a list (std::vector) with node counts organized by node type. It will improve the performance of Tree::print (which currently uses a slow Tree iterator to count nodes as oppose to bit-mask counting in Tree::nodeCount) and can optimize node allocati... | diff --git a/CHANGES b/CHANGES
index 5125e985e3..6b670e4366 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@ Version 7.0.0 - In development
As of this release, a C++14 compiler is required and the oldest
supported Houdini version is 17.0.
+ New features:
+ - Added Tree::nodeCount, which counts the ... | 5 | 4 | 0 | [{"id": "G0", "claim": "The `@par` line removed from doc/changes.txt was deleted by accident and should be restored.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The nodeCount implementation should follow convention and be moved outside of the f... | null |
AcademySoftwareFoundation__openvdb__584 | AcademySoftwareFoundation/openvdb | 584 | defect | ec8942eb8bdef795e9d8d6cb99156ae8b4120313 | 0da8f36e7b24e4ad1c7a1b87e91d3c25191ec671 | The interface for evalActiveVoxelBoundingBox suggests it returns false. | The interface for evalActiveVoxelBoundingBox suggests it returns false.
if empty, but only does so if the tree is empty. This will change
it so it will also do so if the computed bounds are empty. | diff --git a/openvdb/tree/Tree.h b/openvdb/tree/Tree.h
index 1b391c540d..5b98ba203d 100644
--- a/openvdb/tree/Tree.h
+++ b/openvdb/tree/Tree.h
@@ -2138,7 +2138,7 @@ Tree<RootNodeType>::evalLeafBoundingBox(CoordBBox& bbox) const
mRoot.evalActiveBoundingBox(bbox, false);
- return true;// not empty
+ return... | 2 | 2 | 1 | [{"id": "G0", "claim": "The fix needs a unit test and a change note added before it can be approved.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The brief for evalLeafBoundingBox should be updated to say it returns the axis-aligned bounding box of al... | null |
AcademySoftwareFoundation__openvdb__590 | AcademySoftwareFoundation/openvdb | 590 | defect | 5f9ff0152952211a326a41d258a0b16263b97502 | 7dea20c6923a18e7035d55e8c4d4dc87bab493d0 | OVDB-136: Attribute Default Value Metadata | AttributeArray default value metadata has never been properly supported, it's mainly been used as a means to ensure 1-to-1 consistency with data coming from Houdini. This change resolves this so that the default value is applied from the metadata when appending attributes and during construction and copy-construction o... | diff --git a/CHANGES b/CHANGES
index 83e7f9b7be..f5e990c1b5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,7 +1,7 @@
OpenVDB Version History
=======================
-Version 7.0.1 - In Development
+Version 7.1.0 - In Development
Improvements:
- Added GroupWriteHandle::setUnsafe() for faster performance when t... | 3 | 3 | 2 | [{"id": "G0", "claim": "Changing the API from Metadata::Ptr to Metadata* causes a bunch of deprecations and is inconsistent with the PointAttribute API, which is suboptimal.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The create()/appendAttribute() co... | null |
AcademySoftwareFoundation__openvdb__595 | AcademySoftwareFoundation/openvdb | 595 | defect | b91064f768e04f35dada525ef780d2b3ab10a9f1 | a0bcc21867d2eb41d2d8b125eba483a073566bde | OVDB-136: Point Group Inspection | Move group inspection functionality from point_group_internal::GroupInfo up into the AttributeSet and Descriptor so that it becomes part of the public API and can be used outside of the point group methods. | diff --git a/CHANGES b/CHANGES
index d98d518d24..b12431d28e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -8,6 +8,9 @@ Version 7.0.1 - In Development
method evalActiveVoxelBoundingBox is called. The correct behavior is to
only return true if the grid contains any active values.
+ Improvements:
+ - Added n... | 3 | 3 | 0 | [{"id": "G0", "claim": "The new Descriptor declarations (setGroup with its three arguments, and the new group methods such as requiresGroupMove) should get @param documentation for their arguments.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ch... | null |
AcademySoftwareFoundation__openvdb__634 | AcademySoftwareFoundation/openvdb | 634 | defect | 5fa88f6921817378955776f01a1895462930e5cb | fb1b20493f970d3958f5a464a3fa70700946c3d9 | OVDB-136: Attribute Stealing | Two new additions related to stealing data from a Point Data Grid:
* PointDataLeafNode::stealAttributeSet() - releases ownership of the AttributeSet and replaces it with a new empty AttributeSet.
* AttributeSet::removeAttribute(...) - releases the shared_ptr reference to a specific AttributeArray by index or name... | diff --git a/CHANGES b/CHANGES
index 1379c3d704..b0822c2af4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -20,6 +20,9 @@ Version 7.1.0 - In Development
New features:
- Added Grid::isTreeUnique() to tell if the tree is shared with another
grid.
+ - Added PointDataLeafNode::stealAttributeSet() and
+ Attr... | 5 | 4 | 1 | [{"id": "G0", "claim": "PointDataLeafNode::stealAttributeSet() should return a unique_ptr instead of a raw pointer.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The removeAttribute documentation should state that an invalid name or pos returns nullptr.... | null |
AcademySoftwareFoundation__openvdb__690 | AcademySoftwareFoundation/openvdb | 690 | defect | e43966f60f08045ed85f7df6a5208f19de3510bb | 4b790ad629ef38c7e05201e1aafc06d30ba55220 | Update CpuTimer to use C++11 chrono | Re-enabling the Windows build has caused an issue in the CpuTimer unit test. On reading up on this, it appears that the sleep() mechanism offered by Windows (in particular) is not very accurate and merely ensures a sleep of at least a minimum duration and it can often be much larger. I believe this is showing up as a r... | diff --git a/openvdb/unittest/TestUtil.cc b/openvdb/unittest/TestUtil.cc
index bb077a3bbd..210a3fe0c5 100644
--- a/openvdb/unittest/TestUtil.cc
+++ b/openvdb/unittest/TestUtil.cc
@@ -3,7 +3,6 @@
#include <cppunit/extensions/HelperMacros.h>
-#include <tbb/tbb_thread.h>
#include <tbb/task_scheduler_init.h>
#includ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The use of tbb::tick_count vs std::chrono::high_resolution_clock when multiple threads are involved needs to be investigated (TSC request) before the PR can proceed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AcademySoftwareFoundation__openvdb__703 | AcademySoftwareFoundation/openvdb | 703 | defect | a623c5a8e63d3d9beb929eed7c20698ba5b2a5e8 | 025ea28bed3b0513d223e139a45fc12a15880c73 | Fix AttributeArray Default Value Bug | This is bug that's been in the codebase for some time - setting the uniform value in a new AttributeArray was skipped if it was equal to the default value (to save doing this redundant operation), however it should have been checking against the default value for this AttributeArray instance _not_ the generic default v... | diff --git a/CHANGES b/CHANGES
index 7410bc0f18..eba01846b5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -39,6 +39,9 @@ Version 7.1.0 - In Development
[Contributed by Michael Tao]
- Fixed a bug in the unit test for util::CpuTimer on Windows by using a
more accurate sleep implementation.
+ - Fixed a bug w... | 1 | 1 | 1 | [{"id": "G0", "claim": "The collapse should be skipped when the uniform value equals the applicable default (the provided defaultValue if given, otherwise Default<ValueType>::value()), rather than running whenever there is no defaultValue or the uniform value differs from the provided default.", "category": "correctnes... | null |
AcademySoftwareFoundation__openvdb__720 | AcademySoftwareFoundation/openvdb | 720 | defect | 9d5f692eaee09a4e00a5936e8795a557ee9fc670 | 4077f947d07aa88f668821dd1c101ebf4552b7b4 | Remove ABI=4 support | As noted in our deprecation strategy, drop support for ABI=4 with the first minor release after a major release.
I hesitated about marking ABI=5 as deprecated now. I think that's a bit premature to do a whole year early though, as that would mean that only one version of Houdini (18.0) could be built without enablin... | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4307cf21b1..1de981c47f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -37,17 +37,6 @@ jobs:
- name: test
run: ./ci/test.sh
- testabi4:
- runs-on: ubuntu-16.04
- container:
- image: aswf/... | 1 | 1 | 1 | [{"id": "G0", "claim": "Mark ABI 5 as deprecated in this same set of changes rather than commenting out the ABI=5 deprecation pragma block in version.h (raised as \"why comment this out?\" and advocated after TSC discussion).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AcademySoftwareFoundation__openvdb__729 | AcademySoftwareFoundation/openvdb | 729 | defect | 3f534f24e594ade51dc46e7f67a5565e334bacef | dfc6e7494805be804d16a8801db21c928c53cc8e | Removed boost/constant and numeric methods | Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com> | diff --git a/openvdb/math/FiniteDifference.h b/openvdb/math/FiniteDifference.h
index 887f2a40ec..fdc713106e 100644
--- a/openvdb/math/FiniteDifference.h
+++ b/openvdb/math/FiniteDifference.h
@@ -24,6 +24,12 @@ namespace OPENVDB_VERSION_NAME {
namespace math {
+/// @brief Pi constant taken from Boost to match old ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The VoxelOffsetType bit-width selection uses `<=` instead of `<`, so for a signed type a bits value of exactly 16 (or 32) is too large for the chosen integer type.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pi constan... | null |
AcademySoftwareFoundation__openvdb__730 | AcademySoftwareFoundation/openvdb | 730 | defect | 3f534f24e594ade51dc46e7f67a5565e334bacef | dacf48abe9d40c4ed7b5bc7b048e122967ef1107 | Removed boost/mpl methods in favour of new methods on openvdb::TypeList | Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com>
One important consideration in this PR is compile times - my implementation probably differs from boost so this may have been impacted (could have been improved as well as impaired). Need to test. | diff --git a/openvdb/Types.h b/openvdb/Types.h
index 70269cf07c..7e4bc5d08a 100644
--- a/openvdb/Types.h
+++ b/openvdb/Types.h
@@ -316,6 +316,70 @@ namespace internal {
// Implementation details of TypeList
+struct NullType {};
+
+// Get a particular element
+
+// resolve if Idx is out-of-range
+template<typename ... | 6 | 5 | 4 | [{"id": "G0", "claim": "The commented-out TSMakeUniqueImpl behind TypeList::Unique relies on a C++17 fold expression, which the project's C++14 requirement rules out; it is currently unused, but a C++14 solution should be straightforward.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
AcademySoftwareFoundation__openvdb__731 | AcademySoftwareFoundation/openvdb | 731 | defect | 3f534f24e594ade51dc46e7f67a5565e334bacef | 354c0f392e8231717e9ade6f50768b87ff3f3a11 | Removed boost/string methods in favour of utility methods in util/Name.h | Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com> | diff --git a/openvdb/Grid.cc b/openvdb/Grid.cc
index 45374efecb..6b6a65d569 100644
--- a/openvdb/Grid.cc
+++ b/openvdb/Grid.cc
@@ -4,8 +4,7 @@
#include "Grid.h"
#include <openvdb/Metadata.h>
-#include <boost/algorithm/string/case_conv.hpp>
-#include <boost/algorithm/string/trim.hpp>
+#include <openvdb/util/Name.h>
... | 5 | 2 | 1 | [{"id": "G0", "claim": "compressionToString should be rewritten to enumerate the ZIP/BLOSC/active-values combinations explicitly for readability rather than building and trimming a cumulative string.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "compressi... | null |
AcademySoftwareFoundation__openvdb__769 | AcademySoftwareFoundation/openvdb | 769 | defect | 60aaadf2d0982e377d3e92fa81c51c4bbc1b044b | b5b2a93ca4b800088394bae4d2e2ac0fa9114aaf | Building with GCC 9.1 | This adds a GCC 9.1 build to OpenVDB (we were previously only building from VFX 2021 using Clang 10.0) and fixes the following warnings:
* Swapped out std::random_shuffle for std::shuffle (was being used in one of the unit tests)
* Fix a number of memcpy operations that produced warnings with GCC's new class-memacc... | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4545155cfa..bead768db6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -142,6 +142,19 @@ jobs:
# - name: build
# run: ./ci/build_houdini.sh clang++ Debug OFF
+ testvfx2021gcc:
+ runs-on: ubuntu-1... | 1 | 1 | 1 | [{"id": "G0", "claim": "The newly added InterpolationOp<bool> specialization's &&-based algebra in triquadraticInterpolation is hard to justify and likely wrong; any interpolation of bool should be replaced by a selection of some sort keyed on the interpolant (e.g. picking the term with highest weight).", "category": "... | null |
AcademySoftwareFoundation__openvdb__843 | AcademySoftwareFoundation/openvdb | 843 | defect | 015b069f9caf26c8cafd6dc20a6d7126ce38fa02 | f59a0b33db5f1c6ea5b8e57b8ef97df4320e1bb2 | Updated the VDB Filter class/SOP to support tiles | Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com> | diff --git a/openvdb/openvdb/tools/Filter.h b/openvdb/openvdb/tools/Filter.h
index eeab43160a..a10491b1bc 100644
--- a/openvdb/openvdb/tools/Filter.h
+++ b/openvdb/openvdb/tools/Filter.h
@@ -5,8 +5,7 @@
///
/// @file tools/Filter.h
///
-/// @brief Filtering of VDB volumes. Note that only the values in the
-/// grid ... | 4 | 2 | 1 | [{"id": "G0", "claim": "The new TestFilter unit tests added by this PR still use CppUnit, so the reviewer cannot build and run them to evaluate the changes; the PR should be updated to the gtest-based test framework.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
AcademySoftwareFoundation__openvdb__866 | AcademySoftwareFoundation/openvdb | 866 | defect | 205ef437c0004794ec0397f74b52ea12fe6368b9 | 7c7a45aa0984a83c6ed255955979c3f7359f1423 | Split out TypeList into its own header and moved macros to Platform | Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com> | diff --git a/openvdb/openvdb/CMakeLists.txt b/openvdb/openvdb/CMakeLists.txt
index 0ead889f52..536bf1e846 100644
--- a/openvdb/openvdb/CMakeLists.txt
+++ b/openvdb/openvdb/CMakeLists.txt
@@ -232,6 +232,7 @@ set(OPENVDB_LIBRARY_INCLUDE_FILES
Platform.h
PlatformConfig.h
Types.h
+ TypeList.h
version.h
)
di... | 2 | 1 | 0 | [{"id": "G0", "claim": "Rename the `internal` namespace in TypeList.h to something less likely to clash, such as `typelist_internal`, since `internal::NullType` is rather generic.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ICC warning-su... | null |
AcademySoftwareFoundation__openvdb__909 | AcademySoftwareFoundation/openvdb | 909 | defect | 99389b71f4e484c48a44dec57c97b079579b9fe0 | 531accf10cf5f4142e888fb07729d4e69d5d5cfd | fixed copy-right | Signed-off-by: Ken Museth <ken.museth@gmail.com>
trivial change of the copy-right statement | diff --git a/openvdb/openvdb/tools/FindActiveValues.h b/openvdb/openvdb/tools/FindActiveValues.h
index d2096faae0..ca5fd757cb 100644
--- a/openvdb/openvdb/tools/FindActiveValues.h
+++ b/openvdb/openvdb/tools/FindActiveValues.h
@@ -1,32 +1,13 @@
-//////////////////////////////////////////////////////////////////////////... | 1 | 1 | 1 | [{"id": "G0", "claim": "The stale copyright footer at the end of FindActiveValues.h needs removing, and the TestFindActiveValues.cc unit test header and footer should be fixed too.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AcademySoftwareFoundation__openvdb__990 | AcademySoftwareFoundation/openvdb | 990 | defect | 791216513996223582ae623d65cb9d68d7059713 | 71232fdb3e4ce74da066fce1ceed92a419b95e72 | New NodeVisitor Tool | As requested by @jmlait, this tool provides the ability to visit nodes in a single-threaded, depth-first order. It's the functionality that's currently missing to allow us to remove the Tree::visit() methods.
It's a pretty small amount of code, most of the changes here are documentation and unit tests. In fact, I u... | diff --git a/openvdb/openvdb/tools/NodeVisitor.h b/openvdb/openvdb/tools/NodeVisitor.h
new file mode 100644
index 0000000000..66f033591e
--- /dev/null
+++ b/openvdb/openvdb/tools/NodeVisitor.h
@@ -0,0 +1,162 @@
+// Copyright Contributors to the OpenVDB Project
+// SPDX-License-Identifier: MPL-2.0
+//
+/// @file NodeVis... | 3 | 3 | 2 | [{"id": "G0", "claim": "The PR needs a CMakeLists change so that the new NodeVisitor.h is exported/installed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since migrating from the deprecated Tree::visit() requires rebuilding the visitor's operator... | null |
AcalaNetwork__Acala__1101 | AcalaNetwork/Acala | 1,101 | defect | 3087d7488fd4c9d6dad2aad61ce4e08ace1149f2 | 011aa9117ed38c0a37a89913857c87f12a1d00a0 | Add evm account integration test | Closes: #859
https://github.com/open-web3-stack/open-runtime-module-library/blob/32666fd132119cfb0a6299b10909d903b0e9f5c8/tokens/src/lib.rs#L477
Tokens also add system provider. | diff --git a/Cargo.lock b/Cargo.lock
index a49bcae88..36b3bee90 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5390,7 +5390,7 @@ dependencies = [
[[package]]
name = "module-evm-rpc-runtime-api"
-version = "0.1.0"
+version = "1.0.0"
dependencies = [
"acala-primitives",
"ethereum-types",
diff --git a/modules/evm/r... | 1 | 1 | 1 | [{"id": "G0", "claim": "When a user already holds other tokens (e.g. DOT), the claim handler should not ensure native tokens — the pull request's new `Balances::total_balance(who).is_zero()` condition makes `TransactionPayment::ensure_can_charge_fee` run in that case unnecessarily.", "category": "correctness", "verdict... | null |
AcalaNetwork__Acala__1461 | AcalaNetwork/Acala | 1,461 | defect | 4ba09696394648909e3daacdddf027c7dc335a31 | bb61d82cc24ccd536271d677dfd6a204a826290f | add origin to events | This allow subquery to handle evm logs bit easier without figuring out the source. | diff --git a/modules/currencies/src/mock.rs b/modules/currencies/src/mock.rs
index e8e205997..e9a274994 100644
--- a/modules/currencies/src/mock.rs
+++ b/modules/currencies/src/mock.rs
@@ -253,6 +253,7 @@ pub fn deploy_contracts() {
));
System::assert_last_event(Event::EVM(module_evm::Event::Created(
+ alice_evm... | 2 | 2 | 1 | [{"id": "G0", "claim": "The last-event lookup in deploy_contract should use System::events().last() instead of System::events().iter().last().", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The mandala EVM benchmark needs to be updated for the n... | null |
AcalaNetwork__Acala__1471 | AcalaNetwork/Acala | 1,471 | defect | fbe0507da942da1d3d19a030374ecdcc5ea92122 | 8b975e06a8a11f1a185162a12975bcb3a7ca0f02 | Added new relay chain tests that test the correctness of relay chain calls | Closes #1455 | diff --git a/Cargo.lock b/Cargo.lock
index 1abd477fd..46e0b3a61 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -9842,6 +9842,7 @@ dependencies = [
"module-nominees-election",
"module-polkadot-bridge",
"module-prices",
+ "module-relaychain",
"module-session-manager",
"module-staking-pool",
"module-staking-pool-... | 3 | 3 | 0 | [{"id": "G0", "claim": "The encoded-message assertions should compare against hex literals (e.g. assert_eq!(msg, hex_literal::hex![\"xxxxxx\"])) instead of Debug-formatted decimal strings.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comme... | null |
AcalaNetwork__Acala__1472 | AcalaNetwork/Acala | 1,472 | defect | 4a74c06f0e038fdddf82fdc7a4572b7b2004441a | 7372f02792bf409ba3f01ee1e653f9de0e01d7a5 | Capitalized the C in Relay Chain | Only applied to HomaLite and relay chain related modules.
Other existing modules are not affected
This is consistent with Polkadot | diff --git a/README.md b/README.md
index 62323c812..e1f2201d8 100644
--- a/README.md
+++ b/README.md
@@ -187,8 +187,8 @@ cargo run --features with-mandala-runtime --features try-runtime -- try-runtime
cargo run --features with-mandala-runtime --features try-runtime -- try-runtime --wasm-execution=compiled --block-at=0... | 2 | 1 | 1 | [{"id": "G0", "claim": "Renaming the event metadata type to RelayChainBlockNumberOf<T> in modules/homa-lite/src/lib.rs will affect the corresponding types in acala.js.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The typo \"Numner\" in the RelayChai... | null |
AcalaNetwork__Acala__1491 | AcalaNetwork/Acala | 1,491 | defect | aef75bc274efef97f78159b9b9ca29e577917888 | 9b9794f5b74ee4526195712905bba9cbda41472a | Update estimate gas | #1428
Closes: #1479
- [x] update bodhi.js https://github.com/AcalaNetwork/bodhi.js/pull/48
- [x] update & test evm-example https://github.com/AcalaNetwork/evm-examples/pull/86 | diff --git a/modules/evm/rpc/src/lib.rs b/modules/evm/rpc/src/lib.rs
index 34e5d5d2d..baf2148db 100644
--- a/modules/evm/rpc/src/lib.rs
+++ b/modules/evm/rpc/src/lib.rs
@@ -215,6 +215,9 @@ where
.map_err(|err| internal_err(format!("runtime error: {:?}", err)))?
.map_err(|err| internal_err(format!("execution fat... | 2 | 2 | 1 | [{"id": "G0", "claim": "0 is a valid storage limit, so using 0 as the no-limit sentinel in the runtime estimate_resources call/create arms is wrong; use MAX_VALUE to mean no limit instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The rpc_binar... | null |
AcalaNetwork__Acala__1501 | AcalaNetwork/Acala | 1,501 | defect | 6f21b137437bc089f03cc3fdf3fd2eb4d33b0f31 | 988aef89c03d767cdafe04f959636fce060cbc4a | Evm utiltity | #1428
- Add `evm-utiltity` and `evm-utiltity/macro`
- Use macro to generate keccak hash
- Remove `primitives/proc-macro`
| diff --git a/Cargo.lock b/Cargo.lock
index 90b30dc1b..7680a0eef 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -73,11 +73,11 @@ dependencies = [
"evm",
"frame-support",
"hex-literal 0.3.3",
+ "module-evm-utiltity-macro",
"num_enum",
"nutsfinance-stable-asset",
"parity-scale-codec",
"parity-util-mem",
- "prim... | 1 | 1 | 1 | [{"id": "G0", "claim": "The .to_vec() calls on keccak256! results in verify_eip712_signature allocate needlessly; the reviewer asks whether they can be dropped (e.g. via as_slice or similar) to avoid the additional allocation.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}... | null |
AcalaNetwork__Acala__1654 | AcalaNetwork/Acala | 1,654 | defect | 15da2db09f5277626d1be128f1ec60395db54db6 | 36f9f2cbdc8459d2f846d9e27173fb0c4279a108 | Xcm trap assets ed | closes https://github.com/AcalaNetwork/Acala/issues/1653
- [x] integration test
- [x] relaychain to parachain
- [x] slibling to parachain
- [x] other runtime add `AcalaDropAssets` too
- [x] ~~maybe refactor common code to `common` package?~~
- [ ] ~~the kusama_cross_chain_transfer.rs getting more large... | diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs
index c264bba99..068bf0744 100644
--- a/runtime/acala/src/lib.rs
+++ b/runtime/acala/src/lib.rs
@@ -95,6 +95,7 @@ pub use pallet_staking::StakerStatus;
pub use pallet_timestamp::Call as TimestampCall;
#[cfg(any(feature = "std", test))]
pub use sp_runti... | 3 | 2 | 0 | [{"id": "G0", "claim": "ExistentialDepositsForDropAssets duplicates the values of the runtime's own ExistentialDeposits; only the native token should be handled specially and the default arm should delegate to the existing ExistentialDeposits.", "category": "maintainability", "verdict": "supported", "priority": "P2", "... | null |
AcalaNetwork__Acala__1658 | AcalaNetwork/Acala | 1,658 | defect | a2e2e25ee1460d4e670e7636afe77dd6a0eeb270 | f7cd048d5651658f69a6b7e066a4cef734814a99 | Convert decimals for ACA/KAR | Closes: #1640
bodhi.js companion: https://github.com/AcalaNetwork/bodhi.js/pull/161 | diff --git a/modules/evm/src/lib.rs b/modules/evm/src/lib.rs
index a191ed3cb..de714a080 100644
--- a/modules/evm/src/lib.rs
+++ b/modules/evm/src/lib.rs
@@ -61,6 +61,7 @@ pub use module_support::{
pub use orml_traits::currency::TransferAll;
use primitive_types::{H160, H256, U256};
pub use primitives::{
+ convert_dec... | 4 | 4 | 1 | [{"id": "G0", "claim": "The function names are confusing and should be convert_decimals_to_evm/convert_decimals_from_evm, and the doc comment should explain the conversion between native (12) and EVM (18) decimals that justifies the 1_000_000 factor.", "category": "maintainability", "verdict": "supported", "priority": ... | null |
AcalaNetwork__Acala__1712 | AcalaNetwork/Acala | 1,712 | defect | dcd694571b93ab85367fe7c78d212f18687883f3 | 06c053a1c259a3d7ebe5b2a3ed8d3b1430a8a222 | Statemine integration test | Integration test between Karura & Statemine/Westmint.
~~Statemine does not support v0.9.13 so we can only use Westmint.~~
closes: https://github.com/AcalaNetwork/Acala/issues/1763
RMRK transfer back to Statemine test based on: https://github.com/open-web3-stack/open-runtime-module-library/pull/700
manual test... | diff --git a/Cargo.lock b/Cargo.lock
index 0c6dc4c5d..260c53465 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1642,7 +1642,7 @@ dependencies = [
[[package]]
name = "cumulus-client-cli"
version = "0.1.0"
-source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e3... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test should keep using `(GeneralIndex(0), 100).into()` — which works once the asset is registered with the asset-registry pallet — instead of the hand-built MultiAssets vec the PR introduced together with a todo noting the transaction cannot go through.", "category": "design", "verdict": "su... | null |
AcalaNetwork__Acala__1721 | AcalaNetwork/Acala | 1,721 | defect | 7ce724ba5ad2b875e9ebedbaf848d6d79ac1dc4f | a09c075a2e38f4bfa77ebc38eb5cbdd280b3a6e6 | Skip idle_scheduler Calls When Not Producing blocks | closes #1467 | diff --git a/modules/evm/src/mock.rs b/modules/evm/src/mock.rs
index 0c3b13dfe..121fd2878 100644
--- a/modules/evm/src/mock.rs
+++ b/modules/evm/src/mock.rs
@@ -32,7 +32,7 @@ use primitives::{define_combined_task, Amount, BlockNumber, CurrencyId, ReserveI
use sp_core::{H160, H256};
use sp_runtime::{
testing::Header... | 3 | 3 | 2 | [{"id": "G0", "claim": "The on_idle skip formula hardcodes the current expectation of one parachain block per two relaychain blocks, which will change in the future and should not be assumed, and BlockNumberDifference is not updated on the do_dispatch_tasks path so the skip may keep getting triggered every few blocks."... | null |
AcalaNetwork__Acala__1747 | AcalaNetwork/Acala | 1,747 | defect | d0bacd048b7cb8bf82d0ed8c00f746c2faa7a8b9 | d7fd543d093f81604dc2e596bf62db9f3380e3b9 | off-by-one | always transfer one more ksm to fix rounding issue
@shengda | diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs
index 9079268ba..dc137beee 100644
--- a/runtime/mandala/src/lib.rs
+++ b/runtime/mandala/src/lib.rs
@@ -1860,6 +1860,8 @@ impl orml_tokens::ConvertBalance<Balance, Balance> for ConvertBalanceHoma {
.reciprocal()
.unwrap_or_default()
.ch... | 4 | 3 | 1 | [{"id": "G0", "claim": "There should be integration tests covering this kind of rounding/overflow error handling in convert_balance_back.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The overflow handling should use saturated add, because unwrap_or_de... | null |
AcalaNetwork__Acala__1755 | AcalaNetwork/Acala | 1,755 | defect | 56e6db5a2dfa4085edb2e1ea3ad232b90146da58 | 8fd5a370e30c7d3fc8f551a8747bd9f808f855d7 | Claim Account to use Eip-712 | closes #1579
I believe this signature would work with no collision problems (Obviously still need to update tests/benchmarks) | diff --git a/Cargo.lock b/Cargo.lock
index 7a19b6fc0..8c39cc641 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5434,6 +5434,7 @@ dependencies = [
"frame-support",
"frame-system",
"libsecp256k1 0.6.0",
+ "module-evm-utiltity-macro",
"module-support",
"orml-currencies",
"orml-tokens",
diff --git a/modules/evm-a... | 3 | 2 | 1 | [{"id": "G0", "claim": "The EIP-712 transaction type hash should be `Transaction(string address)` because the signed message payload must carry the Substrate account in hex format.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The generated weights... | null |
AcalaNetwork__Acala__179 | AcalaNetwork/Acala | 179 | defect | 1e83e1bff39e8bbe67d6951e0f08ae6a4024edd2 | 7dc1a4c50ee9b4bfedb2377112e1648f15e29f43 | implement liquidity incentive for dex | Closes #175 | diff --git a/Cargo.lock b/Cargo.lock
index 7a0748eac..31f13365f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -20,6 +20,7 @@ dependencies = [
"jsonrpc-core",
"log",
"module-dex-rpc",
+ "module-support",
"orml-oracle-rpc",
"orml-utilities",
"pallet-transaction-payment-rpc",
diff --git a/Cargo.toml b/Cargo.toml... | 6 | 3 | 2 | [{"id": "G0", "claim": "In the new integration test, total_shares (10002998) comes out two lower than the liquidity added after on_initialize, and the reason for the reduction is unclear.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new dex co... | null |
AcalaNetwork__Acala__1856 | AcalaNetwork/Acala | 1,856 | defect | f2adf9a087675f8437d81f6c4bb6a03533b58293 | c34d941c09c9a3d646f013bdf0d8087dd8932ae4 | Fix transaction payment | 1. Enable integration tests for `mandala` and `acala` runtime
2. Modify `UpdateOrigin`
3. Fix `set_alternative_fee_swap_path`
4. Fix `enable_charge_fee_pool` | diff --git a/modules/transaction-payment/src/lib.rs b/modules/transaction-payment/src/lib.rs
index 360f303ec..181d61ae8 100644
--- a/modules/transaction-payment/src/lib.rs
+++ b/modules/transaction-payment/src/lib.rs
@@ -329,7 +329,7 @@ pub mod module {
type TreasuryAccount: Get<Self::AccountId>;
/// The origin... | 2 | 1 | 0 | [{"id": "G0", "claim": "The first entry of DefaultFeeSwapPathList should perhaps be [RENBTC, AUSD, DOT, ACA], or prefer [AUSD, ACA] first, given AUSD/ACA trading pairs already exist.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The enable_charge_fee_po... | null |
AcalaNetwork__Acala__1893 | AcalaNetwork/Acala | 1,893 | defect | 362f65ed327140b3091a6efd3a5f84f2e5ea4ee6 | d14cd2d3a1ecfdd74019a15106ab804f9837d328 | Storage Migration: HomaXcm to XcmInterface | Added migration of storage from the previously named HomaXcm to the newly named XcmInterface, for runtime Acala, Karura and Mandala | diff --git a/modules/xcm-interface/src/lib.rs b/modules/xcm-interface/src/lib.rs
index d162b30c9..f5ac39cf2 100644
--- a/modules/xcm-interface/src/lib.rs
+++ b/modules/xcm-interface/src/lib.rs
@@ -37,6 +37,7 @@ use sp_runtime::traits::Convert;
use sp_std::{convert::From, prelude::*, vec, vec::Vec};
use xcm::latest::p... | 2 | 2 | 2 | [{"id": "G0", "claim": "The migration should bump and check the pallet storage version so that it only runs once.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should explain (or justify) why the check_call_size limit in the Karura... | null |
AcalaNetwork__Acala__1919 | AcalaNetwork/Acala | 1,919 | defect | d42d8538d0ab86fa4b4baeb340b1adf084f70dc6 | affa3a9b68044102882a14f5fc3d17c79f1e34d3 | Change StorageDepositPerByte | Support for modifying `StorageDepositPerByte`, but if it is larger, it will return more money, the reserve balance will become to 0 | diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs
index a9feceb35..8e08cb6da 100644
--- a/runtime/acala/src/lib.rs
+++ b/runtime/acala/src/lib.rs
@@ -80,7 +80,7 @@ pub use sp_runtime::BuildStorage;
pub use authority::AuthorityConfigImpl;
pub use constants::{fee::*, time::*};
pub use primitives::{
- co... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment in Karura's StorageDepositPerByte says 'millicent(KCA)' but the token is KAR; the reviewer suggested the one-word correction.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AcalaNetwork__Acala__2032 | AcalaNetwork/Acala | 2,032 | defect | 3833ebc4f52ba1ebd10bb02a42207ba41e80a6d0 | f9c581f16a1ba9394606a601662976c03ddb488d | Keep evm nonce alive | Closes: #1846
Closes: #1668
Closes: #1613
https://github.com/AcalaNetwork/Acala/blob/05ae43770cf8cc747a2aad1c2891046789da51c3/modules/evm-accounts/src/lib.rs#L312-L322
In `get_or_create_evm_address`, it will generate the map between the account and the default eth address. So it can't claim_account for another... | diff --git a/modules/evm-accounts/src/lib.rs b/modules/evm-accounts/src/lib.rs
index 9e49c369a..48bc21427 100644
--- a/modules/evm-accounts/src/lib.rs
+++ b/modules/evm-accounts/src/lib.rs
@@ -337,11 +337,7 @@ where
pub struct CallKillAccount<T>(PhantomData<T>);
impl<T: Config> OnKilledAccount<T::AccountId> for CallK... | 1 | 1 | 0 | [{"id": "G0", "claim": "`remove_account` should be made not public, to encourage other modules to use `remove_account_if_empty` for safety (to avoid misuse).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
AcalaNetwork__Acala__2045 | AcalaNetwork/Acala | 2,045 | defect | 2fa44c17c61a9e88bfa9509d6c855422c9544b5c | 6e25d44babb24a6471e2ce68e9a705de386dd29c | charge storage fee to support non native asset | closes: https://github.com/AcalaNetwork/Acala/issues/2039
change evm reserve_storage from `T::Currency::reserve_named()` to `T::ChargeTransactionPayment::reserve_fee()`, and we can add our own fee strategy in transaction payment module's `reserve_fee()`. That is, `reserve_fee` now can support none native token.
h... | diff --git a/modules/asset-registry/src/mock.rs b/modules/asset-registry/src/mock.rs
index 211436476..9fd65cfca 100644
--- a/modules/asset-registry/src/mock.rs
+++ b/modules/asset-registry/src/mock.rs
@@ -104,7 +104,7 @@ impl module_evm::Config for Runtime {
type PrecompilesValue = ();
type ChainId = ();
type Gas... | 6 | 5 | 3 | [{"id": "G0", "claim": "reserve_fee is passed the fee directly, so it should not modify it with the multiplier, and the storage deposit is not subject to the multiplier - only the weight fee is.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "unreser... | null |
AcalaNetwork__Acala__2066 | AcalaNetwork/Acala | 2,066 | defect | 4e2ebc7e8e90a146e9b09167a4e1f3a51721770a | 6b77369bac1abb4aa4ffbffbd3be8f1606f17788 | Added minimal collateral amount for cdp-engine module | Added new Config for cdp-engine : minimum collateral amount
Added new unit tests
Configured the collateral amount to be 100x ED in runtimes
Closes #1956
| diff --git a/modules/cdp-engine/src/lib.rs b/modules/cdp-engine/src/lib.rs
index f04ef4d01..0c9534a7d 100644
--- a/modules/cdp-engine/src/lib.rs
+++ b/modules/cdp-engine/src/lib.rs
@@ -35,7 +35,7 @@ use frame_system::{
pallet_prelude::*,
};
use loans::Position;
-use orml_traits::{Change, MultiCurrency};
+use orml_t... | 3 | 3 | 3 | [{"id": "G0", "claim": "The minimum collateral check should only happen when debit is zero, since for non-zero debit the minimum debit requirement already enforces a minimal collateral.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The acala runtim... | null |
AcalaNetwork__Acala__2071 | AcalaNetwork/Acala | 2,071 | defect | a84418c77b7048a88bec1321b924682ad15159ef | 5433e3d36d9e87b346aaac01da3bf7f7adf6146b | Remove honzon global paramter | Also updated how interest rates are queried in cdp-engine module
Closes #2006 | diff --git a/modules/cdp-engine/src/lib.rs b/modules/cdp-engine/src/lib.rs
index f04ef4d01..9927c20e4 100644
--- a/modules/cdp-engine/src/lib.rs
+++ b/modules/cdp-engine/src/lib.rs
@@ -227,6 +227,8 @@ pub mod module {
NotEnoughDebitDecrement,
/// convert debit value to debit balance failed
ConvertDebitBalanceF... | 5 | 3 | 1 | [{"id": "G0", "claim": "Asks xlc to confirm that adjust_position need not gate users from using collaterals whose interest rate is not set.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In accumulate_interest, a collateral whose interest rate is not set... | null |
AcalaNetwork__Acala__2138 | AcalaNetwork/Acala | 2,138 | defect | c2c242ef69e9814df3a42f37f5fcbe0a30349c45 | b4adbe813a12741989287d8a1a387b47df327682 | Fix integration tests for sibling XCM transfer for karura-runtime | Added foreign asset extra metadata for Module-asset-registry.
The extra data can contain outgoing Multilocation for the foreign asset, and its native currency ID.
Fixed the integration tests for sibling transfer of native BNC asset
Closes #2009 | diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml
index 63d8ea01f..827c78cbd 100644
--- a/runtime/integration-tests/Cargo.toml
+++ b/runtime/integration-tests/Cargo.toml
@@ -156,7 +156,6 @@ with-mandala-runtime = [
]
with-karura-runtime = [
"karura-runtime",
- "karura-runtime/... | 1 | 1 | 1 | [{"id": "G0", "claim": "BNC's canonical location should not be handled as one of our side tokens in the Trader (remove the BncPerSecondOfCanonicalLocation fixed-rate entry), and the test should instead register BNC as a foreign asset and construct the data manually when needed.", "category": "correctness", "verdict": "... | null |
AcalaNetwork__Acala__2279 | AcalaNetwork/Acala | 2,279 | defect | 7a1b02961a9d795d1a62e9ab6e43c5735e244e6f | 060ec1757ab1a41241d22baf249554244952c4e8 | claim trapped asset tests | trapped asset to be claimed: (B@ means block at Kusama)
- B@13526117: 99,955,165,280
- B@12636036: 99,875,544,496
- B@10454928: 999,920,000,005
example xcm message(i.e. B@13526117) send to Kusama by OrmlXcm(Root or Council) on Karura:
```rust
Xcm(vec![
ClaimAsset {
assets: vec![MultiAsset {
... | diff --git a/modules/auction-manager/src/tests.rs b/modules/auction-manager/src/tests.rs
index 565caecc5..2378c94a8 100644
--- a/modules/auction-manager/src/tests.rs
+++ b/modules/auction-manager/src/tests.rs
@@ -128,7 +128,12 @@ fn collateral_auction_bid_handler_work() {
AuctionManagerModule::collateral_auction_bi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test asserting failure with `assert!(!...is_ok())` should be changed to use `assert_err`.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AcalaNetwork__Acala__2345 | AcalaNetwork/Acala | 2,345 | defect | 3f449446e4e2eea58582b958e8e1c967f301a55e | e9ac05c688b1d67a22b6bd5f104f9d98e654ff63 | Bounded params | Introduce abstract `BoundedType` and `FractionalRate`. Will add other bounded types in follow up PRs. | diff --git a/modules/cdp-engine/src/lib.rs b/modules/cdp-engine/src/lib.rs
index 8c78f20e4..554a9822f 100644
--- a/modules/cdp-engine/src/lib.rs
+++ b/modules/cdp-engine/src/lib.rs
@@ -58,8 +58,9 @@ use sp_runtime::{
};
use sp_std::{marker::PhantomData, prelude::*};
use support::{
- AddressMapping, CDPTreasury, CDPT... | 5 | 2 | 0 | [{"id": "G0", "claim": "The fallible setter that returns Err on out-of-bound or over-limit updates should be named `try_set` instead of `set`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The nested `if let (Some(existing), Some(rate))` update... | null |
AcalaNetwork__Acala__2515 | AcalaNetwork/Acala | 2,515 | defect | 3d3b4c92e49b1cdd19918fd3e7803b3544b7ee2d | b475017e609da52ecca61ffaf4ed95a243fd99d3 | Improve selfdestruct | If the contract data <= 100 items, delete it directly, otherwise schedule deletion. | diff --git a/modules/evm/src/lib.rs b/modules/evm/src/lib.rs
index 8b08dea6f..18cc21a89 100644
--- a/modules/evm/src/lib.rs
+++ b/modules/evm/src/lib.rs
@@ -73,7 +73,7 @@ use sp_core::{H160, H256, U256};
use sp_runtime::{
traits::{Convert, DispatchInfoOf, One, PostDispatchInfoOf, SignedExtension, UniqueSaturatedInto... | 3 | 2 | 1 | [{"id": "G0", "claim": "Use the `defensive` macro instead of `debug_assert!` for the invariant checks the pull request adds around contract removal and refund storage.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Avoid implementing the contract-re... | null |
AcalaNetwork__Acala__2679 | AcalaNetwork/Acala | 2,679 | defect | f1b23340d9f98ff0c0c0ee13707501ee78d5c0d6 | 18456aa42124df1d66a42a74f1196c162161fd95 | Override storage fee | resolve #2667 | diff --git a/modules/transaction-payment/src/lib.rs b/modules/transaction-payment/src/lib.rs
index 5db965f77..34bfc83c3 100644
--- a/modules/transaction-payment/src/lib.rs
+++ b/modules/transaction-payment/src/lib.rs
@@ -269,6 +269,13 @@ pub mod module {
pub const RESERVE_ID: ReserveIdentifier = ReserveIdentifier::Tr... | 8 | 8 | 2 | [{"id": "G0", "claim": "The FeePath variant can be merged into FeeAggregatedPath so the enum has one path representation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new enum should be renamed from ChargeFeeWay to ChargeFeeMethod.", "category": "m... | null |
AcalaNetwork__Acala__287 | AcalaNetwork/Acala | 287 | defect | b9c39ceea3ce81edfaece61c1c59a91ee3e30665 | 2140671840e29ffcacf99808bdc5695618d36c55 | Fix accounts | 1. add slippage limit when swap fee or open account deposit with DEX to avoid unreasonable losses.
2. configure Accounts as OnReceived of orml_tokens
3. fix some tests in integrate test | diff --git a/modules/accounts/src/lib.rs b/modules/accounts/src/lib.rs
index b35a7d839..b139e84e3 100644
--- a/modules/accounts/src/lib.rs
+++ b/modules/accounts/src/lib.rs
@@ -33,7 +33,7 @@ use sp_runtime::{
};
use sp_std::convert::Infallible;
use sp_std::prelude::*;
-use support::DEXManager;
+use support::{DEXMana... | 1 | 1 | 0 | [{"id": "G0", "claim": "Avoid cloning `who` for the treasury comparison; use `*who != treasury_account` instead of `who.clone() != treasury_account`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AcalaNetwork__Acala__427 | AcalaNetwork/Acala | 427 | defect | 1f5935747c4ff36a2fb4c7f93cbeefa784b4c82b | e3e8b9f144d4e8ed488f69bace45b27632f11cef | Add moule-nft | Closes #416 | diff --git a/Cargo.lock b/Cargo.lock
index 82e51c3b2..1d3447861 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1206,6 +1206,7 @@ dependencies = [
"module-honzon-benchmarking",
"module-incentives",
"module-loans",
+ "module-nft",
"module-nominees-election",
"module-polkadot-bridge",
"module-prices",
@@ -1217,6... | 5 | 4 | 2 | [{"id": "G0", "claim": "ClassProperty should be a bit-flag type using `use enumflags2::BitFlags` instead of a plain enum.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Whitespace in `let data = ClassData{deposit, properties};` should be fixed to `ClassD... | null |
AcalaNetwork__Acala__548 | AcalaNetwork/Acala | 548 | defect | 4711938cf81c2c210c7ed80e3418123eb7485208 | 5af8b49ec2746407e8b39294601340dd7d8938a3 | setup proxy account for module-nft | close #455 | diff --git a/modules/nft/benchmarking/src/lib.rs b/modules/nft/benchmarking/src/lib.rs
index b5c65bd8b..5e6a8a3e6 100644
--- a/modules/nft/benchmarking/src/lib.rs
+++ b/modules/nft/benchmarking/src/lib.rs
@@ -8,8 +8,9 @@ use sp_std::prelude::*;
use sp_std::vec;
use frame_benchmarking::{account, benchmarks};
+use fr... | 4 | 3 | 0 | [{"id": "G0", "claim": "The create_class setup must also add the new account deposit (NewAccountDeposit) for the newly created module owner account.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use Zero::zero() instead of 0u32.into() as the delay ... | null |
AcalaNetwork__Acala__76 | AcalaNetwork/Acala | 76 | defect | f3e282151c1fab56c7f723bcb7dfb5fed2fdfbe9 | 6b2200d3d73bd10dbc663be42f0cd3169dc63602 | Feature/runtime integration tests | Closes #68 | diff --git a/runtime/tests/integration_test.rs b/runtime/tests/integration_test.rs
new file mode 100644
index 000000000..9e98bd20e
--- /dev/null
+++ b/runtime/tests/integration_test.rs
@@ -0,0 +1,219 @@
+#[cfg(test)]
+
+mod tests {
+ use acala_runtime::{
+ AccountId, Balance, CurrencyId,
+ CurrencyId::{AUSD, XBTC},
+... | 1 | 1 | 1 | [{"id": "G0", "claim": "The private `DexModule::add_liquidity` (and similar) methods should be made public so the runtime integration test can call them instead of leaving TODO comments.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AccessKit__accesskit__118 | AccessKit/accesskit | 118 | defect | ca607702cee13c93fe538d2faec88e474261f7ab | 0d67f4ee30a19aaa01d7b67a897911edd8d689b4 | feat(platforms/windows): Win32 subclassing support | This is a prerequisite for integrating with any windowing abstraction that doesn't support custom Win32 message handlers. | diff --git a/Cargo.lock b/Cargo.lock
index b9b7138a1..de6e7b900 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -34,8 +34,10 @@ dependencies = [
"libc",
"parking_lot",
"paste",
+ "raw-window-handle",
"scopeguard",
"windows",
+ "winit",
]
[[package]]
@@ -44,6 +46,12 @@ version = "0.7.1"
source = "registry+htt... | 4 | 4 | 0 | [{"id": "G0", "claim": "The copyright year in the new platforms/windows/src/subclass.rs header should be 2022 rather than 2021.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The copyright year in the new platforms/windows/src/tests/subclassed.rs ... | null |
AccessKit__accesskit__132 | AccessKit/accesskit | 132 | defect | 0d7fa4ab852cf417b38fc00c304654998fe30fc4 | 3ea10837bef3c6bbfadced50fb33cd79a870f767 | refactor!: Store node ID in `TreeUpdate`, not `accesskit::Node` | Reasons to make this change:
* Now `Node` can derive `Default`, which makes structure initialization more standard. Note: To allow this, `Role` also derives `Default`, with a default variant of `Unknown`. But I really didn't want to make `NodeId` derive `Default`, since that would mean allowing a zero ID, and multip... | diff --git a/common/src/lib.rs b/common/src/lib.rs
index 34a2ffb9f..15000e4d7 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -34,12 +34,13 @@ use std::{
/// is ordered roughly by expected usage frequency (with the notable exception
/// of [`Role::Unknown`]). This is more efficient in serialization formats
... | 3 | 3 | 1 | [{"id": "G0", "claim": "This change increases compiled code size by about 12KB in a fully optimized release build of the Windows hello_world example, because the node ID had to be copied into `accesskit_consumer::Node` in every inlined copy of `node_by_id`, so the change was not worth the trouble as implemented.", "cat... | null |
AccessKit__accesskit__135 | AccessKit/accesskit | 135 | defect | 0bb86ddb298cb5a253a91f07be0bad8b84b2fda3 | 5ebd8ae383c39385dfa0a95519014827dfe76a64 | refactor!: Wrap `TreeUpdate` nodes in `Arc` | This is another change that's inconvenient for test code, but it eliminates a lot of compiled code for copying around the huge `Node` struct. | diff --git a/common/Cargo.toml b/common/Cargo.toml
index 55c61bd88..8448357af 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -17,7 +17,7 @@ features = ["schemars", "serde"]
enumset = "1.0.8"
kurbo = "0.8.3"
schemars_lib = { package = "schemars", version = "0.8.7", features = ["enumset"], optional = true }... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use `Arc::clone(&node.data)` instead of `node.data.clone()` in the `traverse` helper to make it clear that only the Arc is cloned, not the node data itself.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AccessKit__accesskit__257 | AccessKit/accesskit | 257 | defect | 3f556c995e8c5eae6831a89b0173809134c1b4e7 | 550d18c5ab55efdc4af5fa8c6ea6a69504362abf | Update windows crate to v0.48 | Looking to reduce binary size and compile times on Windows by only having one version of the windows crate in my apps.
Should the cargo.lock file be removed from this repo? I was under the impression it normally [should be ignored for libraries](https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html) an... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1c5a9c79d..589dbde3c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -64,5 +64,12 @@ jobs:
with:
command: test
+ - name: cargo test -p accesskit_windows
+ if: matrix.os == 'windows-2019'
+ ... | 6 | 4 | 1 | [{"id": "G0", "claim": "Remove the changes to the changelog from this pull request because the changelog is automatically managed by release-please.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Revert the broad Cargo.lock changes and commit on... | null |
AccessKit__accesskit__276 | AccessKit/accesskit | 276 | defect | 5ae557b40d395b4a9966a90a2d80e7d97ad50bf9 | 649c51d6bd366ebb998c52e28e90275528d184c3 | refactor!: Switch to simple unsigned 64-bit integer for node IDs | fixes #275 | diff --git a/Cargo.lock b/Cargo.lock
index 7b1fef50e..69a56ff9f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -77,10 +77,10 @@ version = "0.14.3"
dependencies = [
"accesskit",
"accesskit_consumer",
- "arrayvec",
"once_cell",
"paste",
"scopeguard",
+ "static_assertions",
"windows",
"winit",
]
diff --git a/... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test node ID constants in consumer/src/lib.rs, node.rs, text.rs and tree.rs should start at 0 to be consistent with the examples, which the pull request changed to use a node ID of 0.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
AccessKit__accesskit__476 | AccessKit/accesskit | 476 | defect | 61e48174ed1dd57b7dd919ecaef908f157357ec0 | 9606d38a90683dbf7e4c264a07bc3d05b72143c4 | refactor!: Rename `NodeBuilder` to `Node` and the old `Node` to `FrozenNode` | By doing this, passing the new `Node` (former `NodeBuilder`) in `TreeUpdate`, and having the consumer convert to the slightly smaller `FrozenNode`, we make the API more convenient for all users while not giving up the node size optimization. And it's probably slightly better for binary size to do the conversion to `Fro... | diff --git a/common/src/lib.rs b/common/src/lib.rs
index 854a5e02e..3d220512e 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -886,42 +886,44 @@ impl Default for PropertyIndices {
}
#[derive(Clone, Debug, PartialEq)]
-struct Properties {
+struct FrozenProperties {
indices: PropertyIndices,
value... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Debug implementation for the renamed FrozenNode still formats the struct as \"Node\", and the debug representation should show whether the node is frozen.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AccessKit__accesskit__72 | AccessKit/accesskit | 72 | defect | 9830a48ab7ffd79414422f8fc0c8b033458ecbaf | 1e4741d91274bf581a060aebcd0aeb995f4d500e | Queue events to avoid more deadlocks | This is also required for my integration into winit. | diff --git a/platforms/windows/examples/hello_world.rs b/platforms/windows/examples/hello_world.rs
index 7938efcfc..d90ba079d 100644
--- a/platforms/windows/examples/hello_world.rs
+++ b/platforms/windows/examples/hello_world.rs
@@ -129,12 +129,13 @@ fn update_focus(window: HWND, is_window_focused: bool) {
inner_s... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add `#[must_use]` to `QueuedEvents::raise` so that failing to call it on the returned value is flagged.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment misspells `windows-rs` as `window-rs`; correct it to `windows-rs`."... | null |
AccessKit__accesskit__81 | AccessKit/accesskit | 81 | defect | bbe2aa86f254c06087bfab5d8b294e12a810d2c5 | b53a50151f255fb67584f5bf9e776bd199ba9786 | Handle action requests, starting with focus | This defines a trait that providers implement to handle actions requested by assistive technologies, uses that trait to implement UIA's `SetFocus` method, and implements the trait in the Windows example. | diff --git a/common/src/lib.rs b/common/src/lib.rs
index 7311c71a6..9689bf322 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -1433,7 +1433,22 @@ pub enum ActionData {
#[cfg_attr(feature = "serde", serde(deny_unknown_fields))]
#[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))]
pub struct Actio... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `ActionHandler` trait method should not be named `action`; the reviewer suggests `perform_action` or `do_action` instead (and separately notes AT-SPI would want a bool result from `DoAction`, acknowledged as informational).", "category": "maintainability", "verdict": "supported", "priority":... | null |
Ackee-Blockchain__trident__105 | Ackee-Blockchain/trident | 105 | defect | 013418384f03017c5d98e6ca13571f8eab8f72ca | 632e9c8387c7ae8c2151d0fe647b305a0b7a35d5 | 🧑💻 trait Default for Client | Implemented Default trait for Client, which reads keypair from default path for `solana-keygen new` - no need for hardcoded keypair for Client. | diff --git a/Cargo.toml b/Cargo.toml
index 8e5ef5cb1..566ba3ecc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -60,3 +60,4 @@ num-traits = "0.2.14"
proc-macro2 = { version = "1.0.66", default-features = false }
darling = "0.13.1"
clap ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The clone on line 59 of crates/client/src/client.rs is unnecessary and should be removed.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Ackee-Blockchain__trident__115 | Ackee-Blockchain/trident | 115 | defect | 20db0a8b261679cdf37dee4a1b37255d65208781 | 6795b029ce116c38944dca292efda2bf49ec261f | Additional anchor types | Added support for all Anchor types. Now, any context structure supported by Anchor 0.29.0 should be correctly parsed and the appropriate snapshot structs generated correctly.
Before this change, the parsing was done "manually". Now however we are using the parser directly from Anchor that has been exposed in Anchor... | diff --git a/crates/client/Cargo.toml b/crates/client/Cargo.toml
index 59d9fb018..cfc45350b 100644
--- a/crates/client/Cargo.toml
+++ b/crates/client/Cargo.toml
@@ -24,6 +24,7 @@ macrotest = "1.0.9"
[dependencies]
trdelnik-test = { workspace = true }
+anchor-lang = { version = "0.29.0", features = ["idl-build"] }
... | 5 | 4 | 4 | [{"id": "G0", "claim": "The accounts snapshots code generation was changed and, as a result, the tests no longer pass.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "The generator emits for escrow_pda_authority `accounts_iter.next().ok_or(FuzzingError::Not... | null |
Ackee-Blockchain__trident__116 | Ackee-Blockchain/trident | 116 | defect | b676b79cd75f5798cb758d2a83449b1b68e0d078 | 608c93d4d509c6ae76a74a22ffab99f25c0597ee | Feat/fuzz pkey to acc | If Pubkey is at instruction input, it is converted to AccountID, next the variable name is stored and the FuzzAccounts struct is expanded if an account with the same name does not exist.
However, if a Pubkey is contained within a struct, which itself is an input argument, this approach will not work.
Test_program... | diff --git a/crates/client/src/fuzzer/fuzzer_generator.rs b/crates/client/src/fuzzer/fuzzer_generator.rs
index dca5f3791..be9d62fe8 100644
--- a/crates/client/src/fuzzer/fuzzer_generator.rs
+++ b/crates/client/src/fuzzer/fuzzer_generator.rs
@@ -13,6 +13,7 @@ pub fn generate_source_code(idl: &Idl) -> String {
... | 3 | 3 | 0 | [{"id": "G0", "claim": "The Pubkey type check is unnecessarily complicated: the `ty` variable can be compared directly as a String before it is shadowed (e.g. `if ty == \"Pubkey\"`, or checking that it ends with `::Pubkey` for fully qualified paths) instead of parsing it to a syn::Type and matching on the last path seg... | null |
Ackee-Blockchain__trident__117 | Ackee-Blockchain/trident | 117 | defect | b676b79cd75f5798cb758d2a83449b1b68e0d078 | 00e1e89682f7eb27aa648c1076326d9447aa1950 | Fix/program client custom types | update parse_to_idl_program so that it can obtain the full path for custom types. The implemented function will warn the user if the path is private and cannot be imported.
This is out of scope, but I found it useful to update the examples.
Added some custom types into the cargo test expected/expanded code so tha... | diff --git a/crates/client/src/idl.rs b/crates/client/src/idl.rs
index 8d37c9d61..6ce7528f1 100644
--- a/crates/client/src/idl.rs
+++ b/crates/client/src/idl.rs
@@ -96,9 +96,15 @@
use heck::{ToSnakeCase, ToUpperCamelCase};
use quote::ToTokens;
+use syn::visit::Visit;
use thiserror::Error;
-static ACCOUNT_MOD_PRE... | 2 | 1 | 0 | [{"id": "G0", "claim": "find_item_path should not call the expensive syn::parse_file again on every invocation; the file should be parsed once at the start of parse_to_idl_program and passed to find_item_path by reference.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
Ackee-Blockchain__trident__141 | Ackee-Blockchain/trident | 141 | defect | 36ed252add49284f9e54907317d784fb9e895b25 | 23206f1df2c72597ee1e7f3d1283855a5b3e069d | Extend use statements and Data Accounts paths for fuzz snapshots | Currently, once the `accounts_snapshots.rs` file is generated, users need to manually import the structures stored inside the Data Accounts. This PR addresses this issue by obtaining full paths (if possible) to the defined types, employing the same logic used for obtaining full paths to the Instruction input arguments ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index c0d2ede45..bae59ddec 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ incremented upon a breaking change and the patch version will be incremented for
## [Unreleased]
### Added
+- feat/support of automatically obtaining fully qualified paths of Data Accou... | 6 | 6 | 2 | [{"id": "G0", "claim": "Arguments passed to unwrap_or are eagerly evaluated, so construct_full_path(...).unwrap_or(field_type.clone()) should use the lazily evaluated unwrap_or_else in both match arms.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
Ackee-Blockchain__trident__46 | Ackee-Blockchain/trident | 46 | defect | 4753e824c8ac6e7bb4178faea9ef4d57def8e4d2 | 2948113b1810ee7267a1996a3b9cd717f17bc7f9 | Added a function to fetch the current balance of an account | I've added a function `get_balance` to easily fetch the current balance of an account whilst getting rid of some boilerplate code. | diff --git a/crates/client/src/client.rs b/crates/client/src/client.rs
index 87818d0c8..9e1b06033 100644
--- a/crates/client/src/client.rs
+++ b/crates/client/src/client.rs
@@ -326,6 +326,15 @@ impl Client {
.expect("airdrop task failed")?
}
+ /// Get balance of an account
+ #[throws]
+ pub asy... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the example test, replace the println! of the payer's balance with an assertion, so the showcase actually checks the balance (e.g. that the payer's balance equals 5_000_000_000).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Ackee-Blockchain__trident__48 | Ackee-Blockchain/trident | 48 | defect | bf19337b7705b9f0433853db194f667cdfa2e75a | 5445940941cfb13f7413c7305f0d24b9318bfa0b | ✨ Improved the program deployment procedure | Reworked the program deployment function to reduce the boilerpalte code | diff --git a/crates/client/src/client.rs b/crates/client/src/client.rs
index 9e1b06033..b4a604d61 100644
--- a/crates/client/src/client.rs
+++ b/crates/client/src/client.rs
@@ -1,4 +1,4 @@
-use crate::TempClone;
+use crate::{Reader, TempClone};
use anchor_client::{
anchor_lang::{
prelude::System, solana_... | 3 | 3 | 1 | [{"id": "G0", "claim": "Remove the redundant `client: &Client` parameter from `deploy_program` and use `self` instead of the `client` variable throughout, since the method is already called on a Client instance.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
Ackee-Blockchain__trident__98 | Ackee-Blockchain/trident | 98 | defect | 1a2f9ee394aca3c4367ff1eab351ee2e6506b5ac | 5d1e9eee48445016784532877b159b7c9e19c3af | ✨ Support for dynamic templates. | Added support for dynamic templates where special variable can be replaced programatically. Added deploy_by_name method to the test template.
| diff --git a/crates/client/src/templates/trdelnik-tests/fuzz_target.rs b/crates/client/src/templates/trdelnik-tests/fuzz_target.rs
index a95873c0b..7b66c7e72 100644
--- a/crates/client/src/templates/trdelnik-tests/fuzz_target.rs
+++ b/crates/client/src/templates/trdelnik-tests/fuzz_target.rs
@@ -1,6 +1,8 @@
use assert... | 1 | 1 | 1 | [{"id": "G0", "claim": "Error handling is inconsistent: template generation throws an error when no program library is found, while fuzz test generation continues in the else branch without throwing, and the reviewer asks to update it for consistency.", "category": "correctness", "verdict": "supported", "priority": "P1... | null |
Acly__krita-ai-diffusion__171 | Acly/krita-ai-diffusion | 171 | defect | d931263afbccc55ec359eb45f7bd88584d6cc0d0 | c9cd86d83122154c400f72105a858def5c3868fa | Use arrow up/arrow down key to adjust attention weight in prompt input box | Closes #170.

Note:
There is a behaviour difference in multi vs single line widget, as there is a bug on `setSelection` in single line, which sometimes set the selection end to end of text when c... | diff --git a/ai_diffusion/attention_edit.py b/ai_diffusion/attention_edit.py
new file mode 100644
index 000000000..963e822fb
--- /dev/null
+++ b/ai_diffusion/attention_edit.py
@@ -0,0 +1,148 @@
+import re
+from typing import Tuple, List
+
+
+def select_current_parenthesis_block(
+ text: str, cursor_pos: int, open_br... | 3 | 2 | 0 | [{"id": "G0", "claim": "In a multi-line prompt, pressing up/down adjusts the weight but also jumps the cursor to another line and deselects, making it somewhat unusable; the reviewer asks to keep the default cursor behaviour in the multi-line case when there is no selection and do weight adjustment (without cursor jump... | null |
Acly__krita-ai-diffusion__198 | Acly/krita-ai-diffusion | 198 | defect | 9b0a89b47a4615192da0999c350c5f3662fc378b | 3272a09eec535e062beb7c7f0772c417eb11c53b | Parse LoRA from prompt | This adds the capacity to parse LoRA directly from the prompt, using the Auto1111 webui syntax : `<lora:name:strength>`.
The lora name is searched in all the available lora models in the ComfyUI installation, by case insensitive filename only. No path, no extension, to keep the prompt light.
The strength is optio... | diff --git a/ai_diffusion/workflow.py b/ai_diffusion/workflow.py
index d5c5dce87..abada76f5 100644
--- a/ai_diffusion/workflow.py
+++ b/ai_diffusion/workflow.py
@@ -1,5 +1,7 @@
from __future__ import annotations
import math
+import os.path
+import re
from typing import Any, List, NamedTuple, Optional
from .image ... | 7 | 6 | 2 | [{"id": "G0", "claim": "Use `from pathlib import Path` instead of `os.path` in workflow.py, since pathlib is already used in a lot of places.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use a basic `Exception` for the LoRA errors instead of a... | null |
Aconex__drakov__34 | Aconex/drakov | 34 | defect | 115d46b76a4223b4c77cf237d508fe6639db48f4 | 98d6b2f57ceb81387c075eb0c29b0f53466f4a86 | Added functionality to support x-www--form-urlencoded content type. | In the current version of drakov if we send urlencoded form data, there were two problems with it.
- The request body for form-encoded post urls was not readable
In the md file we have to send data like this:-
- Body
`example=23&foo=bar`
which was not readable. So after our changes in the md file, ... | diff --git a/lib/content.js b/lib/content.js
index 33bdb0c..13e5a8f 100644
--- a/lib/content.js
+++ b/lib/content.js
@@ -1,4 +1,5 @@
var lodash = require('lodash');
+var url = require('./url-parser');
var mediaTypeRe = /^\s*([^;]+)/i;
@@ -33,6 +34,11 @@ function isBodyEqual( httpReq, specReq, contentType ) {
... | 2 | 2 | 1 | [{"id": "G0", "claim": "Match the content-type header with a case-insensitive RegExp test instead of indexOf, so header strings in any casing are handled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Rename the url-parser module variable from `url... | null |
Aconex__drakov__59 | Aconex/drakov | 59 | defect | c23a70d9e3e0d7a249071be8479158cc54af1f37 | a60909414149c6004bb8f7a4ae0dfa96ae1bf1e7 | Automatically add OPTIONS action | When creating server based on API blueprint I wanted to use AngularJS against drakov as a basic mocking server.
First I allowed CORS headers (including HEADERS for POST requests):
```
res.set('Access-Control-Allow-Origin', '*');
res.set('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept')... | diff --git a/README.md b/README.md
index 643c38f..293175f 100644
--- a/README.md
+++ b/README.md
@@ -69,6 +69,12 @@ By default a CORS header is sent, you can disable it with the --disableCORS swit
`drakov -f "../com/foo/contracts/*.md" --disableCORS`
+## Automatic response to OPTIONS requests
+
+When you run serve... | 3 | 1 | 0 | [{"id": "G0", "claim": "Test containsOptions for falseyness with !containsOptions instead of comparing it to false.", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Declare autoOptions with var inside the exported function rather than leaving it an implicit... | null |
Aconex__drakov__61 | Aconex/drakov | 61 | defect | c23a70d9e3e0d7a249071be8479158cc54af1f37 | 9f4140f83e083ce7c628c81edd54a0b80b2edf22 | support preferred status code as response | Hi,
As per the discussion in http://support.apiary.io/forums/120125-general/suggestions/3264498-match-on-request-headers, here is an implementation allowing to pick a response from the spec by preferred status code. Insanely useful when developing against an error prone API!
Kind regards,
@SiCurious and @kosmotaur fr... | diff --git a/lib/content.js b/lib/content.js
index cb97a92..7483712 100644
--- a/lib/content.js
+++ b/lib/content.js
@@ -27,6 +27,17 @@ function getMediaTypeFromHttpReq( httpReq ) {
return null;
}
+function getPreferredStatusFromHttpReq( httpReq ) {
+ var matchedStatus;
+ if ( 'prefer' in httpReq.headers ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new prefer-header parsing in getPreferredStatusFromHttpReq could be made more generic so it supports other headers, not just the status preference.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Activiti__Activiti__2251 | Activiti/Activiti | 2,251 | defect | 943b05e2778946b5134bc3d815adfdf3e8c8023b | 656af2b1c4587128607c2cb803a5ceaea02766cd | Fix: dispatch task and process updated events from CommandContext | This PR fixes #2252 event dispatching for task and process name update commands to ensure that events are always generated and dispatched from existing CommandContext inside Activiti transaction, so that they can be aggregated and sent as event messages when Activiti transaction successfully completes.
| diff --git a/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessRuntimeImpl.java b/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessRuntimeImpl.java
index 306b6669d2c..60e0f9990c0 100644
--- a/activiti-api-impl/act... | 2 | 1 | 1 | [{"id": "G0", "claim": "Registering the task-updated listener on the internal ENTITY_UPDATED engine event breaks event ordering for a task that has an assignee in its definition (ENTITY_UPDATED fires before TASK_CREATED) and will make the current query-service implementation fail, so another approach is needed (e.g. tr... | null |
Activiti__Activiti__3318 | Activiti/Activiti | 3,318 | defect | 9c466db7fefbc3f5364ff206d158589e0647de12 | cdd0d2b96ca281170d886866b07db339feae194b | fix(AAE-2825): New serializer for IntegrationRequests produces wrong results #3316 | Fixes #3316
This PR applies object type for serializing/deserializing integration request process variables that do not have registered type.
The deserializer will fall back to regular key/value map in order to maintain backward compatibility with previous versions of Activiti Cloud integration context serializa... | diff --git a/activiti-core/activiti-api-impl/activiti-api-process-model-impl/src/main/java/org/activiti/api/runtime/conf/impl/ProcessModelAutoConfiguration.java b/activiti-core/activiti-api-impl/activiti-api-process-model-impl/src/main/java/org/activiti/api/runtime/conf/impl/ProcessModelAutoConfiguration.java
index 804... | 4 | 3 | 0 | [{"id": "G0", "claim": "Extract constants for the \"object\" and \"@class\" string literals instead of hardcoding them in ObjectValueToStringConverter.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Inject the ObjectMapper into ProcessVariablesM... | null |
Activiti__Activiti__3438 | Activiti/Activiti | 3,438 | defect | 2ddecbc33bf7d3f079f2bb527be0ad8d3ee5c2e1 | 07d4c51596f5dfe2313165d37a991a22273b19b8 | Add Task completed by | Filter tasks by adding 'completed by' field, fixes #3437 | diff --git a/activiti-api/activiti-api-task-model/src/main/java/org/activiti/api/task/model/Task.java b/activiti-api/activiti-api-task-model/src/main/java/org/activiti/api/task/model/Task.java
index 5f0979a3374..d29cd6dd7fc 100644
--- a/activiti-api/activiti-api-task-model/src/main/java/org/activiti/api/task/model/Task... | 4 | 4 | 0 | [{"id": "G0", "claim": "Add a space after the comma separating `taskConverter` and `securityManager` in the `registerTaskCompletedEventListener` bean signature.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add spaces before and after the `=` i... | null |
Activiti__Activiti__4921 | Activiti/Activiti | 4,921 | defect | 418ead15b93c92ce54047187258ba89191fd3f19 | 582ff9b0fc0ce2e640eaa48ba146a07d33299c09 | AAE-31361 Update event producer to send empty value when variable is ephemeral |
<!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
-... | diff --git a/activiti-core/activiti-api-impl/activiti-api-runtime-shared-impl/pom.xml b/activiti-core/activiti-api-impl/activiti-api-runtime-shared-impl/pom.xml
index ea97f89e5de..7b93707f26a 100644
--- a/activiti-core/activiti-api-impl/activiti-api-runtime-shared-impl/pom.xml
+++ b/activiti-core/activiti-api-impl/acti... | 5 | 5 | 2 | [{"id": "G0", "claim": "Add a space after the comma in the calls that pass processExtensionService, in CommonRuntimeAutoConfiguration and in VariableCreatedListenerDelegateTest.", "category": "style", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Inject processExtensionService... | null |
Activiti__Activiti__4939 | Activiti/Activiti | 4,939 | defect | abd14d4426016c6753f39ce1506aaa795bdcdde3 | 2abcf7d9194643f581ebc2babf30e005740ec1b1 | AAE-31361 Set Previous Value To Null While Sending UpdateEvent If Variable Is Ephemeral | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core/activiti-api-impl/activiti-api-runtime-shared-impl/src/main/java/org/activiti/runtime/api/event/impl/ToVariableUpdatedConverter.java b/activiti-core/activiti-api-impl/activiti-api-runtime-shared-impl/src/main/java/org/activiti/runtime/api/event/impl/ToVariableUpdatedConverter.java
index c299b... | 1 | 1 | 1 | [{"id": "G0", "claim": "It is better to use a temporary variable to store the value passed as the previous value, so the original internal event is not modified and the cast to ActivitiVariableUpdatedEventImpl is avoided.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Activiti__Activiti__4942 | Activiti/Activiti | 4,942 | defect | 84e7c3671c81ad9b9407d81a1050aa6fce7840c7 | 61bf46372d0a87b621d95922e3b06a914cbe8bf3 | AAE-29362 Add draw label for start events | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core/activiti-image-generator/src/main/java/org/activiti/image/impl/DefaultProcessDiagramCanvas.java b/activiti-core/activiti-image-generator/src/main/java/org/activiti/image/impl/DefaultProcessDiagramCanvas.java
index 737b3686441..a37cde9f1ec 100644
--- a/activiti-core/activiti-image-generator/sr... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request's new start-event label drawing behaviour ships with no tests, and the reviewer asks that tests be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Activiti__Activiti__4958 | Activiti/Activiti | 4,958 | defect | b4852ea933bc39ded83b63ecdb0b81b4f21eb2f8 | 38382950671da78dc572b155edb1a5d190658e0a | AAE-33031 Fix Initiator not passed into call activity subprocess | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- 👷♂️ T... | diff --git a/activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/ExecutionEntityManagerImpl.java b/activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/ExecutionEntityManagerImpl.java
index e45d5f2ef4d..5907aa6741a 100644
--- a/activiti-core/activit... | 1 | 1 | 1 | [{"id": "G0", "claim": "An integration test should be added covering the use case of starting a process with a call activity and checking that the initiator is also set for the child process instance, which should be reproducible by marking the call activity as async.", "category": "testing", "verdict": "supported", "p... | null |
Activiti__Activiti__4964 | Activiti/Activiti | 4,964 | defect | ea55fc965f70f94e146a5caa9d1086b63f4d634f | 97f0e6c6f46715bdf6f46ee9cd04a6d77deced2a | AAE-33087 Add root process instance id in ProcessInstance | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/ProcessInstance.java b/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/ProcessInstance.java
index a9a450714c7..dd4a666fb6a 100644
--- a/activiti-api/activiti-api-process-model/src/main/... | 1 | 1 | 1 | [{"id": "G0", "claim": "In addition to the added unit tests, an integration test should be added to ProcessRuntimeCallActivityIT covering a three-level process instance chain (main -> child -> grandChild via call activity) verifying that the root process instance id returned from the grandChild is the main id.", "categ... | null |
Activiti__Activiti__4991 | Activiti/Activiti | 4,991 | defect | 2e83cfb4742f9e5a42fc6cf64619e0e1d8aa9d5f | 378a73525ab19dbd09e9477fc2945b652b074e84 | AAE-33572 Support variables in JsonPatch mapping path field | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ExtensionsVariablesMappingProvider.java b/activiti-core/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ExtensionsVariablesMappingProvider.java
index... | 3 | 2 | 1 | [{"id": "G0", "claim": "The @Value feature flag was added only to simulate the FF; the author asked whether to merge the code directly or wait for FF integration, questioning whether the flag should ship.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
Activiti__Activiti__5032 | Activiti/Activiti | 5,032 | defect | 8b6a393851ce9884b21a897de7ae04eb7c093c30 | a593ca8eabef79a520226a1c257316cbacc9f00d | AAE-34880 Update runtime to evaluate variables | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core-common/activiti-expression-language/pom.xml b/activiti-core-common/activiti-expression-language/pom.xml
index d251c7e899b..bf4f4776efd 100644
--- a/activiti-core-common/activiti-expression-language/pom.xml
+++ b/activiti-core-common/activiti-expression-language/pom.xml
@@ -10,6 +10,9 @@
</... | 4 | 4 | 2 | [{"id": "G0", "claim": "Use the auto-management features provided by SystemStubsExtension (e.g. the @SystemStub annotation) to handle setup and teardown of EnvironmentVariables in the test instead of calling setup() manually.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
Activiti__Activiti__5067 | Activiti/Activiti | 5,067 | defect | f6da10d225c253e895e5d8605b6567e41d6b8b5e | d322c5062031fb263e1363d3c9d377b8ea85ca73 | AAE-36025 Filter process definitions by excluded category | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/builders/GetProcessDefinitionsPayloadBuilder.java b/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/builders/GetProcessDefinitionsPayloadBuilder.java
index 3d731ba6e45..9c8bfb9bf49 1006... | 1 | 1 | 0 | [{"id": "G0", "claim": "The payload field `excludedCategory` should be renamed to something more descriptive such as `processCategoryToExclude`, since the name should convey that the category controls which process definitions are excluded.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco... | null |
Activiti__Activiti__5093 | Activiti/Activiti | 5,093 | defect | 137830762dc1f5badfc67c1632143e47e6711b6e | 7061b8e0d20ebdf45bf2f327ce71ef1eafbb8aed | AAE-36801 Add method to get process definitions latest versions | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-api/activiti-api-process-runtime/src/main/java/org/activiti/api/process/runtime/ProcessAdminRuntime.java b/activiti-api/activiti-api-process-runtime/src/main/java/org/activiti/api/process/runtime/ProcessAdminRuntime.java
index 29d6afddba5..e46e5ec8489 100644
--- a/activiti-api/activiti-api-process... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new processDefinitionsLatestVersions method should be formatted as `return getProcessDefinitions(pageable, ProcessPayloadBuilder.processDefinitions().build(), true);` instead of with the extra/missing spaces.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope":... | null |
Activiti__Activiti__5134 | Activiti/Activiti | 5,134 | defect | 19684fbb3fbb06e1179cec37f1bc76cbef6b6c91 | ff120ce67dfbd91f74980652709d952d4af51e4d | AAE-37863 Only name of the variables should be logged | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core/activiti-api-impl/activiti-api-process-model-impl/src/main/java/org/activiti/api/runtime/model/impl/IntegrationContextImpl.java b/activiti-core/activiti-api-impl/activiti-api-process-model-impl/src/main/java/org/activiti/api/runtime/model/impl/IntegrationContextImpl.java
index 81f2f7689e2..fa... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new test should also assert that toString contains the variable keys, or confirm that other tests already cover it, since it only checks that the values are absent.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "printKeys sho... | null |
Activiti__Activiti__5154 | Activiti/Activiti | 5,154 | defect | f9b94df00a1c27080f58e71013a2ccfb05f2e8c7 | b4c87c72b2a00115cc5df2bb708a2d75b33d9f53 | AAE-38473 Add support to ephemeral property for variable mappings | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core/activiti-api-impl/activiti-api-process-runtime-impl/src/test/java/org/activiti/runtime/api/impl/ExtensionsVariablesMappingProviderTest.java b/activiti-core/activiti-api-impl/activiti-api-process-runtime-impl/src/test/java/org/activiti/runtime/api/impl/ExtensionsVariablesMappingProviderTest.ja... | 12 | 10 | 0 | [{"id": "G0", "claim": "The line is indented with only 7 spaces while other lines use 8, inconsistent with the surrounding code formatting; align it.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "There are two consecutive empty lines, inconsistent with t... | null |
Activiti__Activiti__5164 | Activiti/Activiti | 5,164 | defect | bd54b633695ab916828af256efd253956d3bba49 | 738b9f21bcc64dd19f9dbbedefacfb430c783af5 | AAE-38145: add support for including non-user-startable processes in process definition query | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessRuntimeImpl.java b/activiti-core/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessRuntimeImpl.java
index e3b38ff0538..3e94ed84d12 100644... | 2 | 2 | 0 | [{"id": "G0", "claim": "Extract the \"noUserStartableProcesses\" string literal in ProcessRuntimeImpl.processDefinitions into a named constant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An integration test should be added in addition to the... | null |
Activiti__Activiti__5165 | Activiti/Activiti | 5,165 | defect | bd54b633695ab916828af256efd253956d3bba49 | 4302d1cbd703e69cb65812ff9596fb5cf655107c | ACTIVITI-5557: on parallel multi instance tasks, loop and collections are evaluated when a task is closed (they should be evaluated only on task creation) | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/behavior/MultiInstanceActivityBehavior.java b/activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/behavior/MultiInstanceActivityBehavior.java
index 51e4aa2b130..59723a8eb7d 100644
--- a/activiti-core/activiti-en... | 2 | 2 | 1 | [{"id": "G0", "claim": "The test class duplicates the multi-instance variable-name constants instead of just using the ones in MultiInstanceActivityBehavior, which the pull request already made public.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
Activiti__Activiti__5172 | Activiti/Activiti | 5,172 | defect | 0be072e468b3efffc47903317f34a3fd0a8e8d94 | 740a5717a05b5196e8b0e9eae5c771895fc3f0d0 | AAE-38036 Handled deployment of old version in DeploymentCmd | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/cmd/DeployCmd.java b/activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/cmd/DeployCmd.java
index 95f28531fd7..02897779a57 100644
--- a/activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/cmd/DeployCmd.ja... | 1 | 1 | 0 | [{"id": "G0", "claim": "The code comment referencing the Jira ticket (HXPCC-197) should be removed from DeployCmd.java.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Activiti__Activiti__5184 | Activiti/Activiti | 5,184 | defect | 22fb13f8de16c7de08e930c875aa7ec0bd8bf393 | 3f530aa4eb44233d2e84b691da958ae069d0e5fd | AAE-38556 Handle ephemeral property for connector variables | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/IntegrationContext.java b/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/IntegrationContext.java
index c24b0d87f31..44584bc228a 100644
--- a/activiti-api/activiti-api-process-model/src... | 7 | 7 | 1 | [{"id": "G0", "claim": "isMappingEphemeral can be improved by rewriting its null-check chain with Optional.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new tests should declare execution, processInstance and serviceTask as @Mock fields in... | null |
Activiti__Activiti__5189 | Activiti/Activiti | 5,189 | defect | a82b8a66ea56d7e2587cfbef5645f1621a01a831 | d7b2f6b7778daf0f6a80f109e79f2a58e03e10b9 | AAE-39077: Add actor information to ProcessCompletedEvent | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/runtime/events/ProcessCompletedEvent.java b/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/runtime/events/ProcessCompletedEvent.java
index 2b3d6ec1013..9ba8ec1241b 100644
--- a/activiti-api/activi... | 6 | 6 | 1 | [{"id": "G0", "claim": "We should never throw ClassCastException: the test asserting one for a non-ExecutionEntity sounds wrong, and if there is any doubt a condition should be added to prevent the class cast exception.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"... | null |
Activiti__Activiti__5237 | Activiti/Activiti | 5,237 | defect | cfc1bc685e1e818b23dab822269baf35b0f54fdc | a483f85c925eae4bdd24d405f3e687f72d0aac9b | MNT-25450: incorrect 'total' calculation when querying historic proce… | …ss instances (#5193)
<!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows... | diff --git a/activiti-core/activiti-engine/src/main/resources/org/activiti/db/mapping/entity/HistoricProcessInstance.xml b/activiti-core/activiti-engine/src/main/resources/org/activiti/db/mapping/entity/HistoricProcessInstance.xml
index 27cf791c73b..d722191a600 100644
--- a/activiti-core/activiti-engine/src/main/resour... | 1 | 1 | 0 | [{"id": "G0", "claim": "The local variable processInstanceId, which holds multiple ids, should be renamed to processInstanceIds or processInstanceIdList so its name indicates it contains multiple process instance ids.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Activiti__Activiti__5238 | Activiti/Activiti | 5,238 | defect | ca16506af1fb992083800624f154d8920baeb198 | ad700be7492855bcd5b8142dcd339faebe36c4b7 | AAE-38369 Add Linked Process Instance ID in process instance V2 | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/builders/ProcessPayloadBuilder.java b/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/builders/ProcessPayloadBuilder.java
index d1e07956aeb..73c17c86c0b 100644
--- a/activiti-api/activi... | 10 | 9 | 1 | [{"id": "G0", "claim": "The ToAPIProcessStartedEventConverter, whose linked-process-instance lines this PR adds, should get test coverage.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out linked-process-instance constants, assertions and... | null |
Activiti__Activiti__5284 | Activiti/Activiti | 5,284 | defect | 919724f19b6ef5e59a6192366407146e59f30611 | 74caedad771b7ad14311fff690b9e93da01c4074 | AAE-41937 Enhance exception messaging on condition evaluation failure | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/el/JuelExpression.java b/activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/el/JuelExpression.java
index 0e769d43c09..b08cced680e 100644
--- a/activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/el/JuelE... | 5 | 4 | 1 | [{"id": "G0", "claim": "The filter lambda calls flow.getConditionExpression() twice; store the result in a variable to avoid the redundant method call.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "formatContextInfo should use String.format or a St... | null |
Activiti__Activiti__5292 | Activiti/Activiti | 5,292 | defect | aa7abd58a0af16b68272fd7e49e07ed7dc0ad852 | ea696a778b8914db1f863c06a8353580917516eb | AAE-41060 Update GetProcessDefinitionsPayload to support multiple process definition IDs |
<!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
-... | diff --git a/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/builders/GetProcessDefinitionsPayloadBuilder.java b/activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/builders/GetProcessDefinitionsPayloadBuilder.java
index 7eeb6b66edc..3d7bd05a78a 1006... | 4 | 3 | 1 | [{"id": "G0", "claim": "The payload changed from a single `processDefinitionId` (String) to `processDefinitionIds` (Set) and removes the singular getter/constructor shape, which is a breaking change for any external consumers compiling against this API; to keep compatibility, reintroduce deprecated single-ID accessors/... | null |
Activiti__Activiti__5367 | Activiti/Activiti | 5,367 | defect | 9eedf8b62513db635950f1f1b1d879e74cafca3f | 15e1a8a2db819d26cb2f5aaf1f810d5def2f7adf | AAE-42489 Start process by id with specific version | <!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 The commit message follows our guidelines
- �... | diff --git a/activiti-core/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessAdminRuntimeImpl.java b/activiti-core/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessAdminRuntimeImpl.java
index 11a84c59848..11c321d6... | 2 | 1 | 0 | [{"id": "G0", "claim": "The ID lookup path in processDefinition(...) does unnecessary ordering and full listing and should use singleResult() instead of list().stream().findFirst().", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The key fallback can... | null |
ActivityWatch__aw-server-rust__173 | ActivityWatch/aw-server-rust | 173 | defect | 7f2bf159789880d539194cc78cccfea2188442d5 | 65db2e7c94b1d6503759063a41c32a69a3e939b8 | fix: Drop single events if corrupted instead of failing whole import | Fixes #162
Todo:
- [x] More manual testing
- [x] Infinite loop on some types
- [x] A few TODO comments
- [x] Fix schema | diff --git a/Cargo.lock b/Cargo.lock
index f0e1a035..bbf28840 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -55,11 +55,17 @@ dependencies = [
"opaque-debug",
]
+[[package]]
+name = "ahash"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6789e291be47ace86a60303502173... | 2 | 1 | 0 | [{"id": "G0", "claim": "The JSON schema for TryParse should be fixed so the generated schema is valid and usable (it currently includes the Unparsed/NotPresent wrapper variants instead of only Parsed).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "On JS... | null |
ActivityWatch__aw-server-rust__21 | ActivityWatch/aw-server-rust | 21 | defect | 04022d67c61fddc0cb35f3f4699708085a878055 | b38e095fd42121e2e0afadd73df251f8c9120176 | WIP: Create config | Need to think a few more things through to make it work in a nice manner | diff --git a/Cargo.lock b/Cargo.lock
index 09310eff..649b89b3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -35,6 +35,7 @@ dependencies = [
"serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.33 (regis... | 2 | 1 | 1 | [{"id": "G0", "claim": "get_config() should not write a default configuration file with uncommented values; defaults should live in memory and only be overridden by the config file, or, if written into the file, be written commented out.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
ActivityWatch__aw-server-rust__250 | ActivityWatch/aw-server-rust | 250 | defect | f43b3911ffe44deb272f6aa381778cdbe7d29b77 | 13f22e9da641b0d3e4f12d97374fe0c34a8a7937 | fix: added host header check (to protect against DNS rebinding attacks) | @johan-bjareholt Could you take a look at this and finish it? The Python-implementation is here: https://github.com/ActivityWatch/aw-server/commit/3e8731fd70fbf05d842ec73b86533fd04f17c606
Fixes https://github.com/ActivityWatch/activitywatch/security/advisories/GHSA-v9fg-6g9j-h4x4 | diff --git a/aw-server/src/endpoints/bucket.rs b/aw-server/src/endpoints/bucket.rs
index 3a05aa3e..040b2944 100644
--- a/aw-server/src/endpoints/bucket.rs
+++ b/aw-server/src/endpoints/bucket.rs
@@ -16,11 +16,13 @@ use rocket::http::Status;
use rocket::response::Response;
use rocket::State;
+use crate::endpoints::h... | 1 | 1 | 1 | [{"id": "G0", "claim": "The host-header check should be implemented as an app-wide fairing instead of a per-endpoint request guard, since a fairing can cancel/reject requests and would cover every endpoint.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AdRoll__hologram__103 | AdRoll/hologram | 103 | defect | d9309078cc65954b31c817c0c7018f006c540d30 | 5c6e2da2150a6116be8f2035c7b15d4942ee1be3 | Configurable session timeouts | The hard coded 3600 second life on session tokens is often problematic when working on tasks that require a longer timeout, such as a long-running local script or working in the console via Holochrome.
This PR allows each role to have a configurable timeout based on a configurable LDAP group attribute. This means a... | diff --git a/cmd/hologram-server/config.go b/cmd/hologram-server/config.go
index 3df7b63..05af420 100644
--- a/cmd/hologram-server/config.go
+++ b/cmd/hologram-server/config.go
@@ -19,15 +19,16 @@ type LDAP struct {
DN string `json:"dn"`
Password string `json:"password"`
} `json:"bind"`
- UserAttr ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The sample config's roletimeoutattr value \"description\" is a confusing placeholder given what the LDAP group schema allows, and the item would be better omitted or replaced with a value that better explains its purpose.", "category": "documentation", "verdict": "supported", "priority": "P2", "... | null |
AdRoll__hologram__105 | AdRoll/hologram | 105 | defect | 7a81fe94f2bbda525d09b1ef1e49ec31e55f3637 | 1355f8063e036aff4833a77f5f388a041859c6b4 | Add an IP allow list for the dockers | This ip allow list fixes this error when using the service from within linux docker.
## Before
```
~
❯ docker run --rm -it --entrypoint '' amazon/aws-cli curl -s http://169.254.169.254/latest/meta-data/iam/security-credentials/hologram-access
Access denied from non-localhost address: 172.17.0.2
```
```
~
❯... | diff --git a/agent/metadata_service.go b/agent/metadata_service.go
index 494b7c0..5194426 100644
--- a/agent/metadata_service.go
+++ b/agent/metadata_service.go
@@ -34,6 +34,7 @@ type MetadataService interface {
Port() int
}
+// CredentialsSource all we need to get STS credentials
type CredentialsSource interface... | 4 | 4 | 0 | [{"id": "G0", "claim": "The hardcoded default localhost IPs in makeSecure may as well be moved into the construction of the allowed-IP structure.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "gofmt should be run on all changed files.", "category": "main... | null |
AdRoll__hologram__25 | AdRoll/hologram | 25 | defect | c509090d58ce771af629f3db0c846ba993eee787 | e25f4ed4064ac6cacf3569941c7cad2aa64d0c4a | Fix go vet issues | Fixed all go vet issues and a bunch of golint issues.
| diff --git a/agent/cli_handler.go b/agent/cli_handler.go
index 19c0fb1..2476bb9 100644
--- a/agent/cli_handler.go
+++ b/agent/cli_handler.go
@@ -76,7 +76,7 @@ func (h *cliHandler) HandleConnection(c protocol.MessageReadWriteCloser) {
if err == nil {
agentResponse.Success = &protocol.Success{}
} else {
-... | 1 | 1 | 1 | [{"id": "G0", "claim": "Renaming the credentials JSON field to AccessKeyID changes the capitalization of the key in the JSON output that AWS SDKs consume, which may break those SDKs.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AdRoll__hologram__31 | AdRoll/hologram | 31 | defect | 8bac2dea28a4ff7235870e5c8bf3fd874e4968a1 | edab3eff0a3f10ba0d5f3c65be03b9895628f172 | Support the authorized_keys public key format in addition to the existing one | Should resolve #13. The fallthrough logic should be safe, since I doubt there's any chance of something getting misinterpreted as the wrong format :smile:
I'm not a go master, so I don't know if the fallthrough nested `if` is idiomatic. I welcome feedback if there's anything that needs fixing!
| diff --git a/server/usercache.go b/server/usercache.go
index d49c576..a7ed63c 100644
--- a/server/usercache.go
+++ b/server/usercache.go
@@ -88,10 +88,14 @@ func (luc *ldapUserCache) Update() error {
userKeys := []ssh.PublicKey{}
for _, eachKey := range entry.GetAttributeValues("sshPublicKey") {
sshKeyBytes, ... | 2 | 2 | 0 | [{"id": "G0", "claim": "In the authorized_keys fallback the new bindings userSSHKey2 and err2 are awkward; the code should reuse the existing userSSHKey and err variables (assigning with '=' instead of ':=') to make it a bit cleaner.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i... | null |
AdRoll__hologram__76 | AdRoll/hologram | 76 | defect | 6af73af7df52d9f7388ed1146eae52d80d0237c8 | 9b34ea2ca687e3ac9ebeef0e1104492508a685ca | Role aliases | Starting work on https://github.com/AdRoll/hologram/issues/52.
This merges the agent sts interactions into the server credentials object, since they are basically the same. Adds a dictionary to both the client and server configs to allow for account aliases
| diff --git a/Godeps b/Godeps
index 66859e0..096c0a7 100644
--- a/Godeps
+++ b/Godeps
@@ -4,6 +4,6 @@ github.com/aybabtme/rgbterm c07e2f009ed2311e9c35bca12ec00b38ccd48283
github.com/mitchellh/go-homedir 7d2d8c8a4e078ce3c58736ab521a40b37a504c52
github.com/nmcclain/ldap f4e67fa4cd924fbe6f271611514caf5589e6a6e5
github.c... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Account Aliases README section should add an example config.json file, since without looking at the code it is hard to figure out the config format.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AdRoll__hologram__94 | AdRoll/hologram | 94 | defect | ab17533b3cb4a4715412c0c5cac2101e9de7b7fb | 57d8017e85b273ecb24ba6d68444fa841a9789fd | Enable using LDAP groups with different objectclass | Hologram previously only searched for groups that had an objectclass of
groupOfNames and wasn't configurable. This makes that attribute filter
configurable.
Fixes #87 | diff --git a/README.md b/README.md
index b1505a5..478b2bd 100644
--- a/README.md
+++ b/README.md
@@ -172,7 +172,7 @@ The user must have permission to iam:GetUser on itself(resource "arn:aws:iam::AC
### LDAP Based Roles
-Hologram supports assigning roles based on a user's LDAP group. Roles can be turned on by setti... | 2 | 1 | 0 | [{"id": "G0", "claim": "The `groupclassattr` flag's default value could be set to `groupOfNames` in main.go so the conditional on line 154 could be avoided.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README sentence should be reworded to say \"By d... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.