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

2024 updates #54

Merged
merged 8 commits into from
Jul 7, 2024
Merged

2024 updates #54

merged 8 commits into from
Jul 7, 2024

Commits on Jul 1, 2024

  1. Server: Update Baltic Main List

    Changes:
    + Akola Group
    + Infortar
    + KN Energies
    - Klaipėdos nafta
    - Linas Agro Group
    ~ Tallinna Kaubamaja Grupp -> TKM Grupp
    ~ Grigeo -> Grigeo Group
    StenAL committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    c3b88c1 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Server: Enable IPv6 networking in production docker-compose.yml

    The production server is running IPv6-only and has been broken for a
    while because by default, Docker refuses to do IPv6 networking. This can
    be fixed by adding a custom network to the compose file. Java will still
    try to use IPv6, but this can be worked around by setting the
    _JAVA_OPTIONS environment variable.
    StenAL committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    52fb3ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c5ecf2 View commit details
    Browse the repository at this point in the history
  3. Client: Types cleanup

    The previous types were lying a bit: by having e.g. KeyStats extend
    Record<ColumnId, ...> TypeScript it to have all the properties of
    ColumnId, even though it only had some of them. Also, instead of
    copy-pasting definitions from the backend types to RenderedData, it is
    now built from TS utility types to remove potential for errors.
    
    This enabled removing some copy-pasting in App.tsx where the rendered
    data was being created.
    
    It also required some extra casts in Reducer.ts's
    compareStocksByAttribute method. Also, instead of filtering the stocks
    list to ensure the compared property exists (which now had type errors),
    the comparison method handles `undefined` values properly.
    StenAL committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    5605cdc View commit details
    Browse the repository at this point in the history
  4. Everywhere: Update dependencies

    Nothing too noteworthy. MariaDB removed mysql compatibility symlinks in
    v11 so now Docker compose files need to use mariadbd instead of mysqld
    as the entrypoint.
    StenAL committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    037b2db View commit details
    Browse the repository at this point in the history
  5. CI: Add and use Ansible playbook to deploy backend

    This avoids a bunch of manual one-time set-up for the server, e.g.
    installing Docker and creating a systemd service. This also removes a
    dependency on some third party GitHub actions.
    StenAL committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    9e3777d View commit details
    Browse the repository at this point in the history
  6. CI: Add and use Ansible playbook to deploy frontend

    This avoids a bunch of manual one-time set-up for the server, e.g.
    installing and configuring Nginx. This also removes a dependency on some
    third party GitHub actions.
    StenAL committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    95aec37 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8afdeec View commit details
    Browse the repository at this point in the history