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

upstream changes until 2.16.0 #58

Merged
merged 439 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
439 commits
Select commit Hold shift + click to select a range
f0c7301
ci(frontend-2): docker image should not be built if github token is n…
iainsproat Jul 11, 2023
eaf925b
feat(fe-2): improved logging (#1684)
fabis94 Jul 12, 2023
53c6871
fix(fe2): apollo link logger missing
fabis94 Jul 12, 2023
3999372
fix: pino dep missing
fabis94 Jul 12, 2023
9fe6ed3
fix(/objects): should return 400 error to invalid input data format/m…
iainsproat Jul 12, 2023
9f04188
chore(objects upload): improves response when error due to large obje…
iainsproat Jul 12, 2023
93bd557
feat(fe2): client-side error logging to seq (#1691)
fabis94 Jul 12, 2023
0d6e971
fix(fe-2): adding server name to seq logging
fabis94 Jul 12, 2023
eb0f440
experiments(dui3): WIP - needs minor readjustments with the .net patt…
didimitrie Jul 12, 2023
05aa82b
fix(helm): only deploy frontend-2 if enabled in helm chart (#1695)
iainsproat Jul 13, 2023
54829ec
fix(helm test): works with frontend2 (#1693)
iainsproat Jul 13, 2023
c3dc3ac
fix helm test frontend2 (#1696)
iainsproat Jul 13, 2023
2467b47
experiments(dui3): introducing generic bridge (cef/webview2) + some c…
didimitrie Jul 13, 2023
ea6d2c9
feat(prometheus): add status code and improved path grouping to reque…
iainsproat Jul 13, 2023
89e7393
ci(codecov): base uploader is deprecated (#1698)
iainsproat Jul 13, 2023
87a7397
chore(fileimport): improve logging (#1697)
iainsproat Jul 13, 2023
8d21a86
ci(publish): all publish steps should wait on all required test steps…
iainsproat Jul 13, 2023
dc4c808
fix(helm README): add missing description end tag (#1701)
iainsproat Jul 13, 2023
9c3d595
fix(fileimport): logging of child process should not be suppressed as…
iainsproat Jul 13, 2023
b9b9f7d
fix(fileimport): return timeout error message to server & suppress no…
iainsproat Jul 13, 2023
fd04a1d
fix(fileimport): destructuring for...of should use entries() (#1704)
iainsproat Jul 13, 2023
203ca50
Implement sketchup bridge to tryHoistBindings
oguzhankoral Jul 13, 2023
047a764
experiments(dui3): cleanup
didimitrie Jul 14, 2023
09a0e91
Merge branch 'dim/dui3' of https://github.com/specklesystems/speckle-…
didimitrie Jul 14, 2023
bf84060
Create SketchupBridge for tryHoistBinding
oguzhankoral Jul 14, 2023
520a65c
experiments(dui3): cleanup
didimitrie Jul 14, 2023
77aad56
experiments(dui3): added test bindings
didimitrie Jul 14, 2023
fd46eae
experiments(dui3): wip ITestBinding + page
didimitrie Jul 14, 2023
8597c32
Add testBindings functions -validated for sketchup
oguzhankoral Jul 14, 2023
9d812e9
experiments(dui3): cleanup
didimitrie Jul 15, 2023
d176d0c
experiments(dui3): poor man's test runniner in /test
didimitrie Jul 16, 2023
0c78fb6
Catch/handle error from sketchup
oguzhankoral Jul 17, 2023
1083769
experiments(dui3): wip
didimitrie Jul 17, 2023
47a8747
Merge branch 'dim/dui3' of https://github.com/specklesystems/speckle-…
didimitrie Jul 17, 2023
65bb09d
experiments(dui3): adds mocked bindings and upgrades nuxt
didimitrie Jul 18, 2023
7d235dc
experiments(dui3): really nothing special in this commit
didimitrie Jul 18, 2023
4ac3d74
chore(deps): bump semver to >=5.7.2 (#1705)
iainsproat Jul 18, 2023
e98b25e
chore(deps): bump tough cookie >=4.1.3 (#1706)
iainsproat Jul 18, 2023
0f02154
chore(deps): resolve word-wrap to a patched fork (#1707)
iainsproat Jul 18, 2023
f61c2e8
fix(fe-2): more resilient useLogger
fabis94 Jul 18, 2023
4b2d007
eslint fixes
fabis94 Jul 18, 2023
81116db
fix(fe-2): lodash import missing in logger
fabis94 Jul 18, 2023
b8ce7b5
chore(deps): bump xml2js >=0.5.0 (#1708)
iainsproat Jul 18, 2023
738b2a0
Rename view_id to binding_name
oguzhankoral Jul 18, 2023
e0819bb
chore(deps): bump bl to >=1.2.3 and semver 7.0.0 to 7.5.4 (#1709)
iainsproat Jul 18, 2023
ec08aef
experiments(dui3): minor change
didimitrie Jul 18, 2023
a7f6fc0
chore(deps): bump fast-xml-parser 4.2.4 to >=4.2.5 (#1710)
iainsproat Jul 18, 2023
80df259
feat(server): improved cross-server commit/version download (#1711)
fabis94 Jul 19, 2023
a7ba118
fix(server): 500 error when Commit.author is null
fabis94 Jul 19, 2023
e96241d
fix(fe-2): structured logging fixes
fabis94 Jul 19, 2023
ed28b66
fix(fe2): seq ingestion sending payload that is way too big
fabis94 Jul 19, 2023
f1fee3e
fix(fe2): better object logging
fabis94 Jul 19, 2023
ee79bfa
feat(fe2): improved client logging props
fabis94 Jul 19, 2023
252ae3c
feat(fe2): more error logging optimizations
fabis94 Jul 19, 2023
d7ff2a8
fix(fe2): getting rid of H3 dep in client bundle for logging
fabis94 Jul 20, 2023
b71dce6
feat(server objects): add insertion object chunking logic
gjedlicska Jul 20, 2023
53e5e28
fix(server chunkin): fix string size calculation
gjedlicska Jul 20, 2023
52f3e29
experiments(dui3): minor changes
didimitrie Jul 20, 2023
a0bdea5
chore(server objects): use units in variable names
gjedlicska Jul 21, 2023
de88eac
fix(fe2): fsevents error resolved + storybook updated + .env.example …
fabis94 Jul 21, 2023
0ce8898
experiments(dui3): refactors binding interface declarations (a wee bit)
didimitrie Jul 21, 2023
03becf6
Merge branch 'main' into dim/dui3
didimitrie Jul 21, 2023
9c2a089
feat(dui3): adds avatar and scaffolds user menu
didimitrie Jul 21, 2023
37228e0
feat(dui3): wip header menu
didimitrie Jul 21, 2023
9423ec1
feat(dui3): header menu: implemented accounts
didimitrie Jul 23, 2023
3b4b8c3
feat(dui3): minor cleanup test page
didimitrie Jul 23, 2023
c6c1c1c
feat(dui3): adds theme config switching
didimitrie Jul 23, 2023
98029db
feat(dui3): minor layout fix
didimitrie Jul 23, 2023
9d06af6
Merge pull request #1720 from specklesystems/dui3000/top-menu
didimitrie Jul 23, 2023
e4f2617
Numeric filters now take the min/max value range in consideration whe…
AlexandruPopovici Jul 24, 2023
0da6996
FilteringManager no longer caches any render tree instances since the…
AlexandruPopovici Jul 24, 2023
9cb71f0
fix(docker compose): increase healthcheck start period (#1721)
iainsproat Jul 24, 2023
37a0fa4
fix(frontend & frontend-2): `x-frame-options` header for `/authn` rou…
iainsproat Jul 24, 2023
1ca6c73
feat(server admin): add FE2 admin page backend
gjedlicska Jul 25, 2023
3c70e74
fix admin resolver typing
gjedlicska Jul 25, 2023
ac2196c
Dark Mode Updates
andrewwallacespeckle Jul 25, 2023
45c4fbb
cleanup
gjedlicska Jul 26, 2023
56058c0
Alex/#1678 faster diff (#1688)
AlexandruPopovici Jul 26, 2023
6efe345
refactor(server graphlq): migrate hasRole directive to hasServerRole
gjedlicska Jul 26, 2023
6ea7aa8
refactor roles to shared constants
gjedlicska Jul 26, 2023
bb5778b
refactor(server scopes): use constants for streams read scopes
gjedlicska Jul 26, 2023
878f97b
refactor(server scopes): use constants for streams write scopes
gjedlicska Jul 26, 2023
4d9078a
refactor(server scopes): use constants for users read scopes
gjedlicska Jul 26, 2023
d12cb9d
refactor(server scopes): use constants for users email scopes
gjedlicska Jul 26, 2023
9b09a2d
refactor(server scopes): use constants for tokens write scopes
gjedlicska Jul 26, 2023
f1e64e3
refactor(server scopes): use constants for tokens read scopes
gjedlicska Jul 26, 2023
61c4869
refactor(server scopes): use constants for profile read scopes
gjedlicska Jul 26, 2023
c22e0df
refactor(server scopes): use constants for profile email scope
gjedlicska Jul 26, 2023
143ec70
refactor(server scopes): use constants for profile delete scope
gjedlicska Jul 26, 2023
ea941b3
chore(deps): bump node to 18.17.0 (#1722)
iainsproat Jul 26, 2023
4a8fc08
refactor(server scopes): use constants for apps read scope
gjedlicska Jul 26, 2023
9e52fa9
refactor(server scopes): use constants for apps write scope
gjedlicska Jul 26, 2023
ab48fef
refactor(server scopes): use constants for users invite scope
gjedlicska Jul 26, 2023
bd98b56
refactor(server scopes): use constants for tokens write scope
gjedlicska Jul 26, 2023
a2bb36e
refactor(server scopes): use constants for streams owner role
gjedlicska Jul 26, 2023
2398917
refactor(server scopes): use constants for streams contributor role
gjedlicska Jul 26, 2023
8f6ec4a
refactor(server scopes): use constants for stream reviewer role
gjedlicska Jul 26, 2023
6d4d4ee
Merge pull request #1726 from specklesystems/gergo/serverGuestRole
gjedlicska Jul 26, 2023
5942c09
feat(server, helm): add guest role feature flag
gjedlicska Jul 26, 2023
879b4af
ci(circleci): update server tests resource class, fixing oom
gjedlicska Jul 26, 2023
606a04a
chore(helm): update values json schema
gjedlicska Jul 26, 2023
9210b06
Merge pull request #1729 from specklesystems/gergo/serverGuest/featur…
gjedlicska Jul 26, 2023
3334d5b
Merge branch 'gergo/serverGuest/main' of github.com:specklesystems/sp…
gjedlicska Jul 26, 2023
d8b4c1c
feat(shared): add Roles.Server.Guest constan
gjedlicska Jul 26, 2023
399a088
feat(server): add server role definition
gjedlicska Jul 26, 2023
6d9a1eb
feat(server): add graphql guest role definition
gjedlicska Jul 26, 2023
2d3369c
ci(circleci): bump resource class
gjedlicska Jul 26, 2023
a86cd75
fix(server): fix delete user sql query
gjedlicska Jul 27, 2023
a128027
Merge pull request #1727 from specklesystems/gergo/serverGuest/consta…
gjedlicska Jul 27, 2023
8e97035
Merge branch 'gergo/serverGuest/main' of github.com:specklesystems/sp…
gjedlicska Jul 27, 2023
7d9ad0e
Merge branch 'gergo/serverGuest/main' of github.com:specklesystems/sp…
gjedlicska Jul 27, 2023
2f2975e
Merge branch 'gergo/serverGuest/guestRoleDefinition' of github.com:sp…
gjedlicska Jul 27, 2023
3f9e6ac
Merge pull request #1730 from specklesystems/gergo/serverGuest/guestR…
gjedlicska Jul 27, 2023
2fa8a21
feat(server): implement switch user role to guest
gjedlicska Jul 27, 2023
7ed8559
Merge pull request #1731 from specklesystems/gergo/serverGuest/switch…
gjedlicska Jul 27, 2023
424d073
feat(server): guests cannot own stream projects
gjedlicska Jul 27, 2023
99bd946
feat(server): revert env var based guest role flag
gjedlicska Jul 27, 2023
7efa0f5
feat(helm): revert guest role values
gjedlicska Jul 27, 2023
935ebaf
feat(server): add guest mode as server info field
gjedlicska Jul 27, 2023
42190f4
feat(server): user role change uses server info to get guest mode flag
gjedlicska Jul 27, 2023
2a70557
fix(server, helm): minor fixes
gjedlicska Jul 28, 2023
e33a523
Merge pull request #1733 from specklesystems/gergo/serverGuest/server…
gjedlicska Jul 28, 2023
42de692
Merge pull request #1732 from specklesystems/gergo/serverGuest/noGues…
gjedlicska Jul 28, 2023
172357d
refactor(server): use auth pipeline server role validator for gql auth
gjedlicska Jul 28, 2023
7a92730
fix(server auth): make sure to not throw null
gjedlicska Jul 28, 2023
7bad071
fix(server tests): its guestModeEnabled now
gjedlicska Jul 28, 2023
426bd34
feat(server): user faster string size calculation
gjedlicska Jul 28, 2023
783e785
fix(/api/diff): return 400 if greater than max objects (#1736)
iainsproat Jul 28, 2023
b8f0cee
refactor(server objects): all object inserts use the memory optimized…
gjedlicska Jul 28, 2023
42d90b7
rename string size calculator function to estimate
gjedlicska Jul 28, 2023
a7ca2f4
fix(/api/diff): chunk large lists of objects (#1737)
iainsproat Jul 29, 2023
951d86a
feat(server): cross-server onboarding stream sync + DL project CLI co…
fabis94 Jul 31, 2023
5d3f1cd
fix: missing helm chart values for new onboarding stream sync (#1740)
fabis94 Jul 31, 2023
f79740b
fix(server): moved apollo client to main deps
fabis94 Jul 31, 2023
f2f3f90
fix(server): moved cross-fetch to main deps
fabis94 Jul 31, 2023
e9d9fc7
allow guest access to selected gql resources
gjedlicska Jul 31, 2023
7bebdd1
fix(server): moved objectloader to main deps
fabis94 Jul 31, 2023
3e1c2dd
fix(server): its called guest mode now
gjedlicska Jul 31, 2023
8d6b73f
feat(server): allow guests rest api access
gjedlicska Jul 31, 2023
87a8e7e
fix(server): env var definitions
fabis94 Jul 31, 2023
bd7db93
Merge pull request #1741 from specklesystems/gergo/serverGuest/enable…
gjedlicska Jul 31, 2023
7f49ab7
Merge pull request #1742 from specklesystems/gergo/serverGuest/allowG…
gjedlicska Jul 31, 2023
3e5b5b9
fix(helm): quoting bust number
fabis94 Jul 31, 2023
5655534
fix(server): fix admin gql resolver typing
gjedlicska Jul 31, 2023
48588e5
Merge branch 'main' of github.com:specklesystems/speckle-server into …
gjedlicska Jul 31, 2023
58d8514
Merge branch 'gergo/serverGuest/main' of github.com:specklesystems/sp…
gjedlicska Jul 31, 2023
3f9dd5f
**Breaking Change**: fix(email): from address must be provided by ope…
iainsproat Jul 31, 2023
93442fd
=Add env vars to disable usage analytics tracking
jenessaman Jul 31, 2023
b8a7abb
Update push-docker-image.yml
jenessaman Jul 31, 2023
3190fb8
Update matrix_include_staging.json
jenessaman Jul 31, 2023
c0e1b52
Update Dockerfile
jenessaman Jul 31, 2023
7a7091a
Update Dockerfile
jenessaman Jul 31, 2023
0e5e26c
Update matrix files
jenessaman Jul 31, 2023
0b550ff
Update matrix files
jenessaman Jul 31, 2023
e26d89e
Fixed #1738 (#1739)
AlexandruPopovici Aug 1, 2023
0a795c5
Revert "**Breaking Change**: fix(email): from address must be provide…
iainsproat Aug 1, 2023
cb3dbb7
refactor(server/shared): reduce (but not fix) circular dependencies
gjedlicska Aug 1, 2023
f568f54
**Breaking Change**: fix(email): from address must be provided by ope…
iainsproat Aug 1, 2023
105f1c0
refactor(server authz): rework validateServerRole
gjedlicska Aug 1, 2023
296ecc8
chore(server): remove dead comment
gjedlicska Aug 1, 2023
b06959b
Merge pull request #1713 from specklesystems/gergo/objectInsertionChu…
gjedlicska Aug 1, 2023
f6cc4b7
refactor(server admin): remove duplicated BaseUser
gjedlicska Aug 1, 2023
67260c2
Merge branch 'main' of github.com:specklesystems/speckle-server into …
gjedlicska Aug 1, 2023
ac7da4a
chore(server): remove console log
gjedlicska Aug 1, 2023
ebb6122
Merge pull request #1723 from specklesystems/gergo/adminFacelift
gjedlicska Aug 1, 2023
b7a2e5b
Merge pull request #1734 from specklesystems/gergo/serverGuest/oneVal…
gjedlicska Aug 1, 2023
ad1fba7
Merge branch 'main' of github.com:specklesystems/speckle-server into …
gjedlicska Aug 1, 2023
1a46f1f
feat(frontend1): enable guest role mapping in user admin
gjedlicska Aug 1, 2023
10d9a64
Merge pull request #1728 from specklesystems/gergo/serverGuest/main
gjedlicska Aug 1, 2023
ad0228c
fix(monorepo): make sure to use 127.0.0.1 instead of localhost
gjedlicska Aug 3, 2023
f202d0e
fix server role mappin in FE2
gjedlicska Aug 3, 2023
7e2a050
Disable tracking identify call
jenessaman Aug 3, 2023
e019864
Merge pull request #1747 from specklesystems/gergo/noLocalhost
gjedlicska Aug 6, 2023
6a02019
Merge branch 'main' into 165-Cleared-Loaded-Version-Viewer
andrewwallacespeckle Aug 7, 2023
6a5419c
feat: add users to groups (#1748)
teocomi Aug 8, 2023
1791000
fix(fe2): model version total count not updating correctly
fabis94 Aug 8, 2023
fd023ba
Update
andrewwallacespeckle Aug 9, 2023
25633ca
fix(frontend 1 config): make sure fe1 serves on 127.0.0.1 instead of …
gjedlicska Aug 9, 2023
399ccd2
Merge pull request #1752 from specklesystems/gergo/localEnvFix
gjedlicska Aug 10, 2023
9686099
fix(fe2): invalid totalCount cache updates for project.versions, proj…
fabis94 Aug 11, 2023
d36a1e8
fix(README): code block indentations now appear correct (#1758)
iainsproat Aug 11, 2023
857d08b
fix(README): specify node version 18 (#1759)
iainsproat Aug 11, 2023
3d3d022
Merge branch 'dui3'
didimitrie Aug 11, 2023
4b07187
gergo/adminInviteList (#1761)
gjedlicska Aug 11, 2023
9297c59
disabling dui3 ci checks
fabis94 Aug 11, 2023
7c27c48
fix(fe2): a few minor bugs in dialogs (#1763)
fabis94 Aug 14, 2023
7d3d65c
Merge branch 'main' into 165-Cleared-Loaded-Version-Viewer
andrewwallacespeckle Aug 15, 2023
7b79046
Fix issue caused my removing props
andrewwallacespeckle Aug 15, 2023
c460eb1
Improve TS
andrewwallacespeckle Aug 15, 2023
9edb90c
Fix ts bug
andrewwallacespeckle Aug 15, 2023
09c2734
Fix issues from PR
andrewwallacespeckle Aug 18, 2023
3898d71
Replace Semantic Colours
andrewwallacespeckle Aug 18, 2023
7f749f5
Remove redundant check for createdAt property
andrewwallacespeckle Aug 21, 2023
872cb3f
Merge pull request #1765 from specklesystems/andrew/165-Cleared-Loade…
andrewwallacespeckle Aug 21, 2023
069f64a
feat(fe1 & fe2): guest role (#1768)
fabis94 Aug 24, 2023
875f03d
more guest role fixes
fabis94 Aug 24, 2023
c21b587
invite as role fix
fabis94 Aug 24, 2023
080e819
chore(deps): bump node from 18.17.0 to 18.17.1 (#1771)
iainsproat Aug 24, 2023
f6219fa
fix auth pipeline guest permissions (#1772)
gjedlicska Aug 24, 2023
8e58217
Update matrix files
jenessaman Aug 24, 2023
2a9e4f1
Update matrix files
jenessaman Aug 24, 2023
1249d51
fix: improvements not really related to "guest role" launch (#1773)
fabis94 Aug 25, 2023
6b6c6b3
chore: updating various dependencies (#1774)
fabis94 Aug 25, 2023
3bf9aa3
fix(ui-components): build warnings
fabis94 Aug 25, 2023
d9a06a0
chore(fe2): defineModel test
fabis94 Aug 25, 2023
c41dd17
fix(fe2): revert vue 3.3 cause of game breaking bugs (#1775)
fabis94 Aug 28, 2023
631b802
Fix for #1777
AlexandruPopovici Aug 28, 2023
8aa9cf0
Revert for async render tree building since walkAsync is our own defi…
AlexandruPopovici Aug 28, 2023
0c293b0
fix(fe2): reverting vue/nuxt downgrade (#1776)
fabis94 Aug 29, 2023
a2107d2
Null render material with vertex colors had incorrectly modulated the…
AlexandruPopovici Aug 31, 2023
fac01c5
fix(objectloader, viewer, & shared): relax required node version to >…
iainsproat Sep 1, 2023
74ad099
chore: moving writableAsyncComputed to ui-components (#1778)
fabis94 Sep 4, 2023
671979e
Feature - Frontend2 - Server Settings Pages (#1764)
andrewwallacespeckle Sep 4, 2023
1ff33e7
feat(fe2): admin panel guest role switching (#1781)
fabis94 Sep 5, 2023
3aa2162
fix for snyk reported vulnerabilities
fabis94 Sep 5, 2023
7b57b83
another lock file fix
fabis94 Sep 5, 2023
90a5d8b
feat(server): Project.webhooks query
fabis94 Sep 5, 2023
c2419f0
fix(server/package.json): tidy resolutions (#1782)
iainsproat Sep 5, 2023
e1f32cd
Revert "fix(server/package.json): tidy resolutions (#1782)" (#1783)
iainsproat Sep 5, 2023
3af833c
fix(package.json): tidy resolutions - attempt 2 (#1784)
iainsproat Sep 6, 2023
683c76c
Revert "fix(package.json): tidy resolutions - attempt 2 (#1784)" (#1785)
iainsproat Sep 6, 2023
924a82e
Fix: Ignore batch entirely when there are no valid render views
AlexandruPopovici Sep 7, 2023
d95d036
feat(ui-components): LayoutDialog form support
fabis94 Sep 8, 2023
44bfa6d
Fe2 server management bugfixes (#1787)
andrewwallacespeckle Sep 8, 2023
e2c2719
fix ifc argb material calculation (#1788)
gjedlicska Sep 8, 2023
dd20c22
more layoutdialog improvements
fabis94 Sep 8, 2023
8063652
automations backend (#1789)
gjedlicska Sep 11, 2023
7b40f25
feat(server): change default name of a server (#1786)
gjedlicska Sep 12, 2023
79d293e
fix: preparing automation backend for use in FE (#1790)
fabis94 Sep 18, 2023
eb441d7
feat(fe2): automations status subscriptions (#1793)
fabis94 Sep 18, 2023
407646f
fix(fe2): fixed nested anchor hydration mismatches (#1794)
fabis94 Sep 18, 2023
894c869
fix(fe2): automation status subscription not working for new status
fabis94 Sep 18, 2023
9209ed6
fix(fe2): more automationStatus subscription improvements
fabis94 Sep 19, 2023
edcd1b6
Viewer Embedded Textures (#1770)
AlexandruPopovici Sep 19, 2023
a5b2997
Merge branch 'main' of github.com:specklesystems/speckle-server
fabis94 Sep 19, 2023
842ff79
The converter no longer throws errors on null display values inside a…
AlexandruPopovici Sep 19, 2023
bec2ffd
fix(fe2): viewer resources fully unloading when adding/removing models
fabis94 Sep 20, 2023
9a0933d
fix(fe2): @apollo/client d edupe to resolve mismatched versions
fabis94 Sep 20, 2023
1738c07
fix(fe2): made onboarding bar load in SSR (#1796)
fabis94 Sep 20, 2023
9423d2f
fix(server): automate FKs disallowing project deletion (#1797)
fabis94 Sep 20, 2023
144819a
fix(fe2): move versions not working
fabis94 Sep 21, 2023
696c09e
feat(ui-components): new CommonAlert features
fabis94 Sep 21, 2023
469e7b4
Merge branch 'tag-2.16.0' into dn/dev/2.16.0
dtnaughton Dec 7, 2023
732d860
fix: preview service build dependency version
dtnaughton Dec 7, 2023
7bfa074
update job number role validation
dtnaughton Dec 11, 2023
ef57c69
fix(server): protecting against scope elevation in PAT creation (#1901)
fabis94 Dec 8, 2023
51333df
fix: preventing PATs from creating PATs
dtnaughton Dec 12, 2023
6b6a345
fix(fe): remove duplicate code on settings
dtnaughton Dec 13, 2023
19203ff
add job number input to stream repo
dtnaughton Dec 13, 2023
2d28c3a
remove amr server from staging env ci/cd
dtnaughton Jan 24, 2024
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
  •  
  •  
  •  
367 changes: 337 additions & 30 deletions .circleci/config.yml

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion .circleci/is_draft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@

set -euf -o pipefail

if [[ -z "$CIRCLE_PULL_REQUEST" ]]; then
if [[ -z "${CIRCLE_PULL_REQUEST}" ]]; then
echo "FALSE"
fi

if [[ -z "${GITHUB_TOKEN}" ]]; then
echo "GITHUB_TOKEN is not set"
exit 1
fi

PR_NUMBER="${CIRCLE_PULL_REQUEST//[!0-9]/}"
RESPONSE=$(curl --silent \
-H "Authorization: token ${GITHUB_TOKEN}" \
Expand Down
2 changes: 1 addition & 1 deletion .circleci/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [[ "${IMAGE_VERSION_TAG}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-alpha\.[0-9]+)?$ ]]; th
docker push "${DOCKER_IMAGE_TAG}:2"
fi
else
BRANCH_TAG="${NEXT_RELEASE}-branch.${BRANCH_NAME_TRUNCATED}"
BRANCH_TAG="branch.${BRANCH_NAME_TRUNCATED}"
echo "🏷 Tagging and pushing image as '${DOCKER_IMAGE_TAG}:${BRANCH_TAG}'"
docker tag "${DOCKER_IMAGE_TAG}:${IMAGE_VERSION_TAG}" "${DOCKER_IMAGE_TAG}:${BRANCH_TAG}"
docker push "${DOCKER_IMAGE_TAG}:${BRANCH_TAG}"
Expand Down
74 changes: 41 additions & 33 deletions .circleci/publish_helm_chart.sh
Original file line number Diff line number Diff line change
@@ -1,39 +1,47 @@
#!/bin/bash

set -e

RELEASE_VERSION=${IMAGE_VERSION_TAG}

echo "Releasing Helm Chart version $RELEASE_VERSION"

git config --global user.email "[email protected]"
git config --global user.name "CI"

git clone [email protected]:specklesystems/helm.git ~/helm

# before overwriting the chart with the build version, check if the current chart version
# is not newer than the currently build one

CURRENT_VERSION="$(grep ^version ~/helm/charts/speckle-server/Chart.yaml | grep -o '2\..*')"
echo "${CURRENT_VERSION}"

.circleci/check_version.py "${CURRENT_VERSION}" "${RELEASE_VERSION}"
if [ $? -eq 1 ]
then
echo "The current helm chart version is newer than the currently built. Exiting"
exit 1
#!/usr/bin/env bash

set -eo pipefail

GIT_REPO=$( pwd )
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
# shellcheck disable=SC1090,SC1091
source "${SCRIPT_DIR}/common.sh"

RELEASE_VERSION="${IMAGE_VERSION_TAG}"
HELM_STABLE_BRANCH="${HELM_STABLE_BRANCH:-"main"}"

echo "Releasing Helm Chart version ${RELEASE_VERSION}"

git clone [email protected]:specklesystems/helm.git "${HOME}/helm"

yq e -i ".version = \"${RELEASE_VERSION}\"" "${GIT_REPO}/utils/helm/speckle-server/Chart.yaml"
yq e -i ".appVersion = \"${RELEASE_VERSION}\"" "${GIT_REPO}/utils/helm/speckle-server/Chart.yaml"
yq e -i ".docker_image_tag = \"${RELEASE_VERSION}\"" "${GIT_REPO}/utils/helm/speckle-server/values.yaml"

if [[ -n "${CIRCLE_TAG}" || "${CIRCLE_BRANCH}" == "${HELM_STABLE_BRANCH}" ]]; then
# before overwriting the chart with the build version, check if the current chart version
# is not newer than the currently build one

CURRENT_VERSION="$(grep ^version "${HOME}/helm/charts/speckle-server/Chart.yaml" | grep -o '2\..*')"
echo "${CURRENT_VERSION}"

.circleci/check_version.py "${CURRENT_VERSION}" "${RELEASE_VERSION}"
if [ $? -eq 1 ]
then
echo "The current helm chart version '${CURRENT_VERSION}' is newer than the version '${RELEASE_VERSION}' we are attempting to publish. Exiting"
exit 1
fi
rm -rf "${HOME}/helm/charts/speckle-server"
cp -r "${GIT_REPO}/utils/helm/speckle-server" "${HOME}/helm/charts/speckle-server"
else
# overwrite the name of the chart
yq e -i ".name = \"speckle-server-branch-${BRANCH_NAME_TRUNCATED}\"" "${GIT_REPO}/utils/helm/speckle-server/Chart.yaml"
rm -rf "${HOME}/helm/charts/speckle-server-branch-${BRANCH_NAME_TRUNCATED}"
cp -r "${GIT_REPO}/utils/helm/speckle-server" "${HOME}/helm/charts/speckle-server-branch-${BRANCH_NAME_TRUNCATED}"
fi

rm -rf ~/helm/charts/speckle-server
cp -r utils/helm/speckle-server ~/helm/charts/speckle-server

sed -i 's/version: [^\s]*/version: '"${RELEASE_VERSION}"'/g' ~/helm/charts/speckle-server/Chart.yaml
sed -i 's/appVersion: [^\s]*/appVersion: '\""${RELEASE_VERSION}"\"'/g' ~/helm/charts/speckle-server/Chart.yaml

sed -i 's/docker_image_tag: [^\s]*/docker_image_tag: '"${RELEASE_VERSION}"'/g' ~/helm/charts/speckle-server/values.yaml

cd ~/helm

git add .
git commit -m "CircleCI commit"
git -c user.email="[email protected]" -c user.name="CI" commit -m "CircleCI commit for version '${RELEASE_VERSION}'"
git push
Original file line number Diff line number Diff line change
Expand Up @@ -17,55 +17,55 @@ GIT_ROOT="$(git rev-parse --show-toplevel)"
README_GENERATOR_DIR="${GIT_ROOT}/../readme-generator-for-helm"
HELM_DIR="${GIT_ROOT}/../speckle-helm"
HELM_GIT_TARGET_BRANCH="gh-pages"
HELM_GIT_PR_BRANCH="${HELM_GIT_TARGET_BRANCH}-$(openssl rand -hex 6)"

JSON_SCHEMA_PATH="${GIT_ROOT}/utils/helm/speckle-server/values.schema.json"

if [ ! -d "${README_GENERATOR_DIR}" ]; then
echo "🔭 Could not find readme-generator-for-helm in a sibling directory to speckle-server"
echo "👩‍👩‍👧‍👧 Proceeding with cloning readme-generator-for-helm to a sibling directory, readme-generator-for-helm"
echo "🔭 Could not find 'readme-generator-for-helm' in a sibling directory"
echo "👩‍👩‍👧‍👧 Proceeding with cloning readme-generator-for-helm to a sibling directory, 'readme-generator-for-helm'"
git clone [email protected]:bitnami-labs/readme-generator-for-helm.git "${README_GENERATOR_DIR}"
fi

if [ -n "${CI}" ]; then
git config --global user.email "[email protected]"
git config --global user.name "CI"
fi

pushd "${README_GENERATOR_DIR}"
echo "✨ Updating to the latest version of readme-generator-for-helm"
git switch main
git pull origin main
npm install
popd

if [ ! -d "${HELM_DIR}" ]; then
echo "🔭 Could not find Speckle Helm in a sibling directory (named speckle-helm) to speckle-server"
echo "👩‍👩‍👧‍👧 Proceeding with cloning Speckle's helm repository to a sibling directory, speckle-helm"
echo "🔭 Could not find Speckle Helm in a sibling directory (named 'speckle-helm')"
echo "👩‍👩‍👧‍👧 Proceeding with cloning Speckle's helm repository to a sibling directory, 'speckle-helm'"
git clone [email protected]:specklesystems/helm.git "${HELM_DIR}"
fi

pushd "${HELM_DIR}"
echo "✨ Updating to the latest version of Speckle helm"
git switch main
git pull origin main
echo "🍽 Preparing forked branch for updates"
echo "🍽 Preparing gh-pages branch for updates"
git switch "${HELM_GIT_TARGET_BRANCH}"
git pull origin "${HELM_GIT_TARGET_BRANCH}"
git switch -c "${HELM_GIT_PR_BRANCH}"
popd

pushd "${GIT_ROOT}"
echo "🏗 Generating the documentation"
node "${README_GENERATOR_DIR}/bin/index.js" \
--config "${GIT_ROOT}/utils/helm/.helm-readme-configuration.json" \
--values "${GIT_ROOT}/utils/helm/speckle-server/values.yaml" \
--readme "${HELM_DIR}/README.md" \
--schema "${JSON_SCHEMA_PATH}"

echo "🐛 Workaround for bug in generator for schema.json: https://github.com/bitnami-labs/readme-generator-for-helm/issues/34"
TMP_OUTPUT="$(mktemp -t speckle-server-json-schema)"
jq --arg replacement 'object' '(.. | .items? | select(.type == "")).type |= $replacement' "${JSON_SCHEMA_PATH}" > "${TMP_OUTPUT}" && mv "${TMP_OUTPUT}" "${JSON_SCHEMA_PATH}"
--readme "${HELM_DIR}/README.md"
popd

pushd "${HELM_DIR}"
echo "🌳 Preparing Pull Request for Helm README..."
git add README.md
git commit -m "Updating README with revised parameters from values.yaml"
git push --set-upstream origin "${HELM_GIT_PR_BRANCH}"
echo "🙏 Please create a Pull Request, ❗️selecting gh-pages as the target branch❗️: https://github.com/specklesystems/helm/pull/new/${HELM_GIT_PR_BRANCH}"
echo "🌳 Preparing commit to branch '${HELM_GIT_TARGET_BRANCH}' for Helm README..."
if [[ $(git status --porcelain) ]]; then
git add README.md
git commit -m "Updating README with revised parameters from values.yaml of Helm Chart."
git push --set-upstream origin "${HELM_GIT_TARGET_BRANCH}"
fi
popd

echo "✅ All done 🎉"
18 changes: 16 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/** @type {import("eslint").Linter.Config} */
const config = {
root: true,
parserOptions: {
ecmaVersion: 2022
},
env: {
es2021: true,
es2022: true,
node: true,
commonjs: true
},
Expand All @@ -20,13 +23,24 @@ const config = {
'prefer-const': 'warn',
'object-shorthand': 'warn'
},
overrides: [
{
files: '*.mjs',
parserOptions: {
sourceType: 'module'
}
}
],
ignorePatterns: [
'node_modules',
'dist',
'dist-*',
'public',
'events.json',
'.*.{ts,js,vue,tsx,jsx}',
'generated/**/*'
'generated/**/*',
'.nuxt',
'.output'
]
}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/matrix_environment.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["prod", "hs2", "staging", "hk", "alr", "et"]
["prod", "hs2", "staging", "hk", "alr", "et", "px-prod", "px-uat", "px-dev", "amr"]
2 changes: 1 addition & 1 deletion .github/workflows/matrix_environment_staging.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["staging"]
["staging", "px-dev"]
50 changes: 44 additions & 6 deletions .github/workflows/matrix_include.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,80 @@
"region": "eu-west-1",
"accessKey": "STAGING_AWS_ACCESS_KEY_ID",
"secretAccessKey": "STAGING_AWS_SECRET_ACCESS_KEY",
"url": "https://v2.staging-speckle.arup.com"
"url": "https://v2.staging-speckle.arup.com",
"disablePosthogTracking": "false"
},
{
"environment": "prod",
"region": "eu-west-1",
"accessKey": "AWS_ACCESS_KEY_ID",
"secretAccessKey": "AWS_SECRET_ACCESS_KEY",
"url": "https://v2.speckle.arup.com"
"url": "https://v2.speckle.arup.com",
"disablePosthogTracking": "false"
},
{
"environment": "hk",
"region": "ap-east-1",
"accessKey": "AWS_ACCESS_KEY_ID",
"secretAccessKey": "AWS_SECRET_ACCESS_KEY",
"url": "https://hk.speckle.arup.com"
"url": "https://hk.speckle.arup.com",
"disablePosthogTracking": "false"
},
{
"environment": "alr",
"region": "ap-southeast-2",
"accessKey": "AWS_ACCESS_KEY_ID",
"secretAccessKey": "AWS_SECRET_ACCESS_KEY",
"url": "https://lightrail.speckle.arup.com"
"url": "https://lightrail.speckle.arup.com",
"disablePosthogTracking": "true"
},
{
"environment": "et",
"region": "eu-west-2",
"accessKey": "AWS_ACCESS_KEY_ID",
"secretAccessKey": "AWS_SECRET_ACCESS_KEY",
"url": "https://eustontower.speckle.arup.com"
"url": "https://eustontower.speckle.arup.com",
"disablePosthogTracking": "true"
},
{
"environment": "hs2",
"region": "eu-west-2",
"accessKey": "AWS_ACCESS_KEY_ID",
"secretAccessKey": "AWS_SECRET_ACCESS_KEY",
"url": "https://hs2.speckle.arup.com"
"url": "https://hs2.speckle.arup.com",
"disablePosthogTracking": "true"
},
{
"environment": "px-prod",
"region": "us-east-1",
"accessKey": "PX_AWS_ACCESS_KEY_ID",
"secretAccessKey": "PX_AWS_SECRET_ACCESS_KEY",
"url": "",
"disablePosthogTracking": "true"
},
{
"environment": "px-uat",
"region": "us-east-1",
"accessKey": "PX_AWS_ACCESS_KEY_ID",
"secretAccessKey": "PX_AWS_SECRET_ACCESS_KEY",
"url": "",
"disablePosthogTracking": "true"
},
{
"environment": "px-dev",
"region": "us-east-1",
"accessKey": "PX_AWS_ACCESS_KEY_ID",
"secretAccessKey": "PX_AWS_SECRET_ACCESS_KEY",
"url": "",
"disablePosthogTracking": "true"
},
{
"environment": "amr",
"region": "us-east-1",
"accessKey": "AWS_ACCESS_KEY_ID",
"secretAccessKey": "AWS_SECRET_ACCESS_KEY",
"url": "https://amr.speckle.arup.com",
"disablePosthogTracking": "false"
},
{
"package": "server",
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/matrix_include_staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@
"region": "eu-west-1",
"accessKey": "STAGING_AWS_ACCESS_KEY_ID",
"secretAccessKey": "STAGING_AWS_SECRET_ACCESS_KEY",
"url": "https://v2.staging-speckle.arup.com"
"url": "https://v2.staging-speckle.arup.com",
"disablePosthogTracking": "true"
},
{
"environment": "px-dev",
"region": "us-east-1",
"accessKey": "PX_AWS_ACCESS_KEY_ID",
"secretAccessKey": "PX_AWS_SECRET_ACCESS_KEY",
"url": "",
"disablePosthogTracking": "true"
},
{
"package": "server",
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/p500_speckle-v2-frontend-prod-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
file: ./packages/frontend/Dockerfile
build-args: |
VUE_APP_GRAPHQL_WS=wss://${{ secrets.P500_SPECKLE_BACKEND }}/graphql
DISABLE_POSTHOG_TRACKING=false
secrets: |
"posthog_api_key=${{ secrets.POSTHOG_API_KEY }}"

Expand Down
Loading
Loading