[PR #430] [MERGED] Feature: Ask To Elevate #1138

Closed
opened 2026-02-27 15:53:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/quasar/Quasar/pull/430
Author: @LostSoulfly
Created: 3/18/2016
Status: Merged
Merged: 3/30/2016
Merged by: @MaxXor

Base: masterHead: AskToEvelate


📝 Commits (10+)

  • da42bd3 Create DoAskElevate ServerPacket
  • e2cb8ba Create DoAskElevate for Client's ServerPackets.
  • 6995b04 Try not to make it so obvious that this is my second time working with c#
  • f0474b4 Implement HandleAskElevate on Client
  • c68c111 Update QuasarClient Serializer for DoAskElevate
  • 3f91ccd Add DoAskElevate to Client PacketHandler
  • 8b6fa9e Remove extra line to make it pretty?
  • 9e4f4ab Add toolstrip menu item for AskToElevate and correspon _click action
  • 9b41d6a Add DoAskElevate to QuasarServer.
  • 9b0e1d8 Improve HandleAskElevate.

📊 Changes

11 files changed (+243 additions, -147 deletions)

View changed files

📝 Client/Client.csproj (+1 -0)
📝 Client/Core/Commands/SystemHandler.cs (+30 -0)
📝 Client/Core/Networking/QuasarClient.cs (+1 -0)
📝 Client/Core/Packets/PacketHandler.cs (+4 -0)
Client/Core/Packets/ServerPackets/DoAskElevate.cs (+18 -0)
📝 Server/Core/Networking/QuasarServer.cs (+1 -0)
Server/Core/Packets/ServerPackets/DoAskElevate.cs (+18 -0)
📝 Server/Forms/FrmMain.Designer.cs (+53 -39)
📝 Server/Forms/FrmMain.cs (+8 -0)
📝 Server/Forms/FrmMain.resx (+108 -108)
📝 Server/Server.csproj (+1 -0)

📄 Description

Essentially, tells the client to ShellExecute itself which opens up a UAC Consent window that the user can accept or decline. If accepted, the original client is stopped and the new client with Admin rights connects to the server.

This is the second C# thing I've worked on, so any tips or criticism is welcome.
This is the first pull request I've ever done. I'm still learning Git, too.


🔄 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/quasar/Quasar/pull/430 **Author:** [@LostSoulfly](https://github.com/LostSoulfly) **Created:** 3/18/2016 **Status:** ✅ Merged **Merged:** 3/30/2016 **Merged by:** [@MaxXor](https://github.com/MaxXor) **Base:** `master` ← **Head:** `AskToEvelate` --- ### 📝 Commits (10+) - [`da42bd3`](https://github.com/quasar/Quasar/commit/da42bd3e0ca81ccff41384e281c56573304cc51f) Create DoAskElevate ServerPacket - [`e2cb8ba`](https://github.com/quasar/Quasar/commit/e2cb8ba85730d720d6fd05c0518ca016e49c9a7b) Create DoAskElevate for Client's ServerPackets. - [`6995b04`](https://github.com/quasar/Quasar/commit/6995b04cbd9c67d83ebd88354811f721d946a483) Try not to make it so obvious that this is my second time working with c# - [`f0474b4`](https://github.com/quasar/Quasar/commit/f0474b47751709d0f4c6f311f012a6c0de5cf55a) Implement HandleAskElevate on Client - [`c68c111`](https://github.com/quasar/Quasar/commit/c68c111bb962d9dbd2003a0eaa3ab75f2c410f96) Update QuasarClient Serializer for DoAskElevate - [`3f91ccd`](https://github.com/quasar/Quasar/commit/3f91ccd664048be8aeb1c3363d760800c8c38b95) Add DoAskElevate to Client PacketHandler - [`8b6fa9e`](https://github.com/quasar/Quasar/commit/8b6fa9e8a2e3c8a4b2dcf7eab70730d7a313f840) Remove extra line to make it pretty? - [`9e4f4ab`](https://github.com/quasar/Quasar/commit/9e4f4abfcc46d6e2cc5aec0491acf2ca61c2c561) Add toolstrip menu item for AskToElevate and correspon _click action - [`9b41d6a`](https://github.com/quasar/Quasar/commit/9b41d6afbf24f6ffb08894b93bbabb8732ea0c21) Add DoAskElevate to QuasarServer. - [`9b0e1d8`](https://github.com/quasar/Quasar/commit/9b0e1d8a230e0d5fdd9b150d59f91e82d197e085) Improve HandleAskElevate. ### 📊 Changes **11 files changed** (+243 additions, -147 deletions) <details> <summary>View changed files</summary> 📝 `Client/Client.csproj` (+1 -0) 📝 `Client/Core/Commands/SystemHandler.cs` (+30 -0) 📝 `Client/Core/Networking/QuasarClient.cs` (+1 -0) 📝 `Client/Core/Packets/PacketHandler.cs` (+4 -0) ➕ `Client/Core/Packets/ServerPackets/DoAskElevate.cs` (+18 -0) 📝 `Server/Core/Networking/QuasarServer.cs` (+1 -0) ➕ `Server/Core/Packets/ServerPackets/DoAskElevate.cs` (+18 -0) 📝 `Server/Forms/FrmMain.Designer.cs` (+53 -39) 📝 `Server/Forms/FrmMain.cs` (+8 -0) 📝 `Server/Forms/FrmMain.resx` (+108 -108) 📝 `Server/Server.csproj` (+1 -0) </details> ### 📄 Description Essentially, tells the client to ShellExecute itself which opens up a UAC Consent window that the user can accept or decline. If accepted, the original client is stopped and the new client with Admin rights connects to the server. This is the second C# thing I've worked on, so any tips or criticism is welcome. This is the _first_ pull request I've ever done. I'm still learning Git, too. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:53:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#1138
No description provided.