Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
501cfb6
Add accessCode field to Board model schema
magush27 Mar 31, 2026
2ea1eae
Remove default value for accessCode and update index comment for clarity
magush27 Mar 31, 2026
1ff631a
Add tests for accessCode field behavior in Board API
magush27 Mar 31, 2026
055059a
Refactor accessCode field tests for consistency and clarity
magush27 Apr 1, 2026
eb7ce23
Add AccessClient model schema for managing access clients
magush27 Apr 1, 2026
bd052ec
Merge pull request #448 from magush27/accesscode-field-to-board-model
RodriSanchez1 Apr 2, 2026
25c2087
Remove redundant unique index on accessClientSchema for code field
magush27 Apr 2, 2026
234c9ec
Add access controller with public endpoints for client and board retr…
magush27 Apr 2, 2026
d4c82d4
Enhance getAccessBoard to exclude PII fields and improve access analy…
magush27 Apr 2, 2026
bfefe77
Add admin endpoints for managing Access clients and their statistics
magush27 Apr 2, 2026
db07ace
Refactor createAccessClient and listAccessClients to ensure rootBoard…
magush27 Apr 2, 2026
7002c62
Add tests for admin access client endpoints including creation, listi…
magush27 Apr 2, 2026
1633788
Enhance board access validation by blocking direct access to boards w…
magush27 Apr 2, 2026
1483afc
Block direct access to boards with access codes and exclude them from…
magush27 Apr 2, 2026
b5d8736
Refactor admin endpoint paths to remove redundant API prefix
magush27 Apr 2, 2026
e31c54c
Add access routes to Swagger for managing access clients and boards
magush27 Apr 2, 2026
34cec71
Add Postman collection for Cboard Access admin endpoints and public f…
magush27 Apr 2, 2026
bba2b01
Add Postman collection for Cboard Access feature with setup instructi…
magush27 Apr 2, 2026
ca6d1c4
Add admin user advertisement
magush27 Apr 5, 2026
a0a0cba
Chanegd url, token and where to save the token
magush27 Apr 5, 2026
ab909da
Add functions to automatically link boards ids like folders to the ro…
magush27 Apr 5, 2026
2d6a58c
Added qrcode dependency
magush27 Apr 5, 2026
e2a58cd
QR generator script
magush27 Apr 5, 2026
0bcd8cd
Fix Swagger schemas to match actual API responses
magush27 Apr 6, 2026
e3c5ec8
Merge branch 'add-access-routes-to-swagger' into postman-collection-c…
magush27 Apr 6, 2026
07dfb64
Merge branch 'add-access-routes-to-swagger' into qr-code-generator-sc…
magush27 Apr 6, 2026
956a68e
Verify if linked board exists before adding it
magush27 Apr 6, 2026
e46236d
Added linkedBoardsCount and linkedBoardIds to AccessClientResponse sc…
magush27 Apr 6, 2026
262b3ac
Fixed variable mismatch (access_code instead of test_access_code)
magush27 Apr 6, 2026
d043b14
Fix variable names and remove false brand color
magush27 Apr 6, 2026
a08b5d6
Merge branch 'postman-collection-cboard-access' into qr-code-generato…
magush27 Apr 6, 2026
0429ff3
Add log output on success and throw errors
magush27 Apr 6, 2026
dcd0f8d
Changed access client schema to include access point
magush27 Apr 8, 2026
8c78fed
Changed access client model to delete access point form it
magush27 Apr 9, 2026
7d55b04
Created access point model
magush27 Apr 9, 2026
e3407fa
Renamed accessCode to accessPointCode
magush27 Apr 9, 2026
699478a
Renamed accessCode to accessPointCode in tests
magush27 Apr 9, 2026
7796573
Merge branch 'accesscode-field-to-board-model' into create-accessclie…
magush27 Apr 9, 2026
985c1a8
Added linkedBoardsIds field in access point model
magush27 Apr 9, 2026
d955479
Merge branch 'create-accessclient-model' into access-controller-with-…
magush27 Apr 9, 2026
5c986ec
Modify access.js to adapt to the new AccessClient and AccessPoint models
magush27 Apr 9, 2026
c16c507
Merge branch 'access-controller-with-public-endpoints' into access-co…
magush27 Apr 9, 2026
50c604b
Refactor access.js to adapt to AccessClient and AccessPoint models an…
magush27 Apr 9, 2026
8465d70
Refactor access.js tests to adapt to AccessClient and AccessPoint models
magush27 Apr 9, 2026
7a41c7b
Merge branch 'access-controller-with-admin-endpoints' into board-cont…
magush27 Apr 9, 2026
b1f2c27
Fix now is accesPointCode
magush27 Apr 9, 2026
8662488
Clean up AccessPoint references when a board is deleted
magush27 Apr 9, 2026
d925cea
Admins are able to access the board directly
magush27 Apr 9, 2026
623dd61
Added tests to support admin accessing directly to the boards
magush27 Apr 9, 2026
9a8eb9d
Merge branch 'board-controller-with-access-validation' into add-acces…
magush27 Apr 9, 2026
b3475b2
Refactored swagger to adapt to the new AccessClient and AccessPoint m…
magush27 Apr 9, 2026
bda9522
Added User and getTokenData imports. In getBoard, replaced the broken…
magush27 Apr 9, 2026
db1306d
Fixed null.should
magush27 Apr 9, 2026
b9b744a
Merge branch 'board-controller-with-access-validation' into add-acces…
magush27 Apr 9, 2026
14d911f
Merge branch 'add-access-routes-to-swagger' into postman-collection-c…
magush27 Apr 9, 2026
4c66834
Refactor postman collection to adapt to new AccessClient and AccessPo…
magush27 Apr 10, 2026
1e9ddb3
Refactor README.md to accomplish the new changes
magush27 Apr 10, 2026
0f50c69
Added user role in the populated user
magush27 Apr 10, 2026
2003577
Merge branch 'access-controller-with-admin-endpoints' into board-cont…
magush27 Apr 10, 2026
aa5c848
Merge branch 'access-controller-with-admin-endpoints' into add-access…
magush27 Apr 10, 2026
c7b2064
Merge branch 'access-controller-with-admin-endpoints' into postman-co…
magush27 Apr 10, 2026
8a80674
Merge branch 'postman-collection-cboard-access' into qr-code-generato…
magush27 Apr 10, 2026
2cee550
Changed contact field to email and added phone
magush27 Apr 13, 2026
d279105
Added uniqueness to accessPointCode and sparse to ensure null values…
magush27 Apr 13, 2026
8922b6d
Merge branch 'accesscode-field-to-board-model' into create-accessclie…
magush27 Apr 13, 2026
72fd1f5
Merge branch 'create-accessclient-model' into access-controller-with-…
magush27 Apr 13, 2026
ad0778a
Merge branch 'access-controller-with-public-endpoints' into board-con…
magush27 Apr 13, 2026
5091e7b
Updated access.js to reflect client email and phone addition
magush27 Apr 13, 2026
51a48e6
Merge branch 'board-controller-with-access-validation' into add-acces…
magush27 Apr 13, 2026
341ba6b
Updated swagger to adapt to new client fields email and phone
magush27 Apr 13, 2026
3f745b3
Merge branch 'add-access-routes-to-swagger' into postman-collection-c…
magush27 Apr 13, 2026
2a387d3
Changed collection to adapt to new client email and phone fields
magush27 Apr 13, 2026
7fb65e7
Merge branch 'postman-collection-cboard-access' into qr-code-generato…
magush27 Apr 13, 2026
8eeb8fe
Updated README.md to adapt to new client phone and email fields
magush27 Apr 13, 2026
bd3be84
Merge branch 'postman-collection-cboard-access' into qr-code-generato…
magush27 Apr 13, 2026
35f9c89
Removed unique:true and sparse:true from field definition to avoid du…
magush27 Apr 13, 2026
f9643f9
Merge branch 'create-accessclient-model' into access-controller-with-…
magush27 Apr 13, 2026
eef5db7
Merge branch 'access-controller-with-public-endpoints' into access-co…
magush27 Apr 13, 2026
30a92bc
Merge branch 'access-controller-with-admin-endpoints' into board-cont…
magush27 Apr 13, 2026
570fa84
Merge branch 'board-controller-with-access-validation' into add-acces…
magush27 Apr 13, 2026
aff19e6
Merge branch 'add-access-routes-to-swagger' into postman-collection-c…
magush27 Apr 13, 2026
5265100
Merge branch 'postman-collection-cboard-access' into qr-code-generato…
magush27 Apr 13, 2026
0ffbf93
Merge pull request #449 from magush27/create-accessclient-model
RodriSanchez1 Apr 13, 2026
628326f
Changed accessPointCode to accessEntryPoint
magush27 Apr 14, 2026
642856b
Adapted tests to changed field accessEntryPoint
magush27 Apr 14, 2026
342c7cb
Changed accessEntryPoint to accessGate
magush27 Apr 16, 2026
6e4ece2
Changed accessEntryPoint to accessGate field
magush27 Apr 16, 2026
2af2919
Merge branch 'accessentrypoint-field-to-board-model' into access-cont…
magush27 Apr 16, 2026
7161d80
Merge branch 'accessentrypoint-field-to-board-model' into access-cont…
magush27 Apr 16, 2026
0d869a4
Merge pull request #458 from magush27/accessentrypoint-field-to-board…
RodriSanchez1 Apr 16, 2026
107a087
Merge branch 'accessentrypoint-field-to-board-model' into board-contr…
magush27 Apr 16, 2026
db6d09b
Merge branch 'feature/cboard-access' into board-controller-with-acces…
magush27 Apr 16, 2026
1b15721
Merge branch 'board-controller-with-access-validation' into add-acces…
magush27 Apr 16, 2026
2dbae67
Merge branch 'feature/cboard-access' into add-access-routes-to-swagger
magush27 Apr 16, 2026
ca2b7f1
Changed accessEntryPoint to accessGate
magush27 Apr 16, 2026
01af4f4
Changed accessEntryPoint to accessGate in tests
magush27 Apr 16, 2026
1f5a20c
Merge branch 'access-controller-with-admin-endpoints' into board-cont…
magush27 Apr 16, 2026
65a363f
Merge branch 'board-controller-with-access-validation' of github.com:…
magush27 Apr 16, 2026
7089ac7
Changed accessPointCode to accessGate
magush27 Apr 16, 2026
d80c455
Merge branch 'board-controller-with-access-validation' into add-acces…
magush27 Apr 16, 2026
ee92d31
Changed accessPointCode to accessGate
magush27 Apr 16, 2026
5e98f12
Merge branch 'add-access-routes-to-swagger' of github.com:magush27/cb…
magush27 Apr 16, 2026
6642c52
Merge branch 'add-access-routes-to-swagger' into postman-collection-c…
magush27 Apr 16, 2026
187f437
Merge branch 'feature/cboard-access' into postman-collection-cboard-a…
magush27 Apr 16, 2026
522a73d
Merge branch 'postman-collection-cboard-access' of github.com:magush2…
magush27 Apr 16, 2026
c3e7174
Merge branch 'postman-collection-cboard-access' into qr-code-generato…
magush27 Apr 16, 2026
b4fcaff
Changed field name to accessGate
magush27 Apr 16, 2026
f30b583
Changed field name to accessGate
magush27 Apr 16, 2026
ff7f59a
Merge branch 'access-controller-with-admin-endpoints' into board-cont…
magush27 Apr 16, 2026
346e928
Merge branch 'board-controller-with-access-validation' into add-acces…
magush27 Apr 16, 2026
de67824
Change accessPointCode to accessGate
magush27 Apr 16, 2026
d8e2a90
Merge branch 'add-access-routes-to-swagger' into postman-collection-c…
magush27 Apr 16, 2026
85776a3
Changed accessPointCode to accessGate
magush27 Apr 16, 2026
91c24a0
Merge branch 'postman-collection-cboard-access' into qr-code-generato…
magush27 Apr 16, 2026
86440f5
Rename accessGate to accessGateCode in Board model and update related…
RodriSanchez1 Apr 17, 2026
8c7e340
Rename AccesPoint to AccessGate model with schema definition and options
RodriSanchez1 Apr 17, 2026
3de40e8
Merge branch 'feature/cboard-access' into access-controller-with-publ…
RodriSanchez1 Apr 17, 2026
0818a9d
Merge pull request #450 from magush27/access-controller-with-public-e…
RodriSanchez1 Apr 17, 2026
3202be2
Merge remote-tracking branch 'upstream/feature/cboard-access' into ac…
magush27 Apr 17, 2026
c49c1f5
Solved merge problems
magush27 Apr 20, 2026
48ce74f
Merge remote-tracking branch 'upstream/feature/cboard-access' into bo…
magush27 Apr 20, 2026
5ab3911
Merge branch 'access-controller-with-admin-endpoints' into board-cont…
magush27 Apr 20, 2026
7ccff41
Changed accessPoint to accessGateCode
magush27 Apr 20, 2026
53972e2
Changed accessPoint to accessGateCode
magush27 Apr 20, 2026
bfec739
Merge remote-tracking branch 'upstream/feature/cboard-access' into ad…
magush27 Apr 20, 2026
6fa97af
Merge branch 'board-controller-with-access-validation' into add-acces…
magush27 Apr 20, 2026
199915b
Changed accessGate to accessGateCode
magush27 Apr 20, 2026
429d2ef
Merge remote-tracking branch 'upstream/feature/cboard-access' into po…
magush27 Apr 20, 2026
4278180
Merge branch 'add-access-routes-to-swagger' into postman-collection-c…
magush27 Apr 20, 2026
3e8f707
Merge branch 'postman-collection-cboard-access' into qr-code-generato…
magush27 Apr 20, 2026
25aa3d4
Changed endpoint to /access/clients/all
magush27 Apr 20, 2026
8c41b9c
Merge branch 'access-controller-with-admin-endpoints' into board-cont…
magush27 Apr 20, 2026
b96e0f5
Merge branch 'access-controller-with-admin-endpoints' into add-access…
magush27 Apr 20, 2026
6ef156a
Changed endpoint to /access/clients/all
magush27 Apr 20, 2026
ed2f7ef
Merge branch 'add-access-routes-to-swagger' into postman-collection-c…
magush27 Apr 20, 2026
6dc5d66
Changed endpoint to /access/clients/all
magush27 Apr 20, 2026
2896b5c
Merge branch 'postman-collection-cboard-access' into qr-code-generato…
magush27 Apr 20, 2026
9fe2486
Merge pull request #451 from magush27/access-controller-with-admin-en…
RodriSanchez1 Apr 20, 2026
3f5db17
Merge pull request #452 from magush27/board-controller-with-access-va…
RodriSanchez1 Apr 20, 2026
441663b
Merge pull request #453 from magush27/add-access-routes-to-swagger
RodriSanchez1 Apr 20, 2026
9043340
Merge pull request #454 from magush27/postman-collection-cboard-access
RodriSanchez1 Apr 20, 2026
ccbc920
Refactor access terminology from "AccessPoint" to "AccessGate" across…
RodriSanchez1 Apr 20, 2026
b24ca00
Changed endpoint to /access/:slug/:code
magush27 Apr 20, 2026
f2e821a
Changed endpoint to /access/:slug/:code swagger things
magush27 Apr 20, 2026
0b7ed62
Changed endpoint to /access/:slug/:code in postman collection
magush27 Apr 20, 2026
342c10e
Merge pull request #460 from magush27/change-access-endpoint
RodriSanchez1 Apr 20, 2026
ba64b90
Refactor index on accessGateCode to use partial filter expression for…
RodriSanchez1 Apr 21, 2026
fb82e2e
Increase timeout duration in beforeEach for stable test execution
RodriSanchez1 Apr 21, 2026
40a4a6c
Update accessGateCode assertion to check for property existence
RodriSanchez1 Apr 21, 2026
8b28a9a
Add accessGateCode definition to board schema in Swagger documentation
RodriSanchez1 Apr 21, 2026
e2c2cf3
Enhance createMochaBoard to accept email and return it in user prepar…
RodriSanchez1 Apr 21, 2026
666806c
Update createMochaBoard calls to include user email and clean up test…
RodriSanchez1 Apr 21, 2026
6aded4e
Refactor access control in getBoard function to simplify response han…
RodriSanchez1 Apr 21, 2026
6fedd81
Don't save duplicated access clients
magush27 Apr 22, 2026
8c58fc7
Merge pull request #461 from magush27:fix/save-duplicated-access-clients
RodriSanchez1 Apr 22, 2026
6ec2b70
Merge branch 'feature/cboard-access' of github.com:cboard-org/cboard-…
RodriSanchez1 Apr 22, 2026
0edd921
Rename linkedBoardsIds → linkedBoardIds
RodriSanchez1 Apr 22, 2026
5ad571d
Rename AccessClient.client subdoc → contact
RodriSanchez1 Apr 22, 2026
58822f5
Rename request body field accessGate → accessGateCode
RodriSanchez1 Apr 22, 2026
8c51c2a
Refactor access API endpoints and update related tests for consistency
RodriSanchez1 Apr 22, 2026
6d9313c
Merge branch 'feature/cboard-access' into pr/magush27/455
RodriSanchez1 Apr 22, 2026
8115ace
Remove qrcode dependency from package.json
RodriSanchez1 Apr 22, 2026
49cab90
Refactor code structure for improved readability and maintainability
RodriSanchez1 Apr 22, 2026
4de90b8
Merge pull request #455 from magush27/qr-code-generator-script
RodriSanchez1 Apr 22, 2026
9a0aba1
Update QR code generation to include client slug in URL and filename
RodriSanchez1 Apr 24, 2026
b9922fd
Implement logic to clear accessGateCode from boards no longer linked …
RodriSanchez1 Apr 24, 2026
d3f1257
Add error handling to createAccessClient for linked board discovery
RodriSanchez1 Apr 24, 2026
39b55de
Rename 'code' to 'slug' in access client response and update Swagger …
RodriSanchez1 Apr 24, 2026
ae93986
Refactor deleteBoard function to remove AccessGate updates and simpli…
RodriSanchez1 Apr 24, 2026
cfd99ea
Refactor createAccessClient to declare newAccessGate variable before …
RodriSanchez1 Apr 24, 2026
c5b3d46
Update getPublicBoards to filter accessGateCode for null and undefine…
RodriSanchez1 Apr 24, 2026
3915ed5
Change deleteBoard function to async for improved handling of asynchr…
RodriSanchez1 Apr 24, 2026
7248917
Refactor AccessGate model and related functions to use accessClientId…
RodriSanchez1 Apr 24, 2026
ca33ce7
Rename getAccessBoard to getAccessBoards for consistency in API and u…
RodriSanchez1 Apr 24, 2026
dbe4483
Improve analytics tracking in getAccessBoards to be fire-and-forget, …
RodriSanchez1 Apr 24, 2026
c73aa17
Add tests for GET /access/:clientSlug/:gateCode endpoint, including a…
RodriSanchez1 Apr 24, 2026
4da2433
Merge branch 'master' into feature/cboard-access
RodriSanchez1 Apr 29, 2026
cea19c5
Add QA image job to CircleCI configuration for Docker builds
RodriSanchez1 Apr 29, 2026
b36807c
Revert "Add QA image job to CircleCI configuration for Docker builds"
RodriSanchez1 May 19, 2026
5d3ec19
Use accessGateCode: null instead of $in:[null,undefined] in public bo…
magush27 May 19, 2026
1d5e59c
Delete orphaned AccessGate on createAccessClient rollback
magush27 May 19, 2026
9880069
Scope accessGateCode clear to current gate only in updateAccessGate
magush27 May 19, 2026
a39cba9
Relax createdBy schema to allow populated user object in AccessClient…
magush27 May 19, 2026
00d4ef0
Update JSDoc for PrepareUserResponse and createMochaBoard to include …
magush27 May 19, 2026
cfc741f
Merge remote-tracking branch 'upstream/master' into feature/cboard-ac…
magush27 Jul 3, 2026
85f0e4f
Reapply "Add QA image job to CircleCI configuration for Docker builds"
RodriSanchez1 Jul 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,56 @@ jobs:
webhook: '${DISCORD_STATUS_WEBHOOK}'
success_message: '**${CIRCLE_USERNAME}** Cboard API Postman tests passed on QA!!.'

qa-image:
docker:
- image: cimg/node:18.18.1
auth:
username: cboardci
password: $DOCKERHUB_PASSWORD
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- yarn-packages-v1-{{ .Branch }}-{{ checksum “yarn.lock” }}
- yarn-packages-v1-{{ .Branch }}-
- yarn-packages-v1-
- run: yarn install --cache-folder ~/.cache/yarn
- save_cache:
paths:
- ~/.cache/yarn
key: yarn-packages-v1-{{ .Branch }}-{{ checksum “yarn.lock” }}
- setup_remote_docker:
docker_layer_caching: false
- run: |
openssl aes-256-cbc -d -md sha256 \
-in google-auth.json.cipher \
-out google-auth.json \
-k $KEY
- run: |
openssl aes-256-cbc -d -md sha256 \
-pbkdf2 \
-in google-play-auth.json.cipher \
-out google-play-auth.json \
-k $KEY
- run: |
openssl aes-256-cbc -d -md sha256 \
-pbkdf2 \
-in Apple-Sign-In-AuthKey.p8.cipher \
-out Apple-Sign-In-AuthKey.p8 \
-k $KEY
- run: |
openssl aes-256-cbc -d -md sha256 \
-pbkdf2 \
-in App-Store-Connect-API-Key.p8.cipher \
-out App-Store-Connect-API-Key.p8 \
-k $KEY
- run: |
TAG=qa-$CIRCLE_BUILD_NUM
docker build -t cboard/cboard-api:qa -t cboard/cboard-api:$TAG .
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker push cboard/cboard-api:qa
docker push cboard/cboard-api:$TAG
workflows:
version: 2
build_test_image:
Expand All @@ -196,3 +246,10 @@ workflows:
filters:
branches:
only: master
- qa-image:
context: google-auth
requires:
- build
filters:
branches:
only: feature/cboard-access
Loading