Commit Graph
100 Commits
Author SHA1 Message Date
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
sabhas f863b81a7d fix: show permission component only in server mode 2022-06-23 23:14:54 +05:00
sabhas bdf63df1d9 fix: add isAdmin attribute to return response of get session and login requests 2022-06-23 22:50:00 +05:00
sabhas 4c6b9c5e93 Merge branch 'main' into issue-139 2022-06-23 17:21:52 +05:00
sabhas 5cc85b57f8 fix: getRuntimeAndFilePath function to handle the scenarion when path is provided with an extension other than runtimes 2022-06-22 14:24:06 +05:00
sabhas 1b5859ee37 fix: make CA_ROOT optional in getCertificates method 2022-06-22 00:25:41 +05:00
sabhas 65380be2f3 fix: update /logout route to /SASLogon/logout 2022-06-22 00:24:41 +05:00
sabhas eb397b15c2 chore: lint fixes 2022-06-20 17:32:28 +05:00
sabhas eb569c7b82 fix(Studio): default selection of runtime fixed 2022-06-20 17:29:19 +05:00
sabhas 99a1107364 fix: webout path fixed in code.js when running on windows 2022-06-20 17:28:25 +05:00
sabhas 91d29cb127 fix: default runtime should be sas 2022-06-20 17:12:32 +05:00
sabhas dde293c852 chore: write specs for get stp/execute 2022-06-19 07:08:36 +05:00
sabhas f738a6d7a3 chore: splitted functions into different files 2022-06-19 07:07:39 +05:00
sabhas 9023cf33b5 fix(Studio): style fix for runtime dropdown 2022-06-17 23:17:23 +05:00
sabhas 23b6692f02 fix: code/execute controller logic to handle different runtimes 2022-06-17 20:01:50 +05:00
sabhas ab222cbaab chore: verify executable paths 2022-06-17 18:12:03 +05:00
sabhas 158acf1f97 chore: set sas,js as default run times 2022-06-17 04:02:40 +05:00
sabhas 90e0973a7f chore: add test for group name validation 2022-06-16 23:36:13 +05:00
sabhas 869a13fc69 chore: error code fixes 2022-06-16 23:27:56 +05:00
sabhas 1790e10fc1 chore: code fixes 2022-06-16 22:14:47 +05:00
sabhas 6b0b94ad38 feat: get group by group name 2022-06-16 13:06:33 +05:00
sabhas 53854d0012 fix: code fixes for executing program from program path including file extension 2022-06-15 16:18:07 +05:00
sabhas e08bbcc543 fix: add/remove group to User when adding/removing user from group and return group membership on getting user 2022-06-15 15:18:42 +05:00
sabhas de9ed15286 chore: update error message when stored program not found 2022-06-13 20:51:44 +05:00
sabhas 325285f447 Merge branch 'main' into issue-184 2022-06-13 20:42:28 +05:00
sabhas 16856165fb feat: create and inject code for uploaded files to code.js 2022-06-09 14:54:11 +05:00
sabhas 058b3b0081 feat: configure child process with writeStream to write logs to log file 2022-06-08 02:01:31 +05:00
sabhas 9d5a5e051f fix: no need to stringify _webout in preProgramVarStatements, developer should have _webout as string in actual code 2022-06-07 13:27:18 +05:00
sabhas 2c704a544f fix: refactor sas/js session controller classes to inherit from base session controller class 2022-06-06 17:24:19 +05:00
sabhas 6d6bda5626 fix: refactor code in preUploadMiddleware function 2022-06-06 17:23:09 +05:00
sabhas dffe6d7121 fix: refactor code in executeFile method of session controller 2022-06-06 15:23:42 +05:00
sabhas b4443819d4 fix: refactor code for session selection in preUploadMiddleware function 2022-06-06 15:19:39 +05:00
sabhas e5a7674fa1 chore: refactor ExecutionController class to remove code duplications 2022-06-06 09:09:21 +05:00
sabhas 596ada7ca8 feat: validate sasjs_runtimes env var 2022-06-04 03:16:07 +05:00
sabhas f561ba4bf0 chore: documented sasjs_runtimes env variable in readme file 2022-06-04 03:12:51 +05:00
sabhas c58666eb81 fix: convert single executeProgram method to two methods i.e. executeSASProgram and executeJSProgram 2022-06-03 17:26:21 +05:00
sabhas 5df619b3f6 fix: pass _program to execute file without extension 2022-06-03 17:24:29 +05:00
sabhas 07295aa151 feat: conver single session controller to two controller i.e. SASSessionController and JSSessionController 2022-06-03 17:23:28 +05:00
sabhas 194eaec7d4 fix: add runtimes to global process object 2022-06-03 17:19:12 +05:00
sabhas fa63dc071b chore: update specs and swagger.yaml 2022-05-18 00:29:42 +05:00
sabhas e8c21a43b2 feat: add UI for updating permission 2022-05-18 00:20:49 +05:00
sabhas 1413b18508 feat: created modal for adding permission 2022-05-18 00:05:28 +05:00
sabhas dfbd155711 chore: move common interfaces to utils folder 2022-05-18 00:04:37 +05:00
sabhas 4fcc191ce9 fix: principalId type changed to number from any 2022-05-18 00:03:11 +05:00
sabhas d000f7508f fix: move permission filter modal to separate file and icons for different actions 2022-05-17 15:42:29 +05:00
sabhas 5652325452 feat: add basic UI for settings and permissions 2022-05-16 23:53:30 +05:00
sabhas 0781ddd64e fix: remove clientId from principal types 2022-05-16 19:56:56 +05:00
sabhas 7be77cc38a chore: remvoe code redundancy and add specs for get permissions api endpoint 2022-05-10 07:05:59 +05:00
sabhas 98b8a75148 chore: add specs for delete permission api endpoint 2022-05-10 06:40:34 +05:00
sabhas 72a3197a06 chore: add spec for update permission when permission with provided id not exists 2022-05-10 06:25:52 +05:00
sabhas fce05d6959 chore: add spec for invalid principal type 2022-05-10 06:18:19 +05:00
sabhas 1aec3abd28 chore: add specs for update permission api endpoint 2022-05-10 06:11:24 +05:00
sabhas 9136c95013 chore: write specs for create permission api endpoint 2022-05-09 13:08:15 +05:00
sabhas 01713440a4 feat: add api endpoint for deleting permission 2022-04-30 01:16:52 +05:00
sabhas 540f54fb77 feat: add api endpoint for updating permission setting 2022-04-30 01:02:47 +05:00
sabhas bf906aa544 Merge branch 'main' into issue-139 2022-04-29 15:41:35 +05:00
sabhas 797c2bcc39 feat: update swagger docs 2022-04-29 15:31:24 +05:00
sabhas 1103ffe07b feat: defined register permission and get all permissions api endpoints 2022-04-29 15:30:41 +05:00
sabhas e5200c1000 feat: add validation for registering permission 2022-04-29 15:28:29 +05:00
sabhas 38a7db8514 fix: export GroupResponse interface 2022-04-29 15:27:34 +05:00
sabhas 39fc908de1 fix: update permission model 2022-04-29 15:26:26 +05:00
sabhas be009d5b02 Merge branch 'main' into issue-139 2022-04-29 00:32:36 +05:00
sabhas 6bea1f7666 feat: add permission model 2022-04-28 21:18:23 +05:00
sabhas 36628551ae chore(web): use AppContext instead of useTokens Hook 2022-04-21 04:37:40 +05:00
sabhas 23cf8fa06f chore(web): add user name at top right 2022-04-21 04:36:20 +05:00
sabhas 84ee743eae feat: create AppContext 2022-04-21 04:34:27 +05:00
sabhas 9dca552e82 fix(drive):when page is refreshed or reloaded show expand file tree according to filePath in url 2022-04-19 00:40:37 +05:00
sabhas fa6248e3ef chore: swagger.yml updated 2022-04-17 23:53:20 +05:00
sabhas 9fb5f1f8e7 feat: add api for getting server info 2022-04-17 23:48:08 +05:00
sabhas 3d89b753f0 feat(web): directory tree in sidebar of drive should be expanded by default at root level 2022-03-16 19:13:50 +00:00
sabhas fb77d99177 fix(web-drive): upon delete remove entry of deleted file from directory tree in sidebar 2022-03-16 18:52:00 +00:00
sabhas fa627aabf9 chore(web-refactor): state uplifted for drive container in web component 2022-03-16 18:48:18 +00:00
sabhas 4048c1a4aa chore: lint fix 2021-11-02 14:08:30 +00:00
sabhas d9814441bb fix: update SASjsApi/stp/execute post api endpoints to capture url params 2021-11-02 14:07:26 +00:00
sabhas d93673f2a5 fix: change api endpoint SASjsExecutor/do -> SASjsApi/stp/execute 2021-11-02 09:54:56 +00:00
sabhas d52c2ed18c chore: lint fix 2021-11-01 15:28:07 +00:00
sabhas 031e492d44 fix: update api calls from client side 2021-11-01 15:25:43 +00:00
sabhas 0c6ccddafd Merge branch 'master' into homepage-sasjs-executor
Conflicts:
	api/src/app.ts
	api/src/routes/index.ts
	api/src/routes/spec/routes.spec.ts
2021-11-01 13:12:52 +00:00
sabhas bdbf7573be chore(lint): lint fix 2021-10-27 16:41:46 +00:00
sabhas 56cb2d1d51 fix: remove .sas extension from _program parameter at the end of string 2021-10-27 16:39:34 +00:00
sabhas 8dd201ecbe Merge branch 'master' into homepage-sasjs-executor
Conflicts:
	package.json
2021-10-26 09:37:38 +00:00
sabhas ac745c8f5c fix(web): infinite call to api end point fixed 2021-10-26 09:31:30 +00:00
sabhas a3f47708a8 chore(web-build): fix web build warnings 2021-10-25 06:47:50 +00:00
sabhas ec6333f6aa fix(root-package.json): lint:fix command fixed in root package json 2021-10-25 06:31:04 +00:00
sabhas 0fb4301966 fix(web): remove unnecessary packages and files 2021-10-25 06:20:46 +00:00
sabhas 552a3584ec fix(weeb): add catch block with each axios request 2021-10-25 06:10:35 +00:00
sabhas 03d1d60660 fix(api-cdrive-oller): throw erow error when file not found 2021-10-25 05:51:46 +00:00
sabhas 70a8aaf600 chore(build): mcreate web/build folder before running tests in github CI steps 2021-10-23 13:34:51 +00:00
sabhas e2b12b74f5 fix: norefferer issue in home page external links fix 2021-10-23 13:28:55 +00:00
sabhas 9648c51b54 feat(api-utility): create getWebBuildFolderPath utility 2021-10-22 19:17:27 +00:00