sbuzonas
Repos
180
Followers
14
Following
48

The repository for high quality TypeScript type definitions.

40925
27529

Python Serverless Microframework for AWS

9210
921

Predictable state container for JavaScript apps

58692
14850

Dependency Manager for PHP

26947
4057

The Symfony PHP framework

27459
8580

Composer Installer for packages that live in the webroot of a project.

121
18

Events

Created at 3 weeks ago

Cicada/Vicuna Theme Updates (#2037)

Dnscryptproxy dnsbl.sh helper script fix for blocklistproject sites (#2039)

blocklistproject sites are formatted in two columns, the first column is 0.0.0.0 and teh second column is the domain to block. Added an awk to just get the list of sites.

update bgp as-path command (#2032)

Tukan Theme Updates (#2038)

Allow hyphen / minus sign (-) as a valid hostname character (#2030)

net/chrony: release 1.0

dns: bump revisions for later release

mail/postfix: bump version (#2043)

net/frr: bump version (#2042)

security/acme-client: prevent shell command injection

stunnel: add protocol support to stunnel (#2022)

security/acme-client: fix HAProxy plugin support (regression)

security/acme-client: fix update of existing cert (regression)

Merge pull request #2028 from fraenki/acme_200

security/acme-client: release 2.0

security/acme-client: fix copyright headers, unbreak sync

security/acme-client: prevent shell command injection, as discussed in #2028

security/acme-client: do not depend on legacy code, as discussed in #2028

security/acme-client: fix copyright, see ffc1703 334aa32, refs #2055

Merge pull request #2055 from fraenki/acme_200_post

security/acme-client: post merge fixes for version 2.0

Git backup: work in progress for https://github.com/opnsense/plugins/issues/2049

Created at 1 month ago

regenerate api clients (#800)

adds empty response test cases for ec2query, json and xml service clients

Remove Client Option Getters, Refactor Middleware Helpers to not expose interfaces for configuration (#788)

Merge pull request #801 from aws/fix-empty-response-deser

codegen: Regenerates API clients (#804)

Regenerates SDK's API clients and protocol tests.

generated s3 and s3control client supporting checksum required trait

Merge pull request #812 from aws/support-checksumRequiredTrait

generated s3 and s3control client supporting checksum required trait

Port V1 S3 Transfer Manager to V2 (#802)

Refactor Config Module, Add Config Package Documentation and Examples, Improve Overall SDK Readme (#822)

update README SDK build status badge (#824)

Updates the README doc's SDK build status badge.

regenerate apis (#821)

Regenerates SDK API clients based on codegen change awslabs/smithy-go#216

updates s3 xml util to derive error code from status code, adds s3 HeadObject customization

update gohash

generated s3 and s3control clients

limits deriving error code from status to s3

updates go hash to use pseudo versioning

regenerate s3, s3control client

Fixups to README.md (#826)

Updates the README.md links, descriptions, and examples to refer to the indented content.

separate utils for s3 and s3control

update go hash

Created at 1 month ago
Created at 1 month ago

Refs #27694 -- Added more tests for chaining lookups with HStoreField key transforms.

Refs #27694 -- Doc'd lookups that can be chained with HStoreField key transforms.

Refs #33107 -- Optimized cached_import() helper.

Fixed #32888 -- Doc'd that select_for_update() only locks tables with selected columns.

Fixed #22224 -- Added note about supplying missing values for non-nullable fields with blank=True.

Refs #29026 -- Added log() to makemigrations.

Added release date for 3.2.7.

Added stub release notes for Django 3.2.9.

Refs #32074 -- Added Python 3.10 to classifiers and tox.ini.

Dropped easy_install example from Release How-To.

easy_install was deprecated in 2019. https://setuptools.pypa.io/en/latest/history.html#v42-0-0

Refs #32074 -- Doc'd Python 3.10 compatibility in Django 3.2.x.

Refs #26430 -- Removed unused branch in sql.Query.get_count().

Now that sql.Query.get_aggregation() properly deals with empty result sets summary Count() annotations cannot result in None.

Unused since 9f3cce172f6913c5ac74272fa5fc07f847b4e112.

Fixed #23408 -- Added migrations questioner prompt for adding unique fields with a callable default.

Fixed #33156 -- Used sessionStorage to preserve quick filter for admin's navigation sidebar.

Refs #33029 -- Fixed popups Selenium tests in headless mode.

Co-authored-by: Yash Jhunjhunwala yash@jhunjhunwalaadvisors.com

Fixed #33131 -- Improved error messages for clashing reverse accessor names.

Refs #31026 -- Improved BoundField.label_tag() docs.

Fixed #33151 -- Fixed createsuperuser crash for many-to-many required fields in non-interactive mode.

Fixed tests.queries.models.StaffUser.str().

Refs #25467 -- Added test for excluding one-to-one relation with unsaved objects.

Fixed in 58da81a5a372a69f0bac801c412b57f3cce5f188.

Created at 1 month ago
Created at 1 month ago

Translated using Weblate (Hungarian)

Currently translated at 100.0% (2325 of 2325 strings)

Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/

Translated using Weblate (Hungarian)

Currently translated at 100.0% (2325 of 2325 strings)

Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/

Translated using Weblate (Hungarian)

Currently translated at 100.0% (2325 of 2325 strings)

Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/

Translated using Weblate (Swedish)

Currently translated at 100.0% (2325 of 2325 strings)

Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/

Translated using Weblate (Japanese)

Currently translated at 100.0% (2325 of 2325 strings)

Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/

[MM-40485] Enable receiving binary websocket messages (#19128)

  • Enable receiving binary websocket messages

  • Improve error message

  • Prefer anonymous declaration

  • Simplify

  • Improve test

  • Use MessagePack to clone WebSocketRequest struct

  • Use short form

  • Fix test

Remove the remaining fields from *app.Server (#19113)

We move these fields to Channels:

uploadLockMapMut sync.Mutex
uploadLockMap    map[string]bool
imgDecoder *imaging.Decoder
imgEncoder *imaging.Encoder
dndTaskMut sync.Mutex
dndTask    *model.ScheduledTask

I think this PR should conclue the initial phase of migrating stuff from Server to Channels.

The remaining task would be to focus on continue to create the remaining services from the common things like users, teams, push notifications, clustering for other products to consume.

https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4/87df1e15-588e-49ff-8bd1-ffa9651b8c82

NONE

MM-38150 Adding playbooks permissions (#19096)

  • Add playbooks related permissions.

  • Add RolesGrantPermission to pluginapi

  • Fixing scopes.

  • New defaults.

  • Fix defaults

  • Fix tests.

  • Fix migration.

  • More test and migration fixes.

  • Need to add everything to system admin too.

  • Move to 63

  • Feedback fixes.

  • Fix system manager editing playbook permissions.

Pre-package Playbooks v1.22.1 (#19130)

  • Pre-package Playbooks v1.22.1

  • Bump

Remove dead struct ManifestExecutables (#19122)

MM-40469: Handle invalid response codes from plugins (#19136)

  • MM-40469: Handle invalid response codes from plugins

This was an interesting crash detected via Sentry.

Typically, any HTTP status code outside 100-999 range will cause a crash in the HTTP server. And ExecuteCommand is the only plugin hook which returns a model.AppError instead of error.

So an incorrect plugin implementation could return a status code of 0, and crash the server. We handle that by rewriting any illegal response code to 500.

https://mattermost.atlassian.net/browse/MM-40469

NONE
  • added warning
NONE

[MM-39636] Migrate from gorp to sqlx in store/sqlstore/product_notices_store.go (#19012)

  • Migrate from gorp to sqlx in ProductNoticesStore

  • Address PR comments

Co-authored-by: Mattermod mattermod@users.noreply.github.com

[MM-39636] Migrate from gorp to sqlx in store/sqlstore/retention_policy_store.go (#18994)

  • Migrate Save from gorp to sqlx

  • Migrate checkTeamsExist from gorp to sqlx

  • Migrate checkChannelsExist from gorp to sqlx

  • Migrate Patch from gorp to sqlx

  • Migrate buildGetPoliciesQuery from gorp to sqlx

  • Migrate Get from gorp to sqlx

  • Change buildGetPolicyQuery return values

  • Migrate GetAll from gorp to sqlx

  • Migrate GetCount from gorp to sqlx

  • Migrate Delete from gorp to sqlx

  • Migrate GetChannels from gorp to sqlx

  • Migrate GetChannelsCount from gorp to sqlx

  • Migrate AddChannels from gorp to sqlx

  • Migrate RemoveChannels from gorp to sqlx

  • Migrate GetTeams from gorp to sqlx

  • Migrate GetTeamsCount from gorp to sqlx

  • Migrate AddTeams from gorp to sqlx

  • Migrate RemoveTeams from gorp to sqlx

  • Migrate DeleteOrphanedRows from gorp to sqlx

  • Migrate GetTeamPoliciesForUser from gorp to sqlx

  • Migrate GetTeamPoliciesCountForUser from gorp to sqlx

  • Migrate GetChannelPoliciesForUser from gorp to sqlx

  • Migrate GetChannelPoliciesCountForUser from gorp to sqlx

  • Migrate Delete from gorp to sqlx

  • Add mapper tag function before saving a record

Summary: Since there is a db tag in this model for the ID column, I set a mapper in this transaction to lowercase all mapping columns before saving the record.

  • Use quoted identifiers when selecting Id

  • Address PR comments, replace variable declarations for their short hand syntax

  • Enhance subquery implementation

Co-authored-by: Mattermod mattermod@users.noreply.github.com

[MM-39231] Migrate license store from gorp to sqlx in store/sqlstore/license_store.go (#19146)

Automatic Merge

prepackage boards to v0.10.0 (#19111)

Co-authored-by: Mattermod mattermod@users.noreply.github.com

Translated using Weblate (Turkish)

Currently translated at 100.0% (2325 of 2325 strings)

Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/

Translated using Weblate (Dutch)

Currently translated at 100.0% (2325 of 2325 strings)

Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/

Translated using Weblate (Russian)

Currently translated at 96.0% (2233 of 2325 strings)

Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/

[MM-39640] Migrate from gorp to sqlx in store/sqlstore/role_store.go (#19022)

Automatic Merge

Improve gif processing (#19164)

  • Improve gif processing

  • feedback impl

Remove unnecessary test TestValidateToken (#19177)

The TestValidateToken was actually testing the underlying library rather than testing our code. So, in a way, it was ineffective.

The actual flaky test was that in a rare care, the random string generated might actually lead to 000000 being an actual code rather than invalid.

So using random strings is fundamentally incorrect. Even the tests in the library use hardcoded strings and not random strings.

To fix this properly would be to use hardcoded strings, but then we would just be testing the library and not our code. To keep things simple, we just keep the test to verify the error message and remove the others.

https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4/cidjhgy1ag3yktn5eszae1489yr

NONE

fix mmctl download script when using as stand alone script (#19143)

Created at 1 month ago
Created at 1 month ago
Created at 1 month ago

fixes #33439 - Update settings explanation

Setting has now "Yes" and "No" options for boolean options. Explanations doesn't reflect that. This PR fix that.

Fixes #33287 - Duplicate key error with two applicability gen tasks (#9653)

Fixes #33562 - update to dynflow 1.6.1

The new serialization method support serializing complex keys within input, so we no longer need to parse them

Fixes #32660 - adds an authentication token for repository remote URLS such as SLES repos

Fixes #33454 - Add repositories node to generic content unit results (#9629)

Fixes #27625 - add deb applicability

Fixes #33544 - update boostrap-select for RH repos error

Fixes #33572 - Refreshes the host statuses on 'built' (#9673)

During a global registration

  1. System is registered to host
  2. The build mode is set to true
  3. Another script runs to set the build mode to false if nothing fails

This code tracks that time where the hosts' build mode goes from false -> true and refreshes the status appropriately.

Fixes #33468 - remove background download policy references (#9633)

Fixes #33262 - Remove CV version from Environments flow (#9627)

  • Fixes #33262 - Remove CV version from Environments flow

(cherry picked from commit 76b2402d0fd21a956a12c4ba3ee34c53c099fbc5)

  • Fixes #33262 - Address review comments

  • Fixes #33262 - useSet()

Fixes #33567 - remove checksum values from pulp3 repos

due to an upgrade bug in pulp3, repository objects can have a checksum set which will cause the checksum to be used when publishing metadata. This causes a problem with pulp2 smart proxies syncing content and expecting all package checksums to match the metadata checksums

Fixes #32435 - errata srpms not considering during filtering (#9619)

Fixes #33465 - don't show links to default org view in proxy UI (#9630)

Fixes #33517 - add force option to metadata regeneration (#9654)

Fixes #33485 - Content - Errata - Table row expansion (#9646)

Fixes #33557 - adds the ostree repository type for registration

Fixes #33518 - do not regenerate metadata on force sync

for mirrored repos

  • Updates capsule syncing to never regenerate metadata for yum repos
    • Also cleans and simplifies the code by using a lookup to find the publication href, instead of passing it around
  • Updates repo sync to never regenerate metadata on a force sync

Fixes #33573 - catch RestClient::NotFound in UpstreamConsumer

Fixes #33545 - Add errata by date and Id filters (#9665)

Fixes #33534 - registry name pattern update fails (#9663)

Created at 1 month ago

Fixes #33540 - Run 'subscription-manager clean' when force=true

Fixes #33025 - allow filtering hosts by user id

Users would like to set filters so users can only see reports of hosts they own.

For that we can define an association on a Report based on the Host ownership. Then we can add a scoped search definition that could be used in Filter definition. The resulting scoped search term that can be used on any Report subclass is

host_owner_id = current_user

Instead of current_user, a specific user ID can be used too.

This will not take user group ownership into the consideration due to the complexity, especially when tree structure of user groups is considered.

Refs #33025 - fix spacing of search definitions

Refs #32286 - setting DSL switch preparation

Removes some unused methods and tests. This also add collections to the old collection registry to work before we hold them in registry only.

Refs #32286 - load definition even in migrations

Loads definitions on every start and makes sure the definitions are always loaded. This makes it possible to work with settings in migrations. Only values needs the database, so this is safe to do without any check.

Fixes #32893 - use setting DSL for General category

This uses our new DSL to define the General settings, this showcases how to use the new DSL and other categories should follow in the same release.

Fixes #33265 - Pin foreman-js to >= 8.7, < 8.12.1 to avoid jest failures in katello

Fixes #33570 - Fix confirm action for unlock

Fixes #33550 - Remove Puppet API endpoints

Fixes #33566 - don't install wget on RHEL 9+

Fixes #33505 - trucate overflow text in audit card

Fixes #33490 - fix edit button in host details page

Fixes #33481 - fix login footer on small screens

on smaller screens, the login footer can jump and override the login form.

Refs #33481 - use svg for login background

Fixes #33621 - Remove experimental host wizard

The page was never created actually. it was more of a test for our React router and a future base for a future host wizard :)

Fixes #33617 - fix 'All audits' link in host details page

Fixes #33504 - align hostname title in host details page

Fixes #33502,#33501 - align host owner in host details

Fixes #33469 - current stream for Flatcar

Fixes #33637 - Correctly redirect hostgroup create page

When creating the first hostgroup from the welcome page, submit does not redirect back to the hostgroups index page due to incorrect referer being stored in the session redirect_path value. This is similar to the fix in 03a6981cd, but for pages that use the SetRedirectionPath concern to control their form redirections.

Created at 1 month ago

feat(argo-cd): Update to v2.3.2 release (#1191)

  • feat(argo-cd): Update to v2.3.2 release

Signed-off-by: Michael Crenshaw michael_crenshaw@intuit.com

  • chore: empty commit to retry CI

Signed-off-by: Michael Crenshaw michael_crenshaw@intuit.com

Co-authored-by: Michael Crenshaw michael_crenshaw@intuit.com

fix(argo-workflows): Add missing list verb to secret (#1186)

  • Add list

Signed-off-by: Frank Bagherzadeh frankbzd@gmail.com

  • bump version and add change log

Signed-off-by: Frank Bagherzadeh frankbzd@gmail.com

  • fix changelog

Signed-off-by: Frank Bagherzadeh frankbzd@gmail.com

feat(argo-rollouts): upgrade to v1.2.0 (#1135)

  • feat(argo-rollouts): upgrade to v1.2.0-rc1

Signed-off-by: Hui Kang hui.kang@salesforce.com

  • [argo-rollouts]:bump minor version and add release version

Signed-off-by: Hui Kang hui.kang@salesforce.com

fix(argo-cd): fix subscriptions default value (#1197)

  • fix subscriptions default value

Signed-off-by: Yixing Yan yixingyan@gmail.com

  • update changelog

Signed-off-by: Yixing Yan yixingyan@gmail.com

  • update argo-cd readme

Signed-off-by: Yixing Yan yixingyan@gmail.com

fix(argo-cd): Correct ApplicationSet controller port (#1200)

  • Add default value for the applicationSet controller container port

Signed-off-by: amaury ravanel amaury.ravanel@gmail.com

  • Apply suggestions from code review

Signed-off-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

Co-authored-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

refactor(argo-cd)!: Remove Argo CD notification default notifier (#1201)

  • remove argocd notification default notifier

Signed-off-by: Yixing Yan yixingyan@gmail.com

  • format notification template comment

Signed-off-by: Yixing Yan yixingyan@gmail.com

  • Update the argo-cd chart to version 4.3.0

Signed-off-by: Yixing Yan yixingyan@gmail.com

  • update changelog

Signed-off-by: Yixing Yan yixingyan@gmail.com

  • update readme

Signed-off-by: Yixing Yan yixingyan@gmail.com

fix(argo-cd): Update to Argo CD v2.3.3 (#1204)

Signed-off-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

fix(argo-cd): Upgrade dex to v2.30.2 (#1205)

This was missing during Argo CD upgrade 2.2 -> 2.3

Signed-off-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

feat(argo-cd): Add ability to use an external redis instance (#1150)

Signed-off-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

feat(argo-rollouts): add dashboard permission on Deployments (#1202)

  • feat(argo-rollouts): add dashboard permission on Deployments
  • needed for Rollouts with workload referencing

Signed-off-by: Ben Poland ben.poland@faire.com

  • Add podtemplates to match controller role

Signed-off-by: Ben Poland ben.poland@faire.com

fix(argo-cd): Fix server.config.url and slack service account (#1208)

  • fix(argo-cd): Set 'server.config.url' to empty string

Signed-off-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

  • fix(argo-cd): Do not create slack service account

Signed-off-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

feat(argo-cd): Add params to override Certificate duration and renewBefore (#1209)

  • feat(argo-cd): New params to override Certificate duration and renewBefore

Signed-off-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

  • chore(argo-cd): Clarify existing certificate params

Signed-off-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

feat(argo-rollouts): Allow defining priorityClassName (#1212)

  • feat(argo-rollouts): allow defining controller.priorityClassName

Signed-off-by: amirschw 24677563+amirschw@users.noreply.github.com

  • add priorityClassName to the dashbaord pods

Signed-off-by: amirschw 24677563+amirschw@users.noreply.github.com

  • Apply suggestions from code review

Signed-off-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

Co-authored-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

fix(argo-cd): remove unneeded status from CRD (#1217)

The CRD status field prevents certain tools from using the CRD as is. It should be populated by the api-server.

Signed-off-by: Moustafa Baiou moustafa@ditto.live

feat(argo-cd): Add ability to set Notification Services (#1220)

Signed-off-by: yu-croco yuki.kita22@gmail.com

chore(argocd): update notification notifiers' comment (#1222)

  • Revert "feat(argo-cd): Add ability to set Notification Services (#1220)"

This reverts commit 7932e5a460890fc116a887db9c53270546dc3e42. Signed-off-by: yu-croco yuki.kita22@gmail.com

  • chore(argocd): update comment to clarify usecase

Signed-off-by: yu-croco yuki.kita22@gmail.com

feat(argo-cd): add ImagePullPolicy to repo server init container (#1228)

fix(argo-cd): redis-exporter image was migrated from quay.io to docker hub (#1235)

  • change quay.io to docker.io as bitnami migrated all images there

Signed-off-by: crabique alexey.korotkov@namecheap.com

  • Apply suggestions from code review

Co-authored-by: Marko Bevc marko.bevc@gmail.com Signed-off-by: crabique alexey.korotkov@namecheap.com

Co-authored-by: crabique alexey.korotkov@namecheap.com Co-authored-by: Marko Bevc marko.bevc@gmail.com

feat(argo-workflows): update to Argo Workflows version 3.3.2 (#1214)

  • argo-workflows: update to Argo Workflows version 3.3.1

  • Add WorkflowTaskResult CRD

  • Add associated permissions to Workflow Controller Role

Signed-off-by: Ira W. Snyder ira@descarteslabs.com

  • Address review comments

Signed-off-by: Ira W. Snyder ira@descarteslabs.com

  • Update to Argo Workflows v3.3.2

A new release is out.

Signed-off-by: Ira W. Snyder ira@descarteslabs.com

feat(argo-applicationset): update appVersion to 0.4.1 (#1223)

  • feat: update appVersion to 0.4.1

Signed-off-by: Philippe philippe.burgisser@camptocamp.com

  • Update changelog

Signed-off-by: Philippe philippe.burgisser@camptocamp.com

  • fix: Also sync entrypoint.sh change from upstream

Signed-off-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

Co-authored-by: Marco Kilchhofer mkilchhofer@users.noreply.github.com

Created at 1 month ago

Need g++ to build docker.

Merge pull request #3780 from anarkiwi/gpp

Need g++ to build docker.

Update dependency pytype to v2021.1.28

Merge pull request #3781 from faucetsdn/renovate/pytype-2021.x

Update dependency pytype to v2021.1.28

Update grafana/grafana Docker tag to v7.4.0

Update dependency pika to v1.2.0

Merge pull request #3783 from faucetsdn/renovate/pika-1.x

Update dependency pika to v1.2.0

Merge pull request #3782 from faucetsdn/renovate/docker-grafana-grafana-7.x

Update grafana/grafana Docker tag to v7.4.0

Update pypa/gh-action-pypi-publish action to v1.4.2

Update dependency pytype to v2021.2.9

Merge pull request #3785 from faucetsdn/renovate/pytype-2021.x

Update dependency pytype to v2021.2.9

Merge pull request #3784 from faucetsdn/renovate/pypa-gh-action-pypi-publish-1.x

Update pypa/gh-action-pypi-publish action to v1.4.2

Update grafana/grafana Docker tag to v7.4.1

Update dependency pylint to v2.6.2

Update dependency sphinx to v3.5.1

Merge pull request #3788 from faucetsdn/renovate/pylint-2.x

Update dependency pylint to v2.6.2

Merge pull request #3787 from faucetsdn/renovate/sphinx-3.x

Update dependency sphinx to v3.5.1

Merge pull request #3786 from faucetsdn/renovate/docker-grafana-grafana-7.x

Update grafana/grafana Docker tag to v7.4.1

Update grafana/grafana Docker tag to v7.4.2

Update prom/prometheus Docker tag to v2.25.0

Created at 1 month ago

Merge pull request #110684 from chymy/fix-typo-for-kubeadm

fix several typo

Merge pull request #110700 from alculquicondor/increase_timeout

Increase timeout for TestSyncPastDeadlineJobFinished

fix: list pod err after an pod evicted

Signed-off-by: LY-today 724102053@qq.com

Merge pull request #109632 from weilaaa/recorrect_byindex_input_param

correct input params of ByIndex

Merge pull request #110593 from SataQiu/kubeadm-coredns-20220615

kubeadm: add the preferred pod anti-affinity for CoreDNS Deployment

proxy/ipvs: add filter table support to ipsetWithIptablesChain

proxy/ipvs: Use DROP directly rather than KUBE-MARK-DROP

The ipvs proxier was figuring out LoadBalancerSourceRanges matches in the nat table and using KUBE-MARK-DROP to mark unmatched packets to be dropped later. But with ipvs, unlike with iptables, DNAT happens after the packet is "delivered" to the dummy interface, so the packet will still be unmodified when it reaches the filter table (the first time) so there's no reason to split the work between the nat and filter tables; we can just do it all from the filter table and call DROP directly.

Before:

  • KUBE-LOAD-BALANCER (in nat) uses kubeLoadBalancerFWSet to match LB traffic for services using LoadBalancerSourceRanges, and sends it to KUBE-FIREWALL.

  • KUBE-FIREWALL uses kubeLoadBalancerSourceCIDRSet and kubeLoadBalancerSourceIPSet to match allowed source/dest combos and calls "-j RETURN".

  • All remaining traffic that doesn't escape KUBE-FIREWALL is sent to KUBE-MARK-DROP.

  • Traffic sent to KUBE-MARK-DROP later gets dropped by chains in filter created by kubelet.

After:

  • All INPUT and FORWARD traffic gets routed to KUBE-PROXY-FIREWALL (in filter). (We don't use "KUBE-FIREWALL" any more because there's already a chain in filter by that name that belongs to kubelet.)

  • KUBE-PROXY-FIREWALL sends traffic matching kubeLoadbalancerFWSet to KUBE-SOURCE-RANGES-FIREWALL

  • KUBE-SOURCE-RANGES-FIREWALL uses kubeLoadBalancerSourceCIDRSet and kubeLoadBalancerSourceIPSet to match allowed source/dest combos and calls "-j RETURN".

  • All remaining traffic that doesn't escape KUBE-SOURCE-RANGES-FIREWALL is dropped (directly via "-j DROP").

  • (KUBE-LOAD-BALANCER in nat is now used only to set up masquerading)

Merge pull request #110639 from aojea/slice_no_node

EndpointSlice with Pods without an existing Node

Merge pull request #110425 from LY-today/fake-evict-list-err

fix: list pod err after an pod evicted

fix: --chunk-size with selector returns missing result

Signed-off-by: Abirdcfly fp544037857@gmail.com

Merge pull request #110330 from DangerOnTheRanger/cel-e2e

Add additional CRD validation E2E tests

Merge pull request #110724 from pohly/klog-update

build: update to klog v2.70.0

Bump konnectivity-client to 0.0.32

Merge pull request #110652 from Abirdcfly/fixchunksize

fix: --chunk-size with selector returns missing result

promote LSCIQuotaFeature to beta

Quota Monitoring fg: update promotion version to v1.25

Merge pull request #110685 from hwdef/cleanup-spelling_failures

clean up spelling_failures

Incomplete coverage of test scenarios

volume/fc: fix FibreChannel volume plugin matching wrong disks

Before: findDisk() fcPathExp := "^(pci-.-fc|fc)-0x" + wwn + "-lun-" + lun After: findDisk() fcPathExp := "^(pci-.-fc|fc)-0x" + wwn + "-lun-" + lun + "$"

fc path may have the same wwns but different luns.for example: pci-0000:41:00.0-fc-0x500a0981891b8dc5-lun-1 pci-0000:41:00.0-fc-0x500a0981891b8dc5-lun-12

Function findDisk() may mismatch the fc path, return the wrong device and wrong associated devicemapper parent. This may cause a disater that pods attach wrong disks. Accutally it happended in my testing environment before.

kubeadm: Honor cert-dir for cert operations

  • cert-dir could be specified to a value other than the default value
  • we have tests that should be executed successfully on the working cluster

Signed-off-by: Dave Chen dave.chen@arm.com

Created at 1 month ago

fix apt install

[MM-35386] Upgrade electron (#1580)

  • remove unneeded dep

  • upgrade electron

fix wrong folder name for s3_daily (#1584)

[MM-35454] Fix default downloads path for Windows and Linux, only set for the app if the path is not blank (#1583)

  • [MM-35454] Fix default downloads path for Windows and Linux, only set for the app if the path is not blank

  • Default all other OSes other than Mac/Windows to unix standard

[MM-35245] Null check to prevent console error in preload script on unloaded server (#1582)

[MM-35249] Set window bounds on initial load success (#1587)

[MM-19510][MM-19511] Remove ToastActivatorCLSID from Start Menu shortcut on Windows (#1590)

  • [MM-19510][MM-19511] Remove ToastActivatorCLSID from Start Menu shortcut on Windows

  • Temporarily modify config.yml to run test msi build

  • Try again

  • Nope

  • have store artifacts wait for the msi

  • Reverting to see if it's CircleCI or my change causing the issue:

This reverts commit b289f70a643e6697948d7487ea29346a792868ab.

  • Revert "Reverting to see if it's CircleCI or my change causing the issue:"

This reverts commit 41f10c281acba914629c9366816ce89fdc43c525.

  • Remove changes to circleCI build

  • Blank space

Co-authored-by: Guillermo Vaya guivaya@gmail.com

Windows tray theme (#1593)

  • images

  • use expected theme on windows

  • fix shadowing

Co-authored-by: = <=>

[MM-35588] Ensure that the window exists before calling minimize/maximize/reload (#1598)

[MM-35131] Don't set the download location in config if we hit Cancel (#1600)

[MM-35811][MM-35386] Upgrade to Electron 12 (#1604)

  • Upgrade to Electron 12

  • Fix lock file

  • Update package.json

Co-authored-by: Guillermo Vayá guivaya@gmail.com

  • Upgrade spectron

Co-authored-by: Guillermo Vayá guivaya@gmail.com

[MM-35781] Another workaround for Linux resizing (#1608)

add rpm build option to electron builder (#1611)

[MM-35662] Added media-src tag to CSP to allow data blobs to play for notification sounds (#1612)

[MM-35984] Make sure Select Downloads Folder dialog always uses the default location if none is selected (#1613)

[GH-317] Correct size for Linux tray icons (#1595)

Signed-off-by: Elsie Hupp 9206310+elsiehupp@users.noreply.github.com

update to v12.0.10 (#1619)

[MM-35581] Rename arm64 to m1 (#1620)

  • add rename

  • remove check so we can test it

  • revert testing changes

Co-authored-by: = <=>

[MM-36340] fix linux theme comparison (#1627)

[MM-36030] Allow for duplicate servers with different names to behave normally (#1628)

Created at 1 month ago

Translated using Weblate (Swedish)

Currently translated at 96.9% (4779 of 4931 strings)

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/sv/

Translated using Weblate (Bulgarian)

Currently translated at 93.1% (4591 of 4931 strings)

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/bg/

Translated using Weblate (Bulgarian)

Currently translated at 93.1% (4591 of 4931 strings)

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/bg/

Translated using Weblate (Hungarian)

Currently translated at 99.9% (4930 of 4931 strings)

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/hu/

Translated using Weblate (English (Australia))

Currently translated at 99.6% (4914 of 4931 strings)

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/en_AU/

Translated using Weblate (Persian)

Currently translated at 90.6% (4471 of 4931 strings)

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/fa/

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-webapp_master/

Merge remote-tracking branch 'weblate/master' into fix/weblate-conflicts-new

Merge pull request #9886 from mattermost/fix/weblate-conflicts-new

Fix/weblate conflicts new

Read from myTeams if there is no currentTeam (#9885)

  • Fix myTeams/currentTeam logic issue in use case onboarding

MM-40736 : Removed leading whitespace causing header description bug (#9760)

  • removed leading whitespace causing header desc bug

  • fixed linting errors

  • second lint fix - errors were not resovled automatic

  • removed extra method, resolved failed tests

Co-authored-by: Mattermod mattermod@users.noreply.github.com

Fixed a bug that causing gap to appear in products using team sidebar… (#9827)

  • Fixed a bug that causing gap to appear in products using team sidebar when user has only a single teamn

  • lint fix

[MM-41817] : Change global header z-index causing issue with profile menu if RHS is open (#9879)

Fixing possible (low priority) memory leaks (#9876)

Created at 1 month ago

replace error that had been removed

Merge pull request #38 from sbuzonas/dhcp-error-fix

replace error that had been removed

Created at 1 month ago

Merge pull request #10057 from nicholsonjf/docs-double-pipe-note

Note in docs about how single pipes are treated

Fix pear repo preventing self-update from functioning, fixes #10049

Fix test

Fix usage of getRequiredPackage, closes #10052

Merge pull request #10055 from jrfnl/feature/php-8.1-fix-missing-mock-expectation

PHP 8.1/LibraryInstallerTest: add missing mock expectation

Make return value explicit

Merge pull request #10051 from jrfnl/feature/php-8.1-null-to-non-nullable-fix-1

PHP 8.1: prevent a "null to non-nullable" deprecation notice [1]

Merge pull request #10053 from jrfnl/feature/php-8.1-null-to-non-nullable-fix-2

PHP 8.1: prevent a "null to non-nullable" deprecation notice [2] (test only fix)

Fix return value of ProcessExecutor::getErrorOutput, closes #10054

Fail tests when deprecations are triggered in the code, refs #10038

Fix direct deprecations

Fix deprecation warnings with strpos receiving null

Introduce ProcessExecutorMock to fix deprecations and amount of mocking pain

More deprecation fixes by using ProcessExecutorMock and a couple of PackageInterface type fixes

Fix all remaining php8.1 test suite deprecations

Merge pull request #10061 from Seldaek/deprecations

Fix the remainder of PHP8.1 deprecation warnings

PHPUnit: move environment variable into PHPUnit config file (#10062)

Co-authored-by: jrfnl jrfnl@users.noreply.github.com

Fix init performance when plugin commands are not needed, fixes #10064

Fix lib-openssl detection on FreeBSD, fixes #10046

Add documentation for v2 repository fields (#10033)

Created at 1 month ago

support completions for command aliases (#669)

  • support completions for command aliases

  • try newer version of shellcheck

  • initialize aliashash only when BASH_VERSION > 3

doc: hide hidden parent flags (#686)

  • fixes #685

Fixed code sample for bash completion (#687)

Include a basic example #465 (#631)

fix test build breakage with go1.11 (#712)

As discussed in golang/go#26109, vet typecheck is enabled in go1.11 and the command_test.go can't be compiled any more with go1.11 due to the unread variables in the command_test.go.

Instead of removing the unused variables, this CL reads the variables and compares the values against the current behavior so when the related issue is fixed, this test can be updated accordingly.

#716 - Removed useless libraries in readme (#717)

Signed-off-by: Federico federico@imaginecurve.com

fix typo in doc/man_docs.go (#732)

Qualify custom bash func name (#730)

  • Qualify custom bash func name
  • fixes issue where multiple cobra apps using custom bash completion would have their __custom_func collide
  • support fallback to plain __custom_func to maintain compatibility

#694

  • Improve tests for bash completion __custom_func
  • check for the correct number of occurrences of function name

#694

Replace Giant Swarm 'swarm' with 'gsctl' (#738)

README: Remove Unneeded Newline (#746)

Remove unneeded imports from README.md example (#767)

Added ExactValidArgs (#765)

doc: obey SOURCE_DATE_EPOCH with manpage generation (#735)

Previously if a cobra user didn't specify an explicit .Date header, the current time would be included in all of the generated man pages each time they were built. This causes an issue for reproducible builds, since each re-build of a package that includes the man pages will have different times listed in the man pages.

To fix this, add support for SOURCE_DATE_EPOCH (which is a standardised packaging environment variable, designed to be used specifically for this purpose1).

Signed-off-by: Aleksa Sarai asarai@suse.de

Fix too many underscore for __custom_func (#794)

  • Fix too many underscore for __custom_func

  • Fix typo of too many leading underscores in docs

Run tests against go 1.11 and drop 1.9 (#737)

  • Update the Travis and CircleCI Go versions

  • Adapt to new gofmt formatting

The formatting of gofmt changed slightly in go 1.11. The release notes recommend to use a specific binary of gofmt. See https://golang.org/doc/go1.11#gofmt

This commit adapts to the new formatting applied by gofmt and changes the configs for travis and circleci to run gofmt only with go 1.11.

Fix two word flags (#807)

[TrivialPatches] Typos in README.md, fix and update CI, update projects list... (#840)

  • update Example in README.md (#769)

  • specify the color as the required arg (#777)

  • command: fix typo in docstring of InheritedFlags (#779)

  • add istio to the list of projects built with Cobra (#786)

  • remove redundant 'else' (#806)

  • add mattermost-server as a project built with Cobra (#824)

  • update README.md (#826)

Fix the comment: consistent with others

  • add uber/prototool as a project built with Cobra (#831)

  • fix(ci): use go vet, update to Go 1.12, update shellcheck to v0.4.6 (#832)

  • add go.mod and go.sum (#833)

  • chore(travis): move 'diff' job to separate stage in Travis (#839)

  • chore(travis): use language configuration list instead of explicit entries in matrix.include (#839)

  • chore(travis): update shellcheck-docker to v0.6.0 (#839)

  • update(README.md): separate projects by commas, instead of using a list

  • chore: update viper to v1.3.2 and go-md2man to v1.0.10

  • fix: convert CRLF to LF when comparing files

  • use kyoh86/richgo to provide colored test outputs

added variable to allow configuration of mousetrap message duration (#809)

new variable MousetrapDisplayDuration allows to modify the default display duration of 5s, or to completely disable the timeout and wait for the user to press the return key.

First try at better zsh completions:

A very basic POC. Need to refactor to generate completion structure before passing to the template to avoid repeated computations.

What works:

  • Real zsh completion (not built on bash)
  • Basic flags (with long flag and optional shorthand)
  • Basic filename completion indication (not with file extensions though)

What's missing:

  • File extensions to filename completions
  • Positional args
  • Do we require handling only short flags?

zsh-completion fixed reference to cmd name

cmd.Use is not the command name :). Found it once I figured out that I need to execute the command in order to fully test the generated completion.

Created at 1 month ago

Added sydney region as a region choice.

fix UI bug (react-router update); fix jquery.ba-bbq error; remove cognito custom resource (now native support); PureComponent

Merge pull request #48 from awslabs/fixes

fix UI bug (react-router update); fix jquery.ba-bbq error; remove cognito custom resource (now native support); PureComponent; fixes #45 #34

fix marketplace flow

Merge pull request #49 from awslabs/marketplace

fix marketplace flow

Make example region the same as the default

Updates to reduce the amount of find-replace needed

  • Inlines Swagger to use CloudFormation variables
  • Adds environment variables to Lambda function and uses them in Express

Adds --no-save to npm uninstall common-lambda-assets script

  • This previously worked without this option; may be a change to latest NPM

Merge pull request #60 from awslabs/inline-swagger

Inline swagger

Merge pull request #56 from trenton/master

Make example region the same as the default

Explicitly package up lambdas/_common module before installing

Merge pull request #61 from awslabs/fix-lambdas-common-module

Explicitly package up lambdas/_common module before installing

Layout updates for SAM version

Directly naming Menu Items

Add sydney region as a region choice to preconfigure script

First draft of new dev portal

Turns out that I need to make a custom resource for uploading the static assets for the website. Since that's likely to be hard, I'm snapshotting the (currently working) cfn template.

Add custom resource lambda and CFN entry

To put the static assets into s3, we have to use a custom CFN resource. This change adds that resource (a lambda function). While it works in the happy path, it will need extended to be capable of deleting files from an s3 bucket when the custom resource is deleted.

Fix listener and backend lambdas

Node.js package resolution wasn't working for the CFN deployed lambdas; moved the "common" code into both of those lambdas so they would start up. There's likely a more elegant solution, but this works for the time being.

Improve the custom resource used to upload assets

There are two big tricks in this CR.

First, the static-asset-uploader lambda receives a bunch of variables as CFN Properties. These are available to the lambda on the event object under the "ResourceProperty" property. The lambda uses these properties to build a file consisting of: window.config = ${JSON.stringify(config)}

That file is then written to S3, and required as a script in the index.html file served as the static site. This allows the code that used to need string replace to get the correct values to get them by looking them up on the window.config object. Thus, these values are passed like this: the user specifies them in the parameters when spinning up the CFN stack (or they're computed during spinning it up) -> the CFN stack passes them to the custom resource lambda as event.ResourceProperty -> these fields are collated, made into an object, and written to s3 as a .js file that makes them available on the browser window object (as window.config) -> the index.html file includes the script, giving the client-side code access to these configs. Whewh.

The second trick in this CR is how the custom resource deletes itself. When the custom resource lambda receives a 'DELETE' event, it must delete the contents of the S3 bucket, or CFN can't delete the bucket (it must be empty first). As such, when we receive a 'DELETE' event, we list the files in the bucket and delete them, and do no other processing (note the elses).

cr https://code.amazon.com/reviews/CR-3164824

Fix deployment-preventing bug

s3:DeleteObjectAcl isn't a valid action. Seems to work just fine without any explicit permissions to delete ACLs.

Created at 1 month ago

Commit version number update changes

AWS AppSync now supports custom domain names, allowing you to associate a domain name that you own with an AppSync API in your account.

Add PriorRequestNotComplete exception to UpdateHostedZoneComment API

This release adds support for Accuracy position filtering, position metadata and autocomplete for addresses and points of interest based on partial or misspelled free-form text.

Commit version number update changes

Documentation updates for AWS Health

This release allows customer to enable caching of custom authorizer on HTTP protocol for clients that use persistent or Keep-Alive connection in order to reduce the number of Lambda invocations.

This release adds a new set of APIs (synchronous and batch) to support the SNOMED-CT ontology.

This release adds AWS Organizations support as condition key in destination policy for cross account Subscriptions in CloudWatch Logs.

This release added a new Ambarella device(amba_cv2) compilation support for Sagemaker Neo.

This release adds the UpdateOutpost API.

Documentation updates for AWS Support.

This release adds new APIs for packaging an Amazon Lookout for Vision model as an AWS IoT Greengrass component.

Updating endpoints.json file

Commit version number update changes

Added support for grammar slot type in Amazon Lex. You can author your own grammar in the XML format per the SRGS specification to collect information in a conversation.

This release adds SMS discontinuation information to the API and CLI references.

Adds waiters support for internet gateways.

Amazon Route 53 domain registration APIs now support filtering and sorting in the ListDomains API, deleting a domain by using the DeleteDomain API and getting domain pricing information by using the ListPrices API.

This release adds tagging supports to Route53 Recovery Control Configuration. New APIs: TagResource, UntagResource and ListTagsForResource. Updates: add optional field tags to support tagging while calling CreateCluster, CreateControlPanel and CreateSafetyRule.

Created at 1 month ago

Normalise vendor directory containing hyphen

Vendors on Packagist are allowed a hyphen in their name (such as https://packagist.org/packages/grrr-amsterdam/). However, when translating this directory structure into a PHP namespace, it will result in an illegal namespace.

This update removes anything from the vendor name that's not alphanumeric or an underscore.

Deprecated Pimcore

Update WHMCSInstaller.php

Added more installation locations

Update README.md

Add WHMCS to the Current Supported Package Types

Update InstallerTest.php

Update Test for WHMCS Locations

Update WHMCSInstaller.php

Fix Widgets Location

Update InstallerTest.php

Fix WHMCS Templates Path

Update composer.json

Add WHMCS Keyword

Update InstallerTest.php

Add Vendor to the location path

Update WHMCSInstaller.php

Add Vendor to the location path

Update README.md

Remove some WHMCS Locations

Merge pull request #397 from harmenjanssen/normalize-october-plugin

Normalise vendor directory containing hyphen

Merge pull request #400 from brusch/patch-2

Deprecated Pimcore

Merge pull request #401 from StrausmannServices/master

Extend WHMCS Support

Support for Dframe 4 (#404)

ADD Moodle LMS - type customcertelement (#408)

Add support drupal-site type (#417)

https://github.com/composer/installers/issues/414

Drupal custom profile installation path (#416)

  • Add the custom profile path.

  • Include the custom Drupal profile test.

drop hhvm, add 7.3

Add support for Drupal Console custom packages and languages (#311)

  • Update DrupalInstaller.php

  • Added composer installer types for Drupal Console packages and languages

  • Fix missing trailing comma

Created at 1 month ago

Uploaded survey files

Delete Sample.png

Updated survey links

Merge pull request #6 from IntuitDeveloper/IPP-18380

IPP-18380 Updated survey links

Created at 1 month ago

Migrate usize integer to explicit u64 for positional information (#9014)

Summary: Once upon a time https://hacklang.org had an in-browser playground where people could experiment with Hack's typechecker. The in-browser playground was based on a transpiled-to-JS version of the OCaml source.

As the project migrates to Rust I'm interested in creating something similar with WASM, using the much-more-polished wasm-pack utility for Rust. One encumbrance is the platform requirements — Rust usize integers are treated as u32 inside the WASM output, which breaks AST position information.

This PR attempts to fix that by being explicit about all numerical operations. On 64-bit platforms — all but WASM — these conversions should be no-ops, erased at compile time, since usize and u64 are functionally identical.

This PR omits similar changes in the original ML source code on the understanding that the ML code will be phased out eventually, and that side of things currently works as expected.

Pull Request resolved: https://github.com/facebook/hhvm/pull/9014

Reviewed By: Wilfred

Differential Revision: D34532680

fbshipit-source-id: cca5b34ea2436633042061ef417aaaefbbf42b5b

Rename double to float in hackc

Summary: Modified files mentioned in task such that mentions of double -> float and also some emitter files that had refs to double hard coded.

Reviewed By: aorenste

Differential Revision: D36521271

fbshipit-source-id: 54d59fc8d0ef3c0f904d2086496fa2dd315cbd83

Add reified generics class checks to emitNewObjS

Summary: newObjS generates an allocObjReified instruction (which in turn invokes newInstanceReified()), but the checks for reified generics previously being done in there were moved to emitReifiedClassChecks in D36181834 (https://github.com/facebook/hhvm/commit/c90b2e0877305e9c1d29cfcaef4e601298710fe5).

Thus we need to add a call to emitReifiedClassChecks for the newObjS case.

Reviewed By: oulgen

Differential Revision: D36647488

fbshipit-source-id: ab44f4196b034c191b847efafec36d514cdd8729

Type refinements for readonly expressions

Summary: Readonly expressions weren't benefitting from the type refinements of the Hack type system. This diff extends the refinements to readonly expressions making the language more consistent and expressive.

Reviewed By: andrewjkennedy, jamesjwu

Differential Revision: D36659165

fbshipit-source-id: 7af4ebe2c9b1e31f1b7c81bd4645a39b3e626677

Unroll tail recursion, report parameter pessimisation

Summary: The aggregation functions are roughly a fold with an accumulator that is a tuple of the patches and the status. However, we never really use the accumulator patches meaningfully. We always pass in [] and always concatenate the results onto the accumulator.

So, instead of doing the acc-@ style, I changed the child call to be a simple List.concat_map. I then added a new post visitor function that consumes node_patches and children_patches.

This change adds it so that when we are done visiting a parameter, we report

  • file name - useful for bucketing codegen and test
  • declaration kind - useful for comparing functions, methods, closures
  • if it had a type at all (common on closures), or if no pessimisation occured
  • if it was pessimised whether it got ~, supportdyn, or both (denoted s, l, or sl)
    • note: this depends on some in flight work to correctly target nonnull for pessimisation

Quick index:

  • nt = no type
  • np = not pessimised
  • p = pessimised
  • s = supportdyn
  • l = ~

Differential Revision: D36385350

fbshipit-source-id: dc1a9e3e63ea23e38178952c4ecd1ef10aae1744

Initial Assembler Interface

Summary: HackC CLI now has a shell interface of an "assemble" option. Specify which .hhas file to assemble into its HackCUnit representation. Because that representation is not human-readable assemble uses bytecode_printer to print the hhas representation of the HackCUnit (either to stdout or a specified output file). Once assemble works the purpose will be to check that the input file and output are identical. In future iterations the underlying assemble function will be in its own crate like compile. Currently assemble just returns a default HackCUnit, and that's what's printed out (along with metadata on the chosen file).

Reviewed By: aorenste

Differential Revision: D36630892

fbshipit-source-id: c134cba6e7e33644c35dfce1f256fc31b517c11d

mitigate HackIDE:idle messages

Summary: There are two separate things going on with this diff. Both are prompted by a user repro where the progress-message "[HackIDE:idle]" keeps popping up.

Fewer IDE_IDLE. The behavior of hh_server is, if it receives an RPC from clientLsp, then it must receive a subsequent IDE_IDLE message from clientLsp before it will do any typechecking. It does this because it takes ~1s for hh_server to wind down a typecheck and then start one up again, which made things clunky and slow when you were doing a lot of typing and interrupting a typecheck with every keystroke you made. The design is that IDE_IDLE only gets sent after the LSP queue has been emptied.

We had accidentally gotten this code wrong at times, so that sometimes the IDE_IDLE message didn't get sent and hence hh_server got permanently stuck, but that seems to have been fixed for a year or more. The final robust design was that for every single event (other than "tick" meaning no-event), then clientLsp would believe it needed to send IDE_IDLE.

This became a bit inessential with clientIdeDaemon, where we'd send IDE_IDLE even after clientIdeDaemon had handled a hover request all by itself, but wasn't too bad.

It became downright frustrating with streaming-IDE-errors, where hh_server sends error updates while a typecheck is underway. Every single one of these counted as an event, which prompted the catch-all robust design to think it needed to send an IDE_IDLE, so it did, which caused hh_server to interrupt then restart its typechecking for ~1s to deal with this message. DOH!

This diff changes clientLsp so that we only think we need to send IDE_IDLE after having sent some kind of message to hh_server (apart from sending IDE_IDLE to hh_server).

Unclear status. When hh_server received and processed IDE_IDLE, then it would update progress.PID.json accordingly, and the command-line hh_client would display the progress message [HackIDE:idle]. But then it takes ~1s for bulk typechecking to resume, we're not going to display any progress message until it does, so users just see [HackIDE:idle] even when they know there's a lot of typechecking to do and they just wish it would get on with it. This is confusing to us on the hack team, and to users.

This diff makes a minor change. It now displays [HackIDE:idle] while it embarks upon handling this request, and [HackIDE:idle done] after it's finished. In this way, we on the hack team will at least know that the "idle" command-handling is done, and what we're witnessing is the ~1s it takes to resume after the interruption.

(I think it's good that users and we on the hack team will know WHICH interruption is the cause for the ~1s resumption that we're seeing.)

Did all these interruptions cause actual slowness in overall typechecking time? -- not that I could reasonably measure, not within the bounds of noise.

Reviewed By: CatherineGasnier

Differential Revision: D36392047

fbshipit-source-id: 245f22eb33e9aeb034f8a7a193f3c941ed257610

Autocomplete classish header keywords

Summary: Autocomplete implements and extends on classes, interfaces and traits.

Reviewed By: hgoldstein

Differential Revision: D36616425

fbshipit-source-id: 069af02154a1fb7dc92d460ed255c8dc378087be

Convert default case for SSwitch to -1

Summary: Mimic what we do in hhbbc and as.cpp for SSwitch

Reviewed By: edwinsmith

Differential Revision: D36650899

fbshipit-source-id: 7a544d676ca6996c8d7ebd2659b77d6656666c22

Translate methods

Summary: Translate methods. Create some helper functions for handling upperbounds. Narrowing down the set of the set of things we skip comparing in disas.cpp.

Reviewed By: edwinsmith

Differential Revision: D36638085

fbshipit-source-id: e77fbe1667f5f803d6ca6a920a2a53926bc4bc14

Translate Unitmetadata

Summary: Disassembly of unit_metadata now works after bringing translation of adata forward in previous diff.

Reviewed By: edwinsmith

Differential Revision: D36640113

fbshipit-source-id: f3ffda3f616dd0b73b390cc4885d2adab5c8527d

Allow zoned_local/shallow to memoize objects

Summary: Allow zoned_local and zoned_shallow to memoize objects even though they technicaly don't have access to globals. Once the local and shallow variants are moved to zoned, they will use PolicyShardedMemoize, which is safe.

Reviewed By: viratyosin

Differential Revision: D36680535

fbshipit-source-id: f4db2c2eeef38c34e1297fc3565d98ba541acd48

Add modules to facts parser

Summary: This diff allows clientIdeIncremental, which uses the facts parser (which is really just the direct decl parser) by threading modules through a bunch of data structures.

Reviewed By: aorenste

Differential Revision: D34973748

fbshipit-source-id: 2f4ed84873553107d8536a1b1eb66de53f29c6d4

Log failures to log file

Summary: We were only logging positive results to the log file. This diff fixes that.

Reviewed By: Wilfred

Differential Revision: D36631100

fbshipit-source-id: 46200eb5bc82e9903b58ebb536a73b29658c9501

Switch to SharedMutex in SharedProfileEntry

Summary: std::mutex is 40 bytes, so that leaves only 24 bytes in the cache line for value, and in addition it's not easily inlineable, so switch to SharedMutex, which is only 4 bytes (though likely to take 8 due to alignment).

Reviewed By: mofarrell

Differential Revision: D36567527

fbshipit-source-id: 3ab63a87ad81600490389cdd2f96b52ead43d71e

log total = cgroup memory_current+memory_swap_current

Summary: This diff requires explanation. There are two underlying measures:

  • /sys/fs/cgroups/<CGROUP/memory.current - the total amount of physical RAM that's being used at the moment
  • /sys/fs/cgroups/<CGROUP>/memory.swap.current - the total amount of swap that's being used at the moment

For instance, a cgroup might start out at current=2gb swap.current=0, and then transition to current=1gb swap.current=1gb, and it'd be using the exact same amount of data, but the OS decided to swap some of it out.

It's clear that the sum of the two, "current + swap.current", is the best measure of the overall burden imposed by hh_server. And indeed we've observed that (1) the best memory correlate of fanout / job-size is the sum "current + swap.current", (2) the best memory correlate of OOMing is when "current + swap.current" has become too big. That's not surprising: hh_server will grow its overall burden, and the OS will decide to swap some out if there's no room in physical ram, and then eventually when swap runs out too then we'll get an OOM.

It's also clear that measuring how "current" has changed since the start of the hh_server doesn't tell us how hh_server's burden has changed. (1) If something else is running concurrently, it tells us how the OS is weighting hh_server vs the other thing. (2) If we reach peak physical RAM but continue to impose burden, then "current" will remain steady even as the burden increases.

Here's another piece of background. We log cgroup information in several places.

hh_server_cgroups scuba table

  • total_relative_to (memory.current when hh_server started)
  • total_start (memory.current when the current "phase" started, minus total_relative_to)
  • total (memory.current now at the end of the current "phase", minus total_relative_to)
  • secs_at_total_gb (an array, showing for each gb, how long has memory/current minus total_relative_to been at this gb)
  • secs_above_{20,25,...}gb_total (similar)
  • totalswap_relative_to (as above but memory.swap.current)
  • totalswap_start (as above but memory.swap.current)
  • totalswap (as above but memory.swap.current)

Hh_logger.log

  • total (memory.current now minus total_relative_to)
  • hwm (for the current phase, what is the hwm of memory.current minus total_relative_to)

TYPE_CHECK_END scuba event "data.typecheck.cgroup" json

  • relative_to_initial (same as total_relative_to)
  • start_bytes (memory.current minus total_relative_to at the start of the typecheck)
  • end_bytes (memory.current minus total_relative_to at the end of the typecheck)
  • hwm_bytes (hwm of memory.current)

WHAT THIS DIFF DOES

From the above description, it's pretty much useless for us to be logging memory.current for all these things. It's also misleading for us to be calling it "total".

  1. This diff changes the meaning of "total" to now mean "memory.current + memory.swap.current"
  2. This diff removes the totalswap entries in hh_server_cgroups scuba table. They don't make sense given the first change.

DISCUSSION

It would have given us more data if we recorded raw information about memory.current and memory.swap.current, and left it to scuba derived queries to sum them up together. But (1) that would just have been a load of work to do, (2) I'm worried that people might have looked at memory.current and not done the maths, (3) it'd just multiply the number of lines of code too much.

Differential Revision: D36689768

fbshipit-source-id: b088392d13895cede3938211fa42768c1fe06bc3

Fix closure DCE bug

Summary: The point of DecReleaseCheck is to make the DecRef shallow so we should never be replacing it with a DecRef (or in this case a DecReleaseCheck) of the may-move sources of the killed instruction. The closure does still own the captured $this, which will need to be DecRefed in the case of ConstructClosure.

Reviewed By: ottoni

Differential Revision: D36685097

fbshipit-source-id: 81eaf97ac5938240cadae4a0f7ed288e42d23de1

Update typechecking progress bar

Summary: Update the typecheck progress bar after the remote workers are done so the correct number of typechecked files are shown.

Reviewed By: bobrenjc93

Differential Revision: D36684416

fbshipit-source-id: daa62ca32b1ef592513146acfefff042dcc5be2e

Prefer Field for class properties in LSP

Summary: VS Code uses 'Field' for what most other languages call properties, and uses 'Property' for the C# notion of "a property with an automatic getter and setter".

For example, the TypeScript LSP uses Field:

{F735551734}

Whereas Hack has a confusing spanner/wrench icon due to using Property for its completion kind:

{F735551749}

Use Field instead for Hack class properties.

Reviewed By: hgoldstein

Differential Revision: D36683640

fbshipit-source-id: 6f75a2e1214e71cbb3fb901353f7c3c8b1bd6df8

add use_manifold_cython_client flag

Reviewed By: Wilfred

Differential Revision: D36667850

fbshipit-source-id: 424b22f7946d59a4ed1775ad79d96c5985cfe1cf

Created at 1 month ago

:wrench: Filter “Error: OK”

Bump to Electron 1.7.4.

Use webContents ID instead of BrowserWindow ID.

With the advent of BrowserView, there can be multiple webContents per BrowserWindow, without guestInstanceIds. They're all webContents though so let's just use webContents.

Merge pull request #27 from CharlieHess/use-web-contents-id

Use webContents ID

Merge pull request #24 from felixrieseberg/filter-non-error

Filter “Error: OK”

Add a ‘createProxyForMainProcessModule’ method.

That acts as a drop-in replacement for using remote.

Review CommentZ

Merge pull request #28 from CharlieHess/main-process-proxy

Add ‘createProxyForMainProcessModule’

1.2.0

Add configurable timeouts to several things

Update the tests a bit

Package locks are cool

Merge pull request #39 from electron-userland/timeouts

Add configurable timeouts

1.3.0

Upgrade packages via npm audit fix

Upgrade packages via npm audit fix --force

Merge pull request #41 from electron-userland/security-upgrades

Security upgrades (devDependencies)

Upgrade electron-prebuilt-compile

Update README.md

Created at 1 month ago

return "miss" instead of return "fetch" (4.1+)

Also fixed inconsistency with return spacing

Merge pull request #43 from LukeHandle/patch-1

return "miss" instead of return "fetch" (4.1+)

Put 50x abandon above catchall 2min cache

In my testing, my errors were caught/TTL set before the abandon see #24

Merge pull request #44 from LukeHandle/patch-2

Put 50x abandon above catchall 2min cache

appled solution from aldibier

fixed 'Compiling failed by VCC-compiler #45'

Merge pull request #47 from denoli/master

applied solution from aldibier

check if method is PURGE in sub vcl_purge

Merge pull request #50 from kristofvandam/master

check if method is PURGE in sub vcl_purge

Simplify regular expression to remove URL parameters used to track effectiveness of online marketing campaigns

See: https://www.getpagespeed.com/server-setup/varnish/strip-query-parameters-varnish

Add fbclid to the list of parameters to be removed from URLs

Merge pull request #51 from hvelarde/master

Add fbclid to the list of parameters to be removed from URLs

Do not flush caches by default

fixes #52

Add link to consultancy offerings

Created at 1 month ago

Convert to int

Python may parse parameters as strings, even when not passed as such via CloudFormation: CloudFormation:

Sizes: [ 25, 25, 25, 25, 25, 25, 25, 25 ] 

CloudWatch logs:

sizes: [u'25', u'25', u'25', u'25', u'25', u'25', u'25', u'25']

This patch makes sure that any item containing valid integers are evaluated as such.

Refactoring and adding unit tests

Merge pull request #2 from mpreziuso/convertto-int-patch

Convert to int

Add custom exception class

Add buildspec

Switch to python3 and fix bug where the role is missing basic lambda execution permissions

Improve logging

Use exception properly in lambda

Update tests

Merge branch 'custom-exception'

Use short form of GetAtt in examples

Improve installation process and update docs

Remove unneeded TODO and buildspec. Buildspec may come back later.

Refactor as a proper python module

Refactor lambda handler and install process

Refactor cidr_findr into a class

Add tests for the lambda handler

Merge branch 'module-refactor'

Proposed new format

Use new output format

Created at 1 month ago

Updating CloudFormation IAM role to use Cognito IAM policy variable for user path

Updating AWS-Sign-Web library to handle : character in URI path

Added Cognito Identity Pools fine-grained access control via role tokens

Merge pull request #16 from awslabs/beta

Merge beta branch into master

Updated Ionic dependencies to include sw-toolbox

Merge branch 'master' of github.com:awslabs/aws-serverless-auth-reference-app into beta

Merge pull request #17 from awslabs/beta

Adding in Ionic sw-toolbox dependency

Adding Dockerfile for express development environment

Update Dockerfile

Adding Quickstart guide

Updating Quickstart Lab setup instructions

Create DevGuide.md

Update Quickstart.md

Updating Quickstart instructions

Added content for Developer Guide

Updated Quickstart with SSH instructions

Streamlining README, links to Quickstart, DevGuide

Update README.md

Update Quickstart.md

Update Quickstart.md

Created at 1 month ago

Update README.md

Created at 1 month ago