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

Add http support to hercules (api-server) #3198

Merged
merged 301 commits into from
Apr 13, 2023
Merged
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 13, 2023

  1. Configuration menu
    Copy the full SHA
    05131e5 View commit details
    Browse the repository at this point in the history
  2. Add all headers into HPMapi.c

    4144 committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    c8f2781 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    afe3287 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    76eb605 View commit details
    Browse the repository at this point in the history
  5. Fix auth token generation

    4144 committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    b70defd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    72d7554 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eaa035b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e26f03c View commit details
    Browse the repository at this point in the history
  9. Send char servers information to api server

    Also add constant for char server name size.
    4144 committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    9e7cbab View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    97d3e93 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0f5d78f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    cbb2482 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0a76bed View commit details
    Browse the repository at this point in the history
  14. Remove disconnected players from api server with some delay

    This allow call for some time api functions after player disconnected
    from game.
    4144 committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    37979d0 View commit details
    Browse the repository at this point in the history
  15. Add proxy packets support for send packets from api to char server

    Also add support for async data handlers for reply from char server.
    Add api interface in char server.
    4144 committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    d3da498 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    81093dc View commit details
    Browse the repository at this point in the history
  17. Add api requests flag handled.

    This flag set if http request already parsed but not disconnected.
    4144 committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    6121e14 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    3af53c6 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    d89b3c2 View commit details
    Browse the repository at this point in the history
  20. Allow send custom data in api request packets to char server

    Also add macro GET_DATA for get data pointer in api data handlers.
    4144 committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    e56feb7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    1d5f0ea View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    9b75fbd View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    490ac40 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    79d703d View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    8eb4104 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    61e61c4 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Update http-parser lib

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    6bf56b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34926e4 View commit details
    Browse the repository at this point in the history
  3. Add cJSON library

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    2cae1ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0b7c656 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bb28dfa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a673ba5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eb443ba View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3e63b30 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    31e0a62 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1980dbd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    960b8e7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ba087c5 View commit details
    Browse the repository at this point in the history
  13. Remove userconfig_save_emotes handler

    Also add macro for ignore data from api packet reply.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    803fd01 View commit details
    Browse the repository at this point in the history
  14. Add sql table emotes

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    1974074 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    3ec500b View commit details
    Browse the repository at this point in the history
  16. Add emblem_upload empty http handler

    Also fix handling big multi part fields data.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    d0f608b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    40f8f5e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    962efb3 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    58417e9 View commit details
    Browse the repository at this point in the history
  20. Add url handler flag for check is field Img present and using correct…

    … content type
    
    Also add method for get content type from post header.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    823c905 View commit details
    Browse the repository at this point in the history
  21. Validate number of post headers in request related to url parsing flags

    This allow detect new unknown post headers in requests.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    917347a View commit details
    Browse the repository at this point in the history
  22. Add into sql interface method for exec query string and fetch

    New method: Sql_QueryStrFetch.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    87f69a5 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    45c8470 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    2144a7b View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    fc39821 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e987e77 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    35df929 View commit details
    Browse the repository at this point in the history
  28. Add http uploaded guild emblem validation.

    For now valid only bmp images.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    1b62fea View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    e2dc4d8 View commit details
    Browse the repository at this point in the history
  30. Fix typo umblem -> emblem

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    90e1ee7 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    9d2577a View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    2763690 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    8d371c1 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    edb5cb0 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    f7a590b View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    fff3443 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    ed488bf View commit details
    Browse the repository at this point in the history
  38. Fix HPM compilation

    Add missing includes.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    7b5020e View commit details
    Browse the repository at this point in the history
  39. Update packet ZC_CHANGE_GUILD

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f748962 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    bffdb43 View commit details
    Browse the repository at this point in the history
  41. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    de684cd View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    787c2f1 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    f9c165d View commit details
    Browse the repository at this point in the history
  44. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f133fad View commit details
    Browse the repository at this point in the history
  45. Add api server into HPM files

    Also add auto generated api server hpm related files.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f255bf9 View commit details
    Browse the repository at this point in the history
  46. Remove achrif.c and achrif.h

    In future probably this files will be readded.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f97ac37 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    b75e9aa View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    7b4b841 View commit details
    Browse the repository at this point in the history
  49. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    42b72f4 View commit details
    Browse the repository at this point in the history
  50. Add support for llhttp library as alternative http parser.

    Add new configure flag --with-http_parser with allower values:
        http-parser (default)
        llhttp
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    6129984 View commit details
    Browse the repository at this point in the history
  51. Use typedef for allow use same HPM code for any http library

    This based on typedefs in api/http_include.h
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    71e6f55 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    edba9fc View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    60dacd6 View commit details
    Browse the repository at this point in the history
  54. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    16862f9 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    30e3b2f View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    10bf12d View commit details
    Browse the repository at this point in the history
  57. Add support for parsing http headers from small tcp packets

    Normally used http parser not support incomplete headers and for this
    used caching.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    8058c1f View commit details
    Browse the repository at this point in the history
  58. Improve buffer allocation in parsing http headers

    This change skip realloc call if existing buffer already big enough
    for new data.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    783ad6e View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    06fdc46 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    c972ad5 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    3a3552f View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    d40ea96 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    743a005 View commit details
    Browse the repository at this point in the history
  64. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    4ae60e9 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    81c06bc View commit details
    Browse the repository at this point in the history
  66. Fix hpm methods generation for handlers interface

    Because doxygen can't include any files in preprocessor, used special
    tool for expand given includes and then feed this file to doxygen.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    fb9807f View commit details
    Browse the repository at this point in the history
  67. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    5a9f832 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    efb1ce4 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    fb63faa View commit details
    Browse the repository at this point in the history
  70. Add api server into athena-start

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    6955251 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    78c1da5 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    5084106 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    657535a View commit details
    Browse the repository at this point in the history
  74. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f04dcca View commit details
    Browse the repository at this point in the history
  75. Fix compilation with mingw

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    059b3f9 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    43b6c13 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    0b691b9 View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    5d69e7f View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    166fb77 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    d79e837 View commit details
    Browse the repository at this point in the history
  81. Add sql update for hotkeys

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    7b53b86 View commit details
    Browse the repository at this point in the history
  82. Add support for hotkeys v2

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    ec96435 View commit details
    Browse the repository at this point in the history
  83. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    420f457 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    c55e3f4 View commit details
    Browse the repository at this point in the history
  85. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    e6a95c1 View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    d274a5a View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    feb2b0c View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    993673c View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    7994655 View commit details
    Browse the repository at this point in the history
  90. Update my copyrights year

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f7ab77d View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    e63c3e7 View commit details
    Browse the repository at this point in the history
  92. Add sql scripts for table adventurer_agency

    Also change keys to unique in previous sql update.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    95de7bb View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    ce6617e View commit details
    Browse the repository at this point in the history
  94. Handle api url /party/add

    Also add char server interface for adventurer agency.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    0e2805b View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    8886a46 View commit details
    Browse the repository at this point in the history
  96. Impliment /party/get handler

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    9f61f6c View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    70e7366 View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    cd85417 View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    11c5bab View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    32c2691 View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    9ef5e4e View commit details
    Browse the repository at this point in the history
  102. Add agency party join request/result

    Asheraf authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    a649d58 View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    54c36c1 View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    223fcb8 View commit details
    Browse the repository at this point in the history
  105. Update configure

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    2511a06 View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    1669a76 View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    7319394 View commit details
    Browse the repository at this point in the history
  108. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    db79412 View commit details
    Browse the repository at this point in the history
  109. Update llhttp to latest code

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    e99bb9d View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    7f97058 View commit details
    Browse the repository at this point in the history
  111. Configuration menu
    Copy the full SHA
    77dce0a View commit details
    Browse the repository at this point in the history
  112. Configuration menu
    Copy the full SHA
    b02d0fd View commit details
    Browse the repository at this point in the history
  113. Configuration menu
    Copy the full SHA
    a9152ae View commit details
    Browse the repository at this point in the history
  114. Add max connections limit from one ip to api server

    Default value is 5.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    53455cd View commit details
    Browse the repository at this point in the history
  115. Use RFIFO_API_PROXY_PACKET in places where it need

    Also move field flags in PACKET_API_PROXY into bottom.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    4a95938 View commit details
    Browse the repository at this point in the history
  116. Update copyrights year

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    e30fc76 View commit details
    Browse the repository at this point in the history
  117. Configuration menu
    Copy the full SHA
    d34001f View commit details
    Browse the repository at this point in the history
  118. Add support for proxy packets in plugins

    Also add http hanlder sample with information from char server.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    ac49585 View commit details
    Browse the repository at this point in the history
  119. Configuration menu
    Copy the full SHA
    0769203 View commit details
    Browse the repository at this point in the history
  120. Configuration menu
    Copy the full SHA
    7809e4e View commit details
    Browse the repository at this point in the history
  121. Use macroses in httpsample.c

    Also add some missing comments in httpsample.c
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    84561fe View commit details
    Browse the repository at this point in the history
  122. Add support for sending/receiving api - map packets in plugins

    Also fix some null pointer issues in server fds.
    Add macroses for send data from api to map server.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    3c810ec View commit details
    Browse the repository at this point in the history
  123. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    177bf80 View commit details
    Browse the repository at this point in the history
  124. Add macro addProxyPacket

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    dbaaced View commit details
    Browse the repository at this point in the history
  125. Simplify macro RFIFO_API_DATA

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    754bfa2 View commit details
    Browse the repository at this point in the history
  126. Configuration menu
    Copy the full SHA
    322102d View commit details
    Browse the repository at this point in the history
  127. Configuration menu
    Copy the full SHA
    813c7ea View commit details
    Browse the repository at this point in the history
  128. Add support for proxy packets between api and login servers

    Add sample http handler into sample http plugin.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    c7afbc3 View commit details
    Browse the repository at this point in the history
  129. Configuration menu
    Copy the full SHA
    edcdd10 View commit details
    Browse the repository at this point in the history
  130. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    211cce1 View commit details
    Browse the repository at this point in the history
  131. Remove ; from apipackets.h

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    3773628 View commit details
    Browse the repository at this point in the history
  132. Configuration menu
    Copy the full SHA
    4566a68 View commit details
    Browse the repository at this point in the history
  133. Configuration menu
    Copy the full SHA
    7befa8f View commit details
    Browse the repository at this point in the history
  134. Configuration menu
    Copy the full SHA
    95e3d57 View commit details
    Browse the repository at this point in the history
  135. Add missing HERCULES_CORE define into postheader.c

    And fix postheader.h usage in plugins.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    0387824 View commit details
    Browse the repository at this point in the history
  136. Add http request flag REQ_EXTRA_HEADERS

    This flag allow any unparsed post headers.
    Also add custom data pointer into http request struct.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    6e2ed04 View commit details
    Browse the repository at this point in the history
  137. Add http handler into sample http plugin for request and show dead/si…

    …t state from player
    
    New url handler: /httpsample/user
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    e26c715 View commit details
    Browse the repository at this point in the history
  138. Configuration menu
    Copy the full SHA
    9f98a8f View commit details
    Browse the repository at this point in the history
  139. Add support for trusted ips for api server connections

    Add configuration file api_network.conf
    Add support for basic command line options in api server.
    For trusted ips removed connection limit.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    90beeeb View commit details
    Browse the repository at this point in the history
  140. Configuration menu
    Copy the full SHA
    5fba8b2 View commit details
    Browse the repository at this point in the history
  141. Add support for save logs for all servers

    Before this feature was added only to map server.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    5bf402b View commit details
    Browse the repository at this point in the history
  142. Add api server handler flag for allow only trusted ip to connect

    Add new url handler flag REQ_TRUSTED.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    7741a21 View commit details
    Browse the repository at this point in the history
  143. Configuration menu
    Copy the full SHA
    1c8fb9d View commit details
    Browse the repository at this point in the history
  144. Update msvc 16 project files

    Asheraf authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    81bd754 View commit details
    Browse the repository at this point in the history
  145. Configuration menu
    Copy the full SHA
    3c23de0 View commit details
    Browse the repository at this point in the history
  146. Configuration menu
    Copy the full SHA
    74990ee View commit details
    Browse the repository at this point in the history
  147. Configuration menu
    Copy the full SHA
    bc951fe View commit details
    Browse the repository at this point in the history
  148. Configuration menu
    Copy the full SHA
    89a8c36 View commit details
    Browse the repository at this point in the history
  149. Configuration menu
    Copy the full SHA
    87fb8d8 View commit details
    Browse the repository at this point in the history
  150. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    efb5e69 View commit details
    Browse the repository at this point in the history
  151. Add giflib as libgif

    From commit 1aa11b06d0025eda77b56aec8254130654d4397b
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    edab248 View commit details
    Browse the repository at this point in the history
  152. Configuration menu
    Copy the full SHA
    c9a1e46 View commit details
    Browse the repository at this point in the history
  153. Disable some warnings in libgif

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    bb42679 View commit details
    Browse the repository at this point in the history
  154. Configuration menu
    Copy the full SHA
    a7d7a08 View commit details
    Browse the repository at this point in the history
  155. Move bmp guild emblem validation from char server into api server

    Add interface imageparser for parse and validate images on api server.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    62cfa59 View commit details
    Browse the repository at this point in the history
  156. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    96edff7 View commit details
    Browse the repository at this point in the history
  157. Add validation for gif images in imageparser interface

    Move some image related constants into mmo.h
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    3639f6c View commit details
    Browse the repository at this point in the history
  158. Configuration menu
    Copy the full SHA
    55526ff View commit details
    Browse the repository at this point in the history
  159. Configuration menu
    Copy the full SHA
    c151343 View commit details
    Browse the repository at this point in the history
  160. Add struct for temporary buffer for chunked packets

    New struct fifo_chunk_buf
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    8298dcd View commit details
    Browse the repository at this point in the history
  161. Configuration menu
    Copy the full SHA
    f5a2ebb View commit details
    Browse the repository at this point in the history
  162. Configuration menu
    Copy the full SHA
    fc4b693 View commit details
    Browse the repository at this point in the history
  163. Use pointer for emblem_data in guild struct

    After this change emblems broken. Fix will be in next commits.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    75254eb View commit details
    Browse the repository at this point in the history
  164. Configuration menu
    Copy the full SHA
    4110737 View commit details
    Browse the repository at this point in the history
  165. Configuration menu
    Copy the full SHA
    927b7c8 View commit details
    Browse the repository at this point in the history
  166. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    4b28d53 View commit details
    Browse the repository at this point in the history
  167. Configuration menu
    Copy the full SHA
    ab3228a View commit details
    Browse the repository at this point in the history
  168. Configuration menu
    Copy the full SHA
    0902f60 View commit details
    Browse the repository at this point in the history
  169. Free allocated for guild emblems memory

    Also increase max guild emblem size to 50000.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    1d609bd View commit details
    Browse the repository at this point in the history
  170. Configuration menu
    Copy the full SHA
    5862c1c View commit details
    Browse the repository at this point in the history
  171. Configuration menu
    Copy the full SHA
    8244546 View commit details
    Browse the repository at this point in the history
  172. Configuration menu
    Copy the full SHA
    abc4854 View commit details
    Browse the repository at this point in the history
  173. Configuration menu
    Copy the full SHA
    fd1b42e View commit details
    Browse the repository at this point in the history
  174. Resolve libgif compilation on windows

    Asheraf authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    ff7b50d View commit details
    Browse the repository at this point in the history
  175. Configuration menu
    Copy the full SHA
    23a9f7e View commit details
    Browse the repository at this point in the history
  176. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    8baa312 View commit details
    Browse the repository at this point in the history
  177. Configuration menu
    Copy the full SHA
    51d974c View commit details
    Browse the repository at this point in the history
  178. Configuration menu
    Copy the full SHA
    8f27d70 View commit details
    Browse the repository at this point in the history
  179. Add interface extraconf

    Also add guild emblems configuration parameters and use them from new config.
    Use extraconf for load/parse conf/common/emblems.conf
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    2a5ec93 View commit details
    Browse the repository at this point in the history
  180. Configuration menu
    Copy the full SHA
    b149e65 View commit details
    Browse the repository at this point in the history
  181. Configuration menu
    Copy the full SHA
    1c1df0e View commit details
    Browse the repository at this point in the history
  182. Configuration menu
    Copy the full SHA
    9da2cbd View commit details
    Browse the repository at this point in the history
  183. Configuration menu
    Copy the full SHA
    8b62a7e View commit details
    Browse the repository at this point in the history
  184. Add configuration file with default emotes

    Fix possible buffer overflow in emotes.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    ca9155b View commit details
    Browse the repository at this point in the history
  185. Configuration menu
    Copy the full SHA
    cd1e9b7 View commit details
    Browse the repository at this point in the history
  186. Configuration menu
    Copy the full SHA
    da0e946 View commit details
    Browse the repository at this point in the history
  187. Replace safesnprintf to snprintf

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    eff159f View commit details
    Browse the repository at this point in the history
  188. Configuration menu
    Copy the full SHA
    19ec012 View commit details
    Browse the repository at this point in the history
  189. Configuration menu
    Copy the full SHA
    9818705 View commit details
    Browse the repository at this point in the history
  190. Configuration menu
    Copy the full SHA
    7361b2c View commit details
    Browse the repository at this point in the history
  191. Configuration menu
    Copy the full SHA
    e05e3a9 View commit details
    Browse the repository at this point in the history
  192. Configuration menu
    Copy the full SHA
    21363d9 View commit details
    Browse the repository at this point in the history
  193. Configuration menu
    Copy the full SHA
    f80b272 View commit details
    Browse the repository at this point in the history
  194. Fix some cast warnings in clang

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    3d85bb0 View commit details
    Browse the repository at this point in the history
  195. Configuration menu
    Copy the full SHA
    029ca43 View commit details
    Browse the repository at this point in the history
  196. Configuration menu
    Copy the full SHA
    35cebb7 View commit details
    Browse the repository at this point in the history
  197. Add missing DEBUG_LOG defines for log received packets information

    Disabled by default.
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    68e84d5 View commit details
    Browse the repository at this point in the history
  198. Add define for show/hide http requests

    New define: REQUEST_LOG
    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    6627a51 View commit details
    Browse the repository at this point in the history
  199. Configuration menu
    Copy the full SHA
    92458fb View commit details
    Browse the repository at this point in the history
  200. Configuration menu
    Copy the full SHA
    728d2f4 View commit details
    Browse the repository at this point in the history
  201. Configuration menu
    Copy the full SHA
    d745bc6 View commit details
    Browse the repository at this point in the history
  202. add handling for "Expect: 100-continue" header

    official clients sends this header and not handling it properly
    causes the client to hold the payload for some time, making
    the entire request take longer.
    
    Signed-off-by: Guilherme G. Menaldo <guilherme.menaldo@outlook.com>
    guilherme-gm authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    9e90c7f View commit details
    Browse the repository at this point in the history
  203. send the correct Content-Type for JSON responses

    Signed-off-by: Guilherme G. Menaldo <guilherme.menaldo@outlook.com>
    guilherme-gm authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    6844ad5 View commit details
    Browse the repository at this point in the history
  204. fix default emote list loading

    Signed-off-by: Guilherme G. Menaldo <guilherme.menaldo@outlook.com>
    guilherme-gm authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    ffb85f5 View commit details
    Browse the repository at this point in the history
  205. add HTTP Status codes and way to send json text

    Signed-off-by: Guilherme G. Menaldo <guilherme.menaldo@outlook.com>
    guilherme-gm authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    eae4e58 View commit details
    Browse the repository at this point in the history
  206. add emblem API error response

    Providing an error code allows client some feedback to the user when the
    emblem gets rejected or something goes wrong in the middle of the
    process.
    
    Signed-off-by: Guilherme G. Menaldo <guilherme.menaldo@outlook.com>
    guilherme-gm authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    97699d3 View commit details
    Browse the repository at this point in the history
  207. fix userconfig API emotes default loading

    Not having data and a server error were both being handled as no data,
    which would lead a query error to overwrite user configs with defaults.
    
    We now send a proper error when it fails to load due to an application
    error. This makes official clients inform user about the issue and not
    override their configs.
    
    Signed-off-by: Guilherme G. Menaldo <guilherme.menaldo@outlook.com>
    guilherme-gm authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    ca502e9 View commit details
    Browse the repository at this point in the history
  208. fix API response when userconfig hotkeys errors

    providing a error status prevents clients from overriding their data
    with bad one, and also show a proper error message to the user.
    
    Signed-off-by: Guilherme G. Menaldo <guilherme.menaldo@outlook.com>
    guilherme-gm authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    5bd714f View commit details
    Browse the repository at this point in the history
  209. Configuration menu
    Copy the full SHA
    f108f4a View commit details
    Browse the repository at this point in the history
  210. Fix aclif_decode_post_headers proceeding with the request in case of …

    …header errors
    Asheraf authored and 4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    7b9c919 View commit details
    Browse the repository at this point in the history
  211. Configuration menu
    Copy the full SHA
    706d4f5 View commit details
    Browse the repository at this point in the history
  212. Configuration menu
    Copy the full SHA
    433ce7a View commit details
    Browse the repository at this point in the history
  213. Configuration menu
    Copy the full SHA
    56157f6 View commit details
    Browse the repository at this point in the history
  214. Configuration menu
    Copy the full SHA
    d13b3f3 View commit details
    Browse the repository at this point in the history
  215. Configuration menu
    Copy the full SHA
    80e89cf View commit details
    Browse the repository at this point in the history
  216. Configuration menu
    Copy the full SHA
    b01748f View commit details
    Browse the repository at this point in the history
  217. Configuration menu
    Copy the full SHA
    9ff00c4 View commit details
    Browse the repository at this point in the history
  218. Configuration menu
    Copy the full SHA
    2fca727 View commit details
    Browse the repository at this point in the history
  219. Configuration menu
    Copy the full SHA
    531b22c View commit details
    Browse the repository at this point in the history
  220. Configuration menu
    Copy the full SHA
    fd64e0f View commit details
    Browse the repository at this point in the history
  221. Update HPM

    4144 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    4939fc1 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Fix a warning when compiling with gcc-12

    Signed-off-by: Haru <haru@dotalux.com>
    MishimaHaruna committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    932f86e View commit details
    Browse the repository at this point in the history
  2. Add the missing extraconf source files to the VS projects

    Signed-off-by: Haru <haru@dotalux.com>
    MishimaHaruna committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    83da762 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Sort and resynchronize VS project files between versions

    Note: This was done without the VS IDE and comes with no guarantee that
    it'll work.
    
    My personal thought is that these files shouldn't be in the repository
    at all since the way they are is just unmaintainable unless one has
    several versions of VS installed and the patience to replicate each
    change to the project file in all the version. VS (and Xcode) project
    files shouldn't be part of the repository at all and should be replaced
    with definitions for a generator tool (i.e. CMake) that can generate
    projects for different IDEs that people might want to use.
    
    Signed-off-by: Haru <haru@dotalux.com>
    MishimaHaruna committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    d6b30ad View commit details
    Browse the repository at this point in the history