Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements #53

Merged
merged 115 commits into from
Jan 14, 2024
Merged

Enhancements #53

merged 115 commits into from
Jan 14, 2024

Conversation

techthoughts2
Copy link
Owner

Pull Request

Description

Description of changes:

  • Module Changes
    • Added dependency for pwshEmojiExplorer module
    • Send-TelegramTextMessage - BREAKING CHANGES INTRODUCED
      • Replaced the DisablePreview parameter with three new parameters due to Telegram replacing the field disable_web_page_preview with link_preview_options
        1. LinkPreviewURL
        2. LinkPreviewOption
        3. LinkPreviewAboveText
      • Added examples for new blockquote entity parsing in MarkdownV2 and HTML parse modes.
    • Get-TelegramStickerPackInfo - potential breaking change
      • This function no longer uses a static json list of emojis to retrieve emoji information. This approach was using an extremely outdated random list of emojis. This update now uses the pwshEmojiExplorer module to retrieve an updated standardized list of emoji information based on public Unicode data sets.
      • Function now returns additional emoji property information:
        • Group, SubGroup, pwshEscapedFormat
    • Send-TelegramSticker - potential breaking change
      • Updated ShortCode to use ArgumentCompletions instead of a validate set with a new set of suggested emoji shortcode completions. The old validate set with old list of shortcodes has been removed.
    • Added new function: Get-TelegramCustomEmojiStickerInfo which is currently experimental.
    • Added -HasSpoiler switch to Send-TelegramLocalPhoto, Send-TelegramLocalVideo, Send-TelegramLocalAnimation
    • Added -Emoji parameter to Send-TelegramLocalSticker which enables you to specify an emoji for a newly uploaded sticker.
    • Updated help for all functions
  • Build Updates
    • AWS Deployment Updates
      • Updated CodeBuild containers from aws/codebuild/standard:6.0 to aws/codebuild/standard:7.0
      • Updated CodeBuild jobs to retrieve secrets from Parameter Store instead of Secrets Manager
      • Added pipeline branch and automated CodePipeline process for easier AWS infra updates.
    • Moved CHANGELOG.md from .github to docs
    • install_modules.ps1 - bumped module versions to latest
    • All Infra/Infrastructure references changed to Integration
    • Added support for readthedocs
  • Misc
    • Updated settings.json for tab requirements to support Readthedocs
    • Updated extensions.json with recommended extensions for working with this repo
    • Added SECURITY.md
    • Updated LICENSE year
    • Updated PoshGram icons and logo

License

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@techthoughts2 techthoughts2 added the enhancement New feature or request label Jan 14, 2024
@techthoughts2 techthoughts2 self-assigned this Jan 14, 2024
Copy link

gitguardian bot commented Jan 14, 2024

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id Secret Commit Filename
9214336 Telegram Bot Token fb138bc src/Tests/Integration/PoshGram-Infra.Tests.ps1 View secret
9214336 Telegram Bot Token 86d942f src/Tests/Integration/PoshGram-Infra.Tests.ps1 View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

@techthoughts2 techthoughts2 merged commit 5df2523 into main Jan 14, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant