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

Refactoring: Enhancing code maintainability by reducing code smells. #1336

Open
wants to merge 32 commits into
base: dev
Choose a base branch
from

Commits on Jan 22, 2024

  1. Configuration menu
    Copy the full SHA
    d2ffe8b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac32664 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. Configuration menu
    Copy the full SHA
    47be445 View commit details
    Browse the repository at this point in the history
  2. Update Using-Replies.md (rubenlagus#1282)

    A semicolon were missing in the Standalone reply code.
    The reply signature changed and needs a BiConsumer<BaseAbilityBot, Update> instead of Consumer<Update> in the Ability reply
    ChelouteVR authored Jan 28, 2024
    Configuration menu
    Copy the full SHA
    b0d3989 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Update MaybeInaccessibleMessage.java (rubenlagus#1310)

    Add getMessageId to MaybeInaccessibleMessage
    
    According to https://core.telegram.org/bots/api#maybeinaccessiblemessage
    Chase22 authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    870d1e5 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. Fixed incorrect Chat#profileBackgroundCustomEmojiId field type. Chang…

    …ed from 'Boolean' to 'String' (according to TelegramBotAPI Official Documentation). (rubenlagus#1315)
    link1107 authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    6b50d68 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. Missing fields and constructor update for API 7.0 (rubenlagus#1322)

    * fix force=true for WriteAccessAllowed
    
    * + test and fixtures on write access allowed
    rbondar authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    d615fbf View commit details
    Browse the repository at this point in the history
  2. Add missing methods from API 6.6 (rubenlagus#1323)

    * Fix path for GetMyName method
    
    * Add missing sticker methods from API 6.6
    
    * Fix possible NPE in InputSticker validation
    
    * Add ReplyParameters to SendInvoice API method
    
    * Removed mysterious fields in SetChatTitle
    aNNiMON authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    ed75ff9 View commit details
    Browse the repository at this point in the history
  3. API 7.1

    rubenlagus committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    0e96778 View commit details
    Browse the repository at this point in the history
  4. API 7.1

    rubenlagus committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    e344f9c View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    6406b1f View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. Implementation code smell - 1 - Refactored code for Magic number usin…

    …g explaining variables technique
    Yukta026 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    11b5569 View commit details
    Browse the repository at this point in the history
  2. Implementation code smell - 2 - Refactored code for Complex Method us…

    …ing decomposing conditional technique
    Yukta026 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    e80a519 View commit details
    Browse the repository at this point in the history
  3. Implementation code smell - 3 - Refactored code for Long Statement us…

    …ing renaming method and introducing explaining variable technique
    Yukta026 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    3e8d8c7 View commit details
    Browse the repository at this point in the history
  4. Implementation code smell - 4 - Refactored test code for Magic number…

    … using explaining variables technique
    Yukta026 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    aafebe6 View commit details
    Browse the repository at this point in the history
  5. Implementation code smell - 5 - Refactored test code for Empty Catch …

    …clause using explaining variables technique
    Yukta026 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    4344b84 View commit details
    Browse the repository at this point in the history
  6. Implementation code smell - 6 - Refactored test code for Long Identif…

    …ier using renaming variables technique
    Yukta026 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    b9c94fd View commit details
    Browse the repository at this point in the history
  7. Design code smell - 1 - Refactored code for Insufficient Modularizati…

    …on using extract class technique
    Yukta026 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    3d3099b View commit details
    Browse the repository at this point in the history
  8. Design code smell - 2 - Refactored code for Unnecessary Abstraction u…

    …sing moving pull-up method technique
    Yukta026 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    848266c View commit details
    Browse the repository at this point in the history
  9. Design code smell - 3 - Refactored code for Cyclically-dependent Modu…

    …larization using change bidirectional association to unidirectional association
    
    technique
    Yukta026 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    240fb70 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Configuration menu
    Copy the full SHA
    2b9aea9 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. Configuration menu
    Copy the full SHA
    5fba3b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e70155a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1b6598a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    423ceca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3729e7b View commit details
    Browse the repository at this point in the history
  6. Removed unncessary comments

    Yukta026 committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    fb128ba View commit details
    Browse the repository at this point in the history
  7. Removed unnecessary comments

    Yukta026 committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    f4cef77 View commit details
    Browse the repository at this point in the history
  8. Removed unnecessary comments

    Yukta026 committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    3c98bfa View commit details
    Browse the repository at this point in the history
  9. Removed unnecessary comments

    Yukta026 committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    5b97c30 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6451919 View commit details
    Browse the repository at this point in the history
  11. Design code smell - 4 - Refactored code for unexploited encapsulation…

    … using replace conditional with polymorphism technique
    Yukta026 committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    1278586 View commit details
    Browse the repository at this point in the history