Compare commits
15 Commits
c35ad71d18
...
1.5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fb040ce8f | ||
|
|
e618bf03bf | ||
|
|
351d0d70ad | ||
|
|
6cc9eb82c9 | ||
|
|
22c05e2f51 | ||
|
|
fa6745da83 | ||
|
|
039f07a3db | ||
|
|
395843fe7c | ||
|
|
e8508a920e | ||
|
|
40f76367b1 | ||
|
|
79fde281c1 | ||
|
|
66dec81aab | ||
|
|
09048b0717 | ||
|
|
8143cda4aa | ||
|
|
567f23ba94 |
@@ -1,41 +0,0 @@
|
||||
# This file is a template, and might need editing before it works on your project.
|
||||
# This is a sample GitLab CI/CD configuration file that should run without any modifications.
|
||||
# It demonstrates a basic 3 stage CI/CD pipeline. Instead of real tests or scripts,
|
||||
# it uses echo commands to simulate the pipeline execution.
|
||||
#
|
||||
# A pipeline is composed of independent jobs that run scripts, grouped into stages.
|
||||
# Stages run in sequential order, but jobs within stages run in parallel.
|
||||
#
|
||||
# For more information, see: https://docs.gitlab.com/ee/ci/yaml/#stages
|
||||
#
|
||||
# You can copy and paste this template into a new `.gitlab-ci.yml` file.
|
||||
# You should not add this template to an existing `.gitlab-ci.yml` file by using the `include:` keyword.
|
||||
#
|
||||
# To contribute improvements to CI/CD templates, please follow the Development guide at:
|
||||
# https://docs.gitlab.com/development/cicd/templates/
|
||||
# This specific template is located at:
|
||||
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
||||
|
||||
image: philippheuer/docker-gitlab-powershell
|
||||
|
||||
stages: # List of stages for jobs, and their order of execution
|
||||
- build
|
||||
- deploy
|
||||
|
||||
prep-job: # This job runs in the build stage, which runs first.
|
||||
stage: build
|
||||
script:
|
||||
- powershell -Command 'Install-Module ps2exe -Confirm:$False -Force'
|
||||
- powershell -Command "ps2exe ./laps.ps1 -requireAdmin -noOutput -noError -title 'LAPS' -description 'Outil pour récupérer un mot de passe LAPS dans un Active Directory' -Company 'Académie Nancy-Metz' -noconsole -version 1.2 -outputFile /builds/jsecula/laps/laps.exe"
|
||||
artifacts:
|
||||
when: on_success
|
||||
access: all
|
||||
paths:
|
||||
- ./laps.exe
|
||||
expire_in: 30 days
|
||||
deploy-job: # This job runs in the deploy stage.
|
||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||
environment: production
|
||||
script:
|
||||
- echo "Deploying application..."
|
||||
- echo "Application successfully deployed."
|
||||
19
LoginScreen.xaml
Normal file
19
LoginScreen.xaml
Normal file
@@ -0,0 +1,19 @@
|
||||
<Window
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:LAPS"
|
||||
Title="LAPS" Height="200" Width="400" ResizeMode="NoResize">
|
||||
<Grid FocusManager.FocusedElement="{Binding ElementName=UsernameTextbox}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="400*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label Content="Identifiant" HorizontalAlignment="Left" Margin="55,27,0,0" VerticalAlignment="Top"/>
|
||||
<Label x:Name="UserNameHelp" Content="admin-uid" HorizontalAlignment="Right" Margin="0,27,42,0" VerticalAlignment="Top" Width="220" Height="23" Foreground="#A5909090"/>
|
||||
<TextBox x:Name="UsernameTextbox" HorizontalAlignment="Right" Margin="0,30,40,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="220" Height="20" Background="Transparent"/>
|
||||
<Label Content="Mot de passe" HorizontalAlignment="Left" Margin="38,64,0,0" VerticalAlignment="Top"/>
|
||||
<PasswordBox x:Name="PasswordBox" HorizontalAlignment="Right" Margin="0,67,40,0" VerticalAlignment="Top" Width="220" Height="20"/>
|
||||
<Button x:Name="ValidateButton" IsDefault="True" Content="OK" HorizontalAlignment="Right" Margin="42,108,40,0" VerticalAlignment="Top" Height="27" Width="72" Grid.Column="1"/>
|
||||
<Label x:Name="errorLabel" Content="Error Label" HorizontalAlignment="Left" Margin="38,109,0,0" VerticalAlignment="Top" Width="220" Foreground="Red" Visibility="Hidden"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
24
SearchScreen.xaml
Normal file
24
SearchScreen.xaml
Normal file
@@ -0,0 +1,24 @@
|
||||
<Window
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:LAPS" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
||||
Title="LAPS" Height="300" Width="450" ResizeMode="NoResize">
|
||||
<Grid FocusManager.FocusedElement="{Binding ElementName=computerNameTextbox}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="450*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label Content="Nom de l'ordinateur" HorizontalAlignment="Left" Margin="42,37,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,-0.024"/>
|
||||
<TextBox x:Name="computerNameTextbox" HorizontalAlignment="Left" Margin="173,41,0,0" TextWrapping="NoWrap" Text="" VerticalAlignment="Top" Width="169"/>
|
||||
<Image x:Name="searchBtn" HorizontalAlignment="Left" Height="15" Margin="352,41,0,0" VerticalAlignment="Top" Width="16" RenderTransformOrigin="89.583,46.589"/>
|
||||
<Label x:Name="expirationLabel" Content="Date d'expiration" HorizontalAlignment="Left" Margin="42,83,0,0" VerticalAlignment="Top" Visibility="Hidden" RenderTransformOrigin="0.5,-0.024"/>
|
||||
<xctk:DateTimePicker x:Name="expirationTimeSelector" HorizontalAlignment="Left" Margin="173,85,0,0" Visibility="Hidden" VerticalAlignment="Top" Width="169" AllowSpin="False" ButtonSpinnerHeight="0" Format="Custom" Minimum="1970-01-01" FormatString="dd/MM/yyyy - HH:mm:ss" ShowButtonSpinner="False" TimePickerAllowSpin="False" TimePickerShowButtonSpinner="False" Text="" AutoCloseCalendarOnTimeSelection="True" TextAlignment="Left" TimeFormat="LongTime"/>
|
||||
<Label x:Name="lapsAccountLabel" Content="Compte LAPS : " HorizontalAlignment="Left" Margin="170,115,0,0" VerticalAlignment="Top" Visibility="Hidden" RenderTransformOrigin="0.5,-0.024"/>
|
||||
<Label x:Name="lapsPasswordLabel" Content="Mot de passe LAPS" HorizontalAlignment="Left" Margin="42,133,0,0" VerticalAlignment="Top" Visibility="Hidden" RenderTransformOrigin="0.5,-0.024"/>
|
||||
<TextBox x:Name="LAPSTextbox" FontFamily="Consolas" FontSize="15" Text="P@ssw0rdO1234iJljL" TextWrapping="NoWrap" HorizontalAlignment="Left" Margin="173,137,0,0" Visibility="Hidden" VerticalAlignment="Top" Width="169" IsReadOnly="True" Background="#FFE4E4E4"/>
|
||||
<Image x:Name="copyBtn" HorizontalAlignment="Left" Height="15" Margin="352,139,0,0" VerticalAlignment="Top" Width="16" Visibility="Hidden"/>
|
||||
<TextBlock x:Name="errorText" Width="200" TextWrapping="Wrap" Text="Erreur : ????" HorizontalAlignment="Left" Margin="42,162,0,0" VerticalAlignment="Top" Visibility="Hidden" RenderTransformOrigin="0.5,-0.024"/>
|
||||
<Button x:Name="updateBtn" Content="Mettre à jour" HorizontalAlignment="Left" Margin="258,181,0,0" VerticalAlignment="Top" Visibility="Hidden" Height="27" Width="84"/>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
BIN
Xceed.Wpf.AvalonDock.Themes.Aero.dll
Normal file
BIN
Xceed.Wpf.AvalonDock.Themes.Aero.dll
Normal file
Binary file not shown.
BIN
Xceed.Wpf.AvalonDock.Themes.Metro.dll
Normal file
BIN
Xceed.Wpf.AvalonDock.Themes.Metro.dll
Normal file
Binary file not shown.
BIN
Xceed.Wpf.AvalonDock.Themes.VS2010.dll
Normal file
BIN
Xceed.Wpf.AvalonDock.Themes.VS2010.dll
Normal file
Binary file not shown.
BIN
Xceed.Wpf.AvalonDock.dll
Normal file
BIN
Xceed.Wpf.AvalonDock.dll
Normal file
Binary file not shown.
BIN
Xceed.Wpf.Toolkit.dll
Normal file
BIN
Xceed.Wpf.Toolkit.dll
Normal file
Binary file not shown.
BIN
search.png
Normal file
BIN
search.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 309 B |
Reference in New Issue
Block a user