Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fork #1

Open
wants to merge 953 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
953 commits
Select commit Hold shift + click to select a range
785e3cc
Update New-GitHubRepo.ps1
JohnDuprey Feb 12, 2025
5168300
create repo tweaks
JohnDuprey Feb 12, 2025
a743f7f
fix outputs
JohnDuprey Feb 12, 2025
2611236
template changes
KelvinTegelaar Feb 12, 2025
d0a85ed
fix create repo
JohnDuprey Feb 12, 2025
f90a8c2
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
JohnDuprey Feb 12, 2025
238883a
remove condition to add missing groups
JohnDuprey Feb 12, 2025
0cce88a
fix one off import option
JohnDuprey Feb 12, 2025
f2e3478
group imports
KelvinTegelaar Feb 12, 2025
5193fa2
Casing and a bit of cleanup
kris6673 Feb 12, 2025
c64a5e9
add import error handling and output
JohnDuprey Feb 12, 2025
634c0bc
CA and groups
KelvinTegelaar Feb 12, 2025
f062354
update template run
KelvinTegelaar Feb 12, 2025
fdae6f3
migration table edit
KelvinTegelaar Feb 12, 2025
38de6c2
Merge pull request #1302 from kris6673/casing
KelvinTegelaar Feb 12, 2025
e30aaa9
up version
JohnDuprey Feb 12, 2025
c9c5a34
Merge pull request #1301 from kris6673/qrcode-support
KelvinTegelaar Feb 12, 2025
1186a4e
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
JohnDuprey Feb 12, 2025
c1ff826
Merge pull request #1303 from KelvinTegelaar/dev
JohnDuprey Feb 12, 2025
5f9640f
comment out invalid param
JohnDuprey Feb 13, 2025
9747c43
Update version_latest.txt
JohnDuprey Feb 13, 2025
e0c72c4
Merge pull request #1305 from KelvinTegelaar/dev
JohnDuprey Feb 13, 2025
0d06280
Fix TotalArchiveItemSize in ListUserMailboxDetails
nichxlxs Feb 13, 2025
bf72ac0
fix mapping bug
JohnDuprey Feb 13, 2025
e384ead
fix missing headers
JohnDuprey Feb 13, 2025
038e932
Update Invoke-ExecGitHubAction.ps1
JohnDuprey Feb 13, 2025
99d782a
fixes full params
KelvinTegelaar Feb 13, 2025
663b424
fixes
KelvinTegelaar Feb 13, 2025
87d41f3
move parameter
KelvinTegelaar Feb 13, 2025
25e000a
fixes rawjson output
KelvinTegelaar Feb 13, 2025
4b86799
fix for templates
KelvinTegelaar Feb 13, 2025
94523e7
more logging/output fixes
JohnDuprey Feb 13, 2025
111d551
fix duplicate sync issues
JohnDuprey Feb 13, 2025
41e707f
Add or update the Azure App Service build and deployment workflow config
KelvinTegelaar Feb 13, 2025
6674e9b
hudu sync tweak
JohnDuprey Feb 13, 2025
01e3722
up version
JohnDuprey Feb 13, 2025
c8da99d
Merge pull request #1307 from KelvinTegelaar/dev
JohnDuprey Feb 13, 2025
26d9582
fix scheduled command
JohnDuprey Feb 14, 2025
d078e22
Update version_latest.txt
JohnDuprey Feb 14, 2025
25dc5ac
Merge pull request #1309 from KelvinTegelaar/dev
JohnDuprey Feb 14, 2025
f3c6a83
Refactor logging and state handling in CIPP standards
kris6673 Feb 14, 2025
eeb6a69
update comments and fix RetentionPolicyTag standard
kris6673 Feb 15, 2025
00a333d
Casing and better error logging
kris6673 Feb 15, 2025
670c2bb
last time for sure
kris6673 Feb 15, 2025
7a1b04a
New standard: AntiSpamSafeList
kris6673 Feb 15, 2025
38073c6
Forgot the docs comment
kris6673 Feb 15, 2025
7f19c2a
move metadata change after query execution
JohnDuprey Feb 17, 2025
65354e8
Change to POST
kris6673 Feb 17, 2025
3bde938
Refactor Set-CIPPMailboxType function to use consistent parameter cas…
kris6673 Feb 17, 2025
cb477ee
Change to POST
kris6673 Feb 17, 2025
fa94d4b
Implement and replace mailbox conversions with Invoke-ExecConvertMailbox
kris6673 Feb 17, 2025
e3ca0a0
Support POST and new messages
kris6673 Feb 17, 2025
23923ad
Change to POST and modernize
kris6673 Feb 17, 2025
70a6683
Fix casing for tenant filter and improve error logging in Invoke-List…
kris6673 Feb 17, 2025
0a61a45
Fix casing for Get-UnifiedGroup command and improve logging in Invoke…
kris6673 Feb 17, 2025
941b6be
Move some endpoints around
kris6673 Feb 17, 2025
dd4ac1e
Refactor Invoke-EditSpamFilter and Invoke-RemoveSpamfilter for improv…
kris6673 Feb 17, 2025
7b6b71c
Enhance Invoke-ExecRemoveMailboxRule and Remove-CIPPMailboxRule for i…
kris6673 Feb 17, 2025
4b28940
Fix casing and improve comments in Invoke-ExecSendPush function for c…
kris6673 Feb 17, 2025
bf96766
Refactor Invoke-ExecEnableArchive for improved error handling and par…
kris6673 Feb 17, 2025
735d61a
Refactor Invoke-ExecDisableUser and Set-CIPPSignInState for improved …
kris6673 Feb 17, 2025
6a3f4b8
Refactor Invoke-ExecResetPass for improved parameter handling, error …
kris6673 Feb 17, 2025
ea8e734
Refactor Invoke-ExecRevokeSessions and Revoke-CIPPSessions for improv…
kris6673 Feb 17, 2025
31bc097
Refactor Invoke-RemoveUser for improved parameter handling, logging, …
kris6673 Feb 17, 2025
ca8aa46
feat: New MDM User Scope standard
OfficialEsco Feb 17, 2025
59bf8e0
feat: TeamsGlobalMeetingPolicy AllowExternalParticipantGiveRequestCon…
OfficialEsco Feb 18, 2025
f1e7549
Modernize and support POST
kris6673 Feb 19, 2025
0b19f8a
Modernize
kris6673 Feb 19, 2025
7562863
Refactor Invoke-RemoveConnectionfilterTemplate for improved parameter…
kris6673 Feb 19, 2025
ad8b04f
Modernize
kris6673 Feb 19, 2025
f366798
Small bit of cleanup
kris6673 Feb 19, 2025
22d419f
feat: InTune Template exclude
OfficialEsco Feb 19, 2025
abfd081
Modernizations and support POST
kris6673 Feb 20, 2025
6c2ff6f
Remove unused comment
kris6673 Feb 20, 2025
b513b19
Add listType property manually to make deletion possible without too …
kris6673 Feb 21, 2025
0df2009
Better logging message
kris6673 Feb 21, 2025
71b7002
Dont import stuff that isnt needed
kris6673 Feb 21, 2025
4e3524c
add forgotten logging
kris6673 Feb 21, 2025
b1e77ca
Modernize more endpoints
kris6673 Feb 21, 2025
096b65d
Fix SP site admin permission changes
kris6673 Feb 22, 2025
d55cd03
Refactor API logging and parameter handling for consistency
kris6673 Feb 22, 2025
ff41a68
remove unused endpoint
kris6673 Feb 22, 2025
d26e457
Refactor tenant filter handling and improve logging consistency acros…
kris6673 Feb 22, 2025
ca9a658
Various modernizations and GET to POST refactoring
kris6673 Feb 23, 2025
0d81d82
Refactor API functions to improve parameter handling and logging cons…
kris6673 Feb 23, 2025
12d7e71
Refactor API functions to enhance parameter handling and improve logg…
kris6673 Feb 23, 2025
83e55d4
Refactor email filter functions to improve parameter handling and log…
kris6673 Feb 23, 2025
fef5710
typo
kris6673 Feb 23, 2025
e246aac
Refactor API functions to improve header handling, error messaging, a…
kris6673 Feb 23, 2025
ea27a05
Refactor API functions to enhance parameter handling, logging consist…
kris6673 Feb 23, 2025
6bd7c23
fix dumb
kris6673 Feb 24, 2025
d6c4cd6
Merge pull request #1315 from Ren-Roros-Digital/intuneExclude
KelvinTegelaar Feb 24, 2025
ba7acc6
Merge pull request #1314 from Ren-Roros-Digital/AllowExternalParticip…
KelvinTegelaar Feb 24, 2025
3d4839e
Merge pull request #1306 from nichxlxs/patch-2
KelvinTegelaar Feb 24, 2025
ce0fdd4
remove +=
KelvinTegelaar Feb 24, 2025
cd3394a
Merge pull request #1313 from kris6673/endpoints
JohnDuprey Feb 24, 2025
b962e17
fixes assignment policy += usage.
KelvinTegelaar Feb 24, 2025
9533228
correct typo
JohnDuprey Feb 24, 2025
0563f63
add AppProtection type
JohnDuprey Feb 24, 2025
7e8a67a
Update Import-CommunityTemplate.ps1
JohnDuprey Feb 24, 2025
4de7484
fix: added feature state check to PWdisplayAppInformationRequiredState
OfficialEsco Feb 25, 2025
2e655ce
fix config migration
JohnDuprey Feb 25, 2025
732be33
Merge pull request #1312 from Ren-Roros-Digital/mdmscope
JohnDuprey Feb 25, 2025
ab5cf83
Merge pull request #1317 from Ren-Roros-Digital/PWdisplayAppInformati…
JohnDuprey Feb 25, 2025
ea5e493
Merge branch 'dev' into standards
kris6673 Feb 25, 2025
f4bc3cb
Merge pull request #1311 from kris6673/standards
JohnDuprey Feb 25, 2025
be04ec9
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
JohnDuprey Feb 25, 2025
90cd660
chore: remove write-information
JohnDuprey Feb 25, 2025
0414561
fix: prevent error when deleting empty entity
JohnDuprey Feb 25, 2025
45e2089
error handling for auth method policy
JohnDuprey Feb 25, 2025
1c63f4f
handle no tenants on list
JohnDuprey Feb 25, 2025
70ae819
fix: standardize variable naming and improve error handling in Invoke…
kris6673 Feb 25, 2025
e509cb1
improve error message for gdap invites
JohnDuprey Feb 25, 2025
e6b7ee5
remove start/stop log on standards orch
JohnDuprey Feb 25, 2025
d844722
chore: switch to LF and add .gitattributes
OfficialEsco Feb 25, 2025
eda1055
chore: change to LF end lines
OfficialEsco Feb 25, 2025
6b26d54
chore: rerun Update-StandardsComments.ps1 and CRLF to LF
OfficialEsco Feb 25, 2025
41d5c03
parameter splat cleanup
JohnDuprey Feb 25, 2025
f60d0a7
prevent errors when no webhooks to renew
JohnDuprey Feb 25, 2025
af24918
fix: enhance logging for API access and standardize variable usage ac…
kris6673 Feb 25, 2025
7af823b
fix: standardize variable naming and improve error handling in Invoke…
kris6673 Feb 25, 2025
ee8a4e7
Merge branch 'more-endpoints' of https://github.com/kris6673/CIPP-API…
kris6673 Feb 25, 2025
f308348
feat: add ticket consolidation support
JohnDuprey Feb 25, 2025
fbcd3c3
Update Push-ExecScheduledCommand.ps1
JohnDuprey Feb 26, 2025
2e40de2
feat: new UserPreferredLanguage standard
OfficialEsco Feb 26, 2025
05165f0
fix: azbobbytables issues
JohnDuprey Feb 26, 2025
e82b27d
fix: improve graph request list performance
JohnDuprey Feb 26, 2025
00617ff
update pwpush version
JohnDuprey Feb 26, 2025
8d2de79
Merge pull request #1318 from Ren-Roros-Digital/crlf
JohnDuprey Feb 26, 2025
8e53de2
Merge pull request #1321 from Ren-Roros-Digital/UserPrefLang
JohnDuprey Feb 27, 2025
c2779dc
remove file
kris6673 Feb 27, 2025
0f9df4b
feat: more SpamFilter options
OfficialEsco Feb 27, 2025
ba26459
Merge pull request #1322 from Ren-Roros-Digital/SpamFilter
JohnDuprey Feb 27, 2025
bcabee6
remove the added things again
kris6673 Feb 27, 2025
f407d7c
Merge branch 'more-endpoints' of https://github.com/kris6673/CIPP-API…
kris6673 Feb 27, 2025
cc9fc3d
Fixed App Protection policy assignment and group exclusions from Stan…
markheydon Feb 27, 2025
b7000b0
friendship with ArchiveStatus over, ArchiveGuid is best friend now
kris6673 Feb 27, 2025
16b314c
Slightly mangled comment block.
markheydon Feb 27, 2025
9ecad4b
chore: refactor ninja sync to improve performance
JohnDuprey Feb 27, 2025
6f291a4
refactor: standardize variable naming and improve
kris6673 Feb 26, 2025
631dea5
Merge pull request #1320 from kris6673/more-endpoints
JohnDuprey Feb 27, 2025
f18bbad
Merge pull request #1324 from kris6673/more-cleanup-of-endpoints
JohnDuprey Feb 27, 2025
236715d
Merge pull request #1323 from markheydon/fix-intune-policy-assignment
JohnDuprey Feb 27, 2025
1d9167c
feat: add feature update policy
JohnDuprey Feb 27, 2025
7df20e2
fix: fix broken assignment
OfficialEsco Feb 28, 2025
0ccc1d7
fix: corrected policy name variable
OfficialEsco Feb 28, 2025
c491a3d
Merge pull request #1325 from Ren-Roros-Digital/assignment
KelvinTegelaar Feb 28, 2025
0fe1a3f
update for esco
KelvinTegelaar Feb 28, 2025
83ef8b2
Make command more aggressive
kris6673 Feb 28, 2025
c42cba7
Make command more aggressive
kris6673 Feb 28, 2025
ae81755
Merge branch 'angrier-assistant' of https://github.com/kris6673/CIPP-…
kris6673 Feb 28, 2025
afd27fd
fix: scheduled task logging
JohnDuprey Feb 28, 2025
886739c
Use ExchangeGUID by default but allow UPN too. Fixes starting MFA if …
kris6673 Feb 28, 2025
f133b1d
Fixed error - You can only set email address that belongs to your org…
kakaiwa Feb 28, 2025
0daf962
fix: offboarding wizard casing
JohnDuprey Feb 28, 2025
cae65c4
feat: add logging for API access in multiple functions and move some …
kris6673 Feb 28, 2025
1e9a80c
updated a blank return to a clean exit
KelvinTegelaar Mar 1, 2025
8f04d56
massive audit log update: seperate download and processing into diffe…
KelvinTegelaar Mar 1, 2025
80e31f1
fix: update logic for GDAP check role assignable
JohnDuprey Mar 2, 2025
5ceda56
fix: tweak webhook exception message
JohnDuprey Mar 2, 2025
58d4eee
Add or update the Azure App Service build and deployment workflow config
KelvinTegelaar Mar 2, 2025
d63f5cc
Add or update the Azure App Service build and deployment workflow config
KelvinTegelaar Mar 2, 2025
42afc5e
fix: pwpush exception handling
JohnDuprey Mar 2, 2025
29215e9
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
JohnDuprey Mar 2, 2025
cfa5e96
update passpushposh
JohnDuprey Mar 2, 2025
f087279
comment out type accelerator exception
JohnDuprey Mar 2, 2025
348d597
Update PassPushPosh.psm1
JohnDuprey Mar 2, 2025
0524970
Testing rerun protection
KelvinTegelaar Mar 2, 2025
f7b130a
feat: Added permissions to low risk application consent
OfficialEsco Mar 2, 2025
285268e
fix: better error handling with cipp sam admin roles
JohnDuprey Mar 2, 2025
35895bd
better rerun protection
KelvinTegelaar Mar 2, 2025
089fb34
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Mar 2, 2025
b317465
rerun protection
KelvinTegelaar Mar 2, 2025
ab0d7da
logging fixes
KelvinTegelaar Mar 3, 2025
426427c
tablecleanup daily downloaded queries
KelvinTegelaar Mar 3, 2025
11de9ef
fix: addtogroup functionality
JohnDuprey Mar 3, 2025
34a9b13
Merge pull request #1329 from Ren-Roros-Digital/LowAppConsent
KelvinTegelaar Mar 3, 2025
69aba6a
Merge pull request #1327 from cipptesting/dev
KelvinTegelaar Mar 3, 2025
90b1bbb
correction for duplicate detection
KelvinTegelaar Mar 3, 2025
13ed1ca
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Mar 3, 2025
5943cb4
added orch logging for app insihgt
KelvinTegelaar Mar 3, 2025
15800ae
chore: rename autopilot standards
OfficialEsco Mar 3, 2025
6bb3d12
chore: update comment
OfficialEsco Mar 3, 2025
2bf638d
more application insightys logging temporary
KelvinTegelaar Mar 3, 2025
bf20de5
Merge pull request #1330 from Ren-Roros-Digital/Autopilot
KelvinTegelaar Mar 3, 2025
3aeff5f
Merge pull request #1326 from kris6673/angrier-assistant
KelvinTegelaar Mar 3, 2025
46c59f6
added troubleshooting
KelvinTegelaar Mar 3, 2025
62e9977
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Mar 3, 2025
7441e0d
temporary write warning for app insihgts
KelvinTegelaar Mar 3, 2025
32657ce
fix return and data processing
KelvinTegelaar Mar 3, 2025
0ca0c75
small revert.
KelvinTegelaar Mar 3, 2025
bc81c51
added clean exit
KelvinTegelaar Mar 3, 2025
d6701b6
add logging
KelvinTegelaar Mar 3, 2025
be2916d
add returns in cippentrypoints
JohnDuprey Mar 3, 2025
cb01749
timing logging
KelvinTegelaar Mar 3, 2025
33f979a
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Mar 3, 2025
f90ade1
lkog timings to see whats going on
KelvinTegelaar Mar 3, 2025
37c94ac
move to new knownip table.
KelvinTegelaar Mar 3, 2025
ebef551
chore: refactor cache cleanups
JohnDuprey Mar 3, 2025
603b6ed
force array if row is single item
KelvinTegelaar Mar 3, 2025
e687195
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Mar 3, 2025
d3db068
Unsure what im comiting here
kris6673 Mar 3, 2025
ebae198
fix: scheduled tasks with limited tenant list
JohnDuprey Mar 3, 2025
9964f2d
feat: add support for auto-expanding archive in mailbox management
kris6673 Mar 3, 2025
1d62c7e
Revert "Unsure what im comiting here"
kris6673 Mar 3, 2025
95de2b1
updated clean cache removal
KelvinTegelaar Mar 3, 2025
8ffae09
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Mar 3, 2025
8da6513
Merge pull request #1331 from kris6673/auto-expanding-archive
JohnDuprey Mar 3, 2025
0b08f61
clean up logging
JohnDuprey Mar 3, 2025
9dd5154
fix: add disable forwarding option in offboarding job
kris6673 Mar 3, 2025
160e262
Fix merge conflict
kris6673 Mar 3, 2025
89ac106
Merge remote-tracking branch 'upstream/dev' into endpoints-again
kris6673 Mar 3, 2025
fb5e411
Merge pull request #1328 from kris6673/endpoints-again
JohnDuprey Mar 3, 2025
49f4072
fix: defender policy error when no policy exists
JohnDuprey Mar 3, 2025
5674381
fix delete typo
KelvinTegelaar Mar 3, 2025
5a8aa26
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Mar 3, 2025
0cc8dac
remove redunant line, bring back logging for a bit, sorry bobby
KelvinTegelaar Mar 3, 2025
86e1e1d
extra logging
KelvinTegelaar Mar 3, 2025
b93ac04
lots of logging
KelvinTegelaar Mar 3, 2025
66d0d8c
.count doesnt exist on single objects.
KelvinTegelaar Mar 3, 2025
5f899fb
feat: trigger automatic permission check
JohnDuprey Mar 3, 2025
b5014c2
fix: add more logging to mfa report
JohnDuprey Mar 3, 2025
91a20c9
commentt logs
KelvinTegelaar Mar 4, 2025
280556a
hostt rollback
KelvinTegelaar Mar 4, 2025
d7ef4c4
add logging instead of error object
JohnDuprey Mar 4, 2025
cb246ac
fix casing
JohnDuprey Mar 4, 2025
2051e7c
feat: added set sponsor in edit user
OfficialEsco Mar 4, 2025
1bf89c9
feat: display manager in view user
OfficialEsco Mar 4, 2025
39248bf
feat: add application roles to permission check
JohnDuprey Mar 4, 2025
e688dd3
fix: tenant list links
JohnDuprey Mar 4, 2025
2577a20
fix: don't perform geo check with redacted IP
JohnDuprey Mar 4, 2025
d676afa
chore: move audit log processing to separate timer function
JohnDuprey Mar 4, 2025
0f4653c
update cipptimers
KelvinTegelaar Mar 4, 2025
62f9f4d
Merge pull request #1332 from Ren-Roros-Digital/viewmanager
JohnDuprey Mar 4, 2025
723aa39
Merge pull request #1333 from Ren-Roros-Digital/sponsor
JohnDuprey Mar 4, 2025
5ce1dea
Row Removal cleanup
KelvinTegelaar Mar 4, 2025
d481ed2
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Mar 4, 2025
0d979fd
fix: halopsa hash title for RowKey
JohnDuprey Mar 4, 2025
be63bbe
fixes edit user bugs
KelvinTegelaar Mar 4, 2025
ab0343d
up version
KelvinTegelaar Mar 4, 2025
ae79a29
deleted unneeded workflows
KelvinTegelaar Mar 4, 2025
54c2721
clean changes
KelvinTegelaar Mar 4, 2025
7632547
changes
KelvinTegelaar Mar 4, 2025
42491ff
Merge pull request #1334 from KelvinTegelaar/dev
KelvinTegelaar Mar 4, 2025
143e917
fix: extension config/mapping
JohnDuprey Mar 4, 2025
e1f0ee5
fix: execrunbackup params
JohnDuprey Mar 4, 2025
9578d77
fix: remove tenant from displayed location info
JohnDuprey Mar 4, 2025
fc4dfb2
update audit log alerting template
JohnDuprey Mar 5, 2025
6a99d01
Update version_latest.txt
JohnDuprey Mar 5, 2025
d019386
Merge pull request #1336 from KelvinTegelaar/dev
JohnDuprey Mar 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
local.settings.json
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ insert_final_newline = true

[*.{ps1, psd1, psm1}]
indent_size = 4
end_of_line = crlf
end_of_line = lf
trim_trailing_whitespace = true

[*.json]
indent_size = 2
end_of_line = crlf
end_of_line = lf
trim_trailing_whitespace = true

[*.{md, txt}]
Expand Down
13 changes: 13 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
* text=lf

*.txt text eol=crlf
*.md text eol=crlf

*.ps1 text eol=lf
*.psd1 text eol=lf
*.psm1 text eol=lf

*.json text eol=lf

*.png binary
*.jpg binary
62 changes: 62 additions & 0 deletions .github/workflows/PR_Branch_Check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: PR Branch Check

on:
# Using pull_request_target instead of pull_request for secure handling of fork PRs
pull_request_target:
# Only run on these PR events
types: [opened, synchronize, reopened]
# Only check PRs targeting these branches
branches:
- main
- master

permissions:
pull-requests: write
issues: write

jobs:
check-branch:
runs-on: ubuntu-latest
steps:
- name: Check and Comment on PR
# Only process fork PRs with specific branch conditions
# Must be a fork AND (source is main/master OR target is main/master)
if: |
github.event.pull_request.head.repo.fork == true &&
((github.event.pull_request.head.ref == 'main' || github.event.pull_request.head.ref == 'master') ||
(github.event.pull_request.base.ref == 'main' || github.event.pull_request.base.ref == 'master'))
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
let message = '';

message += '🔄 If you are attempting to update your CIPP repo please follow the instructions at: https://docs.cipp.app/setup/self-hosting-guide/updating ';
message += '\n\n';

// Check if PR is targeting main/master
if (context.payload.pull_request.base.ref === 'main' || context.payload.pull_request.base.ref === 'master') {
message += '⚠️ PRs cannot target the main branch directly. If you are attempting to contribute code please PR to the dev branch.\n\n';
}

// Check if PR is from a fork's main/master branch
if (context.payload.pull_request.head.repo.fork &&
(context.payload.pull_request.head.ref === 'main' || context.payload.pull_request.head.ref === 'master')) {
message += '⚠️ This PR cannot be merged because it originates from your fork\'s main/master branch. If you are attempting to contribute code please PR from your dev branch or another non-main/master branch.\n\n';
}

message += '🔒 This PR will now be automatically closed due to the above violation(s).';

// Post the comment
await github.rest.issues.createComment({
...context.repo,
issue_number: context.issue.number,
body: message
});

// Close the PR
await github.rest.pulls.update({
...context.repo,
pull_number: context.issue.number,
state: 'closed'
});
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Powershell project to Azure Function App - cippkkxvm

on:
push:
branches:
- dev
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root

jobs:
deploy:
runs-on: windows-latest

steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cippkkxvm'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_171C3E2B1E2346AAA333905DFCA62F2D }}
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: dev_api

on:
push:
branches:
- dev
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root

jobs:
deploy:
if: github.event.repository.fork == false && github.event_name == 'push'
runs-on: windows-latest

steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cippjta72'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_5B44448119C645C099EE192346D7433A }}
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Powershell project to Azure Function App - cipplwwww

on:
push:
branches:
- dev
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root

jobs:
deploy:
runs-on: windows-latest

steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cipplwwww'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_00A9A6DFE9244C2EA8952190FFF10F45 }}
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: dev_api_proc

on:
push:
branches:
- dev
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root

jobs:
deploy:
if: github.event.repository.fork == false && github.event_name == 'push'
runs-on: windows-latest

steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cippjta72-proc'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_A53AC5C52A55459DA0A3D8F1716638CB }}
30 changes: 0 additions & 30 deletions .github/workflows/dev_cippkwn4s-auditlog.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/dev_cippkwn4s.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/dev_cipplwwww-proc.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Powershell project to Azure Function App - cipp4i6t3
name: Build and deploy Powershell project to Azure Function App - cipppwrro

on:
push:
Expand All @@ -24,7 +24,7 @@ jobs:
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cipp4i6t3'
app-name: 'cipppwrro'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_9D257A31ACA24925A112AF5FFC2BEAFE }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_D5D7DFF930C04B519206F25DDCD88324 }}
Loading