[PR #35] [MERGED] Add new endpoints #75

Closed
opened 2026-09-04 00:22:01 +02:00 by Stone_Red · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/detleph/server/pull/35
Author: @stephan418
Created: 4/26/2022
Status: Merged
Merged: 4/26/2022
Merged by: @stephan418

Base: devHead: feature-endpoints


📝 Commits (10+)

  • d24eada Add the organisation controller
  • 4c93109 Add function to create new organisations
  • 2e9302b Extract common function to handle selecting organisations
  • d579169 Add routes for organisations
  • 19b9424 Add function to update an organisation
  • af3a44d Add better error handling
  • 0729e0d Improve error handling and simplify code
  • c306d21 Add controller and routes for groups
  • 8c6d0a7 Only show details when authenticated
  • a42c3d4 Extract function to create an object by name

📊 Changes

7 files changed (+523 additions, -23 deletions)

View changed files

📝 src/Controllers/admin.controller.ts (+1 -23)
📝 src/Controllers/common.ts (+128 -0)
src/Controllers/group.controllers.ts (+116 -0)
src/Controllers/organisation.controller.ts (+233 -0)
src/Routes/group.routes.ts (+14 -0)
src/Routes/organisation.routes.ts (+25 -0)
📝 src/app.ts (+6 -0)

📄 Description

  • Complete /organisations endpoint (CRUD)
  • Partial /groups endpoint implementation (CR)

Please only skim the code (No need to review all of it)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/detleph/server/pull/35 **Author:** [@stephan418](https://github.com/stephan418) **Created:** 4/26/2022 **Status:** ✅ Merged **Merged:** 4/26/2022 **Merged by:** [@stephan418](https://github.com/stephan418) **Base:** `dev` ← **Head:** `feature-endpoints` --- ### 📝 Commits (10+) - [`d24eada`](https://github.com/detleph/server/commit/d24eadaa65ee81e467b8ad94d1fcd5d22168e7a0) Add the organisation controller - [`4c93109`](https://github.com/detleph/server/commit/4c9310948d58fd31eb6c4385ea2b26ad8d9593ba) Add function to create new organisations - [`2e9302b`](https://github.com/detleph/server/commit/2e9302b7e8d05128d086e7efab2ea0f7880b4dcb) Extract common function to handle selecting organisations - [`d579169`](https://github.com/detleph/server/commit/d57916919968461d7f6a05c2ab108381d552dff8) Add routes for organisations - [`19b9424`](https://github.com/detleph/server/commit/19b9424e48ac20b274fb5f76c2648628e51d2974) Add function to update an organisation - [`af3a44d`](https://github.com/detleph/server/commit/af3a44d6fe970ed484512fdcf831b343d6b685bc) Add better error handling - [`0729e0d`](https://github.com/detleph/server/commit/0729e0d63ea9867e0378dd82df8984879442815f) Improve error handling and simplify code - [`c306d21`](https://github.com/detleph/server/commit/c306d21e55a83172444f726f106e3084f6f9c5fd) Add controller and routes for groups - [`8c6d0a7`](https://github.com/detleph/server/commit/8c6d0a7d7b6c6368dac32bd02addcbf071d225ae) Only show details when authenticated - [`a42c3d4`](https://github.com/detleph/server/commit/a42c3d4b589a6ec60200f0676427ca3e5a0299c3) Extract function to create an object by name ### 📊 Changes **7 files changed** (+523 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `src/Controllers/admin.controller.ts` (+1 -23) 📝 `src/Controllers/common.ts` (+128 -0) ➕ `src/Controllers/group.controllers.ts` (+116 -0) ➕ `src/Controllers/organisation.controller.ts` (+233 -0) ➕ `src/Routes/group.routes.ts` (+14 -0) ➕ `src/Routes/organisation.routes.ts` (+25 -0) 📝 `src/app.ts` (+6 -0) </details> ### 📄 Description + Complete /organisations endpoint (CRUD) + Partial /groups endpoint implementation (CR) Please only skim the code (No need to review all of it) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Stone_Red added the pull-request label 2026-09-04 00:22:01 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: detleph/server#75