Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
545 commits
Select commit Hold shift + click to select a range
731e240
new password breach alert
KelvinTegelaar Jan 8, 2025
6703fb4
fix message trace sender/recipient
JohnDuprey Jan 8, 2025
f9ec3c1
fixes primdomain issue when switching domains
KelvinTegelaar Jan 8, 2025
93d0419
hudu tweaks
JohnDuprey Jan 8, 2025
849335b
fixes to new darkweb scanning
KelvinTegelaar Jan 8, 2025
a1a31e0
onboarding tweaks
JohnDuprey Jan 8, 2025
21fb495
Merge branch 'interface-rewrite' of https://github.com/KelvinTegelaar…
JohnDuprey Jan 8, 2025
c8e2086
fix posts
KelvinTegelaar Jan 9, 2025
4661597
remove errant continue
KelvinTegelaar Jan 9, 2025
891f833
offboarding excludeAllTenants
KelvinTegelaar Jan 9, 2025
226e79d
handle stuck user tasks
JohnDuprey Jan 9, 2025
6185889
prevent int parsing errors with mailbox stats
JohnDuprey Jan 9, 2025
1f42db0
timer tweaks
JohnDuprey Jan 10, 2025
d878a76
fix duplicate prop in mailbox rules
JohnDuprey Jan 10, 2025
d91c4ff
Update Get-CIPPTimerFunctions.ps1
JohnDuprey Jan 10, 2025
92e68cb
feat: New Global Teams Messaging Policy standard
OfficialEsco Jan 9, 2025
d0fe6be
Merge pull request #1203 from Ren-Roros-Digital/MessagingPolicy
KelvinTegelaar Jan 10, 2025
25fbe41
Merge branch 'interface-rewrite' into dev
KelvinTegelaar Jan 10, 2025
8eb1399
Merge pull request #1205 from KelvinTegelaar/dev
KelvinTegelaar Jan 10, 2025
9b53985
fix ip whitelist all tenants
KelvinTegelaar Jan 10, 2025
d6c4f1f
Add or update the Azure App Service build and deployment workflow config
KelvinTegelaar Jan 10, 2025
7211adc
Remove the Azure App Service build and deployment workflow config
KelvinTegelaar Jan 10, 2025
1d659fe
removing testing workflows
KelvinTegelaar Jan 10, 2025
ea7c1b5
fix: $env:TenantID case sensitivity
OfficialEsco Jan 10, 2025
00bf715
Update CippEntrypoints.psm1
JohnDuprey Jan 10, 2025
43ff4ab
up versions
KelvinTegelaar Jan 10, 2025
a6627bb
Merge pull request #1207 from KelvinTegelaar/interface-rewrite
KelvinTegelaar Jan 10, 2025
bf0e5f2
Merge pull request #1206 from Ren-Roros-Digital/envTenantID
KelvinTegelaar Jan 10, 2025
ad595b6
Merge pull request #1208 from KelvinTegelaar/dev
KelvinTegelaar Jan 10, 2025
1db622d
Create publish_release.yml
JohnDuprey Jan 10, 2025
e44881d
Merge pull request #1209 from KelvinTegelaar/interface-rewrite
JohnDuprey Jan 10, 2025
408ea05
Update publish_release.yml
JohnDuprey Jan 10, 2025
698acce
Update Assert-CippVersion.ps1
JohnDuprey Jan 10, 2025
6edfd03
tweak workflow
JohnDuprey Jan 10, 2025
1edeca1
Merge pull request #1210 from KelvinTegelaar/interface-rewrite
JohnDuprey Jan 10, 2025
3bca2ce
Merge pull request #1211 from KelvinTegelaar/dev
JohnDuprey Jan 10, 2025
0771e87
Merge pull request #266 from KelvinTegelaar/dev
JohnDuprey Jan 10, 2025
ff2bde3
fix utc issue
JohnDuprey Jan 10, 2025
06bd133
Add error message to timers
JohnDuprey Jan 10, 2025
b908165
Add or update the Azure App Service build and deployment workflow config
KelvinTegelaar Jan 11, 2025
fe1c0c7
intune templates
JohnDuprey Jan 11, 2025
3c1610c
Merge pull request #267 from KelvinTegelaar/dev
JohnDuprey Jan 11, 2025
15c42e7
Merge pull request #1214 from JohnDuprey/dev
JohnDuprey Jan 11, 2025
eec98f1
corrected tenantId
KelvinTegelaar Jan 12, 2025
ba93a8a
fix auth checks
JohnDuprey Jan 12, 2025
0a17f7b
Merge pull request #1215 from JohnDuprey/dev
JohnDuprey Jan 12, 2025
cb45cb3
Merge pull request #1216 from KelvinTegelaar/interface-rewrite
KelvinTegelaar Jan 12, 2025
7997ee5
add body support
JohnDuprey Jan 12, 2025
1879b57
force arr
KelvinTegelaar Jan 12, 2025
cac88e3
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Jan 12, 2025
6d7962f
version up
KelvinTegelaar Jan 13, 2025
99c417b
Merge pull request #1217 from KelvinTegelaar/dev
KelvinTegelaar Jan 13, 2025
7ab8ffe
Merge pull request #101 from KelvinTegelaar/dev
kris6673 Jan 13, 2025
69681b8
Update Compliance Portal link to Purview in Invoke-NinjaOneTenantSync…
kris6673 Jan 14, 2025
8c50115
Change NoAuthCheck to default $false
JohnDuprey Jan 14, 2025
a75a37a
fix: repair Quarantine Management
OfficialEsco Jan 14, 2025
b6a6d04
Merge pull request #1221 from Ren-Roros-Digital/Quarantine
KelvinTegelaar Jan 14, 2025
695a0d8
Merge pull request #1220 from kris6673/purview-links
KelvinTegelaar Jan 14, 2025
ff0fe24
Merge pull request #268 from KelvinTegelaar/dev
JohnDuprey Jan 14, 2025
1d09cd4
upped versions
KelvinTegelaar Jan 14, 2025
12082a7
Merge pull request #1222 from JohnDuprey/dev
JohnDuprey Jan 14, 2025
17f65df
Merge pull request #1223 from KelvinTegelaar/dev
KelvinTegelaar Jan 14, 2025
ed9814e
Add better error logging
kris6673 Jan 15, 2025
9203439
Standardize formatting, better error logging and support changing the…
kris6673 Jan 15, 2025
fac5755
remove method
JohnDuprey Jan 15, 2025
8c42cc3
Add $null = to all the places missing it in the $result.Add()'s
kris6673 Jan 15, 2025
ad28496
Fix casing for MustChangePass property
kris6673 Jan 15, 2025
e419c72
Increase retry limit for TAP creation to 10 attempts for improved rel…
kris6673 Jan 15, 2025
b3df695
Remove a few comments and add TAP region
kris6673 Jan 15, 2025
8c0f889
Merge pull request #269 from KelvinTegelaar/dev
JohnDuprey Jan 16, 2025
6576516
adding orchestrator for TriggerRefresh
JohnDuprey Jan 16, 2025
3ce26ec
add a silently continue on formatting templates
KelvinTegelaar Jan 16, 2025
0dc364c
add list standards for exclusions
KelvinTegelaar Jan 16, 2025
f90d85b
Update Invoke-ExecDeleteGDAPRoleMapping.ps1
JohnDuprey Jan 16, 2025
2031d7c
Merge pull request #1228 from JohnDuprey/dev
JohnDuprey Jan 16, 2025
7af2347
FIX: modernize and make it work with the new frontend
kris6673 Jan 16, 2025
2113d5d
Update New-GraphGetRequest.ps1
JohnDuprey Jan 16, 2025
b8398ac
Merge branch 'KelvinTegelaar:dev' into dev
JohnDuprey Jan 16, 2025
bcf3770
Merge pull request #1229 from JohnDuprey/dev
JohnDuprey Jan 16, 2025
a8686b4
Remove temporary
KelvinTegelaar Jan 16, 2025
8e52bcd
version up
KelvinTegelaar Jan 16, 2025
7922032
Merge pull request #1230 from kris6673/user-dropdown-fix
KelvinTegelaar Jan 16, 2025
3533643
Merge pull request #1225 from kris6673/fix-inconsisten-TAP-generation
KelvinTegelaar Jan 16, 2025
98f7f61
Merge pull request #1231 from KelvinTegelaar/dev
KelvinTegelaar Jan 16, 2025
0f4549a
Merge pull request #1224 from kris6673/edit-othermails
KelvinTegelaar Jan 16, 2025
fd6c112
Merge pull request #1232 from KelvinTegelaar/dev
KelvinTegelaar Jan 16, 2025
fbbca37
Merge pull request #105 from KelvinTegelaar/dev
kris6673 Jan 16, 2025
6a36e94
Refactor Set-CIPPSharePointPerms function for improved logging and pa…
kris6673 Jan 16, 2025
a89aac0
Fix Invoke-ExecSharePointPerms to fit frontend changes. Also make mor…
kris6673 Jan 16, 2025
8666e87
FIX: Teams dropsdowns supporting the new frontend
kris6673 Jan 16, 2025
49f1db1
FIX: Update Invoke-ExecSetSharePointMember to use consistent tenant f…
kris6673 Jan 16, 2025
d5c67b2
Update licenses
kris6673 Jan 16, 2025
5ba9317
Fix filter, ne is not available
rvdwegen Jan 17, 2025
fde9461
Fix filter, ne is not available
rvdwegen Jan 17, 2025
826d880
Add app reg certificate expiry alert
rvdwegen Jan 17, 2025
44d0ffe
Add Apple Business Manager terms alert
rvdwegen Jan 17, 2025
3224925
Merge pull request #1233 from kris6673/more-dropdowns
KelvinTegelaar Jan 17, 2025
d3c59dd
Merge pull request #1234 from kris6673/license-update
KelvinTegelaar Jan 17, 2025
b100fe2
Merge pull request #1235 from vdwegen-app/rvdwegen-patch12
KelvinTegelaar Jan 17, 2025
4798cda
Fix ActionUrl / CIPPURL being populated incorrectly
rvdwegen Jan 17, 2025
317d489
Update Invoke-AddGroupTemplate.ps1
JohnDuprey Jan 17, 2025
a561840
standards fixes
KelvinTegelaar Jan 17, 2025
2d33d5c
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Jan 17, 2025
386c332
Update Invoke-ExecNamedLocation.ps1
JohnDuprey Jan 17, 2025
f5b4924
test
KelvinTegelaar Jan 17, 2025
508ecd9
Add or update the Azure App Service build and deployment workflow config
KelvinTegelaar Jan 17, 2025
5b3da6f
Skip disabled users and enhance readability
kris6673 Jan 17, 2025
9ff3bf0
formatting
kris6673 Jan 17, 2025
57d5b5d
fixes caldefaults
KelvinTegelaar Jan 17, 2025
b49ad60
adjust offboarding job settings
JohnDuprey Jan 17, 2025
62044da
up version
KelvinTegelaar Jan 17, 2025
80edcde
Merge pull request #270 from KelvinTegelaar/dev
JohnDuprey Jan 17, 2025
a286779
Merge pull request #1239 from JohnDuprey/dev
JohnDuprey Jan 17, 2025
cecd2d5
Merge pull request #1238 from rvdwegen/patch-15
KelvinTegelaar Jan 17, 2025
8789480
Merge pull request #1240 from KelvinTegelaar/dev
KelvinTegelaar Jan 17, 2025
95d2571
Merge pull request #1237 from rvdwegen/patch-14
KelvinTegelaar Jan 17, 2025
f94ce24
Merge pull request #1236 from rvdwegen/patch-13
KelvinTegelaar Jan 17, 2025
4c54958
Filter inactive licensed users based on account status
kris6673 Jan 17, 2025
f60a80f
Merge branch 'dev' of https://github.com/kris6673/CIPP-API into exclu…
kris6673 Jan 17, 2025
d79657c
fix
kris6673 Jan 17, 2025
edbe8d2
comment
kris6673 Jan 17, 2025
59c29ef
improve logging
kris6673 Jan 18, 2025
39cabcd
param capitalization
kris6673 Jan 18, 2025
cb1a622
Improve error handling in Invoke-CIPPStandardEnablePronouns function
kris6673 Jan 18, 2025
a5f98e2
Add new standard: ProfilePhotos
kris6673 Jan 18, 2025
d1f548b
move comment
kris6673 Jan 18, 2025
cba3c55
Add a comment explaining the current limitation with the API endpoint…
kris6673 Jan 18, 2025
618a0ba
FIX DelegateSentItems to actually do what it says in the frontend and…
kris6673 Jan 18, 2025
eda26a7
Support POST and GET request for ExecHideFromGAL
kris6673 Jan 19, 2025
06210fe
Add Invoke-ListGlobalAddressList function for retrieving global addre…
kris6673 Jan 19, 2025
c8e3669
Add Set-CIPPDeviceState function and refactor Invoke-ExecDeviceDelete…
kris6673 Jan 19, 2025
0c4cd30
Add Invoke-CIPPStandardStaleEntraDevices function to identify and rep…
kris6673 Jan 19, 2025
accc549
Remove comment
kris6673 Jan 19, 2025
c67404d
Better links to docs in the help
kris6673 Jan 19, 2025
1cd4dd9
Update documentation links in standards scripts to point to the corre…
kris6673 Jan 19, 2025
48867b9
Enhance Invoke-ExecDeviceDelete to support tenantFilter and action fr…
kris6673 Jan 19, 2025
9f20219
Merge pull request #1243 from kris6673/photo-change
KelvinTegelaar Jan 19, 2025
b9cfa1e
Merge pull request #1244 from kris6673/DelegateSentItems
KelvinTegelaar Jan 19, 2025
9ee4bd7
Merge pull request #1242 from kris6673/calDefaults-logging
KelvinTegelaar Jan 19, 2025
aa425b2
Use tertiary operator instead to improve readability
kris6673 Jan 19, 2025
8216b06
Merge pull request #1245 from kris6673/gal
KelvinTegelaar Jan 19, 2025
8587a05
Merge pull request #1247 from kris6673/devices
KelvinTegelaar Jan 19, 2025
60f52e4
Merge branch 'dev' into exclude-disabled-users
KelvinTegelaar Jan 19, 2025
2c5d178
Merge pull request #1241 from kris6673/exclude-disabled-users
KelvinTegelaar Jan 19, 2025
4c28907
Sort Intune Templates regardless of View
nichxlxs Jan 19, 2025
0d0dbc6
Merge pull request #1248 from nichxlxs/patch-1
KelvinTegelaar Jan 19, 2025
0ad13cd
Merge pull request #1199 from Teh-STIG/dev
KelvinTegelaar Jan 19, 2025
951cd47
backup fixes
KelvinTegelaar Jan 20, 2025
106727a
Merge pull request #107 from KelvinTegelaar/dev
kris6673 Jan 20, 2025
30a5586
hf for run now standards
KelvinTegelaar Jan 20, 2025
b27c371
Remove the Azure App Service build and deployment workflow config
KelvinTegelaar Jan 20, 2025
b55e63d
bug fix empty results
KelvinTegelaar Jan 20, 2025
e3c3b1f
fix typecasting
KelvinTegelaar Jan 20, 2025
6f5a320
fix singular add
KelvinTegelaar Jan 20, 2025
af7fdb7
fixes template overview
KelvinTegelaar Jan 20, 2025
ed6b2e7
Merge pull request #108 from KelvinTegelaar/dev
kris6673 Jan 20, 2025
b185974
FIX support for GET and POST and clean up code a bit
kris6673 Jan 20, 2025
911af41
fix post functions
JohnDuprey Jan 20, 2025
9f71fe1
specify utc time
JohnDuprey Jan 20, 2025
4597ad3
Merge pull request #271 from KelvinTegelaar/dev
JohnDuprey Jan 20, 2025
982e49a
Merge pull request #1250 from JohnDuprey/dev
JohnDuprey Jan 20, 2025
1f12cd6
fix merge conflict that i dont really think was a merge conflict and …
kris6673 Jan 20, 2025
56a98ee
im going to lose my mind
kris6673 Jan 20, 2025
ba1e34f
can you please stop it and just work now
kris6673 Jan 20, 2025
eaccbaa
Update New-PwPushLink.ps1
JohnDuprey Jan 20, 2025
1313a50
Merge pull request #1251 from JohnDuprey/dev
JohnDuprey Jan 20, 2025
f7a560b
Refactor logging and variable naming in Invoke-AddTransportRule funct…
kris6673 Jan 20, 2025
8ff9887
Enhance Invoke-AddTransportTemplate function with improved JSON handl…
kris6673 Jan 20, 2025
31dded7
Merge remote-tracking branch 'upstream/dev' into transport-rule-fix
kris6673 Jan 20, 2025
24f665d
Merge pull request #1249 from kris6673/transport-rule-fix
KelvinTegelaar Jan 20, 2025
28908ed
stuff
KelvinTegelaar Jan 21, 2025
ff27ec9
add json compress
KelvinTegelaar Jan 21, 2025
bbf40f8
sharepoint tweaks
JohnDuprey Jan 21, 2025
8e250e2
Update New-GraphBulkRequest.ps1
JohnDuprey Jan 21, 2025
fde5d7e
force onboarding list to be an array
JohnDuprey Jan 21, 2025
a3b1b45
Merge pull request #272 from KelvinTegelaar/dev
JohnDuprey Jan 21, 2025
92066f7
Merge pull request #1253 from JohnDuprey/dev
JohnDuprey Jan 21, 2025
7d0c6dc
Merge pull request #109 from KelvinTegelaar/dev
kris6673 Jan 21, 2025
dc9d4b6
Add sort to display newest first
kris6673 Jan 21, 2025
d6ca8a4
Error message
kris6673 Jan 21, 2025
7ccd2b8
fixes tenant standard detection
KelvinTegelaar Jan 21, 2025
3d9affd
prevent $domain from leaking to other tenants
JohnDuprey Jan 21, 2025
9d93401
handle errors with automap url lookup
JohnDuprey Jan 21, 2025
2366c44
fix tenant access from custom roles
JohnDuprey Jan 22, 2025
f794212
Merge pull request #1255 from JohnDuprey/dev
JohnDuprey Jan 22, 2025
859f97a
Add PR check to prevent nonsense PRs
rvdwegen Jan 22, 2025
f9c27bb
Merge pull request #1256 from rvdwegen/patch-16
KelvinTegelaar Jan 22, 2025
bdbca12
Merge pull request #1254 from kris6673/sort-onboarding-results
KelvinTegelaar Jan 22, 2025
8889994
Merge pull request #110 from KelvinTegelaar/dev
kris6673 Jan 22, 2025
5fd2d5c
Error handling for when the ForwardingAddress is a displayname
kris6673 Jan 22, 2025
dda4313
fixes
KelvinTegelaar Jan 22, 2025
8ebdaa6
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Jan 22, 2025
bccdd6d
Update Invoke-ListTeamsVoice.ps1
JohnDuprey Jan 22, 2025
e7e81b7
Merge pull request #1257 from kris6673/exchange-forwarding
KelvinTegelaar Jan 22, 2025
9c4380b
Update Invoke-ListMailboxes.ps1
JohnDuprey Jan 22, 2025
d540698
Merge pull request #273 from KelvinTegelaar/dev
JohnDuprey Jan 22, 2025
20eddfd
Merge pull request #1259 from JohnDuprey/dev
JohnDuprey Jan 22, 2025
fcb4013
fix api response
JohnDuprey Jan 23, 2025
1c6d764
Update Get-CIPPAlertNewAppApproval.ps1
kris6673 Jan 23, 2025
49a3d4c
template id remove
KelvinTegelaar Jan 23, 2025
f0dac29
Merge pull request #274 from KelvinTegelaar/dev
JohnDuprey Jan 23, 2025
d63346c
Fix not being able to null the othermails value
kris6673 Jan 23, 2025
d66cd97
Create Invoke-ExecAzBobbyTables.ps1
JohnDuprey Jan 23, 2025
852ba5a
Merge pull request #1263 from JohnDuprey/dev
JohnDuprey Jan 23, 2025
88f97d2
fixes standard conversion
KelvinTegelaar Jan 23, 2025
bb9bf14
return the id
KelvinTegelaar Jan 23, 2025
bfae49b
refactor logging in Invoke-ListDefenderTVM and Invoke-ListDeletedItem…
kris6673 Jan 23, 2025
6209622
overview bug
KelvinTegelaar Jan 24, 2025
aff8873
fix bug
KelvinTegelaar Jan 24, 2025
034b9b2
json failure catch
KelvinTegelaar Jan 24, 2025
098bcdf
Add or update the Azure App Service build and deployment workflow config
KelvinTegelaar Jan 24, 2025
6e38c42
remove bool from asapp
KelvinTegelaar Jan 24, 2025
46fe0cb
fix data retrieval
KelvinTegelaar Jan 24, 2025
9ba79b4
ensure array values for bobby tables
JohnDuprey Jan 24, 2025
ee6db51
Update Add-CIPPAzDataTableEntity.ps1
JohnDuprey Jan 24, 2025
90eea12
Update Invoke-ExecAccessChecks.ps1
JohnDuprey Jan 24, 2025
9980b61
Update Test-CIPPGDAPRelationships.ps1
JohnDuprey Jan 24, 2025
d3fde28
add try catch
JohnDuprey Jan 24, 2025
502e078
access checks improvement
JohnDuprey Jan 24, 2025
dae3134
Merge pull request #275 from KelvinTegelaar/dev
JohnDuprey Jan 24, 2025
2280c0a
Merge pull request #1267 from JohnDuprey/dev
JohnDuprey Jan 24, 2025
873e499
Update Get-CippSamPermissions.ps1
JohnDuprey Jan 24, 2025
b6211cf
skip table errors with json conversion
JohnDuprey Jan 24, 2025
a06b83e
Update Invoke-ListSignIns.ps1
JohnDuprey Jan 24, 2025
294ec04
Merge branch 'KelvinTegelaar:dev' into dev
JohnDuprey Jan 25, 2025
7e29d9b
Update Invoke-ListUserMailboxRules.ps1
JohnDuprey Jan 25, 2025
3f94dde
Merge branch 'dev' of https://github.com/johnduprey/CIPP-API into dev
JohnDuprey Jan 25, 2025
2c11b4c
Merge pull request #1268 from JohnDuprey/dev
JohnDuprey Jan 25, 2025
e1662f0
Mailbox rules tweaks
JohnDuprey Jan 25, 2025
b0872ef
BRRRR
rvdwegen Jan 25, 2025
1fe7990
Update Invoke-ListMailboxes.ps1
JohnDuprey Jan 25, 2025
9a65e1e
Merge pull request #276 from KelvinTegelaar/dev
JohnDuprey Jan 25, 2025
9ee7b30
Merge pull request #1270 from JohnDuprey/dev
JohnDuprey Jan 25, 2025
606213e
Update Invoke-HuduExtensionSync.ps1
JohnDuprey Jan 25, 2025
939a56d
add dev build workflow
JohnDuprey Jan 25, 2025
85728f6
Update dev_cippjta72.yml
JohnDuprey Jan 25, 2025
fbee838
Merge pull request #1269 from rvdwegen/patch-17
KelvinTegelaar Jan 25, 2025
cedb963
Merge pull request #1264 from kris6673/dev
KelvinTegelaar Jan 25, 2025
06c92f1
Merge pull request #1261 from kris6673/kris6673-patch-1
KelvinTegelaar Jan 25, 2025
d32ee30
update stats
KelvinTegelaar Jan 26, 2025
171deb3
statstimer update
KelvinTegelaar Jan 26, 2025
cb37531
Add or update the Azure App Service build and deployment workflow config
KelvinTegelaar Jan 26, 2025
1146c88
allows hosted users to not enter a key
KelvinTegelaar Jan 26, 2025
ff856e4
add edit template
KelvinTegelaar Jan 26, 2025
ec88e81
up version
KelvinTegelaar Jan 26, 2025
c3b835f
fixes template edit when its not a standard cipp template
KelvinTegelaar Jan 27, 2025
079df36
fixes rerun prevention issue
KelvinTegelaar Jan 27, 2025
b8d13a2
fix pagination for AllTenants queries
JohnDuprey Jan 27, 2025
e81811d
Add UnsubscribeAll to ExecWebhookSubscriptions
JohnDuprey Jan 27, 2025
c1418d5
Update version_latest.txt
JohnDuprey Jan 27, 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
  •  
  •  
  •  
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,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 - cippbcaom

on:
push:
Expand All @@ -24,7 +24,7 @@ jobs:
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cipp4i6t3'
app-name: 'cippbcaom'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_9D257A31ACA24925A112AF5FFC2BEAFE }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_0FE8CACBBF7D409DAAF132988BECEC4B }}
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 - cippkkxvm
name: Build and deploy Powershell project to Azure Function App - cippjta72

on:
push:
Expand All @@ -24,7 +24,7 @@ jobs:
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cippkkxvm'
app-name: 'cippjta72'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_171C3E2B1E2346AAA333905DFCA62F2D }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_5B44448119C645C099EE192346D7433A }}
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 - cipplwwww
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: 'cipplwwww'
app-name: 'cipppwrro'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_00A9A6DFE9244C2EA8952190FFF10F45 }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_D5D7DFF930C04B519206F25DDCD88324 }}
93 changes: 93 additions & 0 deletions .github/workflows/publish_prerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Generate Release Notes and Upload

on:
push:
branches:
- pre-release

permissions:
contents: write

jobs:
release:
if: github.event.repository.fork == false && github.event_name == 'push'
name: Generate Release Notes and Upload to Azure
runs-on: ubuntu-latest

steps:
# Checkout the repository
- name: Checkout Code
uses: actions/checkout@v3

# Read and Trim Version
- name: Read and Trim Version
id: get_version
run: |
if [ ! -f version_latest.txt ]; then
echo "Error: version_latest.txt not found!"
exit 1
fi
VERSION=$(cat version_latest.txt | tr -d '[:space:]')
if [ -z "$VERSION" ]; then
echo "Error: version_latest.txt is empty after trimming!"
exit 1
fi
echo "version=$VERSION" >> $GITHUB_OUTPUT

# Exit if Tag Already Exists
- name: Check if Tag Exists
id: tag_check
run: |
git fetch --tags
if git rev-parse "refs/tags/${{ steps.get_version.outputs.version }}" >/dev/null 2>&1; then
echo "tag_exists=true" >> $GITHUB_ENV
echo "Tag ${{ steps.get_version.outputs.version }} already exists. Exiting workflow successfully."
else
echo "tag_exists=false" >> $GITHUB_ENV
fi

# Generate Release Notes
- name: Generate Release Notes
id: changelog
if: env.tag_exists == 'false'
uses: mikepenz/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Create a new release tag
- name: Create GitHub Release
if: env.tag_exists == 'false'
uses: ncipollo/[email protected]
with:
tag: ${{ steps.get_version.outputs.version }}
name: "v${{ steps.get_version.outputs.version }}"
draft: false
prerelease: true
body: ${{ steps.changelog.outputs.changelog }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Create ZIP File in a New Source Directory
- name: Prepare and Zip Release Files
if: env.tag_exists == 'false'
run: |
mkdir -p src/releases
zip -r src/releases/release_${{ steps.get_version.outputs.version }}.zip . \
--exclude "./src/releases/*" \
--exclude ".*" \
--exclude ".*/**"
zip -r src/releases/beta.zip . \
--exclude "./src/releases/*" \
--exclude ".*" \
--exclude ".*/**"

# Upload to Azure Blob Storage
- name: Azure Blob Upload with Destination folder defined
if: env.tag_exists == 'false'
uses: LanceMcCarthy/[email protected]
with:
connection_string: ${{ secrets.AZURE_CONNECTION_STRING }}
container_name: cipp-api
source_folder: src/releases/
destination_folder: /
delete_if_exists: true
Loading