程序员的自我修养 , 整理一些计算机类的基本知识
JavaScript Style Guide
dioxide/jquery.serializeJSON 0
Serialize an HTML Form to a JavaScript Object, supporting nested attributes and arrays.
JavaScript library of crypto standards.
⏳ Modern JavaScript date utility library ⌛️
F(unctional) util(ities). Resistance is futile.
The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.
:ram: Practical functional Javascript
A reactive programming library for JavaScript
PR opened facebook/react
Overview
This is failing the sync so let's turn it off and follow up after we have the root config option.
pr created time in 2 minutes
issue commentvuejs/vue
当我使用v-bind=“$attrs”传递symbol会报错
You should do
inheritAttrs: false, template:`<component-b v-bind="$props" />`,Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂
thanks!
comment created time in 9 minutes
push eventfacebook/react
commit sha cdb6b4c554bb40654d6c3e72f06b29003bec8dc7
Only hide outermost host nodes when Offscreen is hidden (#21250)
push time in 13 minutes
PR merged facebook/react
Follow-up to https://github.com/facebook/react/pull/21079
If there's a hidden Offscreen (or Suspense) subtree containing nested host nodes, we only need to hide the outermost one, e.g. before this change:
<Offscreen hidden>
<div hidden>
<div hidden>
[no text]
After this change:
<Offscreen hidden>
<div hidden>
<div>
[text]
pr closed time in 14 minutes
pull request commentfacebook/react
Remove @octokit/rest dependency from DevTools
Yay, thanks!
comment created time in 14 minutes
issue commentfacebook/react
It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. Screenshots or videos can also be helpful if they help provide context on how to repro the bug.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve
comment created time in 14 minutes
created tagmatomo-org/matomo
Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. We love Pull Requests!
created time in 17 minutes
delete branch electron/electron
delete branch : trop/13-x-y-bp-build-fix-docs-only-change-script-to-pull-all-files-not-just-30-1618876883634
delete time in 18 minutes
push eventelectron/electron
commit sha 1937aff7934b4dc41c294837c2adfdf5263cd523
build: fix docs only change script to pull all files not just 30 (#28744) Co-authored-by: Samuel Attard <[email protected]>
push time in 18 minutes
pull request commentelectron/electron
build: fix docs only change script to pull all files not just 30
No Release Notes
comment created time in 18 minutes
PR merged electron/electron
Backport of #28737
See that PR for details.
Notes: none
pr closed time in 18 minutes
delete branch electron/electron
delete branch : trop/11-x-y-bp-build-fix-docs-only-change-script-to-pull-all-files-not-just-30-1618876882292
delete time in 18 minutes
pull request commentelectron/electron
build: fix docs only change script to pull all files not just 30
No Release Notes
comment created time in 18 minutes
push eventelectron/electron
commit sha 04991376d50c818eac4c858538fa0f8c5cb5a3b9
build: fix docs only change script to pull all files not just 30 (#28743) Co-authored-by: Samuel Attard <[email protected]>
push time in 18 minutes
push eventelectron/electron
commit sha d0fdf5a374cd19ecb9722c1513e2e8d70d72ed10
build: fix docs only change script to pull all files not just 30 (#28742) Co-authored-by: Samuel Attard <[email protected]>
push time in 18 minutes
PR merged electron/electron
Backport of #28737
See that PR for details.
Notes: none
pr closed time in 18 minutes
delete branch electron/electron
delete branch : trop/12-x-y-bp-build-fix-docs-only-change-script-to-pull-all-files-not-just-30-1618876881989
delete time in 18 minutes
pull request commentelectron/electron
build: fix docs only change script to pull all files not just 30
No Release Notes
comment created time in 18 minutes
PR merged electron/electron
Backport of #28737
See that PR for details.
Notes: none
pr closed time in 18 minutes
issue commentelectron/electron
[Bug]: NodeIntegration not working
You need to disable contextIsolation, it is enabled by default in Electron 12+
You should not disable contextIsolation, instead work to refactor your application logic to support the new default. Context Isolation is a security measure, you shouldn't disable it purely out of developer convenience, it was enabled by default for a reason
comment created time in 19 minutes
issue openedfacebook/react
<!-- Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest version of the relevant React packages to make sure your issue has not already been fixed. -->
React version:
Steps To Reproduce
1.react16.2
手机华为p30、荣耀 在div中绑定onTouchStart、onTouchEnd、onTouchMove事件,在手机上的百度浏览器、自带浏览器等不能拖动,在手机的微信浏览器、qq浏览器可以拖动滑块。
请问需要在手机端拖动滑块应该怎么做2.
<!-- Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Issues without reproduction steps or code examples may be immediately closed as not actionable. -->
Link to code example:
<!-- Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve. -->
The current behavior
The expected behavior
created time in 23 minutes
push eventfacebook/react
commit sha 7becb2ff1befe8788f30268ebd8ad59aefcdb4f1
DevTools version bump 4.12.3 -> 4.12.4
push time in 24 minutes
push eventmatomo-org/matomo
commit sha d38da1a49c4809c8c3a9df4ca8079101f8819644
test for trim action name (#17266) * trim action name * test for trim action_name
commit sha 0821e20974b9d5b4a9373c5611137608ca0ada3b
remove ui file
commit sha f8ae82659fa2eefb6b87abf0b9967429f851e9e5
readd ui file
commit sha f17fd3cc4c630938c23fc917ffb2a4cff72d3b64
update expected test files
commit sha 636898d5b8c9a439d95c87c07e7d515c374807a1
also try reloading core js if request fails
commit sha 34bf9d84c08f642c204e967acea55eb631ee6439
remove deletion of old archives in CronArchive since we do this in ArchiveWriter, and it is buggy here (#17314) * prevent edge case when partial archive archives and latest archive is invalidated (should generally not happen since in that case it would be processed before the partial archive, but just in case) * Add initial tests * fix another edge case (if function is called in a different context) * fixing tests * remove function since not actually needed * fix test and apply pr feedback + find another issue and fix (when invalidating partial archives, they should not change the done flag to DONE_INVALIDATED) * add test for recent change
commit sha 35a4a3509111e078d320a1412c415c2cb9245e36
Add some archive deletion logs. (#17347)
commit sha 4493012f3ad24dc9b773ec7212ca2f38e41ac57c
Add informational diagnostic for archive invalidations table. (#17110) * Add informational diagnostic for archive invalidations table. * remove TODO * fix test + remove other diagnostics * add file * text and value tweak * update submodule * renormalize lfs * In diagnostics ui test, replace date times w/ DATETIME string. * update expected screenshot
commit sha 9ae5d067b064f64a393b636b223630ad67f99883
Check usernames and emails against each other on user create and update (#17296) * check username and email together on user create and update * Update APITest.php
commit sha 4778bc5c065c7bb325b14f7dbcc6b097d7a4097f
Ensure site is selected in siteselector if only one site is available (#17349)
commit sha 7527bce11d1b3f9a5ace08eb26e5379f7702cf7c
Development mode notifications when Matomo not installed through git (#17300) * not git installed exception for generate commands * notify superadmin about development mode * throw error in initalize method * add guide url to the exception message * modify exception message * add development mode check
commit sha dabc1caf64b16f40298bd6b7c43cf93cd0071b07
Ask users to refer us to other friends (#17234) * skeleton for the refer banner * refer banner wip * share buttons * show refer banner logic * fix linkedin share, hide mastodon * fix double call for remind me later and error on response * add tests for refer banner * fix travis tests * fix travis tests * add thanks feedback and language files * hide fb share * turn on fb share * update refer banner copies * add changes according to pr comments * normalize lfs Co-authored-by: diosmosis <[email protected]>
commit sha f8bb64aee18b3a30bd948a44672c940501116db9
Fixes a couple of regressions & tests (#17358) * Fix regression in feedback js * fix some more feedback regressions * update submodule * fix site selection when creating a new user * fix ui test
commit sha a7cd9b671e56a9d79835771f76bab505980fbdf0
workflows for handling inactive prs (#17354)
commit sha a2a9caa034251c05771df738ea39ed35172906a4
updates all submodules (#17359) Co-authored-by: diosmosis <[email protected]>
commit sha 59ee8ce9c8ced7c0fab5d5a910cb5ef4c3a901f4
language update (#17361) Co-authored-by: tsteur <[email protected]>
commit sha 9a9e57b2d5a60dee61bf5496067595f2d6f21a6f
Fix remaining regressions & ui tests (#17360) * fix som ui tests * improve randomly failing ui test * Ensure not to abort ajax requests on initial page load * updates expected ui files * fix more ui tests * adds missing ui screenshot * updates expected ui file
commit sha d01a55eb92fa92099ffc94cc799e58cb853a5965
check for filter, hash and session php extensions (#17363) * check for filter, hash and session php extensions * use single quotes * update expected screenshots Co-authored-by: diosmosis <[email protected]>
commit sha 35994411bb9ffd56fe2c187db6105a76aff5563d
Ensure second parameter in gmdate is int, not float (#17365) see https://forum.matomo.org/t/problem-with-the-two-factor-authentication-setting/41128/12? > WARNING: /Piwik/core/Cookie.php(155): Warning - gmdate() expects parameter 2 to be int, float given - Matomo 4.1.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: UsersManager, Action: setIgnoreCookie, In CLI mode: false)
commit sha f100736dde9b34d07436a606ac57de6ab7e9feb7
Ensure login allow list is not checked for authenticated tracking requests (#17357) * Ensure login allow list is not checked for authenticated tracking requests * apply review feedback * change event handler name Co-authored-by: dizzy <[email protected]>
push time in 25 minutes
push eventfacebook/react
commit sha 83bdc565f9921c341d558e29401d20151166695b
Remove @octokit/rest dependency from DevTools (#21317)
push time in 26 minutes
PR merged facebook/react
The @octokit/rest package pulls in node-fetch which has a long-standing dependencies bug (https://github.com/node-fetch/node-fetch/issues/675) where it does not properly specify encoding as a dependency (optional or non). this was fixed for node-fetch@3 but that fix was never released, which in turn caused problems when I tried to upgrade DevTools for React Native.
Given the limited GitHub API usage, I just removed the @octokit/rest package and manually handled the API requests. Probably should have done this originally.
pr closed time in 27 minutes
issue commentmatomo-org/matomo
problem is there's no notificationId defined in the angularjs component. It's likely only set in the scope.
comment created time in 33 minutes
issue commentfacebook/create-react-app
Typescript enums don't work with create-react-app loader
Having the same issue with symlinked enums.
comment created time in 35 minutes
issue commentelectron/electron
[Feature Request]: desktopCapturer Windows UAC
This is intentional. When UAC is activated it runs it in secure desktop mode and tries to isolate UAC from third party applications as much as possible. At this point only SYSTEM processes should be able to interact with it. You can circumvent this if you want this behavior for a certain machine but I do not recommend this as it does weaken security.
TeamViewer, Windows RDP, etc all get past this restriction by having the privileges of their application elevated.
I don't see Electron adding this ability as it would make all Electron applications require admin privileges as this isn't something that can be added as an option so easy. This would come more into the realm of when Electron is built. You can try an Electron specific exe.manifiest trick and see if this gets you a little closer to your goal. But from my understanding Electron Packager can do invoking parameters too.
comment created time in 38 minutes
issue commentmatomo-org/matomo
Stuck on Applying queued rearchiving after big installation update to matomo 4
Hi @parruc, can you run SELECT COUNT(*) FROM piwik_option WHERE option_name LIKE '%report_to_invalidate_733_2021-01-29%' and see how many items it's trying to select?
comment created time in 38 minutes