Skip to content

Tags

Tags give the ability to mark specific points in history as being important
  • v2.0.0 Release: 🔖 RaproSh'it v[2.0.0] - 2025-01-13
    🔖 RaproSh'it v[2.0.0] - 2025-01-13
    
    [![Release 2.0.0][release_2.0.0_badge]][release_2.0.0_link]
    [![pipeline status][pipeline_2.0.0_badge]][pipeline_2.0.0_link]
    [![Coverage on v2.0.0][coverage_2.0.0_badge_main]][commit_history_2.0.0_link_main]
    
    [release_2.0.0_badge]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/-/badges/release.svg
    [release_2.0.0_link]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/-/releases/v2.0.0
    [pipeline_2.0.0_badge]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/badges/main/pipeline.svg
    [pipeline_2.0.0_link]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/-/commits/v2.0.0?ref_type=tags
    [coverage_2.0.0_badge_main]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/badges/main/coverage.svg?job=test&min_good=75&min_acceptable=50
    [commit_history_2.0.0_link_main]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/-/commits/v2.0.0?ref_type=tags
    
    ### Added
    
    - run `./run_back.sh` to launch keycloak and run the go code
    - Automatic keycloak configuration (via realm export)
    - Delete on cascade
    - CORS config
    - Endpoints
      - Baskets (only for users) (migrated from `user.go`)
        - GET "", getBasket
        - POST "", addBasket
        - DELETE "/:itemFK", removeBasket
        - PATCH "/", updateQuantity
        - GET "/price", getBasketPrice
        - GET "/validate", getBasketValidate
    
    ### Changed
    
    - Endpoints
      - Items
        - users can now manager their items
        - fix image management
      - Shops
        - users can manage their shop(s)
      - Users
        - GET "/self", getSelfUser
        - PUT "/self", editSelfUser
        - DELETE "/self", removeSelfUser
        - POST "", createUser
        - GET "/subscriptions", getSubscribe
        - GET "/subscriptions/:id", addSubscribe
        - GET "/Owner", getOwnShop
        - GET "/Owner/:id", addOwnShop
    
    ### Fixed
    
    - image examples are working (randomized name, correct path)
    - authentication middleware
    - foreign key access (it's now activated)
  • v1.0.0 Release: 🔖 RaproSh'it v[1.0.0] - 2025-01-10
    ## 🔖 RaproSh'it v[1.0.0] - 2025-01-10
    
    [![Release 1.0.0][release_1.0.0_badge]][release_1.0.0_link]
    [![pipeline status][pipeline_1.0.0_badge]][pipeline_1.0.0_link]
    [![Coverage on v1.0.0][coverage_1.0.0_badge_main]][commit_history_1.0.0_link_main]
    
    [release_1.0.0_badge]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/-/badges/release.svg
    [release_1.0.0_link]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/-/releases/
    [pipeline_1.0.0_badge]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/badges/main/pipeline.svg
    [pipeline_1.0.0_link]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/-/commits/v1.0.0?ref_type=tags
    [coverage_1.0.0_badge_main]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/badges/main/coverage.svg?job=test&min_good=75&min_acceptable=50
    [commit_history_1.0.0_link_main]: https://gitlab2.istic.univ-rennes1.fr/rust-enjoyer/raprosh-it-back/-/commits/v1.0.0?ref_type=tags
    
    ### Added
    
    - Endpoints
      - Users (only by user)
        - GET "/basket", getBasket
        - POST "/basket", addBasket
        - DELETE "/basket/:itemFK", removeBasket
        - PATCH "/basket", updateQuantity
      - Users (only by admmin)
        - GET "", getUsers
        - GET "/:id", getUser
        - POST "", createUser
        - PUT "/:id", editUser
        - PATCH "/:id", editUserWithNotAllValues
        - DELETE "/:id", removeUser
      - Shop (user)
        - POST "/getArround", getShopsArroundUser
        - GET "/resume/:id", getShopDescription
        - GET "/product/:id", getShopProductList
        - GET "/images/:id", getShopImagesList
        - GET "/seller/:id", getShopSellerInformation
        - GET "/localisation/:id", getShopLocalisation
      - Shop (admin)
        - GET "", getShops
        - GET "/:id", getShop
        - POST "", createShop
        - PUT "", editShop
        - DELETE "/:id", removeShop
      - Item (user)
        - GET "/info/:id", getItemInformation
        - GET "/shop/:id", getShopInformation
        - GET "/images/:id", getImages
        - GET "/getByName/:name", getAllShopByItemName
        - GET "/getByPrice/:price", getAllShopByPrice
      - Item (admin)
        - GET "/", getAllItem
        - GET "/:id", getItem
        - POST "", createItem
        - PUT "/:id", updateItem
        - DELETE "/:id", removeItem
      - Media
        - Static "", "./media"
        - POST "/shopMedia", addMediaFileToShop
        - DELETE "/removeShopMedia/:id", removeMediaFileToShop
        - POST "/itemMedia", addMediaFileToItem
        - PUT "/updateOrder/:id", updateMediaItem
        - DELETE "/removeItemMedia/:id", removeMediaFileToItem
    - Authentication with keycloak
      - config in `data/realm-export.json`
    - AutoMigration/Seed of the database
      - from `data/database_example.json`