35 Commits
Author SHA1 Message Date
Salathiel Genese 2fdf3ad156 Merge branch 'develop' of https://github.com/ever-co/gauzy into feature#1363-sales-deals-list 2020-07-09 04:08:56 +04:00
Salathiel Genese 4bd03c5e0f fix: deep-scan reported unused import 2020-07-09 04:06:40 +04:00
Salathiel Genese fda931339a fix: reset filtering deals by stages 2020-07-09 03:54:29 +04:00
Salathiel Genese 66542b32a9 feat: implement #1363 2020-07-09 03:31:59 +04:00
Salathiel Genese 50d93e00b6 Merge branch 'dockerfile-toward-convention-over-configuration' of https://github.com/ever-co/gauzy into docker-compose-toward-convention-over-configuration 2020-06-29 06:44:40 +04:00
Salathiel Genese 8f89a427e8 feat: all custom API_BASE_URL during development 2020-06-29 06:40:18 +04:00
Salathiel Genese b0e438e785 feat: whitelist entrypoint scripts and nginx conf from docker build 2020-06-29 06:35:33 +04:00
Salathiel Genese 494db2ea9d feat: allow API_BASE_URL to be configurable 2020-06-29 06:29:40 +04:00
Salathiel Genese 22a4e9fe11 feat: get env vars as configurable, with fallback values 2020-06-29 06:25:57 +04:00
Salathiel Genese b2c0bba39e feat: enable docker-compose to pass all sort of env vars from .env to the container 2020-06-29 06:11:20 +04:00
Salathiel Genese fec0035a81 fix: remove WAIT_HOSTS as the docker image handles it 2020-06-29 06:06:19 +04:00
Salathiel Genese 04da9da7ad feat: let references host and port be configurable 2020-06-29 06:03:05 +04:00
Salathiel Genese 691ad0f168 fix: let EPOSE'd port be configurable 2020-06-29 05:21:29 +04:00
Salathiel Genese 28d922293b fix: ensure that every step starts with custom user and group, to have consistent permission set across steps 2020-06-29 05:18:04 +04:00
Salathiel Genese fdba0190f4 feat: update nginx.conf with user provided conf 2020-06-29 05:08:54 +04:00
Salathiel Genese 75d0518f79 feat: enforce memory limitation during development 2020-06-29 04:59:07 +04:00
Salathiel Genese 36446092cb fix: better initialization and fallback for API_BASE_URL, with ability to configure it at build time 2020-06-29 04:54:51 +04:00
Salathiel Genese ec595eb3db fix: init web app HOST and PORT 2020-06-29 04:23:06 +04:00
Salathiel Genese a772725374 fix: init API_PORT to avoid docker linked container env issue 2020-06-29 04:21:13 +04:00
Salathiel Genese 3ac67a92a4 fix: init host to 0.0.0.0 to allow port binding 2020-06-29 04:18:53 +04:00
Salathiel Genese 8743e9b8da feat: init WAIT_HOSTS value, based on runtime env vars 2020-06-29 04:11:18 +04:00
Salathiel Genese 5888b3b3ff feat: add entryporint to prepare running the app, like waiting and defaulting command to dev mode 2020-06-29 04:04:47 +04:00
Salathiel Genese fa1bc66805 fix: https://docs.docker.com/compose/link-env-deprecated/ 2020-06-29 03:38:20 +04:00
Salathiel Genese c801a0e6c6 feat: have production steps contain ONLY built files 2020-06-29 03:17:03 +04:00
Salathiel Genese 0f94550be4 fix: copy the rest of project files for development as runtime volume mounting is not guarantied 2020-06-29 02:50:46 +04:00
Salathiel Genese a7e10503ef fix: set USER and GROUP as first instruction to have docker use it all others 2020-06-29 02:41:05 +04:00
Salathiel Genese 91fbfd8d50 fix: lighten up containers by installing dependencies a step ahead 2020-06-29 02:36:43 +04:00
Salathiel Genese 4f3937f323 fix: organize instructions by precedence to optimize the build cache usage 2020-06-29 02:17:28 +04:00
Salathiel Genese 6264db84d7 fix: cross-env and pm2 are already parts of the entry package.json 2020-06-29 02:09:44 +04:00
Salathiel Genese 7f654abcad feat: get wait script added from the repository 2020-06-29 02:06:31 +04:00
Salathiel Genese 8c8472a960 feat: add wait script to the repo, from https://github.com/ufoscout/docker-compose-wait/releases/download/2.7.3/wait 2020-06-29 02:02:58 +04:00
Salathiel Genese 8048b148d2 feat: remove mkdir command as WORKDIR creates folder 2020-06-29 01:59:40 +04:00
Salathiel Genese b4832e9cca feat: reduce node-gyp other dependencies requirements to its minimal 2020-06-29 01:50:51 +04:00
Salathiel Genese faaf004e6f feat: change stage order 2020-06-18 02:34:40 +04:00
Salathiel GenèseandRuslan Konviser a77943c99e Feature#1361 pipelines stages basic crud and pipeline permissions (#1435)
* fix: remove sqlite3 and yarn install

* feat: scaffold pipeline component, routing and module

* feat: register pipeline component in menu

* feat: register pipeline component for angular router

* feat: translate pipeline component menu entry

* feat: add dropdown to select which organization to list pipelines

* feat: add model, entity, API service, controller and module

* feat: add front pipeline service, export model

* feat: register entity

* feat: enable Auth for PipelineController endpoints

* feat: fetch organization's pipelines

* fix: refactor service list responses

* feat: get front to create pipelines

* feat: get front to list pipelines

* fix: table entries as data source

* feat: reset form after creation

* feat: translate column name and refine table settings

* feat: typedef Ng2SmartTable settings and move pipelines table settings into component

* fix: disable per column filtering

* feat: filter pipelines by name, from new pipeline widget

* feat: improve UX to filter or create

* feat: introduce reactive form for pipeline form

* feat: re-enable filtering, after reactive form

* feat: validate reactive form before saving

* feat: separate submit button from search/name field

* fix: refactor component to use dialog instead of single component

* fix: rename parameter to match meaning

* feat: override controller endpoint to account for relations and filter

* fix: user interface and code layout

* fix: <nb-select/> turning undefined into null, always

* fix: remove title disabling

* fix: column i18n

* fix: remove third party type

* fix: restore from develop

* fix: restore from develop

* fix: 1 line separation from imports

* fix: restore from develop

* fix: remove unused import

* feat: get initial organization from header page

* feat: label action buttons

* feat: label action button

* feat: remove the organization selector and fully rely of header selector

* feat: watch organization change from header selector

* fix: randomly uninitialized organizationId

* fix: filtering always on step late

* fix: database table should be singular

* feat: add optional "description" attribute

* fix: disparity in buttons layout and colors

* fix: deepScan issues

* fix: remove unused module

* fix: define toast messages for successful create and update

* fix: recordType i18n key

* fix: align submit button.s right

* feat: document nam & description, enhance name & organizationId validation

* feat: describe Stage model

* feat: describe Stage entity

* feat: implement StageService

* feat: organize StageModule

* feat: configure StageModule

* feat: describe pipeline relation to Stage

* feat: create stages along pipeline in transaction

* feat: import StageModule into PipelineModule to export Stage repository and service

* feat: remove index from request schema, to be determined from query order

* fix: min constraint to 1, as described in OpenAPI

* fix: determine index at persistent time

* feat: delete cascade when pipeline is deleted, in CASCADE mode

* feat: stages validation add/edit/remove

* feat: support pipeline stages update on backend

* feat: sort stages by index after entity persists or loads

* fix: improve UX by replacing close by cancel

* fix: improve UX by removing the add button which is redundant

* fix: toast message for updated resource

* fix: improve UX by removing cancel button

* fix: deep scan issues

* feat: add EDIT_SALES_PIPELINES permission

* fix: enable admin permissions editable state

* feat: hide CUD button if user don't have EDIT_SALES_PIPELINES permissions

* fix: revert undesired changes

* feat: permission restrict for pipeline POST/PUT/DELETE

* feat: move EDIT_SALES_PIPELINES permission from admin to general permission group

* fix: add authorization guard

* fix: export UserService as part of Auth module, required for @UseGuard authorization

* fix: have been computing permissions too early - use an observer

* fix: rely on cascade for nested entity insertion

* fix: organize imports

* fix: organize imports

Co-authored-by: Ruslan Konviser <evereq@gmail.com>
2020-06-18 00:42:09 +03:00