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

Bump loader-utils from 1.4.0 to 1.4.2 #92

Open
wants to merge 2,776 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2776 commits
Select commit Hold shift + click to select a range
e255a7a
save organizations from the UpsertBusiness.svelte page
Dec 12, 2022
c20ebc1
make the opening hour editor more usable on phones
Nov 29, 2022
0824f4d
add a dropdown for busines categories
Dec 1, 2022
2dda8e3
intermediate check-in
Dec 10, 2022
12f587e
use the api's new 'unreadOnly' filter in the inbox
Dec 12, 2022
6abd521
show read and unread items in separate lists
Dec 12, 2022
248452d
highlight 'unread' events (only for TransactionCard.svelte right now)
Dec 12, 2022
1b75ae7
use only one event list for 'read' and 'unread' events and hightlight…
Dec 12, 2022
054d636
intermediate check-in
Dec 12, 2022
f79733a
use the dropdown component in UpsertBusiness.svelte
Dec 12, 2022
ddbfc8c
submit the location from the DropdownSelectEditor on blur (if configu…
Dec 12, 2022
f3e17ed
save organizations from the UpsertBusiness.svelte page
Dec 12, 2022
15c7603
clean up html, fix empty page if no business
Dec 13, 2022
24bcaa4
adding canInvite
codeho Dec 13, 2022
7eaebcb
changed market-name-font to ostrich
ingoCollatz Dec 14, 2022
945f9b2
added share-options for markets
ingoCollatz Dec 14, 2022
0df1baa
adding canInvite
codeho Dec 13, 2022
fa579cc
Remove modal 'fake mobile' close dash
Dec 14, 2022
a827cb6
no more "null"-displays in MarketlistingDetail
ingoCollatz Dec 14, 2022
c29ff3a
Merge branch 'feature/marketlistingShare' into client-lean
ingoCollatz Dec 14, 2022
e635de7
remove debug dump
Dec 14, 2022
cff9cc2
Fix HTML Parser Warnings
Dec 14, 2022
29b2611
market banner, some basic color changes, removing E-Mail steps
Dec 16, 2022
58127eb
Add Sudo Code for Shop/Orga management
Dec 16, 2022
d65a27f
Merge pull request #26 from CirclesUBI/feature/removeEmail
codeho Dec 16, 2022
79821f4
Remove Forum from links
Dec 16, 2022
b6c6209
in BusinessCard - business.name and description now
ingoCollatz Dec 21, 2022
239eb10
change service urls to https://rpc.circlesubi.id/..
Dec 29, 2022
3063fe4
little styling for bus8ness-sharebuttons
ingoCollatz Dec 29, 2022
e1933a4
created WelcomeHeader.svelte and added new Welcome-titles
ingoCollatz Dec 29, 2022
bfb13c4
menu-links in welcome-screen now white on big screens
ingoCollatz Dec 29, 2022
6ca1ac7
removed bottom white-gradient
ingoCollatz Dec 29, 2022
8bf31da
left menu links now chnaging color depending on url-hashChange
ingoCollatz Dec 29, 2022
8e2c197
integrated new icons to side-menu
ingoCollatz Jan 1, 2023
afd9d00
layout-fix for market-dropdown-buttons
ingoCollatz Jan 2, 2023
4c27f5a
updated support-links to whatsapp
ingoCollatz Jan 2, 2023
bd6be4e
switched share-button-icon to the recommended one
ingoCollatz Jan 3, 2023
2d140e4
reordered marketlisting-side-menu
ingoCollatz Jan 3, 2023
ae9a19a
Merge branch 'client-lean' into feature/orga-editor
Jan 5, 2023
570cde1
dropdown test
ingoCollatz Jan 9, 2023
fd77f01
removed console.log
ingoCollatz Jan 9, 2023
1ca0e14
dropdown test
ingoCollatz Jan 10, 2023
0fe16c7
dropdown test
ingoCollatz Jan 10, 2023
f316b08
add reload to 'forgot pin' logout function.
Jan 10, 2023
91483e0
fix positions, text, colors, buttons, footer, userdata
Jan 11, 2023
ca236d2
Merge branch 'client-lean' into onboarding_survey_fixes
codeho Jan 12, 2023
83c01d7
Merge pull request #28 from CirclesUBI/onboarding_survey_fixes
codeho Jan 12, 2023
f1c181f
changed mobile size of TopNav Tab font
codeho Jan 12, 2023
97a5780
make sure the body font grey is used everywhere
codeho Jan 12, 2023
11e9588
removing email login option, which was for testing only
codeho Jan 12, 2023
31a8edb
fix topnav for dapps
codeho Jan 12, 2023
be6c973
Merge branch 'deployment/dev' into feature/orga-editor
Jan 15, 2023
09a3070
use google maps instead of here in the orga-editor
Jan 16, 2023
f37f96f
Merge pull request #30 from CirclesUBI/feature/canInvite
codeho Jan 16, 2023
2b4244f
market-dropdown still not working on mobile
ingoCollatz Jan 16, 2023
ed9d8eb
got the CI config from the feature/k8s-ci branch
Jan 18, 2023
33fa87c
Survey Data collection
Jan 19, 2023
3ea4b09
Finish survey
Jan 19, 2023
c5a9115
Merge remote-tracking branch 'origin/dev' into feature/surveyConnect
Jan 19, 2023
231ee5a
adding .vscode to gitignore
Jan 19, 2023
29efdd4
gitignore changes. removing .vscode again...
Jan 19, 2023
c5defaa
Merge pull request #31 from CirclesUBI/feature/surveyConnect
codeho Jan 19, 2023
3c15985
Merge pull request #32 from CirclesUBI/gitignore-addition
codeho Jan 19, 2023
047af10
fix(ci): pin buildkit version
almereyda Jan 19, 2023
f4e13e5
Merge pull request #33 from CirclesUBI/feature/ci-fix
almereyda Jan 19, 2023
03badab
button styled
ingoCollatz Jan 19, 2023
505ea59
Merge pull request #35 from CirclesUBI:feature/buttonStyle
ingoCollatz Jan 19, 2023
2af7494
fixed blob on market dashboard card
Jan 19, 2023
c93e77c
Merge remote-tracking branch 'origin/dev' into feature/dashboardColor…
Jan 19, 2023
4bdc59c
adjust dashboard card style and icon size
Jan 19, 2023
d9174dc
Merge pull request #36 from CirclesUBI/feature/dashboardColorChange
codeho Jan 19, 2023
ffcc91e
move market card above contacts
Jan 19, 2023
d60d0e3
add My Favorites Heading to page
Jan 19, 2023
80396ec
fix notifications color
Jan 19, 2023
c4d0c79
Banking header & transaction card style
Jan 19, 2023
061727a
fix circles icon on transaction detail
Jan 19, 2023
b79125f
Fix Circles icon in transactions and stuff
Jan 19, 2023
feaffd6
additional checkbox
Jan 19, 2023
fde381f
Merge pull request #37 from CirclesUBI/feature/styleChanges
codeho Jan 19, 2023
97e127f
add correct color to notifications left nav button
Jan 20, 2023
aaeb178
add broadcast image to Dashboard
Jan 20, 2023
2b61420
Merge pull request #38 from CirclesUBI/feature/styleChanges
codeho Jan 20, 2023
c1d21d4
removed unused properties from the dappManifest:
Jan 23, 2023
a9ab585
Merge branch 'dev' into feature/cleanup-dapp-manifest
Jan 23, 2023
aa6b0a8
Merge pull request #39 from CirclesUBI/feature/cleanup-dapp-manifest
jaensen Jan 23, 2023
81b8767
market listing detail styles
Jan 23, 2023
c66473b
Adjust Margins to simpleheader
Jan 23, 2023
947c974
Market listing styles
Jan 23, 2023
7c3c2f5
market listing style
Jan 23, 2023
0635d90
added the hideFooterGradient property to the DappManifest and set it …
Jan 23, 2023
1ade815
Merge pull request #40 from CirclesUBI/feature/toggle-gradient-per-dapp
jaensen Jan 23, 2023
fd40922
APP-13 show the invitation widget only when the user has the "Invite"…
Jan 23, 2023
64544d7
Merge pull request #41 from CirclesUBI/feature/only-allow-invites-for…
jaensen Jan 23, 2023
4b58834
Stylings marketlisting Filters now UGLY. ITS WORK IN PROGRESS
Jan 23, 2023
8daab7d
Merge pull request #42 from CirclesUBI/feature/styleChanges
codeho Jan 23, 2023
576f015
removing wiki page
codeho Jan 23, 2023
2f3b1d0
updated environment variables in build_bali.sh
Jan 24, 2023
850b68b
moved vendor-shareButton to the left
ingoCollatz Jan 25, 2023
7206f90
Merge pull request #44 from CirclesUBI:feature/sharebutton
ingoCollatz Jan 25, 2023
cbac6d8
btn-active-state now more beautiful
ingoCollatz Jan 25, 2023
0374cf7
Merge pull request #45 from CirclesUBI:feature/buttonActiveState
ingoCollatz Jan 25, 2023
f8c0000
Add market filter, customize dropdown to accept button style
Jan 25, 2023
e674cac
Merge remote-tracking branch 'origin/dev' into feature/marketListingF…
Jan 25, 2023
f782e3b
Finish Marketlisting Filters & Sort
Jan 26, 2023
2303ccd
Merge pull request #46 from CirclesUBI/feature/marketListingFilters
codeho Jan 26, 2023
605a617
Styled CrcTrust Card in Notifications
ingoCollatz Jan 26, 2023
8f1e77c
Merge pull request #47 from CirclesUBI:feature/contactCard
ingoCollatz Jan 26, 2023
17f4211
add SurveyData to Profile, validate on first Registration.
Jan 27, 2023
50aacf9
Styling for Trust-Notifications
ingoCollatz Jan 29, 2023
a11e12c
Merge pull request #49 from CirclesUBI:feature/contactCardStyling
ingoCollatz Jan 29, 2023
6fb4882
removed console.log and unused imports from contactCard
ingoCollatz Jan 29, 2023
230ba01
Merge pull request #50 from CirclesUBI:feature/contactCardLogs
ingoCollatz Jan 29, 2023
3af0d0b
Merge pull request #48 from CirclesUBI/connectSurveyToProfile
codeho Jan 30, 2023
f7a5098
fix line height for text-2xl
Jan 30, 2023
17e12e6
removed 0-padding at Profile
ingoCollatz Jan 31, 2023
e85b16a
Merge pull request #52 from CirclesUBI:feature/styling
ingoCollatz Jan 31, 2023
be1ebbd
bottomnav
Jan 31, 2023
a33a2fb
Merge remote-tracking branch 'origin/dev' into feature/bottomnavstyle
Jan 31, 2023
07e7595
Merge pull request #53 from CirclesUBI/feature/bottomnavstyle
codeho Jan 31, 2023
d478bd6
fixing navigation button on page switch
codeho Feb 1, 2023
e63f089
fix hover on select in button style
codeho Feb 1, 2023
115c525
Merge pull request #54 from CirclesUBI/feature/navigationButton
codeho Feb 1, 2023
6d452e4
added 'npm run docker' which works with land-local.
Feb 1, 2023
cc14fe4
fix Webpack warnings: remove unused Component Args
codeho Feb 3, 2023
3f38070
Merge pull request #55 from CirclesUBI/feature/fix-warnings
codeho Feb 3, 2023
d816931
style upertorganisation
Feb 3, 2023
0036ad5
stylings
Feb 3, 2023
a46523d
Merge pull request #56 from CirclesUBI/feature/store-editor-styling
codeho Feb 3, 2023
78e8b67
fixed icon styling in dashbord-menu
ingoCollatz Feb 3, 2023
2a6c708
Merge pull request #57 from CirclesUBI:feature/navigationListItemsColor
ingoCollatz Feb 3, 2023
657a2ba
App-27 testign
codeho Feb 3, 2023
91f36f9
removing the test APP-15
codeho Feb 3, 2023
209b5d8
test this again #APP-15
codeho Feb 3, 2023
1fa6316
removing the test, trying with only branch name now
codeho Feb 3, 2023
19f43d7
Merge pull request #58 from CirclesUBI/feature/app-15-invite-trigger-…
codeho Feb 3, 2023
4a6ab0c
APP-27 trying if this works now...
codeho Feb 3, 2023
735d5e3
App-27 Linear test #645
codeho Feb 3, 2023
1eb2a2c
Fixes APP-27
codeho Feb 3, 2023
3b55a67
insert test related text
codeho Feb 3, 2023
d365d15
Merge branch 'dev' into feature/app-27-create-linear-workflow-documen…
codeho Feb 3, 2023
fefcd1d
Merge pull request #59 from CirclesUBI/feature/app-27-create-linear-w…
codeho Feb 3, 2023
725b818
Links App-20 testing
codeho Feb 3, 2023
5a646b8
minio now keeps running
jaensen Feb 4, 2023
4cb7947
listen on external interface when running 'npm run docker'
jaensen Feb 5, 2023
c3d9ca7
fixed display-issue in BankingHeader
ingoCollatz Feb 6, 2023
7d9fd24
Merge pull request #61 from CirclesUBI:feature/app-21-banking-balance…
ingoCollatz Feb 6, 2023
946761f
fixed menu-item-color-issue on homepage
ingoCollatz Feb 6, 2023
1c27c5c
Merge pull request #62 from CirclesUBI:feature/menuItemsColorHomepage
ingoCollatz Feb 6, 2023
c731c7d
Fix bottom process nav
codeho Feb 6, 2023
d7a0b7d
remove mock for local docker target
codeho Feb 6, 2023
02d7904
enable self signed https
codeho Feb 6, 2023
671e6b6
enable self signed https
codeho Feb 6, 2023
4535599
'npm run docker' now uses API_ENDPOINT='https://api-server.localhost'
jaensen Feb 6, 2023
8527fc9
fix(ci): remove 'check svelte-i18n keys' PR check workflow
almereyda Feb 6, 2023
6e426b8
Merge pull request #67 from CirclesUBI/feat/op-10
codeho Feb 6, 2023
11301ee
disabled tls in the webpack development webserver
jaensen Feb 6, 2023
ce10d92
allow frontend hot-reloading through a reverse proxy in land-local
jaensen Feb 7, 2023
b47e8a0
fix barcode scanner on macOs chrome
codeho Feb 7, 2023
e11e485
Merge pull request #68 from CirclesUBI/feature/fix-qrCodeScanner-on-m1
codeho Feb 7, 2023
e7649cd
squeeze the upsertbusiness for testing perparation
codeho Feb 8, 2023
e035a69
Merge pull request #69 from CirclesUBI/feature/orga-editor
codeho Feb 8, 2023
ba7bac1
fix(ci): remove check svelte-i18n keys dev workflow
almereyda Feb 8, 2023
957528c
Merge pull request #70 from CirclesUBI/fix/OP-10
codeho Feb 8, 2023
1ea1a71
write commit sha to the output directory
jaensen Feb 8, 2023
e179b1b
fixed button styling
ingoCollatz Feb 10, 2023
c0aaa7c
Merge pull request #73 from CirclesUBI:feature/app-58-adjust-the-butt…
ingoCollatz Feb 10, 2023
000a96f
preliminary check in
codeho Feb 13, 2023
394571b
changed route for survey
dacianavram Feb 13, 2023
509796c
local overrides
codeho Feb 14, 2023
3a25153
Merge pull request #75 from CirclesUBI/feature/move-survey-route-inde…
dacianavram Feb 14, 2023
9b8d0ac
Shop Editor and some changes for local overrides
Feb 14, 2023
f177c6a
changed font to 'Ostrich Heavy Sans' in /#/survey/2 and /#/survey/3
ingoCollatz Feb 14, 2023
f02e994
Merge pull request #76 from CirclesUBI:feature/app-54-survey-10303-al…
ingoCollatz Feb 14, 2023
fb86230
Remove fallback of 'Hmm... nothing to display here...', + some cleanup
Feb 15, 2023
a5eb62e
Merge remote-tracking branch 'origin/dev' into feature/app-47-create-…
Feb 15, 2023
3a670bb
adjust survey path
Feb 15, 2023
bcb038c
cleanup for Orga Editor
Feb 15, 2023
7ad6f1e
Merge pull request #77 from CirclesUBI/feature/app-47-create-edit-org…
codeho Feb 15, 2023
615269f
Adjust Dashboard Cards, also fix deprecated substr function
Feb 15, 2023
4b59225
Merge pull request #78 from CirclesUBI/feature/app-60-20306-make-oval…
codeho Feb 15, 2023
6c52b2c
changed redirect url for scanInvite
dacianavram Feb 15, 2023
5130ae9
preliminary commit of showing owners. so far only get safeAddresses...
Feb 15, 2023
f41dd0d
Merge remote-tracking branch 'origin/dev' into feature/move-survey-ro…
Feb 15, 2023
a68b6b0
Make location Mandatory for new users
Feb 15, 2023
ea8c994
Merge pull request #79 from CirclesUBI/feature/app-16-location-must-b…
codeho Feb 15, 2023
c8e6e0a
Remove Owners list from Store Editor as per @manu
Feb 15, 2023
9a81d75
Merge branch 'dev' into feature/app-47-create-edit-organisationshop-f…
Feb 15, 2023
817a8fe
Merge pull request #80 from CirclesUBI/feature/app-47-create-edit-org…
codeho Feb 15, 2023
a528557
remove survey/1 route
dacianavram Feb 15, 2023
de36ac7
changed onSurvey route
dacianavram Feb 15, 2023
4a4e437
preliminary commit of showing owners. so far only get safeAddresses...
Feb 15, 2023
6b32a71
Make location Mandatory for new users
Feb 15, 2023
bda2e07
Remove Owners list from Store Editor as per @manu
Feb 15, 2023
452dfd3
Fix Survey manifest routing and ScanInvite, also fixed white text in …
Feb 15, 2023
1941764
additional url fixes
Feb 15, 2023
3fff21e
remove back button from welcome screen
dacianavram Feb 15, 2023
aa64fbf
Merge pull request #81 from CirclesUBI/feature/app-37-move-homepagesu…
dacianavram Feb 15, 2023
b4e7c3c
checkFunction to conditionally show openingHours
ingoCollatz Feb 15, 2023
381cdc4
Merge pull request #82 from CirclesUBI/feature/app-82-marketplace-bus…
ingoCollatz Feb 15, 2023
730c666
Fixes App-85 - signup SessionId error
Feb 15, 2023
94474c0
Merge pull request #83 from CirclesUBI/feature/app-85-fix-sessionid-e…
codeho Feb 15, 2023
55d4313
fix margin for button on survey
Feb 15, 2023
4632145
Merge pull request #85 from CirclesUBI/feature/app-59-10101-all-conte…
codeho Feb 15, 2023
fffbaeb
fiz top margin
Feb 15, 2023
223e3f0
Merge pull request #86 from CirclesUBI/feature/app-59-10101-all-conte…
codeho Feb 15, 2023
6b55123
local env-variables now in .env-files
ingoCollatz Feb 16, 2023
0aec5c1
Merge pull request #88 from CirclesUBI:feature/op-51-parametrisation-…
ingoCollatz Feb 16, 2023
8ca470c
moved override env variables into .env file
ingoCollatz Feb 16, 2023
11749c1
Merge pull request #89 from CirclesUBI:feature/override-env-variables
ingoCollatz Feb 16, 2023
37466cc
fixed .env handling
ingoCollatz Feb 16, 2023
02b79a0
Merge pull request #90 from CirclesUBI:feature/environment-variable-fix
ingoCollatz Feb 16, 2023
b56c467
fix webpack .env stuff
Feb 17, 2023
5f16d3e
Merge pull request #91 from CirclesUBI/feature/fix_webpack
codeho Feb 17, 2023
50388d8
enable hot-reloading
ingoCollatz Feb 17, 2023
fdd4f40
Merge pull request #93 from CirclesUBI:feature/hot-reload
ingoCollatz Feb 17, 2023
28e440d
change size of invite button container. remove npm i.
Feb 17, 2023
2d5f41d
Merge pull request #94 from CirclesUBI/feature/app-4-20308-educationa…
codeho Feb 17, 2023
9acf7b5
move market sort to left.
Feb 17, 2023
e5e994c
Merge pull request #95 from CirclesUBI/feature/app-49-60107-make-the-…
codeho Feb 17, 2023
7d010be
Replace Google places api in Mystore with new Here Api.
Feb 17, 2023
5390498
Merge pull request #96 from CirclesUBI/feature/app-66-user-cannot-see…
codeho Feb 17, 2023
2ba3276
remove google places npm package
Feb 17, 2023
92dd7ea
Merge pull request #97 from CirclesUBI/feature/app-66-user-cannot-see…
codeho Feb 17, 2023
c4a2dac
change support number
dacianavram Feb 19, 2023
fc1c319
Merge pull request #98 from CirclesUBI/feature/app-44-change-support-…
dacianavram Feb 19, 2023
fceac23
redirect to survey if no invite is present. fix locationName in profile
Feb 20, 2023
ccd716a
Merge pull request #100 from CirclesUBI/feature/app-66-user-cannot-se…
codeho Feb 20, 2023
39b5394
add yet unused location helper, fix hover text color on buttons
Feb 20, 2023
a1c77ba
Merge pull request #101 from CirclesUBI/feature/app-66-user-cannot-se…
codeho Feb 20, 2023
6c96173
Fix Topnav for favorites. Fixes APP-52
Feb 20, 2023
82aa549
Merge pull request #102 from CirclesUBI/feature/app-52-604-add-title-…
codeho Feb 20, 2023
132afed
Fix the way we store location. some minor changes.
Feb 20, 2023
e784a2b
Merge pull request #103 from CirclesUBI/feature/app-47-create-edit-or…
codeho Feb 20, 2023
ac8131c
removing add owner and member from contexxt menu
Feb 20, 2023
9f2c537
Merge pull request #104 from CirclesUBI/feature/app-97-tab-label-and-…
codeho Feb 20, 2023
8528abb
The last two characters of the key were cut off. Most likely stems fr…
jaensen Feb 20, 2023
a9cc837
Merge pull request #105 from CirclesUBI/fix/truncated-last-two-chars-…
jaensen Feb 20, 2023
f6d4915
added more mock keys for the use in local environments.
jaensen Feb 20, 2023
326b1ec
Merge pull request #106 from CirclesUBI/feature/add-more-mock-accounts
jaensen Feb 20, 2023
c549200
add missing zero to time
dacianavram Feb 20, 2023
f3a0c1f
Merge pull request #107 from CirclesUBI/feature/app-84-fix-openinghou…
dacianavram Feb 20, 2023
57b7f43
update favicons
Feb 21, 2023
29ec646
Merge pull request #108 from CirclesUBI/feature/app-97-tab-label-and-…
codeho Feb 21, 2023
411b897
remove Github from login.
Feb 21, 2023
2e4872a
Merge pull request #109 from CirclesUBI/feature/app-10-10604-remove-g…
codeho Feb 21, 2023
6cdd5a2
add space on top of dashboard
codeho Feb 22, 2023
beb539d
Merge pull request #111 from CirclesUBI/feature/app-4-20308-education…
codeho Feb 22, 2023
9e2a259
use sentry + don't configure via 'dotenv' if process.env.NODE_ENV ===…
jaensen Feb 22, 2023
99472f1
Merge pull request #112 from CirclesUBI/feature/use-sentry
jaensen Feb 22, 2023
d19083a
Bump loader-utils from 1.4.0 to 1.4.2
dependabot[bot] Feb 22, 2023
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
}
48 changes: 48 additions & 0 deletions .github/workflows/build-container-from-peerDependency.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Build application container from peerDependency
run-name: Generate o-platform build of ${{ inputs.client_ref }} for api-server peerDependency from ${{ github.ref }} by @${{ github.actor }}

on:
workflow_dispatch:
inputs:
client_ref:
description: "A ref from this repository, CirclesUBI/o-platform."
required: true
type: string

jobs:
read-packageJson:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
-
name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ inputs.client_ref }}

- name: Read package.json, get server_ref
id: readPackageJson
run: |
server_ref=$(jq -r '.peerDependencies."api-server"' ./package.json)
echo "server_ref=$server_ref"
echo "server_ref=$server_ref" >> "${GITHUB_OUTPUT}"
outputs:
server_ref: ${{ steps.readPackageJson.outputs.server_ref }}

echo-server_ref:
name: echo server_ref
runs-on: ubuntu-latest
needs: read-packageJson
steps:
-
run: echo ${{needs.read-packageJson.outputs.server_ref}}

call-build-workflow:
name: Trigger container build
uses: CirclesUBI/o-platform/.github/workflows/build-container.yml@main
needs: [read-packageJson, echo-server_ref]
with:
server_ref: ${{needs.read-packageJson.outputs.server_ref}}
client_ref: ${{inputs.client_ref}}
secrets: inherit
77 changes: 77 additions & 0 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Build application container
run-name: Generate o-platform ${{ inputs.client_ref }} for api-server ${{ inputs.server_ref }} by @${{ github.actor }}

on:
workflow_call:
inputs:
server_ref:
description: "A ref from CirclesUBI/api-server against which we build."
required: true
type: string
client_ref:
description: "A ref from this repository, CirclesUBI/o-platform."
required: true
type: string
workflow_dispatch:
inputs:
server_ref:
description: "A ref from CirclesUBI/api-server against which we build."
required: true
type: string
client_ref:
description: "A ref from this repository, CirclesUBI/o-platform."
required: true
type: string

env:
REGISTRY: registry.digitalocean.com
IMAGE_OWNER: circles-land
IMAGE_REPOSITORY: o-platform

jobs:
build-container-image:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
-
name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ inputs.client_ref }}

-
name: Docker meta outside of branches
id: meta
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env. IMAGE_OWNER }}/${{ env.IMAGE_REPOSITORY }}
tags: |
latest-${{ inputs.server_ref }}
{{sha}}-${{ inputs.server_ref }}

-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver-opts: |
image=moby/buildkit:v0.10.6

-
name: Login to Container Registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DIGITALOCEAN_PASSWORD }}
password: ${{ secrets.DIGITALOCEAN_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
build-args: |
SERVER_REF=${{ inputs.server_ref }}
tags: ${{ steps.meta.outputs.tags }}
file: Dockerfile.ci
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main, dev ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '22 7 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
.DS_Store
localhost.cert
localhost.key
.history
node_modules
packages/o-events/dist/
packages/o-interfaces/dist/
packages/o-process/dist/
packages/o-utils/dist/
shell/public/bundle.*
shell/public/bundle.css
shell/public/bundle.js
shell/public/index.html
shell/public/bundle.js.LICENSE.txt
shell/public/bundle.1.js
yarn.lock
.env.*

shell/public/COMMITTISH
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.1.0
v16.17.0
15 changes: 15 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"jsxBracketSameLine": true,
"bracketSpacing": true,
"svelteSortOrder": "options-scripts-markup-styles",
"svelteStrictMode": true,
"svelteBracketNewLine": false,
"svelteAllowShorthand": false,
"svelteIndentScriptAndStyle": false,
"printWidth": 120
}
13 changes: 13 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against dev server",
"url": "https://localhost:5000",
"webRoot": "${workspaceFolder}",
"env": {}
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
48 changes: 48 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.1",
"tasks": [
{
"label": "Run O-Plaform Build for Bali",
"type": "shell",
"command": "./build_bali.sh",
"args": ["${env:API_ENDPOINT}"],
"windows": {
"command": ".\\build_bali.cmd"
},
"group": "build",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Run O-Plaform LIBS Build",
"type": "shell",
"command": "./build_libs.sh",
"args": ["${env:API_ENDPOINT}"],
"windows": {
"command": ".\\build_bali.cmd"
},
"group": "build",
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Compile GraphQL",
"type": "shell",
"command": "./graphql_build.sh",
"windows": {
"command": ".\\graphql_build.sh"
},
"group": "build",
"presentation": {
"reveal": "always",
"panel": "new"
}
}
]
}
Loading