diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
# Copyright (C) 2017, 2018 Red Hat, Inc.
#
# pylint: disable=missing-docstring,invalid-name,protected-access
-# pylint: ungrouped-imports
+# pylint: disable=ungrouped-imports
from __future__ import absolute_import
import copy
| fix: suppress pylint's warning ungrouped-imports correctly | null | ssato/python-anyconfig | MIT License | Python |
@@ -203,6 +203,11 @@ class UpdateSearchCommand extends Command
unset($content['ClassJobUse']);
}
+
+ if (isset($content['ClassJob']) && isset($content['ClassJob']['RelicQuest'])) {
+ unset($content['ClassJob']['RelicQuest']);
+ }
+
if ($contentName === 'Quest') {
//
// Remove junk
| fix(search): fixed RelicQuest being annoying in index | null | xivapi/xivapi.com | MIT License | PHP |
@@ -2888,7 +2888,7 @@ declare namespace Eris {
token: string;
type: number;
version: number;
- from(data: BaseData): AnyInteraction;
+ static from(data: BaseData): AnyInteraction;
}
export class PingInteraction extends Interaction {
| fix(typings): static keyword for Interaction.from | null | abalabahaha/eris | MIT License | TypeScript |
@@ -531,41 +531,52 @@ bool StratumJob::initFromGbt(const char *gbt, const string &poolCoinbaseInfo,
return false;
}
+ // coinbase outputs
+ vector<CTxOut> cbOut;
+
//
// output[0]: pool payment address
//
- vector<CTxOut> cbOut;
- cbOut.push_back(CTxOut());
- cbOut[0].scriptPubKey = GetScriptForDestination(poolPayoutAd... | fix: RSK output `cbOut[2]` out of bounds if segwit not enabled in a chain | null | btccom/btcpool | MIT License | C++ |
@@ -3,6 +3,6 @@ import { CustomItem, DigitalItem, GiftCertificateItem, PhysicalItem } from './li
export default interface LineItemMap {
physicalItems: PhysicalItem[];
digitalItems: DigitalItem[];
- customItems: CustomItem[];
+ customItems?: CustomItem[];
giftCertificates: GiftCertificateItem[];
}
| fix(order): make customItems optional | null | bigcommerce/checkout-sdk-js | MIT License | TypeScript |
@@ -198,7 +198,7 @@ func (m *machinesService) Create(poolName string) (infra.Machine, error) {
mountPoint := fmt.Sprintf("/mnt/disks/%s", name)
if err := infra.Try(monitor, time.NewTimer(time.Minute), 10*time.Second, infraMachine, func(m infra.Machine) error {
_, formatErr := m.Execute(nil,
- fmt.Sprintf("sudo mkfs.ext... | fix: nobarrier | null | caos/orbos | Apache License 2.0 | Go |
@@ -221,7 +221,7 @@ namespace Files.App
public const string FeedbackUrl = @"https://github.com/files-community/Files/issues/new/choose";
public const string PrivacyPolicyUrl = @"https://github.com/files-community/Files/blob/main/Privacy.md";
public const string ReleaseNotesUrl = @"https://github.com/files-community/Fil... | fix: Fixed sponsors link | null | files-community/files | MIT License | C# |
package org.nativescript.staticbindinggenerator;
import org.apache.commons.io.FileUtils;
+import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
@@ -25,6 +26,7 @@ public class Main {
private static File outputDir;
private static File inputDir;
private static String dependenciesFile;
+ pri... | fix: respect worker files to exclude from parsing | null | nativescript/android-runtime | Apache License 2.0 | Java |
@@ -13,6 +13,7 @@ import { IPC } from '../features/todos/constants';
import { getRecipeDirectory, loadRecipeConfig } from '../helpers/recipe-helpers';
import { isMac } from '../environment';
import { isValidExternalURL } from '../helpers/url-helpers';
+import userAgent from '../helpers/userAgent-helpers';
const debug =... | fix(Service): Apply Google login fix for all services | null | meetfranz/franz | Apache License 2.0 | TypeScript |
@@ -16,7 +16,7 @@ class SimpleArg(BaseArgument):
def __init__(self, value:Any):
self._value = value
- def get_value(self, task=None) -> Any:
+ def get_value(self, task=None, **kwargs) -> Any:
return self._value
class Arg(BaseArgument):
@@ -31,13 +31,16 @@ class Arg(BaseArgument):
def __init__(self, key:Any):
self.key =... | fix: args with the new cond style | null | miksus/rocketry | MIT License | Python |
@@ -752,8 +752,8 @@ public class EdgeStore implements Serializable {
if (segment > 0) {
preSplit = Arrays.copyOfRange(original, 0, segment * 2);
}
- if (segment < original.length + 1) {
- postSplit = Arrays.copyOfRange(original, segment * 2, original.length + 1);
+ if (segment * 2 < original.length) {
+ postSplit = Arr... | fix(splitting): array indexes | null | conveyal/r5 | MIT License | Java |
@@ -34,6 +34,8 @@ const template = /*html*/ `
box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
overflow: hidden;
border-top: 8px solid var(--red);
+ direction: ltr;
+ text-align: left;
}
pre {
| fix: force overlay LTR | null | vitejs/vite | MIT License | TypeScript |
@@ -48,13 +48,9 @@ class _SignUpPageState extends State<SignUpPage> with TraceableClientMixin {
return Scaffold(
appBar: AppBar(
- title: Text(
- appLocalizations.sign_up_page_title,
- style: TextStyle(color: theme.colorScheme.onBackground),
- ),
+ title: Text(appLocalizations.sign_up_page_title),
backgroundColor: Colo... | fix: - fixed colors in sign up page | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -86,7 +86,6 @@ open class DrawerPlugin: OverlayPlugin {
}
private func toggleIsClosed(to newValue: Bool) {
- guard isClosed != newValue else { return }
isClosed = newValue
}
| fix: allow the drawer plugin to trigger close and open events when drawer comes back to the same state after drag | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -366,6 +366,14 @@ public abstract class CommonDBUtil {
// Change liquibase default table names
String changeLogTableName = "database_change_log";
String changeLogLockTableName = "database_change_log_lock";
+
+ if (config.getRdbConfiguration().isH2()) {
+ // H2 upper cases all table names, and liquibase has issues if... | fix: restore the uppercasing of H2 changelog table names | null | vertaai/modeldb | Apache License 2.0 | Java |
@@ -319,12 +319,10 @@ class File(Document):
def unzip(self):
'''Unzip current file and replace it by its children'''
- if not ".zip" in self.file_name:
- frappe.msgprint(_("Not a zip file"))
- return
+ if not ".zip" in self.file_url:
+ frappe.throw(_("{0} is not a zip file").format(self.file_name))
- zip_path = frappe.... | fix: Unzip functionality | null | frappe/frappe | MIT License | Python |
@@ -402,7 +402,7 @@ func generateIssueWebURL(opts *CreateOpts, repo glrepo.Interface) (string, error
}
if opts.Weight != 0 {
// this uses the slash commands to add weight to the description
- description += fmt.Sprintf("\n/weight %%%d", opts.Weight)
+ description += fmt.Sprintf("\n/weight %d", opts.Weight)
}
if opts.Is... | fix: obsolete % char for weights | null | profclems/glab | MIT License | Go |
@@ -205,8 +205,8 @@ func groupNoneSort(g *groupResultSet) (int, error) {
n := 0
row := cur.Next()
for row != nil {
- n++
if allTime || g.seriesHasPoints(row) {
+ n++
g.km.mergeTagKeys(row.Tags)
}
row = cur.Next()
@@ -217,22 +217,16 @@ func groupNoneSort(g *groupResultSet) (int, error) {
}
func groupByNextGroup(g *group... | fix(storage): Fix panic when read request results in empty an group | null | influxdata/influxdb | MIT License | Go |
@@ -17,7 +17,7 @@ frappe.help.show = function(doctype) {
frappe.help.show_video = function(youtube_id, title) {
if (frappe.utils.is_url(youtube_id)) {
- const expression = '(?:youtube.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu.be/)([^\"&?\\s]{11})';
+ const expression = '(?:youtube.com/(?:[^/]+/.+/|(?:v|e(?:mbe... | fix: remove useless escape character | null | frappe/frappe | MIT License | JavaScript |
@@ -30,7 +30,6 @@ namespace Shoko.Server.API.v3.Models.Common
/// The role that the staff plays, cv, writer, director, etc
/// </summary>
[Required]
- [JsonConverter(typeof(StringEnumConverter))]
public CreatorRoleType RoleName { get; set; }
/// <summary>
@@ -68,6 +67,7 @@ namespace Shoko.Server.API.v3.Models.Common
pu... | fix: always convert CreatorRoleType to/from string | null | shokoanime/shokoserver | MIT License | C# |
@@ -401,7 +401,7 @@ public class DbSqlSessionFactory implements SessionFactory {
constants.put("constant.datepart.quarter", "QUARTER");
constants.put("constant.datepart.month", "MONTH");
constants.put("constant.datepart.minute", "MINUTE");
- constants.put("constant.null.startTime", "CAST(NULL as TIMESTAMP) as START_TIM... | fix(engine): fix date type of start_time_ for mssql | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
#include <stdio.h>
#include "discord.h"
-void on_ready(struct discord* client, const struct discord_user* bot)
+void on_ready(struct discord* client)
{
+ const struct discord_user *bot = discord_get_self(client);
log_info("Logged in as %s!", bot->username);
}
| fix(my_bot): update to latest | null | cee-studio/orca | MIT License | C |
@@ -89,7 +89,11 @@ void CacheManager::sendMediaFrame(const unique_ptr<IAFPacket> &frame, StreamType
metaRet = mDataSource->getStreamMeta(videoMeta, StreamType::ST_TYPE_VIDEO);
if (metaRet == 0) {
+ videoMeta->type = Stream_type::STREAM_TYPE_VIDEO;
streamMetas.push_back(videoMeta);
+ }else {
+ releaseMeta(videoMeta);
+ ... | fix(cache): reset StreamMeta type after get | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -341,7 +341,8 @@ class BasePea(metaclass=PeaMeta):
self.loop_body()
except ExecutorFailToLoad:
self.logger.critical(f'can not start a executor from {self.args.uses}')
- except (SystemError, zmq.error.ZMQError, KeyboardInterrupt):
+ except (SystemError, KeyboardInterrupt):
+ self.logger.info('EXCEPTION')
pass
except ... | fix: shutdown if exception | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -39,6 +39,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
+import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;
@@ -1588,11 +1589,12 @@ public abstract class AbstractTrackedEntityInstanceService implements TrackedEnt
trackedEntityI... | fix: createdAtClient and inactive flag are now correctly returned in single TEI endpoint | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -156,15 +156,27 @@ plugin.places.KMLPlacesCtrl.prototype.onImportComplete_ = function(event) {
i--;
}
}
- // plugin.places.menu.saveKMLToPlaces_(nodes);
var rootNode = plugin.places.PlacesManager.getInstance().getPlacesRoot();
if (rootNode) {
var cmds = [];
for (var i = 0; i < nodes.length; i++) {
+ var feature = no... | fix(ImportPlaces): Saved Places imports kml files successfully | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -278,6 +278,8 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
stagingdir = repre['stagingDir']
if repre.get('anatomy_template'):
template_name = repre['anatomy_template']
+ if repre.get("outputName"):
+ template_data["output"] = repre['outputName']
template = os.path.normpath(
anatomy.templates[template_name... | fix(global): outputName on representation was only single file | null | pypeclub/openpype | MIT License | Python |
@@ -20,12 +20,6 @@ export default {
category: "Props",
},
},
- // click: { action: "set Value of current", table: { category: "Events" } },
- },
- parameters: {
- actions: {
- handles: ['click', '.sf-bullet']
- },
},
};
| fix: after CR fixes in sfbullets story | null | vuestorefront/storefront-ui | MIT License | JavaScript |
@@ -1000,7 +1000,7 @@ private ConnectState connectAndLogin(InetSocketAddress currentAddress,
| InterruptedException
| SmackException ex)
{
- logger.error("Failed to connect to XMPP service", ex);
+ logger.error("Failed to connect to XMPP service for:" + this, ex);
// server disconnect us after such an error, do cleanup... | fix: Prints the protocol provider on failure | null | jitsi/jitsi | Apache License 2.0 | Java |
@@ -48,7 +48,7 @@ then
else
service_account_id="${email%@*}"
# Log out of service account
- gcloud auth revoke
+ gcloud auth revoke 2>/dev/null
fi
echo "$service_account_id"
| fix(samples): bug fix for setup script | null | googlecloudplatform/java-docs-samples | Apache License 2.0 | Shell |
@@ -36,7 +36,7 @@ public class TagController : BaseController
var tagFilter =new TagFilter<AniDB_Tag>(name => RepoFactory.AniDB_Tag.GetByName(name).FirstOrDefault(), tag => tag.TagName);
return tagFilter
.ProcessTags(filter, allTags)
- .Where(tag => user.AllowedTag(tag))
+ .Where(tag => user.IsAdmin == 1 || user.Allowe... | fix: remove restriction to view information about restricted tags for admins | null | shokoanime/shokoserver | MIT License | C# |
@@ -456,8 +456,11 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
CodecStatus.Status.Video.Selfview.Mode.ValueChangedAction = SelfviewIsOnFeedback.FireUpdate;
CodecStatus.Status.Video.Selfview.PIPPosition.ValueChangedAction = ComputeSelfviewPipStatus;
CodecStatus.Status.Video.Layout.LayoutFamily.Loca... | fix(essentials): fixes ValueChagnedAction to run both feedback updates instead of one | null | pepperdash/essentials | MIT License | C# |
@@ -55,7 +55,7 @@ class ClientOptionsDefaultEndpointTest : public ::testing::Test {
ClientOptionsDefaultEndpointTest()
: bigtable_emulator_host_("BIGTABLE_EMULATOR_HOST"),
bigtable_instance_admin_emulator_host_(
- "BIGTABLE_INSTANCE_ADMIN_EMULATOR_HOST_"),
+ "BIGTABLE_INSTANCE_ADMIN_EMULATOR_HOST"),
google_cloud_enable... | fix: correct environment handling in client_options_test | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -147,32 +147,33 @@ export default class XAxis {
let xPos = w.globals.padHorizontal
let labelsLen = labels.length
+ let datapoints = w.globals.dataPoints
if (isXNumeric) {
- let len = labelsLen > 1 ? labelsLen - 1 : labelsLen
+ let len = datapoints > 1 ? datapoints - 1 : datapoints
colWidth = w.globals.gridWidth / le... | fix: groups weren't placed correctly | null | apexcharts/apexcharts.js | MIT License | JavaScript |
@@ -203,7 +203,7 @@ public class NaturalLanguageUnderstanding extends WatsonService {
* @param listModelsOptions the {@link ListModelsOptions} containing the options for the call
* @return a {@link ServiceCall} with a response type of {@link ListModelsResults}
*/
- public ServiceCall<ListModelsResults> listModels() {
+... | fix(natural language understanding): Add manual tweaks | null | watson-developer-cloud/java-sdk | Apache License 2.0 | Java |
@@ -447,11 +447,25 @@ impl Grid {
self.scroll_down_one_line();
}
}
- pub fn rotate_scroll_region_up(&mut self, _count: usize) {
- // TBD
+ pub fn rotate_scroll_region_up(&mut self, count: usize) {
+ if let Some((scroll_region_top, scroll_region_bottom)) = self.scroll_region {
+ for _ in 0..count {
+ let columns = vec![... | fix(compatibility): rotate scroll region | null | zellij-org/zellij | MIT License | Rust |
@@ -150,6 +150,7 @@ export class NationalRegistryXRoadService {
const spouse = await this.nationalRegistryApiWithAuth(user)
.einstaklingarGetHjuskapur({ id: nationalId })
.catch(this.handle400)
+ .catch(this.handle404)
return (
spouse && {
| fix(fa): Fix thjodskra spouse error | null | island-is/island.is | MIT License | TypeScript |
@@ -333,7 +333,7 @@ func cfs_setattr(id C.int64_t, path *C.char, stat *C.struct_cfs_stat_info, valid
return errorToStatus(err)
}
- err = c.setattr(info, uint32(valid), uint32(stat.mode), uint32(stat.uid), uint32(stat.gid), int64(stat.mtime), int64(stat.atime))
+ err = c.setattr(info, uint32(valid), uint32(stat.mode), u... | fix: disorder of input parameters mtime and atime | null | chubaofs/chubaofs | Apache License 2.0 | Go |
@@ -31,7 +31,7 @@ const InitHome = () => {
useEffect(() => {
service.getInit().then(res => {
if (res.status === 200 && res.result.length) {
- jump()
+ // jump()
}
})
}, [])
| fix: bug#5887 | null | jetlinks/jetlinks-ui-antd | MIT License | TypeScript |
@@ -256,24 +256,3 @@ fn test_variant_value_cmp() -> Result<()> {
}
Ok(())
}
-
-#[test]
-fn test_variant_calculate_memory_size() -> Result<()> {
- let values = vec![
- VariantValue::from(JsonValue::Null),
- VariantValue::from(JsonValue::Bool(true)),
- VariantValue::from(JsonValue::Bool(false)),
- VariantValue::from(json... | fix(query): fix variant memory test | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -36,9 +36,7 @@ module.exports = async (ctx) => {
},
});
- const data = response.data;
-
- const items = await utils.ProcessFeed(data, ctx.cache);
+ const items = await utils.ProcessFeed(response.data, ctx.cache);
ctx.state.data = {
title,
| fix: switch to Dcard post api | null | diygod/rsshub | MIT License | JavaScript |
@@ -10,6 +10,7 @@ import zfit.z.numpy as znp
from .. import z
from ..core.interfaces import ZfitData, ZfitSpace
+from ..core.basepdf import BasePDF
from ..settings import ztypes
from ..util import binning as binning_util
from ..util import convolution as convolution_util
| fix: missing BasePDF import | null | zfit/zfit | BSD 3-Clause New or Revised License | Python |
@@ -72,21 +72,12 @@ namespace MLAPI.Transports.UNET
buffer = data.Array;
}
- if (skipQueue)
- {
RelayTransport.Send(hostId, connectionId, channelId, buffer, data.Count, out byte error);
}
- else
- {
- RelayTransport.QueueMessageForSending(hostId, connectionId, channelId, buffer, data.Count, out byte error);
- }
- }
pub... | fix: UNET not working with manual flush | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -41,7 +41,7 @@ export const PoolButtons: FC<PoolButtonsProps> = ({ pair }) => {
size="md"
variant="outlined"
as="a"
- href={`https://sushi.com/swap?token0=${pair.token0.id}&?token1=${pair.token1.id}&chainId=${pair.chainId}`}
+ href={`https://sushi.com/swap?token0=${pair.token0.id}&token1=${pair.token1.id}&chainId=${... | fix(apps/invest): pool button href | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -8,6 +8,10 @@ const StyledSwitch = styled(Switch)`
&&&&& input:checked ~ span {
background: ${Colors.GREY_10};
}
+
+ & input:focus + .bp3-control-indicator {
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2) !important;
+ }
`;
export default function AdsSwitch(props: ISwitchProps) {
| fix: Added focus styling for switches in property pane | null | appsmithorg/appsmith | Apache License 2.0 | TypeScript |
@@ -2,8 +2,8 @@ import dayjs from 'dayjs'
const locale = {
name: 'nl',
- weekdays: 'Zondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrijdag_Zaterdag'.split('_'),
- months: 'Januari_Februari_Maart_April_Mei_Juni_Juli_Augustus_September_Oktober_November_December'.split('_'),
+ weekdays: 'zondag_maandag_dinsdag_woensdag_donderd... | fix(locale-nl): set correct weekdays and months | null | iamkun/dayjs | MIT License | JavaScript |
@@ -28,6 +28,9 @@ do
fi
done
+iptables -P FORWARD ACCEPT
+iptables-nft -P FORWARD ACCEPT
+
# wait kube-ovn-controller ready
kubectl rollout status deployment/kube-ovn-controller -n "$(cat /run/secrets/kubernetes.io/serviceaccount/namespace)"
sleep 1
| fix: forward policy to accept | null | kubeovn/kube-ovn | Apache License 2.0 | Shell |
@@ -515,8 +515,8 @@ void validate_db(iallocator& allocator, const track_array_qvvf& raw_tracks, cons
#if defined(RTM_COMPILER_MSVC)
#pragma warning(push)
- // warning C6011: Dereferencing NULL pointer 'db_tracks0[0]'.
- // This is fine, ignore it
+ // warning C6011: Dereferencing NULL pointer '...'.
+ // Crashing is fi... | fix(tools): avoid null dereferencing warnings in regression tests | null | nfrechette/acl | MIT License | C++ |
@@ -67,11 +67,6 @@ public class IngestPoliciesStep implements BootstrapStep {
String.format("Found malformed policies file, expected an Array but found %s", policiesObj.getNodeType()));
}
- // If search index for policies is empty, send MCLs for all policies to ingest policies into the search index
- if (_entitySearchS... | fix(policies): change order of operations for policies bootstrap step to update index after database | null | linkedin/datahub | Apache License 2.0 | Java |
@@ -286,6 +286,11 @@ export function getResolvedPiecesFromFullTimeline (rundownData: RundownData, all
const itemMap: { [key: string]: Piece } = {}
pieces.forEach(piece => itemMap[piece._id] = piece)
+ pieces.forEach(piece => {
+ if (piece.infiniteId && !Object.keys(itemMap).includes(piece.infiniteId)) {
+ itemMap[piece... | fix: Pass infinites to OnTimelineGenerate | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -5,13 +5,13 @@ set -ex
# Re-Install ARM/Raspberry Pi ca-certifcates
# Which otherwise cause SSL Certificate Verification problems.
-# if $(arch | grep -q arm)
-# then
-# echo "Re-Installing ca-certifcates on Raspberry Pi / ARM CPU"
-# sudo apt-get remove -y ca-certificates
-# sudo apt-get update
-# sudo apt-get inst... | fix: ca still an issue with latest rpi on docker | null | ambianic/ambianic-edge | Apache License 2.0 | Shell |
@@ -634,12 +634,16 @@ namespace MLAPI
NetworkProfiler.EndTick();
}
- if (IsServer && ((NetworkTime - lastEventTickTime >= (1f / NetworkConfig.EventTickrate))))
+ if (((NetworkTime - lastEventTickTime >= (1f / NetworkConfig.EventTickrate))))
{
NetworkProfiler.StartTick(TickType.Event);
+
+ if (IsServer)
+ {
eventOversho... | fix: Fixed NetworkedVar loop not being ran on Client | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -249,11 +249,8 @@ impl InputHandler {
}
}
self.dispatch_action(Action::Detach, None);
- // is this correct? should be just for this current client
self.should_exit = true;
log::error!("Quitting Now. Dispatched the actions");
- // std::process::exit(0);
- //self.dispatch_action(Action::NoOp);
self.exit();
}
@@ -299,7... | fix: remove obsolete logs | null | zellij-org/zellij | MIT License | Rust |
@@ -77,7 +77,7 @@ export const ArtistAutosuggest: React.FC<ArtistAutosuggestProps> = ({
/>
{!enableArtworksFromNonArtsyArtists && <Spacer mb={1} />}
{showResults ? (
- <Box height="100%" mt={enableArtworksFromNonArtsyArtists ? 0 : 2}>
+ <Box height="100%" mt={enableArtworksFromNonArtsyArtists ? 0 : 2} pb={5}>
<Autosugg... | fix: My Collection form artist screen bottom spacing | null | artsy/eigen | MIT License | TypeScript |
@@ -329,6 +329,10 @@ func convertOther(srcInfo, destInfo SImageInfo, compact bool, workerOpions []str
cmdline = append(cmdline, "-c")
}
cmdline = append(cmdline, "-f", srcInfo.Format.String(), "-O", destInfo.Format.String())
+ if destInfo.Format.String() == "vmdk" { // for esxi vmdk
+ cmdline = append(cmdline, "-o")
+ ... | fix(glance): esxi vmdk requre streamOptimized | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -561,6 +561,10 @@ class VoiceConnection extends EventEmitter {
registerReceiveEventHandler() {
this.udpSocket.on("message", (msg) => {
+ if(msg[1] !== 0x78) { // unknown payload type, ignore
+ return;
+ }
+
const nonce = Buffer.alloc(24);
msg.copy(nonce, 0, 0, 12);
let data;
@@ -586,11 +590,7 @@ class VoiceConnectio... | fix(voice): properly ignore non-voice packets | null | abalabahaha/eris | MIT License | JavaScript |
@@ -109,7 +109,7 @@ class ContestController extends Controller
if($submission->verdict == 'Accepted') {
$score_parse = 100;
}else if($submission->verdict == 'Partially Accepted') {
- $score_parse = round($submission->score / $submission->problem->tot_score * $contest->problems()->where('pid', $submission->problem->pid)... | fix: score parsed display error | null | zsgsdesign/noj | MIT License | PHP |
@@ -681,7 +681,7 @@ if __name__ == "__main__":
print(futures_zh_spot_df)
futures_zh_spot_df = futures_zh_spot(
- symbol="TA2209", market="CF", adjust="0"
+ symbol="M2301", market="CF", adjust="0"
)
print(futures_zh_spot_df)
| fix(stock_ggcg_em): fix stock_ggcg_em interface | null | jindaxiang/akshare | MIT License | Python |
@@ -79,8 +79,7 @@ pub async fn upgrade(upgrade_flags: UpgradeFlags) -> Result<(), AnyError> {
};
let current_is_most_recent = if upgrade_flags.canary {
- let mut latest_hash = latest_version.clone();
- latest_hash.truncate(7);
+ let latest_hash = latest_version.clone();
crate::version::GIT_COMMIT_HASH == latest_hash
} ... | fix(cli): `deno upgrade --canary` always downloaded latest version even if it was already latest | null | denoland/deno | MIT License | Rust |
@@ -324,6 +324,8 @@ defmodule Ash.Engine do
def handle_cast({:spawn_requests, requests}, state) do
log(state, fn -> "Spawning request processes" end, :debug)
+ requests = sanitize_requests(requests, state.actor, state.authorize?, state.verbose?, true)
+
new_state =
Enum.reduce(requests, state, fn request, state ->
{:ok... | fix: always sanitize requests before we spawn them | null | ash-project/ash | MIT License | Elixir |
@@ -581,7 +581,7 @@ function pointToTutorialAndCourse(preset: Preset) {
output.note({
title,
bodyLines: [
- `https://nx.dev/react/tutorial/01-create-application`,
+ `https://nx.dev/latest/react/tutorial/01-create-application`,
...pointToFreeCourseOnEgghead(),
],
});
@@ -592,7 +592,7 @@ function pointToTutorialAndCourse... | fix(core): fix wrong create-nx-workspace tutorial link | null | nrwl/nx | MIT License | TypeScript |
@@ -397,12 +397,14 @@ public abstract class CommonSearchDialog extends JDialog {
protected class ResultsTableCellRenderer implements TableCellRenderer {
private final JLabel emptyLabel = new JLabel();
+ private final Font font;
private final Color codeSelectedColor;
private final Color codeBackground;
private final Map... | fix(gui): use editor font in search node column | null | skylot/jadx | Apache License 2.0 | Java |
@@ -69,9 +69,25 @@ defmodule Ash.Engine do
actor = opts[:actor]
if opts[:timeout] && is_integer(opts[:timeout]) do
+ parent = self()
+
Task.start_link(fn ->
- :timer.sleep(opts[:timeout])
+ ref = Process.monitor(parent)
+ timeout = opts[:timeout]
+
+ receive do
+ {:DOWN, ^ref, _, ^parent, _} ->
+ :ok
+ after
+ timeout ... | fix: timeout logic was timing out after the fact | null | ash-project/ash | MIT License | Elixir |
@@ -991,7 +991,7 @@ where
/// Converts an `Iterator` into a stream.
///
/// NOTE: This type do not implement `Positioned` and `Clone` and must be wrapped with types
- /// such as `BufferedStream` and `State` to become a `Stream` which can be parsed
+ /// such as `BufferedStreamRef` and `State` to become a `Stream` whic... | fix: Renamed SharedBufferedStream and BufferedStream to be less confusing | null | marwes/combine | MIT License | Rust |
#include <arpa/inet.h>
#include <ifaddrs.h>
+#include "common.hpp"
+#include "settings.hpp"
+#include "errors.hpp"
+#include "components/logger.hpp"
+#include "utils/math.hpp"
+
#if WITH_LIBNL
#include <net/if.h>
@@ -24,12 +30,6 @@ struct nlattr;
#endif
#endif
-#include "common.hpp"
-#include "settings.hpp"
-#include "... | fix(net): make sure WITH_LIBNL is defined before checking | null | polybar/polybar | MIT License | C++ |
@@ -43,6 +43,7 @@ import (
"yunion.io/x/onecloud/pkg/multicloud"
"yunion.io/x/onecloud/pkg/util/billing"
"yunion.io/x/onecloud/pkg/util/netutils2"
+ "yunion.io/x/onecloud/pkg/util/version"
)
var VIRTUAL_MACHINE_PROPS = []string{"name", "parent", "runtime", "summary", "config", "guest", "resourcePool", "layoutEx"}
@@ -5... | fix: disable webkms for esxi older than 6.5 | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -352,7 +352,7 @@ public class DefaultInterpretationService
+ interpretation.getUid();
break;
case CHART:
- path = "/dhis-web-visualizer/index.html?id=" + interpretation.getChart().getUid() + "&interpretationid="
+ path = "/dhis-web-data-visualizer/index.html#/" + interpretation.getChart().getUid() + "/interpretation... | fix: wrong link to Chart in InterpretationService | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -76,19 +76,22 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options:
(currentState == State.STALLED && player?.playWhenReady == false)
override val canPause: Boolean
- get() = currentState == State.PLAYING || currentState == State.STALLED
+ get() = currentState == State.PLAYING ||
+ curre... | fix(exoplayer): map Exoplayer internal states to Clappr states | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -197,6 +197,7 @@ const PrimaryMenu = ({ app, active }) => {
<nav className={`
sm:max-w-sm
grow
+ mb-12
`}>
<TopLogo app={app}/>
<Navigation app={app} active={active} />
| fix(fs.dev): increase bottom margin for navigation on mobile | null | freesewing/freesewing | MIT License | JavaScript |
@@ -42,14 +42,14 @@ public class RequireValidSessionFilter extends OncePerRequestFilter {
final HttpSession session = request.getSession(false);
if (session != null && !session.isNew()) {
// Session exists and is not new, don't bother filtering
- log.error("User {} has a session: {}", request.getRemoteUser(), session.g... | fix(maxInactive): Correct logging from error to debug in RequireValidSessionFilter.java | null | uportal-project/uportal | Apache License 2.0 | Java |
@@ -12,7 +12,10 @@ export default class PciUsersOpenstackTokenController {
$onInit() {
this.isLoading = false;
- this.user.password = 'brJ8zFZUrFMKHPdMd2fp7KSCpdanuHuS';
+ this.user = {
+ id: this.userId,
+ password: null,
+ };
this.token = null;
}
| fix(pci.users): pass userid and password to api | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
@@ -90,14 +90,19 @@ func NewCSRFHandler(
secure bool,
) *nosurf.CSRFHandler {
n := nosurf.New(router)
+
+ samesiteattribute := http.SameSiteNoneMode
+ if !secure {
+ samesiteattribute = http.SameSiteLaxMode
+ }
+
n.SetBaseCookie(http.Cookie{
MaxAge: nosurf.MaxAge,
Path: path,
Domain: domain,
HttpOnly: true,
Secure: sec... | fix: set samesite attribute to lax if in dev mode | null | ory/kratos | Apache License 2.0 | Go |
@@ -215,6 +215,7 @@ public class Nar extends SensoryChannel implements Reasoner, Serializable, Runna
public Nar(long narId, String relativeConfigFilePath, final Map<String, Object> parameterOverrides) throws IOException, InstantiationException, InvocationTargetException,
NoSuchMethodException, ParserConfigurationExcept... | fix: Nar: parameterOverride: implementation did set it in the wrong order | null | opennars/opennars | MIT License | Java |
@@ -630,10 +630,10 @@ public class AuthorizationManager extends AbstractManager {
configureQuery(query, DECISION_DEFINITION, "SELF.DEC_DEF_KEY_", READ_HISTORY);
}
- // external task log query /////////////////////////////////
+ // historic external task log query /////////////////////////////////
public void configureH... | fix(history): adjust column name in AuthorizationManager | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -155,7 +155,7 @@ public class Series : BaseModel
c.CreateSeriesEntry = createSeriesEntry;
c.BubbleExceptions = immediate;
});
- if (immediate && !handler.IsBanned)
+ if (immediate && (command.CacheOnly || !handler.IsBanned))
{
try
{
| fix: allow refresh from cache when http banned | null | shokoanime/shokoserver | MIT License | C# |
@@ -44,17 +44,17 @@ export const BlockType = {
const styleField = createStyleField(styles)
const listField = createListField(lists)
- const markDefsField = subTypeDef?.marks?.annotations && {
+ const markDefsField = {
name: 'markDefs',
title: 'Mark definitions',
type: 'array',
- of: subTypeDef.marks.annotations,
+ of: ... | fix(schema): add block type default markDefs field | null | sanity-io/sanity | MIT License | TypeScript |
@@ -72,6 +72,10 @@ class Parsedown extends \ParsedownToC
if (!array_key_exists('width', $image['element']['attributes'])) {
$image['element']['attributes']['width'] = $width;
}
+ // set height
+ if (!array_key_exists('height', $image['element']['attributes'])) {
+ $image['element']['attributes']['height'] = $asset->get... | fix: set height to body images | null | cecilapp/cecil | MIT License | PHP |
@@ -327,8 +327,6 @@ void _lv_obj_style_create_transition(lv_obj_t * obj, lv_part_t part, lv_state_t
if(tr == NULL) return;
tr->start_value = v1;
tr->end_value = v2;
-
- if(tr) {
tr->obj = obj;
tr->prop = tr_dsc->prop;
tr->selector = part;
@@ -349,7 +347,6 @@ void _lv_obj_style_create_transition(lv_obj_t * obj, lv_part_... | fix(style): remove useless null pointer judgment | null | lvgl/lvgl | MIT License | C |
@@ -120,6 +120,7 @@ createZipForMac() {
ditto {./WebKitBuild/Release,$tmpdir}/com.apple.WebKit.Plugin.64.xpc
ditto {./WebKitBuild/Release,$tmpdir}/com.apple.WebKit.WebContent.xpc
ditto {./WebKitBuild/Release,$tmpdir}/JavaScriptCore.framework
+ ditto {./WebKitBuild/Release,$tmpdir}/libANGLE-shared.dylib
ditto {./WebKitB... | fix(devops): include libANGLE-shared.dylib into mac archive | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -203,7 +203,9 @@ class AzureImageStandard(TestSuite):
re.compile(r"(.*was skipped because of a failed condition check.*)$", re.M),
re.compile(r"^(.*GRUB failed boot detection.*)$", re.M),
re.compile(r"^(.*nofail.*)$", re.M),
- re.compile(r"^(.*SGI XFS with ACLs, security attributes, realtime, verbose warnings, quota... | fix: python linting | null | microsoft/lisa | MIT License | Python |
@@ -264,7 +264,7 @@ func (mf *MultiFileAppendable) Append(bs []byte) (off int64, n int, err error) {
if mf.currApp.CompressionFormat() == appendable.NoCompression {
d = minInt(available, len(bs)-n)
} else {
- d = len(bs)
+ d = len(bs) - n
}
offn, _, err := mf.currApp.Append(bs[n : n+d])
@@ -288,6 +288,8 @@ func (mf *Mu... | fix: pass compression settings into newly created single-file appendable | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -862,6 +862,15 @@ func (disk *SDisk) PerformResize(ctx context.Context, userCred mcclient.TokenCre
if guest != nil {
return nil, httperrors.NewUnsupportOperationError("try use /servers/<%s>/resize-disk API", guest.Id)
}
+ if guest.Hypervisor == api.HYPERVISOR_ESXI {
+ c, err := guest.GetInstanceSnapshotCount()
+ if ... | fix(region): prohibit resizing the disk of a esxi vm with instance snapshots | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -18,6 +18,19 @@ export function applyUIDMonkeyPatch(): void {
}
}
+function getDisplayName(type: any) {
+ // taken from https://github.com/facebook/react/blob/7e405d458d6481fb1c04dfca6afab0651e6f67cd/packages/react/src/ReactElement.js#L415
+ if (typeof type === 'function') {
+ return type.displayName || type.name ||... | fix: properly displayNaming the mangled functions | null | concrete-utopia/utopia | MIT License | TypeScript |
@@ -3,6 +3,7 @@ package jadx.gui.ui.dialog;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.FlowLayout;
+import java.awt.Font;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
@@ -22,6 +23,7 @@ import jadx.api.JavaNode;
import jadx.api.utils.CodeUtils;
import ... | fix(gui): use editor font for usage label | null | skylot/jadx | Apache License 2.0 | Java |
// limitations under the License.
use std::iter::TrustedLen;
+use std::sync::atomic::Ordering;
use common_arrow::arrow::bitmap::Bitmap;
use common_arrow::arrow::bitmap::MutableBitmap;
+use common_catalog::table_context::TableContext;
use common_datablocks::DataBlock;
+use common_exception::ErrorCode;
use common_excepti... | fix(processor): support abort for right join | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -87,7 +87,7 @@ class RenderStyle
RenderStyle? parentRenderStyle = renderStyle.parent;
if (parentRenderStyle != null) {
- cropWidth = _getCropWidthByMargin(currentRenderStyle, cropWidth);
+ cropWidth += currentRenderStyle.margin.horizontal;
cropWidth = _getCropWidthByPaddingBorder(currentRenderStyle, cropWidth);
pare... | fix: crop width | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -169,6 +169,15 @@ impl JsBigInt {
return Err(context.construct_range_error("BigInt negative exponent"));
};
+ let num_bits = (x.inner.bits() as f64
+ * y.to_f64().expect("Unable to convert from BigUInt to f64"))
+ .floor()
+ + 1f64;
+
+ if num_bits > 1_000_000_000f64 {
+ return Err(context.construct_range_error("Max... | fix(boa): fixes panic on bigint size | null | boa-dev/boa | MIT License | Rust |
@@ -198,25 +198,10 @@ namespace WalkingTec.Mvvm.Mvc.Admin.ViewModels.FrameworkMenuVMs
mainAction.Module = model;
mainAction.MethodName = "Index";
}
- var ndc = DC.ReCreate();
- var oldIDs = ndc.Set<FrameworkMenu>()
- .Where(x => x.ParentId == Entity.ID)
- .Select(x => x.ID)
- .ToList();
- foreach (var oldid in oldIDs)
... | fix: fix the bug that menu edit will change menuid | null | dotnetcore/wtm | MIT License | C# |
@@ -72,6 +72,10 @@ if [[ "$ENABLE_SSL" == "false" ]]; then
ovn-sbctl set-connection ptcp:"${DB_SB_PORT}":["${DB_SB_ADDR}"]
ovn-sbctl set Connection . inactivity_probe=0
else
+ if [[ ! "$NODE_IPS" =~ "$POD_IP" ]]; then
+ echo "ERROR! host ip $POD_IP not in env NODE_IPS $NODE_IPS"
+ exit 1
+ fi
/usr/share/ovn/scripts/ovn... | fix: ovn-central check if it exits in NODE_IPS | null | kubeovn/kube-ovn | Apache License 2.0 | Shell |
@@ -1587,8 +1587,10 @@ def one_hot(inp: Tensor, num_classes: int) -> Tensor:
[0 0 1 0]
[0 0 0 1]]
"""
- zeros_tensor = zeros(list(inp.shape) + [num_classes], inp.dtype, inp.device)
- ones_tensor = ones(list(inp.shape) + [1], inp.dtype, inp.device)
+ zeros_tensor = zeros(
+ list(inp.shape) + [num_classes], dtype=inp.dty... | fix(mge/functional): fix one_hot irregular coding style | null | megengine/megengine | Apache License 2.0 | Python |
@@ -59,6 +59,7 @@ import (
gormadapter "github.com/casbin/gorm-adapter"
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
+ "github.com/google/go-github/github"
"github.com/goph/emperror"
"github.com/prometheus/client_golang/prometheus"
"github.com/sirupsen/logrus"
@@ -277,10 +278,15 @@ func main() {
})
// inser... | fix: save github ID as well | null | banzaicloud/pipeline | Apache License 2.0 | Go |
@if($gallery->prompt_selection == 1 && (!$submission->id || Auth::user()->hasPower('manage_submissions')))
<div class="form-group">
{!! Form::label('prompt_id', ($submission->id && Auth::user()->hasPower('manage_submissions') ? '[Admin] ' : '').'Prompt (Optional)') !!} {!! add_help('This <strong>does not</strong> autom... | fix: adds submission prompt id for editing gallery submissions | null | corowne/lorekeeper | MIT License | PHP |
@@ -68,7 +68,7 @@ class DashboardChart {
this.get_settings().then(() => {
this.prepare_chart_object();
this.prepare_container();
- this.fetch().then((data) => {
+ this.fetch(this.filters).then((data) => {
this.update_last_synced();
this.data = data;
this.render();
@@ -106,7 +106,7 @@ class DashboardChart {
const values... | fix(dashboard): Fetch data with correct filters | null | frappe/frappe | MIT License | JavaScript |
@@ -275,7 +275,7 @@ func (r *restStore) createIndexedAttributes(keyName string) ([]models.IndexedAtt
storeIndexedAttribute := models.IndexedAttribute{
Name: r.storeIndexNameMACBase64Encoded,
Value: base64.URLEncoding.EncodeToString([]byte(storeIndexValueMAC)),
- Unique: true,
+ Unique: false,
}
storeAndKeyIndexValueMAC... | fix: EDV REST provider store indexed attribute creation | null | hyperledger/aries-framework-go | Apache License 2.0 | Go |
@@ -32,14 +32,6 @@ const endEvents = new Set(["mouseup", "touchend", "touchcancel"]);
const baseEvents = <const>["mousemove", "mousedown", "touchstart", "wheel"];
-const tempEvents = <const>[
- "touchend",
- "touchcancel",
- "touchmove",
- "mouseup",
- "mousemove"
-];
-
const eventGestureTypeMap: IObjectOf<GestureType>... | fix(rstream-gestures): remove duplicate MOVE events | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -317,10 +317,7 @@ func (o *CommonOptions) getUsername(userName string) (string, error) {
}
func addTeamSettingsCommandsFromTags(baseCmd *cobra.Command, in terminal.FileReader, out terminal.FileWriter, errOut io.Writer, options *EditOptions) error {
- teamSettings, err := options.TeamSettings()
- if err != nil {
- re... | fix: Avoiding unnecessary initialization just to get struct members | null | jenkins-x/jx | Apache License 2.0 | Go |
@@ -9,6 +9,6 @@ POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-$(cat ${SECRET_DIR}/postgres_password)}
HASURA_GRAPHQL_DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
exec graphql-engine \
- --disable-cors \
--database-url $HASURA_GRAPHQL_DATABASE_URL \
- serve
+ se... | fix: move graphql-engine option under serve command | null | input-output-hk/cardano-graphql | Apache License 2.0 | Shell |
@@ -206,7 +206,7 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
// If we are creating a new record in a has-many list, then
// Disable the form field as it has no effect.
- if ($list instanceof HasManyList) {
+ if ($list instanceof HasManyList && !$this->record->isInDB()) {
$key = $list->getForeignKey(... | fix: Allow editing of relation if item is created | null | silverstripe/silverstripe-framework | BSD 3-Clause New or Revised License | PHP |
@@ -1432,12 +1432,8 @@ angular
// Display size with unit (recursive)
- $scope.getDisplaySize = function getDisplaySize(octetsSize, _unitIndex) {
- let unitIndex = _unitIndex;
+ $scope.getDisplaySize = function getDisplaySize(octetsSize, unitIndex = 0) {
if (!Number.isNaN(octetsSize)) {
- if (Number.isNaN(unitIndex)) {
... | fix(dedicated): restore display size | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
@@ -181,7 +181,6 @@ func (s *genericService) GetConfig(ctx context.Context, req *generic.GetConfigRe
}
for key, data := range s.dispatch.ListData() {
labels := s.dispatch.ListLabels(key)
- fmt.Println(labels)
if !ContainsAllLabels(req.Labels, labels) {
continue
}
| fix: Remove unnecessary debug print | null | ligato/vpp-agent | Apache License 2.0 | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.