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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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:
dev← Head:feature-endpoints📝 Commits (10+)
d24eadaAdd the organisation controller4c93109Add function to create new organisations2e9302bExtract common function to handle selecting organisationsd579169Add routes for organisations19b9424Add function to update an organisationaf3a44dAdd better error handling0729e0dImprove error handling and simplify codec306d21Add controller and routes for groups8c6d0a7Only show details when authenticateda42c3d4Extract 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
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.