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

Prefix path router #3592

Open
wants to merge 116 commits into
base: main
Choose a base branch
from
Open

Prefix path router #3592

wants to merge 116 commits into from

Commits on Jul 12, 2023

  1. added prefixPath for site

    giuliaghisini authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    3e22a58 View commit details
    Browse the repository at this point in the history
  2. handle prefixPath in api requests

    giuliaghisini authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    a6cf32e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a523fa7 View commit details
    Browse the repository at this point in the history
  4. fixed prefix path in page head

    giuliaghisini authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    30d2638 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0be7e30 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ab146ac View commit details
    Browse the repository at this point in the history
  7. added namespace to chunkextractor

    giuliaghisini authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    cb21196 View commit details
    Browse the repository at this point in the history
  8. fix static paths in razzle

    cekk authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    4c35003 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    67452b7 View commit details
    Browse the repository at this point in the history
  10. fix: fix empty values

    giuliaghisini authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    c485e5f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9505e56 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f2f908e View commit details
    Browse the repository at this point in the history
  13. Update APIResourceWithAuth.js

    giuliaghisini authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    c284ec5 View commit details
    Browse the repository at this point in the history
  14. Update Api.js

    giuliaghisini authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    97f3f9c View commit details
    Browse the repository at this point in the history
  15. fix: fix linter

    giuliaghisini authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    f37a938 View commit details
    Browse the repository at this point in the history
  16. fix: image and file views

    pnicolli authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    76f0f33 View commit details
    Browse the repository at this point in the history
  17. fix: image and file views

    pnicolli authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    ed28182 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    57537bb View commit details
    Browse the repository at this point in the history
  19. readded tests inadvertently removed

    mamico authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    4a6f184 View commit details
    Browse the repository at this point in the history
  20. fix tests

    mamico authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    dfdd13f View commit details
    Browse the repository at this point in the history
  21. fix tests

    mamico authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    e38bccc View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    cf7d2ae View commit details
    Browse the repository at this point in the history
  23. add prefix-path express-middleware

    nileshgulia1 authored and wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    3be3238 View commit details
    Browse the repository at this point in the history
  24. Put prefixPath in config.devServer.devMiddleware.publicPath

    After updating from webpack-dev-server v3. -> v.4 the configuration
    config.devServer.publicPath is now:
    
    config.devServer.devMiddleware.publicPath
    
    See:
    
    https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.md#-breaking-changes
    
    Avoid error:
    
    ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
    wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    1ceb872 View commit details
    Browse the repository at this point in the history
  25. Add cypress to prefix path router (#3719)

    Co-authored-by: nileshgulia1 <nileshgulia@gmail.com>
    Co-authored-by: wesleybl <wesleybl@gmail.com>
    3 people committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    d6f8bab View commit details
    Browse the repository at this point in the history
  26. Avoid /my-prefix from being redirected to /my-prefix/

    Avoid https://my.domain/my-prefix from being redirected to
    https://my.domain/my-prefix/ (with slash at the end) after SSR.
    
    See the documentation for the redirect option:
    
    https://expressjs.com/en/resources/middleware/serve-static.html
    wesleybl committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    7f435b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

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

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    30a9799 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63c7858 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    035bc59 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Configuration menu
    Copy the full SHA
    392bdfd View commit details
    Browse the repository at this point in the history
  2. tests: update snapshots

    nileshgulia1 committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    9af9eb8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e201fc3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3089740 View commit details
    Browse the repository at this point in the history
  5. tests: more fixes

    nileshgulia1 committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    7037193 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

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

Commits on Nov 22, 2023

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

Commits on Nov 25, 2023

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

Commits on Nov 26, 2023

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

Commits on Nov 27, 2023

  1. Configuration menu
    Copy the full SHA
    6b3e876 View commit details
    Browse the repository at this point in the history
  2. fix: test-setup config

    nileshgulia1 committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    b964d97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8d8413 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    40e5379 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db1fe08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef6216a View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Configuration menu
    Copy the full SHA
    21162d3 View commit details
    Browse the repository at this point in the history
  2. fix(CI): use pnpm

    nileshgulia1 committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    14de201 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Configuration menu
    Copy the full SHA
    e8b3859 View commit details
    Browse the repository at this point in the history
  2. fix: update prefix-tests

    nileshgulia1 committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    04dc8aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ecd601d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0b5bff7 View commit details
    Browse the repository at this point in the history
  5. update acceptance.yml

    nileshgulia1 committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    260cfcd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f3dd2b5 View commit details
    Browse the repository at this point in the history
  7. update makefile

    nileshgulia1 committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    1c676ff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cfb5a73 View commit details
    Browse the repository at this point in the history
  9. delete dangling one

    nileshgulia1 committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    000f503 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    76008a6 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

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

Commits on Jan 25, 2024

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

Commits on Jan 29, 2024

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

Commits on Jan 31, 2024

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

Commits on Feb 12, 2024

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

Commits on Feb 13, 2024

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

Commits on Feb 14, 2024

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

Commits on Feb 22, 2024

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

Commits on Feb 27, 2024

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

Commits on Mar 6, 2024

  1. Configuration menu
    Copy the full SHA
    aa0c72b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3938b21 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b07f431 View commit details
    Browse the repository at this point in the history
  4. Force install Cypress

    wesleybl committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    3a10d4a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    562e01e View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Fix cache key

    wesleybl committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    c50341b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61d96d2 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

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

Commits on Mar 11, 2024

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

Commits on Mar 13, 2024

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

Commits on Mar 14, 2024

  1. Configuration menu
    Copy the full SHA
    8d8edf3 View commit details
    Browse the repository at this point in the history
  2. Remove use asyncPropExtenders for /controlpanel route when prefixed

    The problem of not loading properties occurs in more routes, not just in
    /controlpanel. We need a more generic solution. This reverts part of the
    commit:
    
    3ad97df
    wesleybl committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    9a6b25f View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Add routes with prefix path

    This is necessary for component properties to work correctly in SSR,
    when we use prefix
    wesleybl committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    149c899 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e32637b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5eddf39 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8cf3b05 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5ce2e94 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Configuration menu
    Copy the full SHA
    a59a704 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2944946 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    235e4c5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    38e428c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e2620e View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

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

Commits on May 16, 2024

  1. Configuration menu
    Copy the full SHA
    433ad1c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd553b8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d66b0ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a38dda0 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

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

Commits on Jul 8, 2024

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

Commits on Jul 10, 2024

  1. Rename Makefile targets

    wesleybl committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    e8b69cf View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

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

Commits on Jul 12, 2024

  1. Does not add prefix in the flattenToAppURL function

    We already have a router basename.
    wesleybl committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    c2ae5a4 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Create function addPrefixPath

    This function adds a prefix to a URL. This function should be used where
    it is not possible to use the Link and UniversalLink components
    wesleybl committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    223cf17 View commit details
    Browse the repository at this point in the history
  2. Uses addPrefixPath where it is not possible to use the Link and

    UniversalLink components
    wesleybl committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    0d357e1 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

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

Commits on Jul 26, 2024

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

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    9e4712e View commit details
    Browse the repository at this point in the history
  2. Allows use of RAZZLE PREFIX PATH variable in development mode

    Without using this variable in development mode, you need to compile the
    code with each file change to see the result.
    wesleybl committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    06f3e1f View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    e6ea8aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b59a49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3856b7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e90e60 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Fixes prefixed workingcopy tests

    This add scripts to start frontend configured for working copy prefixed
    wesleybl committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    e8889fe View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    ccc0b0e View commit details
    Browse the repository at this point in the history
  2. Does not avoid redirect /prefix -> prefix/

    In 7f435b0
    I tried to avoid this rendirect but when rendering happens on the server
    side, it was happening Not Found before the client rendered the page
    correctly.
    wesleybl committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    01148eb View commit details
    Browse the repository at this point in the history