1
0
mirror of https://github.com/sasjs/server.git synced 2026-04-21 04:41:31 +00:00
Commit Graph

1170 Commits

Author SHA1 Message Date
Saad Jutt 6f2e6efd03 chore: fixed few vulnerabilites 2022-07-16 03:30:29 +05:00
sabhas 30d7a65358 chore: fix breaking changes caused by react-router-dom update 2022-07-15 18:42:59 +05:00
sabhas 5e930f14d2 chore: bump mui/icons-material and react-router-dom versions 2022-07-15 18:41:11 +05:00
sabhas 9bc68b1cdc chore: update swagger docs 2022-07-15 18:40:02 +05:00
Allan Bowe 3b4e9d20d4 Create FUNDING.yml 2022-07-08 20:51:10 +01:00
semantic-release-bot 4a67d0c63a chore(release): 0.10.0 [skip ci]
# [0.10.0](https://github.com/sasjs/server/compare/v0.9.0...v0.10.0) (2022-07-06)

### Bug Fixes

* add authorize middleware for appStreams ([e54a09d](https://github.com/sasjs/server/commit/e54a09db19ec8690e54a40760531a4e06d250974))
* add isAdmin attribute to return response of get session and login requests ([bdf63df](https://github.com/sasjs/server/commit/bdf63df1d915892486005ec904807749786b1c0c))
* add permission authorization middleware to only specific routes ([f3dfc70](https://github.com/sasjs/server/commit/f3dfc7083fbfb4b447521341b1a86730fb90b4c0))
* bumping core and running lint ([a2d1396](https://github.com/sasjs/server/commit/a2d13960578014312d2cb5e03145bfd1829d99ec))
* controller fixed for deleting permission ([b5f595a](https://github.com/sasjs/server/commit/b5f595a25c50550d62482409353c7629c5a5c3e0))
* do not show admin users in add permission modal ([a75edba](https://github.com/sasjs/server/commit/a75edbaa327ec2af49523c13996ac283061da7d8))
* export GroupResponse interface ([38a7db8](https://github.com/sasjs/server/commit/38a7db8514de0acd94d74ba96bc1efb732add30c))
* move permission filter modal to separate file and icons for different actions ([d000f75](https://github.com/sasjs/server/commit/d000f7508f6d7384afffafee4179151fca802ca8))
* principalId type changed to  number from any ([4fcc191](https://github.com/sasjs/server/commit/4fcc191ce9edc7e4dcd8821fb8019f4eea5db4ea))
* remove clientId from principal types ([0781ddd](https://github.com/sasjs/server/commit/0781ddd64e3b5e5ca39647bb4e4e1a9332a0f4f8))
* remove duplicates principals from permission filter modal ([5b319f9](https://github.com/sasjs/server/commit/5b319f9ad1f941b306db6b9473a2128b2e42bf76))
* show loading spinner in studio while executing code ([496247d](https://github.com/sasjs/server/commit/496247d0b9975097a008cf4d3a999d77648fd930))
* show permission component only in server mode ([f863b81](https://github.com/sasjs/server/commit/f863b81a7d40a1296a061ec93946f204382af2c3))
* update permission model ([39fc908](https://github.com/sasjs/server/commit/39fc908de1945f2aaea18d14e6bce703f6bf0c06))
* update permission response ([e516b77](https://github.com/sasjs/server/commit/e516b7716da5ff7e23350a5f77cfa073b1171175))
* **web:** only admin should be able to add, update or delete permission ([be8635c](https://github.com/sasjs/server/commit/be8635ccc5eb34c3f0a5951c8a0421292ef69c97))

### Features

* add api endpoint for deleting permission ([0171344](https://github.com/sasjs/server/commit/01713440a4fa661b76368785c0ca731f096ac70a))
* add api endpoint for updating permission setting ([540f54f](https://github.com/sasjs/server/commit/540f54fb77b364822da7889dbe75c02242f48a59))
* add authorize middleware for validating permissions ([7d916ec](https://github.com/sasjs/server/commit/7d916ec3e9ef579dde1b73015715cd01098c2018))
* add basic UI for settings and permissions ([5652325](https://github.com/sasjs/server/commit/56523254525a66e756196e90b39a2b8cdadc1518))
* add documentation link under usename dropdown menu ([eeb63b3](https://github.com/sasjs/server/commit/eeb63b330c292afcdd5c8f006882b224c4235068))
* add permission model ([6bea1f7](https://github.com/sasjs/server/commit/6bea1f76668ddb070ad95b3e02c31238af67c346))
* add UI for updating permission ([e8c21a4](https://github.com/sasjs/server/commit/e8c21a43b215f5fced0463b70747cda1191a4e01))
* add validation for registering permission ([e5200c1](https://github.com/sasjs/server/commit/e5200c1000903185dfad9ee49c99583e473c4388))
* add, remove and update permissions from web component ([97ecfdc](https://github.com/sasjs/server/commit/97ecfdc95563c72dbdecaebcb504e5194250a763))
* added get authorizedRoutes api endpoint ([b10e932](https://github.com/sasjs/server/commit/b10e9326058193dd65a57fab2d2f05b7b06096e7))
* created modal for adding permission ([1413b18](https://github.com/sasjs/server/commit/1413b1850838ecc988ab289da4541bde36a9a346))
* defined register permission and get all permissions api endpoints ([1103ffe](https://github.com/sasjs/server/commit/1103ffe07b88496967cb03683b08f058ca3bbb9f))
* update swagger docs ([797c2bc](https://github.com/sasjs/server/commit/797c2bcc39005a05a995be15a150d584fecae259))
v0.10.0
2022-07-06 12:31:43 +00:00
Allan Bowe dea204e3c5 Merge pull request #221 from sasjs/improve-web-UI
fix: Improve web UI
2022-07-06 13:26:19 +01:00
Allan Bowe 5f9e83759c Merge pull request #215 from sasjs/descs
chore: update descriptions
2022-07-06 13:26:00 +01:00
Allan Bowe fefe63deb1 Merge pull request #151 from sasjs/issue-139
feat: enable permissions
2022-07-06 13:25:27 +01:00
sabhas ddd179bbee chore: added specs for verifying permissions 2022-07-05 16:18:14 +05:00
sabhas a10b87930c chore: quick fix 2022-07-05 15:29:44 +05:00
sabhas 496247d0b9 fix: show loading spinner in studio while executing code 2022-07-05 08:23:51 +05:00
sabhas eeb63b330c feat: add documentation link under usename dropdown menu 2022-07-05 08:23:36 +05:00
Saad Jutt 1108d3dd7b chore: quick fix 2022-07-05 05:30:13 +05:00
Saad Jutt 7edb47a4cb chore: build fix 2022-07-05 03:40:54 +05:00
Saad Jutt 451cb4f6dd chore: fixed specs 2022-07-05 03:26:37 +05:00
Saad Jutt 0b759a5594 chore: code fixes API + web 2022-07-05 02:34:33 +05:00
Saad Jutt 5338ffb211 chore: Merge branch 'main' into issue-139 2022-07-04 23:59:51 +05:00
sabhas e42fdd3575 chore: conditionally call authorize middleware from authenticateToken 2022-07-04 20:13:46 +05:00
sabhas b10e932605 feat: added get authorizedRoutes api endpoint 2022-07-04 19:14:06 +05:00
sabhas e54a09db19 fix: add authorize middleware for appStreams 2022-07-04 17:14:17 +05:00
sabhas 4c35e04802 chore: add snackbar for showing success alert 2022-07-04 16:00:23 +05:00
sabhas b5f595a25c fix: controller fixed for deleting permission 2022-07-04 04:27:58 +05:00
semantic-release-bot a131adbae7 chore(release): 0.9.0 [skip ci]
# [0.9.0](https://github.com/sasjs/server/compare/v0.8.3...v0.9.0) (2022-07-03)

### Features

* removed secrets from env variables ([9c3da56](https://github.com/sasjs/server/commit/9c3da56901672a818f54267f9defc9f4701ab7fb))
v0.9.0
2022-07-03 10:40:36 +00:00
Allan Bowe a20c3b9719 Merge pull request #220 from sasjs/issue213
feat: removed secrets from env variables
2022-07-03 11:36:24 +01:00
Saad Jutt eee3a7b084 chore: code refactor 2022-07-03 07:03:15 +05:00
Saad Jutt 9c3da56901 feat: removed secrets from env variables 2022-07-03 06:56:18 +05:00
Allan Bowe 7e6524d7e4 chore: removing badge 2022-07-02 15:12:27 +01:00
Allan Bowe 0ea2690616 adding matrix chat link 2022-07-02 13:10:20 +01:00
semantic-release-bot b369759f0f chore(release): 0.8.3 [skip ci]
## [0.8.3](https://github.com/sasjs/server/compare/v0.8.2...v0.8.3) (2022-07-02)

### Bug Fixes

* **deploy:** extract first json from zip file ([e290751](https://github.com/sasjs/server/commit/e290751c872d24009482871a8c398e834357dcde))
v0.8.3
2022-07-02 10:01:26 +00:00
Allan Bowe ac9a835c5a Merge pull request #219 from sasjs/issue211
fix(deploy): extract first json from zip file
2022-07-02 10:57:16 +01:00
Saad Jutt e290751c87 fix(deploy): extract first json from zip file 2022-07-02 14:39:33 +05:00
sabhas e516b7716d fix: update permission response 2022-07-02 01:03:53 +05:00
sabhas f3dfc7083f fix: add permission authorization middleware to only specific routes 2022-07-01 16:50:24 +05:00
sabhas 7d916ec3e9 feat: add authorize middleware for validating permissions 2022-06-29 23:06:58 +05:00
sabhas 70f279a49c chore: update swagger.yaml 2022-06-28 09:23:53 +05:00
sabhas 66a3537271 chore: add specs 2022-06-28 06:50:35 +05:00
sabhas ca64c13909 chore: add principal type and permission setting enums 2022-06-28 00:00:04 +05:00
sabhas 0a73a35547 chore: improve error handling 2022-06-27 23:21:48 +05:00
sabhas a75edbaa32 fix: do not show admin users in add permission modal 2022-06-26 01:49:07 +05:00
sabhas 4ddfec0403 chore: add isAdmin field in user response 2022-06-26 01:48:31 +05:00
sabhas 35439d7d51 chore: throw error when adding permission for admin user 2022-06-24 23:19:19 +05:00
sabhas 907aa485fd chore: throw error when creating duplicate permission 2022-06-24 23:15:41 +05:00
sabhas 888627e1c8 chore: close filterModal after applying/reseting 2022-06-24 22:32:18 +05:00
sabhas 9cb9e2dd33 chore: add filter based on principal type 2022-06-24 16:28:41 +05:00
sabhas 54d4bf835d chore: show principal type in permissions list 2022-06-24 15:50:09 +05:00
sabhas 67fe298fd5 chore: lint fixes 2022-06-24 14:55:05 +05:00
sabhas 97ecfdc955 feat: add, remove and update permissions from web component 2022-06-24 14:48:57 +05:00
sabhas 5b319f9ad1 fix: remove duplicates principals from permission filter modal 2022-06-23 23:58:40 +05:00
sabhas be8635ccc5 fix(web): only admin should be able to add, update or delete permission 2022-06-23 23:35:06 +05:00